From d3801f156596ef3adcf7e151301486082692a99b Mon Sep 17 00:00:00 2001 From: Michael Roscoe Date: Thu, 9 Jul 2026 09:47:43 -0300 Subject: [PATCH] Public SDK Release July 7-8, 2026 --- .speakeasy/workflow.lock | 22 +- cvent-public-spec/openapi.yaml | 1269 +++++++---------- overlays/public_overlay.yaml | 13 + packages/csharp/.speakeasy/gen.lock | 782 ++++------ packages/csharp/.speakeasy/gen.yaml | 2 +- packages/csharp/NUGET.md | 4 +- packages/csharp/README.md | 8 +- .../csharp/docs/Models/Components/Address5.md | 22 +- .../csharp/docs/Models/Components/Address6.md | 23 +- .../csharp/docs/Models/Components/Address7.md | 17 + .../docs/Models/Components/AddressJson2.md | 16 - .../{AddressTypeJson.md => AddressType1.md} | 4 +- .../docs/Models/Components/AdvancedLogic.md | 2 +- ...ChoicesJson.md => AdvancedLogicChoices.md} | 2 +- .../docs/Models/Components/AirActual.md | 2 +- .../docs/Models/Components/AirRequest.md | 4 +- .../Models/Components/AirlinePreference.md | 8 +- .../docs/Models/Components/Attendee11.md | 94 +- .../docs/Models/Components/AttendeeAdd.md | 38 +- .../AttendeeAddBulkItemEventJsonData.md | 4 +- .../Components/AttendeeAddBulkItemJsonData.md | 8 +- .../AttendeeLinkBulkResponseItemJsonData.md | 4 +- .../Components/AttendeeResponseMethod1.md | 2 + .../docs/Models/Components/AttendeeUpdate.md | 32 +- .../Models/Components/AttendeeUpdateStatus.md | 5 +- .../docs/Models/Components/Attribute.md | 21 + ...teDataTypeJson.md => AttributeDataType.md} | 4 +- .../docs/Models/Components/AttributeJson.md | 21 - ...nSchemaJson.md => AuthenticationSchema.md} | 2 +- .../Models/Components/BounceDetailsJson.md | 2 +- .../Components/{ChoiceJson2.md => Choice2.md} | 12 +- .../docs/Models/Components/Choice2Input.md | 10 + .../Models/Components/ChoiceJson2Input.md | 10 - ...ranslationJson.md => ChoiceTranslation.md} | 2 +- .../csharp/docs/Models/Components/Choices.md | 11 - .../Components/{Three.md => Choices1.md} | 6 +- .../{ThreeInput.md => Choices1Input.md} | 6 +- .../docs/Models/Components/CustomField3.md | 8 +- .../Models/Components/CustomField3Details.md | 8 +- ...CategoryJson.md => CustomFieldCategory.md} | 4 +- ...omFieldTypeJson.md => CustomFieldType2.md} | 4 +- .../CustomFieldsPaginatedResponse.md | 2 +- ...FormatJson.md => DateTimeDisplayFormat.md} | 4 +- ...ayInDataTagJson.md => DisplayInDataTag.md} | 4 +- ...icesDisplayTypeJson.md => DisplayType1.md} | 4 +- .../csharp/docs/Models/Components/Email.md | 12 + .../Models/Components/EmailHistoryJson.md | 2 +- .../docs/Models/Components/EmailJson1.md | 10 +- .../docs/Models/Components/EmailJson2.md | 10 - .../docs/Models/Components/EmailType1.md | 19 + .../docs/Models/Components/EmailTypeJson.md | 72 +- .../docs/Models/Components/EmailTypeJson1.md | 79 - .../{ErrorResponse2.md => ErrorResponse.md} | 2 +- ...{ErrorScimTypeJson.md => ErrorScimType.md} | 4 +- .../Models/Components/ExistingCustomField.md | 8 +- .../Components/ExistingCustomFieldDetails.md | 16 +- .../ExistingCustomFieldDetailsInput.md | 16 +- .../Components/ExistingCustomFieldInput.md | 8 +- .../Components/{GroupJson.md => Group.md} | 2 +- .../csharp/docs/Models/Components/Group1.md | 13 + .../docs/Models/Components/GroupJson0.md | 13 - .../docs/Models/Components/HotelRequest.md | 2 +- .../docs/Models/Components/JourneyType.md | 2 +- .../{LanguageJson.md => Language1.md} | 4 +- .../Components/{MetaJson.md => Meta.md} | 2 +- .../{MutabilityJson.md => Mutability.md} | 4 +- .../Components/{NameJson.md => Name.md} | 2 +- packages/csharp/docs/Models/Components/One.md | 14 - ...EndedDateTime.md => OpenEndedDateTime1.md} | 4 +- ...ageVisibilityJson.md => PageVisibility.md} | 2 +- .../docs/Models/Components/PhoneNumber.md | 11 + .../Models/Components/PhoneNumberJson1.md | 11 - .../{PhoneTypeJson.md => PhoneType.md} | 4 +- ...eReferenceTypeJson.md => ReferenceType.md} | 4 +- .../docs/Models/Components/ResourceType.md | 20 +- .../Models/Components/ResourceTypeJson.md | 17 - .../ResourceTypeJsonSchemaExtension.md | 9 - .../docs/Models/Components/ResourceTypes.md | 14 +- ...uteReturnedTypeJson.md => ReturnedType.md} | 4 +- ...eSchemaExtension.md => SchemaExtension.md} | 2 +- .../docs/Models/Components/SchemaJson.md | 14 - .../SchemeOAuth2ClientCredentials.md | 2 +- .../csharp/docs/Models/Components/SeatType.md | 2 +- .../Components/SendEmailEventRequest.md | 2 +- .../Components/SendEmailEventResponse.md | 2 +- .../Components/ServiceProviderConfig.md | 4 +- .../Components/{TaxType.md => TaxType1.md} | 4 +- .../docs/Models/Components/TicketType.md | 2 +- .../docs/Models/Components/Translation.md | 2 +- .../docs/Models/Components/Translation1.md | 2 +- .../docs/Models/Components/TravelAccount.md | 2 +- .../Models/Components/TravelBidTaxAndFee.md | 2 +- packages/csharp/docs/Models/Components/Two.md | 11 - ...niquenessTypeJson.md => UniquenessType.md} | 4 +- .../csharp/docs/Models/Components/User.md | 16 +- ...sionJson.md => UserEnterpriseExtension.md} | 2 +- .../docs/Models/Components/UserGroups.md | 14 +- .../docs/Models/Components/UserInput.md | 14 +- .../csharp/docs/Models/Components/UserJson.md | 24 - .../{UserTypeJson.md => UserType.md} | 4 +- .../csharp/docs/Models/Components/Users.md | 14 +- .../docs/Models/Components/UsersSchema.md | 14 +- .../docs/Models/Components/UsersSchemas.md | 14 +- .../{ZeroOneOf2.md => ZeroOneOf.md} | 2 +- .../docs/Models/Components/ZeroOneOf1.md | 12 - .../docs/Models/Errors/BadRequestException.md | 2 +- .../docs/Models/Errors/ErrorResponse.md | 13 + .../docs/Models/Errors/ErrorResponse2.md | 14 +- .../docs/Models/Errors/ErrorResponseJson12.md | 13 - .../csharp/docs/Models/Requests/GrantType.md | 2 +- .../Requests/ListCustomFieldsRequest.md | 14 +- .../docs/Models/Requests/ListUsersRequest.md | 10 +- .../Models/Requests/Oauth2AuthorizeRequest.md | 14 +- .../Models/Requests/Oauth2TokenRequest.md | 16 +- .../Requests/Oauth2TokenResponseBody.md | 2 +- .../csharp/docs/sdks/appointments/README.md | 4 +- .../docs/sdks/audiencesegments/README.md | 6 +- .../csharp/docs/sdks/authentication/README.md | 15 +- packages/csharp/docs/sdks/bulk/README.md | 6 +- .../csharp/docs/sdks/customfields/README.md | 28 +- packages/csharp/docs/sdks/events/README.md | 2 +- packages/csharp/docs/sdks/exhibitor/README.md | 4 +- .../docs/sdks/exhibitorcontent/README.md | 6 +- packages/csharp/docs/sdks/housing/README.md | 4 +- .../csharp/docs/sdks/meetingrequest/README.md | 2 +- packages/csharp/docs/sdks/sessions/README.md | 2 +- packages/csharp/docs/sdks/speakers/README.md | 2 +- packages/csharp/docs/sdks/userscim/README.md | 134 +- packages/csharp/src/Cvent/SDK/Appointments.cs | 24 +- .../csharp/src/Cvent/SDK/AudienceSegments.cs | 36 +- .../csharp/src/Cvent/SDK/Authentication.cs | 26 +- packages/csharp/src/Cvent/SDK/Bulk.cs | 36 +- .../csharp/src/Cvent/SDK/Cvent.SDK.csproj | 2 +- packages/csharp/src/Cvent/SDK/CventSDK.cs | 2 +- packages/csharp/src/Cvent/SDK/Exhibitor.cs | 24 +- .../csharp/src/Cvent/SDK/ExhibitorContent.cs | 36 +- packages/csharp/src/Cvent/SDK/Housing.cs | 24 +- .../csharp/src/Cvent/SDK/MeetingRequest.cs | 12 +- .../Cvent/SDK/Models/Components/Address5.cs | 53 +- .../Cvent/SDK/Models/Components/Address6.cs | 44 +- .../{AddressJson2.cs => Address7.cs} | 41 +- .../{AddressTypeJson.cs => AddressType1.cs} | 16 +- .../SDK/Models/Components/AdvancedLogic.cs | 2 +- ...ChoicesJson.cs => AdvancedLogicChoices.cs} | 2 +- .../Cvent/SDK/Models/Components/AirActual.cs | 2 +- .../Cvent/SDK/Models/Components/AirRequest.cs | 4 +- .../Models/Components/AirlinePreference.cs | 2 +- .../Cvent/SDK/Models/Components/Attendee11.cs | 1 + .../SDK/Models/Components/AttendeeAdd.cs | 1 + .../AttendeeAddBulkItemEventJsonData.cs | 26 +- .../Components/AttendeeAddBulkItemJsonData.cs | 52 +- .../AttendeeLinkBulkResponseItemJsonData.cs | 26 +- .../Components/AttendeeResponseMethod1.cs | 2 + .../SDK/Models/Components/AttendeeUpdate.cs | 2 +- .../Models/Components/AttendeeUpdateStatus.cs | 3 +- .../Cvent/SDK/Models/Components/Attendees.cs | 4 +- .../{AttributeJson.cs => Attribute.cs} | 14 +- ...teDataTypeJson.cs => AttributeDataType.cs} | 16 +- ...nSchemaJson.cs => AuthenticationSchema.cs} | 2 +- .../Models/Components/BounceDetailsJson.cs | 2 +- .../Components/{ChoiceJson2.cs => Choice2.cs} | 8 +- .../{ChoiceJson2Input.cs => Choice2Input.cs} | 6 +- ...ranslationJson.cs => ChoiceTranslation.cs} | 2 +- .../Cvent/SDK/Models/Components/Choices.cs | 34 - .../Components/{Three.cs => Choices1.cs} | 6 +- .../{ThreeInput.cs => Choices1Input.cs} | 6 +- .../Components/ContactBulkResponseItemData.cs | 4 +- .../SDK/Models/Components/CustomField3.cs | 8 +- .../Models/Components/CustomField3Details.cs | 52 +- ...CategoryJson.cs => CustomFieldCategory.cs} | 16 +- ...omFieldTypeJson.cs => CustomFieldType2.cs} | 16 +- .../CustomFieldsPaginatedResponse.cs | 2 +- ...FormatJson.cs => DateTimeDisplayFormat.cs} | 16 +- ...ayInDataTagJson.cs => DisplayInDataTag.cs} | 16 +- ...icesDisplayTypeJson.cs => DisplayType1.cs} | 16 +- .../src/Cvent/SDK/Models/Components/Email.cs | 39 + .../SDK/Models/Components/EmailHistoryJson.cs | 2 +- .../Cvent/SDK/Models/Components/EmailJson1.cs | 21 +- .../Cvent/SDK/Models/Components/EmailJson2.cs | 26 - .../Cvent/SDK/Models/Components/EmailType1.cs | 57 + .../SDK/Models/Components/EmailTypeJson.cs | 66 +- .../SDK/Models/Components/EmailTypeJson1.cs | 117 -- .../{ErrorResponse2.cs => ErrorResponse.cs} | 2 +- ...{ErrorScimTypeJson.cs => ErrorScimType.cs} | 16 +- .../Models/Components/ExistingCustomField.cs | 8 +- .../Components/ExistingCustomFieldDetails.cs | 104 +- .../ExistingCustomFieldDetailsInput.cs | 104 +- .../Components/ExistingCustomFieldInput.cs | 8 +- .../Components/{GroupJson.cs => Group.cs} | 2 +- .../Components/{GroupJson0.cs => Group1.cs} | 4 +- .../SDK/Models/Components/HotelRequest.cs | 2 +- .../SDK/Models/Components/JourneyType.cs | 2 +- .../{LanguageJson.cs => Language1.cs} | 16 +- .../Components/{MetaJson.cs => Meta.cs} | 2 +- .../{MutabilityJson.cs => Mutability.cs} | 16 +- .../Components/{NameJson.cs => Name.cs} | 2 +- .../Models/Components/OpenEndedDateTime.cs | 52 - .../{One.cs => OpenEndedDateTime1.cs} | 4 +- ...ageVisibilityJson.cs => PageVisibility.cs} | 2 +- .../{PhoneNumberJson1.cs => PhoneNumber.cs} | 4 +- .../{PhoneTypeJson.cs => PhoneType.cs} | 16 +- ...eReferenceTypeJson.cs => ReferenceType.cs} | 16 +- .../SDK/Models/Components/ResourceType.cs | 4 +- .../SDK/Models/Components/ResourceTypeJson.cs | 70 - .../ResourceTypeJsonSchemaExtension.cs | 29 - .../SDK/Models/Components/ResourceTypes.cs | 2 +- ...uteReturnedTypeJson.cs => ReturnedType.cs} | 16 +- ...eSchemaExtension.cs => SchemaExtension.cs} | 2 +- .../Cvent/SDK/Models/Components/SchemaJson.cs | 52 - .../Cvent/SDK/Models/Components/SeatType.cs | 2 +- .../Components/SendEmailEventRequest.cs | 2 +- .../Components/SendEmailEventResponse.cs | 2 +- .../Components/ServiceProviderConfig.cs | 4 +- .../Components/{TaxType.cs => TaxType1.cs} | 16 +- .../Cvent/SDK/Models/Components/TicketType.cs | 2 +- .../SDK/Models/Components/Translation.cs | 2 +- .../SDK/Models/Components/Translation1.cs | 2 +- .../SDK/Models/Components/TravelAccount.cs | 2 +- .../Models/Components/TravelBidTaxAndFee.cs | 2 +- .../src/Cvent/SDK/Models/Components/Two.cs | 32 - ...niquenessTypeJson.cs => UniquenessType.cs} | 16 +- .../src/Cvent/SDK/Models/Components/User.cs | 16 +- ...sionJson.cs => UserEnterpriseExtension.cs} | 2 +- .../Cvent/SDK/Models/Components/UserGroups.cs | 2 +- .../Cvent/SDK/Models/Components/UserInput.cs | 14 +- .../Cvent/SDK/Models/Components/UserJson.cs | 112 -- .../{UserTypeJson.cs => UserType.cs} | 16 +- .../src/Cvent/SDK/Models/Components/Users.cs | 2 +- .../SDK/Models/Components/UsersSchema.cs | 4 +- .../SDK/Models/Components/UsersSchemas.cs | 2 +- .../{ZeroOneOf2.cs => ZeroOneOf.cs} | 2 +- .../Cvent/SDK/Models/Components/ZeroOneOf1.cs | 38 - .../SDK/Models/Errors/BadRequestException.cs | 2 +- ...rrorResponseJson12.cs => ErrorResponse.cs} | 73 +- .../Cvent/SDK/Models/Errors/ErrorResponse2.cs | 63 +- .../Cvent/SDK/Models/Requests/GrantType.cs | 2 +- .../Requests/ListCustomFieldsRequest.cs | 28 +- .../SDK/Models/Requests/ListUsersRequest.cs | 36 +- .../Models/Requests/Oauth2AuthorizeRequest.cs | 4 +- .../SDK/Models/Requests/Oauth2TokenRequest.cs | 4 +- .../Requests/Oauth2TokenResponseBody.cs | 2 +- packages/csharp/src/Cvent/SDK/SDKConfig.cs | 2 +- packages/csharp/src/Cvent/SDK/Sessions.cs | 12 +- packages/csharp/src/Cvent/SDK/Speakers.cs | 12 +- packages/csharp/src/Cvent/SDK/UserSCIM.cs | 132 +- .../csharp/src/Cvent/SDK/Utils/Constants.cs | 2 +- packages/java/.speakeasy/gen.lock | 812 ++++------- packages/java/.speakeasy/gen.yaml | 2 +- packages/java/README.md | 12 +- .../java/docs/models/components/Address5.md | 22 +- .../java/docs/models/components/Address6.md | 23 +- .../java/docs/models/components/Address7.md | 17 + .../docs/models/components/AddressJson2.md | 16 - .../{AddressTypeJson.md => AddressType1.md} | 6 +- .../docs/models/components/AdvancedLogic.md | 2 +- ...ChoicesJson.md => AdvancedLogicChoices.md} | 2 +- .../java/docs/models/components/AirActual.md | 2 +- .../java/docs/models/components/AirRequest.md | 4 +- .../models/components/AirlinePreference.md | 8 +- .../java/docs/models/components/Attendee11.md | 94 +- .../docs/models/components/AttendeeAdd.md | 38 +- .../components/AttendeeResponseMethod1.md | 2 + .../docs/models/components/AttendeeUpdate.md | 32 +- .../models/components/AttendeeUpdateStatus.md | 5 +- .../java/docs/models/components/Attribute.md | 21 + ...teDataTypeJson.md => AttributeDataType.md} | 6 +- .../docs/models/components/AttributeJson.md | 21 - ...nSchemaJson.md => AuthenticationSchema.md} | 2 +- .../models/components/BounceDetailsJson.md | 2 +- .../components/{ChoiceJson2.md => Choice2.md} | 12 +- .../docs/models/components/Choice2Input.md | 10 + .../models/components/ChoiceJson2Input.md | 10 - ...ranslationJson.md => ChoiceTranslation.md} | 2 +- .../components/{Choices.md => Choices1.md} | 6 +- .../components/{Three.md => Choices1Input.md} | 6 +- .../docs/models/components/CustomField3.md | 8 +- ...CategoryJson.md => CustomFieldCategory.md} | 6 +- ...omFieldTypeJson.md => CustomFieldType2.md} | 6 +- .../CustomFieldsPaginatedResponse.md | 2 +- ...FormatJson.md => DateTimeDisplayFormat.md} | 6 +- ...ayInDataTagJson.md => DisplayInDataTag.md} | 6 +- ...icesDisplayTypeJson.md => DisplayType1.md} | 6 +- packages/java/docs/models/components/Email.md | 12 + .../models/components/EmailHistoryJson.md | 2 +- .../java/docs/models/components/EmailJson1.md | 10 +- .../java/docs/models/components/EmailJson2.md | 10 - .../java/docs/models/components/EmailType1.md | 19 + .../docs/models/components/EmailTypeJson.md | 72 +- .../docs/models/components/EmailTypeJson1.md | 79 - .../{ErrorResponse2.md => ErrorResponse.md} | 2 +- ...{ErrorScimTypeJson.md => ErrorScimType.md} | 6 +- .../models/components/ExistingCustomField.md | 8 +- .../components/ExistingCustomFieldInput.md | 8 +- .../components/{GroupJson.md => Group.md} | 2 +- .../java/docs/models/components/Group1.md | 13 + .../java/docs/models/components/GroupJson0.md | 13 - .../docs/models/components/HotelRequest.md | 2 +- .../docs/models/components/JourneyType.md | 2 +- .../{LanguageJson.md => Language1.md} | 6 +- .../components/{MetaJson.md => Meta.md} | 2 +- .../{MutabilityJson.md => Mutability.md} | 6 +- .../components/{NameJson.md => Name.md} | 2 +- packages/java/docs/models/components/One.md | 14 - .../models/components/OpenEndedDateTime.md | 14 - .../models/components/OpenEndedDateTime1.md | 14 + ...ageVisibilityJson.md => PageVisibility.md} | 2 +- .../docs/models/components/PhoneNumber.md | 11 + .../models/components/PhoneNumberJson1.md | 11 - .../{PhoneTypeJson.md => PhoneType.md} | 6 +- ...eReferenceTypeJson.md => ReferenceType.md} | 6 +- .../docs/models/components/ResourceType.md | 20 +- .../models/components/ResourceTypeJson.md | 17 - .../ResourceTypeJsonSchemaExtension.md | 9 - .../docs/models/components/ResourceTypes.md | 14 +- ...uteReturnedTypeJson.md => ReturnedType.md} | 6 +- ...eSchemaExtension.md => SchemaExtension.md} | 2 +- .../java/docs/models/components/SchemaJson.md | 14 - .../SchemeOAuth2ClientCredentials.md | 2 +- .../java/docs/models/components/SeatType.md | 2 +- .../components/SendEmailEventRequest.md | 2 +- .../components/SendEmailEventResponse.md | 2 +- .../components/ServiceProviderConfig.md | 4 +- .../components/{TaxType.md => TaxType1.md} | 6 +- .../java/docs/models/components/ThreeInput.md | 11 - .../java/docs/models/components/TicketType.md | 2 +- .../docs/models/components/Translation.md | 2 +- .../docs/models/components/Translation1.md | 2 +- .../docs/models/components/TravelAccount.md | 2 +- .../models/components/TravelBidTaxAndFee.md | 2 +- packages/java/docs/models/components/Two.md | 11 - ...niquenessTypeJson.md => UniquenessType.md} | 6 +- packages/java/docs/models/components/User.md | 16 +- ...sionJson.md => UserEnterpriseExtension.md} | 2 +- .../java/docs/models/components/UserGroups.md | 14 +- .../java/docs/models/components/UserInput.md | 14 +- .../java/docs/models/components/UserJson.md | 24 - .../{UserTypeJson.md => UserType.md} | 6 +- packages/java/docs/models/components/Users.md | 14 +- .../docs/models/components/UsersSchema.md | 14 +- .../docs/models/components/UsersSchemas.md | 14 +- .../{ZeroOneOf2.md => ZeroOneOf.md} | 2 +- .../java/docs/models/components/ZeroOneOf1.md | 12 - .../docs/models/errors/BadRequestException.md | 2 +- .../java/docs/models/errors/ErrorResponse.md | 13 + .../java/docs/models/errors/ErrorResponse2.md | 14 +- .../docs/models/errors/ErrorResponseJson12.md | 13 - .../java/docs/models/operations/GrantType.md | 2 +- .../operations/ListCustomFieldsRequest.md | 14 +- .../models/operations/ListUsersRequest.md | 10 +- .../operations/Oauth2AuthorizeRequest.md | 14 +- .../models/operations/Oauth2TokenRequest.md | 16 +- .../operations/Oauth2TokenResponseBody.md | 2 +- .../java/docs/sdks/appointments/README.md | 12 +- .../java/docs/sdks/audiencesegments/README.md | 14 +- .../java/docs/sdks/authentication/README.md | 15 +- packages/java/docs/sdks/bulk/README.md | 18 +- .../java/docs/sdks/customfields/README.md | 20 +- packages/java/docs/sdks/events/README.md | 2 +- packages/java/docs/sdks/exhibitor/README.md | 12 +- .../java/docs/sdks/exhibitorcontent/README.md | 18 +- packages/java/docs/sdks/housing/README.md | 12 +- .../java/docs/sdks/meetingrequest/README.md | 6 +- packages/java/docs/sdks/sessions/README.md | 6 +- packages/java/docs/sdks/speakers/README.md | 6 +- packages/java/docs/sdks/userscim/README.md | 162 +-- packages/java/gradle.properties | 2 +- .../java/com/cvent/AsyncAuthentication.java | 54 +- .../main/java/com/cvent/AsyncCventSDK.java | 6 +- .../main/java/com/cvent/Authentication.java | 54 +- .../src/main/java/com/cvent/CventSDK.java | 6 +- .../main/java/com/cvent/SDKConfiguration.java | 2 +- .../java/com/cvent/hooks/OAuth2Scopes.java | 4 +- .../com/cvent/models/components/Address5.java | 314 ++-- .../com/cvent/models/components/Address6.java | 225 +-- .../com/cvent/models/components/Address7.java | 363 +++++ .../cvent/models/components/AddressJson2.java | 332 ----- ...AddressTypeJson.java => AddressType1.java} | 10 +- .../models/components/AdvancedLogic.java | 12 +- ...cesJson.java => AdvancedLogicChoices.java} | 20 +- .../cvent/models/components/AirActual.java | 8 +- .../cvent/models/components/AirRequest.java | 16 +- .../models/components/AirlinePreference.java | 8 +- .../cvent/models/components/Attendee11.java | 4 + .../cvent/models/components/AttendeeAdd.java | 4 + .../AttendeeAddBulkItemEventJsonData.java | 6 +- .../AttendeeAddBulkItemJsonData.java | 12 +- .../AttendeeLinkBulkResponseItemJsonData.java | 6 +- .../components/AttendeeResponseMethod1.java | 2 + .../models/components/AttendeeUpdate.java | 68 +- .../components/AttendeeUpdateStatus.java | 20 +- .../{AttributeJson.java => Attribute.java} | 100 +- ...taTypeJson.java => AttributeDataType.java} | 10 +- ...emaJson.java => AuthenticationSchema.java} | 28 +- .../models/components/BounceDetailsJson.java | 12 +- .../{ChoiceJson2.java => Choice2.java} | 38 +- ...hoiceJson2Input.java => Choice2Input.java} | 26 +- ...lationJson.java => ChoiceTranslation.java} | 20 +- .../components/{Three.java => Choices1.java} | 40 +- .../{Choices.java => Choices1Input.java} | 40 +- .../cvent/models/components/CustomField3.java | 56 +- .../components/CustomField3Details.java | 12 +- ...goryJson.java => CustomFieldCategory.java} | 10 +- ...eldTypeJson.java => CustomFieldType2.java} | 10 +- .../CustomFieldsPaginatedResponse.java | 12 +- ...atJson.java => DateTimeDisplayFormat.java} | 10 +- ...DataTagJson.java => DisplayInDataTag.java} | 10 +- ...DisplayTypeJson.java => DisplayType1.java} | 10 +- .../com/cvent/models/components/Email.java | 180 +++ .../models/components/EmailHistoryJson.java | 12 +- .../cvent/models/components/EmailJson1.java | 127 +- .../cvent/models/components/EmailJson2.java | 93 -- .../cvent/models/components/EmailType1.java | 39 + .../models/components/EmailTypeJson.java | 66 +- .../models/components/EmailTypeJson1.java | 99 -- ...ErrorResponse2.java => ErrorResponse.java} | 24 +- ...orScimTypeJson.java => ErrorScimType.java} | 10 +- .../components/ExistingCustomField.java | 56 +- .../ExistingCustomFieldDetails.java | 24 +- .../ExistingCustomFieldDetailsInput.java | 24 +- .../components/ExistingCustomFieldInput.java | 56 +- .../components/{GroupJson.java => Group.java} | 20 +- .../{GroupJson0.java => Group1.java} | 34 +- .../cvent/models/components/HotelRequest.java | 12 +- .../cvent/models/components/JourneyType.java | 2 +- .../{LanguageJson.java => Language1.java} | 10 +- .../components/{MetaJson.java => Meta.java} | 24 +- .../{MutabilityJson.java => Mutability.java} | 10 +- .../components/{NameJson.java => Name.java} | 24 +- .../models/components/OpenEndedDateTime.java | 260 ---- .../{One.java => OpenEndedDateTime1.java} | 36 +- ...isibilityJson.java => PageVisibility.java} | 24 +- ...PhoneNumberJson1.java => PhoneNumber.java} | 27 +- .../{PhoneTypeJson.java => PhoneType.java} | 10 +- ...erenceTypeJson.java => ReferenceType.java} | 10 +- .../cvent/models/components/ResourceType.java | 24 +- .../models/components/ResourceTypeJson.java | 364 ----- .../ResourceTypeJsonSchemaExtension.java | 131 -- .../models/components/ResourceTypes.java | 12 +- ...eturnedTypeJson.java => ReturnedType.java} | 10 +- ...emaExtension.java => SchemaExtension.java} | 18 +- .../cvent/models/components/SchemaJson.java | 253 ---- .../SchemeOAuth2ClientCredentials.java | 2 +- .../com/cvent/models/components/SeatType.java | 2 +- .../components/SendEmailEventRequest.java | 12 +- .../components/SendEmailEventResponse.java | 14 +- .../components/ServiceProviderConfig.java | 25 +- .../{TaxType.java => TaxType1.java} | 10 +- .../cvent/models/components/ThreeInput.java | 145 -- .../cvent/models/components/TicketType.java | 2 +- .../cvent/models/components/Translation.java | 12 +- .../cvent/models/components/Translation1.java | 12 +- .../models/components/TravelAccount.java | 12 +- .../models/components/TravelBidTaxAndFee.java | 12 +- .../java/com/cvent/models/components/Two.java | 135 -- ...enessTypeJson.java => UniquenessType.java} | 10 +- .../com/cvent/models/components/User.java | 106 +- ...Json.java => UserEnterpriseExtension.java} | 28 +- .../cvent/models/components/UserGroups.java | 12 +- .../cvent/models/components/UserInput.java | 94 +- .../com/cvent/models/components/UserJson.java | 724 ---------- .../{UserTypeJson.java => UserType.java} | 10 +- .../com/cvent/models/components/Users.java | 12 +- .../cvent/models/components/UsersSchema.java | 24 +- .../cvent/models/components/UsersSchemas.java | 12 +- .../{ZeroOneOf2.java => ZeroOneOf.java} | 18 +- .../cvent/models/components/ZeroOneOf1.java | 180 --- .../models/errors/BadRequestException.java | 10 +- .../cvent/models/errors/ErrorResponse.java | 303 ++++ .../cvent/models/errors/ErrorResponse2.java | 176 ++- .../models/errors/ErrorResponseJson12.java | 321 ----- .../cvent/models/operations/GrantType.java | 2 +- .../operations/ListCustomFieldsRequest.java | 120 +- .../models/operations/ListUsersRequest.java | 132 +- .../operations/Oauth2AuthorizeRequest.java | 24 +- .../models/operations/Oauth2TokenRequest.java | 16 +- .../operations/Oauth2TokenResponseBody.java | 8 +- .../AssociateAttendeeToSegment.java | 6 +- .../operations/CancelReservationRequest.java | 6 +- .../cvent/operations/CreateAppointment.java | 6 +- .../operations/CreateAudienceSegment.java | 6 +- .../com/cvent/operations/CreateBulkJob.java | 6 +- .../operations/CreateExhibitorWeblink.java | 6 +- .../CreateSessionProgramSpeaker.java | 6 +- .../java/com/cvent/operations/CreateUser.java | 6 +- .../operations/DeleteRegistrationPack.java | 6 +- .../java/com/cvent/operations/DeleteUser.java | 6 +- .../java/com/cvent/operations/GetMRFById.java | 6 +- .../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 +- .../java/com/cvent/operations/GetUser.java | 6 +- .../com/cvent/operations/GetUserGroups.java | 6 +- .../java/com/cvent/operations/ListUsers.java | 6 +- .../com/cvent/operations/Oauth2Authorize.java | 8 +- .../com/cvent/operations/Oauth2Token.java | 8 +- .../operations/PostRegistrationPack.java | 6 +- .../RelateProgramItemToSessionDocument.java | 6 +- .../java/com/cvent/operations/RunBulkJob.java | 6 +- .../cvent/operations/UpdateAppointment.java | 6 +- .../operations/UpdateAudienceSegment.java | 6 +- .../cvent/operations/UpdateExhibitorFile.java | 6 +- .../operations/UpdateExhibitorWeblink.java | 6 +- .../operations/UpdateReservationRequest.java | 6 +- .../java/com/cvent/operations/UpdateUser.java | 6 +- .../cvent/operations/UploadBulkJobData.java | 6 +- packages/typescript/.speakeasy/gen.lock | 804 +++++------ packages/typescript/.speakeasy/gen.yaml | 2 +- packages/typescript/README.md | 12 +- .../docs/models/components/address5.md | 38 +- .../docs/models/components/address6.md | 36 +- .../docs/models/components/address7.md | 33 + .../docs/models/components/addressjson2.md | 31 - .../docs/models/components/addresstype1.md | 17 + .../docs/models/components/addresstypejson.md | 17 - .../docs/models/components/advancedlogic.md | 2 +- ...choicesjson.md => advancedlogicchoices.md} | 8 +- .../docs/models/components/airactual.md | 3 +- .../models/components/airactualdetail1.md | 1 + .../models/components/airlinepreference.md | 10 +- .../docs/models/components/airrequest.md | 7 +- .../components/airreservationdetail1.md | 3 +- .../components/airreservationdetail2.md | 3 +- .../docs/models/components/attendee11.md | 94 +- .../docs/models/components/attendeeadd.md | 38 +- .../attendeeaddbulkitemeventjsondata.md | 4 +- .../components/attendeeaddbulkitemjsondata.md | 8 +- .../attendeelinkbulkresponseitemjsondata.md | 4 +- .../components/attendeeresponsemethod1.md | 3 +- .../docs/models/components/attendeeupdate.md | 32 +- .../models/components/attendeeupdatestatus.md | 4 +- .../docs/models/components/attribute.md | 63 + ...tedatatypejson.md => attributedatatype.md} | 6 +- .../docs/models/components/attributejson.md | 63 - ...nschemajson.md => authenticationschema.md} | 6 +- .../models/components/bouncedetailsjson.md | 2 +- .../components/{choicejson2.md => choice2.md} | 16 +- .../docs/models/components/choice2input.md | 19 + .../models/components/choicejson2input.md | 19 - .../docs/models/components/choices.md | 24 - .../components/{three.md => choices1.md} | 10 +- .../{threeinput.md => choices1input.md} | 10 +- ...ranslationjson.md => choicetranslation.md} | 6 +- .../docs/models/components/customfield3.md | 8 +- .../models/components/customfield3details.md | 8 +- ...categoryjson.md => customfieldcategory.md} | 6 +- .../customfieldspaginatedresponse.md | 2 +- ...omfieldtypejson.md => customfieldtype2.md} | 6 +- ...formatjson.md => datetimedisplayformat.md} | 6 +- ...ayindatatagjson.md => displayindatatag.md} | 6 +- ...icesdisplaytypejson.md => displaytype1.md} | 6 +- .../docs/models/components/email.md | 22 + .../models/components/emailhistoryjson.md | 2 +- .../docs/models/components/emailjson1.md | 13 +- .../docs/models/components/emailjson2.md | 19 - .../docs/models/components/emailtype1.md | 17 + .../docs/models/components/emailtypejson.md | 6 +- .../docs/models/components/emailtypejson1.md | 17 - .../{errorresponse2.md => errorresponse.md} | 6 +- ...{errorscimtypejson.md => errorscimtype.md} | 6 +- .../models/components/existingcustomfield.md | 8 +- .../components/existingcustomfielddetails.md | 16 +- .../existingcustomfielddetailsinput.md | 16 +- .../components/existingcustomfieldinput.md | 8 +- .../components/{groupjson.md => group.md} | 6 +- .../docs/models/components/group1.md | 32 + .../docs/models/components/groupjson0.md | 32 - .../docs/models/components/hotelrequest.md | 2 +- .../docs/models/components/journeytype.md | 4 +- .../{languagejson.md => language1.md} | 6 +- .../components/{metajson.md => meta.md} | 6 +- .../{mutabilityjson.md => mutability.md} | 6 +- .../components/{namejson.md => name.md} | 6 +- .../models/components/openendeddatetime.md | 26 - .../{one.md => openendeddatetime1.md} | 8 +- ...agevisibilityjson.md => pagevisibility.md} | 6 +- .../docs/models/components/phonenumber.md | 21 + .../models/components/phonenumberjson1.md | 21 - .../{phonetypejson.md => phonetype.md} | 6 +- ...ereferencetypejson.md => referencetype.md} | 6 +- .../docs/models/components/resourcetype.md | 20 +- .../models/components/resourcetypejson.md | 45 - .../resourcetypejsonschemaextension.md | 19 - .../docs/models/components/resourcetypes.md | 14 +- ...utereturnedtypejson.md => returnedtype.md} | 6 +- ...eschemaextension.md => schemaextension.md} | 6 +- .../docs/models/components/schemajson.md | 69 - .../schemeoauth2clientcredentials.md | 2 +- .../docs/models/components/seattype.md | 4 +- .../components/sendemaileventrequest.md | 2 +- .../components/sendemaileventresponse.md | 2 +- .../components/serviceproviderconfig.md | 4 +- .../components/{taxtype.md => taxtype1.md} | 6 +- .../docs/models/components/tickettype.md | 2 +- .../docs/models/components/translation.md | 2 +- .../docs/models/components/translation1.md | 2 +- .../docs/models/components/travelaccount.md | 2 +- .../models/components/travelbidtaxandfee.md | 2 +- .../typescript/docs/models/components/two.md | 21 - ...niquenesstypejson.md => uniquenesstype.md} | 6 +- .../typescript/docs/models/components/user.md | 16 +- ...sionjson.md => userenterpriseextension.md} | 6 +- .../docs/models/components/usergroups.md | 14 +- .../docs/models/components/userinput.md | 14 +- .../docs/models/components/userjson.md | 83 -- .../docs/models/components/users.md | 14 +- .../docs/models/components/usersschema.md | 14 +- .../docs/models/components/usersschemas.md | 14 +- .../docs/models/components/usertype.md | 17 + .../docs/models/components/usertypejson.md | 17 - .../{zerooneof2.md => zerooneof.md} | 6 +- .../docs/models/components/zerooneof1.md | 23 - .../docs/models/errors/badrequesterror.md | 2 +- .../docs/models/errors/errorresponse.md | 20 + .../docs/models/errors/errorresponse2.md | 14 +- .../docs/models/errors/errorresponsejson12.md | 20 - .../operations/getairactualdetailresponse.md | 1 + .../operations/getairrequestsresponse.md | 3 +- .../docs/models/operations/granttype.md | 2 +- .../operations/listcustomfieldsrequest.md | 14 +- .../models/operations/listusersrequest.md | 10 +- .../operations/oauth2authorizerequest.md | 16 +- .../models/operations/oauth2tokenrequest.md | 16 +- .../models/operations/oauth2tokenresponse.md | 2 +- .../docs/sdks/appointments/README.md | 4 +- .../docs/sdks/audiencesegments/README.md | 6 +- .../docs/sdks/authentication/README.md | 17 +- packages/typescript/docs/sdks/bulk/README.md | 6 +- .../typescript/docs/sdks/exhibitor/README.md | 4 +- .../docs/sdks/exhibitorcontent/README.md | 6 +- .../typescript/docs/sdks/housing/README.md | 4 +- .../docs/sdks/meetingrequest/README.md | 2 +- .../typescript/docs/sdks/sessions/README.md | 2 +- .../typescript/docs/sdks/speakers/README.md | 2 +- .../typescript/docs/sdks/userscim/README.md | 88 +- packages/typescript/jsr.json | 2 +- packages/typescript/package.json | 2 +- .../funcs/appointmentsCreateAppointment.ts | 8 +- .../funcs/appointmentsUpdateAppointment.ts | 8 +- ...ienceSegmentsAssociateAttendeeToSegment.ts | 8 +- .../audienceSegmentsCreateAudienceSegment.ts | 8 +- .../audienceSegmentsUpdateAudienceSegment.ts | 8 +- .../funcs/authenticationOauth2Authorize.ts | 11 +- .../src/funcs/authenticationOauth2Token.ts | 8 +- .../typescript/src/funcs/bulkCreateBulkJob.ts | 8 +- .../typescript/src/funcs/bulkRunBulkJob.ts | 8 +- .../src/funcs/bulkUploadBulkJobData.ts | 8 +- .../exhibitorContentCreateExhibitorWeblink.ts | 8 +- .../exhibitorContentUpdateExhibitorFile.ts | 8 +- .../exhibitorContentUpdateExhibitorWeblink.ts | 8 +- .../funcs/exhibitorDeleteRegistrationPack.ts | 8 +- .../funcs/exhibitorPostRegistrationPack.ts | 8 +- .../funcs/housingCancelReservationRequest.ts | 8 +- .../funcs/housingUpdateReservationRequest.ts | 8 +- .../src/funcs/meetingRequestGetMRFById.ts | 8 +- ...sionsRelateProgramItemToSessionDocument.ts | 8 +- .../speakersCreateSessionProgramSpeaker.ts | 8 +- .../src/funcs/userSCIMCreateUser.ts | 11 +- .../src/funcs/userSCIMDeleteUser.ts | 8 +- .../src/funcs/userSCIMGetResourceType.ts | 11 +- .../src/funcs/userSCIMGetResourceTypes.ts | 8 +- .../typescript/src/funcs/userSCIMGetSchema.ts | 11 +- .../src/funcs/userSCIMGetSchemas.ts | 8 +- .../funcs/userSCIMGetServiceProviderConfig.ts | 8 +- .../typescript/src/funcs/userSCIMGetUser.ts | 11 +- .../src/funcs/userSCIMGetUserGroups.ts | 8 +- .../typescript/src/funcs/userSCIMListUsers.ts | 8 +- .../src/funcs/userSCIMUpdateUser.ts | 11 +- packages/typescript/src/hooks/oauth2scopes.ts | 4 +- packages/typescript/src/lib/config.ts | 4 +- .../src/models/components/address5.ts | 79 +- .../src/models/components/address6.ts | 37 +- .../src/models/components/address7.ts | 72 + .../src/models/components/addressjson2.ts | 100 -- .../src/models/components/addresstype1.ts | 25 + .../src/models/components/addresstypejson.ts | 27 - .../src/models/components/advancedlogic.ts | 18 +- ...choicesjson.ts => advancedlogicchoices.ts} | 28 +- .../src/models/components/airactual.ts | 20 +- .../models/components/airlinepreference.ts | 2 +- .../src/models/components/airrequest.ts | 39 +- .../src/models/components/attendee11.ts | 1 + .../src/models/components/attendeeadd.ts | 1 + .../attendeeaddbulkitemeventjson.ts | 10 +- .../components/attendeeaddbulkitemjson.ts | 15 +- .../attendeelinkbulkresponseitemjson.ts | 13 +- .../components/attendeeresponsemethod1.ts | 3 + .../src/models/components/attendeeupdate.ts | 2 +- .../models/components/attendeeupdatestatus.ts | 5 +- .../{attributejson.ts => attribute.ts} | 65 +- ...tedatatypejson.ts => attributedatatype.ts} | 10 +- ...nschemajson.ts => authenticationschema.ts} | 14 +- .../models/components/bouncedetailsjson.ts | 9 +- .../src/models/components/choice2.ts | 39 + .../src/models/components/choice2input.ts | 33 + .../src/models/components/choicejson2.ts | 42 - .../src/models/components/choicejson2input.ts | 37 - .../src/models/components/choices1.ts | 44 + .../src/models/components/choices1input.ts | 45 + ...ranslationjson.ts => choicetranslation.ts} | 28 +- .../src/models/components/customfield3.ts | 275 +--- ...categoryjson.ts => customfieldcategory.ts} | 18 +- .../customfieldspaginatedresponse.ts | 6 +- ...omfieldtypejson.ts => customfieldtype2.ts} | 16 +- ...formatjson.ts => datetimedisplayformat.ts} | 18 +- ...ayindatatagjson.ts => displayindatatag.ts} | 16 +- ...icesdisplaytypejson.ts => displaytype1.ts} | 14 +- .../typescript/src/models/components/email.ts | 69 + .../src/models/components/emailhistoryjson.ts | 9 +- .../src/models/components/emailjson1.ts | 31 +- .../src/models/components/emailjson2.ts | 53 - .../src/models/components/emailtype1.ts | 25 + .../src/models/components/emailtypejson.ts | 73 +- .../src/models/components/emailtypejson1.ts | 84 -- .../{errorresponse2.ts => errorresponse.ts} | 14 +- ...{errorscimtypejson.ts => errorscimtype.ts} | 10 +- .../models/components/existingcustomfield.ts | 86 +- .../components/existingcustomfieldinput.ts | 119 +- .../components/{groupjson.ts => group.ts} | 35 +- .../components/{groupjson0.ts => group1.ts} | 31 +- .../src/models/components/hotelrequest.ts | 6 +- .../typescript/src/models/components/index.ts | 84 +- .../src/models/components/journeytype.ts | 22 + .../{languagejson.ts => language1.ts} | 12 +- .../components/{metajson.ts => meta.ts} | 33 +- .../{mutabilityjson.ts => mutability.ts} | 9 +- .../components/{namejson.ts => name.ts} | 50 +- .../typescript/src/models/components/one.ts | 82 -- .../models/components/openendedcommentbox.ts | 64 + .../models/components/openendeddatetime1.ts | 92 ++ .../{zerooneof1.ts => openendedoneline.ts} | 30 +- ...agevisibilityjson.ts => pagevisibility.ts} | 30 +- .../src/models/components/phonenumber.ts | 65 + .../src/models/components/phonenumberjson1.ts | 69 - .../{phonetypejson.ts => phonetype.ts} | 14 +- ...ereferencetypejson.ts => referencetype.ts} | 12 +- .../src/models/components/resourcetype.ts | 27 +- .../src/models/components/resourcetypejson.ts | 106 -- .../src/models/components/resourcetypes.ts | 9 +- ...utereturnedtypejson.ts => returnedtype.ts} | 11 +- .../src/models/components/schemajson.ts | 59 - .../schemeoauth2clientcredentials.ts | 2 +- .../src/models/components/seattype.ts | 22 + .../components/sendemaileventrequest.ts | 14 +- .../components/sendemaileventresponse.ts | 6 +- .../components/serviceproviderconfig.ts | 17 +- .../components/{taxtype.ts => taxtype1.ts} | 8 +- .../typescript/src/models/components/three.ts | 44 - .../src/models/components/threeinput.ts | 48 - .../src/models/components/tickettype.ts | 23 + .../src/models/components/translation1.ts | 32 +- .../src/models/components/travelaccount.ts | 6 +- .../models/components/travelbidtaxandfee.ts | 6 +- .../typescript/src/models/components/two.ts | 54 - ...niquenesstypejson.ts => uniquenesstype.ts} | 12 +- .../typescript/src/models/components/user.ts | 56 +- ...sionjson.ts => userenterpriseextension.ts} | 30 +- .../src/models/components/usergroups.ts | 6 +- .../src/models/components/userinput.ts | 85 +- .../src/models/components/userjson.ts | 129 -- .../typescript/src/models/components/users.ts | 6 +- .../src/models/components/usersschema.ts | 12 +- .../src/models/components/usersschemas.ts | 6 +- .../{usertypejson.ts => usertype.ts} | 12 +- .../{zerooneof2.ts => zerooneof.ts} | 14 +- .../src/models/errors/errorresponse.ts | 86 ++ .../src/models/errors/errorresponse2.ts | 55 +- .../src/models/errors/errorresponsejson12.ts | 93 -- .../typescript/src/models/errors/index.ts | 2 +- .../src/models/errors/oauth2token.ts | 4 +- .../src/models/operations/listcustomfields.ts | 28 +- .../src/models/operations/listusers.ts | 36 +- .../src/models/operations/oauth2authorize.ts | 4 +- .../src/models/operations/oauth2token.ts | 10 +- packages/typescript/src/sdk/authentication.ts | 11 +- 776 files changed, 8635 insertions(+), 13032 deletions(-) create mode 100644 packages/csharp/docs/Models/Components/Address7.md delete mode 100644 packages/csharp/docs/Models/Components/AddressJson2.md rename packages/csharp/docs/Models/Components/{AddressTypeJson.md => AddressType1.md} (78%) rename packages/csharp/docs/Models/Components/{AdvancedLogicChoicesJson.md => AdvancedLogicChoices.md} (98%) create mode 100644 packages/csharp/docs/Models/Components/Attribute.md rename packages/csharp/docs/Models/Components/{AttributeDataTypeJson.md => AttributeDataType.md} (85%) delete mode 100644 packages/csharp/docs/Models/Components/AttributeJson.md rename packages/csharp/docs/Models/Components/{AuthenticationSchemaJson.md => AuthenticationSchema.md} (99%) rename packages/csharp/docs/Models/Components/{ChoiceJson2.md => Choice2.md} (72%) create mode 100644 packages/csharp/docs/Models/Components/Choice2Input.md delete mode 100644 packages/csharp/docs/Models/Components/ChoiceJson2Input.md rename packages/csharp/docs/Models/Components/{ChoiceTranslationJson.md => ChoiceTranslation.md} (98%) delete mode 100644 packages/csharp/docs/Models/Components/Choices.md rename packages/csharp/docs/Models/Components/{Three.md => Choices1.md} (92%) rename packages/csharp/docs/Models/Components/{ThreeInput.md => Choices1Input.md} (92%) rename packages/csharp/docs/Models/Components/{CustomFieldCategoryJson.md => CustomFieldCategory.md} (89%) rename packages/csharp/docs/Models/Components/{CustomFieldTypeJson.md => CustomFieldType2.md} (90%) rename packages/csharp/docs/Models/Components/{DateTimeDisplayFormatJson.md => DateTimeDisplayFormat.md} (88%) rename packages/csharp/docs/Models/Components/{DisplayInDataTagJson.md => DisplayInDataTag.md} (90%) rename packages/csharp/docs/Models/Components/{ChoicesDisplayTypeJson.md => DisplayType1.md} (88%) create mode 100644 packages/csharp/docs/Models/Components/Email.md delete mode 100644 packages/csharp/docs/Models/Components/EmailJson2.md create mode 100644 packages/csharp/docs/Models/Components/EmailType1.md delete mode 100644 packages/csharp/docs/Models/Components/EmailTypeJson1.md rename packages/csharp/docs/Models/Components/{ErrorResponse2.md => ErrorResponse.md} (99%) rename packages/csharp/docs/Models/Components/{ErrorScimTypeJson.md => ErrorScimType.md} (84%) rename packages/csharp/docs/Models/Components/{GroupJson.md => Group.md} (98%) create mode 100644 packages/csharp/docs/Models/Components/Group1.md delete mode 100644 packages/csharp/docs/Models/Components/GroupJson0.md rename packages/csharp/docs/Models/Components/{LanguageJson.md => Language1.md} (97%) rename packages/csharp/docs/Models/Components/{MetaJson.md => Meta.md} (99%) rename packages/csharp/docs/Models/Components/{MutabilityJson.md => Mutability.md} (85%) rename packages/csharp/docs/Models/Components/{NameJson.md => Name.md} (99%) delete mode 100644 packages/csharp/docs/Models/Components/One.md rename packages/csharp/docs/Models/Components/{OpenEndedDateTime.md => OpenEndedDateTime1.md} (95%) rename packages/csharp/docs/Models/Components/{PageVisibilityJson.md => PageVisibility.md} (98%) create mode 100644 packages/csharp/docs/Models/Components/PhoneNumber.md delete mode 100644 packages/csharp/docs/Models/Components/PhoneNumberJson1.md rename packages/csharp/docs/Models/Components/{PhoneTypeJson.md => PhoneType.md} (82%) rename packages/csharp/docs/Models/Components/{AttributeReferenceTypeJson.md => ReferenceType.md} (80%) delete mode 100644 packages/csharp/docs/Models/Components/ResourceTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/ResourceTypeJsonSchemaExtension.md rename packages/csharp/docs/Models/Components/{AttributeReturnedTypeJson.md => ReturnedType.md} (80%) rename packages/csharp/docs/Models/Components/{ResourceTypeSchemaExtension.md => SchemaExtension.md} (97%) delete mode 100644 packages/csharp/docs/Models/Components/SchemaJson.md rename packages/csharp/docs/Models/Components/{TaxType.md => TaxType1.md} (92%) delete mode 100644 packages/csharp/docs/Models/Components/Two.md rename packages/csharp/docs/Models/Components/{AttributeUniquenessTypeJson.md => UniquenessType.md} (77%) rename packages/csharp/docs/Models/Components/{UserEnterpriseExtensionJson.md => UserEnterpriseExtension.md} (99%) delete mode 100644 packages/csharp/docs/Models/Components/UserJson.md rename packages/csharp/docs/Models/Components/{UserTypeJson.md => UserType.md} (80%) rename packages/csharp/docs/Models/Components/{ZeroOneOf2.md => ZeroOneOf.md} (98%) delete mode 100644 packages/csharp/docs/Models/Components/ZeroOneOf1.md create mode 100644 packages/csharp/docs/Models/Errors/ErrorResponse.md delete mode 100644 packages/csharp/docs/Models/Errors/ErrorResponseJson12.md rename packages/csharp/src/Cvent/SDK/Models/Components/{AddressJson2.cs => Address7.cs} (59%) rename packages/csharp/src/Cvent/SDK/Models/Components/{AddressTypeJson.cs => AddressType1.cs} (78%) rename packages/csharp/src/Cvent/SDK/Models/Components/{AdvancedLogicChoicesJson.cs => AdvancedLogicChoices.cs} (96%) rename packages/csharp/src/Cvent/SDK/Models/Components/{AttributeJson.cs => Attribute.cs} (86%) rename packages/csharp/src/Cvent/SDK/Models/Components/{AttributeDataTypeJson.cs => AttributeDataType.cs} (79%) rename packages/csharp/src/Cvent/SDK/Models/Components/{AuthenticationSchemaJson.cs => AuthenticationSchema.cs} (97%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ChoiceJson2.cs => Choice2.cs} (64%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ChoiceJson2Input.cs => Choice2Input.cs} (82%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ChoiceTranslationJson.cs => ChoiceTranslation.cs} (96%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Choices.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{Three.cs => Choices1.cs} (88%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ThreeInput.cs => Choices1Input.cs} (87%) rename packages/csharp/src/Cvent/SDK/Models/Components/{CustomFieldCategoryJson.cs => CustomFieldCategory.cs} (80%) rename packages/csharp/src/Cvent/SDK/Models/Components/{CustomFieldTypeJson.cs => CustomFieldType2.cs} (81%) rename packages/csharp/src/Cvent/SDK/Models/Components/{DateTimeDisplayFormatJson.cs => DateTimeDisplayFormat.cs} (80%) rename packages/csharp/src/Cvent/SDK/Models/Components/{DisplayInDataTagJson.cs => DisplayInDataTag.cs} (80%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ChoicesDisplayTypeJson.cs => DisplayType1.cs} (79%) create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Email.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EmailJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EmailType1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{ErrorResponse2.cs => ErrorResponse.cs} (97%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ErrorScimTypeJson.cs => ErrorScimType.cs} (79%) rename packages/csharp/src/Cvent/SDK/Models/Components/{GroupJson.cs => Group.cs} (97%) rename packages/csharp/src/Cvent/SDK/Models/Components/{GroupJson0.cs => Group1.cs} (94%) rename packages/csharp/src/Cvent/SDK/Models/Components/{LanguageJson.cs => Language1.cs} (91%) rename packages/csharp/src/Cvent/SDK/Models/Components/{MetaJson.cs => Meta.cs} (98%) rename packages/csharp/src/Cvent/SDK/Models/Components/{MutabilityJson.cs => Mutability.cs} (80%) rename packages/csharp/src/Cvent/SDK/Models/Components/{NameJson.cs => Name.cs} (98%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OpenEndedDateTime.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{One.cs => OpenEndedDateTime1.cs} (94%) rename packages/csharp/src/Cvent/SDK/Models/Components/{PageVisibilityJson.cs => PageVisibility.cs} (97%) rename packages/csharp/src/Cvent/SDK/Models/Components/{PhoneNumberJson1.cs => PhoneNumber.cs} (90%) rename packages/csharp/src/Cvent/SDK/Models/Components/{PhoneTypeJson.cs => PhoneType.cs} (79%) rename packages/csharp/src/Cvent/SDK/Models/Components/{AttributeReferenceTypeJson.cs => ReferenceType.cs} (76%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJsonSchemaExtension.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{AttributeReturnedTypeJson.cs => ReturnedType.cs} (76%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ResourceTypeSchemaExtension.cs => SchemaExtension.cs} (95%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SchemaJson.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{TaxType.cs => TaxType1.cs} (83%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Two.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{AttributeUniquenessTypeJson.cs => UniquenessType.cs} (75%) rename packages/csharp/src/Cvent/SDK/Models/Components/{UserEnterpriseExtensionJson.cs => UserEnterpriseExtension.cs} (97%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{UserTypeJson.cs => UserType.cs} (79%) rename packages/csharp/src/Cvent/SDK/Models/Components/{ZeroOneOf2.cs => ZeroOneOf.cs} (96%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf1.cs rename packages/csharp/src/Cvent/SDK/Models/Errors/{ErrorResponseJson12.cs => ErrorResponse.cs} (50%) create mode 100644 packages/java/docs/models/components/Address7.md delete mode 100644 packages/java/docs/models/components/AddressJson2.md rename packages/java/docs/models/components/{AddressTypeJson.md => AddressType1.md} (56%) rename packages/java/docs/models/components/{AdvancedLogicChoicesJson.md => AdvancedLogicChoices.md} (98%) create mode 100644 packages/java/docs/models/components/Attribute.md rename packages/java/docs/models/components/{AttributeDataTypeJson.md => AttributeDataType.md} (71%) delete mode 100644 packages/java/docs/models/components/AttributeJson.md rename packages/java/docs/models/components/{AuthenticationSchemaJson.md => AuthenticationSchema.md} (99%) rename packages/java/docs/models/components/{ChoiceJson2.md => Choice2.md} (72%) create mode 100644 packages/java/docs/models/components/Choice2Input.md delete mode 100644 packages/java/docs/models/components/ChoiceJson2Input.md rename packages/java/docs/models/components/{ChoiceTranslationJson.md => ChoiceTranslation.md} (98%) rename packages/java/docs/models/components/{Choices.md => Choices1.md} (92%) rename packages/java/docs/models/components/{Three.md => Choices1Input.md} (92%) rename packages/java/docs/models/components/{CustomFieldCategoryJson.md => CustomFieldCategory.md} (78%) rename packages/java/docs/models/components/{CustomFieldTypeJson.md => CustomFieldType2.md} (81%) rename packages/java/docs/models/components/{DateTimeDisplayFormatJson.md => DateTimeDisplayFormat.md} (81%) rename packages/java/docs/models/components/{DisplayInDataTagJson.md => DisplayInDataTag.md} (80%) rename packages/java/docs/models/components/{ChoicesDisplayTypeJson.md => DisplayType1.md} (78%) create mode 100644 packages/java/docs/models/components/Email.md delete mode 100644 packages/java/docs/models/components/EmailJson2.md create mode 100644 packages/java/docs/models/components/EmailType1.md delete mode 100644 packages/java/docs/models/components/EmailTypeJson1.md rename packages/java/docs/models/components/{ErrorResponse2.md => ErrorResponse.md} (99%) rename packages/java/docs/models/components/{ErrorScimTypeJson.md => ErrorScimType.md} (71%) rename packages/java/docs/models/components/{GroupJson.md => Group.md} (98%) create mode 100644 packages/java/docs/models/components/Group1.md delete mode 100644 packages/java/docs/models/components/GroupJson0.md rename packages/java/docs/models/components/{LanguageJson.md => Language1.md} (95%) rename packages/java/docs/models/components/{MetaJson.md => Meta.md} (99%) rename packages/java/docs/models/components/{MutabilityJson.md => Mutability.md} (71%) rename packages/java/docs/models/components/{NameJson.md => Name.md} (99%) delete mode 100644 packages/java/docs/models/components/One.md delete mode 100644 packages/java/docs/models/components/OpenEndedDateTime.md create mode 100644 packages/java/docs/models/components/OpenEndedDateTime1.md rename packages/java/docs/models/components/{PageVisibilityJson.md => PageVisibility.md} (98%) create mode 100644 packages/java/docs/models/components/PhoneNumber.md delete mode 100644 packages/java/docs/models/components/PhoneNumberJson1.md rename packages/java/docs/models/components/{PhoneTypeJson.md => PhoneType.md} (64%) rename packages/java/docs/models/components/{AttributeReferenceTypeJson.md => ReferenceType.md} (63%) delete mode 100644 packages/java/docs/models/components/ResourceTypeJson.md delete mode 100644 packages/java/docs/models/components/ResourceTypeJsonSchemaExtension.md rename packages/java/docs/models/components/{AttributeReturnedTypeJson.md => ReturnedType.md} (62%) rename packages/java/docs/models/components/{ResourceTypeSchemaExtension.md => SchemaExtension.md} (97%) delete mode 100644 packages/java/docs/models/components/SchemaJson.md rename packages/java/docs/models/components/{TaxType.md => TaxType1.md} (83%) delete mode 100644 packages/java/docs/models/components/ThreeInput.md delete mode 100644 packages/java/docs/models/components/Two.md rename packages/java/docs/models/components/{AttributeUniquenessTypeJson.md => UniquenessType.md} (57%) rename packages/java/docs/models/components/{UserEnterpriseExtensionJson.md => UserEnterpriseExtension.md} (99%) delete mode 100644 packages/java/docs/models/components/UserJson.md rename packages/java/docs/models/components/{UserTypeJson.md => UserType.md} (65%) rename packages/java/docs/models/components/{ZeroOneOf2.md => ZeroOneOf.md} (98%) delete mode 100644 packages/java/docs/models/components/ZeroOneOf1.md create mode 100644 packages/java/docs/models/errors/ErrorResponse.md delete mode 100644 packages/java/docs/models/errors/ErrorResponseJson12.md create mode 100644 packages/java/src/main/java/com/cvent/models/components/Address7.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressJson2.java rename packages/java/src/main/java/com/cvent/models/components/{AddressTypeJson.java => AddressType1.java} (74%) rename packages/java/src/main/java/com/cvent/models/components/{AdvancedLogicChoicesJson.java => AdvancedLogicChoices.java} (85%) rename packages/java/src/main/java/com/cvent/models/components/{AttributeJson.java => Attribute.java} (80%) rename packages/java/src/main/java/com/cvent/models/components/{AttributeDataTypeJson.java => AttributeDataType.java} (75%) rename packages/java/src/main/java/com/cvent/models/components/{AuthenticationSchemaJson.java => AuthenticationSchema.java} (88%) rename packages/java/src/main/java/com/cvent/models/components/{ChoiceJson2.java => Choice2.java} (73%) rename packages/java/src/main/java/com/cvent/models/components/{ChoiceJson2Input.java => Choice2Input.java} (72%) rename packages/java/src/main/java/com/cvent/models/components/{ChoiceTranslationJson.java => ChoiceTranslation.java} (84%) rename packages/java/src/main/java/com/cvent/models/components/{Three.java => Choices1.java} (75%) rename packages/java/src/main/java/com/cvent/models/components/{Choices.java => Choices1Input.java} (74%) rename packages/java/src/main/java/com/cvent/models/components/{CustomFieldCategoryJson.java => CustomFieldCategory.java} (76%) rename packages/java/src/main/java/com/cvent/models/components/{CustomFieldTypeJson.java => CustomFieldType2.java} (80%) rename packages/java/src/main/java/com/cvent/models/components/{DateTimeDisplayFormatJson.java => DateTimeDisplayFormat.java} (78%) rename packages/java/src/main/java/com/cvent/models/components/{DisplayInDataTagJson.java => DisplayInDataTag.java} (79%) rename packages/java/src/main/java/com/cvent/models/components/{ChoicesDisplayTypeJson.java => DisplayType1.java} (77%) create mode 100644 packages/java/src/main/java/com/cvent/models/components/Email.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EmailJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EmailType1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EmailTypeJson1.java rename packages/java/src/main/java/com/cvent/models/components/{ErrorResponse2.java => ErrorResponse.java} (87%) rename packages/java/src/main/java/com/cvent/models/components/{ErrorScimTypeJson.java => ErrorScimType.java} (76%) rename packages/java/src/main/java/com/cvent/models/components/{GroupJson.java => Group.java} (84%) rename packages/java/src/main/java/com/cvent/models/components/{GroupJson0.java => Group1.java} (84%) rename packages/java/src/main/java/com/cvent/models/components/{LanguageJson.java => Language1.java} (90%) rename packages/java/src/main/java/com/cvent/models/components/{MetaJson.java => Meta.java} (90%) rename packages/java/src/main/java/com/cvent/models/components/{MutabilityJson.java => Mutability.java} (77%) rename packages/java/src/main/java/com/cvent/models/components/{NameJson.java => Name.java} (89%) delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OpenEndedDateTime.java rename packages/java/src/main/java/com/cvent/models/components/{One.java => OpenEndedDateTime1.java} (87%) rename packages/java/src/main/java/com/cvent/models/components/{PageVisibilityJson.java => PageVisibility.java} (91%) rename packages/java/src/main/java/com/cvent/models/components/{PhoneNumberJson1.java => PhoneNumber.java} (77%) rename packages/java/src/main/java/com/cvent/models/components/{PhoneTypeJson.java => PhoneType.java} (76%) rename packages/java/src/main/java/com/cvent/models/components/{AttributeReferenceTypeJson.java => ReferenceType.java} (71%) delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ResourceTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ResourceTypeJsonSchemaExtension.java rename packages/java/src/main/java/com/cvent/models/components/{AttributeReturnedTypeJson.java => ReturnedType.java} (72%) rename packages/java/src/main/java/com/cvent/models/components/{ResourceTypeSchemaExtension.java => SchemaExtension.java} (83%) delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SchemaJson.java rename packages/java/src/main/java/com/cvent/models/components/{TaxType.java => TaxType1.java} (82%) delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ThreeInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/Two.java rename packages/java/src/main/java/com/cvent/models/components/{AttributeUniquenessTypeJson.java => UniquenessType.java} (70%) rename packages/java/src/main/java/com/cvent/models/components/{UserEnterpriseExtensionJson.java => UserEnterpriseExtension.java} (89%) delete mode 100644 packages/java/src/main/java/com/cvent/models/components/UserJson.java rename packages/java/src/main/java/com/cvent/models/components/{UserTypeJson.java => UserType.java} (76%) rename packages/java/src/main/java/com/cvent/models/components/{ZeroOneOf2.java => ZeroOneOf.java} (84%) delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ZeroOneOf1.java create mode 100644 packages/java/src/main/java/com/cvent/models/errors/ErrorResponse.java delete mode 100644 packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson12.java create mode 100644 packages/typescript/docs/models/components/address7.md delete mode 100644 packages/typescript/docs/models/components/addressjson2.md create mode 100644 packages/typescript/docs/models/components/addresstype1.md delete mode 100644 packages/typescript/docs/models/components/addresstypejson.md rename packages/typescript/docs/models/components/{advancedlogicchoicesjson.md => advancedlogicchoices.md} (91%) create mode 100644 packages/typescript/docs/models/components/attribute.md rename packages/typescript/docs/models/components/{attributedatatypejson.md => attributedatatype.md} (59%) delete mode 100644 packages/typescript/docs/models/components/attributejson.md rename packages/typescript/docs/models/components/{authenticationschemajson.md => authenticationschema.md} (95%) rename packages/typescript/docs/models/components/{choicejson2.md => choice2.md} (71%) create mode 100644 packages/typescript/docs/models/components/choice2input.md delete mode 100644 packages/typescript/docs/models/components/choicejson2input.md delete mode 100644 packages/typescript/docs/models/components/choices.md rename packages/typescript/docs/models/components/{three.md => choices1.md} (90%) rename packages/typescript/docs/models/components/{threeinput.md => choices1input.md} (90%) rename packages/typescript/docs/models/components/{choicetranslationjson.md => choicetranslation.md} (91%) rename packages/typescript/docs/models/components/{customfieldcategoryjson.md => customfieldcategory.md} (63%) rename packages/typescript/docs/models/components/{customfieldtypejson.md => customfieldtype2.md} (69%) rename packages/typescript/docs/models/components/{datetimedisplayformatjson.md => datetimedisplayformat.md} (66%) rename packages/typescript/docs/models/components/{displayindatatagjson.md => displayindatatag.md} (74%) rename packages/typescript/docs/models/components/{choicesdisplaytypejson.md => displaytype1.md} (70%) create mode 100644 packages/typescript/docs/models/components/email.md delete mode 100644 packages/typescript/docs/models/components/emailjson2.md create mode 100644 packages/typescript/docs/models/components/emailtype1.md delete mode 100644 packages/typescript/docs/models/components/emailtypejson1.md rename packages/typescript/docs/models/components/{errorresponse2.md => errorresponse.md} (95%) rename packages/typescript/docs/models/components/{errorscimtypejson.md => errorscimtype.md} (57%) rename packages/typescript/docs/models/components/{groupjson.md => group.md} (91%) create mode 100644 packages/typescript/docs/models/components/group1.md delete mode 100644 packages/typescript/docs/models/components/groupjson0.md rename packages/typescript/docs/models/components/{languagejson.md => language1.md} (87%) rename packages/typescript/docs/models/components/{metajson.md => meta.md} (97%) rename packages/typescript/docs/models/components/{mutabilityjson.md => mutability.md} (59%) rename packages/typescript/docs/models/components/{namejson.md => name.md} (93%) delete mode 100644 packages/typescript/docs/models/components/openendeddatetime.md rename packages/typescript/docs/models/components/{one.md => openendeddatetime1.md} (95%) rename packages/typescript/docs/models/components/{pagevisibilityjson.md => pagevisibility.md} (93%) create mode 100644 packages/typescript/docs/models/components/phonenumber.md delete mode 100644 packages/typescript/docs/models/components/phonenumberjson1.md rename packages/typescript/docs/models/components/{phonetypejson.md => phonetype.md} (52%) rename packages/typescript/docs/models/components/{attributereferencetypejson.md => referencetype.md} (52%) delete mode 100644 packages/typescript/docs/models/components/resourcetypejson.md delete mode 100644 packages/typescript/docs/models/components/resourcetypejsonschemaextension.md rename packages/typescript/docs/models/components/{attributereturnedtypejson.md => returnedtype.md} (52%) rename packages/typescript/docs/models/components/{resourcetypeschemaextension.md => schemaextension.md} (89%) delete mode 100644 packages/typescript/docs/models/components/schemajson.md rename packages/typescript/docs/models/components/{taxtype.md => taxtype1.md} (67%) delete mode 100644 packages/typescript/docs/models/components/two.md rename packages/typescript/docs/models/components/{attributeuniquenesstypejson.md => uniquenesstype.md} (50%) rename packages/typescript/docs/models/components/{userenterpriseextensionjson.md => userenterpriseextension.md} (98%) delete mode 100644 packages/typescript/docs/models/components/userjson.md create mode 100644 packages/typescript/docs/models/components/usertype.md delete mode 100644 packages/typescript/docs/models/components/usertypejson.md rename packages/typescript/docs/models/components/{zerooneof2.md => zerooneof.md} (88%) delete mode 100644 packages/typescript/docs/models/components/zerooneof1.md create mode 100644 packages/typescript/docs/models/errors/errorresponse.md delete mode 100644 packages/typescript/docs/models/errors/errorresponsejson12.md create mode 100644 packages/typescript/src/models/components/address7.ts delete mode 100644 packages/typescript/src/models/components/addressjson2.ts create mode 100644 packages/typescript/src/models/components/addresstype1.ts delete mode 100644 packages/typescript/src/models/components/addresstypejson.ts rename packages/typescript/src/models/components/{advancedlogicchoicesjson.ts => advancedlogicchoices.ts} (61%) rename packages/typescript/src/models/components/{attributejson.ts => attribute.ts} (52%) rename packages/typescript/src/models/components/{attributedatatypejson.ts => attributedatatype.ts} (64%) rename packages/typescript/src/models/components/{authenticationschemajson.ts => authenticationschema.ts} (75%) create mode 100644 packages/typescript/src/models/components/choice2.ts create mode 100644 packages/typescript/src/models/components/choice2input.ts delete mode 100644 packages/typescript/src/models/components/choicejson2.ts delete mode 100644 packages/typescript/src/models/components/choicejson2input.ts create mode 100644 packages/typescript/src/models/components/choices1.ts create mode 100644 packages/typescript/src/models/components/choices1input.ts rename packages/typescript/src/models/components/{choicetranslationjson.ts => choicetranslation.ts} (60%) rename packages/typescript/src/models/components/{customfieldcategoryjson.ts => customfieldcategory.ts} (58%) rename packages/typescript/src/models/components/{customfieldtypejson.ts => customfieldtype2.ts} (66%) rename packages/typescript/src/models/components/{datetimedisplayformatjson.ts => datetimedisplayformat.ts} (62%) rename packages/typescript/src/models/components/{displayindatatagjson.ts => displayindatatag.ts} (68%) rename packages/typescript/src/models/components/{choicesdisplaytypejson.ts => displaytype1.ts} (65%) create mode 100644 packages/typescript/src/models/components/email.ts delete mode 100644 packages/typescript/src/models/components/emailjson2.ts create mode 100644 packages/typescript/src/models/components/emailtype1.ts delete mode 100644 packages/typescript/src/models/components/emailtypejson1.ts rename packages/typescript/src/models/components/{errorresponse2.ts => errorresponse.ts} (77%) rename packages/typescript/src/models/components/{errorscimtypejson.ts => errorscimtype.ts} (65%) rename packages/typescript/src/models/components/{groupjson.ts => group.ts} (55%) rename packages/typescript/src/models/components/{groupjson0.ts => group1.ts} (56%) create mode 100644 packages/typescript/src/models/components/journeytype.ts rename packages/typescript/src/models/components/{languagejson.ts => language1.ts} (82%) rename packages/typescript/src/models/components/{metajson.ts => meta.ts} (57%) rename packages/typescript/src/models/components/{mutabilityjson.ts => mutability.ts} (66%) rename packages/typescript/src/models/components/{namejson.ts => name.ts} (50%) delete mode 100644 packages/typescript/src/models/components/one.ts create mode 100644 packages/typescript/src/models/components/openendedcommentbox.ts create mode 100644 packages/typescript/src/models/components/openendeddatetime1.ts rename packages/typescript/src/models/components/{zerooneof1.ts => openendedoneline.ts} (67%) rename packages/typescript/src/models/components/{pagevisibilityjson.ts => pagevisibility.ts} (70%) create mode 100644 packages/typescript/src/models/components/phonenumber.ts delete mode 100644 packages/typescript/src/models/components/phonenumberjson1.ts rename packages/typescript/src/models/components/{phonetypejson.ts => phonetype.ts} (51%) rename packages/typescript/src/models/components/{attributereferencetypejson.ts => referencetype.ts} (58%) delete mode 100644 packages/typescript/src/models/components/resourcetypejson.ts rename packages/typescript/src/models/components/{attributereturnedtypejson.ts => returnedtype.ts} (59%) delete mode 100644 packages/typescript/src/models/components/schemajson.ts create mode 100644 packages/typescript/src/models/components/seattype.ts rename packages/typescript/src/models/components/{taxtype.ts => taxtype1.ts} (72%) delete mode 100644 packages/typescript/src/models/components/three.ts delete mode 100644 packages/typescript/src/models/components/threeinput.ts create mode 100644 packages/typescript/src/models/components/tickettype.ts delete mode 100644 packages/typescript/src/models/components/two.ts rename packages/typescript/src/models/components/{attributeuniquenesstypejson.ts => uniquenesstype.ts} (56%) rename packages/typescript/src/models/components/{userenterpriseextensionjson.ts => userenterpriseextension.ts} (70%) delete mode 100644 packages/typescript/src/models/components/userjson.ts rename packages/typescript/src/models/components/{usertypejson.ts => usertype.ts} (50%) rename packages/typescript/src/models/components/{zerooneof2.ts => zerooneof.ts} (66%) create mode 100644 packages/typescript/src/models/errors/errorresponse.ts delete mode 100644 packages/typescript/src/models/errors/errorresponsejson12.ts diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index d88654d86..ca60c0d6e 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.752.0 sources: Public: sourceNamespace: public - sourceRevisionDigest: sha256:fe6d0e72c251ab156499b1c77420f787de62a05d63b53404284e0b981e25fb2b - sourceBlobDigest: sha256:42b5f5bd6d8842e781d58c13fc4ac1734dd19b0bb7416d1dc02b7dc6f0b5b81b + sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 + sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a tags: - latest - ea @@ -11,24 +11,24 @@ targets: public-csharp: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:fe6d0e72c251ab156499b1c77420f787de62a05d63b53404284e0b981e25fb2b - sourceBlobDigest: sha256:42b5f5bd6d8842e781d58c13fc4ac1734dd19b0bb7416d1dc02b7dc6f0b5b81b + sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 + sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a codeSamplesNamespace: csharp - codeSamplesRevisionDigest: sha256:1d4cfe2be6b20e81fdf1451f7e301892c074db40059eef2ca746e7d49575d1d6 + codeSamplesRevisionDigest: sha256:814812d4e50608e8abf70c52563b73cffeb5ce3feebefad147ebc030be7e3ba8 public-java: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:fe6d0e72c251ab156499b1c77420f787de62a05d63b53404284e0b981e25fb2b - sourceBlobDigest: sha256:42b5f5bd6d8842e781d58c13fc4ac1734dd19b0bb7416d1dc02b7dc6f0b5b81b + sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 + sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a codeSamplesNamespace: java - codeSamplesRevisionDigest: sha256:1e551f8f80ece4379da42e220395aa5f9011290827c99eb803c559470c4f708a + codeSamplesRevisionDigest: sha256:b9cdae2008658fedef1ce3bb4fba46e9752a1fbc5ace663a58f18c4437abf034 public-typescript: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:fe6d0e72c251ab156499b1c77420f787de62a05d63b53404284e0b981e25fb2b - sourceBlobDigest: sha256:42b5f5bd6d8842e781d58c13fc4ac1734dd19b0bb7416d1dc02b7dc6f0b5b81b + sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 + sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a codeSamplesNamespace: typescript - codeSamplesRevisionDigest: sha256:6ae332d1f00160933f171d94416fae572e1386c02881eb4fa72ab559d58b03b1 + codeSamplesRevisionDigest: sha256:7b7edd1433e19b3f14070f146bae895349e448d247f7beac48afb3c9a9fbd675 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.752.0 diff --git a/cvent-public-spec/openapi.yaml b/cvent-public-spec/openapi.yaml index 75e1d67f6..4fc26da07 100644 --- a/cvent-public-spec/openapi.yaml +++ b/cvent-public-spec/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.2 info: title: Cvent REST APIs - description: "# Introduction\nThe Cvent API Platform is built around REST. We aim to provide intuitive endpoints that can be easily\ndiscovered to help leverage the Cvent platform for your event needs. The RESTful APIs outlined here\nuse JSON-encoded request and response format, along with HTTP codes, to convey processing status of\nrequests received. The Cvent resources are protected using OAuth2.\n\n# Getting Started\n\nIf you're new to the Cvent API Platform, start by reading our\n[Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) guide. This will\ngive you an overview of how to authenticate and make requests using our APIs.\n\n## Authentication\n\nThe Cvent REST API uses [OAuth2](https://oauth.net/2/) to authorize requests to the platform. The client\ncredentials authorization flow is supported.\n\n\n\nAuthorization code flow is only supported for planner users with the administrator role in Cvent. Developer users\ncannot use authorization code flow.\n\n\n\nHere's an example of using client credential flow to authorize. You'll supply your application's id and secret to\nmake a [Token](#operation/oauth2Token) request.\n\n```bash\ncurl --location --request POST '{hostName}/{version}/oauth2/token' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Authorization: Basic {api_credentials}' \\\n--data-urlencode 'grant_type=client_credentials' \\\n--data-urlencode 'client_id={client_id}'\n```\n\n| Key | Description | Value |\n| :---------------- | :--------------------------------------------------- | :----------------------------------------------------------------------------------------------------------- |\n| {hostName} | https://api-platform.cvent.com | Location if you're account is in the North American datacenter |\n| | https://api-platform-eur.cvent.com | Location if you're account is in the European data center. |\n| {version} | ea | The version of the\_API\_you're using. Only `ea` is currently supported. |\n| {api_credentials} | {client_id}:{client_secret} in base64 encoded format | Supply your client id & client credentials in a\_base 64 encoded format. |\n| {client_id} | Retrieved from your\_application | Your\_application's client id. |\n| {client_secret} | Retrieved from your\_application | Your\_application's client secret. |\n\nOn a successful call, you'll receive the following response:\n\n```json\n{\n \"access_token\": \"{accessToken}\",\n \"expires_in\": 3600,\n \"token_type\": \"Bearer\"\n}\n```\n\nThis bearer token is valid for 3600 seconds (60 minutes) and must be used in subsequent calls.\n\n## Endpoints\n\nEndpoints start with `hostName` and `version`.\n\nThe `hostname` will depend on the region that your Cvent account is hosted in. Please see the table\nbelow to identify which hostname you should be using.\n\n| Region |\tHostname |\n|:--------------|:-----------------------------------|\n| North America\t| https://api-platform.cvent.com |\n| Europe | https://api-platform-eur.cvent.com |\n\nThe current `version` of the Cvent API is `ea`.\n\n## Rate Limits\n\nCvent APIs enforce rate limits to ensure platform stability. Your limits depend on your tier: Free,\nStandard, or Premium.\n\n
\n\n### Usage Tiers\n\n| Tier | Daily Calls | Calls per Second | Max Burst |\n| -------- | ----------- | ---------------- | --------- |\n| Free | 1,000 | 2 | 1 |\n| Standard | 15,000 | 10 | 10 |\n| Premium | 500,000 | 25 | 25 |\n\n- **Daily calls** define how many requests you can make in a 24-hour period. Quota\n resets at 12 midnight (+0 GMT).\n- **Calls per second** define how many requests you can make in a 1-second window.\n- **Max Burst** defines how many requests you can make at once.\n\nIf you are unsure what usage tier applies to your account, you can check via\n[Get Current Usage Tier](#operation/getUsageTier).\n\nPlease note that these limits may change as the Cvent API Platform evolves.\n\n
\n\n### Handling Rate Limits\n\nSometimes, you may exceed your rate limits. When this happens, the API will return a `429 Too Many Requests`. See\n[handling rate limits](https://developers.cvent.com/docs/rest-api/guides/handling-rate-limits) for best practices on how to handle this.\n\n## Pagination\n\nSome APIs use pagination to manage records. Each page of records has a token associated to identify it.\n\nIf an API uses pagination, you’ll find up to three tokens in the response:\n- **currentToken**: Describes the token of the current page.\n- **nextToken**: Provides a token for the next page of records, if one exists.\n- **previousToken**: Provides a token for the previous page of records, if one exists. Not all APIs will return\n this token.\n\nYou specify which page of records to view via the `token` parameter in your API call. To navigate through pages,\ntake the `nextToken` or `previousToken` value and pass it to your next call’s `token` parameter to get the\nrespective page of records. For example, if you made this request:\n\n```bash\ncurl -X GET {hostname}/{version}/contacts?limit=100 \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Bearer {accessToken}'\n```\n\nThe response contains a paging array where you'll find the token information.\n\n```json\n{\n \"paging\": {\n \"currentToken\": \"90c5f062-76ad-4ea4-aa53-00eb698d9262\",\n \"nextToken\": \"3b2359a7-4583-40ed-8afd-67e5f15373d3\",\n \"limit\": 100,\n \"totalCount\": 102,\n \"_links\": {...}\n },\n \"data\": [...]\n}\n```\n\nTake the `nextToken` and use it in the `token` parameter on your subsequent call.\n\n```bash\ncurl -X GET {hostname}/{version}/contacts?limit=100&token=3b2359a7-4583-40ed-8afd-67e5f15373d3 \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Bearer {accessToken}'\n```\n\nWhen the response doesn’t contain a `nextToken` field, you’ve reached the last page. Occasionally, you might\nencounter an empty page at the end of results. This typically happens when the results were evenly divisible.\nEnsure your client code handles the possibility of receiving an empty data array when using the `nextToken`.\n\n## Filtering\n\nUse filters to narrow down results. The filter follows the pattern\n`filter='field' comparisonType 'value'`. The value can be enclosed with single\nquotes (') or double quotes (\").\n\n```bash\nGET {hostName}/{version}/contacts?filter=lastName eq 'Smith'\n````\n\nTo correctly pass a single quote in the filter's value, use double quotes around\nthe string.\n\n```bash\nGET {hostName}/{version}/contacts?filter=lastName eq \"O'Keenan\"\n```\n\nTo correctly pass a double quote in the filter's value, use double quotes around\nthe string and add an escape character `\\` to each quote that is part of the\nstring.\n\n```bash\nGET {hostName}/{version}/events?filter=eventName eq \"\\\"Yearly\\\" Conference\"\n```\n\n## Versioning\n\nChange is inevitable in API development. Planning for it is crucial. We track\nboth backward-compatible and backward-incompatible changes.\n\n
\n\n### Backward Compatible Changes\n\nBackward compatible changes will be made often and are intended to avoid\nany adverse impact on our customers. It is highly advisable that when reading\nJSON payloads from Cvent, you are able to handle \"unknown\" attributes that\ncan be added over time. We consider the following changes backward-compatible:\n\n- Adding new resources\n- Adding new optional request parameters to existing operations\n- Adding new attributes to requests or responses\n- Changing the length or format (not type) of resource identifiers. For example, an ID can change from\n \"1234/1234\" to \"1234::1234\".\n- Increasing the length of string fields\n\n
\n\n### Backward Incompatible Changes\n\nBackward-incompatible changes are made infrequently, however, they can be\ndisruptive to consumers. Due to this, our APIs are versioned to avoid\ndisruptions to customers. We leverage a URI-based versioning scheme,\nwhich means that a version value is included in the Cvent API URL.\nWhen breaking changes occur, a new version of the API is made available\nwhile the existing version is deprecated but remains available for a\nlimited period of time. We consider the following backward-incompatible changes:\n\n- Adding a new required parameter (query string param or payload attribute)\n- Deleting API resources\n- Deleting any attribute from API responses\n- Changing the data type on any parameter or attribute\n\n## Standards\nAs you begin working with our APIs, it's essential to be aware of standards around\ncountry codes, time formats, and other important details that ensure smooth integration.\nLearn more about our [API Standards](https://developers.cvent.com/docs/rest-api/reference/api-standards)\n" + description: "# Introduction\nThe Cvent API Platform is built around REST. We aim to provide intuitive endpoints that can be easily\ndiscovered to help leverage the Cvent platform for your event needs. The RESTful APIs outlined here\nuse JSON-encoded request and response format, along with HTTP codes, to convey processing status of\nrequests received. The Cvent resources are protected using OAuth2.\n\n# Getting Started\n\nIf you're new to the Cvent API Platform, start by reading our\n[Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) guide. This will\ngive you an overview of how to authenticate and make requests using our APIs.\n\n## Authentication\n\nThe Cvent REST API uses [OAuth2](https://oauth.net/2/) to authorize requests to the platform. The client\ncredentials authorization flow is supported.\n\n\n\nAuthorization code flow is only supported for planner users with the administrator role in Cvent. Developer users\ncannot use authorization code flow.\n\n\n\nHere's an example of using client credential flow to authorize. You'll supply your application's id and secret to\nmake a [Token](#operation/oauth2Token) request.\n\n```bash\ncurl --location --request POST '{hostName}/{version}/oauth2/token' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Authorization: Basic {api_credentials}' \\\n--data-urlencode 'grant_type=client_credentials' \\\n--data-urlencode 'client_id={client_id}'\n```\n\n| Key | Description | Value |\n| :---------------- | :--------------------------------------------------- | :----------------------------------------------------------------------------------------------------------- |\n| {hostName} | https://api-platform.cvent.com | Location if your account is in the North American datacenter. |\n| | https://api-platform-eur.cvent.com | Location if your account is in the European data center. |\n| {version} | ea | The version of the\_API\_you're using. Only `ea` is currently supported. |\n| {api_credentials} | {client_id}:{client_secret} in base64 encoded format | Supply your client id & client credentials in a\_base 64 encoded format. |\n| {client_id} | Retrieved from your\_application | Your\_application's client id. |\n| {client_secret} | Retrieved from your\_application | Your\_application's client secret. |\n\nOn a successful call, you'll receive the following response:\n\n```json\n{\n \"access_token\": \"{accessToken}\",\n \"expires_in\": 3600,\n \"token_type\": \"Bearer\"\n}\n```\n\nThis bearer token is valid for 3600 seconds (60 minutes) and must be used in subsequent calls.\n\n## Endpoints\n\nEndpoints start with `hostName` and `version`.\n\nThe `hostname` will depend on the region that your Cvent account is hosted in. Please see the table\nbelow to identify which hostname you should be using.\n\n| Region |\tHostname |\n|:--------------|:-----------------------------------|\n| North America\t| https://api-platform.cvent.com |\n| Europe | https://api-platform-eur.cvent.com |\n\nThe current `version` of the Cvent API is `ea`.\n\n## Rate Limits\n\nCvent APIs enforce rate limits to ensure platform stability. Your limits depend on your tier: Free,\nStandard, or Premium.\n\n
\n\n### Usage Tiers\n\n| Tier | Daily Calls | Calls per Second | Max Burst |\n| -------- | ----------- | ---------------- | --------- |\n| Free | 1,000 | 2 | 1 |\n| Standard | 15,000 | 10 | 10 |\n| Premium | 500,000 | 25 | 25 |\n\n- **Daily calls** define how many requests you can make in a 24-hour period. Quota\n resets at 12 midnight (+0 GMT).\n- **Calls per second** define how many requests you can make in a 1-second window.\n- **Max Burst** defines how many requests you can make at once.\n\nIf you are unsure what usage tier applies to your account, you can check via\n[Get Current Usage Tier](#operation/getUsageTier).\n\nPlease note that these limits may change as the Cvent API Platform evolves.\n\n
\n\n### Handling Rate Limits\n\nSometimes, you may exceed your rate limits. When this happens, the API will return a `429 Too Many Requests`. See\n[handling rate limits](https://developers.cvent.com/docs/rest-api/guides/handling-rate-limits) for best practices on how to handle this.\n\n## Pagination\n\nSome APIs use pagination to manage records. Each page of records has a token associated to identify it.\n\nIf an API uses pagination, you’ll find up to three tokens in the response:\n- **currentToken**: Describes the token of the current page.\n- **nextToken**: Provides a token for the next page of records, if one exists.\n- **previousToken**: Provides a token for the previous page of records, if one exists. Not all APIs will return\n this token.\n\nYou specify which page of records to view via the `token` parameter in your API call. To navigate through pages,\ntake the `nextToken` or `previousToken` value and pass it to your next call’s `token` parameter to get the\nrespective page of records. For example, if you made this request:\n\n```bash\ncurl -X GET {hostname}/{version}/contacts?limit=100 \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Bearer {accessToken}'\n```\n\nThe response contains a paging array where you'll find the token information.\n\n```json\n{\n \"paging\": {\n \"currentToken\": \"90c5f062-76ad-4ea4-aa53-00eb698d9262\",\n \"nextToken\": \"3b2359a7-4583-40ed-8afd-67e5f15373d3\",\n \"limit\": 100,\n \"totalCount\": 102,\n \"_links\": {...}\n },\n \"data\": [...]\n}\n```\n\nTake the `nextToken` and use it in the `token` parameter on your subsequent call.\n\n```bash\ncurl -X GET {hostname}/{version}/contacts?limit=100&token=3b2359a7-4583-40ed-8afd-67e5f15373d3 \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Bearer {accessToken}'\n```\n\nWhen the response doesn’t contain a `nextToken` field, you’ve reached the last page. Occasionally, you might\nencounter an empty page at the end of results. This typically happens when the results were evenly divisible.\nEnsure your client code handles the possibility of receiving an empty data array when using the `nextToken`.\n\n## Filtering\n\nUse filters to narrow down results. The filter follows the pattern\n`filter='field' comparisonType 'value'`. The value can be enclosed with single\nquotes (') or double quotes (\").\n\n```bash\nGET {hostName}/{version}/contacts?filter=lastName eq 'Smith'\n````\n\nTo correctly pass a single quote in the filter's value, use double quotes around\nthe string.\n\n```bash\nGET {hostName}/{version}/contacts?filter=lastName eq \"O'Keenan\"\n```\n\nTo correctly pass a double quote in the filter's value, use double quotes around\nthe string and add an escape character `\\` to each quote that is part of the\nstring.\n\n```bash\nGET {hostName}/{version}/events?filter=eventName eq \"\\\"Yearly\\\" Conference\"\n```\n\n## Versioning\n\nChange is inevitable in API development. Planning for it is crucial. We track\nboth backward-compatible and backward-incompatible changes.\n\n
\n\n### Backward Compatible Changes\n\nBackward compatible changes will be made often and are intended to avoid\nany adverse impact on our customers. It is highly advisable that when reading\nJSON payloads from Cvent, you are able to handle \"unknown\" attributes that\ncan be added over time. We consider the following changes backward-compatible:\n\n- Adding new resources\n- Adding new optional request parameters to existing operations\n- Adding new attributes to requests or responses\n- Changing the length or format (not type) of resource identifiers. For example, an ID can change from\n \"1234/1234\" to \"1234::1234\".\n- Increasing the length of string fields\n\n
\n\n### Backward Incompatible Changes\n\nBackward-incompatible changes are made infrequently, however, they can be\ndisruptive to consumers. Due to this, our APIs are versioned to avoid\ndisruptions to customers. We leverage a URI-based versioning scheme,\nwhich means that a version value is included in the Cvent API URL.\nWhen breaking changes occur, a new version of the API is made available\nwhile the existing version is deprecated but remains available for a\nlimited period of time. We consider the following backward-incompatible changes:\n\n- Adding a new required parameter (query string param or payload attribute)\n- Deleting API resources\n- Deleting any attribute from API responses\n- Changing the data type on any parameter or attribute\n\n## Standards\nAs you begin working with our APIs, it's essential to be aware of standards around\ncountry codes, time formats, and other important details that ensure smooth integration.\nLearn more about our [API Standards](https://developers.cvent.com/docs/rest-api/reference/api-standards)\n" contact: name: Cvent Development Platform url: https://developers.cvent.com/ @@ -4844,22 +4844,22 @@ paths: in: query required: true 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](https://developers.cvent.com/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) - * category (eq) *(Required, one category can be provided at a time)* - * lastModified (eq|ne|lt|le|gt|ge) - * code (eq|ne) *(Case insensitive)* + | Field | Operators | Notes | + |------------------|-------------------------------------|-------| + | id | `eq`, `ne` | | + | category | `eq` | Required, one category can be provided at a time | + | lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | + | code | `eq`, `ne` | Case insensitive | + + The following logical operators are supported for combining filters: + * and + * or schema: type: string example: category eq 'Event' and lastModified gt '2021-03-19T11:30:37.909Z' and code eq 'FAVORITE_COLOR_CODE' @@ -13075,12 +13075,9 @@ paths: get: tags: - Authentication - summary: Authorize + summary: Get Authorization Code description: | - The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser. - - The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint - except for http://localhost for testing purposes only. + Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via [Get Token](#operation/oauth2Token) to obtain an access token. operationId: oauth2Authorize parameters: - in: query @@ -13108,7 +13105,7 @@ paths: - in: query name: redirect_uri description: | - The URL to which the authentication server redirects the browser after authorization has been granted by the user. + The URL to which the authorization server redirects the browser after authorization has been granted by the user. A redirect URI must: @@ -13135,7 +13132,7 @@ paths: **Optional** but strongly recommended. schema: type: string - example: STATE + example: abc123xyz required: false - in: query name: scope @@ -13143,7 +13140,7 @@ paths: Can be a combination of any scopes associated with a client. Scopes must be separated by spaces. Any scope used must be pre-associated with the client or it will be ignored at runtime. - **Note:** If the client doesn't request any scopes, the authentication server uses all + **Note:** If the client doesn't request any scopes, the authorization server uses all scopes associated with the client. schema: type: string @@ -13159,13 +13156,13 @@ paths: description: | **Positive Response** - The authentication server redirects back to your app with the authorization code and state. + The authorization server redirects the user-agent back to the client's redirect URI with the authorization code and state. The code and state must be returned in the query string parameters. **Negative Responses** - If client_id and redirect_uri are valid but there are other problems with the request parameters - (for example, if response_type is not included), the authentication server redirects the error to + (for example, if response_type is not included), the authorization server redirects the error to client's redirect_uri. - Location: https://client_redirect_uri?error=invalid_request @@ -13177,25 +13174,26 @@ paths: invalid_scope to the client's redirect_uri, as follows. - Location: https://client_redirect_uri?error=invalid_scope - - If there is any unexpected error in the server, the authentication server should return + - If there is any unexpected error in the server, the authorization server should return server_error to client's redirect_uri. It should not be the HTTP 500 error displayed to the end user in the browser, because this error doesn't get sent to the client. - Location: https://client_redirect_uri?error=server_error - - In the rare case where authentication server encounters an exception in the communication - protocol while making any connection to an external identity provider, the authentication + - In the rare case where the authorization server encounters an exception in the communication + protocol while making any connection to an external identity provider, the authorization server redirects the error to the client's redirect_uri with either of the following messages. - Location: https://client_redirect_uri?error=invalid_request&error_description=Connection+reset - Location: https://client_redirect_uri?error=invalid_request&error_description=Read+timed+out example: https://client_redirect_uri?code=AUTHORIZATION_CODE&state=STATE - deprecated: false + '400': + description: The request is missing a required parameter. /oauth2/token: post: tags: - Authentication - summary: Token + summary: Get Token description: | - Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. + Obtains an access token and, optionally, a refresh token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. operationId: oauth2Token @@ -13217,7 +13215,7 @@ paths: type: object properties: grant_type: - description: The grant type. + description: Controls the OAuth2 grant flow used to obtain tokens. enum: - client_credentials - authorization_code @@ -13233,7 +13231,7 @@ paths: scope: description: | Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime. - If the client doesn't request any scopes, the authentication server uses all scopes associated with the client. + If the client doesn't request any scopes, the authorization server uses all scopes associated with the client. **Optional** - Only used if the grant_type is client_credentials. type: string @@ -13280,7 +13278,7 @@ paths: example: dn43ud8uj32nk2je token_type: type: string - description: The token type. + description: The OAuth2 token type. Always `Bearer`. example: Bearer expires_in: type: integer @@ -13300,7 +13298,7 @@ paths: properties: error_description: type: string - description: May be returned with additional information regarding the error. + description: Additional error information, when available. error: type: string description: | @@ -13332,7 +13330,8 @@ paths: - unauthorized_client - unsupported_grant_type example: invalid_request - deprecated: false + '401': + description: Client authentication failed. The credentials provided in the Authorization header are invalid or missing. /process-forms/submissions: get: tags: @@ -14977,9 +14976,6 @@ paths: '429': $ref: '#/components/responses/TooManyRequests1' /scim/v2/Groups: - parameters: - - $ref: '#/components/parameters/startIndex' - - $ref: '#/components/parameters/count1' get: summary: Get SCIM Groups operationId: getUserGroups @@ -15002,6 +14998,9 @@ paths: $ref: '#/components/responses/Forbidden18' '429': $ref: '#/components/responses/TooManyRequests18' + parameters: + - $ref: '#/components/parameters/startIndex' + - $ref: '#/components/parameters/count1' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15200,29 +15199,25 @@ 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. - The following comparison types 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: - * userName (eq|ne) - * groups.value (eq|ne) - * active (eq|ne) - * id (eq|nq) - * emails.value (eq|ne) - * meta.lastModified (eq|ne|lt|le|gt|ge) - * meta.created (eq|ne|lt|le|gt|ge) + | Field | Operators | + |-------------------|------------------------------------| + | userName | `eq`, `ne` | + | groups.value | `eq`, `ne` | + | active | `eq`, `ne` | + | id | `eq`, `ne` | + | emails.value | `eq`, `ne` | + | meta.lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + | meta.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: userName eq 'john@example.com' or userName eq 'Matt@example.com' @@ -21534,7 +21529,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response.json12' + $ref: '#/components/schemas/ErrorResponse2' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error @@ -21567,7 +21562,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response.json12' + $ref: '#/components/schemas/ErrorResponse2' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error @@ -21609,7 +21604,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response.json12' + $ref: '#/components/schemas/ErrorResponse2' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error @@ -21662,7 +21657,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response.json12' + $ref: '#/components/schemas/ErrorResponse2' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error @@ -21712,7 +21707,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response.json12' + $ref: '#/components/schemas/ErrorResponse2' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error @@ -21738,7 +21733,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response.json12' + $ref: '#/components/schemas/ErrorResponse2' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error @@ -22073,6 +22068,39 @@ components: - CVENT_INTERNAL - CUSTOMER_SANDBOX example: CUSTOMER + AccountStateCategory: + title: Account State Category + description: Cvent-specific grouping of state/province values for a country, used to determine which states/provinces are available to an account and how they are grouped in address dropdowns. + required: + - id + - name + - description + - countryCode + type: object + properties: + id: + type: integer + description: The state category id + example: 1 + name: + type: string + description: The state category name. + example: U.S. States + readOnly: true + description: + type: string + description: A description of the state category. + example: United States + readOnly: true + countryCode: + type: string + allOf: + - title: Country Code + type: string + example: US + description: The ISO 3166-1 code which represents the Country. Visit [Cvent's Country Code API Standards](https://developers.cvent.com/docs/rest-api/api-standards#country-codes) to learn more. + example: US + readOnly: true AccountUserRole: title: Account User Role description: Represents an account user role in Cvent. An account user role defines a set of permissions and is assigned to account users. The permissions associated with the role determine what actions the user can perform within the account. @@ -23169,14 +23197,6 @@ components: type: string description: ISO 3166 two-letter (alpha-2) country code example: US - address-type.json: - title: AddressType - description: The type of the address. - enum: - - work - - home - type: string - example: work address.json: title: Address description: Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. @@ -23260,43 +23280,6 @@ components: maxLength: 2 minLength: 2 example: US - address.json2: - title: Address - description: Address - type: object - required: - - type - - primary - properties: - type: - $ref: '#/components/schemas/address-type.json' - streetAddress: - type: string - description: The street address of the user. - example: 100 Universal City Plaza - maxLength: 40 - locality: - type: string - description: The locality/city of the user. - example: Hollywood - maxLength: 40 - region: - type: string - description: The region/state/province of the user. - example: CA - postalCode: - type: string - description: Postal code (also known as zipcode) of the user. - example: '91608' - country: - type: string - description: The country of the user. - example: USA - primary: - type: boolean - description: True indicates the address is primary. - example: true - default: false Address3: title: Address description: Address details @@ -23362,6 +23345,43 @@ components: description: Name of the country for example, 'United States' example: United States of America Address5: + title: Address + description: Address + type: object + required: + - type + - primary + properties: + type: + $ref: '#/components/schemas/AddressType1' + streetAddress: + type: string + description: The street address of the user. + example: 100 Universal City Plaza + maxLength: 40 + locality: + type: string + description: The locality/city of the user. + example: Hollywood + maxLength: 40 + region: + type: string + description: The region/state/province of the user. + example: CA + postalCode: + type: string + description: Postal code (also known as zipcode) of the user. + example: '91608' + country: + type: string + description: The country of the user. + example: USA + primary: + type: boolean + description: True indicates the address is primary. + example: true + default: false + Address6: title: Address description: Address of the hotel. type: object @@ -23384,7 +23404,7 @@ components: description: Name of the country. readOnly: true example: United States of America - Address6: + Address7: title: Address description: Address details. type: object @@ -23438,6 +23458,14 @@ components: type: string description: The type of address. example: Home + AddressType1: + title: AddressType + description: The type of the address. + enum: + - work + - home + type: string + example: work admission-items-paginated-response: title: AdmissionItemsPaginatedResponse description: Paginated collection of admission items. @@ -23476,9 +23504,9 @@ components: sourceChoices: type: array items: - $ref: '#/components/schemas/advanced-logic-choices.json' + $ref: '#/components/schemas/AdvancedLogicChoices' description: The choices of this custom field to display based on the choice selected for the source custom field, specified by choice ID. - advanced-logic-choices.json: + AdvancedLogicChoices: title: AdvancedLogicChoices type: object required: @@ -23674,11 +23702,7 @@ components: description: Additional note from the GDS associated to the air actual. example: GDS note. journeyType: - type: string - description: Type of journey - enum: - - Oneway - - RoundTrip + $ref: '#/components/schemas/JourneyType' flightDetail: description: List of all the flight details taken by attendee and its guest type: array @@ -23712,8 +23736,8 @@ components: example: Emirates rewardsCode: type: string - description: Any rewards code applied. - example: REWARDS_ONE + description: Loyalty program number for the preferred airline. + example: SKYWARD12345 AirRequest: title: AirRequest description: Representation of an air request. @@ -23776,19 +23800,9 @@ components: incomingLeg: $ref: '#/components/schemas/LegDetail' seatType: - type: string - description: Type of the seat. - enum: - - Aisle - - Window + $ref: '#/components/schemas/SeatType' ticketType: - type: string - description: Category of the passenger's ticket. - enum: - - Economy/Coach - - Business - - FirstClass - example: Economy/Coach + $ref: '#/components/schemas/TicketType' foodPreference: type: string description: Additional text related to the passenger's meal. @@ -26364,6 +26378,7 @@ components: - Group Leader Responded Widget - Historical Import - Imported + - LinkedIn Registration Form - No Response - On-site Responded - Planner-Imported @@ -26384,6 +26399,7 @@ components: - 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. + - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. - 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. @@ -26433,9 +26449,10 @@ components: - Declined - Pending Approval - Denied Approval + - Waitlisted type: string default: No Response - description: "Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval" + description: "Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted" example: Accepted AttendeeVisibility: title: AttendeeVisibility @@ -26460,49 +26477,7 @@ components: format: uri description: This shortened URL, when used, allows you to decline the registration. example: https://example.com/123ABC?i=abcdefghijklmnopqrstuv - attribute-data-type.json: - title: AttributeDataType - description: This is used to denote the type of the attribute. - enum: - - string - - boolean - - decimal - - integer - - dateTime - - reference - - complex - type: string - example: string - attribute-reference-type.json: - title: Reference Type - description: This is used to denote the reference type of the attribute. - enum: - - User - - Group - - external - - uri - type: string - example: Group - attribute-returned-type.json: - title: Returned Type - description: This is used to denote the returned type of the attribute. - enum: - - always - - never - - default - - request - type: string - example: always - attribute-uniqueness-type.json: - title: Uniqueness Type - description: This is used to denote the uniqueness type of the attribute. - enum: - - none - - server - - global - type: string - example: global - attribute.json: + Attribute: title: Attribute description: Attribute type: object @@ -26512,7 +26487,7 @@ components: description: The name of the attribute. example: userName type: - $ref: '#/components/schemas/attribute-data-type.json' + $ref: '#/components/schemas/AttributeDataType' multiValued: type: boolean description: Indicates if the attribute is multivalued. @@ -26530,7 +26505,7 @@ components: description: True indicates the attribute is case sensitive. example: false mutability: - $ref: '#/components/schemas/mutability.json' + $ref: '#/components/schemas/Mutability' canonicalValues: type: array description: The list of canonical values of the attribute. @@ -26538,19 +26513,32 @@ components: type: string example: work returned: - $ref: '#/components/schemas/attribute-returned-type.json' + $ref: '#/components/schemas/ReturnedType' uniqueness: - $ref: '#/components/schemas/attribute-uniqueness-type.json' + $ref: '#/components/schemas/UniquenessType' referenceTypes: type: array description: This is used to denote the reference type of the attribute. items: - $ref: '#/components/schemas/attribute-reference-type.json' + $ref: '#/components/schemas/ReferenceType' subAttributes: type: array description: A collection of sub-attributes. Has the same structure as this attribute object. items: - $ref: '#/components/schemas/attribute.json' + $ref: '#/components/schemas/Attribute' + AttributeDataType: + title: AttributeDataType + description: This is used to denote the type of the attribute. + enum: + - string + - boolean + - decimal + - integer + - dateTime + - reference + - complex + type: string + example: string audience-segment: title: AudienceSegment required: @@ -26784,7 +26772,7 @@ components: description: The identifier of the user that last updated this record. readOnly: true example: hporter - authentication-schema.json: + AuthenticationSchema: title: Authentication Schema description: Authentication Schema type: object @@ -27431,7 +27419,7 @@ components: description: Unique ID of the product. example: 2A941E55-3367-4C50-B21B-B6A7613DFB23 emailType: - $ref: '#/components/schemas/email-type.json1' + $ref: '#/components/schemas/email-type.json' emailId: type: string format: uuid @@ -29452,20 +29440,6 @@ components: - AToZ - AsEntered - Random - choice-translation.json: - title: ChoiceTranslation - type: object - description: This is used to denote that the translation for the choice text of a custom field. - properties: - choiceId: - type: string - format: uuid - description: The ID of the choice that this translation is associated with. - translatedText: - type: string - maxLength: 300 - description: Translation for the choice text of a custom field. - example: Departamento de Tecnología choice-type.json: title: ChoiceType enum: @@ -29487,43 +29461,60 @@ components: type: string description: Label of choice example: Choice A - choice.json2: + Choice1: title: Choice + description: A schema representing a choice object type: object - description: This is used to denote the choice of custom field. + allOf: + - $ref: '#/components/schemas/BaseChoice' + properties: + label: + type: string + description: Label of choice + example: Choice A + Choice2: + title: Choice + type: object + description: This is used to denote the choice of question. required: - text properties: id: type: string format: uuid - description: 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. + description: The ID of the question 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. readOnly: true text: type: string - description: The text for the custom field choice. + description: The text for the question choice. example: What is your current designation? minLength: 1 - Choice1: - title: Choice - description: A schema representing a choice object + Choices1: + title: Choices + description: Choices for a custom field. type: object - allOf: - - $ref: '#/components/schemas/BaseChoice' properties: - label: + choices: + type: array + items: + $ref: '#/components/schemas/Choice2' + description: Choices of custom fields. + displayType: + $ref: '#/components/schemas/DisplayType1' + ChoiceTranslation: + title: ChoiceTranslation + type: object + description: This is used to denote that the translation for the choice text of a custom field. + properties: + choiceId: 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. - type: string - enum: - - Dropdown - - Vertical - - Horizontal - - MultiSelectBox + format: uuid + description: The ID of the choice that this translation is associated with. + translatedText: + type: string + maxLength: 300 + description: Translation for the choice text of a custom field. + example: Departamento de Tecnología CommentType: title: Comment Type enum: @@ -30763,11 +30754,6 @@ components: description: Indicates whether the contact type is active. example: true readOnly: true - country-code.json: - title: Country Code - type: string - example: US - description: The ISO 3166-1 code which represents the Country. Visit [Cvent's Country Code API Standards](https://developers.cvent.com/docs/rest-api/api-standards#country-codes) to learn more. country.json: title: Country description: ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. @@ -31798,35 +31784,6 @@ components: - $ref: '#/components/schemas/CustomFieldType' - readOnly: true example: MultiSelect - custom-field-category.json: - title: CustomFieldCategory - enum: - - Contact - - Session - - Event - - Survey - - Campaign - - Rfp - - Appointment - - Resource - - User - - Abstract - - Budget Item - type: string - description: This is used to denote the category of a custom field. - example: Contact - custom-field-type.json: - title: CustomFieldType - enum: - - Open Ended Text - Date/Time - - Open Ended Text - One Line - - Open Ended Text - Comment Box - - Choice - Single Answer - - Choice - Multiple Answers - - Auto-Increment - 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.json: title: CustomField description: A Custom Field @@ -32028,35 +31985,10 @@ components: description: This is used to denote the custom field data. 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: category: - $ref: '#/components/schemas/custom-field-category.json' + $ref: '#/components/schemas/CustomFieldCategory' name: type: string description: The actual text of the custom field. @@ -32073,75 +32005,15 @@ components: default: true example: true type: - $ref: '#/components/schemas/custom-field-type.json' + $ref: '#/components/schemas/CustomFieldType2' details: type: object description: Type-specific details of the custom-field. oneOf: - - title: OpenEndedOneLine - type: object - description: This is used to denote the open ended one line type of custom field. - properties: - answerFormat: - type: string - description: 'The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI.' - example: General - minimum: - type: integer - description: Minimum number/characters allowed. - example: 2 - maximum: - type: integer - description: Maximum number/characters allowed. - example: 8 - - title: OpenEndedDateTime - description: This is used to denote the open ended date time type of custom field. - type: object - properties: - from: - type: string - format: date-time - description: The ISO 8601 zoned minimum date time accepted. - example: '2021-01-02T02:00:00Z' - to: - type: string - format: date-time - description: The ISO 8601 zoned maximum date time accepted. - example: '2021-02-02T02:00:00Z' - format: - $ref: '#/components/schemas/date-time-display-format.json' - defaultToCurrentDate: - type: boolean - description: Whether it needs to be pre populated with current date. - example: false - displayPopUpCalendar: - type: boolean - description: True means that a pop-up calendar will be displayed to assist date selection on UI. - default: false - example: false - - title: OpenEndedCommentBox - description: This is used to denote the open ended comment box type of custom field. - type: object - properties: - minimum: - type: integer - description: Minimum number/characters allowed. - example: 2 - maximum: - type: integer - description: Maximum number/characters allowed. - example: 8 - - title: Choices - description: Choices for a custom field. - type: object - properties: - choices: - type: array - items: - $ref: '#/components/schemas/choice.json2' - description: Choices of custom fields. - displayType: - $ref: '#/components/schemas/choices-display-type.json' + - $ref: '#/components/schemas/OpenEndedOneLine' + - $ref: '#/components/schemas/OpenEndedDateTime1' + - $ref: '#/components/schemas/OpenEndedCommentBox' + - $ref: '#/components/schemas/Choices1' order: type: integer description: The order of the custom field on the display page. @@ -32153,7 +32025,7 @@ components: example: Enter your favorite color. maxLength: 50 displayInDataTag: - $ref: '#/components/schemas/display-in-data-tag.json' + $ref: '#/components/schemas/DisplayInDataTag' defaultTagText: type: string description: Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. @@ -32175,7 +32047,7 @@ components: default: false example: false pageVisibility: - $ref: '#/components/schemas/page-visibility.json' + $ref: '#/components/schemas/PageVisibility' custom-fields-paginated-response: title: CustomFieldsPaginatedResponse description: The response from a request to get the list of custom fields metadata. This includes the paging object as well as the collection of custom fields metadata. @@ -32185,7 +32057,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: @@ -32314,7 +32186,7 @@ components: regionCode: $ref: '#/components/schemas/region-code.json' countryCode: - $ref: '#/components/schemas/country-code.json' + $ref: '#/components/schemas/AccountStateCategory/properties/countryCode/allOf/0' postalCode: type: string description: Postal Code @@ -32456,6 +32328,23 @@ components: description: The order of this question in the bigger list of questions. example: 1 readOnly: true + CustomFieldCategory: + title: CustomFieldCategory + enum: + - Contact + - Session + - Event + - Survey + - Campaign + - Rfp + - Appointment + - Resource + - User + - Abstract + - Budget Item + type: string + description: This is used to denote the category of a custom field. + example: Contact CustomFieldType: title: CustomFieldType enum: @@ -32481,6 +32370,18 @@ components: type: string description: The type of data collected by a custom field. example: General + CustomFieldType2: + title: CustomFieldType + enum: + - Open Ended Text - Date/Time + - Open Ended Text - One Line + - Open Ended Text - Comment Box + - Choice - Single Answer + - Choice - Multiple Answers + - Auto-Increment + 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 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.' @@ -32489,18 +32390,6 @@ components: - DateTime - Time default: DateTime - 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 @@ -32614,6 +32503,18 @@ components: maxLength: 2500 description: A note detailing the requirements for the dates. example: Flexible dates + DateTimeDisplayFormat: + 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 DayOfWeek: title: DayOfWeek description: DayOfWeek @@ -32897,16 +32798,6 @@ components: type: string description: This is used to denote the type of discount example: Amount - display-in-data-tag.json: - title: DisplayInDataTag - enum: - - 'Yes' - - 'No' - - Only when answered - type: string - description: 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. - default: 'No' - example: 'No' display-rate.json: description: The room rate displayed to guests, which includes any fees configured to display in the hotel tax settings. title: DisplayRate @@ -32922,6 +32813,25 @@ components: - List - MultiSelectBox - Vertical + DisplayInDataTag: + title: DisplayInDataTag + enum: + - 'Yes' + - 'No' + - Only when answered + type: string + description: 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. + default: 'No' + example: 'No' + DisplayType1: + 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. + type: string + enum: + - Dropdown + - Vertical + - Horizontal + - MultiSelectBox distance.json: description: Distance information. title: Distance @@ -33283,6 +33193,28 @@ components: minItems: 1 maxItems: 25 description: Collection of E-literature documents sent to lead. + Email: + title: Email + description: Email + type: object + required: + - value + - type + - primary + properties: + type: + $ref: '#/components/schemas/EmailType1' + value: + type: string + description: The email of the user. + example: support@cvent.com + minLength: 1 + maxLength: 80 + primary: + type: boolean + description: True indicates the email is primary. + example: true + default: false email-history-paginated-response: title: Email History Paginated Response description: The response from a request to get the list of email history. This includes the paging object as well as the collection of email history. @@ -33346,7 +33278,7 @@ components: description: Recipient address of the email. example: example@example.com type: - $ref: '#/components/schemas/email-type.json1' + $ref: '#/components/schemas/email-type.json' sent: type: string description: The ISO 8601 zoned date time when this email was sent. @@ -33495,15 +33427,6 @@ components: $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.json: - title: Email Type - description: The type of the email. - enum: - - work - - home - type: string - example: work - default: work - email-type.json1: title: EmailType enum: - Invitation @@ -33572,28 +33495,6 @@ components: description: Denotes the type of the email. example: Invitation email.json1: - title: Email - description: Email - type: object - required: - - value - - type - - primary - properties: - type: - $ref: '#/components/schemas/email-type.json' - value: - type: string - description: The email of the user. - example: support@cvent.com - minLength: 1 - maxLength: 80 - primary: - type: boolean - description: True indicates the email is primary. - example: true - default: false - email.json2: title: Email description: Details of an email to be send. type: object @@ -33605,6 +33506,15 @@ components: format: uuid example: a150f1ee-6c54-4b01-90e6-d701748f0851 description: The unique ID of the email to be sent. + EmailType1: + title: Email Type + description: The type of the email. + enum: + - work + - home + type: string + example: work + default: work EncodingProfile: title: EncodingProfile enum: @@ -33659,7 +33569,22 @@ components: items: $ref: '#/components/schemas/error-response/allOf/0' description: Additional details of cascading error messages. - error-response.json12: + ErrorResponse: + title: ErrorResponse + description: Represents an error response with additional details of cascading error messages. + allOf: + - $ref: '#/components/schemas/ErrorResponseBase' + type: object + required: + - code + - message + properties: + details: + type: array + items: + $ref: '#/components/schemas/ErrorResponseBase' + description: Additional details of cascading error messages. + ErrorResponse2: title: ErrorResponse description: The error response. type: object @@ -33682,32 +33607,7 @@ components: example: Request is unparsable, syntactically incorrect, or violates schema. description: Details of the error. scimType: - $ref: '#/components/schemas/error-scim-type.json' - error-scim-type.json: - title: ErrorScimType - description: This is used to denote the scim type of the error. - enum: - - invalidFilter - - uniqueness - - invalidSyntax - - invalidValue - type: string - example: invalidSyntax - ErrorResponse: - title: ErrorResponse - description: Represents an error response with additional details of cascading error messages. - allOf: - - $ref: '#/components/schemas/ErrorResponseBase' - type: object - required: - - code - - message - properties: - details: - type: array - items: - $ref: '#/components/schemas/ErrorResponseBase' - description: Additional details of cascading error messages. + $ref: '#/components/schemas/ErrorScimType' ErrorResponseBase: title: ErrorResponseBase type: object @@ -33728,6 +33628,16 @@ components: type: string description: The target resource of the error. example: example target + ErrorScimType: + title: ErrorScimType + description: This is used to denote the scim type of the error. + enum: + - invalidFilter + - uniqueness + - invalidSyntax + - invalidValue + type: string + example: invalidSyntax estimated-cost.json: type: object title: EstimatedCost @@ -35965,85 +35875,14 @@ components: description: This is used to denote an existing custom field. type: object allOf: - - title: CustomField - required: - - category - - name - - code - - type - description: This is used to denote the custom field data. - type: object - allOf: - - $ref: '#/components/schemas/custom-field3/allOf/0' - properties: - category: - $ref: '#/components/schemas/custom-field-category.json' - name: - type: string - description: The actual text of the custom field. - example: What is a your favorite color? - maxLength: 300 - code: - type: string - description: Code to uniquely identify custom field. - example: FAVORITE_COLOR_CODE - maxLength: 50 - required: - type: boolean - description: Whether answer to custom field is mandatory or not. - default: true - example: true - type: - $ref: '#/components/schemas/custom-field-type.json' - details: - type: object - description: Type-specific details of the custom-field. - oneOf: - - $ref: '#/components/schemas/custom-field3/properties/details/oneOf/0' - - $ref: '#/components/schemas/custom-field3/properties/details/oneOf/1' - - $ref: '#/components/schemas/custom-field3/properties/details/oneOf/2' - - $ref: '#/components/schemas/custom-field3/properties/details/oneOf/3' - order: - type: integer - description: The order of the custom field on the display page. - example: 1 - readOnly: true - helpText: - type: string - description: The help text of the custom field. - example: Enter your favorite color. - maxLength: 50 - displayInDataTag: - $ref: '#/components/schemas/display-in-data-tag.json' - defaultTagText: - type: string - description: Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. - example: Your Division - maxLength: 300 - consentField: - type: boolean - description: True means that this is a consent field. Only applicable to contact custom fields. - default: false - example: false - active: - type: boolean - description: True means that this custom field is active. Determines visibility for event custom fields. - default: true - example: true - displayInEventCreationWizard: - type: boolean - description: True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. - default: false - example: false - pageVisibility: - $ref: '#/components/schemas/page-visibility.json' + - $ref: '#/components/schemas/custom-field3' properties: id: type: string format: uuid description: The ID of the custom field. pageVisibility: - $ref: '#/components/schemas/page-visibility.json' + $ref: '#/components/schemas/PageVisibility' existing-discount-paginated-response: title: Discounts Paginated Response required: @@ -37005,7 +36844,7 @@ components: type: string format: date-time description: Start time for simulive session - example: 2024-03-05T014:00:00Z + example: '2024-03-05T14:00:00Z' images: $ref: '#/components/schemas/video-images.json' source: @@ -38086,7 +37925,7 @@ components: maxLength: 100 example: General Ledger Code readOnly: true - group.json: + Group: title: Group description: Generic sample name. Not a real model used by any Cvent service. type: object @@ -38103,7 +37942,7 @@ components: type: string description: The name of the user role. example: Admin - group.json-0: + Group-1: title: Group description: Generic sample name. Not a real model used by any Cvent service. type: object @@ -38128,7 +37967,7 @@ components: description: The name of the user role. example: Admin meta: - $ref: '#/components/schemas/meta.json' + $ref: '#/components/schemas/Meta' Guest: type: object description: The reference to the guest. Contains only the ID of the guest. @@ -38582,7 +38421,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/Address5' + $ref: '#/components/schemas/Address6' hotelRoomRates: type: array description: Collection of hotel room rates the requester has taken. @@ -39413,7 +39252,15 @@ components: maxLength: 2500 description: Notes associated with the item. example: This item is very popular. - language.json: + JourneyType: + title: JourneyType + description: Type of journey for an air booking. + type: string + enum: + - Oneway + - RoundTrip + example: RoundTrip + Language1: title: Language enum: - af-ZA @@ -40982,7 +40829,7 @@ components: type: string description: Identifier for the channel. example: production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac - meta.json: + Meta: title: Meta description: Metadata of the resource. type: object @@ -41011,7 +40858,7 @@ components: readOnly: true description: The ISO 8601 zoned date time when this record was modified. example: '2021-12-16T00:59:14.570Z' - mutability.json: + Mutability: title: Mutability description: This is used to denote the mutability of the attribute. enum: @@ -41021,7 +40868,7 @@ components: - writeOnly type: string example: writeOnly - name.json: + Name: title: Name description: The name of the user. type: object @@ -41182,6 +41029,62 @@ components: - STORAGE - TEARDOWN - TOTAL_FB_MINIMUM + OpenEndedCommentBox: + title: OpenEndedCommentBox + description: This is used to denote the open ended comment box type of custom field. + type: object + properties: + minimum: + type: integer + description: Minimum number/characters allowed. + example: 2 + maximum: + type: integer + description: Maximum number/characters allowed. + example: 8 + OpenEndedDateTime1: + title: OpenEndedDateTime + description: This is used to denote the open ended date time type of custom field. + type: object + properties: + from: + type: string + format: date-time + description: The ISO 8601 zoned minimum date time accepted. + example: '2021-01-02T02:00:00Z' + to: + type: string + format: date-time + description: The ISO 8601 zoned maximum date time accepted. + example: '2021-02-02T02:00:00Z' + format: + $ref: '#/components/schemas/DateTimeDisplayFormat' + defaultToCurrentDate: + type: boolean + description: Whether it needs to be pre populated with current date. + example: false + displayPopUpCalendar: + type: boolean + description: True means that a pop-up calendar will be displayed to assist date selection on UI. + default: false + example: false + OpenEndedOneLine: + title: OpenEndedOneLine + type: object + description: This is used to denote the open ended one line type of custom field. + properties: + answerFormat: + type: string + description: 'The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI.' + example: General + minimum: + type: integer + description: Minimum number/characters allowed. + example: 2 + maximum: + type: integer + description: Maximum number/characters allowed. + example: 8 optout-by.json: title: OptoutBy enum: @@ -41616,7 +41519,7 @@ components: - REQUIRED example: OPTIONAL default: NO_PREFERENCE - page-visibility.json: + PageVisibility: title: PageVisibility description: Visibility of the custom field on various pages/forms. type: object @@ -42306,7 +42209,7 @@ components: type: string description: "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." example: Online Refund - phone-number.json1: + PhoneNumber: title: Phone Number description: Phone Number type: object @@ -42315,14 +42218,14 @@ components: - value properties: type: - $ref: '#/components/schemas/phone-type.json' + $ref: '#/components/schemas/PhoneType' value: type: string description: The phone number of the user. example: '+911234567890' minLength: 1 maxLength: 30 - phone-type.json: + PhoneType: title: PhoneType description: The type of the phone number. enum: @@ -44629,6 +44532,16 @@ components: properties: id: $ref: '#/components/schemas/SupplierId' + ReferenceType: + title: Reference Type + description: This is used to denote the reference type of the attribute. + enum: + - User + - Group + - external + - uri + type: string + example: Group RefundPolicy: title: RefundPolicy description: Refund policy associated to a fee. @@ -45137,55 +45050,6 @@ components: items: $ref: '#/components/schemas/existing-reservation' description: List of reservation details. - resource-type.json: - title: resourceType - description: Resource Type - type: object - properties: - schemas: - type: array - items: - type: string - example: urn:ietf:params:scim:api:messages:2.0:ListResponse - description: The list of schemas using this resource. - id: - type: string - description: The unique identifier of the resource type. - example: urn:ietf:params:scim:api:messages:2.0:ListResponse - name: - type: string - description: The name of the resource type. - example: User - description: - type: string - description: The description of the resource type. - example: This Attribute describes the Schema - endpoint: - type: string - description: The URL of the resource type endpoint. - format: uri - example: /Users - schema: - type: string - description: The schema of the resource type. - example: urn:ietf:params:scim:schemas:core:2.0:User - schemaExtensions: - type: array - items: - type: object - properties: - schema: - type: string - readOnly: true - description: The id of the schema extension - example: urn:ietf:params:scim:api:messages:2.0:ListResponse - required: - type: boolean - description: True indicates if the schema extension is required. - example: true - description: The list of schema extensions for the resource type. - meta: - $ref: '#/components/schemas/meta.json' ResourceType: title: resourceType description: Resource Type @@ -45234,7 +45098,7 @@ components: example: true description: The list of schema extensions for the resource type. meta: - $ref: '#/components/schemas/meta.json' + $ref: '#/components/schemas/Meta' ResourceTypes: title: resourceTypes description: Resource Types @@ -45261,7 +45125,7 @@ components: Resources: type: array items: - $ref: '#/components/schemas/resource-type.json' + $ref: '#/components/schemas/ResourceType' description: The collection of schema resources. responded-through.json: title: RespondedThrough @@ -45519,6 +45383,16 @@ components: items: $ref: '#/components/schemas/response.json' description: Responses for a survey. + ReturnedType: + title: Returned Type + description: This is used to denote the returned type of the attribute. + enum: + - always + - never + - default + - request + type: string + example: always reward-program.json: title: RewardProgram type: object @@ -46924,30 +46798,6 @@ components: readOnly: true action: $ref: '#/components/schemas/schedule-action.json' - schema.json: - title: Schema - description: Schema - type: object - properties: - id: - type: string - description: The unique identifier of the schema. - example: urn:ietf:params:scim:api:messages:2.0:ListResponse - name: - type: string - description: The name of the schema. - example: User - description: - type: string - description: The description of the schema. - example: This Attribute describes the Schema - attributes: - type: array - items: - $ref: '#/components/schemas/attribute.json' - description: The collection of attributes for the schema. - meta: - $ref: '#/components/schemas/meta.json' scores-paginated-response: title: ScoresPaginatedResponse description: Paginated collection of score objects. @@ -47023,6 +46873,14 @@ components: items: $ref: '#/components/schemas/existing-seat' description: A list of event seats + SeatType: + title: SeatType + description: Preferred or assigned seat type for an air booking. + type: string + enum: + - Aisle + - Window + example: Window secondary-value.json: title: SecondaryValue description: The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. @@ -47172,7 +47030,7 @@ components: event: $ref: '#/components/schemas/event.json6' email: - $ref: '#/components/schemas/email.json2' + $ref: '#/components/schemas/email.json1' resendToPreviousRecipients: type: boolean description: True indicates this email should be resent to attendees who had already received this email previously. @@ -47245,7 +47103,7 @@ components: event: $ref: '#/components/schemas/event.json6' email: - $ref: '#/components/schemas/email.json2' + $ref: '#/components/schemas/email.json1' resendToPreviousRecipients: type: boolean description: True indicates this email should be resent to attendees who had already received this email previously. @@ -47405,10 +47263,10 @@ components: authenticationSchemes: type: array items: - $ref: '#/components/schemas/authentication-schema.json' + $ref: '#/components/schemas/AuthenticationSchema' description: The collection of authentication schemas. meta: - $ref: '#/components/schemas/meta.json' + $ref: '#/components/schemas/Meta' session: title: Session type: object @@ -50629,7 +50487,7 @@ components: type: number description: Default tax rate for the schedule, expressed as a percentage. example: 8.875 - TaxType: + TaxType1: title: Tax Type enum: - city_tax @@ -50712,6 +50570,15 @@ components: type: string description: This is used to denote the file type of a thumbnail example: png + TicketType: + title: TicketType + description: Category of the passenger's ticket for an air booking. + type: string + enum: + - Economy/Coach + - Business + - FirstClass + example: Economy/Coach tier.json: title: tier description: Represents the type of license that the user can choose. @@ -51037,10 +50904,10 @@ components: type: array description: Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. items: - $ref: '#/components/schemas/choice-translation.json' + $ref: '#/components/schemas/ChoiceTranslation' minItems: 0 language: - $ref: '#/components/schemas/language.json' + $ref: '#/components/schemas/Language1' travel-account: title: Travel Account description: Travel account details. @@ -51071,7 +50938,7 @@ components: title: Addresses type: array items: - $ref: '#/components/schemas/Address6' + $ref: '#/components/schemas/Address7' description: List of addresses associated with the travel account. travel-account-paginated-response: title: Travel account paginated response @@ -51899,7 +51766,7 @@ components: type: object properties: code: - $ref: '#/components/schemas/TaxType' + $ref: '#/components/schemas/TaxType1' amount: type: number description: The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. @@ -52353,6 +52220,15 @@ components: type: string description: Status of the travel request done by attendee. example: SUBMITTED + UniquenessType: + title: Uniqueness Type + description: This is used to denote the uniqueness type of the attribute. + enum: + - none + - server + - global + type: string + example: global unit-position: type: string description: Unit position used for text box question type. @@ -52557,7 +52433,6 @@ components: - userType - locale - groups - - sendLoginDetails - timezone - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User type: object @@ -52576,7 +52451,7 @@ components: readOnly: true example: 3b2359a7-4583-40ed-8afd-67e5f15373d3 name: - $ref: '#/components/schemas/name.json' + $ref: '#/components/schemas/Name' userName: type: string description: The user name of the user to be used during identification. @@ -52593,7 +52468,7 @@ components: minItems: 1 description: '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.' items: - $ref: '#/components/schemas/email.json1' + $ref: '#/components/schemas/Email' title: type: string description: The title of the user. @@ -52603,14 +52478,14 @@ components: type: array description: The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. items: - $ref: '#/components/schemas/phone-number.json1' + $ref: '#/components/schemas/PhoneNumber' addresses: 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.json2' + $ref: '#/components/schemas/Address5' userType: - $ref: '#/components/schemas/user-type.json' + $ref: '#/components/schemas/UserType' timezone: type: string description: List of Timezones supported. @@ -52629,49 +52504,11 @@ components: minItems: 1 description: The SCIM group (representing Cvent user role) of the user. items: - $ref: '#/components/schemas/group.json' + $ref: '#/components/schemas/Group' urn:ietf:params:scim:schemas:extension:enterprise:2.0:User: - $ref: '#/components/schemas/user-enterprise-extension.json' + $ref: '#/components/schemas/UserEnterpriseExtension' meta: - $ref: '#/components/schemas/meta.json' - user-enterprise-extension.json: - title: User Enterprise Extension - description: Enterprise extension model for the user. - type: object - required: - - sendLoginDetails - properties: - sendLoginDetails: - type: boolean - description: Indicates if the login details are to be sent to user. - example: true - default: true - federatedId: - type: string - description: The ID of the user in your identity management system. Used when you leverage identity management software and need to identify a user by a value other than their Cvent username. - example: AKJU783UP - minLength: 1 - maxLength: 100 - company: - type: string - description: The company of the user. - example: Cvent - maxLength: 100 - workFax: - type: string - description: The work fax number of the user - example: '+1123456' - maxLength: 30 - homeFax: - type: string - description: The home fax number of the user. - example: '+1123456' - maxLength: 30 - pager: - type: string - description: The pager number of the user. - example: '+1123456' - maxLength: 30 + $ref: '#/components/schemas/Meta' user-group.json: title: Account User Group description: A collection of account users which is used to help manage access and visibility to various other Cvent domain entities like events, surveys, account emails, and more. For example, a user group can be associated to specific events to allow the users within that group to view the events within Cvent's platform. @@ -52756,101 +52593,44 @@ components: description: The platform used by the user. type: string example: Attendee Hub - user-type.json: - title: UserType - description: The type of the user. - enum: - - Planner Account User - type: string - example: Planner Account User - user.json: - title: User - description: Generic sample User. Not a real model used by any Cvent service. + UserEnterpriseExtension: + title: User Enterprise Extension + description: Enterprise extension model for the user. + type: object required: - - userName - - emails - - name - - active - - userType - - locale - - groups - sendLoginDetails - - timezone - - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User - type: object properties: - schemas: - type: array - items: - type: string - example: urn:ietf:params:scim:api:messages:2.0:ListResponse - readOnly: true - description: The list of schemas using this resource. - id: - type: string - description: A string that has to be a format matching the industry standard uuid. - format: uuid - readOnly: true - example: 3b2359a7-4583-40ed-8afd-67e5f15373d3 - name: - $ref: '#/components/schemas/name.json' - userName: - type: string - description: The user name of the user to be used during identification. - example: aMike@test.com - minLength: 1 - maxLength: 50 - active: + sendLoginDetails: type: boolean - description: True indicates the user is active. + description: Indicates if the login details are to be sent to user. example: true default: true - emails: - type: array - minItems: 1 - description: '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.' - items: - $ref: '#/components/schemas/email.json1' - title: - type: string - description: The title of the user. - example: Vice President - maxLength: 50 - phoneNumbers: - type: array - description: The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. - items: - $ref: '#/components/schemas/phone-number.json1' - addresses: - 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.json2' - userType: - $ref: '#/components/schemas/user-type.json' - timezone: + federatedId: type: string - description: List of Timezones supported. + description: The ID of the user in your identity management system. Used when you leverage identity management software and need to identify a user by a value other than their Cvent username. + example: AKJU783UP minLength: 1 - maxLength: 29 - example: America/New_York - default: America/New_York - locale: + maxLength: 100 + company: type: string - example: en-US - description: The locale of the user. The IETF Language Tag format is used. - minLength: 1 - maxLength: 35 - groups: - type: array - minItems: 1 - description: The SCIM group (representing Cvent user role) of the user. - items: - $ref: '#/components/schemas/group.json' - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User: - $ref: '#/components/schemas/user-enterprise-extension.json' - meta: - $ref: '#/components/schemas/meta.json' + description: The company of the user. + example: Cvent + maxLength: 100 + workFax: + type: string + description: The work fax number of the user + example: '+1123456' + maxLength: 30 + homeFax: + type: string + description: The home fax number of the user. + example: '+1123456' + maxLength: 30 + pager: + type: string + description: The pager number of the user. + example: '+1123456' + maxLength: 30 UserGroups: title: Groups description: Groups @@ -52877,7 +52657,7 @@ components: Resources: type: array items: - $ref: '#/components/schemas/group.json-0' + $ref: '#/components/schemas/Group-1' description: The collection of schema resources. Users: title: Users @@ -52905,7 +52685,7 @@ components: Resources: type: array items: - $ref: '#/components/schemas/user.json' + $ref: '#/components/schemas/User' description: The collection of user resources. UsersSchema: title: Schema @@ -52927,10 +52707,10 @@ components: attributes: type: array items: - $ref: '#/components/schemas/attribute.json' + $ref: '#/components/schemas/Attribute' description: The collection of attributes for the schema. meta: - $ref: '#/components/schemas/meta.json' + $ref: '#/components/schemas/Meta' UsersSchemas: title: Schemas description: Schemas @@ -52957,8 +52737,15 @@ components: Resources: type: array items: - $ref: '#/components/schemas/schema.json' + $ref: '#/components/schemas/UsersSchema' description: The collection of schema resources. + UserType: + title: UserType + description: The type of the user. + enum: + - Planner Account User + type: string + example: Planner Account User UTMOverride: title: UTMOverride description: 'Specifies how UTM (urchin tracking module: a key and value that is attached to URLs for the purpose of identifying and tracking traffic) settings will override passed in items.' @@ -54100,7 +53887,7 @@ components: securitySchemes: OAuth2.authorizationCode: type: oauth2 - description: OAuth2 Authorization Code Flow + description: OAuth2 Authorization Code Flow. flows: authorizationCode: authorizationUrl: https://api-platform.cvent.com/ea/oauth2/authorize @@ -54306,7 +54093,7 @@ components: survey/surveys:read: Allows the reading of event surveys OAuth2.clientCredentials: type: oauth2 - description: OAuth2 Client Credentials Flow + description: OAuth2 Client Credentials Flow. flows: clientCredentials: tokenUrl: https://api-platform.cvent.com/ea/oauth2/token @@ -54599,7 +54386,7 @@ tags: These APIs will also allow you to get and update attendees associated with an audience segment. - name: Authentication - description: Available endpoints used to initiate an authentication request to obtain and validate an access token. + description: Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. - name: Badge Print Job description: Badge print jobs can be scheduled to a printer pool, so a printer in the printer pool can consume the job and print the badge. - name: Badge Printer Pools diff --git a/overlays/public_overlay.yaml b/overlays/public_overlay.yaml index 5f109c4f8..424b94ce0 100644 --- a/overlays/public_overlay.yaml +++ b/overlays/public_overlay.yaml @@ -130,3 +130,16 @@ actions: - target: $["components"]["schemas"]["attendee"] update: x-speakeasy-name-override: "Attendee1" + # TypeScript barrel fix: new ErrorResponse2 SCIM schema (title: ErrorResponse) in July 7-8 release + # entered the ErrorResponse collision pool, shifting collision-resolver suffixes and orphaning + # ErrorResponse1 from the errors barrel index. Pinning "ErrorResponse" to "ErrorResponse1" + # (its prior stable name) restores the barrel entry; pinning "ErrorResponse2" to "ErrorResponse2" + # stabilises the new schema's name independent of pool sizing. + - target: $["components"]["schemas"]["ErrorResponse"] + update: + x-speakeasy-name-override: "ErrorResponse1" + - target: $["components"]["schemas"]["ErrorResponse2"]["title"] + update: "ErrorResponse2" + - target: $["components"]["schemas"]["ErrorResponse2"] + update: + x-speakeasy-name-override: "ErrorResponse2" diff --git a/packages/csharp/.speakeasy/gen.lock b/packages/csharp/.speakeasy/gen.lock index 5a09c69bf..72116f9e2 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: 8bccf1f5577de0d50c061573c9b1f18c + docChecksum: ce9ff8f3ccf7daaa0f3cdb2e11397d7b docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.5.1 - configChecksum: cb0a8e727a5366541fdde25ce315a6df + releaseVersion: 1.5.2 + configChecksum: 333016476e8c2336898eda8cb902a162 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:1ec6f316585957aaaf26058d4d7f8a843c97e7cc + last_write_checksum: sha1:cb0d7521e0afc8738b6c0c16e1bd54bf91201dff pristine_git_object: 7a318ebe39215ade31d133b8f5920eb190ea74e3 USAGE.md: id: 3aed33ce6e6f @@ -237,9 +237,11 @@ trackedFiles: docs/Models/Components/Address4.md: last_write_checksum: sha1:9d7dabb303131e520135e427065c0fe876284ffa docs/Models/Components/Address5.md: - last_write_checksum: sha1:1a7ae10057c48e2888b963ddcb2fd0d166604560 + last_write_checksum: sha1:089f893fa43a3ad73baa15205c2f6e95c5caa829 docs/Models/Components/Address6.md: - last_write_checksum: sha1:5bb44c95ec323477eaa18b16bb6c8f33819df2ab + last_write_checksum: sha1:5678b5ad081c7302e85a5e975a0e5e7656358c96 + docs/Models/Components/Address7.md: + last_write_checksum: sha1:fbfc62ddadc0b78a0df4384782d9d6d6d98b6b20 docs/Models/Components/AddressInput.md: last_write_checksum: sha1:b1d109a712d0b7988c5db3bf0899dfee27bb70bb docs/Models/Components/AddressJson.md: @@ -248,26 +250,20 @@ trackedFiles: pristine_git_object: 752704eeccdeff8e20b70cb3b4b35a2f11cb7e4a docs/Models/Components/AddressJson1.md: last_write_checksum: sha1:0915edacf1965ee7891caad8e8760916a0159faa - docs/Models/Components/AddressJson2.md: - 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:fd5ac1417168e0fa72446bc139769ad746c1fbe2 - pristine_git_object: 11b13f12b11a34453cafce4dacfced9ca9e97e02 + docs/Models/Components/AddressType1.md: + last_write_checksum: sha1:e144fd5572b2a9ab89827e61c4ace5e0fe5cac35 docs/Models/Components/AdmissionItemsPaginatedResponse.md: id: b6836e821cf2 last_write_checksum: sha1:e9be1b6182ca69e8b377959ccd4734d8e619a94e pristine_git_object: 46c4ff3d68aa93bdaff55ea54b2f0cfe38c7fdc6 docs/Models/Components/AdvancedLogic.md: id: d2252f338640 - last_write_checksum: sha1:1a0d66ddbbd34919706d458435bcbb5474ee70c3 + last_write_checksum: sha1:522dfadd0318713a08bce2d2b1387ccd09359a33 pristine_git_object: 792d87d5c6001552daaa619fea855e5c1c0ea3e0 - docs/Models/Components/AdvancedLogicChoicesJson.md: - id: 56e653c9a322 - last_write_checksum: sha1:9a9e1ab9f1942f21c4d6459641f8d30a52e8e0fa - pristine_git_object: 921806533dfbe39f687cbc57d7705e5a6ee2e82b + docs/Models/Components/AdvancedLogicChoices.md: + last_write_checksum: sha1:f2cb8b52966dd0675a1134252576922d4b78a9b6 docs/Models/Components/AgeCategory.md: id: 51f9161075dc last_write_checksum: sha1:54ec53dbb74e32df057252496a5bafb64bb4ace1 @@ -293,13 +289,13 @@ trackedFiles: last_write_checksum: sha1:bcd8af58231172fa1132819e372e24863dc4f9d4 pristine_git_object: 7e8b0d5597814ba33f69a5b455011a04adde6893 docs/Models/Components/AirActual.md: - last_write_checksum: sha1:218a91433a5aa03a2ae1b7dbbc201442ac659317 + last_write_checksum: sha1:d789305d146bf39fd656d0cb027f4e519d89adb7 docs/Models/Components/AirActualDetail1.md: last_write_checksum: sha1:6f00102bf3bdd97312eb43c406ee2dcef79f02ea docs/Models/Components/AirActualDetail2.md: last_write_checksum: sha1:8394f9cc1d6dd7a0a6675d317c64f7a807caa871 docs/Models/Components/AirRequest.md: - last_write_checksum: sha1:a4549a0e94eaf4b378e7efa734831620f73ca040 + last_write_checksum: sha1:b1119d6f993965d1e52f8306968ac48fced142fd docs/Models/Components/AirRequesterType.md: last_write_checksum: sha1:740296e5fa8e6ab6fd4d5771a14151f837672667 docs/Models/Components/AirReservationDetail1.md: @@ -307,7 +303,7 @@ trackedFiles: docs/Models/Components/AirReservationDetail2.md: last_write_checksum: sha1:47eadbe18f719e3bd39599d19200a4d47e371cbc docs/Models/Components/AirlinePreference.md: - last_write_checksum: sha1:f91e66b1469f77a924b895ceb42a76b8eb5533f0 + last_write_checksum: sha1:f91002066177991b5075851b2b39e845f8ac2225 docs/Models/Components/AllocationBudgetItemIdJson.md: id: ce458305675e last_write_checksum: sha1:e12b68f35c467d6cfc14c2328275b94f1b297861 @@ -511,7 +507,7 @@ trackedFiles: docs/Models/Components/Attendee.md: last_write_checksum: sha1:54b8d0cae669a79e41094f5eac3fd3d0450b4171 docs/Models/Components/Attendee11.md: - last_write_checksum: sha1:1bd92491a6adc493f6aadf56021ee2a0c09071b2 + last_write_checksum: sha1:6c1a74c99f2f8f2095eb96154cf3120752796a69 docs/Models/Components/Attendee12.md: last_write_checksum: sha1:1a4bd9992b0e9d11fa1e2325130d8e5a0b04efd8 docs/Models/Components/Attendee13.md: @@ -529,7 +525,7 @@ trackedFiles: last_write_checksum: sha1:4b29e8c1be39e738026a986e1b1cbfae58af416a pristine_git_object: 5befdbe993136120347681a8d0df377cd083d0a1 docs/Models/Components/AttendeeAdd.md: - last_write_checksum: sha1:09f525cd9548f0ad517d5d2ce2972834a60843e0 + last_write_checksum: sha1:ecd8698244ce839ea7db510cbed8f8e6df53d187 docs/Models/Components/AttendeeAddAdministrator.md: last_write_checksum: sha1:f350e1efbf0df8e6333cd7cf315eed10fe38004d docs/Models/Components/AttendeeAddAdmissionItem.md: @@ -540,7 +536,7 @@ trackedFiles: pristine_git_object: 336081f60e5e5089d30f5386cad09e2eb30bb453 docs/Models/Components/AttendeeAddBulkItemEventJsonData.md: id: fa952fdd4b44 - last_write_checksum: sha1:556804e71c1698d7e803bb752c4297b037f7cf6a + last_write_checksum: sha1:bba104adc5d6736aa27561bea7ba0802d9798eeb pristine_git_object: 40ce79e175c8f75ecd663a15370ae906e4139aec docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md: id: fdb289abf376 @@ -549,7 +545,7 @@ trackedFiles: docs/Models/Components/AttendeeAddBulkItemJson.md: last_write_checksum: sha1:7035902cdbe4d2fbf3860f0292c0bc6233005417 docs/Models/Components/AttendeeAddBulkItemJsonData.md: - last_write_checksum: sha1:56fa32c9cde3a5a48361eb76dab7c2e21ea795cd + last_write_checksum: sha1:1967ae6b3ca3a458b2620da86c0f1cc399cebae3 docs/Models/Components/AttendeeAddContact.md: last_write_checksum: sha1:45fa7e65110d441d4b5e23d18766490d60c81295 docs/Models/Components/AttendeeAddEvent.md: @@ -662,7 +658,7 @@ trackedFiles: pristine_git_object: d33259a523c8392cacff2d83a48dd7e11be697a8 docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md: id: e26d65eb8045 - last_write_checksum: sha1:c2102bea958122f575151984335f9d15ed634832 + last_write_checksum: sha1:c636cd3d626d070d219aa51f9cc49c7b967f729f pristine_git_object: 5fa534ec59e49237b1034c4b7b2efa81588a98ef docs/Models/Components/AttendeeLinkPaginatedResponse.md: id: 1d28fc183a25 @@ -679,7 +675,7 @@ trackedFiles: docs/Models/Components/AttendeeResponseMethod.md: last_write_checksum: sha1:0b065f0a1daed98d3c5b8aca494dabef1ae98d1c docs/Models/Components/AttendeeResponseMethod1.md: - last_write_checksum: sha1:702c1a05709be5c0364cf99d7d552ca91545ea83 + last_write_checksum: sha1:9b2f7900e6df02ea08dc547179218a9dd191f9c0 docs/Models/Components/AttendeeSignatureResponseJson.md: id: 1fc39418d2b0 last_write_checksum: sha1:9156fa59ae09420097c4c49110789170171148e4 @@ -722,7 +718,7 @@ trackedFiles: pristine_git_object: 56a5893f241063ba6e5b3a729e289c3257db2295 docs/Models/Components/AttendeeUpdate.md: id: 99c54db194aa - last_write_checksum: sha1:75a58026269ee37dbf0f774ac2377cdfdcea422a + last_write_checksum: sha1:15f57c007102c967124cd7955d2339fa1834b824 pristine_git_object: 8ef2b7f0d3f3d88a8b7284f127c5f73dd6abd8a3 docs/Models/Components/AttendeeUpdateAdministrator.md: id: 5271b01705c0 @@ -749,7 +745,7 @@ trackedFiles: last_write_checksum: sha1:77f0cec179be18388fa2deeda7e1438757714918 pristine_git_object: 40e75bfe09fe11730a5882b1b806fbb520f931ca docs/Models/Components/AttendeeUpdateStatus.md: - last_write_checksum: sha1:3de526ffc997970a27c93384e69872ac80b78150 + last_write_checksum: sha1:eda8f5a3e8760c483ce9334e44d6abf2eefbd712 docs/Models/Components/AttendeeVisibility.md: last_write_checksum: sha1:c2905ee281e6df3dc8afbe86803a36278bb4d8aa docs/Models/Components/AttendeeWebLinks.md: @@ -760,26 +756,10 @@ trackedFiles: 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 - pristine_git_object: a86e3e8e792dced939e41ab1fcd71eba1153e2fe - docs/Models/Components/AttributeJson.md: - id: 5b5398c0d793 - last_write_checksum: sha1:672a692fc90794ecd9c81774c2f253aea95ec791 - pristine_git_object: 9bffd63629e1b1fc4cf99c58bf99f3c5d407c6e8 - docs/Models/Components/AttributeReferenceTypeJson.md: - id: 561a6fe302a0 - last_write_checksum: sha1:e23d10c12d52113a375387078568a1bda97174d4 - pristine_git_object: 8362b00ec8b9a5df6a3e93ef52e5c0a9a204b6c4 - docs/Models/Components/AttributeReturnedTypeJson.md: - id: d3b80e057353 - last_write_checksum: sha1:0fd5443d1a6344911d2f7b6054ee4e077dd2d543 - pristine_git_object: d5b02871496caa0fff20b9384bf9e4852e924cc1 - docs/Models/Components/AttributeUniquenessTypeJson.md: - id: 414773b543b0 - last_write_checksum: sha1:82eaf02fd6426769c053e7809ccfe2ed7b6a4407 - pristine_git_object: 0e9a1724de10858988ac5508cf2e16fd61ba879d + docs/Models/Components/Attribute.md: + last_write_checksum: sha1:3f37d93f08c273fd979100393848cd9d95aa6317 + docs/Models/Components/AttributeDataType.md: + last_write_checksum: sha1:04cbefeeb01de4203057c2acaf3e1caee3ca5e6c docs/Models/Components/Attribution.md: id: f51c993ce8ef last_write_checksum: sha1:25e13fedbe58d31c6ecc4e038e10bf09c31fe569 @@ -814,10 +794,8 @@ trackedFiles: id: 27c8f51be1c7 last_write_checksum: sha1:17c8b3fa071c9df83c09ebc9dd6d1dc6c646632e pristine_git_object: e3d36b380a588d789cce35ac36388a8ffe48c319 - docs/Models/Components/AuthenticationSchemaJson.md: - id: feba41734420 - last_write_checksum: sha1:de5b15770c6321b7a6db246938643f0f8edb1f05 - pristine_git_object: ca6ef9f2fee99f3ca8dc003564c669d48f15b5d7 + docs/Models/Components/AuthenticationSchema.md: + last_write_checksum: sha1:21b0125e3a10cc9e427ce7c262286839deb38c69 docs/Models/Components/AuthorizationHeaderType1.md: id: 415356394f10 last_write_checksum: sha1:b57794140297ca7f932d9684d17191a865552135 @@ -960,7 +938,7 @@ trackedFiles: pristine_git_object: e676cb3cfa7de1b726ee256c2d057464d6028767 docs/Models/Components/BounceDetailsJson.md: id: 6758c8a10fd8 - last_write_checksum: sha1:1e1dbfd61cf7a1a0201e05b9723b3f0325f04c34 + last_write_checksum: sha1:a26ddb0f0f367cd8ca825b457ad49f15375da190 pristine_git_object: 36f17fd068a8d2328755b890d049cfb7b8d24344 docs/Models/Components/BounceDetailsResponse.md: id: 3abb36be9afe @@ -1354,30 +1332,22 @@ trackedFiles: pristine_git_object: 79377a632e3332e4dea6951aecd192eddbfd8ca2 docs/Models/Components/Choice1.md: last_write_checksum: sha1:35a494d1edb71f86099120cf35c4009f7a2431e2 + docs/Models/Components/Choice2.md: + last_write_checksum: sha1:3ff9bc12408597de3747819bfd69922f6e8fef8f + docs/Models/Components/Choice2Input.md: + last_write_checksum: sha1:acbc10e3638c75d5ba49ba9cc544533a843d36be docs/Models/Components/ChoiceJson1.md: last_write_checksum: sha1:a1347099de4fe856d37f380de254e1928acb7765 - docs/Models/Components/ChoiceJson2.md: - id: af36e17a0803 - last_write_checksum: sha1:b0b6a3107ef71ce45eff74ca39c64386e7f56cdd - pristine_git_object: caaa3feacc6793d3ccebb7667ada43db544b896b - 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 - pristine_git_object: 2c13fc47f2df17425460318a9510529c468d25b0 + docs/Models/Components/ChoiceTranslation.md: + last_write_checksum: sha1:0862d84acfe8f43458113476f6b702433544e7c2 docs/Models/Components/ChoiceTypeJson.md: last_write_checksum: sha1:753f7cab9a6bbd72f4f55b2520eb3aefa88d2864 - docs/Models/Components/Choices.md: - id: 1d10f7fb8042 - 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/Choices1.md: + last_write_checksum: sha1:fd93bb547174a719f6851ca308f165d34066595e + docs/Models/Components/Choices1Input.md: + last_write_checksum: sha1:9f29fec5ab622422b104dafc9be5fbd21c41dc2b docs/Models/Components/CommentType.md: last_write_checksum: sha1:fd0df5d943c24f4cf01829035b713c8932b3ef0a docs/Models/Components/CommunicationConfiguration.md: @@ -1659,15 +1629,13 @@ trackedFiles: docs/Models/Components/CustomField2Input.md: last_write_checksum: sha1:e70c49a6ebb23a2062d93304ad8d43e918743cee docs/Models/Components/CustomField3.md: - last_write_checksum: sha1:1a86220c84e2e3900f52771b417ed0db43af5fda + last_write_checksum: sha1:5377a10db538a56bf7097098c55d4782d3c282d6 docs/Models/Components/CustomField3Details.md: - last_write_checksum: sha1:1c93c7d06f49dd868d1086cebc759ec36f22e933 + last_write_checksum: sha1:5cf302e38c485fe4f64c07d0665c614cbff19d3b docs/Models/Components/CustomFieldAnswers.md: last_write_checksum: sha1:460099665b8e400fee3f8fbff492391276bade5b - docs/Models/Components/CustomFieldCategoryJson.md: - id: 1bbe6f0b4331 - last_write_checksum: sha1:c75c80f7805fe6c1bc263d8f6b800baf975e11f9 - pristine_git_object: 075b23a87ac7f06f5f2f990f6153d0ad56cf41cc + docs/Models/Components/CustomFieldCategory.md: + last_write_checksum: sha1:cf69f1e05f7021219a255d2927d6900402d74db7 docs/Models/Components/CustomFieldCustomFieldType.md: id: c91e30c3ed03 last_write_checksum: sha1:70c513b3c16a3f0c51a49aac4ddebe0e78c28279 @@ -1694,15 +1662,15 @@ trackedFiles: last_write_checksum: sha1:7c252dc6c764fad9a4102c49ffb9148ef874b35f docs/Models/Components/CustomFieldSchemaCustomFieldType.md: last_write_checksum: sha1:fa9bae37ac2ed2d833c3aefc604450661c720fb0 - docs/Models/Components/CustomFieldTypeJson.md: - last_write_checksum: sha1:2fe92cae470a90672797fbffe8621b05248db25e + docs/Models/Components/CustomFieldType2.md: + last_write_checksum: sha1:78b4f26e9457ad85d35d8f4ab65ff71c6ebc289c docs/Models/Components/CustomFieldsJson.md: id: 6552a89c0fa6 last_write_checksum: sha1:df7a20a76810c45142420e403489f06feb67f2c3 pristine_git_object: ea44ef4fe4d543e362e36c9faa50ea98cee3e0fc docs/Models/Components/CustomFieldsPaginatedResponse.md: id: dbb882b48b7a - last_write_checksum: sha1:b4e71176e725b1050f911ac972873124b36c436f + last_write_checksum: sha1:2321a2d8bafc8dd6397aa962b9832e1d3c7224b1 pristine_git_object: 25d6b6d6dab925d611afeb48b60d81fa934964e1 docs/Models/Components/DateAnswerFormat.md: last_write_checksum: sha1:c286a155638439663c421c8ddda0f0396644deaf @@ -1710,10 +1678,8 @@ trackedFiles: 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/DateTimeDisplayFormat.md: + last_write_checksum: sha1:0d533cbf9bb08fe299b0810472da90a4ae61682d docs/Models/Components/DateTypeJson.md: last_write_checksum: sha1:df43899ea1b4781f717b186921c971e687eb10e9 docs/Models/Components/Dates1.md: @@ -1748,12 +1714,12 @@ trackedFiles: last_write_checksum: sha1:df5e25d9c451cc3e61b0d6391dacc3ff4fc37dea docs/Models/Components/DiscountType.md: last_write_checksum: sha1:43df1336dc852a46be0a9a49ee085fb7438ce799 - docs/Models/Components/DisplayInDataTagJson.md: - id: e5103d0a768c - last_write_checksum: sha1:90686b8936774fb8387e63d25fbb66b9a8ca74ea - pristine_git_object: 141c94d562af3ec77cf3d769cceb0aebdeca83dc + docs/Models/Components/DisplayInDataTag.md: + last_write_checksum: sha1:7b228b6149f2d3f192ab0c8caa6a48ea55d9fb94 docs/Models/Components/DisplayType.md: last_write_checksum: sha1:389208df9170976cffcd33062d664b7bdb2c1cce + docs/Models/Components/DisplayType1.md: + last_write_checksum: sha1:fb99e6c5512d65e0bb852f617824cd1fd2b22557 docs/Models/Components/DistanceJson.md: last_write_checksum: sha1:bb8bb0185e0918541c83df54a7a80bee247c3b07 docs/Models/Components/DistanceUnit.md: @@ -1796,6 +1762,8 @@ trackedFiles: id: b17074059aed last_write_checksum: sha1:bd95efb5091f96a7d58f2719156eb1fb17a6b7e7 pristine_git_object: 061a197be8d6acf5891c6b4d2939d07cb5ce434c + docs/Models/Components/Email.md: + last_write_checksum: sha1:0bb45042a86783b8c93e177fa31334604c47922a docs/Models/Components/EmailBounced.md: id: b749523071db last_write_checksum: sha1:3e3b189a4734d29e35dd11179c41bafb639dbe66 @@ -1806,7 +1774,7 @@ trackedFiles: pristine_git_object: 3386d1e73ae00100f808708a7e0e6b6988132a33 docs/Models/Components/EmailHistoryJson.md: id: 0377e62890d3 - last_write_checksum: sha1:e1ec8c1b8ca7de6fa78005c1fa8de951a499b586 + last_write_checksum: sha1:37fea1aa7a5ac43cb0a50d2e1ad4b56fb5b328db pristine_git_object: 5923a472a13a97fc83f515439c2c059d9c86db07 docs/Models/Components/EmailHistoryJsonAttendee.md: id: c2c0ddf31d8f @@ -1826,12 +1794,8 @@ trackedFiles: pristine_git_object: 5b22425b7d98ee6f8aa7f10414776bdebcdb8100 docs/Models/Components/EmailJson1.md: id: b50510d82a8c - last_write_checksum: sha1:3ddf38d19776ac6cfcdc95475d986e764f43968c + last_write_checksum: sha1:2e3e62f99ef82311676f30fd4015b3ab491b1ce5 pristine_git_object: 195d7f0e80911932b619a18830508ad3313decb5 - docs/Models/Components/EmailJson2.md: - id: 9cb383e554d3 - last_write_checksum: sha1:84d3405778991352cc992b2b1a5cb21d8741f8d5 - pristine_git_object: 2885d77cb1c6d3196130236db8b0dd13487b86cd docs/Models/Components/EmailMessage.md: id: 65beff2e34d3 last_write_checksum: sha1:ce69a90576a48449779bcdc76921b9e553682549 @@ -1864,12 +1828,10 @@ trackedFiles: id: d51290e75e6a last_write_checksum: sha1:2dc8494e93fdcc402b78412aa53860f37175cb58 pristine_git_object: 1eec741122f37577b1f8dc17e8362446d4873e9e + docs/Models/Components/EmailType1.md: + last_write_checksum: sha1:cc94bb7349496a908b7f892adf114c41183a29aa docs/Models/Components/EmailTypeJson.md: - last_write_checksum: sha1:b6f3ce76a5264401594072bcbc16481001389d3b - docs/Models/Components/EmailTypeJson1.md: - id: df1a122d8778 - last_write_checksum: sha1:2e7d7df63be8dc1da370cb5b7a5e7a54b8e24b01 - pristine_git_object: bb5678414f3ba5d35686872a313ca5d1b5d8ebe4 + last_write_checksum: sha1:76a074ee698671d8a7a5802a163b9cbf72c42e51 docs/Models/Components/EmailUndelivered.md: id: f262524bb67d last_write_checksum: sha1:baca9b6800b8da307ddbcea0773b25a0501056a6 @@ -1878,16 +1840,14 @@ trackedFiles: last_write_checksum: sha1:662aa4b698d4ea76daef2b0b28d56c15ba857260 docs/Models/Components/EntityType1.md: last_write_checksum: sha1:b9fb51b3fe6b046cded48fb92bc37e56a6ca24fb + docs/Models/Components/ErrorResponse.md: + last_write_checksum: sha1:60d5975bd057ffd181a31be0b9e56a1ad424321d docs/Models/Components/ErrorResponse1.md: last_write_checksum: sha1:893316ee04b254020ebddab3d743efa467e1f969 - docs/Models/Components/ErrorResponse2.md: - last_write_checksum: sha1:bba5c5c843cccf6faea9aa5e405680c5a517e698 docs/Models/Components/ErrorResponseBase.md: last_write_checksum: sha1:6baf48856c4a32449eeaada7052734c28635866c - docs/Models/Components/ErrorScimTypeJson.md: - id: e1e58ab96753 - last_write_checksum: sha1:dfecad97040556e57f37b083181b90acbbd732c5 - pristine_git_object: 7b47796f11a80ff30a19b53c4210502328f2a45f + docs/Models/Components/ErrorScimType.md: + last_write_checksum: sha1:5a64efc8bedf050496b498a323287718732d5b99 docs/Models/Components/EstimatedCostJson.md: id: e44aa09a7633 last_write_checksum: sha1:d782db64fc4efb5f8bd33f43f8ea8682f8aa3f6b @@ -2414,19 +2374,19 @@ trackedFiles: last_write_checksum: sha1:b4f39199ec0e2f3bd0e1461063b00da07883a6dd docs/Models/Components/ExistingCustomField.md: id: bc02edd528b6 - last_write_checksum: sha1:146e3e8bb1b8c4ccb3b384ef5724a561be8a4c59 + last_write_checksum: sha1:94ce594c9a2f7d1ae5b7eaffc53c7ddd4179a958 pristine_git_object: 1e35a8721ae44ab72f75d045334dc0e0d1fc2ebc docs/Models/Components/ExistingCustomFieldDetails.md: id: 261684c15347 - last_write_checksum: sha1:e1d638b93808ca21f2800630522622445a23e5da + last_write_checksum: sha1:d92af9a6edb63a93f4a195ab58de7005b279bab1 pristine_git_object: e5e03e5b63eeb81709227a3d7ae3783a0bd432d4 docs/Models/Components/ExistingCustomFieldDetailsInput.md: id: 9b43ac436241 - last_write_checksum: sha1:b59b216540dcb317639a7c45a3b2ca7eca27b05b + last_write_checksum: sha1:8e350bab50bc2d9679714fbe70820396a6d41dcd pristine_git_object: b9554c35b36a30f985621df2009dc44ee19f5db5 docs/Models/Components/ExistingCustomFieldInput.md: id: 0106a5e43737 - last_write_checksum: sha1:4bef3fe9a758c5b152e94ec4696dc6cef6f7f527 + last_write_checksum: sha1:4745e9f79a95c5544b99b0214d442ae26f628735 pristine_git_object: 06882c7cc178a99d16167d999c501e9ad6cbcd71 docs/Models/Components/ExistingDiscountCode.md: last_write_checksum: sha1:3c42f3143ffc17e0504cb4dd38149c3341e1edb8 @@ -2766,14 +2726,10 @@ trackedFiles: pristine_git_object: ea50b3cbd90eab7bfff6a42c73df7f43efdf44a1 docs/Models/Components/GeneralLedgerJsonInput.md: last_write_checksum: sha1:893a81267e5e7bc4cc1cd4b378c67eb681caa423 - docs/Models/Components/GroupJson.md: - id: 4bed237ebcb9 - last_write_checksum: sha1:41a152a87e9637506929c1984c972bd4e27da197 - pristine_git_object: fc6063ee9450fa4bc1c2008b45f42188671b4d52 - docs/Models/Components/GroupJson0.md: - id: 156386fa7823 - last_write_checksum: sha1:0980d284ea6e105f87f62b3fed89bd5dfe051e44 - pristine_git_object: 9306a60ac347505a36645d2a39e48230162ea9d7 + docs/Models/Components/Group.md: + last_write_checksum: sha1:643dbd4517b9027896b89ea8dfbbd9a6bb4c29fc + docs/Models/Components/Group1.md: + last_write_checksum: sha1:68b369c8a0a6e1ec6cf67a9b937170fdf1d1ac12 docs/Models/Components/Guest.md: last_write_checksum: sha1:cdfd9143425009db14c9cc56a2109380a111b488 docs/Models/Components/GuestJson.md: @@ -2837,7 +2793,7 @@ trackedFiles: last_write_checksum: sha1:e17ef5fe6a0975a19f7e382fe32b978bbf9242dc pristine_git_object: a4349fd7957989b3b5f8a94a48ed1622e56d3e29 docs/Models/Components/HotelRequest.md: - last_write_checksum: sha1:38c83e2445fb361ab097b9ab795ffe808f9cf987 + last_write_checksum: sha1:7cd60974e31c025127dc68f0353ec9f2d2e030ab docs/Models/Components/HotelRequestRequesterType.md: last_write_checksum: sha1:b818f4fe3d7bf6c7e26b435c5cdb4bd271fbed49 docs/Models/Components/HotelReservationDetail1.md: @@ -2960,12 +2916,10 @@ trackedFiles: pristine_git_object: f9d1e0873cf63fcc45204d867d94d6c39fed5109 docs/Models/Components/JourneyType.md: id: 4755cd78286f - last_write_checksum: sha1:450a55381382c6410ad174cddccacdf4196d9bfb + last_write_checksum: sha1:2ac779bbe9064c843ce883d3ac1a01576a84d171 pristine_git_object: 332b961cebd4e54cb737144ef1e699de0d53dd9c - docs/Models/Components/LanguageJson.md: - id: c960151a6d0b - last_write_checksum: sha1:87abba4ca0153a0e3cb9f546387a54d79e2816b1 - pristine_git_object: 802772ca22514f82b20ec42c4f593316ecac09e4 + docs/Models/Components/Language1.md: + last_write_checksum: sha1:639f0fd93dc2f8cbd6bca60d325b2c494df36523 docs/Models/Components/LargeChoiceJson.md: id: 2df1baed6e5b last_write_checksum: sha1:ef0ba7b3eb7a2117805de1fd4558290a65afe18f @@ -3194,22 +3148,16 @@ trackedFiles: id: 9fc1c27d2116 last_write_checksum: sha1:f9e58edefe3722aa1d8d5ccb8da31235dcf97921 pristine_git_object: 55ae7e791185256daa738f9548884f472ff03e23 - docs/Models/Components/MetaJson.md: - id: 564d6e76be50 - last_write_checksum: sha1:b56ed27a4216ae4040ac4b48369d615aa31c54c6 - pristine_git_object: 43586b6e4a31052c765f5fee21b6d16ee44ea3d9 + docs/Models/Components/Meta.md: + last_write_checksum: sha1:ddbadc763810b91b2e7f9c61eb07ab90238700d7 docs/Models/Components/Modifiers.md: id: 6083641f1d60 last_write_checksum: sha1:dec3c4042d4c831a41fe9e017c3532e7c750cc50 pristine_git_object: 7e6083c09cc4eab3a5af427d4aa4c2d57cb7014a - docs/Models/Components/MutabilityJson.md: - id: a84cc90c87f7 - last_write_checksum: sha1:0fe847fdc9eb4f6f30e9721c31c113361d232ba8 - pristine_git_object: bee1c3a8518d70b858b07ab6646838d21c1f1d85 - docs/Models/Components/NameJson.md: - id: 2ff2c996b614 - last_write_checksum: sha1:645f8b2c7e8b4316a89fc7c41440f478752e4a6a - pristine_git_object: 2d3cd313e7730f051828e8299dcf21b59690683e + docs/Models/Components/Mutability.md: + last_write_checksum: sha1:e77182f2208481cd1ede8885f8258969ea78e17a + docs/Models/Components/Name.md: + last_write_checksum: sha1:6ac3676ac174ac028a67c543e7f48a72830a8547 docs/Models/Components/NamedObject.md: last_write_checksum: sha1:d663d9b1133527b1bb729cfe8eb450a05be5812d docs/Models/Components/NewReservation.md: @@ -3232,16 +3180,12 @@ trackedFiles: 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 pristine_git_object: 4cde681cc9ee36ac400d86a632371ce27fcabced - docs/Models/Components/OpenEndedDateTime.md: - id: 49d46997c0c5 - last_write_checksum: sha1:25d7e8bb36412624f962e411a13962e06754beb4 - pristine_git_object: dff28b37c61d53d416f4a2b07fad6f69a190b4f7 + docs/Models/Components/OpenEndedDateTime1.md: + last_write_checksum: sha1:ccba0b55aa0fa96efc937e8c529b4c1ceed9d467 docs/Models/Components/OpenEndedOneLine.md: id: 5b4b672ea35d last_write_checksum: sha1:43569fc6ce181c706ec5e120ff32c97ea2acf360 @@ -3294,10 +3238,8 @@ trackedFiles: pristine_git_object: cc6d032ad329aaba9f4a8e64a1008cc0f3727a37 docs/Models/Components/PackagePricingPreference.md: last_write_checksum: sha1:5aa5a61436a72f4a3b30372a1c1c7821eb0acc8a - docs/Models/Components/PageVisibilityJson.md: - id: 868dcbc6a8e5 - last_write_checksum: sha1:073dc8a66d6cbeaa4ba5edfa9a85eb6c30e334cf - pristine_git_object: e8d7362e3bb0bf47cbc1585d8d9f91eee909e7cf + docs/Models/Components/PageVisibility.md: + last_write_checksum: sha1:bc04af69b41315f340534993e2dbcf358cf8269f docs/Models/Components/PaginatedExistingMember.md: id: b04f333f6ebc last_write_checksum: sha1:48b30d7ccff1f281c984ab2bdc2e80acb7c67d5e @@ -3404,14 +3346,10 @@ trackedFiles: id: 4cba3a5cfbb9 last_write_checksum: sha1:9eb57ceef2a5db15c78cdac905fe7261a9b1263e pristine_git_object: 5966829aeb3840c4ba32a3f7c88d1a07c78cf784 - docs/Models/Components/PhoneNumberJson1.md: - id: 8924bbe93536 - last_write_checksum: sha1:06d39dc07addf4189bcfa5e4dbbd59ff18a94c41 - pristine_git_object: ed160d4014eabb42a9e753e0db7c010b47821d75 - docs/Models/Components/PhoneTypeJson.md: - id: ffcb8e1cd44c - last_write_checksum: sha1:95f86c7bd7ab8b6769c29d0f861df3ad411bbd68 - pristine_git_object: 7285ae3af8303f7131d2c0eba19b22265399faa5 + docs/Models/Components/PhoneNumber.md: + last_write_checksum: sha1:dcc0a270670be547bb4bf709ab4f7af82f22db62 + docs/Models/Components/PhoneType.md: + last_write_checksum: sha1:1d8c42ba6c5888c443736a05acfc6a662738ed9c docs/Models/Components/PlannerJson.md: id: f150936e8f62 last_write_checksum: sha1:b3349bb85386b1943ddaf84b26bc9d8e2de20689 @@ -3766,6 +3704,8 @@ trackedFiles: last_write_checksum: sha1:337325aea16f9d47414eb1fdb041f6720398f7e3 docs/Models/Components/ReferenceToSupplier.md: last_write_checksum: sha1:eb633f093f419ff4e84432b4f0a058841ea68271 + docs/Models/Components/ReferenceType.md: + last_write_checksum: sha1:f25e567a1a3d157c66a7d3d8e01a89c7d1e11b7c docs/Models/Components/RefundPolicy.md: last_write_checksum: sha1:c103c1a5e3300288f3ca2815e2a12f41f21f4a26 docs/Models/Components/RefundType.md: @@ -3892,23 +3832,11 @@ trackedFiles: pristine_git_object: 4a6269bceca64f5a15e6846a61dc2a1902e5ff39 docs/Models/Components/ResourceType.md: id: eed4cb6267b7 - last_write_checksum: sha1:e2dae230e0c550395380d8180ad6b2b4c02ccb59 + last_write_checksum: sha1:811bc0dd0faabea18e645f275023e0c10b124332 pristine_git_object: c29541fefcffcc74d6228bec456e8a34d93ecb0a - docs/Models/Components/ResourceTypeJson.md: - id: 923761d69f37 - last_write_checksum: sha1:904f653b68620bdd400f0078ca3af065781fb23e - pristine_git_object: 39662f69e02f417ecaaf59011f2836ae833c5ab9 - docs/Models/Components/ResourceTypeJsonSchemaExtension.md: - id: d1ad97936df7 - last_write_checksum: sha1:c754b272c63f36285da25b7083de52e2b83780a7 - pristine_git_object: a6fc21c2b20679aeb5e6132e20609b05758a5d53 - docs/Models/Components/ResourceTypeSchemaExtension.md: - id: 9a2014d85360 - last_write_checksum: sha1:e5d6e6f5002f29bda64a3c8b04fe93d740aee76f - pristine_git_object: 0c02a54b790b1d696d532240f82a0a366ffd2a16 docs/Models/Components/ResourceTypes.md: id: cf1bd1e1bb2c - last_write_checksum: sha1:a81508c1f5ab0badd3ce9012467e3be451e40d43 + last_write_checksum: sha1:ebae45cad8630b112f7df99a4bb0e710563c71e9 pristine_git_object: 031615b7a7f031be9364c5f12427e16087223e14 docs/Models/Components/RespondedThroughJson.md: id: 709dc8011aad @@ -3970,6 +3898,8 @@ trackedFiles: id: 833d7d735ca1 last_write_checksum: sha1:b53f5a0a20b00b3d3d84632c39c0de0e28920922 pristine_git_object: 0ea93e8dd4cff1dd193c52569d12cbc499d1363b + docs/Models/Components/ReturnedType.md: + last_write_checksum: sha1:a1e25e1e27af95a532a3056b286f641d02e0cb6b docs/Models/Components/RewardProgramJson.md: id: 1665c6beca26 last_write_checksum: sha1:8add85ce93cc740573170e85ee7a44315df45344 @@ -4076,13 +4006,11 @@ trackedFiles: id: 07f7d4e336b3 last_write_checksum: sha1:52a192b46778f74241f6a976b84f2a58aeb02ade pristine_git_object: c6761b7fdc2face2d8bf37804771dfc3fded4534 - docs/Models/Components/SchemaJson.md: - id: ba6c52dd5888 - last_write_checksum: sha1:0bd501b6616b5f061f2f2e11b09ea01787b9b899 - pristine_git_object: 75fb90ef7eb8ca42ec24a6aaa637fde6597b61e6 + docs/Models/Components/SchemaExtension.md: + last_write_checksum: sha1:84dd0d361ba624a3ca61ce50ccbf97aa9cd2a619 docs/Models/Components/SchemeOAuth2ClientCredentials.md: id: 88453cb6cc3a - last_write_checksum: sha1:a329b866fd290e40a330340bca2cc81889860c4c + last_write_checksum: sha1:a155b5792e7290341bbdcab4dc9e6a7a7df532c8 pristine_git_object: 9fd7e60d8002973e61dfa952f49b57a622dddfcc docs/Models/Components/ScoresJson.md: id: 473d86e2e327 @@ -4098,7 +4026,7 @@ trackedFiles: pristine_git_object: 736490a07858f5fb27e528fbc286f506b0120e3f docs/Models/Components/SeatType.md: id: f54c028067e6 - last_write_checksum: sha1:9cd06d9a99481a87800435732455a74351bb41bb + last_write_checksum: sha1:75f4ee3bd13855cb5543b8eccd805c30b5bd56ef pristine_git_object: 8263e187db63e40b90e2b7b7b007bf6c89d6759d docs/Models/Components/SeatingAssignmentExpand.md: id: 8d69045cbf5a @@ -4134,11 +4062,11 @@ trackedFiles: pristine_git_object: 9dfd1c68dbef2b76651f33ed86aed62a9a73cbdd docs/Models/Components/SendEmailEventRequest.md: id: bee58ea2789c - last_write_checksum: sha1:49bd599956dc55d8fab44a1d5c3d1079635802ae + last_write_checksum: sha1:1ff0674a354e8269f377a3754a698a9d1137ccab pristine_git_object: 2fefb1bf364e222adf184ff52981bb3bbd81a0ed docs/Models/Components/SendEmailEventResponse.md: id: 582f806b2914 - last_write_checksum: sha1:0b194fd82efa5e66fd8485b34dea09cb9dd2085c + last_write_checksum: sha1:d4de3a71da51889884774bdea37f271fdd038b1e pristine_git_object: 57b01320e4ecc08b38709d06875497030c06e634 docs/Models/Components/SendEmailRequest.md: id: 0662e7e1547d @@ -4158,7 +4086,7 @@ trackedFiles: pristine_git_object: 91d97813a4a1046fe2396b0a06725b5051ae71cb docs/Models/Components/ServiceProviderConfig.md: id: 69f4b3a8cf9e - last_write_checksum: sha1:f9de280476e1d2d0abf0160889b9dd4d77c21a96 + last_write_checksum: sha1:d38f6a0c64df5f366f23be38483837d40fe273bd pristine_git_object: b8a513c77e7791e597088768e0b608729130cb9a docs/Models/Components/ServiceProviderConfigFilter.md: id: a61716123e73 @@ -4696,8 +4624,8 @@ trackedFiles: id: 2ad5318f34cf last_write_checksum: sha1:998903d8fc580eff68cf207902d6adb13f217745 pristine_git_object: 8449d6ac7e3565efb6b927a3d9a736f896359c11 - docs/Models/Components/TaxType.md: - last_write_checksum: sha1:aa5ea4e5e0e141eaa592353bba4bdb2a65f5c7c6 + docs/Models/Components/TaxType1.md: + last_write_checksum: sha1:aefb7e821e6544195a1e7710f80facdf462a3d60 docs/Models/Components/TaxesPaginatedResponse.md: last_write_checksum: sha1:e5d1f1bd7c9cc9ae4be5c36da9ba6ba6ea4aefe4 docs/Models/Components/TextAnswerFormat.md: @@ -4706,21 +4634,13 @@ trackedFiles: last_write_checksum: sha1:19dbf3ef871ba76237f90ff724abecc53291e8cc docs/Models/Components/TextFieldJson.md: last_write_checksum: sha1:e5aea486ed7be964fbb34dd36b51db2e5b732462 - docs/Models/Components/Three.md: - id: 3f27362616f5 - last_write_checksum: sha1:6ad109c8843afb343afd6fdc7068f14fc8ccb388 - pristine_git_object: ec3670db365c77d1d08759db049fcac31e0978b3 - docs/Models/Components/ThreeInput.md: - id: 672ba03ab19b - last_write_checksum: sha1:49473a74b3e9ba1ceb094369f5bffa8d12acc509 - pristine_git_object: 7541815fd5fbe0970fcc06120b962bb3ba234441 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 + last_write_checksum: sha1:fca16a4fe68fbe9bcd3afb983a73cfca3499eb76 pristine_git_object: d5da8371bff46e326f0b52f45b6265096d935bb5 docs/Models/Components/TierJson.md: id: 641a4299ea64 @@ -4782,15 +4702,15 @@ trackedFiles: pristine_git_object: 02d02356f2c03db47435192604fe32585e15a761 docs/Models/Components/Translation.md: id: 7f6e2c568992 - last_write_checksum: sha1:e73398f7abb9853bc2f51b05d87080a40e497b6c + last_write_checksum: sha1:8aea7cbe61b077c6400031e7a87c801364467415 pristine_git_object: 996a0ff5e4214b4683cc8f5d79382e6338a66ba8 docs/Models/Components/Translation1.md: id: 7655b9fbe228 - last_write_checksum: sha1:2d30d3f30583c364ae050b9ce49a27fd7549555b + last_write_checksum: sha1:fd57d7ff18f15f48e97d1513bbb36173ab1949fa pristine_git_object: 9d38ded99a78958962e50ec4824c1ac7638bcf2b docs/Models/Components/TravelAccount.md: id: 0341369b31d5 - last_write_checksum: sha1:231864c62dc191c568c473aaae43b2455accbd66 + last_write_checksum: sha1:978f6489e34df532447829d1629886a100192ba1 pristine_git_object: f2c3369de6bcff31b2db0fd5486ecf6053b0f805 docs/Models/Components/TravelAccountPaginatedResponse.md: id: e9b8492e3bd4 @@ -4843,7 +4763,7 @@ trackedFiles: docs/Models/Components/TravelBidSeasonRatePropertyRoom.md: last_write_checksum: sha1:a72615c744bab9a3ea1feba9f05c9fae17a624b2 docs/Models/Components/TravelBidTaxAndFee.md: - last_write_checksum: sha1:529af24f3ca2fb60341e44dc7863c8b4746ecf0e + last_write_checksum: sha1:9bbae3d949f736e1f19b371a54dce5b7ac0c353d docs/Models/Components/TravelBidWeekendDays.md: last_write_checksum: sha1:2323eb7b6a9d1873e831a546e1611b53193a9457 docs/Models/Components/TravelDepartureArrivalJson.md: @@ -4934,10 +4854,6 @@ trackedFiles: last_write_checksum: sha1:2444b12b8f951342675a4cd0004af9ca79e5f7c9 docs/Models/Components/TravelType.md: last_write_checksum: sha1:5424e4d3238c6b52afd4e2e3959fdb3eeb1158b4 - docs/Models/Components/Two.md: - id: 24784dbdaa65 - last_write_checksum: sha1:0fce9a241ba96bad19534629119c8e2191861726 - pristine_git_object: 909b68da3ce69b01ed12b209ea50437c06f28363 docs/Models/Components/TypeAllOf.md: last_write_checksum: sha1:47718aac674717fa02e227fccd3d905eba78b3a6 docs/Models/Components/TypeInput.md: @@ -4946,6 +4862,8 @@ trackedFiles: pristine_git_object: ad0cbfdedf338cde0bf7fad7f22c7a6c57227c03 docs/Models/Components/UTMOverride.md: last_write_checksum: sha1:93dde7329c95602fa01d6b80c436b37150e6f1e2 + docs/Models/Components/UniquenessType.md: + last_write_checksum: sha1:69b0e13622fe47efcc0dd3022a065e9a3e35f7ad docs/Models/Components/UnitPosition.md: last_write_checksum: sha1:d0cefb809feae8f911aab33aa3431ec58f94a7de docs/Models/Components/UpdateAppointmentRequest.md: @@ -4962,12 +4880,10 @@ trackedFiles: pristine_git_object: 963523d60c2e1add552a9e82457662a2c31f5c21 docs/Models/Components/User.md: id: d91a5ce53244 - last_write_checksum: sha1:da396b5fc99511fea98b7e60b21ffb8f7477437c + last_write_checksum: sha1:17a0f70b211691af9c70f460c93a1d3062d20f1d pristine_git_object: 91ca9f23ae3392dff4d98eed98276611fb95d633 - docs/Models/Components/UserEnterpriseExtensionJson.md: - id: ed6d4eb19044 - last_write_checksum: sha1:928717c11dac550b3b2e8e1c6435f0d0c95303df - pristine_git_object: 6ad26bfd7602e673dfb1d8b1605e5fbed6c6677a + docs/Models/Components/UserEnterpriseExtension.md: + last_write_checksum: sha1:b099a6495754f70d161db1033a44d218955c1e75 docs/Models/Components/UserGroupJson.md: id: 827f2991450a last_write_checksum: sha1:1e1f41195ce72e88bf12133eb5e60d26796a5dfb @@ -4982,7 +4898,7 @@ trackedFiles: pristine_git_object: 32eb4bf02a557d5cc1818b0fd15c5fad4879b818 docs/Models/Components/UserGroups.md: id: 4845716b1126 - last_write_checksum: sha1:56be98d4dadd8ab42ed77a8b219d6a136c4ed027 + last_write_checksum: sha1:c52c3abba97bae0531f169f51b3b0b5414f8ce40 pristine_git_object: 1f2c36b83348e828846751d38636fba9353f7b34 docs/Models/Components/UserGroupsJson.md: id: e71d17cd3214 @@ -4994,27 +4910,21 @@ trackedFiles: pristine_git_object: 638e9fe0d02dfdfbaf844b5ac45d4094e440ada2 docs/Models/Components/UserInput.md: id: b0f6fe1fde88 - last_write_checksum: sha1:bf0b08d2f7b8c7585fa4ce85250bdd8544f32ce0 + last_write_checksum: sha1:2333694c53509e72362a503ad97dabcc77e17c4d pristine_git_object: a0435adc3e85200593fc6b1949ad68dc683939d1 - docs/Models/Components/UserJson.md: - id: cb4b4b0b2bc7 - last_write_checksum: sha1:fc553b437238825018712bd56a332a0f733d9c1f - pristine_git_object: 72fc4e26ba943aa6299538dbf92a1324b2138ba0 - docs/Models/Components/UserTypeJson.md: - id: 5e2470b7dbfb - last_write_checksum: sha1:6c95718770c6f8b33955183c8b8bae94840b1ed8 - pristine_git_object: bec37f0e141fc5aeb27900053bc759a29cf53da4 + docs/Models/Components/UserType.md: + last_write_checksum: sha1:738e84c5be6c15172a3e326f9f41b57d4de6855c docs/Models/Components/Users.md: id: 2c87b91a6546 - last_write_checksum: sha1:c3d098dfd93d669f3c6e6df829634a6c78074b1c + last_write_checksum: sha1:b46025d18b94ab8c6e01214e06142b2379be9ff0 pristine_git_object: 12ece4bde3aa668de1f54065bbb4e3bf65262b93 docs/Models/Components/UsersSchema.md: id: 702be3da3e15 - last_write_checksum: sha1:ebd9695f6dc58203ca1ed78aa0736f0061b92733 + last_write_checksum: sha1:23fb1cec16ce4978377be3d60cc469e419e1c258 pristine_git_object: 439f4f3fe45fb3f95e6cbb05f002893fb53e5db3 docs/Models/Components/UsersSchemas.md: id: db61d8bb2bdc - last_write_checksum: sha1:47e59b2662f0ec8aeaa7e03af592df2eaf819dd5 + last_write_checksum: sha1:6d33359603ba3b584044cff61005e96ba2182c08 pristine_git_object: 579e32b253baa446acac39b4c3a58801ebc87a6f docs/Models/Components/Uuid.md: last_write_checksum: sha1:6679375388be65f5e4eb0f56fb4793ce0b661a23 @@ -5218,28 +5128,22 @@ trackedFiles: id: 84e12d023517 last_write_checksum: sha1:a8ca18af5b52e8db4ceb150d350d6b8d691a16cd pristine_git_object: 21f1980358768bbc1c209e4870d9201aa59e0206 - docs/Models/Components/ZeroOneOf1.md: - id: 77b2fb6517dc - last_write_checksum: sha1:4271a1b5cf60b29d628d00019dbac6040dad2dd9 - pristine_git_object: 13807a8e2eae7d271b66a54a7947e48b7d8a9bf0 - docs/Models/Components/ZeroOneOf2.md: - id: d67cf6a3edc1 - last_write_checksum: sha1:4b8c6b4bcbc0ec44d65b178c806cd14a8a3ae2a1 - pristine_git_object: 0317560d58916080d20e3b26b2ba7110a6ba601a + docs/Models/Components/ZeroOneOf.md: + last_write_checksum: sha1:175ed9e24a5517a45759b2324815af04ec94edc3 docs/Models/Errors/BadRequestException.md: id: 35c6f31aff51 - last_write_checksum: sha1:7176dede429992ad8196ab463c75f2e9541270af + last_write_checksum: sha1:fcc79d4efb0eb565d9277dacae76dea4eac00c5f pristine_git_object: bd78a63061fd818ba6638b6841fc831690aecb55 docs/Models/Errors/Error.md: id: 5c07b0d61f4b last_write_checksum: sha1:32431b377e87d957078fbd4c9d0cb513adecdf19 pristine_git_object: 8950c46543563cafbe7b33498f73e019c74bd23f + docs/Models/Errors/ErrorResponse.md: + last_write_checksum: sha1:60d5975bd057ffd181a31be0b9e56a1ad424321d docs/Models/Errors/ErrorResponse1.md: last_write_checksum: sha1:893316ee04b254020ebddab3d743efa467e1f969 docs/Models/Errors/ErrorResponse2.md: - last_write_checksum: sha1:bba5c5c843cccf6faea9aa5e405680c5a517e698 - docs/Models/Errors/ErrorResponseJson12.md: - last_write_checksum: sha1:c228dcb668ebe9d771b8090d521b0c450a6c78d7 + last_write_checksum: sha1:e1020587798a98648dc535d45cf40616480082d5 docs/Models/Errors/SegmentsErrorResponse.md: last_write_checksum: sha1:c2bfe94e458bb82fd97d8889de9c28b64d627870 docs/Models/Errors/ValidationCode.md: @@ -7186,7 +7090,7 @@ trackedFiles: pristine_git_object: 4a1c74d16c66bc60f21cabeea1ed1dafc4885ac1 docs/Models/Requests/GrantType.md: id: 6cd8b896ebbf - last_write_checksum: sha1:9a6f348623b4747575675464165c030bcc00e740 + last_write_checksum: sha1:eff6234895c6de23846ea6a7ff01a876796cc406 pristine_git_object: 532c507d163466154e5cc267dca52be3168c165c docs/Models/Requests/LaunchEventFeaturesRequest.md: id: ac733f35bd11 @@ -7406,7 +7310,7 @@ trackedFiles: pristine_git_object: c2cef12b0bf6fc4400121bcd22e0188fb132f644 docs/Models/Requests/ListCustomFieldsRequest.md: id: 0f83befacaa0 - last_write_checksum: sha1:40d5be6715366d76927b9f0238977fa634dc806d + last_write_checksum: sha1:4092898be67f22c0c4fbde00fba47cab3d075951 pristine_git_object: 5f593e2805ad5888014d9ebc66608b0ef018f320 docs/Models/Requests/ListCustomFieldsResponse.md: id: f9c23828872b @@ -7910,7 +7814,7 @@ trackedFiles: pristine_git_object: a183e882c40bcf209eda45ac054c535bfd656007 docs/Models/Requests/ListUsersRequest.md: id: d71306a316af - last_write_checksum: sha1:020e40dc5cb1e0a48a72df67cc4c56c9615bbfee + last_write_checksum: sha1:159fcbb2c0566906868e39011687301b9e978c41 pristine_git_object: d9e35c4b6d217c50ebe82196023a083161bd7fa2 docs/Models/Requests/ListUsersResponse.md: id: c19843548450 @@ -7966,7 +7870,7 @@ trackedFiles: pristine_git_object: a0800f0db156838c1c53d7ba924c307f11fe95d8 docs/Models/Requests/Oauth2AuthorizeRequest.md: id: 195e6a655035 - last_write_checksum: sha1:701fdb6bea869c2bb8416b263668fe563f77cf37 + last_write_checksum: sha1:0386b50824834a14c80b0639634bca1695959896 pristine_git_object: 03886d4eede2dfeb002228467237ea521364356c docs/Models/Requests/Oauth2AuthorizeResponse.md: id: 328e0a743450 @@ -7974,7 +7878,7 @@ trackedFiles: pristine_git_object: 59c5078fb281faeb20e28346177e492f9c61eded docs/Models/Requests/Oauth2TokenRequest.md: id: 67246c5457a6 - last_write_checksum: sha1:e071cac13fcd0f382464087cfc23a50df025d4e8 + last_write_checksum: sha1:1c0477cad8cb6adbe9685a9e4622a6fe624c3ff1 pristine_git_object: 636ce8c25773030069e07ba38096df45ae18da8d docs/Models/Requests/Oauth2TokenResponse.md: id: 52fa1d8ad61c @@ -7982,7 +7886,7 @@ trackedFiles: pristine_git_object: 74a1261d3f5f1a7053eb89c31926f691e67b2985 docs/Models/Requests/Oauth2TokenResponseBody.md: id: 64102b2caa8f - last_write_checksum: sha1:f2deca1f726f4f5b7c66ad3bc157cf4b99eaaeff + last_write_checksum: sha1:07d566d89a1f64e1b6dfd1b8de7b046e37b733cb pristine_git_object: 45212f53955aaf3fd25a8a8526ff4ea490a4dc39 docs/Models/Requests/Oauth2TokenSecurity.md: id: e3e7e9ee924e @@ -8610,7 +8514,7 @@ trackedFiles: pristine_git_object: 08cb1a25ddcbc42f372ec5f5b1cc8469803431bc docs/sdks/appointments/README.md: id: f122535fcc9f - last_write_checksum: sha1:9b344f98a7f79552fdf617eca2a3f0ea7363eb2d + last_write_checksum: sha1:0c6fc8f3c6932ff486635348d73072b0148d0ce6 pristine_git_object: 40505f4ea4c5a9f32dbd07df446b6215eadf4dec docs/sdks/attendeeactivities/README.md: id: ffb26672cefc @@ -8630,11 +8534,11 @@ trackedFiles: pristine_git_object: 309b429b5efc21e6dac3eda810410a5db0155fbb docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 - last_write_checksum: sha1:1930d87374f23371785f5163d6f040f98c08c2ad + last_write_checksum: sha1:d5858b4e9246da45759fc0bbfc261552511d0d0f pristine_git_object: ca970b43ca92e0cb8eddf9d0f04a072fcdee273b docs/sdks/authentication/README.md: id: 45be241adfc3 - last_write_checksum: sha1:5dfc5fe2e20659b041846cb82b263f05636b039c + last_write_checksum: sha1:3965d2a55890212ccd71ae84d6a10d172f5961ee pristine_git_object: 586c504af209b1e47863a88407340a87607a0c5c docs/sdks/badgeprinterpools/README.md: id: d73d6cce89d1 @@ -8650,7 +8554,7 @@ trackedFiles: pristine_git_object: 53a91b2b68035039b16cd37290f8d218462eab15 docs/sdks/bulk/README.md: id: fa4bd7a4682a - last_write_checksum: sha1:c68018a01a7c720eb07b4aa55b654b8be31b56be + last_write_checksum: sha1:b7c7b2ef9e0cf1773792bb943ae24f4612184501 pristine_git_object: 4d706fcb345914cfb1fa370fcb0fec8fae121e10 docs/sdks/campaigns/README.md: id: 18dcc3c717ca @@ -8670,7 +8574,7 @@ trackedFiles: pristine_git_object: e14675ab6c00a66834afb5eac3323003eb2cf9c7 docs/sdks/customfields/README.md: id: a205cef73249 - last_write_checksum: sha1:7c42b35978cb707cd88a87dc2011b51f06108f3c + last_write_checksum: sha1:e0468b38521ab4ff2d59ea4b3c4dbc01fe943592 pristine_git_object: 3eff273d1ad993bed5df5562e4ebb3b9ba361e0f docs/sdks/discounts/README.md: id: "000723261694" @@ -8694,7 +8598,7 @@ trackedFiles: pristine_git_object: d240e20e73d3bca557fd79bfd19dd14b79beeffc docs/sdks/events/README.md: id: cf45a4390b9b - last_write_checksum: sha1:89e8873e59eb4b2def97fe2a8a8841b8a5705d28 + last_write_checksum: sha1:07dd7edca4d8da87b4d997b01c1a72f95bdf7d62 pristine_git_object: 850a5f07f1d8f2b7538ae8fa2084170534d7489a docs/sdks/eventsplushub/README.md: id: 5f184d5bdfcc @@ -8706,11 +8610,11 @@ trackedFiles: pristine_git_object: 2c574599b73113a5907f3b8930afa57eff55b6a1 docs/sdks/exhibitor/README.md: id: cb0578099210 - last_write_checksum: sha1:18e28a88ce40720c0741040bfebf1bc302a7c1bf + last_write_checksum: sha1:c1b764037abb48caa7fb994e9e94ceb831b1384c pristine_git_object: 1074fee30b94d8183c83575f07b3da433ff94a28 docs/sdks/exhibitorcontent/README.md: id: 7cecd37f6b66 - last_write_checksum: sha1:dd8456915e0dceb509d41050b475238e963783e7 + last_write_checksum: sha1:a11fd0632119b292b39f5a206ce784111deece5c pristine_git_object: 4dae9b04bb1569fa2a7606b625358fa1530e884b docs/sdks/exhibitorteam/README.md: id: f5b7c80d738e @@ -8726,7 +8630,7 @@ trackedFiles: pristine_git_object: 226634479fc1c80c5445e0abd3906614f5ca218a docs/sdks/housing/README.md: id: 23d65d817ab8 - last_write_checksum: sha1:c06752fc0f32cac1a806ba2228d273eec846e078 + last_write_checksum: sha1:187ccba87bc09ca5d4b9c9eb36ca3ac1f1ea76cb pristine_git_object: 4455010cbde3a3837c5ca2b707afac4aae2ac717 docs/sdks/housinghotels/README.md: id: d04ff5412c59 @@ -8738,7 +8642,7 @@ trackedFiles: pristine_git_object: e22b3188b967a497c5095aff8f03cab0310aaf43 docs/sdks/meetingrequest/README.md: id: 4d8d5f5fd977 - last_write_checksum: sha1:08fd909eb576d8b46e768769f126c88ef911acec + last_write_checksum: sha1:fcc33b36efe7a4e1494cc345023d0a471da575d7 pristine_git_object: 2b7a21d84cc4510d71685da566e69b4eb2d138b3 docs/sdks/processform/README.md: id: 0d23c161e66c @@ -8762,7 +8666,7 @@ trackedFiles: pristine_git_object: 8b49a19b29d465a54b2f3b40e42fd0464fc5c6fc docs/sdks/sessions/README.md: id: 57ad62844f79 - last_write_checksum: sha1:57defb8328640972ee8cf25b792c4a88d7562f53 + last_write_checksum: sha1:a3e7d9bc705f78ee421063b118daecab2e92e2ef pristine_git_object: 97a3d69aabea91b5ecf0a65b82762f32760db6c7 docs/sdks/signatures/README.md: id: d0ea24deff8f @@ -8770,7 +8674,7 @@ trackedFiles: pristine_git_object: 883589e206ca36c4776e39c35bbfc6aaa40c40d1 docs/sdks/speakers/README.md: id: 21a0d65de4a5 - last_write_checksum: sha1:78b496c94c676de9cb3b529ee6bda51a8d42ecd7 + last_write_checksum: sha1:32e617805412194731269344aada4f3b2c86bb1a pristine_git_object: 819fb5889b271959f7900ff5435a3be8f8154843 docs/sdks/surveys/README.md: id: b7f48111aedf @@ -8798,7 +8702,7 @@ trackedFiles: pristine_git_object: ae4345de8bbb2321bc1f484c5b5b9f21568a81f3 docs/sdks/userscim/README.md: id: 50529a579425 - last_write_checksum: sha1:b3c2b90c715e9b5226a43d0aaad6fc8beef6183b + last_write_checksum: sha1:e80105782c70088d5e6952b926273ffa62e378d6 pristine_git_object: 841ab56e8b0a3f4dc1b0143c61e0bf9a005a690c docs/sdks/video/README.md: id: 0b01dca84f9e @@ -8814,7 +8718,7 @@ trackedFiles: pristine_git_object: ef3195af86a7d6ef1e34296c380fd52d85b696fd src/Cvent/SDK/Appointments.cs: id: e0ebdc9e2181 - last_write_checksum: sha1:ab07e92116af5e4b01971ff7b55820e42964d5e4 + last_write_checksum: sha1:f9ae888fa507cebf55984c5f36ed196510189aa0 pristine_git_object: 6f5dc4d002c9657af0fadfced083a64502087469 src/Cvent/SDK/AttendeeActivities.cs: id: a940f266c449 @@ -8834,11 +8738,11 @@ trackedFiles: pristine_git_object: a3cd526a9a86ef8600b77fe5700ec9462a16157c src/Cvent/SDK/AudienceSegments.cs: id: 8ea605bfa719 - last_write_checksum: sha1:56af3b9b359a96da50cd689e6d5bc92c6f698d3f + last_write_checksum: sha1:d4f3bebb1f6855ea2a8f19c049520f115dea9434 pristine_git_object: cd663f188cf769273acee47bf7512632946b0a54 src/Cvent/SDK/Authentication.cs: id: f90a858273bd - last_write_checksum: sha1:af71ffdc2702a6fca339fa8ac719e22dad7daf58 + last_write_checksum: sha1:2c0288fc7c8dae721a7bcf6d4b487fb2b2383bd8 pristine_git_object: 89f9c9b867bee5e72d6226bec1134e01912860ab src/Cvent/SDK/BadgePrintJob.cs: id: 6ad60f07c4b4 @@ -8854,7 +8758,7 @@ trackedFiles: pristine_git_object: f3d3768b336679e9ba7578ed51e14fe50a8365de src/Cvent/SDK/Bulk.cs: id: ac2ca01debc8 - last_write_checksum: sha1:2d61ede8aa837ccf63a8e3df7011324d43cb958c + last_write_checksum: sha1:899388bf42ee8524c70d22bd1a616a014622a75e pristine_git_object: 91dd13b7d76cfc0f4f7cc59a924879f8f92b1d9b src/Cvent/SDK/Campaigns.cs: id: f425e065b945 @@ -8878,11 +8782,11 @@ trackedFiles: pristine_git_object: 977cd7381c7598682830d6e4a64a85cb14130b98 src/Cvent/SDK/Cvent.SDK.csproj: id: 7a55759bc2f0 - last_write_checksum: sha1:1632fe6502f0460817513e8cb0ea90c4599cd02a + last_write_checksum: sha1:14cdcef44f222f97f73bb186dfa639742cfce3da pristine_git_object: 711013944bc0505858b0b7cf177f166071b47593 src/Cvent/SDK/CventSDK.cs: id: f7e1ad22cd8f - last_write_checksum: sha1:f562f86886b5c8aa1874f0b9cbb908ff0801e13f + last_write_checksum: sha1:d293493e41a549cb1081df38c179f15b1528c8b4 pristine_git_object: 73b691f7e3fc8c29322c3bac6169519066a92685 src/Cvent/SDK/Discounts.cs: id: 65ff3d7f6c89 @@ -8918,11 +8822,11 @@ trackedFiles: pristine_git_object: cbbe461eaabc670bdaad49003db0c00f17112f2d src/Cvent/SDK/Exhibitor.cs: id: 944b91916ecc - last_write_checksum: sha1:8239c02ef8888d7d09bdf9d6fb6f5274f80ef214 + last_write_checksum: sha1:efc077e2a7b1807472b704febda6fa1108619fb9 pristine_git_object: 72e14329eb7c66548f48d2a2b185314a1c17b368 src/Cvent/SDK/ExhibitorContent.cs: id: bbd1732a6848 - last_write_checksum: sha1:be3cb507c29ca1b21d183ba43cd689d0bb9d2c23 + last_write_checksum: sha1:836e1db04860367ad2fccdeef7c7db4eb8394aea pristine_git_object: 24e681a649a1cff2588a43edda908c0f4e3a27a7 src/Cvent/SDK/ExhibitorTeam.cs: id: 4f989ed020c9 @@ -8954,7 +8858,7 @@ trackedFiles: pristine_git_object: e3ad1ac7b4dd624040e3f30514dfffb4e2b94155 src/Cvent/SDK/Housing.cs: id: a10cf2ffbc7c - last_write_checksum: sha1:9b004d82b4cf015305509b3e04154a6d61b48590 + last_write_checksum: sha1:92366fbb8bbc9c5eecde1d998957e758a3807451 pristine_git_object: 26397f09d75ba9d69843a3b969c292ee2407ae6d src/Cvent/SDK/HousingHotels.cs: id: 9249b2b9a6b5 @@ -8966,7 +8870,7 @@ trackedFiles: pristine_git_object: dfcfb0f9b1c88569e9f6110dbee82dc25ff538ee src/Cvent/SDK/MeetingRequest.cs: id: 5f343c314bf6 - last_write_checksum: sha1:d05442fe826fb1aee9945645f857dbe49b5af891 + last_write_checksum: sha1:6b456a3e8eb6eda26c8afe9fcf755d0b290416ae pristine_git_object: ab4d871c869ae435b0148438a074c626d5bf7495 src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs: id: bfa3f73d3233 @@ -9153,9 +9057,11 @@ trackedFiles: src/Cvent/SDK/Models/Components/Address4.cs: last_write_checksum: sha1:cc7b98924adcf258e9291109e6661cd4659870fe src/Cvent/SDK/Models/Components/Address5.cs: - last_write_checksum: sha1:68c6d6e560de07438f328289d95f05d252b70239 + last_write_checksum: sha1:c2815efda81fe060ac9c2b39784fc39d27f7d052 src/Cvent/SDK/Models/Components/Address6.cs: - last_write_checksum: sha1:51fc2cda3dbf41b76c673646a2e6e12ce976580d + last_write_checksum: sha1:e712f8b4b958830bc5de7e458572e3d6a73a297a + src/Cvent/SDK/Models/Components/Address7.cs: + last_write_checksum: sha1:2d5566cefbc6990fda639416bc7e221a4c47e681 src/Cvent/SDK/Models/Components/AddressInput.cs: last_write_checksum: sha1:e6b041a60d71e90fa9106aef38bbfa0da4df066c src/Cvent/SDK/Models/Components/AddressJson.cs: @@ -9164,26 +9070,20 @@ trackedFiles: pristine_git_object: 1b1a269babf9eaa566f92586f436628005b920be src/Cvent/SDK/Models/Components/AddressJson1.cs: last_write_checksum: sha1:6b55071cb595ca2568ef27497be5d72f07dc39dd - src/Cvent/SDK/Models/Components/AddressJson2.cs: - 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:b138114694cac6a25d2b1adf016a425ec85f8715 - pristine_git_object: 8cbc3d161cf59bf756bb239469054e982da9c1f9 + src/Cvent/SDK/Models/Components/AddressType1.cs: + last_write_checksum: sha1:ed9b40c86aeaa3cc44f5e3ebf9d65d7d62854470 src/Cvent/SDK/Models/Components/AdmissionItemsPaginatedResponse.cs: id: 6b440636d000 last_write_checksum: sha1:6606ee24ec4fcea50dafc3834c18f28c0080e5b2 pristine_git_object: 3323e1e98c6a78e5ca897d5f3af9b53aa95d814b src/Cvent/SDK/Models/Components/AdvancedLogic.cs: id: 475dc7b11385 - last_write_checksum: sha1:2049bd21e110f2ac2770ffe843cbc0f784b8e1a0 + last_write_checksum: sha1:a78015e8d457f191442e14421aab03655f9048c7 pristine_git_object: 6971e6280a13d80daebc876b0f781b9d8f5678bd - src/Cvent/SDK/Models/Components/AdvancedLogicChoicesJson.cs: - id: 1bca8d8be765 - last_write_checksum: sha1:a77b06e5ef559d0a13da5ce5c3352575d1fac513 - pristine_git_object: eb0daf368552a6b121c0e60d5ff4dce7c91b1d3b + src/Cvent/SDK/Models/Components/AdvancedLogicChoices.cs: + last_write_checksum: sha1:39dac29e22dd07ce15e81f7e7029ba57db175845 src/Cvent/SDK/Models/Components/AgeCategory.cs: id: ffe6e508939d last_write_checksum: sha1:336178584ac32ad21c76e5f76fc20dc8c88da93f @@ -9209,13 +9109,13 @@ trackedFiles: last_write_checksum: sha1:67232b0c1d7d6ab02ff7feb19b56017fcc3a0f67 pristine_git_object: 5a9bcc5c15085dc390f467e47ddadea8796ba9c2 src/Cvent/SDK/Models/Components/AirActual.cs: - last_write_checksum: sha1:a732430d69c2a2a7a2c0d97325cd72c36e0b261b + last_write_checksum: sha1:737a95da01ffb8dd6a1a964ab5d2790cb96076d9 src/Cvent/SDK/Models/Components/AirActualDetail1.cs: last_write_checksum: sha1:14a80a8e869f5eb26f4e4169aae8657ce27ff804 src/Cvent/SDK/Models/Components/AirActualDetail2.cs: last_write_checksum: sha1:c3298187068988dc46e36f2838a36c62ad6f2ba6 src/Cvent/SDK/Models/Components/AirRequest.cs: - last_write_checksum: sha1:70d401250b29a833caff77467d9d989cf582e58a + last_write_checksum: sha1:3f6a6e2c6bd317cfbffead80fe93b818632b91bd src/Cvent/SDK/Models/Components/AirRequesterType.cs: last_write_checksum: sha1:f70569a1c33dbd64db115f68fcd7904b6025db31 src/Cvent/SDK/Models/Components/AirReservationDetail1.cs: @@ -9223,7 +9123,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/AirReservationDetail2.cs: last_write_checksum: sha1:7e4f90bd03a656b808569fd59ff2f68efa777ee2 src/Cvent/SDK/Models/Components/AirlinePreference.cs: - last_write_checksum: sha1:a4217e8fe3317711697ae9cabcad8ca1324bbb4e + last_write_checksum: sha1:c13d0e71a44cb222107431016f95682b943901b4 src/Cvent/SDK/Models/Components/AllocationBudgetItemIdJson.cs: id: 27411a474b09 last_write_checksum: sha1:9cb298b7711744417ff4bc78e03cfe8b2cb7a47f @@ -9427,7 +9327,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/Attendee.cs: last_write_checksum: sha1:fd0c74760b18e7924305b752af7fda7a3a1a40fc src/Cvent/SDK/Models/Components/Attendee11.cs: - last_write_checksum: sha1:49360455825d605af843173e2872829d2f49946a + last_write_checksum: sha1:9874ecff424037938a81165c77d7090aaea6a578 src/Cvent/SDK/Models/Components/Attendee12.cs: last_write_checksum: sha1:25c4d73dee550eb060c50a4054df720a470457b2 src/Cvent/SDK/Models/Components/Attendee13.cs: @@ -9445,7 +9345,7 @@ trackedFiles: last_write_checksum: sha1:ba6b2316015091ba6db51d3436e5cae9700d647d pristine_git_object: e6de0ebbb4e6406203710624273e62a98fa54dde src/Cvent/SDK/Models/Components/AttendeeAdd.cs: - last_write_checksum: sha1:3e755831c2272cca368231b16b0ea477883541d4 + last_write_checksum: sha1:c17cffede67bd272ba6784f0c8eefd6ce6ccbba9 src/Cvent/SDK/Models/Components/AttendeeAddAdministrator.cs: last_write_checksum: sha1:c2994ec99e87b2e485a96c946c93f05b9fe9dbea src/Cvent/SDK/Models/Components/AttendeeAddAdmissionItem.cs: @@ -9456,7 +9356,7 @@ trackedFiles: pristine_git_object: 41ec4ddce33fdc557973e8b52cf7cd1b308c8e3b src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonData.cs: id: 10d5da75b6e1 - last_write_checksum: sha1:6ad0836a5d9f3490e8b56e177d77ea296cd2cab9 + last_write_checksum: sha1:389d3d9bb66afc7c5466f13354c751c2847c0c9e pristine_git_object: 4901b021a5985921defa9defd33cf17950d85c1e src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs: id: c1030df0b9a5 @@ -9465,7 +9365,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJson.cs: last_write_checksum: sha1:572cc6035342eab798119f46628367b7a70f71f8 src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs: - last_write_checksum: sha1:b6ef9a90d35942b8f73cc2d0902a30f19b81847b + last_write_checksum: sha1:d1b87e082ddf34f4a4a11910a667e89709b507bf src/Cvent/SDK/Models/Components/AttendeeAddContact.cs: last_write_checksum: sha1:542ca920638992d23ebec81f0c56bf4bcbfd53d3 src/Cvent/SDK/Models/Components/AttendeeAddEvent.cs: @@ -9578,7 +9478,7 @@ trackedFiles: pristine_git_object: f27421bcea30e97bc071033f374e67ee12bf0231 src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs: id: a4a61ec47df2 - last_write_checksum: sha1:bccb387924e1e0cb3a5bd515171d493fa111a074 + last_write_checksum: sha1:70cb6a0ebc628a1bfb278311b8d27ecd46d40c25 pristine_git_object: 5d8bd214dfdb45cefc55bf4f5cbf63e24db3ad8f src/Cvent/SDK/Models/Components/AttendeeLinkPaginatedResponse.cs: id: 32b734a60582 @@ -9595,7 +9495,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/AttendeeResponseMethod.cs: last_write_checksum: sha1:a614cb188bdd161777d29d11bff321f33ccfd9c4 src/Cvent/SDK/Models/Components/AttendeeResponseMethod1.cs: - last_write_checksum: sha1:d31ae757e45f184423f34d4b866c397abc90d97c + last_write_checksum: sha1:c591e3b1bf06a7f4b3d2d793f138a339c96c5d59 src/Cvent/SDK/Models/Components/AttendeeSignatureResponseJson.cs: id: 4e7e2087a381 last_write_checksum: sha1:97ab4a804892a53e6171465f6c3b684a61d13008 @@ -9638,7 +9538,7 @@ trackedFiles: pristine_git_object: 3d15be6c053d05c7094719664f6720f84f43add2 src/Cvent/SDK/Models/Components/AttendeeUpdate.cs: id: 30f7f411c09b - last_write_checksum: sha1:c00c886c1aa5ae3fbcbdd75a1cabdc668e2bbce7 + last_write_checksum: sha1:8b37461e06ad2dd0f1c05ae6b1ce97c4fc9e49b5 pristine_git_object: df2d5bfa09a819468b35b3d376f8d4aadbddb514 src/Cvent/SDK/Models/Components/AttendeeUpdateAdministrator.cs: id: 2496307e0f9c @@ -9665,37 +9565,21 @@ trackedFiles: last_write_checksum: sha1:5d89067d325f8f301c72c64a09c6cded852cc6bb pristine_git_object: 47b9c2e799b9a6136533ba54651eeb2d5bdd1081 src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs: - last_write_checksum: sha1:2c9dbacf75a62458e94b3a3545859813f3ff08bd + last_write_checksum: sha1:b4f1c2217d9f8b7f538e7874a4b8d4706cb84a99 src/Cvent/SDK/Models/Components/AttendeeVisibility.cs: last_write_checksum: sha1:b2b8051df1c8f09a7bd0311fc91df4c2037a43b8 src/Cvent/SDK/Models/Components/AttendeeWebLinks.cs: last_write_checksum: sha1:2cc25bc2c145597461fe620e0b364a2a4c976435 src/Cvent/SDK/Models/Components/Attendees.cs: id: 03c6eb94774f - last_write_checksum: sha1:07cf8c8d06efed8cebaf0e15f9a1680c5822a697 + last_write_checksum: sha1:7f14416e4aa5c970ae84b4f6b319db0697391178 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 - pristine_git_object: df39ed09f964707767be1367fd202d3c3bf2f883 - src/Cvent/SDK/Models/Components/AttributeJson.cs: - id: b30477167fef - last_write_checksum: sha1:0898e364270bbb73622dbc8fab512a99a42983be - pristine_git_object: e1a5dfdb68d74147901cc1444e1888f462d55517 - src/Cvent/SDK/Models/Components/AttributeReferenceTypeJson.cs: - id: 877524a80f0d - last_write_checksum: sha1:bafb89d8d9284a2fe7aa07387c73353c287d98b4 - pristine_git_object: 6d94912014dfbf86d010a326920c2a4ed165d954 - src/Cvent/SDK/Models/Components/AttributeReturnedTypeJson.cs: - id: 7935ef8d077f - last_write_checksum: sha1:137cc8fba42e94698ad81fece5d5009e6d874998 - pristine_git_object: 21b64370789e005172902c2ed6f220dd1d4fc169 - src/Cvent/SDK/Models/Components/AttributeUniquenessTypeJson.cs: - id: 6b5b6d5b514a - last_write_checksum: sha1:1369fd618a1312452f1f41b7d66bed8c66c7e29f - pristine_git_object: 9ca646557f3e5ddf2557a9960af0b44894702235 + src/Cvent/SDK/Models/Components/Attribute.cs: + last_write_checksum: sha1:da7bc2d2f11dc7ada738f4c827ffec2bbbe6af9e + src/Cvent/SDK/Models/Components/AttributeDataType.cs: + last_write_checksum: sha1:74966e880cd4f3e3ebf18dcbca8d4abd4691dd69 src/Cvent/SDK/Models/Components/Attribution.cs: id: 20601d2720cb last_write_checksum: sha1:b0c301fb8c8e16da17460d72528dde9fb4dc4656 @@ -9730,10 +9614,8 @@ trackedFiles: id: d803b81f635f last_write_checksum: sha1:66daa2deaa8e7b342e6c534e5ceb4958f809593f pristine_git_object: 64062c0de80217205d71005bdad3725c64d72a60 - src/Cvent/SDK/Models/Components/AuthenticationSchemaJson.cs: - id: 0e440cb454a3 - last_write_checksum: sha1:64759a8eae1abfee71b78a71368352d324b1f15c - pristine_git_object: e2ccf42ea8ece9f56245ecc7bb326e9fa486cbfd + src/Cvent/SDK/Models/Components/AuthenticationSchema.cs: + last_write_checksum: sha1:c3a675dc1fd967fcf3393c7cbb0bef632361f274 src/Cvent/SDK/Models/Components/AuthorizationHeaderType1.cs: id: 667ae1937502 last_write_checksum: sha1:654d962de7c6e39349c7fd5901924f9478056af8 @@ -9876,7 +9758,7 @@ trackedFiles: pristine_git_object: 055885654c94d5858f94de5ed6e3d8de424b558e src/Cvent/SDK/Models/Components/BounceDetailsJson.cs: id: f50d12fcd1bf - last_write_checksum: sha1:c04dbe899160605eaafe8875326c35ecb9587fd6 + last_write_checksum: sha1:be709e741c042911b6279d83bf2c384c521d387f pristine_git_object: cb99e7d758a139727dcb5f69f99b45c42673d1ab src/Cvent/SDK/Models/Components/BounceDetailsResponse.cs: id: cbd1ddbcfb73 @@ -10270,30 +10152,22 @@ trackedFiles: pristine_git_object: d63a02e9fb432871f94ecdfa881fa3fe3c17e233 src/Cvent/SDK/Models/Components/Choice1.cs: last_write_checksum: sha1:311578c8bfac6045142a8bba26330d155b273842 + src/Cvent/SDK/Models/Components/Choice2.cs: + last_write_checksum: sha1:b8a1f387bff78d331426c0c7a15de4701975aabb + src/Cvent/SDK/Models/Components/Choice2Input.cs: + last_write_checksum: sha1:c83c9b20933c4817db7dbc88c9f2988ba3ff14ab 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:a262c05de1870236cbee28bdff11d8a302313740 - pristine_git_object: a0d67792f158432e1f71168f4142ceaba759ddb5 - 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 - pristine_git_object: f547f8952d96c59779b3f22ae698a720430e3f10 + src/Cvent/SDK/Models/Components/ChoiceTranslation.cs: + last_write_checksum: sha1:fd56bddb7f70bf20477af41fc46a9d614131d357 src/Cvent/SDK/Models/Components/ChoiceTypeJson.cs: last_write_checksum: sha1:8e56b809897d4ce2d566c3f1cadc0287bf694b04 - src/Cvent/SDK/Models/Components/Choices.cs: - id: afdf64e85049 - 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/Choices1.cs: + last_write_checksum: sha1:2a884b3ffb58fbe1976fcc85c55fe4e3eb9c9839 + src/Cvent/SDK/Models/Components/Choices1Input.cs: + last_write_checksum: sha1:d95b37d484caf28254a5c7639627789e4c0f0bd2 src/Cvent/SDK/Models/Components/CommentType.cs: last_write_checksum: sha1:1e1512152e1e80bedcc0ff411309c4b7fb90fcaa src/Cvent/SDK/Models/Components/CommunicationConfiguration.cs: @@ -10343,7 +10217,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/ContactBulkResponseItem.cs: last_write_checksum: sha1:e775cb96360bae307ea8d5ee868e58157d62c8a1 src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs: - last_write_checksum: sha1:47f132f2a9d731fac524893f0141b9f721ef4363 + last_write_checksum: sha1:9f9573d9bd417c8aac558b0caf3dbae752e57334 src/Cvent/SDK/Models/Components/ContactCommonJson.cs: id: 16b41ac55dcc last_write_checksum: sha1:27fd698330fa52310d68113480332c7c3de5486d @@ -10575,15 +10449,13 @@ trackedFiles: src/Cvent/SDK/Models/Components/CustomField2Input.cs: last_write_checksum: sha1:4c67a5f49d9d3c97a858ef4f5ff501f4d985b1b0 src/Cvent/SDK/Models/Components/CustomField3.cs: - last_write_checksum: sha1:3e44a76bb65237ff598e6684bab98b3a741946fd + last_write_checksum: sha1:a8361f14093ae5bde5940cf947acd35b06341213 src/Cvent/SDK/Models/Components/CustomField3Details.cs: - last_write_checksum: sha1:7c4b6311e69a6db597d8be5d853be0b601abc567 + last_write_checksum: sha1:530605abf936f00fc1859d666edfd9ac84273a6a 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 - pristine_git_object: 68de7b6fd2bd543055d03b39963639be3c0a1876 + src/Cvent/SDK/Models/Components/CustomFieldCategory.cs: + last_write_checksum: sha1:d1388042a8313c2fe1476cc7540d8343c0c115c0 src/Cvent/SDK/Models/Components/CustomFieldCustomFieldType.cs: id: 9ed78d1fc3bd last_write_checksum: sha1:f5d0f8077a55f6c5240e759813a75a2214a1f22f @@ -10610,15 +10482,15 @@ trackedFiles: last_write_checksum: sha1:42d256f41bbed5452ef5b721fbe860df5c03af36 src/Cvent/SDK/Models/Components/CustomFieldSchemaCustomFieldType.cs: last_write_checksum: sha1:4b403b9d27d2f8a181b92c88dde5d6280c8db12e - src/Cvent/SDK/Models/Components/CustomFieldTypeJson.cs: - last_write_checksum: sha1:cbd05ec3ef4f8ee4eb1ea066487a4b876b83f307 + src/Cvent/SDK/Models/Components/CustomFieldType2.cs: + last_write_checksum: sha1:27768d689392bf20e8ea6f77b7217930c082c468 src/Cvent/SDK/Models/Components/CustomFieldsJson.cs: id: 4f73cbd7c139 last_write_checksum: sha1:bc06ca46ad020d01ceabe6e771c22c0ff5945e54 pristine_git_object: fa6df6ce2b1615f2d00058abaaf311d451292177 src/Cvent/SDK/Models/Components/CustomFieldsPaginatedResponse.cs: id: 578c2a75b20f - last_write_checksum: sha1:e9da3a08f032da454e311b23ab25d45be55a701b + last_write_checksum: sha1:270e047d487aedf723d0f1f6000309c36f372d15 pristine_git_object: 3ba2f458bb241861e4f3e4fc2929c995b41be023 src/Cvent/SDK/Models/Components/DateAnswerFormat.cs: last_write_checksum: sha1:35fa72702c12f1787043b90356a03f274d4c305a @@ -10626,10 +10498,8 @@ trackedFiles: 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/DateTimeDisplayFormat.cs: + last_write_checksum: sha1:3bab88bc421a58e59f1144d93bcad697122ddd05 src/Cvent/SDK/Models/Components/DateTypeJson.cs: last_write_checksum: sha1:50608a1ad8e619c6907c32f3a7a46cf559601e46 src/Cvent/SDK/Models/Components/Dates1.cs: @@ -10664,12 +10534,12 @@ trackedFiles: last_write_checksum: sha1:e7a76c60089ae40fbeedf276349cbb7114053237 src/Cvent/SDK/Models/Components/DiscountType.cs: last_write_checksum: sha1:41c28fa2f30ddbdb64d3360bbcdd33c0b0318213 - src/Cvent/SDK/Models/Components/DisplayInDataTagJson.cs: - id: 9e87579469a5 - last_write_checksum: sha1:2761e0d177214229f20e7d27e05ee7ee748c0385 - pristine_git_object: 9b7d34aeae5ff62b7b393dc69470432db5932569 + src/Cvent/SDK/Models/Components/DisplayInDataTag.cs: + last_write_checksum: sha1:edb72412958143cc2f4ba214c4ca2a266ff367be src/Cvent/SDK/Models/Components/DisplayType.cs: last_write_checksum: sha1:6d070a5d30554f2c3fa5fe6156d5235e81d77ef9 + src/Cvent/SDK/Models/Components/DisplayType1.cs: + last_write_checksum: sha1:5afd696adae454652a6cab40df5bd008e370ce2d src/Cvent/SDK/Models/Components/DistanceJson.cs: last_write_checksum: sha1:fa845892c4a5f8d6beec86b555ace5b923610952 src/Cvent/SDK/Models/Components/DistanceUnit.cs: @@ -10712,6 +10582,8 @@ trackedFiles: id: 57608ae3a4cb last_write_checksum: sha1:88e37ba4d2b2b6d453c93a69905c86ef4c1ee926 pristine_git_object: 64e992521e9f21cf3e8680e817d6f1d958b2d61c + src/Cvent/SDK/Models/Components/Email.cs: + last_write_checksum: sha1:988a1a1eb778b265f4380f7769472e1e8e7517ad src/Cvent/SDK/Models/Components/EmailBounced.cs: id: e8eb119a31b1 last_write_checksum: sha1:38c542162be9d2e1ef4e7d5baa0f2817d3da0d13 @@ -10722,7 +10594,7 @@ trackedFiles: pristine_git_object: ba2b71585601a13c424b5eb7054ce3a6417b5531 src/Cvent/SDK/Models/Components/EmailHistoryJson.cs: id: d08cf1627811 - last_write_checksum: sha1:93ec6ec403f0855443e9d698e8cf61a9a6270fd2 + last_write_checksum: sha1:a181e1ebdcea05ec6f76a210f27b1d96fd2113d0 pristine_git_object: a71fccba7b8256374f932c7c23abdc2a41f2c8bd src/Cvent/SDK/Models/Components/EmailHistoryJsonAttendee.cs: id: c4771c5c4ac7 @@ -10742,12 +10614,8 @@ trackedFiles: pristine_git_object: 67f744857e9b9776489f841da8fb294a8a3f10bc src/Cvent/SDK/Models/Components/EmailJson1.cs: id: ebdcec0b4e15 - last_write_checksum: sha1:e6eecc54de9cb99bd7aaeb5380a1688aee9d8678 + last_write_checksum: sha1:0f76edf9836342c18d606e3018831829548d8fd2 pristine_git_object: be7df78b12aa0e944f404f6f0bb9ee9aa8e6a01c - src/Cvent/SDK/Models/Components/EmailJson2.cs: - id: 053ea3c5ca20 - last_write_checksum: sha1:b42c99413a33450f2d0a46de1984fbf0cab90dc5 - pristine_git_object: 49a1422393ed7ad9e4a2e2f68cdc90b818b9de4a src/Cvent/SDK/Models/Components/EmailMessage.cs: id: e6eb6bff3253 last_write_checksum: sha1:489859dcd9d813e0535e32fb78d70043c4847ad9 @@ -10780,12 +10648,10 @@ trackedFiles: id: d3cd21b97e5b last_write_checksum: sha1:274c22025e1fb660904099c2adb424f0f6c93587 pristine_git_object: a6aad773d96c504620cc9cbd61ea98dd8d593e21 + src/Cvent/SDK/Models/Components/EmailType1.cs: + last_write_checksum: sha1:bf08761c394f6d11dc139d749bf0626fe8108632 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:0f0d3a67ac1182f3ca2ad5b8c8f88d153d79ece3 - pristine_git_object: 2dfea6e70aebbbbdbc6474bf801974b04762dfaf + last_write_checksum: sha1:1322a9abc2ccdc9da50f9adf05e2351521e70543 src/Cvent/SDK/Models/Components/EmailUndelivered.cs: id: d4f44f9abdf8 last_write_checksum: sha1:83cb7987bc33d7d267b71ad0bee1a2083631e02d @@ -10794,16 +10660,14 @@ trackedFiles: last_write_checksum: sha1:529f1fae761ef71aaaa860b03bfb82fa0898ebac src/Cvent/SDK/Models/Components/EntityType1.cs: last_write_checksum: sha1:3a2da8dc73c47b91c923b6bf6d0e4cae50e0ab87 + src/Cvent/SDK/Models/Components/ErrorResponse.cs: + last_write_checksum: sha1:6fccce981fbfb5da10e363b4e58c0f29ce12f242 src/Cvent/SDK/Models/Components/ErrorResponse1.cs: last_write_checksum: sha1:092a91b8d443d2815656a39d6105d00399f052df - src/Cvent/SDK/Models/Components/ErrorResponse2.cs: - last_write_checksum: sha1:d5343148c326c1181fb9192153375e5df71cd430 src/Cvent/SDK/Models/Components/ErrorResponseBase.cs: last_write_checksum: sha1:5bf83ea33cfece5c78a522f87d3b26edb332f64f - src/Cvent/SDK/Models/Components/ErrorScimTypeJson.cs: - id: 896f82b37cf5 - last_write_checksum: sha1:0d84ae9c880d5a195431b1d6960f9b6c787e7579 - pristine_git_object: 22cc97bedf8cb5af818b64a5c5a8166a184f7dba + src/Cvent/SDK/Models/Components/ErrorScimType.cs: + last_write_checksum: sha1:0e9d810a23d2a8814116941120b7123267bfe5d2 src/Cvent/SDK/Models/Components/EstimatedCostJson.cs: id: f0b11229c6dd last_write_checksum: sha1:cf04730cc8a69e10f17e5d375158f81d3a916ae3 @@ -11330,19 +11194,19 @@ trackedFiles: last_write_checksum: sha1:c01857b2d9c009bedef08cafb31f72cc849cab22 src/Cvent/SDK/Models/Components/ExistingCustomField.cs: id: 90eb23a61acd - last_write_checksum: sha1:ad4abddc4be84c7f3b7936b8a550969401b0c364 + last_write_checksum: sha1:9bc08f6cf7bdf75b458b4ab16a2ee3a33d1193f9 pristine_git_object: 25b4477e7f11de2eb1a6573ce6aa07bd4f6f4e58 src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs: id: 5a90625864fc - last_write_checksum: sha1:2e00d8571e21bce012acfd5ccd681f78b3c13e78 + last_write_checksum: sha1:61fa1e3f3e2d8da0d8f4eb90c1492996399718d9 pristine_git_object: eea883bf93c6da9c72e5f74b46ddd5c995767270 src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs: id: 181a3b2dd1b2 - last_write_checksum: sha1:97c257d2202ba9c2712bad3d713caba5295bc24f + last_write_checksum: sha1:366eb842877b9c51e4c46043d90491c5f7314d0a pristine_git_object: 227b72277699a0d4e53b109254b08b73e41601dc src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs: id: 41c36381a272 - last_write_checksum: sha1:5b651298a2f3125d9cab72df7e52fb5c4c7741ed + last_write_checksum: sha1:7ac46e3f4fa1a932f44504da3852ac3b39e50abb pristine_git_object: 3685552286d85e0fa658423b35374732f91eaf07 src/Cvent/SDK/Models/Components/ExistingDiscountCode.cs: last_write_checksum: sha1:9a7c254ac436a776d8828767e723f271ab9e9740 @@ -11682,14 +11546,10 @@ trackedFiles: pristine_git_object: f6e67a73e88476cf01080fb1c48c27cf8a80b351 src/Cvent/SDK/Models/Components/GeneralLedgerJsonInput.cs: last_write_checksum: sha1:1c73d3077c73055d3ad561d1ab02c26c26cbad66 - src/Cvent/SDK/Models/Components/GroupJson.cs: - id: 45845647890e - last_write_checksum: sha1:f06e6034546f7cb9cae562abaafc312417a8c431 - pristine_git_object: 463e3f47c05a68773e9af3e7d8e618c1483afbf6 - src/Cvent/SDK/Models/Components/GroupJson0.cs: - id: 9875335571d0 - last_write_checksum: sha1:c7f2fe5e242a1ee4457dbe97b2add853b871c20b - pristine_git_object: f45cacc77b197ccff6578d798e4679b78e2df789 + src/Cvent/SDK/Models/Components/Group.cs: + last_write_checksum: sha1:b7e5b40c407b26d69a5ac9136423679a9653ac7c + src/Cvent/SDK/Models/Components/Group1.cs: + last_write_checksum: sha1:1cefe3bf3930d5f53a520ec372447a250fb0d350 src/Cvent/SDK/Models/Components/Guest.cs: last_write_checksum: sha1:fcd2030c13de87c602f50b8d8f975f4e4ce0f518 src/Cvent/SDK/Models/Components/GuestJson.cs: @@ -11753,7 +11613,7 @@ trackedFiles: last_write_checksum: sha1:60ad39d585ba6105979b704216187ed36292efc3 pristine_git_object: ac8dc1f94c5e80edaa3ed047ebff7f2f4e29f13f src/Cvent/SDK/Models/Components/HotelRequest.cs: - last_write_checksum: sha1:acf24104e0d9bbc981cbce9840db5002afb735a4 + last_write_checksum: sha1:40f6ff421ececcc0d8bd858d5395e6cf798c1310 src/Cvent/SDK/Models/Components/HotelRequestRequesterType.cs: last_write_checksum: sha1:ec1b62eae2f38923ea79b5326407dc0a936184a3 src/Cvent/SDK/Models/Components/HotelReservationDetail1.cs: @@ -11876,12 +11736,10 @@ trackedFiles: pristine_git_object: 32589c6e031d22299e3ac3a625173820c27de5e6 src/Cvent/SDK/Models/Components/JourneyType.cs: id: fd7bb39a9a9f - last_write_checksum: sha1:9d5a8073c70e7ae4093c0a319c0a26a814992f4d + last_write_checksum: sha1:4c878fdf6534446ec8fdb2b3883e2d73356b51fe pristine_git_object: 428ab4efcadb9f2bbede4cb1ed0999fc8a570991 - src/Cvent/SDK/Models/Components/LanguageJson.cs: - id: 02b90ddfa44f - last_write_checksum: sha1:1369e7fd41280884e799c0a432f7f38ed23c57a4 - pristine_git_object: e960a801773d14ca998e8f1a1c23d81bdafd6963 + src/Cvent/SDK/Models/Components/Language1.cs: + last_write_checksum: sha1:0150ab3b96a35df0ff62be47a3f312091a34a575 src/Cvent/SDK/Models/Components/LargeChoiceJson.cs: id: 3132af167a41 last_write_checksum: sha1:9d34f3300ff7b1b122312627c9f36b64bbb6d130 @@ -12110,22 +11968,16 @@ trackedFiles: id: 93f41d1b2ba0 last_write_checksum: sha1:c1499668264c18629671679f4ae94e910ffcbd47 pristine_git_object: 95e6d9d6b2f560eb8156d644aee14adaf1ad36b0 - src/Cvent/SDK/Models/Components/MetaJson.cs: - id: 2487ab792919 - last_write_checksum: sha1:cc42f2f22e2c50c1311d9c1d530d887e5114d316 - pristine_git_object: da1578689b8365d3e3a339680ad64a31976bebcd + src/Cvent/SDK/Models/Components/Meta.cs: + last_write_checksum: sha1:99ab018c519cb4071a3cc0166474e35fcd08b9f7 src/Cvent/SDK/Models/Components/Modifiers.cs: id: 064690602b94 last_write_checksum: sha1:82e293294bc79d4271dd9e1304f8dd25ba1d705c pristine_git_object: d035c60bd9b66cf9c3d1104ece5a888d25af8f4d - src/Cvent/SDK/Models/Components/MutabilityJson.cs: - id: 6d12e0c13782 - last_write_checksum: sha1:341d93bd8e33624fff0563591d43020f734e3078 - pristine_git_object: f27999f1cc372f0040bc47b06165228f6cec7203 - src/Cvent/SDK/Models/Components/NameJson.cs: - id: 1eca08b8645c - last_write_checksum: sha1:983db27a1051f4e2e94f30d193372364bd61bb3d - pristine_git_object: dd8c727e97d4a74a747f832c3c862906d813c9e5 + src/Cvent/SDK/Models/Components/Mutability.cs: + last_write_checksum: sha1:06f775aa8deffe2413bb4e727c2e9268218374f1 + src/Cvent/SDK/Models/Components/Name.cs: + last_write_checksum: sha1:38dbeb4dfd2a9dc83ffebe00062cf1c5f75b2622 src/Cvent/SDK/Models/Components/NamedObject.cs: last_write_checksum: sha1:38a13af7661b0145f9b61a6c82a9c6c2be3a6019 src/Cvent/SDK/Models/Components/NewReservation.cs: @@ -12148,16 +12000,12 @@ trackedFiles: 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 pristine_git_object: 203819e41872e37056ac226c6c5da70f9598db57 - src/Cvent/SDK/Models/Components/OpenEndedDateTime.cs: - id: 58313c26625b - last_write_checksum: sha1:6405e7a727a1180b30e9f890f44c12db348c1d2e - pristine_git_object: ef0805b6ee0817436203425a9d94d4ef743cdd5b + src/Cvent/SDK/Models/Components/OpenEndedDateTime1.cs: + last_write_checksum: sha1:23a37702a7fc06a16fb2952a2e03b233daa3571c src/Cvent/SDK/Models/Components/OpenEndedOneLine.cs: id: c028936c5f2d last_write_checksum: sha1:b81e928492df00674ad6e2e0eec2627642b52320 @@ -12210,10 +12058,8 @@ trackedFiles: pristine_git_object: b508e8afc8242a0f32cf10daff4222486ef19a0d 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 - pristine_git_object: 0bc8b368a37f3a6811a9b479389432e9b1053b76 + src/Cvent/SDK/Models/Components/PageVisibility.cs: + last_write_checksum: sha1:05b5e1c66e21482a16985e9fb2e69da50bb7a81f src/Cvent/SDK/Models/Components/PaginatedExistingMember.cs: id: 87a7ef51e092 last_write_checksum: sha1:47d540ab61ae9a7d229011e825be487d50f398ec @@ -12320,14 +12166,10 @@ trackedFiles: id: 394a0e5759de last_write_checksum: sha1:f8341d13689a7ad9bc30659f641e96d4848c98cf pristine_git_object: ca9ea8228b6615299850c31cb10239c8f5d2bef0 - src/Cvent/SDK/Models/Components/PhoneNumberJson1.cs: - id: 86c9fbe8348a - last_write_checksum: sha1:6884d27e9a367739e35b436cecd1e29834febcc5 - pristine_git_object: 57f99d3617fbcb6aa70427e07bab80f33a84d110 - src/Cvent/SDK/Models/Components/PhoneTypeJson.cs: - id: 391f6cecba61 - last_write_checksum: sha1:02dd8105af07ce81cd2f249eed0e63e9d86ca1f2 - pristine_git_object: 88cbaaac190247f2a101962f15de91ebd8d42408 + src/Cvent/SDK/Models/Components/PhoneNumber.cs: + last_write_checksum: sha1:31a7f040d47065c1b9d739c8a64bcd2b6e0ed050 + src/Cvent/SDK/Models/Components/PhoneType.cs: + last_write_checksum: sha1:4fa39ddc15a7e3f5020312bd5641be12d7737f0e src/Cvent/SDK/Models/Components/PlannerJson.cs: id: c697c30476a4 last_write_checksum: sha1:2b80935ac41924ad3b7897dc140d0f076fd19a1d @@ -12682,6 +12524,8 @@ trackedFiles: last_write_checksum: sha1:88503fc55e0d5fccf16a3dc7db816baa75d08b10 src/Cvent/SDK/Models/Components/ReferenceToSupplier.cs: last_write_checksum: sha1:1b10c47b2c061498b1084411c504934f8dfb8300 + src/Cvent/SDK/Models/Components/ReferenceType.cs: + last_write_checksum: sha1:727b0bf075f18566b1d93b536262c628778669cd src/Cvent/SDK/Models/Components/RefundPolicy.cs: last_write_checksum: sha1:a76e7ef7df7dd51886b7da7dbe7f008543f44a41 src/Cvent/SDK/Models/Components/RefundType.cs: @@ -12808,23 +12652,11 @@ trackedFiles: pristine_git_object: 9d66a134d53eb326cd4b4097093ef378eb216bcb src/Cvent/SDK/Models/Components/ResourceType.cs: id: 702b04e34073 - last_write_checksum: sha1:3de527300187c3ebaed7521184234a1f2bc86bc9 + last_write_checksum: sha1:4e8f02d0021b04f8ce21dbc10b8e34b0411bf856 pristine_git_object: 2dc0f3e99a022a3da54fefe8e5067aa4ee5ce362 - src/Cvent/SDK/Models/Components/ResourceTypeJson.cs: - id: 79ec687ae33c - last_write_checksum: sha1:298eea1b91bbad129454a2070a26ce16e206d6bd - pristine_git_object: 167488dd651c325e9e40188374fac866cc0279a1 - src/Cvent/SDK/Models/Components/ResourceTypeJsonSchemaExtension.cs: - id: cce3e88df627 - last_write_checksum: sha1:a915493476e6de4da13617d5d943b14f3b8eb389 - pristine_git_object: 07dad44615979434f5de132d63630b6abb23d878 - src/Cvent/SDK/Models/Components/ResourceTypeSchemaExtension.cs: - id: 098aaa7f91fa - last_write_checksum: sha1:6fd772754dec3718df456154de84f36b6557f1ec - pristine_git_object: fb857dee793b3cd5214ca1c740bef0e2faab8f36 src/Cvent/SDK/Models/Components/ResourceTypes.cs: id: 7db5d1d70b4f - last_write_checksum: sha1:692f668a0605ea0d49664a183a8f3aaccf97e81f + last_write_checksum: sha1:1ec7659ae2826891a4d8beb3b86acaf40add450a pristine_git_object: c9079f701484d4ee9d025dfc761f9fb62fdf6cc9 src/Cvent/SDK/Models/Components/RespondedThroughJson.cs: id: 2ac6d9d7dfad @@ -12886,6 +12718,8 @@ trackedFiles: id: 117228a71b0e last_write_checksum: sha1:234134d14c8504ba0d8539fec9e2909ca8c56625 pristine_git_object: 9127210a3c535108f4c39e87656b9180fe319705 + src/Cvent/SDK/Models/Components/ReturnedType.cs: + last_write_checksum: sha1:00f6a1482caaac66137b9f40caffc54fea64008a src/Cvent/SDK/Models/Components/RewardProgramJson.cs: id: e79a8c9d46ff last_write_checksum: sha1:71e1bf5926ab69d932da41c3b940f5117eae35ac @@ -12992,10 +12826,8 @@ trackedFiles: id: 416ed3f36cb5 last_write_checksum: sha1:36fb2960976939c96ca4c6515c33924ca24d5cb1 pristine_git_object: 61fe446c44a5bcb8bf12b2b43824dc19af404350 - src/Cvent/SDK/Models/Components/SchemaJson.cs: - id: c4434d63f43b - last_write_checksum: sha1:ea5afe39fd7ed96f90c294456cbe87fd5a5e1b83 - pristine_git_object: 526265ad37c891d3ff051c29f5bee358d350c689 + src/Cvent/SDK/Models/Components/SchemaExtension.cs: + last_write_checksum: sha1:b7d16b85a1c397cc8c12eafef1345804e972d95e src/Cvent/SDK/Models/Components/SchemeOAuth2ClientCredentials.cs: id: 8b5cd220f29e last_write_checksum: sha1:7dd9827e98c0e54848ece5be470bf41e9db14321 @@ -13014,7 +12846,7 @@ trackedFiles: pristine_git_object: 27f9614a4a30df81bf3644f6f055210d74c70169 src/Cvent/SDK/Models/Components/SeatType.cs: id: eaf7221b3fa9 - last_write_checksum: sha1:b15c11d9a2b8d95cb9ae5a7799f241baa323f93d + last_write_checksum: sha1:1764586658f9cb20cf395d6d536e9290e68b4429 pristine_git_object: 4d360cf07119a11b8055e8d0a473d5c31fb06899 src/Cvent/SDK/Models/Components/SeatingAssignmentExpand.cs: id: 6c6954ce2a0b @@ -13050,11 +12882,11 @@ trackedFiles: pristine_git_object: e1687ff624111dc142ead58cf1b773cadf19d5db src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs: id: 8daf10636b66 - last_write_checksum: sha1:952be6a40f245e459c22b1ca98b115cd1b86a7e0 + last_write_checksum: sha1:dbacb2504529278c1fe43856c80af3d270f0522b pristine_git_object: 853db2572182d9fd372903b1486752b009c34de1 src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs: id: "168350485296" - last_write_checksum: sha1:83691b79df141db3e05776cce535bf28196d3141 + last_write_checksum: sha1:9df487273d94f5a27bf5ef6febbdef60e49f7d9b pristine_git_object: e0f39b0034d8d94132ba57fcf356390269fe4c97 src/Cvent/SDK/Models/Components/SendEmailRequest.cs: id: 7a49bf8d57bb @@ -13074,7 +12906,7 @@ trackedFiles: pristine_git_object: 6f28fa6349532d59e9d14a79b784f78cd732252e src/Cvent/SDK/Models/Components/ServiceProviderConfig.cs: id: 50fd553776f7 - last_write_checksum: sha1:1f66978373acf047dcc5b3f974ae4000e0052532 + last_write_checksum: sha1:d689602d2cf4112c03f98c0b1ee2f55585a8a4d7 pristine_git_object: a5adaebad62244d085ff4f72b93a0d2fa8b4aa73 src/Cvent/SDK/Models/Components/ServiceProviderConfigFilter.cs: id: dd6d3326940c @@ -13612,8 +13444,8 @@ trackedFiles: id: 2dda03503520 last_write_checksum: sha1:affef4d2be79fd485ca4205f3d2bb4f649cd5a30 pristine_git_object: 03d7fdc1488ffa1bc8e32853b18e860342657c16 - src/Cvent/SDK/Models/Components/TaxType.cs: - last_write_checksum: sha1:1ba941fa4e1e258950707ad7189b25bd75c743d2 + src/Cvent/SDK/Models/Components/TaxType1.cs: + last_write_checksum: sha1:cfd23dd69fb6064a8625abdc5bbb66d10142e188 src/Cvent/SDK/Models/Components/TaxesPaginatedResponse.cs: last_write_checksum: sha1:c4c6a9e1e1d60b5d1d4940417dd152345ae27a3f src/Cvent/SDK/Models/Components/TextAnswerFormat.cs: @@ -13622,21 +13454,13 @@ trackedFiles: last_write_checksum: sha1:23e3595124c2402b6bec41f890d595a102cb7787 src/Cvent/SDK/Models/Components/TextFieldJson.cs: last_write_checksum: sha1:43591c17dc9174b6187cf8421eff0a9b548c5216 - src/Cvent/SDK/Models/Components/Three.cs: - id: d39398f7c8a6 - last_write_checksum: sha1:9247dff7d6577af80520e84825cbef5f865611e0 - pristine_git_object: 52d7382e394c391ec9030c8077aa913a4aa97a43 - src/Cvent/SDK/Models/Components/ThreeInput.cs: - id: 3077e4cbd1f6 - last_write_checksum: sha1:260a5921e09da293364ed5b4dbb1d973e0fc87b1 - pristine_git_object: 373424b679f1575e8232a12260cb4ec0bd8889de 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 + last_write_checksum: sha1:b678433105ee460f9b0b1f7592dc66647dd7e0de pristine_git_object: 3d70db109735dd8455d009d2a3d4b50718982ae0 src/Cvent/SDK/Models/Components/TierJson.cs: id: 5276f1473e5e @@ -13698,15 +13522,15 @@ trackedFiles: pristine_git_object: 8b42fd0fc48d47b7b22c522dfaa9f3664e3e0800 src/Cvent/SDK/Models/Components/Translation.cs: id: a6f6054d04e0 - last_write_checksum: sha1:5df32eea8a4dfc7040fc64d1eb3126a2647ea471 + last_write_checksum: sha1:dc6d2697ab1e3ff0a54225134de1cd2d9c92e269 pristine_git_object: 66bea0bf3a269b4f74b19bba4fd9838ede39dd73 src/Cvent/SDK/Models/Components/Translation1.cs: id: dd0d6c6b525d - last_write_checksum: sha1:62107517891e12345bc8a4fe14abde4f24ff0dbc + last_write_checksum: sha1:cb642df444e21c18e3f964892ea913db87485040 pristine_git_object: a6a68cb697816aef4b7122814a56a022bbc435a3 src/Cvent/SDK/Models/Components/TravelAccount.cs: id: b2c6f50970e3 - last_write_checksum: sha1:9d5fbb59131778f5dafa7dea9f1951ac228ad0b5 + last_write_checksum: sha1:0ce263949c0cf8daa0f5e5c33a7866714dda575b pristine_git_object: 71792b1728787b875dd26b7458894cdaec3aba29 src/Cvent/SDK/Models/Components/TravelAccountPaginatedResponse.cs: id: c99fe60e69ae @@ -13759,7 +13583,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/TravelBidSeasonRatePropertyRoom.cs: last_write_checksum: sha1:57e24092e0bc16673112dbba936b568fc655317b src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs: - last_write_checksum: sha1:2d1e65ea7e7e129b6f055cf1d8e4b4b643550581 + last_write_checksum: sha1:f97ba55fecd99c3ea3db92fa506432b2ca99adcd src/Cvent/SDK/Models/Components/TravelBidWeekendDays.cs: last_write_checksum: sha1:72f07b4bd9e5672e03969fe2a612eeebb6b37b08 src/Cvent/SDK/Models/Components/TravelDepartureArrivalJson.cs: @@ -13850,10 +13674,6 @@ trackedFiles: last_write_checksum: sha1:b6539169df62ea891a26e20a03b904dd5d9dc550 src/Cvent/SDK/Models/Components/TravelType.cs: last_write_checksum: sha1:3f7b5efd8ffab16bd3789cb600f756b9f525477f - src/Cvent/SDK/Models/Components/Two.cs: - id: 124627f0d913 - last_write_checksum: sha1:8ad4f500e6847ff8d3f02aad5f797a4548fe9340 - pristine_git_object: 76b71fb1588105e8b25755d1eba5ef220de9c4b7 src/Cvent/SDK/Models/Components/TypeAllOf.cs: last_write_checksum: sha1:ff4c9d3a6895cfdabb55638331910bb6223642fb src/Cvent/SDK/Models/Components/TypeInput.cs: @@ -13862,6 +13682,8 @@ trackedFiles: pristine_git_object: ef29d7c0262d950bf37d85439fb4ef21585f3e2c src/Cvent/SDK/Models/Components/UTMOverride.cs: last_write_checksum: sha1:5b7268040faee2a91cc63fb9fbf55ac531cba404 + src/Cvent/SDK/Models/Components/UniquenessType.cs: + last_write_checksum: sha1:af57ab953054c64939a3ae13f688eeb656c45f7d src/Cvent/SDK/Models/Components/UnitPosition.cs: last_write_checksum: sha1:38e8ddf3aecc08bd17a7b242e98e1a471e5b6b3f src/Cvent/SDK/Models/Components/UpdateAppointmentRequest.cs: @@ -13878,12 +13700,10 @@ trackedFiles: pristine_git_object: 9efbbb2495c6994f6f143ee00cfa0f113ab7afb0 src/Cvent/SDK/Models/Components/User.cs: id: fb149dbb9d85 - last_write_checksum: sha1:103362c29079dbc4fcd56e00babe2d62f4320b71 + last_write_checksum: sha1:da5d378edd7827383feabbf8d1c6a6da6aa42671 pristine_git_object: 015cf851009a377b2cc8b3f5321a467c99bfbeb2 - src/Cvent/SDK/Models/Components/UserEnterpriseExtensionJson.cs: - id: 03a9db3848c9 - last_write_checksum: sha1:d9908bff5068fbd0638152b1c1fbc8c087c05be3 - pristine_git_object: 90a04af52ab140f945860767172e5c382543e323 + src/Cvent/SDK/Models/Components/UserEnterpriseExtension.cs: + last_write_checksum: sha1:6edd24fb4cf98c9049a0040b6e57e7d56577f383 src/Cvent/SDK/Models/Components/UserGroupJson.cs: id: 1ad8d3a6ba37 last_write_checksum: sha1:e60947350d06e92543d8f16e26bc7e800e6dc8fc @@ -13898,7 +13718,7 @@ trackedFiles: pristine_git_object: cbbdbb1c2b146fe3bd3b0f40a93a8e8806561150 src/Cvent/SDK/Models/Components/UserGroups.cs: id: af6ad082e5de - last_write_checksum: sha1:efdd1d671ad14fda1fcbabddb9b5ce383414bf38 + last_write_checksum: sha1:325384c35a38796df4826cf75f345c877b08e074 pristine_git_object: c7a92dc334a0ebd3d11b57725ed245ad96f7c251 src/Cvent/SDK/Models/Components/UserGroupsJson.cs: id: 3b3311fa5ade @@ -13910,27 +13730,21 @@ trackedFiles: pristine_git_object: d4efd25ae26ef7ddfa14f092a4cfff2c8f43f039 src/Cvent/SDK/Models/Components/UserInput.cs: id: b962f663b012 - last_write_checksum: sha1:cc48ea46acf5969a1f93d23e6ff8396207315d87 + last_write_checksum: sha1:bf6429faeb577272a1be2f212acb74f654405f71 pristine_git_object: e0de743651359bba8f205117b1367bf31263e2b7 - src/Cvent/SDK/Models/Components/UserJson.cs: - id: 92529acee91b - last_write_checksum: sha1:f5c92f9847461a2f30fea3bcc8b1d836f7438357 - pristine_git_object: 19ecb5a5d6ec2082ecfbfd5a894acf62ceb7e390 - src/Cvent/SDK/Models/Components/UserTypeJson.cs: - id: 75f942ab3514 - last_write_checksum: sha1:79b5350d9aca523e53b98193029b5f31ee27eb78 - pristine_git_object: 3997d02e971f867d14a3091e12cc3decc8636bf6 + src/Cvent/SDK/Models/Components/UserType.cs: + last_write_checksum: sha1:89930e8e1d132c70bcbc52198d67be16a02d61eb src/Cvent/SDK/Models/Components/Users.cs: id: 3cb9d1bf2585 - last_write_checksum: sha1:c5651a37b91c50f7f56c9ce2527c4e2b904bb225 + last_write_checksum: sha1:d96f94ea175ed8f7dd1b12ab8d5f92ada6c1fdf8 pristine_git_object: e473cbdd78dd6ce592ea34c5a58caace6d809ec5 src/Cvent/SDK/Models/Components/UsersSchema.cs: id: 7662a8e15ac6 - last_write_checksum: sha1:f9d16dda29205e1f286a97de4d28180321825db1 + last_write_checksum: sha1:407764540691ee1960f89dcfb8cc8ba725b9d720 pristine_git_object: 7a1e0ce9b22816d19577bcdbb3516cab03f73a1d src/Cvent/SDK/Models/Components/UsersSchemas.cs: id: 6e0b48e441ec - last_write_checksum: sha1:89447711c4f0c1f42f99fcb17e7e9d8d3379e422 + last_write_checksum: sha1:f517f21f3f5796f89174c9840a2c326310d6f0d3 pristine_git_object: 109fd72e7bf9b8c2cfa83a183a9a63cfae6fa213 src/Cvent/SDK/Models/Components/Uuid.cs: last_write_checksum: sha1:aab2339ddeb1fe43a736cbe66ae92190344dba7a @@ -14134,21 +13948,15 @@ trackedFiles: id: 0e613daf7b3c last_write_checksum: sha1:6a09cd8c7f6acbec9f31e8f71e0a0d70ae481e82 pristine_git_object: 48eba6fdf103ec005180fb146a87812f09b044ef - src/Cvent/SDK/Models/Components/ZeroOneOf1.cs: - id: 3fde685c008f - last_write_checksum: sha1:f7c43e1cba9f1e73aa2a9a440810bbd606c84689 - pristine_git_object: db19ea62a454a496bb82bdc54eeb05ac97436fc4 - src/Cvent/SDK/Models/Components/ZeroOneOf2.cs: - id: f5beaadfd5a2 - last_write_checksum: sha1:8f07ea644b720f1d5225af02f1252104aeaaf9f6 - pristine_git_object: 448c1ecf17c97b322308a1f6fae2af71bf538459 + src/Cvent/SDK/Models/Components/ZeroOneOf.cs: + last_write_checksum: sha1:e88792fc242e96bc3ee0dca28b85c7bf66a07eea src/Cvent/SDK/Models/Errors/APIException.cs: id: 96a0a6fe70a9 last_write_checksum: sha1:420a6266e9f4e4ae75c1dfa88392927ba7af122a pristine_git_object: 9c3ae21cf62ea5cb696dd434fa91e2eb5eb02146 src/Cvent/SDK/Models/Errors/BadRequestException.cs: id: b302c26de7bb - last_write_checksum: sha1:c685ec168d7f14baed3bea0f4290a9ee54743032 + last_write_checksum: sha1:7e33b09d3c9d03c334e48c9b2ef71aac5c31d299 pristine_git_object: a389d80d45a4a8de9185633545adc715cfb25161 src/Cvent/SDK/Models/Errors/CventSDKException.cs: id: 39077b1c336a @@ -14158,12 +13966,12 @@ trackedFiles: id: 411248a323d1 last_write_checksum: sha1:786914b6edac01cd6879a23ae42dd0da359cce37 pristine_git_object: 6b9b0655f2fcb10a27aaa856c75a2d7070dfc272 + src/Cvent/SDK/Models/Errors/ErrorResponse.cs: + last_write_checksum: sha1:6ad27eae3400e838702d70b345df8d0e2a8c8bb7 src/Cvent/SDK/Models/Errors/ErrorResponse1.cs: last_write_checksum: sha1:6ac194e97e21b6be7e6ee2e395a12254f2e4005b src/Cvent/SDK/Models/Errors/ErrorResponse2.cs: - last_write_checksum: sha1:853edd2b8b0e5ffdb3df61cdd97fb814062d64bf - src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs: - last_write_checksum: sha1:e9b448ef8bde3174c917574da16a393cfd3f2f68 + last_write_checksum: sha1:913144aa390e68dd438835391ccec9ec12c5822b src/Cvent/SDK/Models/Errors/ResponseValidationException.cs: id: 9a7d7eb282bc last_write_checksum: sha1:92bb031902ace1de9c920e4d478146fb938764d4 @@ -16114,7 +15922,7 @@ trackedFiles: pristine_git_object: f140d58ecb1242d456b190acd32060d7a91aace9 src/Cvent/SDK/Models/Requests/GrantType.cs: id: 80c64a399986 - last_write_checksum: sha1:7da26daf534c7bb66f49a0cb2b926c54750a8348 + last_write_checksum: sha1:4da309fa063256d32a55d58afe56bf1426661c8e pristine_git_object: b98a5123f59e1348885693342f5d920ee9ae3e3f src/Cvent/SDK/Models/Requests/LaunchEventFeaturesRequest.cs: id: d8392ffc1109 @@ -16334,7 +16142,7 @@ trackedFiles: pristine_git_object: 1bb696dff0960bb679876210eea1c17f5bc7ccb0 src/Cvent/SDK/Models/Requests/ListCustomFieldsRequest.cs: id: 0a99062f06ba - last_write_checksum: sha1:cab69bf20bacf0505f56af7744c7accf2331b82e + last_write_checksum: sha1:29b5354ad175bdbef003baffe281e1be24801594 pristine_git_object: 00022bfebed2022a1cabd8ff1499179298b5f907 src/Cvent/SDK/Models/Requests/ListCustomFieldsResponse.cs: id: 9504387b3128 @@ -16838,7 +16646,7 @@ trackedFiles: pristine_git_object: 992ce5f61b17aedde16940a9ad21399b79c775b2 src/Cvent/SDK/Models/Requests/ListUsersRequest.cs: id: 50f9c5c0294a - last_write_checksum: sha1:75bd1e13815b7b1537412fcd73bac340173d6e16 + last_write_checksum: sha1:7afe9b70043b737176aae6e25a204572fd2ebb9f pristine_git_object: 77b35d19c0e784f6c8a1072a1f3b92b5fa34261e src/Cvent/SDK/Models/Requests/ListUsersResponse.cs: id: 8fd868c40862 @@ -16894,7 +16702,7 @@ trackedFiles: pristine_git_object: 745a948ee5ec7b67e67c3379e251eeaf9c1eddfd src/Cvent/SDK/Models/Requests/Oauth2AuthorizeRequest.cs: id: a788101d5737 - last_write_checksum: sha1:f715a60e2113c7a7f7734c7c4e86128693bfeb9b + last_write_checksum: sha1:11df402e3bd2c9f15421e93433f2386d8fafd552 pristine_git_object: 2ceff6378408d5aa32fda00555f74ed45690f6d5 src/Cvent/SDK/Models/Requests/Oauth2AuthorizeResponse.cs: id: 98258b038d7b @@ -16902,7 +16710,7 @@ trackedFiles: pristine_git_object: df21f9f17ca0991f2a8082cd1455e5df9b154f26 src/Cvent/SDK/Models/Requests/Oauth2TokenRequest.cs: id: 7dc31bc1339d - last_write_checksum: sha1:5d34f5026cd7d0810ca7ad33bf2cbaa47f37dafb + last_write_checksum: sha1:a4fb82d1847af28819f3589c5b32734165e3d886 pristine_git_object: 83a85fb1be7e0888c6413f0619812dde42f4a6b4 src/Cvent/SDK/Models/Requests/Oauth2TokenResponse.cs: id: 398d39eb9b80 @@ -16910,7 +16718,7 @@ trackedFiles: pristine_git_object: e98ac69a0fa827727f53aa1a4592c398ce4e2e39 src/Cvent/SDK/Models/Requests/Oauth2TokenResponseBody.cs: id: c47c00396e7f - last_write_checksum: sha1:de2c02a4ddc92b419f355a5f2e6ed1255877faba + last_write_checksum: sha1:7eeb32004b197207f30bbe43cdc09b9a6c7c7290 pristine_git_object: 998a44342716de1422fe3af9782be755cd28e925 src/Cvent/SDK/Models/Requests/Oauth2TokenSecurity.cs: id: b42d403f9278 @@ -17554,7 +17362,7 @@ trackedFiles: last_write_checksum: sha1:a82d3b5c66346b08e9412b70e0c08ff88b6061ad src/Cvent/SDK/SDKConfig.cs: id: 7ad7086454a8 - last_write_checksum: sha1:669d0c246ea078c0c4daaead7a34508b2c729e07 + last_write_checksum: sha1:cdf7802821334e37bef9cb48254144de43ad34de pristine_git_object: 796c23cd551fbe87f613d89d60ed25ac5fe0c54b src/Cvent/SDK/Seating.cs: id: 01c249fc2746 @@ -17562,7 +17370,7 @@ trackedFiles: pristine_git_object: a06ca860a105970d8ade67f4ac21fbe4883567b7 src/Cvent/SDK/Sessions.cs: id: 327b4808d581 - last_write_checksum: sha1:15b56f35f93a5feb76ae8174d93a01136cab37f6 + last_write_checksum: sha1:2b638b5208e30cd014a6036f2b096d815304a836 pristine_git_object: 0f2fec50306482c0afd79e5ba7b08113f788f657 src/Cvent/SDK/Signatures.cs: id: 033fd08fcea8 @@ -17570,7 +17378,7 @@ trackedFiles: pristine_git_object: d765a9f2c97a11db1bedf9991d4dd185f89164fe src/Cvent/SDK/Speakers.cs: id: d426d5d9579c - last_write_checksum: sha1:83551bf21e4f1dee28a83390f14faa2d22a3b1e9 + last_write_checksum: sha1:09176a8dc10be2aa6ce9a55ea17cea705ecf4f03 pristine_git_object: 62b8ecac78252d0ddbf04e1b73995f1009a50756 src/Cvent/SDK/Surveys.cs: id: 5ac9a3db2276 @@ -17594,7 +17402,7 @@ trackedFiles: pristine_git_object: 1f0647de7bcf33fcae67414f0bb31c3bbaf91420 src/Cvent/SDK/UserSCIM.cs: id: a3a3ea1a9c7b - last_write_checksum: sha1:0cee20f3f429b817c34d0172a384e018dadb8880 + last_write_checksum: sha1:c42779e661017e0ae26f8205afdb33d7c69da462 pristine_git_object: 65ecc73aaa7b7e5c08403afc919813034ca19d90 src/Cvent/SDK/Users.cs: id: 9ede83a21d40 @@ -17610,7 +17418,7 @@ trackedFiles: pristine_git_object: a75f770b33edd25c0fa4d4a77ab523da12d269ba src/Cvent/SDK/Utils/Constants.cs: id: 231d94d8a5dc - last_write_checksum: sha1:49fe23e802ca4455ebe1ff3df6396c8ae6ea1d11 + last_write_checksum: sha1:e667f60c968096fb0721d7abc5fbb7faa7e47338 pristine_git_object: 0a54932893793a10e459afbc15920803cff3ed1e src/Cvent/SDK/Utils/CventSDKHttpClient.cs: id: 374fee4fdbaf diff --git a/packages/csharp/.speakeasy/gen.yaml b/packages/csharp/.speakeasy/gen.yaml index 07c54d7bf..7a11cb9e2 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.5.1 + version: 1.5.2 additionalDependencies: [] author: Cvent baseErrorName: CventSDKException diff --git a/packages/csharp/NUGET.md b/packages/csharp/NUGET.md index dba13786e..6b1f9b9ef 100644 --- a/packages/csharp/NUGET.md +++ b/packages/csharp/NUGET.md @@ -325,8 +325,8 @@ 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): - * [`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.* + * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 448 methods.* + * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.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/README.md b/packages/csharp/README.md index 59ec22736..bd62e3ba1 100644 --- a/packages/csharp/README.md +++ b/packages/csharp/README.md @@ -231,8 +231,8 @@ var res = await sdk.Authentication.Oauth2TokenAsync( ### [Authentication](docs/sdks/authentication/README.md) -* [Oauth2Authorize](docs/sdks/authentication/README.md#oauth2authorize) - Authorize -* [Oauth2Token](docs/sdks/authentication/README.md#oauth2token) - Token +* [Oauth2Authorize](docs/sdks/authentication/README.md#oauth2authorize) - Get Authorization Code +* [Oauth2Token](docs/sdks/authentication/README.md#oauth2token) - Get Token * [ValidateToken](docs/sdks/authentication/README.md#validatetoken) - Validate Token ### [BadgePrintJob](docs/sdks/badgeprintjob/README.md) @@ -988,8 +988,8 @@ 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): - * [`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.* + * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 448 methods.* + * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.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/Address5.md b/packages/csharp/docs/Models/Components/Address5.md index 4c28e5c4c..68e48d763 100644 --- a/packages/csharp/docs/Models/Components/Address5.md +++ b/packages/csharp/docs/Models/Components/Address5.md @@ -1,18 +1,16 @@ # Address5 -Address of the hotel. +Address ## 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 +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `Type` | [AddressType1](../../Models/Components/AddressType1.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/Address6.md b/packages/csharp/docs/Models/Components/Address6.md index 923f80d45..94c615c63 100644 --- a/packages/csharp/docs/Models/Components/Address6.md +++ b/packages/csharp/docs/Models/Components/Address6.md @@ -1,17 +1,18 @@ # Address6 -Address details. +Address of the hotel. ## 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 +| 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/Address7.md b/packages/csharp/docs/Models/Components/Address7.md new file mode 100644 index 000000000..830c57743 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Address7.md @@ -0,0 +1,17 @@ +# Address7 + +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/AddressJson2.md b/packages/csharp/docs/Models/Components/AddressJson2.md deleted file mode 100644 index f26511532..000000000 --- a/packages/csharp/docs/Models/Components/AddressJson2.md +++ /dev/null @@ -1,16 +0,0 @@ -# AddressJson2 - -Address - - -## Fields - -| 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/AddressTypeJson.md b/packages/csharp/docs/Models/Components/AddressType1.md similarity index 78% rename from packages/csharp/docs/Models/Components/AddressTypeJson.md rename to packages/csharp/docs/Models/Components/AddressType1.md index ff7ed53d3..3f727746b 100644 --- a/packages/csharp/docs/Models/Components/AddressTypeJson.md +++ b/packages/csharp/docs/Models/Components/AddressType1.md @@ -1,4 +1,4 @@ -# AddressTypeJson +# AddressType1 The type of the address. @@ -7,7 +7,7 @@ The type of the address. ```csharp using Cvent.SDK.Models.Components; -var value = AddressTypeJson.Work; +var value = AddressType1.Work; ``` diff --git a/packages/csharp/docs/Models/Components/AdvancedLogic.md b/packages/csharp/docs/Models/Components/AdvancedLogic.md index 792d87d5c..dcc43f1a0 100644 --- a/packages/csharp/docs/Models/Components/AdvancedLogic.md +++ b/packages/csharp/docs/Models/Components/AdvancedLogic.md @@ -9,4 +9,4 @@ Describes the advanced logic for a custom field. | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `SourceCustomFieldId` | *string* | :heavy_check_mark: | The ID of the source custom field. | | `DefaultChoices` | List<*string*> | :heavy_minus_sign: | The choices of this custom field to display by default (when no choice is selected for the source custom field), specified by choice ID. Leave empty to have no choices displayed by default. | -| `SourceChoices` | List<[AdvancedLogicChoicesJson](../../Models/Components/AdvancedLogicChoicesJson.md)> | :heavy_minus_sign: | The choices of this custom field to display based on the choice selected for the source custom field, specified by choice ID. | \ No newline at end of file +| `SourceChoices` | List<[AdvancedLogicChoices](../../Models/Components/AdvancedLogicChoices.md)> | :heavy_minus_sign: | The choices of this custom field to display based on the choice selected for the source custom field, specified by choice ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdvancedLogicChoicesJson.md b/packages/csharp/docs/Models/Components/AdvancedLogicChoices.md similarity index 98% rename from packages/csharp/docs/Models/Components/AdvancedLogicChoicesJson.md rename to packages/csharp/docs/Models/Components/AdvancedLogicChoices.md index 921806533..c5b92d0b9 100644 --- a/packages/csharp/docs/Models/Components/AdvancedLogicChoicesJson.md +++ b/packages/csharp/docs/Models/Components/AdvancedLogicChoices.md @@ -1,4 +1,4 @@ -# AdvancedLogicChoicesJson +# AdvancedLogicChoices This is used to denote which custom field choices to display when a source custom field choice is selected. diff --git a/packages/csharp/docs/Models/Components/AirActual.md b/packages/csharp/docs/Models/Components/AirActual.md index 159e3f2f6..22a4fffb7 100644 --- a/packages/csharp/docs/Models/Components/AirActual.md +++ b/packages/csharp/docs/Models/Components/AirActual.md @@ -22,6 +22,6 @@ Representation of an air actual. | `Note` | *string* | :heavy_minus_sign: | Additional note associated to the air actual. | Additional note here. | | `RecordLocatorGDS` | *string* | :heavy_minus_sign: | The unique reservation number associated with the Global Distribution System (GDS) where the flight was booked. | ABC123 | | `NoteGDS` | *string* | :heavy_minus_sign: | Additional note from the GDS associated to the air actual. | GDS note. | -| `JourneyType` | [JourneyType](../../Models/Components/JourneyType.md) | :heavy_minus_sign: | Type of journey | | +| `JourneyType` | [JourneyType](../../Models/Components/JourneyType.md) | :heavy_minus_sign: | Type of journey for an air booking. | RoundTrip | | `FlightDetail` | List<[FlightDetail](../../Models/Components/FlightDetail.md)> | :heavy_minus_sign: | List of all the flight details taken by attendee and its guest | | | `AirActualAnswers` | List<[AttendeeAnswer1](../../Models/Components/AttendeeAnswer1.md)> | :heavy_minus_sign: | Answer provided by requester to the air actual related question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AirRequest.md b/packages/csharp/docs/Models/Components/AirRequest.md index 9046da2cc..dd17106c9 100644 --- a/packages/csharp/docs/Models/Components/AirRequest.md +++ b/packages/csharp/docs/Models/Components/AirRequest.md @@ -23,8 +23,8 @@ Representation of an air request. | `KnownTravelerNumber` | *string* | :heavy_minus_sign: | TSA known traveller number for the passenger. | 1234567 | | `OutgoingLeg` | [LegDetail](../../Models/Components/LegDetail.md) | :heavy_minus_sign: | Representation of a leg detail in air request. | | | `IncomingLeg` | [LegDetail](../../Models/Components/LegDetail.md) | :heavy_minus_sign: | Representation of a leg detail in air request. | | -| `SeatType` | [SeatType](../../Models/Components/SeatType.md) | :heavy_minus_sign: | Type of the seat. | | -| `TicketType` | [TicketType](../../Models/Components/TicketType.md) | :heavy_minus_sign: | Category of the passenger's ticket. | Economy/Coach | +| `SeatType` | [SeatType](../../Models/Components/SeatType.md) | :heavy_minus_sign: | Preferred or assigned seat type for an air booking. | Window | +| `TicketType` | [TicketType](../../Models/Components/TicketType.md) | :heavy_minus_sign: | Category of the passenger's ticket for an air booking. | Economy/Coach | | `FoodPreference` | *string* | :heavy_minus_sign: | Additional text related to the passenger's meal. | Please provide vegetarian meal. | | `SpecialRequest` | *string* | :heavy_minus_sign: | Additional text associated with air request. | Please provide blanket | | `AirlinePreference` | List<[AirlinePreference](../../Models/Components/AirlinePreference.md)> | :heavy_minus_sign: | Requester's preferred airlines. | | diff --git a/packages/csharp/docs/Models/Components/AirlinePreference.md b/packages/csharp/docs/Models/Components/AirlinePreference.md index 341a26c60..51daf77d3 100644 --- a/packages/csharp/docs/Models/Components/AirlinePreference.md +++ b/packages/csharp/docs/Models/Components/AirlinePreference.md @@ -5,7 +5,7 @@ Representation of airlines based on preference ## Fields -| Field | Type | Required | Description | Example | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `AirlineName` | *string* | :heavy_minus_sign: | Name of preferred airline. | Emirates | -| `RewardsCode` | *string* | :heavy_minus_sign: | Any rewards code applied. | REWARDS_ONE | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `AirlineName` | *string* | :heavy_minus_sign: | Name of preferred airline. | Emirates | +| `RewardsCode` | *string* | :heavy_minus_sign: | Loyalty program number for the preferred airline. | SKYWARD12345 | \ 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 ba4afd861..ba76740e6 100644 --- a/packages/csharp/docs/Models/Components/Attendee11.md +++ b/packages/csharp/docs/Models/Components/Attendee11.md @@ -5,50 +5,50 @@ 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` | [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 +| 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.
- LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
- 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/AttendeeAdd.md b/packages/csharp/docs/Models/Components/AttendeeAdd.md index 5f36cc88c..875b39202 100644 --- a/packages/csharp/docs/Models/Components/AttendeeAdd.md +++ b/packages/csharp/docs/Models/Components/AttendeeAdd.md @@ -5,22 +5,22 @@ Model representing an attendee to be added to an event. The attendee's assigned ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Event` | [AttendeeAddEvent](../../Models/Components/AttendeeAddEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `Contact` | [AttendeeAddContact](../../Models/Components/AttendeeAddContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `InvitationList` | [AttendeeAddInvitationList](../../Models/Components/AttendeeAddInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `ReferenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `Note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `Administrator` | [AttendeeAddAdministrator](../../Models/Components/AttendeeAddAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `AdmissionItem` | [AttendeeAddAdmissionItem](../../Models/Components/AttendeeAddAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `Visibility` | [AttendeeVisibility](../../Models/Components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `Answers` | List<[AttendeeAnswer](../../Models/Components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `SendEmail` | *bool* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `Status` | [AttendeeAddStatus](../../Models/Components/AttendeeAddStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee being added. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. | Accepted | -| `RegistrationPath` | [RegistrationPath](../../Models/Components/RegistrationPath.md) | :heavy_minus_sign: | The attendee's registration path. Registration paths control the registration experience of the attendee. | | -| `RegistrationType` | [AttendeeAddRegistrationType](../../Models/Components/AttendeeAddRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. Registration type controls pricing, agenda item availability, and registration experience. | | -| `Guest` | *bool* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | -| `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. | | -| `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 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Event` | [AttendeeAddEvent](../../Models/Components/AttendeeAddEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | +| `Contact` | [AttendeeAddContact](../../Models/Components/AttendeeAddContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | +| `InvitationList` | [AttendeeAddInvitationList](../../Models/Components/AttendeeAddInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | +| `ReferenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | +| `Note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | +| `Administrator` | [AttendeeAddAdministrator](../../Models/Components/AttendeeAddAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | +| `AdmissionItem` | [AttendeeAddAdmissionItem](../../Models/Components/AttendeeAddAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | +| `Visibility` | [AttendeeVisibility](../../Models/Components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | +| `Answers` | List<[AttendeeAnswer](../../Models/Components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | +| `SendEmail` | *bool* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | +| `Status` | [AttendeeAddStatus](../../Models/Components/AttendeeAddStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee being added. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. | Accepted | +| `RegistrationPath` | [RegistrationPath](../../Models/Components/RegistrationPath.md) | :heavy_minus_sign: | The attendee's registration path. Registration paths control the registration experience of the attendee. | | +| `RegistrationType` | [AttendeeAddRegistrationType](../../Models/Components/AttendeeAddRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. Registration type controls pricing, agenda item availability, and registration experience. | | +| `Guest` | *bool* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | +| `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. | | +| `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.
- LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
- 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 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonData.md b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonData.md index 40ce79e17..940ce35bd 100644 --- a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonData.md +++ b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonData.md @@ -3,10 +3,10 @@ ## Supported Types -### ZeroOneOf2 +### ZeroOneOf ```csharp -AttendeeAddBulkItemEventJsonData.CreateZeroOneOf2(/* values here */); +AttendeeAddBulkItemEventJsonData.CreateZeroOneOf(/* values here */); ``` ### AttendeeAddBulkItemEventJsonErrorResponse diff --git a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md index ffe777294..484aa278d 100644 --- a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md +++ b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md @@ -3,14 +3,14 @@ ## Supported Types -### ZeroOneOf2 +### ZeroOneOf ```csharp -AttendeeAddBulkItemJsonData.CreateZeroOneOf2(/* values here */); +AttendeeAddBulkItemJsonData.CreateZeroOneOf(/* values here */); ``` -### ErrorResponse2 +### ErrorResponse ```csharp -AttendeeAddBulkItemJsonData.CreateErrorResponse2(/* values here */); +AttendeeAddBulkItemJsonData.CreateErrorResponse(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md b/packages/csharp/docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md index 375cb64e3..5fa534ec5 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 */); ``` -### ErrorResponse2 +### ErrorResponse ```csharp -AttendeeLinkBulkResponseItemJsonData.CreateErrorResponse2(/* values here */); +AttendeeLinkBulkResponseItemJsonData.CreateErrorResponse(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/AttendeeResponseMethod1.md b/packages/csharp/docs/Models/Components/AttendeeResponseMethod1.md index 324adac20..5c7729b9c 100644 --- a/packages/csharp/docs/Models/Components/AttendeeResponseMethod1.md +++ b/packages/csharp/docs/Models/Components/AttendeeResponseMethod1.md @@ -10,6 +10,7 @@ Represents the method by which an attendee registered for the event. - 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. +- LinkedIn Registration Form: The attendee was registered through LinkedIn integration. - 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. @@ -48,6 +49,7 @@ var value = AttendeeResponseMethod1.AdministratorResponded; | `GroupLeaderRespondedWidget` | Group Leader Responded Widget | | `HistoricalImport` | Historical Import | | `Imported` | Imported | +| `LinkedInRegistrationForm` | LinkedIn Registration Form | | `NoResponse` | No Response | | `OnSiteResponded` | On-site Responded | | `PlannerImported` | Planner-Imported | diff --git a/packages/csharp/docs/Models/Components/AttendeeUpdate.md b/packages/csharp/docs/Models/Components/AttendeeUpdate.md index b5f52dc08..633bf5376 100644 --- a/packages/csharp/docs/Models/Components/AttendeeUpdate.md +++ b/packages/csharp/docs/Models/Components/AttendeeUpdate.md @@ -5,19 +5,19 @@ Model representing an attendee to be updated in an event. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Event` | [AttendeeUpdateEvent](../../Models/Components/AttendeeUpdateEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `Contact` | [AttendeeUpdateContact](../../Models/Components/AttendeeUpdateContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `InvitationList` | [AttendeeUpdateInvitationList](../../Models/Components/AttendeeUpdateInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `ReferenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `Note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `Administrator` | [AttendeeUpdateAdministrator](../../Models/Components/AttendeeUpdateAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `AdmissionItem` | [AttendeeUpdateAdmissionItem](../../Models/Components/AttendeeUpdateAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `Visibility` | [AttendeeVisibility](../../Models/Components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `Answers` | List<[AttendeeAnswer](../../Models/Components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `SendEmail` | *bool* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `Status` | [AttendeeUpdateStatus](../../Models/Components/AttendeeUpdateStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval | Accepted | -| `RegistrationType` | [AttendeeUpdateRegistrationType](../../Models/Components/AttendeeUpdateRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. | | -| ~~`InvitedBy`~~ | [AttendeeInvitedBy](../../Models/Components/AttendeeInvitedBy.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

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

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

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

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md b/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md index de694b1a0..26400d0c1 100644 --- a/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md +++ b/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md @@ -1,6 +1,6 @@ # AttendeeUpdateStatus -Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval +Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted ## Example Usage @@ -21,4 +21,5 @@ var value = AttendeeUpdateStatus.NoResponse; | `Visited` | Visited | | `Declined` | Declined | | `PendingApproval` | Pending Approval | -| `DeniedApproval` | Denied Approval | \ No newline at end of file +| `DeniedApproval` | Denied Approval | +| `Waitlisted` | Waitlisted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attribute.md b/packages/csharp/docs/Models/Components/Attribute.md new file mode 100644 index 000000000..f1737cace --- /dev/null +++ b/packages/csharp/docs/Models/Components/Attribute.md @@ -0,0 +1,21 @@ +# Attribute + +Attribute + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `Name` | *string* | :heavy_minus_sign: | The name of the attribute. | userName | +| `Type` | [AttributeDataType](../../Models/Components/AttributeDataType.md) | :heavy_minus_sign: | This is used to denote the type of the attribute. | string | +| `MultiValued` | *bool* | :heavy_minus_sign: | Indicates if the attribute is multivalued. | true | +| `Description` | *string* | :heavy_minus_sign: | The description of the attribute. | This Attribute describes the property | +| `Required` | *bool* | :heavy_minus_sign: | True indicates the attribute is required. | true | +| `CaseExact` | *bool* | :heavy_minus_sign: | True indicates the attribute is case sensitive. | false | +| `Mutability` | [Mutability](../../Models/Components/Mutability.md) | :heavy_minus_sign: | This is used to denote the mutability of the attribute. | writeOnly | +| `CanonicalValues` | List<*string*> | :heavy_minus_sign: | The list of canonical values of the attribute. | | +| `Returned` | [ReturnedType](../../Models/Components/ReturnedType.md) | :heavy_minus_sign: | This is used to denote the returned type of the attribute. | always | +| `Uniqueness` | [UniquenessType](../../Models/Components/UniquenessType.md) | :heavy_minus_sign: | This is used to denote the uniqueness type of the attribute. | global | +| `ReferenceTypes` | List<[ReferenceType](../../Models/Components/ReferenceType.md)> | :heavy_minus_sign: | This is used to denote the reference type of the attribute. | | +| `SubAttributes` | List<[Attribute](../../Models/Components/Attribute.md)> | :heavy_minus_sign: | A collection of sub-attributes. Has the same structure as this attribute object. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttributeDataTypeJson.md b/packages/csharp/docs/Models/Components/AttributeDataType.md similarity index 85% rename from packages/csharp/docs/Models/Components/AttributeDataTypeJson.md rename to packages/csharp/docs/Models/Components/AttributeDataType.md index b1a75c485..2b6f5ec40 100644 --- a/packages/csharp/docs/Models/Components/AttributeDataTypeJson.md +++ b/packages/csharp/docs/Models/Components/AttributeDataType.md @@ -1,4 +1,4 @@ -# AttributeDataTypeJson +# AttributeDataType This is used to denote the type of the attribute. @@ -7,7 +7,7 @@ This is used to denote the type of the attribute. ```csharp using Cvent.SDK.Models.Components; -var value = AttributeDataTypeJson.String; +var value = AttributeDataType.String; ``` diff --git a/packages/csharp/docs/Models/Components/AttributeJson.md b/packages/csharp/docs/Models/Components/AttributeJson.md deleted file mode 100644 index 9bffd6362..000000000 --- a/packages/csharp/docs/Models/Components/AttributeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# AttributeJson - -Attribute - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `Name` | *string* | :heavy_minus_sign: | The name of the attribute. | userName | -| `Type` | [AttributeDataTypeJson](../../Models/Components/AttributeDataTypeJson.md) | :heavy_minus_sign: | This is used to denote the type of the attribute. | string | -| `MultiValued` | *bool* | :heavy_minus_sign: | Indicates if the attribute is multivalued. | true | -| `Description` | *string* | :heavy_minus_sign: | The description of the attribute. | This Attribute describes the property | -| `Required` | *bool* | :heavy_minus_sign: | True indicates the attribute is required. | true | -| `CaseExact` | *bool* | :heavy_minus_sign: | True indicates the attribute is case sensitive. | false | -| `Mutability` | [MutabilityJson](../../Models/Components/MutabilityJson.md) | :heavy_minus_sign: | This is used to denote the mutability of the attribute. | writeOnly | -| `CanonicalValues` | List<*string*> | :heavy_minus_sign: | The list of canonical values of the attribute. | | -| `Returned` | [AttributeReturnedTypeJson](../../Models/Components/AttributeReturnedTypeJson.md) | :heavy_minus_sign: | This is used to denote the returned type of the attribute. | always | -| `Uniqueness` | [AttributeUniquenessTypeJson](../../Models/Components/AttributeUniquenessTypeJson.md) | :heavy_minus_sign: | This is used to denote the uniqueness type of the attribute. | global | -| `ReferenceTypes` | List<[AttributeReferenceTypeJson](../../Models/Components/AttributeReferenceTypeJson.md)> | :heavy_minus_sign: | This is used to denote the reference type of the attribute. | | -| `SubAttributes` | List<[AttributeJson](../../Models/Components/AttributeJson.md)> | :heavy_minus_sign: | A collection of sub-attributes. Has the same structure as this attribute object. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AuthenticationSchemaJson.md b/packages/csharp/docs/Models/Components/AuthenticationSchema.md similarity index 99% rename from packages/csharp/docs/Models/Components/AuthenticationSchemaJson.md rename to packages/csharp/docs/Models/Components/AuthenticationSchema.md index ca6ef9f2f..6de0414ab 100644 --- a/packages/csharp/docs/Models/Components/AuthenticationSchemaJson.md +++ b/packages/csharp/docs/Models/Components/AuthenticationSchema.md @@ -1,4 +1,4 @@ -# AuthenticationSchemaJson +# AuthenticationSchema Authentication Schema diff --git a/packages/csharp/docs/Models/Components/BounceDetailsJson.md b/packages/csharp/docs/Models/Components/BounceDetailsJson.md index a0750e5d2..8a5df19f5 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` | [EmailTypeJson1](../../Models/Components/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `EmailType` | [EmailTypeJson](../../Models/Components/EmailTypeJson.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/ChoiceJson2.md b/packages/csharp/docs/Models/Components/Choice2.md similarity index 72% rename from packages/csharp/docs/Models/Components/ChoiceJson2.md rename to packages/csharp/docs/Models/Components/Choice2.md index 3f7a655ef..cdab7b11a 100644 --- a/packages/csharp/docs/Models/Components/ChoiceJson2.md +++ b/packages/csharp/docs/Models/Components/Choice2.md @@ -1,11 +1,11 @@ -# ChoiceJson2 +# Choice2 -This is used to denote the choice of custom field. +This is used to denote the choice of question. ## 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 +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The ID of the question 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 question choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Choice2Input.md b/packages/csharp/docs/Models/Components/Choice2Input.md new file mode 100644 index 000000000..9b45e4355 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Choice2Input.md @@ -0,0 +1,10 @@ +# Choice2Input + +This is used to denote the choice of question. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `Text` | *string* | :heavy_check_mark: | The text for the question 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 deleted file mode 100644 index ee92d7765..000000000 --- a/packages/csharp/docs/Models/Components/ChoiceJson2Input.md +++ /dev/null @@ -1,10 +0,0 @@ -# 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/ChoiceTranslationJson.md b/packages/csharp/docs/Models/Components/ChoiceTranslation.md similarity index 98% rename from packages/csharp/docs/Models/Components/ChoiceTranslationJson.md rename to packages/csharp/docs/Models/Components/ChoiceTranslation.md index 2c13fc47f..1b7c92d3b 100644 --- a/packages/csharp/docs/Models/Components/ChoiceTranslationJson.md +++ b/packages/csharp/docs/Models/Components/ChoiceTranslation.md @@ -1,4 +1,4 @@ -# ChoiceTranslationJson +# ChoiceTranslation This is used to denote that the translation for the choice text of a custom field. diff --git a/packages/csharp/docs/Models/Components/Choices.md b/packages/csharp/docs/Models/Components/Choices.md deleted file mode 100644 index 7a3e986d1..000000000 --- a/packages/csharp/docs/Models/Components/Choices.md +++ /dev/null @@ -1,11 +0,0 @@ -# Choices - -Choices for a custom field. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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/Three.md b/packages/csharp/docs/Models/Components/Choices1.md similarity index 92% rename from packages/csharp/docs/Models/Components/Three.md rename to packages/csharp/docs/Models/Components/Choices1.md index 21540f234..d702832dc 100644 --- a/packages/csharp/docs/Models/Components/Three.md +++ b/packages/csharp/docs/Models/Components/Choices1.md @@ -1,4 +1,4 @@ -# Three +# Choices1 Choices for a custom field. @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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 +| `Choices` | List<[Choice2](../../Models/Components/Choice2.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `DisplayType` | [DisplayType1](../../Models/Components/DisplayType1.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/Choices1Input.md similarity index 92% rename from packages/csharp/docs/Models/Components/ThreeInput.md rename to packages/csharp/docs/Models/Components/Choices1Input.md index 234d44f4b..f8f94892e 100644 --- a/packages/csharp/docs/Models/Components/ThreeInput.md +++ b/packages/csharp/docs/Models/Components/Choices1Input.md @@ -1,4 +1,4 @@ -# ThreeInput +# Choices1Input Choices for a custom field. @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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 +| `Choices` | List<[Choice2Input](../../Models/Components/Choice2Input.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `DisplayType` | [DisplayType1](../../Models/Components/DisplayType1.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/CustomField3.md b/packages/csharp/docs/Models/Components/CustomField3.md index 3c19c3aaf..cfc81b673 100644 --- a/packages/csharp/docs/Models/Components/CustomField3.md +++ b/packages/csharp/docs/Models/Components/CustomField3.md @@ -7,16 +7,16 @@ This is used to denote the custom field data. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Category` | [CustomFieldCategoryJson](../../Models/Components/CustomFieldCategoryJson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `Category` | [CustomFieldCategory](../../Models/Components/CustomFieldCategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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` | [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 | +| `Type` | [CustomFieldType2](../../Models/Components/CustomFieldType2.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 | +| `DisplayInDataTag` | [DisplayInDataTag](../../Models/Components/DisplayInDataTag.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 | | `DefaultTagText` | *string* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `ConsentField` | *bool* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `Active` | *bool* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `DisplayInEventCreationWizard` | *bool* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `PageVisibility` | [PageVisibilityJson](../../Models/Components/PageVisibilityJson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | \ No newline at end of file +| `PageVisibility` | [PageVisibility](../../Models/Components/PageVisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomField3Details.md b/packages/csharp/docs/Models/Components/CustomField3Details.md index 8b48de8cc..7fc584f2a 100644 --- a/packages/csharp/docs/Models/Components/CustomField3Details.md +++ b/packages/csharp/docs/Models/Components/CustomField3Details.md @@ -11,10 +11,10 @@ Type-specific details of the custom-field. CustomField3Details.CreateOpenEndedOneLine(/* values here */); ``` -### OpenEndedDateTime +### OpenEndedDateTime1 ```csharp -CustomField3Details.CreateOpenEndedDateTime(/* values here */); +CustomField3Details.CreateOpenEndedDateTime1(/* values here */); ``` ### OpenEndedCommentBox @@ -23,8 +23,8 @@ CustomField3Details.CreateOpenEndedDateTime(/* values here */); CustomField3Details.CreateOpenEndedCommentBox(/* values here */); ``` -### Choices +### Choices1Input ```csharp -CustomField3Details.CreateChoices(/* values here */); +CustomField3Details.CreateChoices1Input(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/CustomFieldCategoryJson.md b/packages/csharp/docs/Models/Components/CustomFieldCategory.md similarity index 89% rename from packages/csharp/docs/Models/Components/CustomFieldCategoryJson.md rename to packages/csharp/docs/Models/Components/CustomFieldCategory.md index efe8e3b70..55c39a563 100644 --- a/packages/csharp/docs/Models/Components/CustomFieldCategoryJson.md +++ b/packages/csharp/docs/Models/Components/CustomFieldCategory.md @@ -1,4 +1,4 @@ -# CustomFieldCategoryJson +# CustomFieldCategory This is used to denote the category of a custom field. @@ -7,7 +7,7 @@ This is used to denote the category of a custom field. ```csharp using Cvent.SDK.Models.Components; -var value = CustomFieldCategoryJson.Contact; +var value = CustomFieldCategory.Contact; ``` diff --git a/packages/csharp/docs/Models/Components/CustomFieldTypeJson.md b/packages/csharp/docs/Models/Components/CustomFieldType2.md similarity index 90% rename from packages/csharp/docs/Models/Components/CustomFieldTypeJson.md rename to packages/csharp/docs/Models/Components/CustomFieldType2.md index 6ffece5f4..f298c2e60 100644 --- a/packages/csharp/docs/Models/Components/CustomFieldTypeJson.md +++ b/packages/csharp/docs/Models/Components/CustomFieldType2.md @@ -1,4 +1,4 @@ -# CustomFieldTypeJson +# CustomFieldType2 This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. @@ -7,7 +7,7 @@ This is used to denote the type of data collected by a custom field. Auto-Increm ```csharp using Cvent.SDK.Models.Components; -var value = CustomFieldTypeJson.OpenEndedTextDateTime; +var value = CustomFieldType2.OpenEndedTextDateTime; ``` diff --git a/packages/csharp/docs/Models/Components/CustomFieldsPaginatedResponse.md b/packages/csharp/docs/Models/Components/CustomFieldsPaginatedResponse.md index 25d6b6d6d..76ec8fad9 100644 --- a/packages/csharp/docs/Models/Components/CustomFieldsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/CustomFieldsPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of custom fields metadata. This inc | 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<[ExistingCustomField](../../Models/Components/ExistingCustomField.md)> | :heavy_check_mark: | Collection of custom fields. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DateTimeDisplayFormatJson.md b/packages/csharp/docs/Models/Components/DateTimeDisplayFormat.md similarity index 88% rename from packages/csharp/docs/Models/Components/DateTimeDisplayFormatJson.md rename to packages/csharp/docs/Models/Components/DateTimeDisplayFormat.md index 36d451e25..79bcdeb62 100644 --- a/packages/csharp/docs/Models/Components/DateTimeDisplayFormatJson.md +++ b/packages/csharp/docs/Models/Components/DateTimeDisplayFormat.md @@ -1,4 +1,4 @@ -# DateTimeDisplayFormatJson +# DateTimeDisplayFormat This is used to denote the display format type of date time type custom field. @@ -7,7 +7,7 @@ This is used to denote the display format type of date time type custom field. ```csharp using Cvent.SDK.Models.Components; -var value = DateTimeDisplayFormatJson.DateAndTimeMonthFirst12HourTime; +var value = DateTimeDisplayFormat.DateAndTimeMonthFirst12HourTime; ``` diff --git a/packages/csharp/docs/Models/Components/DisplayInDataTagJson.md b/packages/csharp/docs/Models/Components/DisplayInDataTag.md similarity index 90% rename from packages/csharp/docs/Models/Components/DisplayInDataTagJson.md rename to packages/csharp/docs/Models/Components/DisplayInDataTag.md index 5e6e3b43d..7c4c91111 100644 --- a/packages/csharp/docs/Models/Components/DisplayInDataTagJson.md +++ b/packages/csharp/docs/Models/Components/DisplayInDataTag.md @@ -1,4 +1,4 @@ -# DisplayInDataTagJson +# DisplayInDataTag 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. @@ -7,7 +7,7 @@ This option allows you to choose whether to display the custom field in emails. ```csharp using Cvent.SDK.Models.Components; -var value = DisplayInDataTagJson.Yes; +var value = DisplayInDataTag.Yes; ``` diff --git a/packages/csharp/docs/Models/Components/ChoicesDisplayTypeJson.md b/packages/csharp/docs/Models/Components/DisplayType1.md similarity index 88% rename from packages/csharp/docs/Models/Components/ChoicesDisplayTypeJson.md rename to packages/csharp/docs/Models/Components/DisplayType1.md index 8b3f616b2..8ed0d12f0 100644 --- a/packages/csharp/docs/Models/Components/ChoicesDisplayTypeJson.md +++ b/packages/csharp/docs/Models/Components/DisplayType1.md @@ -1,4 +1,4 @@ -# ChoicesDisplayTypeJson +# DisplayType1 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. @@ -7,7 +7,7 @@ Display type indicating how to display the choices on UI. For 'Choice - Single A ```csharp using Cvent.SDK.Models.Components; -var value = ChoicesDisplayTypeJson.Dropdown; +var value = DisplayType1.Dropdown; ``` diff --git a/packages/csharp/docs/Models/Components/Email.md b/packages/csharp/docs/Models/Components/Email.md new file mode 100644 index 000000000..dcb085c55 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Email.md @@ -0,0 +1,12 @@ +# Email + +Email + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `Type` | [EmailType1](../../Models/Components/EmailType1.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/EmailHistoryJson.md b/packages/csharp/docs/Models/Components/EmailHistoryJson.md index 2ebff451e..244c81743 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` | [EmailTypeJson1](../../Models/Components/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `Type` | [EmailTypeJson](../../Models/Components/EmailTypeJson.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 450d4443b..636571b0f 100644 --- a/packages/csharp/docs/Models/Components/EmailJson1.md +++ b/packages/csharp/docs/Models/Components/EmailJson1.md @@ -1,12 +1,10 @@ # EmailJson1 -Email +Details of an email to be send. ## Fields -| 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 +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID of the email to be sent. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailJson2.md b/packages/csharp/docs/Models/Components/EmailJson2.md deleted file mode 100644 index 2885d77cb..000000000 --- a/packages/csharp/docs/Models/Components/EmailJson2.md +++ /dev/null @@ -1,10 +0,0 @@ -# EmailJson2 - -Details of an email to be send. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID of the email to be sent. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailType1.md b/packages/csharp/docs/Models/Components/EmailType1.md new file mode 100644 index 000000000..e7f13d552 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EmailType1.md @@ -0,0 +1,19 @@ +# EmailType1 + +The type of the email. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = EmailType1.Work; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `Work` | work | +| `Home` | home | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailTypeJson.md b/packages/csharp/docs/Models/Components/EmailTypeJson.md index 71209648e..23e68ac10 100644 --- a/packages/csharp/docs/Models/Components/EmailTypeJson.md +++ b/packages/csharp/docs/Models/Components/EmailTypeJson.md @@ -1,19 +1,79 @@ # EmailTypeJson -The type of the email. +Denotes the type of the email. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = EmailTypeJson.Work; +var value = EmailTypeJson.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/EmailTypeJson1.md b/packages/csharp/docs/Models/Components/EmailTypeJson1.md deleted file mode 100644 index deb21b1db..000000000 --- a/packages/csharp/docs/Models/Components/EmailTypeJson1.md +++ /dev/null @@ -1,79 +0,0 @@ -# EmailTypeJson1 - -Denotes the type of the email. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = EmailTypeJson1.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/ErrorResponse2.md b/packages/csharp/docs/Models/Components/ErrorResponse.md similarity index 99% rename from packages/csharp/docs/Models/Components/ErrorResponse2.md rename to packages/csharp/docs/Models/Components/ErrorResponse.md index 3fb426621..0441459d5 100644 --- a/packages/csharp/docs/Models/Components/ErrorResponse2.md +++ b/packages/csharp/docs/Models/Components/ErrorResponse.md @@ -1,4 +1,4 @@ -# ErrorResponse2 +# ErrorResponse Represents an error response with additional details of cascading error messages. diff --git a/packages/csharp/docs/Models/Components/ErrorScimTypeJson.md b/packages/csharp/docs/Models/Components/ErrorScimType.md similarity index 84% rename from packages/csharp/docs/Models/Components/ErrorScimTypeJson.md rename to packages/csharp/docs/Models/Components/ErrorScimType.md index 081a4a208..66c9bb245 100644 --- a/packages/csharp/docs/Models/Components/ErrorScimTypeJson.md +++ b/packages/csharp/docs/Models/Components/ErrorScimType.md @@ -1,4 +1,4 @@ -# ErrorScimTypeJson +# ErrorScimType This is used to denote the scim type of the error. @@ -7,7 +7,7 @@ This is used to denote the scim type of the error. ```csharp using Cvent.SDK.Models.Components; -var value = ErrorScimTypeJson.InvalidFilter; +var value = ErrorScimType.InvalidFilter; ``` diff --git a/packages/csharp/docs/Models/Components/ExistingCustomField.md b/packages/csharp/docs/Models/Components/ExistingCustomField.md index 6b5e3d4a9..7983fdfd2 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomField.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomField.md @@ -11,18 +11,18 @@ This is used to denote an existing custom field. | `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 | -| `Category` | [CustomFieldCategoryJson](../../Models/Components/CustomFieldCategoryJson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `Category` | [CustomFieldCategory](../../Models/Components/CustomFieldCategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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` | [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 | +| `Type` | [CustomFieldType2](../../Models/Components/CustomFieldType2.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. | -| `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 | +| `DisplayInDataTag` | [DisplayInDataTag](../../Models/Components/DisplayInDataTag.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 | | `DefaultTagText` | *string* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `ConsentField` | *bool* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `Active` | *bool* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `DisplayInEventCreationWizard` | *bool* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `PageVisibility` | [PageVisibilityJson](../../Models/Components/PageVisibilityJson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | +| `PageVisibility` | [PageVisibility](../../Models/Components/PageVisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | | `Id` | *string* | :heavy_minus_sign: | The ID of the custom field. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md index 936677172..d5b2e1a0d 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md @@ -5,26 +5,26 @@ Type-specific details of the custom-field. ## Supported Types -### ZeroOneOf1 +### OpenEndedOneLine ```csharp -ExistingCustomFieldDetails.CreateZeroOneOf1(/* values here */); +ExistingCustomFieldDetails.CreateOpenEndedOneLine(/* values here */); ``` -### One +### OpenEndedDateTime1 ```csharp -ExistingCustomFieldDetails.CreateOne(/* values here */); +ExistingCustomFieldDetails.CreateOpenEndedDateTime1(/* values here */); ``` -### Two +### OpenEndedCommentBox ```csharp -ExistingCustomFieldDetails.CreateTwo(/* values here */); +ExistingCustomFieldDetails.CreateOpenEndedCommentBox(/* values here */); ``` -### Three +### Choices1 ```csharp -ExistingCustomFieldDetails.CreateThree(/* values here */); +ExistingCustomFieldDetails.CreateChoices1(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md index 31e339c58..60f14ffbf 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md @@ -5,26 +5,26 @@ Type-specific details of the custom-field. ## Supported Types -### ZeroOneOf1 +### OpenEndedOneLine ```csharp -ExistingCustomFieldDetailsInput.CreateZeroOneOf1(/* values here */); +ExistingCustomFieldDetailsInput.CreateOpenEndedOneLine(/* values here */); ``` -### One +### OpenEndedDateTime1 ```csharp -ExistingCustomFieldDetailsInput.CreateOne(/* values here */); +ExistingCustomFieldDetailsInput.CreateOpenEndedDateTime1(/* values here */); ``` -### Two +### OpenEndedCommentBox ```csharp -ExistingCustomFieldDetailsInput.CreateTwo(/* values here */); +ExistingCustomFieldDetailsInput.CreateOpenEndedCommentBox(/* values here */); ``` -### ThreeInput +### Choices1Input ```csharp -ExistingCustomFieldDetailsInput.CreateThreeInput(/* values here */); +ExistingCustomFieldDetailsInput.CreateChoices1Input(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md b/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md index cc98bb7bf..92724832c 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md @@ -7,17 +7,17 @@ This is used to denote an existing custom field. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Category` | [CustomFieldCategoryJson](../../Models/Components/CustomFieldCategoryJson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `Category` | [CustomFieldCategory](../../Models/Components/CustomFieldCategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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` | [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 | +| `Type` | [CustomFieldType2](../../Models/Components/CustomFieldType2.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 | +| `DisplayInDataTag` | [DisplayInDataTag](../../Models/Components/DisplayInDataTag.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 | | `DefaultTagText` | *string* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `ConsentField` | *bool* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `Active` | *bool* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `DisplayInEventCreationWizard` | *bool* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `PageVisibility` | [PageVisibilityJson](../../Models/Components/PageVisibilityJson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | +| `PageVisibility` | [PageVisibility](../../Models/Components/PageVisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | | `Id` | *string* | :heavy_minus_sign: | The ID of the custom field. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GroupJson.md b/packages/csharp/docs/Models/Components/Group.md similarity index 98% rename from packages/csharp/docs/Models/Components/GroupJson.md rename to packages/csharp/docs/Models/Components/Group.md index fc6063ee9..0b0681608 100644 --- a/packages/csharp/docs/Models/Components/GroupJson.md +++ b/packages/csharp/docs/Models/Components/Group.md @@ -1,4 +1,4 @@ -# GroupJson +# Group Generic sample name. Not a real model used by any Cvent service. diff --git a/packages/csharp/docs/Models/Components/Group1.md b/packages/csharp/docs/Models/Components/Group1.md new file mode 100644 index 000000000..8de30ae02 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Group1.md @@ -0,0 +1,13 @@ +# Group1 + +Generic sample name. Not a real model used by any Cvent service. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `Schemas` | List<*string*> | :heavy_minus_sign: | The list of schemas using this resource. | | +| `Id` | *string* | :heavy_check_mark: | The unique ID of the SCIM group. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `DisplayName` | *string* | :heavy_minus_sign: | The name of the user role. | Admin | +| `Meta` | [Meta](../../Models/Components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GroupJson0.md b/packages/csharp/docs/Models/Components/GroupJson0.md deleted file mode 100644 index 9306a60ac..000000000 --- a/packages/csharp/docs/Models/Components/GroupJson0.md +++ /dev/null @@ -1,13 +0,0 @@ -# GroupJson0 - -Generic sample name. Not a real model used by any Cvent service. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `Id` | *string* | :heavy_check_mark: | The unique ID of the SCIM group. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `DisplayName` | *string* | :heavy_minus_sign: | The name of the user role. | Admin | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ 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 746db02bb..7412fba17 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` | [Address5](../../Models/Components/Address5.md) | :heavy_minus_sign: | Address of the hotel. | | +| `HotelAddress` | [Address6](../../Models/Components/Address6.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/JourneyType.md b/packages/csharp/docs/Models/Components/JourneyType.md index f1e4ad424..402df4b9a 100644 --- a/packages/csharp/docs/Models/Components/JourneyType.md +++ b/packages/csharp/docs/Models/Components/JourneyType.md @@ -1,6 +1,6 @@ # JourneyType -Type of journey +Type of journey for an air booking. ## Example Usage diff --git a/packages/csharp/docs/Models/Components/LanguageJson.md b/packages/csharp/docs/Models/Components/Language1.md similarity index 97% rename from packages/csharp/docs/Models/Components/LanguageJson.md rename to packages/csharp/docs/Models/Components/Language1.md index 9866d4287..32102be03 100644 --- a/packages/csharp/docs/Models/Components/LanguageJson.md +++ b/packages/csharp/docs/Models/Components/Language1.md @@ -1,4 +1,4 @@ -# LanguageJson +# Language1 IETF language code used to specify a target language for the translation. @@ -7,7 +7,7 @@ IETF language code used to specify a target language for the translation. ```csharp using Cvent.SDK.Models.Components; -var value = LanguageJson.AfZA; +var value = Language1.AfZA; ``` diff --git a/packages/csharp/docs/Models/Components/MetaJson.md b/packages/csharp/docs/Models/Components/Meta.md similarity index 99% rename from packages/csharp/docs/Models/Components/MetaJson.md rename to packages/csharp/docs/Models/Components/Meta.md index 43586b6e4..30acb4a20 100644 --- a/packages/csharp/docs/Models/Components/MetaJson.md +++ b/packages/csharp/docs/Models/Components/Meta.md @@ -1,4 +1,4 @@ -# MetaJson +# Meta Metadata of the resource. diff --git a/packages/csharp/docs/Models/Components/MutabilityJson.md b/packages/csharp/docs/Models/Components/Mutability.md similarity index 85% rename from packages/csharp/docs/Models/Components/MutabilityJson.md rename to packages/csharp/docs/Models/Components/Mutability.md index 1e7dc5587..f6ff89b12 100644 --- a/packages/csharp/docs/Models/Components/MutabilityJson.md +++ b/packages/csharp/docs/Models/Components/Mutability.md @@ -1,4 +1,4 @@ -# MutabilityJson +# Mutability This is used to denote the mutability of the attribute. @@ -7,7 +7,7 @@ This is used to denote the mutability of the attribute. ```csharp using Cvent.SDK.Models.Components; -var value = MutabilityJson.ReadOnly; +var value = Mutability.ReadOnly; ``` diff --git a/packages/csharp/docs/Models/Components/NameJson.md b/packages/csharp/docs/Models/Components/Name.md similarity index 99% rename from packages/csharp/docs/Models/Components/NameJson.md rename to packages/csharp/docs/Models/Components/Name.md index 2d3cd313e..5f65a8a8f 100644 --- a/packages/csharp/docs/Models/Components/NameJson.md +++ b/packages/csharp/docs/Models/Components/Name.md @@ -1,4 +1,4 @@ -# NameJson +# Name The name of the user. diff --git a/packages/csharp/docs/Models/Components/One.md b/packages/csharp/docs/Models/Components/One.md deleted file mode 100644 index c75e167f0..000000000 --- a/packages/csharp/docs/Models/Components/One.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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/OpenEndedDateTime.md b/packages/csharp/docs/Models/Components/OpenEndedDateTime1.md similarity index 95% rename from packages/csharp/docs/Models/Components/OpenEndedDateTime.md rename to packages/csharp/docs/Models/Components/OpenEndedDateTime1.md index dff28b37c..79b7e78c6 100644 --- a/packages/csharp/docs/Models/Components/OpenEndedDateTime.md +++ b/packages/csharp/docs/Models/Components/OpenEndedDateTime1.md @@ -1,4 +1,4 @@ -# OpenEndedDateTime +# OpenEndedDateTime1 This is used to denote the open ended date time type of custom field. @@ -9,6 +9,6 @@ This is used to denote the open ended date time type of custom field. | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `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 | +| `Format` | [DateTimeDisplayFormat](../../Models/Components/DateTimeDisplayFormat.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/PageVisibilityJson.md b/packages/csharp/docs/Models/Components/PageVisibility.md similarity index 98% rename from packages/csharp/docs/Models/Components/PageVisibilityJson.md rename to packages/csharp/docs/Models/Components/PageVisibility.md index e8d7362e3..340430d1f 100644 --- a/packages/csharp/docs/Models/Components/PageVisibilityJson.md +++ b/packages/csharp/docs/Models/Components/PageVisibility.md @@ -1,4 +1,4 @@ -# PageVisibilityJson +# PageVisibility Visibility of the custom field on various pages/forms. diff --git a/packages/csharp/docs/Models/Components/PhoneNumber.md b/packages/csharp/docs/Models/Components/PhoneNumber.md new file mode 100644 index 000000000..071bb4e7a --- /dev/null +++ b/packages/csharp/docs/Models/Components/PhoneNumber.md @@ -0,0 +1,11 @@ +# PhoneNumber + +Phone Number + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `Type` | [PhoneType](../../Models/Components/PhoneType.md) | :heavy_check_mark: | The type of the phone number. | work | +| `Value` | *string* | :heavy_check_mark: | The phone number of the user. | +911234567890 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PhoneNumberJson1.md b/packages/csharp/docs/Models/Components/PhoneNumberJson1.md deleted file mode 100644 index ed160d401..000000000 --- a/packages/csharp/docs/Models/Components/PhoneNumberJson1.md +++ /dev/null @@ -1,11 +0,0 @@ -# PhoneNumberJson1 - -Phone Number - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Type` | [PhoneTypeJson](../../Models/Components/PhoneTypeJson.md) | :heavy_check_mark: | The type of the phone number. | work | -| `Value` | *string* | :heavy_check_mark: | The phone number of the user. | +911234567890 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PhoneTypeJson.md b/packages/csharp/docs/Models/Components/PhoneType.md similarity index 82% rename from packages/csharp/docs/Models/Components/PhoneTypeJson.md rename to packages/csharp/docs/Models/Components/PhoneType.md index 102a0ac49..aa5f3925e 100644 --- a/packages/csharp/docs/Models/Components/PhoneTypeJson.md +++ b/packages/csharp/docs/Models/Components/PhoneType.md @@ -1,4 +1,4 @@ -# PhoneTypeJson +# PhoneType The type of the phone number. @@ -7,7 +7,7 @@ The type of the phone number. ```csharp using Cvent.SDK.Models.Components; -var value = PhoneTypeJson.Work; +var value = PhoneType.Work; ``` diff --git a/packages/csharp/docs/Models/Components/AttributeReferenceTypeJson.md b/packages/csharp/docs/Models/Components/ReferenceType.md similarity index 80% rename from packages/csharp/docs/Models/Components/AttributeReferenceTypeJson.md rename to packages/csharp/docs/Models/Components/ReferenceType.md index ef41489c0..e610c9478 100644 --- a/packages/csharp/docs/Models/Components/AttributeReferenceTypeJson.md +++ b/packages/csharp/docs/Models/Components/ReferenceType.md @@ -1,4 +1,4 @@ -# AttributeReferenceTypeJson +# ReferenceType This is used to denote the reference type of the attribute. @@ -7,7 +7,7 @@ This is used to denote the reference type of the attribute. ```csharp using Cvent.SDK.Models.Components; -var value = AttributeReferenceTypeJson.User; +var value = ReferenceType.User; ``` diff --git a/packages/csharp/docs/Models/Components/ResourceType.md b/packages/csharp/docs/Models/Components/ResourceType.md index c29541fef..481f1f323 100644 --- a/packages/csharp/docs/Models/Components/ResourceType.md +++ b/packages/csharp/docs/Models/Components/ResourceType.md @@ -5,13 +5,13 @@ Resource Type ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `Name` | *string* | :heavy_minus_sign: | The name of the resource type. | User | -| `Description` | *string* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | -| `Endpoint` | *string* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | -| `Schema` | *string* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | -| `SchemaExtensions` | List<[ResourceTypeSchemaExtension](../../Models/Components/ResourceTypeSchemaExtension.md)> | :heavy_minus_sign: | The list of schema extensions for the resource type. | | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Schemas` | List<*string*> | :heavy_minus_sign: | The list of schemas using this resource. | | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | +| `Name` | *string* | :heavy_minus_sign: | The name of the resource type. | User | +| `Description` | *string* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | +| `Endpoint` | *string* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | +| `Schema` | *string* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | +| `SchemaExtensions` | List<[SchemaExtension](../../Models/Components/SchemaExtension.md)> | :heavy_minus_sign: | The list of schema extensions for the resource type. | | +| `Meta` | [Meta](../../Models/Components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ResourceTypeJson.md b/packages/csharp/docs/Models/Components/ResourceTypeJson.md deleted file mode 100644 index 39662f69e..000000000 --- a/packages/csharp/docs/Models/Components/ResourceTypeJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResourceTypeJson - -Resource Type - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `Name` | *string* | :heavy_minus_sign: | The name of the resource type. | User | -| `Description` | *string* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | -| `Endpoint` | *string* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | -| `Schema` | *string* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | -| `SchemaExtensions` | List<[ResourceTypeJsonSchemaExtension](../../Models/Components/ResourceTypeJsonSchemaExtension.md)> | :heavy_minus_sign: | The list of schema extensions for the resource type. | | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ResourceTypeJsonSchemaExtension.md b/packages/csharp/docs/Models/Components/ResourceTypeJsonSchemaExtension.md deleted file mode 100644 index a6fc21c2b..000000000 --- a/packages/csharp/docs/Models/Components/ResourceTypeJsonSchemaExtension.md +++ /dev/null @@ -1,9 +0,0 @@ -# ResourceTypeJsonSchemaExtension - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | -| `Schema` | *string* | :heavy_minus_sign: | The id of the schema extension | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `Required` | *bool* | :heavy_minus_sign: | True indicates if the schema extension is required. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ResourceTypes.md b/packages/csharp/docs/Models/Components/ResourceTypes.md index 031615b7a..5e7dd184e 100644 --- a/packages/csharp/docs/Models/Components/ResourceTypes.md +++ b/packages/csharp/docs/Models/Components/ResourceTypes.md @@ -5,10 +5,10 @@ Resource Types ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | -| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `TotalResults` | *long* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `Resources` | List<[ResourceTypeJson](../../Models/Components/ResourceTypeJson.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | +| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `TotalResults` | *long* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `Resources` | List<[ResourceType](../../Models/Components/ResourceType.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttributeReturnedTypeJson.md b/packages/csharp/docs/Models/Components/ReturnedType.md similarity index 80% rename from packages/csharp/docs/Models/Components/AttributeReturnedTypeJson.md rename to packages/csharp/docs/Models/Components/ReturnedType.md index 08810971a..ee2061c4f 100644 --- a/packages/csharp/docs/Models/Components/AttributeReturnedTypeJson.md +++ b/packages/csharp/docs/Models/Components/ReturnedType.md @@ -1,4 +1,4 @@ -# AttributeReturnedTypeJson +# ReturnedType This is used to denote the returned type of the attribute. @@ -7,7 +7,7 @@ This is used to denote the returned type of the attribute. ```csharp using Cvent.SDK.Models.Components; -var value = AttributeReturnedTypeJson.Always; +var value = ReturnedType.Always; ``` diff --git a/packages/csharp/docs/Models/Components/ResourceTypeSchemaExtension.md b/packages/csharp/docs/Models/Components/SchemaExtension.md similarity index 97% rename from packages/csharp/docs/Models/Components/ResourceTypeSchemaExtension.md rename to packages/csharp/docs/Models/Components/SchemaExtension.md index 0c02a54b7..aabf77800 100644 --- a/packages/csharp/docs/Models/Components/ResourceTypeSchemaExtension.md +++ b/packages/csharp/docs/Models/Components/SchemaExtension.md @@ -1,4 +1,4 @@ -# ResourceTypeSchemaExtension +# SchemaExtension ## Fields diff --git a/packages/csharp/docs/Models/Components/SchemaJson.md b/packages/csharp/docs/Models/Components/SchemaJson.md deleted file mode 100644 index 75fb90ef7..000000000 --- a/packages/csharp/docs/Models/Components/SchemaJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# SchemaJson - -Schema - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `Name` | *string* | :heavy_minus_sign: | The name of the schema. | User | -| `Description` | *string* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | -| `Attributes` | List<[AttributeJson](../../Models/Components/AttributeJson.md)> | :heavy_minus_sign: | The collection of attributes for the schema. | | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SchemeOAuth2ClientCredentials.md b/packages/csharp/docs/Models/Components/SchemeOAuth2ClientCredentials.md index 9fd7e60d8..aabd65a10 100644 --- a/packages/csharp/docs/Models/Components/SchemeOAuth2ClientCredentials.md +++ b/packages/csharp/docs/Models/Components/SchemeOAuth2ClientCredentials.md @@ -1,6 +1,6 @@ # SchemeOAuth2ClientCredentials -OAuth2 Client Credentials Flow +OAuth2 Client Credentials Flow. ## Fields diff --git a/packages/csharp/docs/Models/Components/SeatType.md b/packages/csharp/docs/Models/Components/SeatType.md index ae0e704fe..5390341e1 100644 --- a/packages/csharp/docs/Models/Components/SeatType.md +++ b/packages/csharp/docs/Models/Components/SeatType.md @@ -1,6 +1,6 @@ # SeatType -Type of the seat. +Preferred or assigned seat type for an air booking. ## Example Usage diff --git a/packages/csharp/docs/Models/Components/SendEmailEventRequest.md b/packages/csharp/docs/Models/Components/SendEmailEventRequest.md index 5ce872f81..9acbae365 100644 --- a/packages/csharp/docs/Models/Components/SendEmailEventRequest.md +++ b/packages/csharp/docs/Models/Components/SendEmailEventRequest.md @@ -8,6 +8,6 @@ Request object to send an email to one or more event attendees. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `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. | | +| `Email` | [EmailJson1](../../Models/Components/EmailJson1.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 adc584ad9..3bdefb79a 100644 --- a/packages/csharp/docs/Models/Components/SendEmailEventResponse.md +++ b/packages/csharp/docs/Models/Components/SendEmailEventResponse.md @@ -15,6 +15,6 @@ Response object containing a request ID and a list of all email responses sent t | `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` | [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. | | +| `Email` | [EmailJson1](../../Models/Components/EmailJson1.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/ServiceProviderConfig.md b/packages/csharp/docs/Models/Components/ServiceProviderConfig.md index b8a513c77..dca753a20 100644 --- a/packages/csharp/docs/Models/Components/ServiceProviderConfig.md +++ b/packages/csharp/docs/Models/Components/ServiceProviderConfig.md @@ -15,5 +15,5 @@ Service Provider Configs | `ChangePassword` | [ChangePassword](../../Models/Components/ChangePassword.md) | :heavy_minus_sign: | Config details for change password operations. | | | `Sort` | [Sort](../../Models/Components/Sort.md) | :heavy_minus_sign: | Config details for sort operations. | | | `Etag` | [Etag](../../Models/Components/Etag.md) | :heavy_minus_sign: | Config details for change e-tag operations. | | -| `AuthenticationSchemes` | List<[AuthenticationSchemaJson](../../Models/Components/AuthenticationSchemaJson.md)> | :heavy_minus_sign: | The collection of authentication schemas. | | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| `AuthenticationSchemes` | List<[AuthenticationSchema](../../Models/Components/AuthenticationSchema.md)> | :heavy_minus_sign: | The collection of authentication schemas. | | +| `Meta` | [Meta](../../Models/Components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TaxType.md b/packages/csharp/docs/Models/Components/TaxType1.md similarity index 92% rename from packages/csharp/docs/Models/Components/TaxType.md rename to packages/csharp/docs/Models/Components/TaxType1.md index f85df3167..d216b88c2 100644 --- a/packages/csharp/docs/Models/Components/TaxType.md +++ b/packages/csharp/docs/Models/Components/TaxType1.md @@ -1,4 +1,4 @@ -# TaxType +# TaxType1 Bid tax type. @@ -7,7 +7,7 @@ Bid tax type. ```csharp using Cvent.SDK.Models.Components; -var value = TaxType.CityTax; +var value = TaxType1.CityTax; ``` diff --git a/packages/csharp/docs/Models/Components/TicketType.md b/packages/csharp/docs/Models/Components/TicketType.md index f7fd17be3..c9e742e28 100644 --- a/packages/csharp/docs/Models/Components/TicketType.md +++ b/packages/csharp/docs/Models/Components/TicketType.md @@ -1,6 +1,6 @@ # TicketType -Category of the passenger's ticket. +Category of the passenger's ticket for an air booking. ## Example Usage diff --git a/packages/csharp/docs/Models/Components/Translation.md b/packages/csharp/docs/Models/Components/Translation.md index 996a0ff5e..62f3e349b 100644 --- a/packages/csharp/docs/Models/Components/Translation.md +++ b/packages/csharp/docs/Models/Components/Translation.md @@ -9,4 +9,4 @@ This is used to denote the translation of the custom field, including its name, | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | `NameTranslation` | *string* | :heavy_minus_sign: | Translation of the custom field's name. | Departamento | | `HelpTextTranslation` | *string* | :heavy_minus_sign: | Translation for the help text of the custom field. | El departamento donde trabaja. | -| `ChoiceTranslations` | List<[ChoiceTranslationJson](../../Models/Components/ChoiceTranslationJson.md)> | :heavy_minus_sign: | Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. | | \ No newline at end of file +| `ChoiceTranslations` | List<[ChoiceTranslation](../../Models/Components/ChoiceTranslation.md)> | :heavy_minus_sign: | Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Translation1.md b/packages/csharp/docs/Models/Components/Translation1.md index 9d38ded99..1028403bf 100644 --- a/packages/csharp/docs/Models/Components/Translation1.md +++ b/packages/csharp/docs/Models/Components/Translation1.md @@ -8,4 +8,4 @@ A custom-field translation for a particular language. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | | `Translation` | [Translation](../../Models/Components/Translation.md) | :heavy_check_mark: | This is used to denote the translation of the custom field, including its name, help text, and choice texts. | | -| `Language` | [LanguageJson](../../Models/Components/LanguageJson.md) | :heavy_check_mark: | IETF language code used to specify a target language for the translation. | es-ES | \ No newline at end of file +| `Language` | [Language1](../../Models/Components/Language1.md) | :heavy_check_mark: | IETF language code used to specify a target language for the translation. | es-ES | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelAccount.md b/packages/csharp/docs/Models/Components/TravelAccount.md index 7a2751933..9ddbba1e2 100644 --- a/packages/csharp/docs/Models/Components/TravelAccount.md +++ b/packages/csharp/docs/Models/Components/TravelAccount.md @@ -15,4 +15,4 @@ Travel account details. | `Name` | *string* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | | `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<[Address6](../../Models/Components/Address6.md)> | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file +| `Addresses` | List<[Address7](../../Models/Components/Address7.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/TravelBidTaxAndFee.md b/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md index 1546815bb..132b31b46 100644 --- a/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md +++ b/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md @@ -7,7 +7,7 @@ A tax or fee associated with a travel bid. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Code` | [TaxType](../../Models/Components/TaxType.md) | :heavy_minus_sign: | Bid tax type. | city_tax | +| `Code` | [TaxType1](../../Models/Components/TaxType1.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. | | diff --git a/packages/csharp/docs/Models/Components/Two.md b/packages/csharp/docs/Models/Components/Two.md deleted file mode 100644 index 909b68da3..000000000 --- a/packages/csharp/docs/Models/Components/Two.md +++ /dev/null @@ -1,11 +0,0 @@ -# Two - -This is used to denote the open ended comment box type of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `Minimum` | *long* | :heavy_minus_sign: | Minimum number/characters allowed. | 2 | -| `Maximum` | *long* | :heavy_minus_sign: | Maximum number/characters allowed. | 8 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttributeUniquenessTypeJson.md b/packages/csharp/docs/Models/Components/UniquenessType.md similarity index 77% rename from packages/csharp/docs/Models/Components/AttributeUniquenessTypeJson.md rename to packages/csharp/docs/Models/Components/UniquenessType.md index ea32ebdab..d3df4f368 100644 --- a/packages/csharp/docs/Models/Components/AttributeUniquenessTypeJson.md +++ b/packages/csharp/docs/Models/Components/UniquenessType.md @@ -1,4 +1,4 @@ -# AttributeUniquenessTypeJson +# UniquenessType This is used to denote the uniqueness type of the attribute. @@ -7,7 +7,7 @@ This is used to denote the uniqueness type of the attribute. ```csharp using Cvent.SDK.Models.Components; -var value = AttributeUniquenessTypeJson.None; +var value = UniquenessType.None; ``` diff --git a/packages/csharp/docs/Models/Components/User.md b/packages/csharp/docs/Models/Components/User.md index af6da97dc..9ec255a16 100644 --- a/packages/csharp/docs/Models/Components/User.md +++ b/packages/csharp/docs/Models/Components/User.md @@ -9,16 +9,16 @@ Generic sample User. Not a real model used by any Cvent service. | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Schemas` | List<*string*> | :heavy_minus_sign: | The list of schemas using this resource. | | | `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `Name` | [NameJson](../../Models/Components/NameJson.md) | :heavy_check_mark: | The name of the user. | | +| `Name` | [Name](../../Models/Components/Name.md) | :heavy_check_mark: | The name of the user. | | | `UserName` | *string* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | | `Active` | *bool* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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. | | +| `Emails` | List<[Email](../../Models/Components/Email.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<[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 | +| `PhoneNumbers` | List<[PhoneNumber](../../Models/Components/PhoneNumber.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<[Address5](../../Models/Components/Address5.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` | [UserType](../../Models/Components/UserType.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 | -| `Groups` | List<[GroupJson](../../Models/Components/GroupJson.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `UrnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtensionJson](../../Models/Components/UserEnterpriseExtensionJson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| `Groups` | List<[Group](../../Models/Components/Group.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | +| `UrnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtension](../../Models/Components/UserEnterpriseExtension.md) | :heavy_check_mark: | Enterprise extension model for the user. | | +| `Meta` | [Meta](../../Models/Components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UserEnterpriseExtensionJson.md b/packages/csharp/docs/Models/Components/UserEnterpriseExtension.md similarity index 99% rename from packages/csharp/docs/Models/Components/UserEnterpriseExtensionJson.md rename to packages/csharp/docs/Models/Components/UserEnterpriseExtension.md index 6ad26bfd7..7f6cd34ec 100644 --- a/packages/csharp/docs/Models/Components/UserEnterpriseExtensionJson.md +++ b/packages/csharp/docs/Models/Components/UserEnterpriseExtension.md @@ -1,4 +1,4 @@ -# UserEnterpriseExtensionJson +# UserEnterpriseExtension Enterprise extension model for the user. diff --git a/packages/csharp/docs/Models/Components/UserGroups.md b/packages/csharp/docs/Models/Components/UserGroups.md index 1f2c36b83..ef9a2d3f4 100644 --- a/packages/csharp/docs/Models/Components/UserGroups.md +++ b/packages/csharp/docs/Models/Components/UserGroups.md @@ -5,10 +5,10 @@ Groups ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | -| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `TotalResults` | *long* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `Resources` | List<[GroupJson0](../../Models/Components/GroupJson0.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | +| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `TotalResults` | *long* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `Resources` | List<[Group1](../../Models/Components/Group1.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UserInput.md b/packages/csharp/docs/Models/Components/UserInput.md index 8a30c8d58..8f2f57642 100644 --- a/packages/csharp/docs/Models/Components/UserInput.md +++ b/packages/csharp/docs/Models/Components/UserInput.md @@ -7,15 +7,15 @@ Generic sample User. Not a real model used by any Cvent service. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Name` | [NameJson](../../Models/Components/NameJson.md) | :heavy_check_mark: | The name of the user. | | +| `Name` | [Name](../../Models/Components/Name.md) | :heavy_check_mark: | The name of the user. | | | `UserName` | *string* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | | `Active` | *bool* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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. | | +| `Emails` | List<[Email](../../Models/Components/Email.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<[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 | +| `PhoneNumbers` | List<[PhoneNumber](../../Models/Components/PhoneNumber.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<[Address5](../../Models/Components/Address5.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` | [UserType](../../Models/Components/UserType.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 | -| `Groups` | List<[GroupJson](../../Models/Components/GroupJson.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `UrnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtensionJson](../../Models/Components/UserEnterpriseExtensionJson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | \ No newline at end of file +| `Groups` | List<[Group](../../Models/Components/Group.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | +| `UrnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtension](../../Models/Components/UserEnterpriseExtension.md) | :heavy_check_mark: | Enterprise extension model for the user. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UserJson.md b/packages/csharp/docs/Models/Components/UserJson.md deleted file mode 100644 index f10034d17..000000000 --- a/packages/csharp/docs/Models/Components/UserJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# UserJson - -Generic sample User. Not a real model used by any Cvent service. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `Name` | [NameJson](../../Models/Components/NameJson.md) | :heavy_check_mark: | The name of the user. | | -| `UserName` | *string* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | -| `Active` | *bool* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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<[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 | -| `Groups` | List<[GroupJson](../../Models/Components/GroupJson.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `UrnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtensionJson](../../Models/Components/UserEnterpriseExtensionJson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UserTypeJson.md b/packages/csharp/docs/Models/Components/UserType.md similarity index 80% rename from packages/csharp/docs/Models/Components/UserTypeJson.md rename to packages/csharp/docs/Models/Components/UserType.md index e1903c5a0..44076b21a 100644 --- a/packages/csharp/docs/Models/Components/UserTypeJson.md +++ b/packages/csharp/docs/Models/Components/UserType.md @@ -1,4 +1,4 @@ -# UserTypeJson +# UserType The type of the user. @@ -7,7 +7,7 @@ The type of the user. ```csharp using Cvent.SDK.Models.Components; -var value = UserTypeJson.PlannerAccountUser; +var value = UserType.PlannerAccountUser; ``` diff --git a/packages/csharp/docs/Models/Components/Users.md b/packages/csharp/docs/Models/Components/Users.md index 12ece4bde..554e957f0 100644 --- a/packages/csharp/docs/Models/Components/Users.md +++ b/packages/csharp/docs/Models/Components/Users.md @@ -5,10 +5,10 @@ A page in a paginated list of SCIM users. This would return the list of users. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | -| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of users per page. | 50 | -| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `TotalResults` | *long* | :heavy_minus_sign: | The total count of users. | 5 | -| `Resources` | List<[UserJson](../../Models/Components/UserJson.md)> | :heavy_minus_sign: | The collection of user resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | +| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of users per page. | 50 | +| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `TotalResults` | *long* | :heavy_minus_sign: | The total count of users. | 5 | +| `Resources` | List<[User](../../Models/Components/User.md)> | :heavy_minus_sign: | The collection of user resources. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UsersSchema.md b/packages/csharp/docs/Models/Components/UsersSchema.md index 439f4f3fe..60c04e451 100644 --- a/packages/csharp/docs/Models/Components/UsersSchema.md +++ b/packages/csharp/docs/Models/Components/UsersSchema.md @@ -5,10 +5,10 @@ Schema ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `Name` | *string* | :heavy_minus_sign: | The name of the schema. | User | -| `Description` | *string* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | -| `Attributes` | List<[AttributeJson](../../Models/Components/AttributeJson.md)> | :heavy_minus_sign: | The collection of attributes for the schema. | | -| `Meta` | [MetaJson](../../Models/Components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | +| `Name` | *string* | :heavy_minus_sign: | The name of the schema. | User | +| `Description` | *string* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | +| `Attributes` | List<[Attribute](../../Models/Components/Attribute.md)> | :heavy_minus_sign: | The collection of attributes for the schema. | | +| `Meta` | [Meta](../../Models/Components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UsersSchemas.md b/packages/csharp/docs/Models/Components/UsersSchemas.md index 579e32b25..b361efbd5 100644 --- a/packages/csharp/docs/Models/Components/UsersSchemas.md +++ b/packages/csharp/docs/Models/Components/UsersSchemas.md @@ -5,10 +5,10 @@ Schemas ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | -| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `TotalResults` | *long* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `Resources` | List<[SchemaJson](../../Models/Components/SchemaJson.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of user schemas. | | +| `ItemsPerPage` | *long* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `TotalResults` | *long* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `Resources` | List<[UsersSchema](../../Models/Components/UsersSchema.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroOneOf2.md b/packages/csharp/docs/Models/Components/ZeroOneOf.md similarity index 98% rename from packages/csharp/docs/Models/Components/ZeroOneOf2.md rename to packages/csharp/docs/Models/Components/ZeroOneOf.md index 0317560d5..8a8cbcfbb 100644 --- a/packages/csharp/docs/Models/Components/ZeroOneOf2.md +++ b/packages/csharp/docs/Models/Components/ZeroOneOf.md @@ -1,4 +1,4 @@ -# ZeroOneOf2 +# ZeroOneOf AttendeeAddResponse diff --git a/packages/csharp/docs/Models/Components/ZeroOneOf1.md b/packages/csharp/docs/Models/Components/ZeroOneOf1.md deleted file mode 100644 index 13807a8e2..000000000 --- a/packages/csharp/docs/Models/Components/ZeroOneOf1.md +++ /dev/null @@ -1,12 +0,0 @@ -# ZeroOneOf1 - -This is used to denote the open ended one line type of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `AnswerFormat` | *string* | :heavy_minus_sign: | The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI. | General | -| `Minimum` | *long* | :heavy_minus_sign: | Minimum number/characters allowed. | 2 | -| `Maximum` | *long* | :heavy_minus_sign: | Maximum number/characters allowed. | 8 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/BadRequestException.md b/packages/csharp/docs/Models/Errors/BadRequestException.md index bd78a6306..23b3cb20f 100644 --- a/packages/csharp/docs/Models/Errors/BadRequestException.md +++ b/packages/csharp/docs/Models/Errors/BadRequestException.md @@ -7,6 +7,6 @@ A bad token response. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ErrorDescription` | *string* | :heavy_minus_sign: | May be returned with additional information regarding the error. | | +| `ErrorDescription` | *string* | :heavy_minus_sign: | Additional error information, when available. | | | `Error` | [Error](../../Models/Errors/Error.md) | :heavy_minus_sign: | **invalid_request**

The request is missing a required parameter, includes an unsupported parameter value (other than unsupported_grant_type), or is otherwise malformed. For example, grant_type is refresh_token but refresh_token is not included.

**invalid_client**

Client authentication failed. For example, when the client includes client_id and client_secret in the authorization header, but there's no such client with that client_id and client_secret.

**invalid_grant**

Refresh token has been revoked.

Authorization code has been consumed already or does not exist.

**unauthorized_client**

Client is not allowed for code grant flow or for refreshing tokens.

**unsupported_grant_type**

Returned if grant_type is anything other than authorization_code or refresh_token.
| invalid_request | | `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/ErrorResponse.md b/packages/csharp/docs/Models/Errors/ErrorResponse.md new file mode 100644 index 000000000..0441459d5 --- /dev/null +++ b/packages/csharp/docs/Models/Errors/ErrorResponse.md @@ -0,0 +1,13 @@ +# ErrorResponse + +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 diff --git a/packages/csharp/docs/Models/Errors/ErrorResponse2.md b/packages/csharp/docs/Models/Errors/ErrorResponse2.md index 3fb426621..2be98c601 100644 --- a/packages/csharp/docs/Models/Errors/ErrorResponse2.md +++ b/packages/csharp/docs/Models/Errors/ErrorResponse2.md @@ -1,13 +1,13 @@ # ErrorResponse2 -Represents an error response with additional details of cascading error messages. +The error response. ## 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 | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `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` | [ErrorScimType](../../Models/Components/ErrorScimType.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/ErrorResponseJson12.md b/packages/csharp/docs/Models/Errors/ErrorResponseJson12.md deleted file mode 100644 index b84e08800..000000000 --- a/packages/csharp/docs/Models/Errors/ErrorResponseJson12.md +++ /dev/null @@ -1,13 +0,0 @@ -# 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/Requests/GrantType.md b/packages/csharp/docs/Models/Requests/GrantType.md index 288c08768..9aebf60a2 100644 --- a/packages/csharp/docs/Models/Requests/GrantType.md +++ b/packages/csharp/docs/Models/Requests/GrantType.md @@ -1,6 +1,6 @@ # GrantType -The grant type. +Controls the OAuth2 grant flow used to obtain tokens. ## Example Usage diff --git a/packages/csharp/docs/Models/Requests/ListCustomFieldsRequest.md b/packages/csharp/docs/Models/Requests/ListCustomFieldsRequest.md index 5f593e280..99ef45d18 100644 --- a/packages/csharp/docs/Models/Requests/ListCustomFieldsRequest.md +++ b/packages/csharp/docs/Models/Requests/ListCustomFieldsRequest.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_check_mark: | 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)
* category (eq) *(Required, one category can be provided at a time)*
* lastModified (eq\|ne\|lt\|le\|gt\|ge)
* code (eq\|ne) *(Case insensitive)*
| category eq 'Event' and lastModified gt '2021-03-19T11:30:37.909Z' and code eq 'FAVORITE_COLOR_CODE' | \ 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_check_mark: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------\|-------------------------------------\|-------\|
\| id \| `eq`, `ne` \| \|
\| category \| `eq` \| Required, one category can be provided at a time \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| code \| `eq`, `ne` \| Case insensitive \|

The following logical operators are supported for combining filters:
* and
* or
| category eq 'Event' and lastModified gt '2021-03-19T11:30:37.909Z' and code eq 'FAVORITE_COLOR_CODE' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListUsersRequest.md b/packages/csharp/docs/Models/Requests/ListUsersRequest.md index d9e35c4b6..d0a96c7ad 100644 --- a/packages/csharp/docs/Models/Requests/ListUsersRequest.md +++ b/packages/csharp/docs/Models/Requests/ListUsersRequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | | -| `Count` | *long* | :heavy_minus_sign: | The count of records to be retrieved in a response. | | -| `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'.

The following comparison types 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:
* userName (eq\|ne)
* groups.value (eq\|ne)
* active (eq\|ne)
* id (eq\|nq)
* emails.value (eq\|ne)
* meta.lastModified (eq\|ne\|lt\|le\|gt\|ge)
* meta.created (eq\|ne\|lt\|le\|gt\|ge)

The following operators are available:
* and
* or
| userName eq 'john@example.com' or userName eq 'Matt@example.com' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `StartIndex` | *long* | :heavy_minus_sign: | Starting index of the response. | | +| `Count` | *long* | :heavy_minus_sign: | The count of records to be retrieved in a response. | | +| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------------------\|------------------------------------\|
\| userName \| `eq`, `ne` \|
\| groups.value \| `eq`, `ne` \|
\| active \| `eq`, `ne` \|
\| id \| `eq`, `ne` \|
\| emails.value \| `eq`, `ne` \|
\| meta.lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| meta.created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| userName eq 'john@example.com' or userName eq 'Matt@example.com' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/Oauth2AuthorizeRequest.md b/packages/csharp/docs/Models/Requests/Oauth2AuthorizeRequest.md index 03886d4ee..36cbb3022 100644 --- a/packages/csharp/docs/Models/Requests/Oauth2AuthorizeRequest.md +++ b/packages/csharp/docs/Models/Requests/Oauth2AuthorizeRequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ResponseType` | [ResponseType](../../Models/Requests/ResponseType.md) | :heavy_check_mark: | The response type must be code. Indicates the client wants an authorization code (authorization code grant flow).

**Note:** *implicit flow* or the *token* value is not supported at this time.
| code | -| `ClientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| ad398u21ijw3s9w3939 | -| `RedirectUri` | *string* | :heavy_check_mark: | The URL to which the authentication server redirects the browser after authorization has been granted by the user.

A redirect URI must:

* Be an absolute URI.
* Be pre-registered with a client.
* **NOT** include a fragment component.
* Wildcards are **NOT** supported

Requires HTTPS over HTTP except for http://localhost for testing purposes only.

**Note:** App callback URLs such as *com.myclientapp://myclient/redirect* are also supported.
| https://example.com/redirect | -| `State` | *string* | :heavy_minus_sign: | An opaque value the client application adds to the initial request. The authorization server
includes this value when redirecting back to the client.

This value must be used by the client to prevent CSRF attacks.

**Optional** but strongly recommended.
| STATE | -| `Scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Scopes must be separated by spaces.
Any scope used must be pre-associated with the client or it will be ignored at runtime.

**Note:** If the client doesn't request any scopes, the authentication server uses all
scopes associated with the client.
| event/events:read event/attendees:read | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `ResponseType` | [ResponseType](../../Models/Requests/ResponseType.md) | :heavy_check_mark: | The response type must be code. Indicates the client wants an authorization code (authorization code grant flow).

**Note:** *implicit flow* or the *token* value is not supported at this time.
| code | +| `ClientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| ad398u21ijw3s9w3939 | +| `RedirectUri` | *string* | :heavy_check_mark: | The URL to which the authorization server redirects the browser after authorization has been granted by the user.

A redirect URI must:

* Be an absolute URI.
* Be pre-registered with a client.
* **NOT** include a fragment component.
* Wildcards are **NOT** supported

Requires HTTPS over HTTP except for http://localhost for testing purposes only.

**Note:** App callback URLs such as *com.myclientapp://myclient/redirect* are also supported.
| https://example.com/redirect | +| `State` | *string* | :heavy_minus_sign: | An opaque value the client application adds to the initial request. The authorization server
includes this value when redirecting back to the client.

This value must be used by the client to prevent CSRF attacks.

**Optional** but strongly recommended.
| abc123xyz | +| `Scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Scopes must be separated by spaces.
Any scope used must be pre-associated with the client or it will be ignored at runtime.

**Note:** If the client doesn't request any scopes, the authorization server uses all
scopes associated with the client.
| event/events:read event/attendees:read | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/Oauth2TokenRequest.md b/packages/csharp/docs/Models/Requests/Oauth2TokenRequest.md index 636ce8c25..16961d08c 100644 --- a/packages/csharp/docs/Models/Requests/Oauth2TokenRequest.md +++ b/packages/csharp/docs/Models/Requests/Oauth2TokenRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `GrantType` | [GrantType](../../Models/Requests/GrantType.md) | :heavy_check_mark: | The grant type. | client_credentials | -| `ClientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| djc98u3jiedmi283eu928 | -| `Scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime.
If the client doesn't request any scopes, the authentication server uses all scopes associated with the client.

**Optional** - Only used if the grant_type is client_credentials.
| event/events:read event/attendees:read | -| `RedirectUri` | *string* | :heavy_minus_sign: | Must be the same *redirect_uri* that was used to get *authorization_code* in */oauth2/authorize*.

**Required only if grant_type is authorization_code.**
| https://example.com/redirect | -| `RefreshToken` | *string* | :heavy_minus_sign: | The refresh token.

**Note:** The token endpoint returns *refresh_token* only when the grant_type is *authorization_code*.
| dn43ud8uj32nk2je | -| `Code` | *string* | :heavy_minus_sign: | The code that is returned from a successful */oauth2/authorize*.

**Required if grant_type is authorization_code.**
| AUTHORIZATION_CODE | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `GrantType` | [GrantType](../../Models/Requests/GrantType.md) | :heavy_check_mark: | Controls the OAuth2 grant flow used to obtain tokens. | client_credentials | +| `ClientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| djc98u3jiedmi283eu928 | +| `Scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime.
If the client doesn't request any scopes, the authorization server uses all scopes associated with the client.

**Optional** - Only used if the grant_type is client_credentials.
| event/events:read event/attendees:read | +| `RedirectUri` | *string* | :heavy_minus_sign: | Must be the same *redirect_uri* that was used to get *authorization_code* in */oauth2/authorize*.

**Required only if grant_type is authorization_code.**
| https://example.com/redirect | +| `RefreshToken` | *string* | :heavy_minus_sign: | The refresh token.

**Note:** The token endpoint returns *refresh_token* only when the grant_type is *authorization_code*.
| dn43ud8uj32nk2je | +| `Code` | *string* | :heavy_minus_sign: | The code that is returned from a successful */oauth2/authorize*.

**Required if grant_type is authorization_code.**
| AUTHORIZATION_CODE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/Oauth2TokenResponseBody.md b/packages/csharp/docs/Models/Requests/Oauth2TokenResponseBody.md index 45212f539..8ebd94134 100644 --- a/packages/csharp/docs/Models/Requests/Oauth2TokenResponseBody.md +++ b/packages/csharp/docs/Models/Requests/Oauth2TokenResponseBody.md @@ -9,5 +9,5 @@ A successful response returning an access token and a possible refresh token. | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `AccessToken` | *string* | :heavy_check_mark: | The access token contains scopes and groups and is used to grant access to authorized resources. | eyJz9sdfsdfsdfsd | | `RefreshToken` | *string* | :heavy_minus_sign: | The refresh token contains the information necessary to obtain a new access token. | dn43ud8uj32nk2je | -| `TokenType` | *string* | :heavy_check_mark: | The token type. | Bearer | +| `TokenType` | *string* | :heavy_check_mark: | The OAuth2 token type. Always `Bearer`. | Bearer | | `ExpiresIn` | *long* | :heavy_minus_sign: | The lifetime in seconds of the access token. | 3600 | \ 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 db82b1355..8f50f8f8a 100644 --- a/packages/csharp/docs/sdks/appointments/README.md +++ b/packages/csharp/docs/sdks/appointments/README.md @@ -546,7 +546,7 @@ var res = await sdk.Appointments.CreateAppointmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -618,7 +618,7 @@ var res = await sdk.Appointments.UpdateAppointmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/audiencesegments/README.md b/packages/csharp/docs/sdks/audiencesegments/README.md index 47c0c339c..7b0b1a883 100644 --- a/packages/csharp/docs/sdks/audiencesegments/README.md +++ b/packages/csharp/docs/sdks/audiencesegments/README.md @@ -242,7 +242,7 @@ 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.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -481,7 +481,7 @@ var res = await sdk.AudienceSegments.UpdateAudienceSegmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -646,7 +646,7 @@ 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.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/authentication/README.md b/packages/csharp/docs/sdks/authentication/README.md index 9564e8955..dd0f5358c 100644 --- a/packages/csharp/docs/sdks/authentication/README.md +++ b/packages/csharp/docs/sdks/authentication/README.md @@ -2,20 +2,17 @@ ## Overview -Available endpoints used to initiate an authentication request to obtain and validate an access token. +Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. ### Available Operations -* [Oauth2Authorize](#oauth2authorize) - Authorize -* [Oauth2Token](#oauth2token) - Token +* [Oauth2Authorize](#oauth2authorize) - Get Authorization Code +* [Oauth2Token](#oauth2token) - Get Token * [ValidateToken](#validatetoken) - Validate Token ## Oauth2Authorize -The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser. - -The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint -except for http://localhost for testing purposes only. +Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via [Get Token](#operation/oauth2Token) to obtain an access token. ### Example Usage @@ -39,7 +36,7 @@ Oauth2AuthorizeRequest req = new Oauth2AuthorizeRequest() { ResponseType = ResponseType.Code, ClientId = "ad398u21ijw3s9w3939", RedirectUri = "https://example.com/redirect", - State = "STATE", + State = "abc123xyz", Scope = "event/events:read event/attendees:read", }; @@ -66,7 +63,7 @@ var res = await sdk.Authentication.Oauth2AuthorizeAsync(req); ## Oauth2Token -Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. +Obtains an access token and, optionally, a refresh token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. diff --git a/packages/csharp/docs/sdks/bulk/README.md b/packages/csharp/docs/sdks/bulk/README.md index 48375d3ee..b696b61de 100644 --- a/packages/csharp/docs/sdks/bulk/README.md +++ b/packages/csharp/docs/sdks/bulk/README.md @@ -111,7 +111,7 @@ var res = await sdk.Bulk.CreateBulkJobAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 409 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -284,7 +284,7 @@ var res = await sdk.Bulk.UploadBulkJobDataAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 409 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -391,6 +391,6 @@ var res = await sdk.Bulk.RunBulkJobAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 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/customfields/README.md b/packages/csharp/docs/sdks/customfields/README.md index a53b019d3..7c14e0af2 100644 --- a/packages/csharp/docs/sdks/customfields/README.md +++ b/packages/csharp/docs/sdks/customfields/README.md @@ -97,10 +97,10 @@ var sdk = new CventSDK(security: new Security() { }); CustomField3 req = new CustomField3() { - Category = CustomFieldCategoryJson.Contact, + Category = CustomFieldCategory.Contact, Name = "What is a your favorite color?", Code = "FAVORITE_COLOR_CODE", - Type = CustomFieldTypeJson.OpenEndedTextOneLine, + Type = CustomFieldType2.OpenEndedTextOneLine, Details = CustomField3Details.CreateOpenEndedOneLine( new OpenEndedOneLine() { AnswerFormat = "General", @@ -162,14 +162,14 @@ var sdk = new CventSDK(security: new Security() { UpdateCustomFieldRequest req = new UpdateCustomFieldRequest() { CustomFieldId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", ExistingCustomField = new ExistingCustomFieldInput() { - Category = CustomFieldCategoryJson.Contact, + Category = CustomFieldCategory.Contact, Name = "What is a your favorite color?", Code = "FAVORITE_COLOR_CODE", - Type = CustomFieldTypeJson.OpenEndedTextOneLine, - Details = ExistingCustomFieldDetailsInput.CreateThreeInput( - new ThreeInput() { - Choices = new List() { - new ChoiceJson2Input() { + Type = CustomFieldType2.OpenEndedTextOneLine, + Details = ExistingCustomFieldDetailsInput.CreateChoices1Input( + new Choices1Input() { + Choices = new List() { + new Choice2Input() { Text = "What is your current designation?", }, }, @@ -336,13 +336,13 @@ CreateCustomFieldTranslationRequest req = new CreateCustomFieldTranslationReques Translation = new Translation() { NameTranslation = "Departamento", HelpTextTranslation = "El departamento donde trabaja.", - ChoiceTranslations = new List() { - new ChoiceTranslationJson() { + ChoiceTranslations = new List() { + new ChoiceTranslation() { TranslatedText = "Departamento de Tecnología", }, }, }, - Language = LanguageJson.Eses, + Language = Language1.Eses, }, }; @@ -399,13 +399,13 @@ UpdateCustomFieldTranslationRequest req = new UpdateCustomFieldTranslationReques Translation = new Translation() { NameTranslation = "Departamento", HelpTextTranslation = "El departamento donde trabaja.", - ChoiceTranslations = new List() { - new ChoiceTranslationJson() { + ChoiceTranslations = new List() { + new ChoiceTranslation() { TranslatedText = "Departamento de Tecnología", }, }, }, - Language = LanguageJson.Eses, + Language = Language1.Eses, }, }; diff --git a/packages/csharp/docs/sdks/events/README.md b/packages/csharp/docs/sdks/events/README.md index de191e777..2530a82e4 100644 --- a/packages/csharp/docs/sdks/events/README.md +++ b/packages/csharp/docs/sdks/events/README.md @@ -573,7 +573,7 @@ SendEmailEventRequest req = new SendEmailEventRequest() { Event = new EventJson6() { Id = "a150f1ee-6c54-4b01-90e6-d701748f0851", }, - Email = new EmailJson2() { + Email = new EmailJson1() { Id = "a150f1ee-6c54-4b01-90e6-d701748f0851", }, ResendToPreviousRecipients = true, diff --git a/packages/csharp/docs/sdks/exhibitor/README.md b/packages/csharp/docs/sdks/exhibitor/README.md index 72e8b78d2..6ff97ed34 100644 --- a/packages/csharp/docs/sdks/exhibitor/README.md +++ b/packages/csharp/docs/sdks/exhibitor/README.md @@ -1446,7 +1446,7 @@ var res = await sdk.Exhibitor.PostRegistrationPackAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 409 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -1673,7 +1673,7 @@ var res = await sdk.Exhibitor.DeleteRegistrationPackAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 409 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/exhibitorcontent/README.md b/packages/csharp/docs/sdks/exhibitorcontent/README.md index 9ff17db0c..1ab4b9bd8 100644 --- a/packages/csharp/docs/sdks/exhibitorcontent/README.md +++ b/packages/csharp/docs/sdks/exhibitorcontent/README.md @@ -180,7 +180,7 @@ var res = await sdk.ExhibitorContent.UpdateExhibitorFileAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -346,7 +346,7 @@ var res = await sdk.ExhibitorContent.CreateExhibitorWeblinkAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -462,7 +462,7 @@ var res = await sdk.ExhibitorContent.UpdateExhibitorWeblinkAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/housing/README.md b/packages/csharp/docs/sdks/housing/README.md index aa79cf2a8..a522c8602 100644 --- a/packages/csharp/docs/sdks/housing/README.md +++ b/packages/csharp/docs/sdks/housing/README.md @@ -875,7 +875,7 @@ var res = await sdk.Housing.UpdateReservationRequestAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 400 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | @@ -923,7 +923,7 @@ var res = await sdk.Housing.CancelReservationRequestAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 400 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/meetingrequest/README.md b/packages/csharp/docs/sdks/meetingrequest/README.md index 8d81ce26c..2da7efceb 100644 --- a/packages/csharp/docs/sdks/meetingrequest/README.md +++ b/packages/csharp/docs/sdks/meetingrequest/README.md @@ -168,7 +168,7 @@ var res = await sdk.MeetingRequest.GetMRFByIdAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/sessions/README.md b/packages/csharp/docs/sdks/sessions/README.md index 76253bac0..218ab52cf 100644 --- a/packages/csharp/docs/sdks/sessions/README.md +++ b/packages/csharp/docs/sdks/sessions/README.md @@ -573,7 +573,7 @@ var res = await sdk.Sessions.RelateProgramItemToSessionDocumentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 409 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/speakers/README.md b/packages/csharp/docs/sdks/speakers/README.md index 86a7b2918..2dfb7e39f 100644 --- a/packages/csharp/docs/sdks/speakers/README.md +++ b/packages/csharp/docs/sdks/speakers/README.md @@ -183,7 +183,7 @@ var res = await sdk.Speakers.CreateSessionProgramSpeakerAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse | 409 | application/json | | Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | diff --git a/packages/csharp/docs/sdks/userscim/README.md b/packages/csharp/docs/sdks/userscim/README.md index faa485291..7b2e95283 100644 --- a/packages/csharp/docs/sdks/userscim/README.md +++ b/packages/csharp/docs/sdks/userscim/README.md @@ -61,10 +61,10 @@ var res = await sdk.UserSCIM.GetUserGroupsAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetResourceTypes @@ -100,10 +100,10 @@ var res = await sdk.UserSCIM.GetResourceTypesAsync(); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetResourceType @@ -150,10 +150,10 @@ var res = await sdk.UserSCIM.GetResourceTypeAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetSchemas @@ -189,10 +189,10 @@ var res = await sdk.UserSCIM.GetSchemasAsync(); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetSchema @@ -239,10 +239,10 @@ var res = await sdk.UserSCIM.GetSchemaAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetServiceProviderConfig @@ -278,10 +278,10 @@ var res = await sdk.UserSCIM.GetServiceProviderConfigAsync(); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CreateUser @@ -308,24 +308,24 @@ var sdk = new CventSDK(security: new Security() { }); UserInput req = new UserInput() { - Name = new NameJson() { + Name = new Name() { GivenName = "Mike", FamilyName = "Stuart", MiddleName = "A", HonorificPrefix = "Mr.", }, UserName = "aMike@test.com", - Emails = new List() {}, + Emails = new List() {}, Title = "Vice President", - PhoneNumbers = new List() { - new PhoneNumberJson1() { - Type = PhoneTypeJson.Work, + PhoneNumbers = new List() { + new PhoneNumber() { + Type = PhoneType.Work, Value = "+911234567890", }, }, - Addresses = new List() { - new AddressJson2() { - Type = AddressTypeJson.Work, + Addresses = new List() { + new Address5() { + Type = AddressType1.Work, StreetAddress = "100 Universal City Plaza", Locality = "Hollywood", Region = "CA", @@ -334,10 +334,10 @@ UserInput req = new UserInput() { Primary = true, }, }, - UserType = UserTypeJson.PlannerAccountUser, + UserType = UserType.PlannerAccountUser, Locale = "en-US", - Groups = new List() {}, - UrnIetfParamsScimSchemasExtensionEnterprise20User = new UserEnterpriseExtensionJson() { + Groups = new List() {}, + UrnIetfParamsScimSchemasExtensionEnterprise20User = new UserEnterpriseExtension() { FederatedId = "AKJU783UP", Company = "Cvent", WorkFax = "+1123456", @@ -363,10 +363,10 @@ var res = await sdk.UserSCIM.CreateUserAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 409, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 409, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## ListUsers @@ -413,10 +413,10 @@ var res = await sdk.UserSCIM.ListUsersAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetUser @@ -463,10 +463,10 @@ var res = await sdk.UserSCIM.GetUserAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## UpdateUser @@ -496,24 +496,24 @@ var sdk = new CventSDK(security: new Security() { UpdateUserRequest req = new UpdateUserRequest() { Id = "id1", User = new UserInput() { - Name = new NameJson() { + Name = new Name() { GivenName = "Mike", FamilyName = "Stuart", MiddleName = "A", HonorificPrefix = "Mr.", }, UserName = "aMike@test.com", - Emails = new List() {}, + Emails = new List() {}, Title = "Vice President", - PhoneNumbers = new List() { - new PhoneNumberJson1() { - Type = PhoneTypeJson.Work, + PhoneNumbers = new List() { + new PhoneNumber() { + Type = PhoneType.Work, Value = "+911234567890", }, }, - Addresses = new List() { - new AddressJson2() { - Type = AddressTypeJson.Work, + Addresses = new List() { + new Address5() { + Type = AddressType1.Work, StreetAddress = "100 Universal City Plaza", Locality = "Hollywood", Region = "CA", @@ -522,15 +522,15 @@ UpdateUserRequest req = new UpdateUserRequest() { Primary = true, }, }, - UserType = UserTypeJson.PlannerAccountUser, + UserType = UserType.PlannerAccountUser, Locale = "en-US", - Groups = new List() { - new GroupJson() { + Groups = new List() { + new Group() { Value = "3b2359a7-4583-40ed-8afd-67e5f15373d3", Display = "Admin", }, }, - UrnIetfParamsScimSchemasExtensionEnterprise20User = new UserEnterpriseExtensionJson() { + UrnIetfParamsScimSchemasExtensionEnterprise20User = new UserEnterpriseExtension() { FederatedId = "AKJU783UP", Company = "Cvent", WorkFax = "+1123456", @@ -557,10 +557,10 @@ var res = await sdk.UserSCIM.UpdateUserAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DeleteUser @@ -607,7 +607,7 @@ var res = await sdk.UserSCIM.DeleteUserAsync(req); ### Errors -| Error Type | Status Code | Content Type | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 404, 429 | application/json | -| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Appointments.cs b/packages/csharp/src/Cvent/SDK/Appointments.cs index b7690e318..26bcc8e5a 100644 --- a/packages/csharp/src/Cvent/SDK/Appointments.cs +++ b/packages/csharp/src/Cvent/SDK/Appointments.cs @@ -212,7 +212,7 @@ public Task ListAppointmentTypesAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -233,7 +233,7 @@ public Task CreateAppointmentAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -1881,7 +1881,7 @@ public async Task ListAppointmentTypesAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -2015,17 +2015,17 @@ public async Task CreateAppointmentAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -2075,7 +2075,7 @@ public async Task CreateAppointmentAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -2209,17 +2209,17 @@ public async Task UpdateAppointmentAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/AudienceSegments.cs b/packages/csharp/src/Cvent/SDK/AudienceSegments.cs index 0e84b8b7a..78dd15a05 100644 --- a/packages/csharp/src/Cvent/SDK/AudienceSegments.cs +++ b/packages/csharp/src/Cvent/SDK/AudienceSegments.cs @@ -107,7 +107,7 @@ 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. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -195,7 +195,7 @@ public Task GetAudienceSegmentByIdAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -257,7 +257,7 @@ 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. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -871,7 +871,7 @@ 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. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -1025,17 +1025,17 @@ public async Task CreateAudienceSegmentAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1665,7 +1665,7 @@ public async Task GetAudienceSegmentByIdAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -1799,17 +1799,17 @@ public async Task UpdateAudienceSegmentAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -2209,7 +2209,7 @@ 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. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -2339,17 +2339,17 @@ public async Task AssociateAttendeeToSegment if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/Authentication.cs b/packages/csharp/src/Cvent/SDK/Authentication.cs index 49920ba18..2164303ba 100644 --- a/packages/csharp/src/Cvent/SDK/Authentication.cs +++ b/packages/csharp/src/Cvent/SDK/Authentication.cs @@ -23,18 +23,15 @@ namespace Cvent.SDK using System.Threading.Tasks; /// - /// Available endpoints used to initiate an authentication request to obtain and validate an access token. + /// Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. /// public interface IAuthentication { /// - /// Authorize. + /// Get Authorization Code. /// /// - /// The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser.
- ///
- /// The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint
- /// except for http://localhost for testing purposes only. + /// Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via Get Token to obtain an access token. ///
/// A parameter. /// The retry configuration to use for this operation. @@ -48,10 +45,10 @@ public Task Oauth2AuthorizeAsync( ); /// - /// Token. + /// Get Token. /// /// - /// Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the Developer Quickstart for an example request.
+ /// Obtains an access token and, optionally, a refresh token. Read the Developer Quickstart for an example request.
///
/// **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. ///
@@ -87,7 +84,7 @@ public Task Oauth2TokenAsync( } /// - /// Available endpoints used to initiate an authentication request to obtain and validate an access token. + /// Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. /// public class Authentication : IAuthentication { @@ -103,13 +100,10 @@ public Authentication(SDKConfig config) } /// - /// Authorize. + /// Get Authorization Code. /// /// - /// The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser.
- ///
- /// The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint
- /// except for http://localhost for testing purposes only. + /// Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via Get Token to obtain an access token. ///
/// A parameter. /// The retry configuration to use for this operation. @@ -233,10 +227,10 @@ public async Task Oauth2AuthorizeAsync( } /// - /// Token. + /// Get Token. /// /// - /// Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the Developer Quickstart for an example request.
+ /// Obtains an access token and, optionally, a refresh token. Read the Developer Quickstart for an example request.
///
/// **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. ///
diff --git a/packages/csharp/src/Cvent/SDK/Bulk.cs b/packages/csharp/src/Cvent/SDK/Bulk.cs index 8a6784b32..13cdce850 100644 --- a/packages/csharp/src/Cvent/SDK/Bulk.cs +++ b/packages/csharp/src/Cvent/SDK/Bulk.cs @@ -61,7 +61,7 @@ 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. + /// 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( @@ -124,7 +124,7 @@ 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. + /// 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( @@ -165,7 +165,7 @@ 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. + /// 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,7 +219,7 @@ 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. + /// 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( @@ -353,17 +353,17 @@ public async Task CreateBulkJobAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -749,7 +749,7 @@ 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. + /// 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( @@ -883,17 +883,17 @@ public async Task UploadBulkJobDataAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1142,7 +1142,7 @@ 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. + /// 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( @@ -1270,17 +1270,17 @@ public async Task RunBulkJobAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/Cvent.SDK.csproj b/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj index 55268bd27..73c8b9e45 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.5.1 + 1.5.2 net8.0 Cvent Copyright (c) Cvent 2026 diff --git a/packages/csharp/src/Cvent/SDK/CventSDK.cs b/packages/csharp/src/Cvent/SDK/CventSDK.cs index 2f36b96a3..7f0284ce4 100644 --- a/packages/csharp/src/Cvent/SDK/CventSDK.cs +++ b/packages/csharp/src/Cvent/SDK/CventSDK.cs @@ -307,7 +307,7 @@ public interface ICventSDK public ICompliance Compliance { get; } /// - /// Available endpoints used to initiate an authentication request to obtain and validate an access token. + /// Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. /// public IAuthentication Authentication { get; } diff --git a/packages/csharp/src/Cvent/SDK/Exhibitor.cs b/packages/csharp/src/Cvent/SDK/Exhibitor.cs index 55b75ee50..68a52137d 100644 --- a/packages/csharp/src/Cvent/SDK/Exhibitor.cs +++ b/packages/csharp/src/Cvent/SDK/Exhibitor.cs @@ -518,7 +518,7 @@ public Task GetLeadQualificationQuestions /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Registration pack for given exhibitor already exists. Thrown when the API returns a 409 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( @@ -600,7 +600,7 @@ public Task UpdateRegistrationPackAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// RegPack cannot be deleted when at least one or more booth staff are already assigned. Thrown when the API returns a 409 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( @@ -4560,7 +4560,7 @@ public async Task GetLeadQualificationQue /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Registration pack for given exhibitor already exists. Thrown when the API returns a 409 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( @@ -4694,17 +4694,17 @@ public async Task PostRegistrationPackAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -5262,7 +5262,7 @@ public async Task UpdateRegistrationPackAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// RegPack cannot be deleted when at least one or more booth staff are already assigned. Thrown when the API returns a 409 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( @@ -5372,17 +5372,17 @@ public async Task DeleteRegistrationPackAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/ExhibitorContent.cs b/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs index 6492f5893..3fa7321b8 100644 --- a/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs +++ b/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs @@ -80,7 +80,7 @@ public Task GetExhibitorFileAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -141,7 +141,7 @@ public Task ListExhibitorWeblinksAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -182,7 +182,7 @@ public Task GetExhibitorWeblinkAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -574,7 +574,7 @@ public async Task GetExhibitorFileAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -708,17 +708,17 @@ public async Task UpdateExhibitorFileAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1084,7 +1084,7 @@ public async Task ListExhibitorWeblinksAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -1218,17 +1218,17 @@ public async Task CreateExhibitorWeblinkAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1445,7 +1445,7 @@ public async Task GetExhibitorWeblinkAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -1579,17 +1579,17 @@ public async Task UpdateExhibitorWeblinkAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/Housing.cs b/packages/csharp/src/Cvent/SDK/Housing.cs index a23655ab1..0819f389e 100644 --- a/packages/csharp/src/Cvent/SDK/Housing.cs +++ b/packages/csharp/src/Cvent/SDK/Housing.cs @@ -298,7 +298,7 @@ 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 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( @@ -318,7 +318,7 @@ 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 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( @@ -2644,7 +2644,7 @@ 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 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( @@ -2778,17 +2778,17 @@ public async Task UpdateReservationRequestAsyn if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -2837,7 +2837,7 @@ 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 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( @@ -2947,17 +2947,17 @@ public async Task CancelReservationRequestAsyn if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/MeetingRequest.cs b/packages/csharp/src/Cvent/SDK/MeetingRequest.cs index caa2706e6..0f18eb6f6 100644 --- a/packages/csharp/src/Cvent/SDK/MeetingRequest.cs +++ b/packages/csharp/src/Cvent/SDK/MeetingRequest.cs @@ -78,7 +78,7 @@ public Task GetMeetingRequestByEventIdAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Was not able to process the request. Thrown when the API returns a 422 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); @@ -573,7 +573,7 @@ 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. - /// Was not able to process the request. Thrown when the API returns a 422 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( @@ -701,17 +701,17 @@ public async Task GetMRFByIdAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/Models/Components/Address5.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address5.cs index 3e810b2a7..70bffdf48 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Address5.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address5.cs @@ -9,66 +9,55 @@ #nullable enable namespace Cvent.SDK.Models.Components { + using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; /// - /// Address of the hotel. + /// Address. /// public class Address5 { /// - /// The first line of an address. + /// The type of the address. /// - [JsonProperty("address1")] - public string? Address1 { get; set; } + [JsonProperty("type")] + public AddressType1 Type { get; set; } = default!; /// - /// The second line of an address. + /// The street address of the user. /// - [JsonProperty("address2")] - public string? Address2 { get; set; } + [JsonProperty("streetAddress")] + public string? StreetAddress { get; set; } /// - /// The third line of an address. + /// The locality/city of the user. /// - [JsonProperty("address3")] - public string? Address3 { get; set; } + [JsonProperty("locality")] + public string? Locality { get; set; } /// - /// The name of the city. + /// The region/state/province of the user. /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// ISO 3166 two-letter (alpha-2) country code. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } + [JsonProperty("region")] + public string? Region { get; set; } /// - /// Postal code (also known as zipcode) of the address. + /// Postal code (also known as zipcode) of the user. /// [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. + /// The country of the user. /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } + [JsonProperty("country")] + public string? Country { get; set; } /// - /// Name of the country. + /// True indicates the address is primary. /// - [JsonProperty("country")] - public string? Country { 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/Address6.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address6.cs index f469b097f..96f735c18 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Address6.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address6.cs @@ -13,56 +13,62 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// Address details. + /// Address of the hotel. /// public class Address6 { /// - /// Address line 1. + /// The first line of an address. /// [JsonProperty("address1")] public string? Address1 { get; set; } /// - /// Address line 2. + /// The second line of an address. /// [JsonProperty("address2")] public string? Address2 { get; set; } /// - /// City name. + /// The third line of an address. /// - [JsonProperty("city")] - public string? City { get; set; } + [JsonProperty("address3")] + public string? Address3 { get; set; } /// - /// Region name. + /// The name of the city. /// - [JsonProperty("region")] - public string? Region { get; set; } + [JsonProperty("city")] + public string? City { get; set; } /// - /// Region code. + /// ISO 3166 two-letter (alpha-2) country code. /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } /// - /// Postal code. + /// Postal code (also known as zipcode) of the address. /// [JsonProperty("postalCode")] public string? PostalCode { get; set; } /// - /// Country name. + /// The name of the state/province/region of the address. /// - [JsonProperty("country")] - public string? Country { get; set; } + [JsonProperty("region")] + public string? Region { get; set; } /// - /// ISO 3166 alpha-2 country code. + /// The abbreviation of the state/province/region of the address. /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } + [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/AddressJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address7.cs similarity index 59% rename from packages/csharp/src/Cvent/SDK/Models/Components/AddressJson2.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Address7.cs index 6f2d18cce..88b95e16b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address7.cs @@ -9,55 +9,60 @@ #nullable enable namespace Cvent.SDK.Models.Components { - using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; /// - /// Address. + /// Address details. /// - public class AddressJson2 + public class Address7 { /// - /// The type of the address. + /// Address line 1. /// - [JsonProperty("type")] - public AddressTypeJson Type { get; set; } = default!; + [JsonProperty("address1")] + public string? Address1 { get; set; } /// - /// The street address of the user. + /// Address line 2. /// - [JsonProperty("streetAddress")] - public string? StreetAddress { get; set; } + [JsonProperty("address2")] + public string? Address2 { get; set; } /// - /// The locality/city of the user. + /// City name. /// - [JsonProperty("locality")] - public string? Locality { get; set; } + [JsonProperty("city")] + public string? City { get; set; } /// - /// The region/state/province of the user. + /// Region name. /// [JsonProperty("region")] public string? Region { get; set; } /// - /// Postal code (also known as zipcode) of the user. + /// Region code. + /// + [JsonProperty("regionCode")] + public string? RegionCode { get; set; } + + /// + /// Postal code. /// [JsonProperty("postalCode")] public string? PostalCode { get; set; } /// - /// The country of the user. + /// Country name. /// [JsonProperty("country")] public string? Country { get; set; } /// - /// True indicates the address is primary. + /// ISO 3166 alpha-2 country code. /// - [JsonProperty("primary")] - public bool? Primary { get; set; } = false; + [JsonProperty("countryCode")] + public string? CountryCode { 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/AddressType1.cs similarity index 78% rename from packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/AddressType1.cs index 65a28246e..b246d2d17 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AddressType1.cs @@ -16,22 +16,22 @@ namespace Cvent.SDK.Models.Components /// /// The type of the address. /// - public enum AddressTypeJson + public enum AddressType1 { [JsonProperty("work")] Work, [JsonProperty("home")] Home, } - public static class AddressTypeJsonExtension + public static class AddressType1Extension { - public static string Value(this AddressTypeJson value) + public static string Value(this AddressType1 value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static AddressTypeJson ToEnum(this string value) + public static AddressType1 ToEnum(this string value) { - foreach (var field in typeof(AddressTypeJson).GetFields()) + foreach (var field in typeof(AddressType1).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -44,14 +44,14 @@ public static AddressTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is AddressTypeJson) + if (enumVal is AddressType1) { - return (AddressTypeJson)enumVal; + return (AddressType1)enumVal; } } } - throw new Exception($"Unknown value {value} for enum AddressTypeJson"); + throw new Exception($"Unknown value {value} for enum AddressType1"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogic.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogic.cs index 4d0faa54f..aa6486199 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogic.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogic.cs @@ -35,6 +35,6 @@ public class AdvancedLogic /// The choices of this custom field to display based on the choice selected for the source custom field, specified by choice ID. /// [JsonProperty("sourceChoices")] - public List? SourceChoices { get; set; } + public List? SourceChoices { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogicChoicesJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogicChoices.cs similarity index 96% rename from packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogicChoicesJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogicChoices.cs index 134d402ff..08edfcfff 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogicChoicesJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AdvancedLogicChoices.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote which custom field choices to display when a source custom field choice is selected. /// - public class AdvancedLogicChoicesJson + public class AdvancedLogicChoices { /// /// The ID of a choice of the source custom field. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AirActual.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AirActual.cs index 00ac05ea2..5a05a4249 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AirActual.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AirActual.cs @@ -111,7 +111,7 @@ public class AirActual public string? NoteGDS { get; set; } /// - /// Type of journey. + /// Type of journey for an air booking. /// [JsonProperty("journeyType")] public JourneyType? JourneyType { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AirRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AirRequest.cs index c92c8f088..08a2a71c7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AirRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AirRequest.cs @@ -117,13 +117,13 @@ public class AirRequest public LegDetail? IncomingLeg { get; set; } /// - /// Type of the seat. + /// Preferred or assigned seat type for an air booking. /// [JsonProperty("seatType")] public SeatType? SeatType { get; set; } /// - /// Category of the passenger's ticket. + /// Category of the passenger's ticket for an air booking. /// [JsonProperty("ticketType")] public TicketType? TicketType { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AirlinePreference.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AirlinePreference.cs index 523738fc7..4d41b2800 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AirlinePreference.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AirlinePreference.cs @@ -24,7 +24,7 @@ public class AirlinePreference public string? AirlineName { get; set; } /// - /// Any rewards code applied. + /// Loyalty program number for the preferred airline. /// [JsonProperty("rewardsCode")] public string? RewardsCode { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs index 28fff7265..8ed4bdf01 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs @@ -219,6 +219,7 @@ public class Attendee11 /// - 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.
+ /// - LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
/// - 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.
diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAdd.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAdd.cs index b2aca5861..8398be9ca 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAdd.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAdd.cs @@ -126,6 +126,7 @@ public class AttendeeAdd /// - 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.
+ /// - LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
/// - 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.
diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonData.cs index e447ab31d..4c20e380c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonData.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonData.cs @@ -27,10 +27,10 @@ private AttendeeAddBulkItemEventJsonDataType(string value) public string Value { get; private set; } - public static AttendeeAddBulkItemEventJsonDataType ZeroOneOf2 + public static AttendeeAddBulkItemEventJsonDataType ZeroOneOf { get { - return new AttendeeAddBulkItemEventJsonDataType("0_OneOf_2"); + return new AttendeeAddBulkItemEventJsonDataType("0_OneOf"); } } @@ -53,8 +53,8 @@ public static AttendeeAddBulkItemEventJsonDataType FromString(string v) { switch (v) { - case "0_OneOf_2": - return ZeroOneOf2; + case "0_OneOf": + return ZeroOneOf; case "attendee-add-bulk-item-event.json_ErrorResponse": return AttendeeAddBulkItemEventJsonErrorResponse; default: @@ -85,18 +85,18 @@ public AttendeeAddBulkItemEventJsonData(AttendeeAddBulkItemEventJsonDataType typ } [SpeakeasyMetadata("form:explode=true")] - public ZeroOneOf2? ZeroOneOf2 { get; set; } + public ZeroOneOf? ZeroOneOf { get; set; } [SpeakeasyMetadata("form:explode=true")] public AttendeeAddBulkItemEventJsonErrorResponse? AttendeeAddBulkItemEventJsonErrorResponse { get; set; } public AttendeeAddBulkItemEventJsonDataType Type { get; set; } - public static AttendeeAddBulkItemEventJsonData CreateZeroOneOf2(ZeroOneOf2 zeroOneOf2) + public static AttendeeAddBulkItemEventJsonData CreateZeroOneOf(ZeroOneOf zeroOneOf) { - AttendeeAddBulkItemEventJsonDataType typ = AttendeeAddBulkItemEventJsonDataType.ZeroOneOf2; + AttendeeAddBulkItemEventJsonDataType typ = AttendeeAddBulkItemEventJsonDataType.ZeroOneOf; AttendeeAddBulkItemEventJsonData res = new AttendeeAddBulkItemEventJsonData(typ); - res.ZeroOneOf2 = zeroOneOf2; + res.ZeroOneOf = zeroOneOf; return res; } public static AttendeeAddBulkItemEventJsonData CreateAttendeeAddBulkItemEventJsonErrorResponse(AttendeeAddBulkItemEventJsonErrorResponse attendeeAddBulkItemEventJSONErrorResponse) @@ -126,13 +126,13 @@ public class AttendeeAddBulkItemEventJsonDataConverter : JsonConverter try { - return new AttendeeAddBulkItemEventJsonData(AttendeeAddBulkItemEventJsonDataType.ZeroOneOf2) { - ZeroOneOf2 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new AttendeeAddBulkItemEventJsonData(AttendeeAddBulkItemEventJsonDataType.ZeroOneOf) { + ZeroOneOf = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(ZeroOneOf2), new AttendeeAddBulkItemEventJsonData(AttendeeAddBulkItemEventJsonDataType.ZeroOneOf2), "ZeroOneOf2")); + fallbackCandidates.Add((typeof(ZeroOneOf), new AttendeeAddBulkItemEventJsonData(AttendeeAddBulkItemEventJsonDataType.ZeroOneOf), "ZeroOneOf")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -194,9 +194,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer AttendeeAddBulkItemEventJsonData res = (AttendeeAddBulkItemEventJsonData)value; - if (res.ZeroOneOf2 != null) + if (res.ZeroOneOf != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ZeroOneOf2)); + writer.WriteRawValue(Utilities.SerializeJSON(res.ZeroOneOf)); return; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs index 811a12de8..b74d0ea30 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs @@ -27,17 +27,17 @@ private AttendeeAddBulkItemJsonDataType(string value) public string Value { get; private set; } - public static AttendeeAddBulkItemJsonDataType ZeroOneOf2 + public static AttendeeAddBulkItemJsonDataType ZeroOneOf { get { - return new AttendeeAddBulkItemJsonDataType("0_OneOf_2"); + return new AttendeeAddBulkItemJsonDataType("0_OneOf"); } } - public static AttendeeAddBulkItemJsonDataType ErrorResponse2 + public static AttendeeAddBulkItemJsonDataType ErrorResponse { get { - return new AttendeeAddBulkItemJsonDataType("error-response_2"); + return new AttendeeAddBulkItemJsonDataType("error-response"); } } @@ -53,10 +53,10 @@ public static AttendeeAddBulkItemJsonDataType FromString(string v) { switch (v) { - case "0_OneOf_2": - return ZeroOneOf2; - case "error-response_2": - return ErrorResponse2; + case "0_OneOf": + return ZeroOneOf; + case "error-response": + return ErrorResponse; default: throw new ArgumentException("Invalid value for AttendeeAddBulkItemJsonDataType"); } @@ -85,26 +85,26 @@ public AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType type) } [SpeakeasyMetadata("form:explode=true")] - public ZeroOneOf2? ZeroOneOf2 { get; set; } + public ZeroOneOf? ZeroOneOf { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Models.Components.ErrorResponse2? ErrorResponse2 { get; set; } + public Models.Components.ErrorResponse? ErrorResponse { get; set; } public AttendeeAddBulkItemJsonDataType Type { get; set; } - public static AttendeeAddBulkItemJsonData CreateZeroOneOf2(ZeroOneOf2 zeroOneOf2) + public static AttendeeAddBulkItemJsonData CreateZeroOneOf(ZeroOneOf zeroOneOf) { - AttendeeAddBulkItemJsonDataType typ = AttendeeAddBulkItemJsonDataType.ZeroOneOf2; + AttendeeAddBulkItemJsonDataType typ = AttendeeAddBulkItemJsonDataType.ZeroOneOf; AttendeeAddBulkItemJsonData res = new AttendeeAddBulkItemJsonData(typ); - res.ZeroOneOf2 = zeroOneOf2; + res.ZeroOneOf = zeroOneOf; return res; } - public static AttendeeAddBulkItemJsonData CreateErrorResponse2(Models.Components.ErrorResponse2 errorResponse2) + public static AttendeeAddBulkItemJsonData CreateErrorResponse(Models.Components.ErrorResponse errorResponse) { - AttendeeAddBulkItemJsonDataType typ = AttendeeAddBulkItemJsonDataType.ErrorResponse2; + AttendeeAddBulkItemJsonDataType typ = AttendeeAddBulkItemJsonDataType.ErrorResponse; AttendeeAddBulkItemJsonData res = new AttendeeAddBulkItemJsonData(typ); - res.ErrorResponse2 = errorResponse2; + res.ErrorResponse = errorResponse; return res; } @@ -126,13 +126,13 @@ public class AttendeeAddBulkItemJsonDataConverter : JsonConverter try { - return new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ZeroOneOf2) { - ZeroOneOf2 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ZeroOneOf) { + ZeroOneOf = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(ZeroOneOf2), new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ZeroOneOf2), "ZeroOneOf2")); + fallbackCandidates.Add((typeof(ZeroOneOf), new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ZeroOneOf), "ZeroOneOf")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -145,13 +145,13 @@ public class AttendeeAddBulkItemJsonDataConverter : JsonConverter try { - return new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse2) { - ErrorResponse2 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse) { + ErrorResponse = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Models.Components.ErrorResponse2), new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse2), "ErrorResponse2")); + fallbackCandidates.Add((typeof(Models.Components.ErrorResponse), new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse), "ErrorResponse")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -194,15 +194,15 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer AttendeeAddBulkItemJsonData res = (AttendeeAddBulkItemJsonData)value; - if (res.ZeroOneOf2 != null) + if (res.ZeroOneOf != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ZeroOneOf2)); + writer.WriteRawValue(Utilities.SerializeJSON(res.ZeroOneOf)); return; } - if (res.ErrorResponse2 != null) + if (res.ErrorResponse != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse2)); + writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs index a90823f40..abe784a10 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 ErrorResponse2 + public static AttendeeLinkBulkResponseItemJsonDataType ErrorResponse { get { - return new AttendeeLinkBulkResponseItemJsonDataType("error-response_2"); + return new AttendeeLinkBulkResponseItemJsonDataType("error-response"); } } @@ -55,8 +55,8 @@ public static AttendeeLinkBulkResponseItemJsonDataType FromString(string v) { case "existing-attendee-link": return ExistingAttendeeLink; - case "error-response_2": - return ErrorResponse2; + case "error-response": + return ErrorResponse; 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.ErrorResponse2? ErrorResponse2 { get; set; } + public Models.Components.ErrorResponse? ErrorResponse { 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 CreateErrorResponse2(Models.Components.ErrorResponse2 errorResponse2) + public static AttendeeLinkBulkResponseItemJsonData CreateErrorResponse(Models.Components.ErrorResponse errorResponse) { - AttendeeLinkBulkResponseItemJsonDataType typ = AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse2; + AttendeeLinkBulkResponseItemJsonDataType typ = AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse; AttendeeLinkBulkResponseItemJsonData res = new AttendeeLinkBulkResponseItemJsonData(typ); - res.ErrorResponse2 = errorResponse2; + res.ErrorResponse = errorResponse; return res; } @@ -126,13 +126,13 @@ public class AttendeeLinkBulkResponseItemJsonDataConverter : JsonConverter try { - return new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse2) { - ErrorResponse2 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse) { + ErrorResponse = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Models.Components.ErrorResponse2), new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse2), "ErrorResponse2")); + fallbackCandidates.Add((typeof(Models.Components.ErrorResponse), new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse), "ErrorResponse")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -200,9 +200,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.ErrorResponse2 != null) + if (res.ErrorResponse != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse2)); + writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeResponseMethod1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeResponseMethod1.cs index 8c32e1f54..c39d2c452 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeResponseMethod1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeResponseMethod1.cs @@ -24,6 +24,7 @@ namespace Cvent.SDK.Models.Components /// - 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.
+ /// - LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
/// - 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.
@@ -51,6 +52,7 @@ public enum AttendeeResponseMethod1 [JsonProperty("Group Leader Responded Widget")] GroupLeaderRespondedWidget, [JsonProperty("Historical Import")] HistoricalImport, [JsonProperty("Imported")] Imported, + [JsonProperty("LinkedIn Registration Form")] LinkedInRegistrationForm, [JsonProperty("No Response")] NoResponse, [JsonProperty("On-site Responded")] OnSiteResponded, [JsonProperty("Planner-Imported")] PlannerImported, diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs index 43427f175..0fb1e217f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs @@ -81,7 +81,7 @@ public class AttendeeUpdate public bool? SendEmail { get; set; } /// - /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. <br>The following status transitions are supported by this API:<br> * No Response -> Visited <br> * No Response -> Accepted <br> * No Response -> Declined <br> * No Response -> Pending Approval <br> * Cancelled -> Accepted <br> * Cancelled -> Pending Approval <br> * Visited -> Accepted <br> * Visited -> Pending Approval <br> * Declined -> Accepted <br> * Declined -> Pending Approval <br> * Accepted -> Cancelled <br> * Pending Approval -> Accepted <br> * Pending Approval -> Denied Approval <br> * Denied Approval -> Pending Approval. + /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. <br>The following status transitions are supported by this API:<br> * No Response -> Visited <br> * No Response -> Accepted <br> * No Response -> Declined <br> * No Response -> Pending Approval <br> * Cancelled -> Accepted <br> * Cancelled -> Pending Approval <br> * Visited -> Accepted <br> * Visited -> Pending Approval <br> * Declined -> Accepted <br> * Declined -> Pending Approval <br> * Accepted -> Cancelled <br> * Pending Approval -> Accepted <br> * Pending Approval -> Denied Approval <br> * Denied Approval -> Pending Approval <br> * Waitlisted -> Accepted. /// [JsonProperty("status")] public AttendeeUpdateStatus? Status { get; set; } = Cvent.SDK.Models.Components.AttendeeUpdateStatus.NoResponse; diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs index 84d39173a..eafd010c0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs @@ -14,7 +14,7 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. <br>The following status transitions are supported by this API:<br> * No Response -> Visited <br> * No Response -> Accepted <br> * No Response -> Declined <br> * No Response -> Pending Approval <br> * Cancelled -> Accepted <br> * Cancelled -> Pending Approval <br> * Visited -> Accepted <br> * Visited -> Pending Approval <br> * Declined -> Accepted <br> * Declined -> Pending Approval <br> * Accepted -> Cancelled <br> * Pending Approval -> Accepted <br> * Pending Approval -> Denied Approval <br> * Denied Approval -> Pending Approval. + /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. <br>The following status transitions are supported by this API:<br> * No Response -> Visited <br> * No Response -> Accepted <br> * No Response -> Declined <br> * No Response -> Pending Approval <br> * Cancelled -> Accepted <br> * Cancelled -> Pending Approval <br> * Visited -> Accepted <br> * Visited -> Pending Approval <br> * Declined -> Accepted <br> * Declined -> Pending Approval <br> * Accepted -> Cancelled <br> * Pending Approval -> Accepted <br> * Pending Approval -> Denied Approval <br> * Denied Approval -> Pending Approval <br> * Waitlisted -> Accepted. /// public enum AttendeeUpdateStatus { @@ -25,6 +25,7 @@ public enum AttendeeUpdateStatus [JsonProperty("Declined")] Declined, [JsonProperty("Pending Approval")] PendingApproval, [JsonProperty("Denied Approval")] DeniedApproval, + [JsonProperty("Waitlisted")] Waitlisted, } public static class AttendeeUpdateStatusExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs index 396ebbe31..e9c9c5f79 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs @@ -37,7 +37,7 @@ public static AttendeesType AttendeeAddResponse public static AttendeesType ErrorResponse1 { get { - return new AttendeesType("ErrorResponse_1"); + return new AttendeesType("ErrorResponse1"); } } @@ -55,7 +55,7 @@ public static AttendeesType FromString(string v) { case "AttendeeAddResponse": return AttendeeAddResponse; - case "ErrorResponse_1": + case "ErrorResponse1": return ErrorResponse1; default: throw new ArgumentException("Invalid value for AttendeesType"); diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attribute.cs similarity index 86% rename from packages/csharp/src/Cvent/SDK/Models/Components/AttributeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Attribute.cs index 7b55b307c..4b3eca9b6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attribute.cs @@ -17,7 +17,7 @@ namespace Cvent.SDK.Models.Components /// /// Attribute. /// - public class AttributeJson + public class Attribute { /// /// The name of the attribute. @@ -29,7 +29,7 @@ public class AttributeJson /// This is used to denote the type of the attribute. /// [JsonProperty("type")] - public AttributeDataTypeJson? Type { get; set; } + public AttributeDataType? Type { get; set; } /// /// Indicates if the attribute is multivalued. @@ -59,7 +59,7 @@ public class AttributeJson /// This is used to denote the mutability of the attribute. /// [JsonProperty("mutability")] - public MutabilityJson? Mutability { get; set; } + public Mutability? Mutability { get; set; } /// /// The list of canonical values of the attribute. @@ -71,24 +71,24 @@ public class AttributeJson /// This is used to denote the returned type of the attribute. /// [JsonProperty("returned")] - public AttributeReturnedTypeJson? Returned { get; set; } + public ReturnedType? Returned { get; set; } /// /// This is used to denote the uniqueness type of the attribute. /// [JsonProperty("uniqueness")] - public AttributeUniquenessTypeJson? Uniqueness { get; set; } + public UniquenessType? Uniqueness { get; set; } /// /// This is used to denote the reference type of the attribute. /// [JsonProperty("referenceTypes")] - public List? ReferenceTypes { get; set; } + public List? ReferenceTypes { get; set; } /// /// A collection of sub-attributes. Has the same structure as this attribute object. /// [JsonProperty("subAttributes")] - public List? SubAttributes { get; set; } + public List? SubAttributes { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeDataTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttributeDataType.cs similarity index 79% rename from packages/csharp/src/Cvent/SDK/Models/Components/AttributeDataTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/AttributeDataType.cs index 6e4ea5cba..f051c4fb0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeDataTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttributeDataType.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the type of the attribute. /// - public enum AttributeDataTypeJson + public enum AttributeDataType { [JsonProperty("string")] String, [JsonProperty("boolean")] Boolean, @@ -27,16 +27,16 @@ public enum AttributeDataTypeJson [JsonProperty("complex")] Complex, } - public static class AttributeDataTypeJsonExtension + public static class AttributeDataTypeExtension { - public static string Value(this AttributeDataTypeJson value) + public static string Value(this AttributeDataType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static AttributeDataTypeJson ToEnum(this string value) + public static AttributeDataType ToEnum(this string value) { - foreach (var field in typeof(AttributeDataTypeJson).GetFields()) + foreach (var field in typeof(AttributeDataType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -49,14 +49,14 @@ public static AttributeDataTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is AttributeDataTypeJson) + if (enumVal is AttributeDataType) { - return (AttributeDataTypeJson)enumVal; + return (AttributeDataType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum AttributeDataTypeJson"); + throw new Exception($"Unknown value {value} for enum AttributeDataType"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AuthenticationSchemaJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AuthenticationSchema.cs similarity index 97% rename from packages/csharp/src/Cvent/SDK/Models/Components/AuthenticationSchemaJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/AuthenticationSchema.cs index c22996dd6..1f0f35e5d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AuthenticationSchemaJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AuthenticationSchema.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// Authentication Schema. /// - public class AuthenticationSchemaJson + public class AuthenticationSchema { /// /// The name of the authentication. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsJson.cs index c2bf9dc22..af6149c6d 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 EmailTypeJson1? EmailType { get; set; } + public EmailTypeJson? EmailType { get; set; } /// /// Unique ID of the email. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Choice2.cs similarity index 64% rename from packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Choice2.cs index c1ec1967b..43b8373c7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Choice2.cs @@ -13,18 +13,18 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// This is used to denote the choice of custom field. + /// This is used to denote the choice of question. /// - public class ChoiceJson2 + public class Choice2 { /// - /// 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. + /// The ID of the question 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. + /// The text for the question choice. /// [JsonProperty("text")] public string Text { get; set; } = default!; diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2Input.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Choice2Input.cs similarity index 82% rename from packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2Input.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Choice2Input.cs index fb9e2285e..c7560c150 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2Input.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Choice2Input.cs @@ -13,12 +13,12 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// This is used to denote the choice of custom field. + /// This is used to denote the choice of question. /// - public class ChoiceJson2Input + public class Choice2Input { /// - /// The text for the custom field choice. + /// The text for the question choice. /// [JsonProperty("text")] public string Text { get; set; } = default!; diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceTranslationJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceTranslation.cs similarity index 96% rename from packages/csharp/src/Cvent/SDK/Models/Components/ChoiceTranslationJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/ChoiceTranslation.cs index cb2488a71..42f8610c9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceTranslationJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceTranslation.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote that the translation for the choice text of a custom field. /// - public class ChoiceTranslationJson + public class ChoiceTranslation { /// /// The ID of the choice that this translation is associated with. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Choices.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Choices.cs deleted file mode 100644 index 753d74783..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Choices.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; - - /// - /// Choices for a custom field. - /// - public class Choices - { - /// - /// Choices of custom fields. - /// - [JsonProperty("choices")] - 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. - /// - [JsonProperty("displayType")] - public ChoicesDisplayTypeJson? DisplayType { 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/Choices1.cs similarity index 88% rename from packages/csharp/src/Cvent/SDK/Models/Components/Three.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Choices1.cs index b26bf3493..42c640773 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Three.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Choices1.cs @@ -17,18 +17,18 @@ namespace Cvent.SDK.Models.Components /// /// Choices for a custom field. /// - public class Three + public class Choices1 { /// /// 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. /// [JsonProperty("displayType")] - public ChoicesDisplayTypeJson? DisplayType { get; set; } + public DisplayType1? DisplayType { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ThreeInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Choices1Input.cs similarity index 87% rename from packages/csharp/src/Cvent/SDK/Models/Components/ThreeInput.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Choices1Input.cs index 59da21b66..9f25ead9b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ThreeInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Choices1Input.cs @@ -17,18 +17,18 @@ namespace Cvent.SDK.Models.Components /// /// Choices for a custom field. /// - public class ThreeInput + public class Choices1Input { /// /// 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. /// [JsonProperty("displayType")] - public ChoicesDisplayTypeJson? DisplayType { get; set; } + public DisplayType1? DisplayType { 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 index 1e763ff2f..35c9b1dbd 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs @@ -37,7 +37,7 @@ public static ContactBulkResponseItemDataType Contact public static ContactBulkResponseItemDataType ErrorResponse1 { get { - return new ContactBulkResponseItemDataType("ErrorResponse_1"); + return new ContactBulkResponseItemDataType("ErrorResponse1"); } } @@ -55,7 +55,7 @@ public static ContactBulkResponseItemDataType FromString(string v) { case "contact": return Contact; - case "ErrorResponse_1": + case "ErrorResponse1": return ErrorResponse1; default: throw new ArgumentException("Invalid value for ContactBulkResponseItemDataType"); diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs index 4058ad83a..383151875 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs @@ -22,7 +22,7 @@ public class CustomField3 /// This is used to denote the category of a custom field. /// [JsonProperty("category")] - public CustomFieldCategoryJson Category { get; set; } = default!; + public CustomFieldCategory Category { get; set; } = default!; /// /// The actual text of the custom field. @@ -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 CustomFieldTypeJson Type { get; set; } = default!; + public CustomFieldType2 Type { get; set; } = default!; /// /// Type-specific details of the custom-field. @@ -64,7 +64,7 @@ public class CustomField3 /// 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. /// [JsonProperty("displayInDataTag")] - public DisplayInDataTagJson? DisplayInDataTag { get; set; } = Cvent.SDK.Models.Components.DisplayInDataTagJson.No; + public DisplayInDataTag? DisplayInDataTag { get; set; } = Cvent.SDK.Models.Components.DisplayInDataTag.No; /// /// Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. @@ -94,6 +94,6 @@ public class CustomField3 /// Visibility of the custom field on various pages/forms. /// [JsonProperty("pageVisibility")] - public PageVisibilityJson? PageVisibility { get; set; } + public PageVisibility? PageVisibility { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3Details.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3Details.cs index be28bfb6c..e98b5c7ac 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3Details.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3Details.cs @@ -34,10 +34,10 @@ public static CustomField3DetailsType OpenEndedOneLine } } - public static CustomField3DetailsType OpenEndedDateTime + public static CustomField3DetailsType OpenEndedDateTime1 { get { - return new CustomField3DetailsType("OpenEndedDateTime"); + return new CustomField3DetailsType("OpenEndedDateTime1"); } } @@ -48,10 +48,10 @@ public static CustomField3DetailsType OpenEndedCommentBox } } - public static CustomField3DetailsType Choices + public static CustomField3DetailsType Choices1Input { get { - return new CustomField3DetailsType("Choices"); + return new CustomField3DetailsType("Choices1_input"); } } @@ -69,12 +69,12 @@ public static CustomField3DetailsType FromString(string v) { case "OpenEndedOneLine": return OpenEndedOneLine; - case "OpenEndedDateTime": - return OpenEndedDateTime; + case "OpenEndedDateTime1": + return OpenEndedDateTime1; case "OpenEndedCommentBox": return OpenEndedCommentBox; - case "Choices": - return Choices; + case "Choices1_input": + return Choices1Input; default: throw new ArgumentException("Invalid value for CustomField3DetailsType"); } @@ -109,13 +109,13 @@ public CustomField3Details(CustomField3DetailsType type) public OpenEndedOneLine? OpenEndedOneLine { get; set; } [SpeakeasyMetadata("form:explode=true")] - public OpenEndedDateTime? OpenEndedDateTime { get; set; } + public OpenEndedDateTime1? OpenEndedDateTime1 { get; set; } [SpeakeasyMetadata("form:explode=true")] public OpenEndedCommentBox? OpenEndedCommentBox { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Choices? Choices { get; set; } + public Choices1Input? Choices1Input { get; set; } public CustomField3DetailsType Type { get; set; } public static CustomField3Details CreateOpenEndedOneLine(OpenEndedOneLine openEndedOneLine) @@ -126,12 +126,12 @@ public static CustomField3Details CreateOpenEndedOneLine(OpenEndedOneLine openEn res.OpenEndedOneLine = openEndedOneLine; return res; } - public static CustomField3Details CreateOpenEndedDateTime(OpenEndedDateTime openEndedDateTime) + public static CustomField3Details CreateOpenEndedDateTime1(OpenEndedDateTime1 openEndedDateTime1) { - CustomField3DetailsType typ = CustomField3DetailsType.OpenEndedDateTime; + CustomField3DetailsType typ = CustomField3DetailsType.OpenEndedDateTime1; CustomField3Details res = new CustomField3Details(typ); - res.OpenEndedDateTime = openEndedDateTime; + res.OpenEndedDateTime1 = openEndedDateTime1; return res; } public static CustomField3Details CreateOpenEndedCommentBox(OpenEndedCommentBox openEndedCommentBox) @@ -142,12 +142,12 @@ public static CustomField3Details CreateOpenEndedCommentBox(OpenEndedCommentBox res.OpenEndedCommentBox = openEndedCommentBox; return res; } - public static CustomField3Details CreateChoices(Choices choices) + public static CustomField3Details CreateChoices1Input(Choices1Input choices1Input) { - CustomField3DetailsType typ = CustomField3DetailsType.Choices; + CustomField3DetailsType typ = CustomField3DetailsType.Choices1Input; CustomField3Details res = new CustomField3Details(typ); - res.Choices = choices; + res.Choices1Input = choices1Input; return res; } @@ -188,13 +188,13 @@ public class CustomField3DetailsConverter : JsonConverter try { - return new CustomField3Details(CustomField3DetailsType.Choices) { - Choices = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new CustomField3Details(CustomField3DetailsType.Choices1Input) { + Choices1Input = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Choices), new CustomField3Details(CustomField3DetailsType.Choices), "Choices")); + fallbackCandidates.Add((typeof(Choices1Input), new CustomField3Details(CustomField3DetailsType.Choices1Input), "Choices1Input")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -226,13 +226,13 @@ public class CustomField3DetailsConverter : JsonConverter try { - return new CustomField3Details(CustomField3DetailsType.OpenEndedDateTime) { - OpenEndedDateTime = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new CustomField3Details(CustomField3DetailsType.OpenEndedDateTime1) { + OpenEndedDateTime1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(OpenEndedDateTime), new CustomField3Details(CustomField3DetailsType.OpenEndedDateTime), "OpenEndedDateTime")); + fallbackCandidates.Add((typeof(OpenEndedDateTime1), new CustomField3Details(CustomField3DetailsType.OpenEndedDateTime1), "OpenEndedDateTime1")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -281,9 +281,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.OpenEndedDateTime != null) + if (res.OpenEndedDateTime1 != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedDateTime)); + writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedDateTime1)); return; } @@ -293,9 +293,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.Choices != null) + if (res.Choices1Input != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.Choices)); + writer.WriteRawValue(Utilities.SerializeJSON(res.Choices1Input)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldCategoryJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldCategory.cs similarity index 80% rename from packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldCategoryJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldCategory.cs index 3a48dad79..b429ef915 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldCategoryJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldCategory.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the category of a custom field. /// - public enum CustomFieldCategoryJson + public enum CustomFieldCategory { [JsonProperty("Contact")] Contact, [JsonProperty("Session")] Session, @@ -31,16 +31,16 @@ public enum CustomFieldCategoryJson [JsonProperty("Budget Item")] BudgetItem, } - public static class CustomFieldCategoryJsonExtension + public static class CustomFieldCategoryExtension { - public static string Value(this CustomFieldCategoryJson value) + public static string Value(this CustomFieldCategory value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static CustomFieldCategoryJson ToEnum(this string value) + public static CustomFieldCategory ToEnum(this string value) { - foreach (var field in typeof(CustomFieldCategoryJson).GetFields()) + foreach (var field in typeof(CustomFieldCategory).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -53,14 +53,14 @@ public static CustomFieldCategoryJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is CustomFieldCategoryJson) + if (enumVal is CustomFieldCategory) { - return (CustomFieldCategoryJson)enumVal; + return (CustomFieldCategory)enumVal; } } } - throw new Exception($"Unknown value {value} for enum CustomFieldCategoryJson"); + throw new Exception($"Unknown value {value} for enum CustomFieldCategory"); } } } \ 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/CustomFieldType2.cs similarity index 81% rename from packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldType2.cs index 0f3661f15..0951873d0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldType2.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. /// - public enum CustomFieldTypeJson + public enum CustomFieldType2 { [JsonProperty("Open Ended Text - Date/Time")] OpenEndedTextDateTime, [JsonProperty("Open Ended Text - One Line")] OpenEndedTextOneLine, @@ -26,16 +26,16 @@ public enum CustomFieldTypeJson [JsonProperty("Auto-Increment")] AutoIncrement, } - public static class CustomFieldTypeJsonExtension + public static class CustomFieldType2Extension { - public static string Value(this CustomFieldTypeJson value) + public static string Value(this CustomFieldType2 value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static CustomFieldTypeJson ToEnum(this string value) + public static CustomFieldType2 ToEnum(this string value) { - foreach (var field in typeof(CustomFieldTypeJson).GetFields()) + foreach (var field in typeof(CustomFieldType2).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -48,14 +48,14 @@ public static CustomFieldTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is CustomFieldTypeJson) + if (enumVal is CustomFieldType2) { - return (CustomFieldTypeJson)enumVal; + return (CustomFieldType2)enumVal; } } } - throw new Exception($"Unknown value {value} for enum CustomFieldTypeJson"); + throw new Exception($"Unknown value {value} for enum CustomFieldType2"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldsPaginatedResponse.cs index db57d7d96..bf9ad9304 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldsPaginatedResponse.cs @@ -23,7 +23,7 @@ public class CustomFieldsPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of custom fields. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DateTimeDisplayFormatJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DateTimeDisplayFormat.cs similarity index 80% rename from packages/csharp/src/Cvent/SDK/Models/Components/DateTimeDisplayFormatJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/DateTimeDisplayFormat.cs index 7bbe2cd9a..7dfa4f9b8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DateTimeDisplayFormatJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DateTimeDisplayFormat.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the display format type of date time type custom field. /// - public enum DateTimeDisplayFormatJson + public enum DateTimeDisplayFormat { [JsonProperty("DateAndTimeMonthFirst12HourTime")] DateAndTimeMonthFirst12HourTime, [JsonProperty("DateAndTimeMonthFirst24HourTime")] DateAndTimeMonthFirst24HourTime, @@ -26,16 +26,16 @@ public enum DateTimeDisplayFormatJson [JsonProperty("DateOnlyDayFirst")] DateOnlyDayFirst, } - public static class DateTimeDisplayFormatJsonExtension + public static class DateTimeDisplayFormatExtension { - public static string Value(this DateTimeDisplayFormatJson value) + public static string Value(this DateTimeDisplayFormat value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static DateTimeDisplayFormatJson ToEnum(this string value) + public static DateTimeDisplayFormat ToEnum(this string value) { - foreach (var field in typeof(DateTimeDisplayFormatJson).GetFields()) + foreach (var field in typeof(DateTimeDisplayFormat).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -48,14 +48,14 @@ public static DateTimeDisplayFormatJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is DateTimeDisplayFormatJson) + if (enumVal is DateTimeDisplayFormat) { - return (DateTimeDisplayFormatJson)enumVal; + return (DateTimeDisplayFormat)enumVal; } } } - throw new Exception($"Unknown value {value} for enum DateTimeDisplayFormatJson"); + throw new Exception($"Unknown value {value} for enum DateTimeDisplayFormat"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DisplayInDataTagJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DisplayInDataTag.cs similarity index 80% rename from packages/csharp/src/Cvent/SDK/Models/Components/DisplayInDataTagJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/DisplayInDataTag.cs index 4b5604dd5..dc3328be5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DisplayInDataTagJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DisplayInDataTag.cs @@ -16,23 +16,23 @@ namespace Cvent.SDK.Models.Components /// /// 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. /// - public enum DisplayInDataTagJson + public enum DisplayInDataTag { [JsonProperty("Yes")] Yes, [JsonProperty("No")] No, [JsonProperty("Only when answered")] OnlyWhenAnswered, } - public static class DisplayInDataTagJsonExtension + public static class DisplayInDataTagExtension { - public static string Value(this DisplayInDataTagJson value) + public static string Value(this DisplayInDataTag value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static DisplayInDataTagJson ToEnum(this string value) + public static DisplayInDataTag ToEnum(this string value) { - foreach (var field in typeof(DisplayInDataTagJson).GetFields()) + foreach (var field in typeof(DisplayInDataTag).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -45,14 +45,14 @@ public static DisplayInDataTagJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is DisplayInDataTagJson) + if (enumVal is DisplayInDataTag) { - return (DisplayInDataTagJson)enumVal; + return (DisplayInDataTag)enumVal; } } } - throw new Exception($"Unknown value {value} for enum DisplayInDataTagJson"); + throw new Exception($"Unknown value {value} for enum DisplayInDataTag"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoicesDisplayTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DisplayType1.cs similarity index 79% rename from packages/csharp/src/Cvent/SDK/Models/Components/ChoicesDisplayTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/DisplayType1.cs index 69f238f75..4569c64f7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoicesDisplayTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DisplayType1.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// 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. /// - public enum ChoicesDisplayTypeJson + public enum DisplayType1 { [JsonProperty("Dropdown")] Dropdown, [JsonProperty("Vertical")] Vertical, @@ -24,16 +24,16 @@ public enum ChoicesDisplayTypeJson [JsonProperty("MultiSelectBox")] MultiSelectBox, } - public static class ChoicesDisplayTypeJsonExtension + public static class DisplayType1Extension { - public static string Value(this ChoicesDisplayTypeJson value) + public static string Value(this DisplayType1 value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static ChoicesDisplayTypeJson ToEnum(this string value) + public static DisplayType1 ToEnum(this string value) { - foreach (var field in typeof(ChoicesDisplayTypeJson).GetFields()) + foreach (var field in typeof(DisplayType1).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -46,14 +46,14 @@ public static ChoicesDisplayTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is ChoicesDisplayTypeJson) + if (enumVal is DisplayType1) { - return (ChoicesDisplayTypeJson)enumVal; + return (DisplayType1)enumVal; } } } - throw new Exception($"Unknown value {value} for enum ChoicesDisplayTypeJson"); + throw new Exception($"Unknown value {value} for enum DisplayType1"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Email.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Email.cs new file mode 100644 index 000000000..29dcb76f0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Email.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; + + /// + /// Email. + /// + public class Email + { + /// + /// The type of the email. + /// + [JsonProperty("type")] + public EmailType1? Type { get; set; } = Cvent.SDK.Models.Components.EmailType1.Work; + + /// + /// The email of the user. + /// + [JsonProperty("value")] + public string Value { get; set; } = default!; + + /// + /// True indicates the email 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/EmailHistoryJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailHistoryJson.cs index ab4f47166..1cd1d50b1 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 EmailTypeJson1? Type { get; set; } + public EmailTypeJson? 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 119f10c6d..0351774f1 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson1.cs @@ -9,31 +9,18 @@ #nullable enable namespace Cvent.SDK.Models.Components { - using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; /// - /// Email. + /// Details of an email to be send. /// public class EmailJson1 { /// - /// The type of the email. + /// The unique ID of the email to be sent. /// - [JsonProperty("type")] - public EmailTypeJson? Type { get; set; } = Cvent.SDK.Models.Components.EmailTypeJson.Work; - - /// - /// The email of the user. - /// - [JsonProperty("value")] - public string Value { get; set; } = default!; - - /// - /// True indicates the email is primary. - /// - [JsonProperty("primary")] - public bool? Primary { get; set; } = false; + [JsonProperty("id")] + public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson2.cs deleted file mode 100644 index b3322acc8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson2.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 email to be send. - /// - public class EmailJson2 - { - /// - /// The unique ID of the email to be sent. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailType1.cs new file mode 100644 index 000000000..b3eb5143d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailType1.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 EmailType1 + { + [JsonProperty("work")] Work, + [JsonProperty("home")] Home, + } + + public static class EmailType1Extension + { + public static string Value(this EmailType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static EmailType1 ToEnum(this string value) + { + foreach (var field in typeof(EmailType1).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 EmailType1) + { + return (EmailType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum EmailType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.cs index 6586e9383..c1302bdf3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.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 EmailTypeJson { - [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 EmailTypeJsonExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.cs deleted file mode 100644 index 5b1c3ba7a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.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 EmailTypeJson1 - { - [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 - { - public static string Value(this EmailTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static EmailTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(EmailTypeJson1).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 EmailTypeJson1) - { - return (EmailTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum EmailTypeJson1"); - } - } -} \ 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/ErrorResponse.cs similarity index 97% rename from packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse2.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse.cs index 3e0f68dcd..888742fc0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse.cs @@ -17,7 +17,7 @@ namespace Cvent.SDK.Models.Components /// /// Represents an error response with additional details of cascading error messages. /// - public class ErrorResponse2 + public class ErrorResponse { /// /// The HTTP status code representing the error. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorScimTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorScimType.cs similarity index 79% rename from packages/csharp/src/Cvent/SDK/Models/Components/ErrorScimTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/ErrorScimType.cs index 5584f3dfa..13e3311a2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorScimTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorScimType.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the scim type of the error. /// - public enum ErrorScimTypeJson + public enum ErrorScimType { [JsonProperty("invalidFilter")] InvalidFilter, [JsonProperty("uniqueness")] Uniqueness, @@ -24,16 +24,16 @@ public enum ErrorScimTypeJson [JsonProperty("invalidValue")] InvalidValue, } - public static class ErrorScimTypeJsonExtension + public static class ErrorScimTypeExtension { - public static string Value(this ErrorScimTypeJson value) + public static string Value(this ErrorScimType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static ErrorScimTypeJson ToEnum(this string value) + public static ErrorScimType ToEnum(this string value) { - foreach (var field in typeof(ErrorScimTypeJson).GetFields()) + foreach (var field in typeof(ErrorScimType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -46,14 +46,14 @@ public static ErrorScimTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is ErrorScimTypeJson) + if (enumVal is ErrorScimType) { - return (ErrorScimTypeJson)enumVal; + return (ErrorScimType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum ErrorScimTypeJson"); + throw new Exception($"Unknown value {value} for enum ErrorScimType"); } } } \ 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 861ea8a4d..78eb4e354 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomField.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomField.cs @@ -47,7 +47,7 @@ public class ExistingCustomField /// This is used to denote the category of a custom field. /// [JsonProperty("category")] - public CustomFieldCategoryJson Category { get; set; } = default!; + public CustomFieldCategory Category { get; set; } = default!; /// /// The actual text of the custom field. @@ -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 CustomFieldTypeJson Type { get; set; } = default!; + public CustomFieldType2 Type { get; set; } = default!; /// /// Type-specific details of the custom-field. @@ -95,7 +95,7 @@ public class ExistingCustomField /// 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. /// [JsonProperty("displayInDataTag")] - public DisplayInDataTagJson? DisplayInDataTag { get; set; } = Cvent.SDK.Models.Components.DisplayInDataTagJson.No; + public DisplayInDataTag? DisplayInDataTag { get; set; } = Cvent.SDK.Models.Components.DisplayInDataTag.No; /// /// Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. @@ -125,7 +125,7 @@ public class ExistingCustomField /// Visibility of the custom field on various pages/forms. /// [JsonProperty("pageVisibility")] - public PageVisibilityJson? PageVisibility { get; set; } + public PageVisibility? PageVisibility { get; set; } /// /// The ID 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 061258cfb..f728edfa8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs @@ -27,31 +27,31 @@ private ExistingCustomFieldDetailsType(string value) public string Value { get; private set; } - public static ExistingCustomFieldDetailsType ZeroOneOf1 + public static ExistingCustomFieldDetailsType OpenEndedOneLine { get { - return new ExistingCustomFieldDetailsType("0_OneOf_1"); + return new ExistingCustomFieldDetailsType("OpenEndedOneLine"); } } - public static ExistingCustomFieldDetailsType One + public static ExistingCustomFieldDetailsType OpenEndedDateTime1 { get { - return new ExistingCustomFieldDetailsType("1"); + return new ExistingCustomFieldDetailsType("OpenEndedDateTime1"); } } - public static ExistingCustomFieldDetailsType Two + public static ExistingCustomFieldDetailsType OpenEndedCommentBox { get { - return new ExistingCustomFieldDetailsType("2"); + return new ExistingCustomFieldDetailsType("OpenEndedCommentBox"); } } - public static ExistingCustomFieldDetailsType Three + public static ExistingCustomFieldDetailsType Choices1 { get { - return new ExistingCustomFieldDetailsType("3"); + return new ExistingCustomFieldDetailsType("Choices1"); } } @@ -67,14 +67,14 @@ public static ExistingCustomFieldDetailsType FromString(string v) { switch (v) { - case "0_OneOf_1": - return ZeroOneOf1; - case "1": - return One; - case "2": - return Two; - case "3": - return Three; + case "OpenEndedOneLine": + return OpenEndedOneLine; + case "OpenEndedDateTime1": + return OpenEndedDateTime1; + case "OpenEndedCommentBox": + return OpenEndedCommentBox; + case "Choices1": + return Choices1; default: throw new ArgumentException("Invalid value for ExistingCustomFieldDetailsType"); } @@ -106,48 +106,48 @@ public ExistingCustomFieldDetails(ExistingCustomFieldDetailsType type) } [SpeakeasyMetadata("form:explode=true")] - public ZeroOneOf1? ZeroOneOf1 { get; set; } + public OpenEndedOneLine? OpenEndedOneLine { get; set; } [SpeakeasyMetadata("form:explode=true")] - public One? One { get; set; } + public OpenEndedDateTime1? OpenEndedDateTime1 { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Two? Two { get; set; } + public OpenEndedCommentBox? OpenEndedCommentBox { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Three? Three { get; set; } + public Choices1? Choices1 { get; set; } public ExistingCustomFieldDetailsType Type { get; set; } - public static ExistingCustomFieldDetails CreateZeroOneOf1(ZeroOneOf1 zeroOneOf1) + public static ExistingCustomFieldDetails CreateOpenEndedOneLine(OpenEndedOneLine openEndedOneLine) { - ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.ZeroOneOf1; + ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.OpenEndedOneLine; ExistingCustomFieldDetails res = new ExistingCustomFieldDetails(typ); - res.ZeroOneOf1 = zeroOneOf1; + res.OpenEndedOneLine = openEndedOneLine; return res; } - public static ExistingCustomFieldDetails CreateOne(One one) + public static ExistingCustomFieldDetails CreateOpenEndedDateTime1(OpenEndedDateTime1 openEndedDateTime1) { - ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.One; + ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.OpenEndedDateTime1; ExistingCustomFieldDetails res = new ExistingCustomFieldDetails(typ); - res.One = one; + res.OpenEndedDateTime1 = openEndedDateTime1; return res; } - public static ExistingCustomFieldDetails CreateTwo(Two two) + public static ExistingCustomFieldDetails CreateOpenEndedCommentBox(OpenEndedCommentBox openEndedCommentBox) { - ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.Two; + ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.OpenEndedCommentBox; ExistingCustomFieldDetails res = new ExistingCustomFieldDetails(typ); - res.Two = two; + res.OpenEndedCommentBox = openEndedCommentBox; return res; } - public static ExistingCustomFieldDetails CreateThree(Three three) + public static ExistingCustomFieldDetails CreateChoices1(Choices1 choices1) { - ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.Three; + ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.Choices1; ExistingCustomFieldDetails res = new ExistingCustomFieldDetails(typ); - res.Three = three; + res.Choices1 = choices1; return res; } @@ -169,13 +169,13 @@ public class ExistingCustomFieldDetailsConverter : JsonConverter try { - return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.Two) { - Two = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OpenEndedCommentBox) { + OpenEndedCommentBox = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Two), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.Two), "Two")); + fallbackCandidates.Add((typeof(OpenEndedCommentBox), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OpenEndedCommentBox), "OpenEndedCommentBox")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -188,13 +188,13 @@ public class ExistingCustomFieldDetailsConverter : JsonConverter try { - return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.Three) { - Three = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.Choices1) { + Choices1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Three), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.Three), "Three")); + fallbackCandidates.Add((typeof(Choices1), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.Choices1), "Choices1")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -207,13 +207,13 @@ public class ExistingCustomFieldDetailsConverter : JsonConverter try { - return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.ZeroOneOf1) { - ZeroOneOf1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OpenEndedOneLine) { + OpenEndedOneLine = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(ZeroOneOf1), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.ZeroOneOf1), "ZeroOneOf1")); + fallbackCandidates.Add((typeof(OpenEndedOneLine), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OpenEndedOneLine), "OpenEndedOneLine")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -226,13 +226,13 @@ public class ExistingCustomFieldDetailsConverter : JsonConverter try { - return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.One) { - One = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OpenEndedDateTime1) { + OpenEndedDateTime1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(One), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.One), "One")); + fallbackCandidates.Add((typeof(OpenEndedDateTime1), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OpenEndedDateTime1), "OpenEndedDateTime1")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -275,27 +275,27 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer ExistingCustomFieldDetails res = (ExistingCustomFieldDetails)value; - if (res.ZeroOneOf1 != null) + if (res.OpenEndedOneLine != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ZeroOneOf1)); + writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedOneLine)); return; } - if (res.One != null) + if (res.OpenEndedDateTime1 != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.One)); + writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedDateTime1)); return; } - if (res.Two != null) + if (res.OpenEndedCommentBox != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.Two)); + writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedCommentBox)); return; } - if (res.Three != null) + if (res.Choices1 != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.Three)); + writer.WriteRawValue(Utilities.SerializeJSON(res.Choices1)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs index e282b58b9..a1dbca948 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs @@ -27,31 +27,31 @@ private ExistingCustomFieldDetailsInputType(string value) public string Value { get; private set; } - public static ExistingCustomFieldDetailsInputType ZeroOneOf1 + public static ExistingCustomFieldDetailsInputType OpenEndedOneLine { get { - return new ExistingCustomFieldDetailsInputType("0_OneOf_1"); + return new ExistingCustomFieldDetailsInputType("OpenEndedOneLine"); } } - public static ExistingCustomFieldDetailsInputType One + public static ExistingCustomFieldDetailsInputType OpenEndedDateTime1 { get { - return new ExistingCustomFieldDetailsInputType("1"); + return new ExistingCustomFieldDetailsInputType("OpenEndedDateTime1"); } } - public static ExistingCustomFieldDetailsInputType Two + public static ExistingCustomFieldDetailsInputType OpenEndedCommentBox { get { - return new ExistingCustomFieldDetailsInputType("2"); + return new ExistingCustomFieldDetailsInputType("OpenEndedCommentBox"); } } - public static ExistingCustomFieldDetailsInputType ThreeInput + public static ExistingCustomFieldDetailsInputType Choices1Input { get { - return new ExistingCustomFieldDetailsInputType("3_input"); + return new ExistingCustomFieldDetailsInputType("Choices1_input"); } } @@ -67,14 +67,14 @@ public static ExistingCustomFieldDetailsInputType FromString(string v) { switch (v) { - case "0_OneOf_1": - return ZeroOneOf1; - case "1": - return One; - case "2": - return Two; - case "3_input": - return ThreeInput; + case "OpenEndedOneLine": + return OpenEndedOneLine; + case "OpenEndedDateTime1": + return OpenEndedDateTime1; + case "OpenEndedCommentBox": + return OpenEndedCommentBox; + case "Choices1_input": + return Choices1Input; default: throw new ArgumentException("Invalid value for ExistingCustomFieldDetailsInputType"); } @@ -106,48 +106,48 @@ public ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType type) } [SpeakeasyMetadata("form:explode=true")] - public ZeroOneOf1? ZeroOneOf1 { get; set; } + public OpenEndedOneLine? OpenEndedOneLine { get; set; } [SpeakeasyMetadata("form:explode=true")] - public One? One { get; set; } + public OpenEndedDateTime1? OpenEndedDateTime1 { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Two? Two { get; set; } + public OpenEndedCommentBox? OpenEndedCommentBox { get; set; } [SpeakeasyMetadata("form:explode=true")] - public ThreeInput? ThreeInput { get; set; } + public Choices1Input? Choices1Input { get; set; } public ExistingCustomFieldDetailsInputType Type { get; set; } - public static ExistingCustomFieldDetailsInput CreateZeroOneOf1(ZeroOneOf1 zeroOneOf1) + public static ExistingCustomFieldDetailsInput CreateOpenEndedOneLine(OpenEndedOneLine openEndedOneLine) { - ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.ZeroOneOf1; + ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.OpenEndedOneLine; ExistingCustomFieldDetailsInput res = new ExistingCustomFieldDetailsInput(typ); - res.ZeroOneOf1 = zeroOneOf1; + res.OpenEndedOneLine = openEndedOneLine; return res; } - public static ExistingCustomFieldDetailsInput CreateOne(One one) + public static ExistingCustomFieldDetailsInput CreateOpenEndedDateTime1(OpenEndedDateTime1 openEndedDateTime1) { - ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.One; + ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.OpenEndedDateTime1; ExistingCustomFieldDetailsInput res = new ExistingCustomFieldDetailsInput(typ); - res.One = one; + res.OpenEndedDateTime1 = openEndedDateTime1; return res; } - public static ExistingCustomFieldDetailsInput CreateTwo(Two two) + public static ExistingCustomFieldDetailsInput CreateOpenEndedCommentBox(OpenEndedCommentBox openEndedCommentBox) { - ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.Two; + ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.OpenEndedCommentBox; ExistingCustomFieldDetailsInput res = new ExistingCustomFieldDetailsInput(typ); - res.Two = two; + res.OpenEndedCommentBox = openEndedCommentBox; return res; } - public static ExistingCustomFieldDetailsInput CreateThreeInput(ThreeInput threeInput) + public static ExistingCustomFieldDetailsInput CreateChoices1Input(Choices1Input choices1Input) { - ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.ThreeInput; + ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.Choices1Input; ExistingCustomFieldDetailsInput res = new ExistingCustomFieldDetailsInput(typ); - res.ThreeInput = threeInput; + res.Choices1Input = choices1Input; return res; } @@ -169,13 +169,13 @@ public class ExistingCustomFieldDetailsInputConverter : JsonConverter try { - return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.Two) { - Two = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OpenEndedCommentBox) { + OpenEndedCommentBox = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Two), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.Two), "Two")); + fallbackCandidates.Add((typeof(OpenEndedCommentBox), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OpenEndedCommentBox), "OpenEndedCommentBox")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -188,13 +188,13 @@ public class ExistingCustomFieldDetailsInputConverter : JsonConverter try { - return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.ThreeInput) { - ThreeInput = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.Choices1Input) { + Choices1Input = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(ThreeInput), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.ThreeInput), "ThreeInput")); + fallbackCandidates.Add((typeof(Choices1Input), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.Choices1Input), "Choices1Input")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -207,13 +207,13 @@ public class ExistingCustomFieldDetailsInputConverter : JsonConverter try { - return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.ZeroOneOf1) { - ZeroOneOf1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OpenEndedOneLine) { + OpenEndedOneLine = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(ZeroOneOf1), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.ZeroOneOf1), "ZeroOneOf1")); + fallbackCandidates.Add((typeof(OpenEndedOneLine), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OpenEndedOneLine), "OpenEndedOneLine")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -226,13 +226,13 @@ public class ExistingCustomFieldDetailsInputConverter : JsonConverter try { - return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.One) { - One = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OpenEndedDateTime1) { + OpenEndedDateTime1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(One), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.One), "One")); + fallbackCandidates.Add((typeof(OpenEndedDateTime1), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OpenEndedDateTime1), "OpenEndedDateTime1")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -275,27 +275,27 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer ExistingCustomFieldDetailsInput res = (ExistingCustomFieldDetailsInput)value; - if (res.ZeroOneOf1 != null) + if (res.OpenEndedOneLine != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ZeroOneOf1)); + writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedOneLine)); return; } - if (res.One != null) + if (res.OpenEndedDateTime1 != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.One)); + writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedDateTime1)); return; } - if (res.Two != null) + if (res.OpenEndedCommentBox != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.Two)); + writer.WriteRawValue(Utilities.SerializeJSON(res.OpenEndedCommentBox)); return; } - if (res.ThreeInput != null) + if (res.Choices1Input != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ThreeInput)); + writer.WriteRawValue(Utilities.SerializeJSON(res.Choices1Input)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs index 25b292a65..eada1b8d4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs @@ -22,7 +22,7 @@ public class ExistingCustomFieldInput /// This is used to denote the category of a custom field. /// [JsonProperty("category")] - public CustomFieldCategoryJson Category { get; set; } = default!; + public CustomFieldCategory Category { get; set; } = default!; /// /// The actual text of the custom field. @@ -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 CustomFieldTypeJson Type { get; set; } = default!; + public CustomFieldType2 Type { get; set; } = default!; /// /// Type-specific details of the custom-field. @@ -64,7 +64,7 @@ public class ExistingCustomFieldInput /// 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. /// [JsonProperty("displayInDataTag")] - public DisplayInDataTagJson? DisplayInDataTag { get; set; } = Cvent.SDK.Models.Components.DisplayInDataTagJson.No; + public DisplayInDataTag? DisplayInDataTag { get; set; } = Cvent.SDK.Models.Components.DisplayInDataTag.No; /// /// Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. @@ -94,7 +94,7 @@ public class ExistingCustomFieldInput /// Visibility of the custom field on various pages/forms. /// [JsonProperty("pageVisibility")] - public PageVisibilityJson? PageVisibility { get; set; } + public PageVisibility? PageVisibility { get; set; } /// /// The ID of the custom field. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GroupJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Group.cs similarity index 97% rename from packages/csharp/src/Cvent/SDK/Models/Components/GroupJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Group.cs index e7ea78efa..7c50d8eaf 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GroupJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Group.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// Generic sample name. Not a real model used by any Cvent service. /// - public class GroupJson + public class Group { /// /// The unique ID of the SCIM group. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GroupJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Group1.cs similarity index 94% rename from packages/csharp/src/Cvent/SDK/Models/Components/GroupJson0.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Group1.cs index 86e3a2c5c..017a218aa 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GroupJson0.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Group1.cs @@ -17,7 +17,7 @@ namespace Cvent.SDK.Models.Components /// /// Generic sample name. Not a real model used by any Cvent service. /// - public class GroupJson0 + public class Group1 { /// /// The list of schemas using this resource. @@ -41,6 +41,6 @@ public class GroupJson0 /// Metadata of the resource. /// [JsonProperty("meta")] - public MetaJson? Meta { get; set; } + public Meta? Meta { 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 f62b54761..5de35872d 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 Address5? HotelAddress { get; set; } + public Address6? HotelAddress { get; set; } /// /// Collection of hotel room rates the requester has taken. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/JourneyType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/JourneyType.cs index a0d55650a..121de969a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/JourneyType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/JourneyType.cs @@ -14,7 +14,7 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Type of journey. + /// Type of journey for an air booking. /// public enum JourneyType { diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LanguageJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Language1.cs similarity index 91% rename from packages/csharp/src/Cvent/SDK/Models/Components/LanguageJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Language1.cs index 3faa3df7b..120f46520 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LanguageJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Language1.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// IETF language code used to specify a target language for the translation. /// - public enum LanguageJson + public enum Language1 { [JsonProperty("af-ZA")] AfZA, [JsonProperty("ar-SA")] ArSA, @@ -84,16 +84,16 @@ public enum LanguageJson [JsonProperty("zh-tw")] ZhTw, } - public static class LanguageJsonExtension + public static class Language1Extension { - public static string Value(this LanguageJson value) + public static string Value(this Language1 value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static LanguageJson ToEnum(this string value) + public static Language1 ToEnum(this string value) { - foreach (var field in typeof(LanguageJson).GetFields()) + foreach (var field in typeof(Language1).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -106,14 +106,14 @@ public static LanguageJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is LanguageJson) + if (enumVal is Language1) { - return (LanguageJson)enumVal; + return (Language1)enumVal; } } } - throw new Exception($"Unknown value {value} for enum LanguageJson"); + throw new Exception($"Unknown value {value} for enum Language1"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MetaJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Meta.cs similarity index 98% rename from packages/csharp/src/Cvent/SDK/Models/Components/MetaJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Meta.cs index ac49bf890..96e92303e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MetaJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Meta.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// Metadata of the resource. /// - public class MetaJson + public class Meta { /// /// The type of the resource. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MutabilityJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Mutability.cs similarity index 80% rename from packages/csharp/src/Cvent/SDK/Models/Components/MutabilityJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Mutability.cs index ebf3abbde..5b2f275f0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MutabilityJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Mutability.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the mutability of the attribute. /// - public enum MutabilityJson + public enum Mutability { [JsonProperty("readOnly")] ReadOnly, [JsonProperty("readWrite")] ReadWrite, @@ -24,16 +24,16 @@ public enum MutabilityJson [JsonProperty("writeOnly")] WriteOnly, } - public static class MutabilityJsonExtension + public static class MutabilityExtension { - public static string Value(this MutabilityJson value) + public static string Value(this Mutability value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static MutabilityJson ToEnum(this string value) + public static Mutability ToEnum(this string value) { - foreach (var field in typeof(MutabilityJson).GetFields()) + foreach (var field in typeof(Mutability).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -46,14 +46,14 @@ public static MutabilityJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is MutabilityJson) + if (enumVal is Mutability) { - return (MutabilityJson)enumVal; + return (Mutability)enumVal; } } } - throw new Exception($"Unknown value {value} for enum MutabilityJson"); + throw new Exception($"Unknown value {value} for enum Mutability"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/NameJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Name.cs similarity index 98% rename from packages/csharp/src/Cvent/SDK/Models/Components/NameJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/Name.cs index 8c8bc5c76..466ff73c2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/NameJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Name.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// The name of the user. /// - public class NameJson + public class Name { /// /// The given/first name of the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OpenEndedDateTime.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OpenEndedDateTime.cs deleted file mode 100644 index aebbbc5b2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OpenEndedDateTime.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 OpenEndedDateTime - { - /// - /// 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/One.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OpenEndedDateTime1.cs similarity index 94% rename from packages/csharp/src/Cvent/SDK/Models/Components/One.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/OpenEndedDateTime1.cs index 153f35447..22d2c4f2e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/One.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/OpenEndedDateTime1.cs @@ -17,7 +17,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the open ended date time type of custom field. /// - public class One + public class OpenEndedDateTime1 { /// /// The ISO 8601 zoned minimum date time accepted. @@ -35,7 +35,7 @@ public class One /// This is used to denote the display format type of date time type custom field. /// [JsonProperty("format")] - public DateTimeDisplayFormatJson? Format { get; set; } + public DateTimeDisplayFormat? Format { get; set; } /// /// Whether it needs to be pre populated with current date. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PageVisibilityJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PageVisibility.cs similarity index 97% rename from packages/csharp/src/Cvent/SDK/Models/Components/PageVisibilityJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/PageVisibility.cs index be22abb00..d49dac942 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PageVisibilityJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PageVisibility.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// Visibility of the custom field on various pages/forms. /// - public class PageVisibilityJson + public class PageVisibility { /// /// True indicates it's visible on the event essentials event creation form. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PhoneNumberJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PhoneNumber.cs similarity index 90% rename from packages/csharp/src/Cvent/SDK/Models/Components/PhoneNumberJson1.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/PhoneNumber.cs index e90463ed5..862fc65e8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PhoneNumberJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PhoneNumber.cs @@ -16,13 +16,13 @@ namespace Cvent.SDK.Models.Components /// /// Phone Number. /// - public class PhoneNumberJson1 + public class PhoneNumber { /// /// The type of the phone number. /// [JsonProperty("type")] - public PhoneTypeJson Type { get; set; } = default!; + public PhoneType Type { get; set; } = default!; /// /// The phone number of the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PhoneTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PhoneType.cs similarity index 79% rename from packages/csharp/src/Cvent/SDK/Models/Components/PhoneTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/PhoneType.cs index c855e581a..1eee9bbd8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PhoneTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PhoneType.cs @@ -16,23 +16,23 @@ namespace Cvent.SDK.Models.Components /// /// The type of the phone number. /// - public enum PhoneTypeJson + public enum PhoneType { [JsonProperty("work")] Work, [JsonProperty("home")] Home, [JsonProperty("mobile")] Mobile, } - public static class PhoneTypeJsonExtension + public static class PhoneTypeExtension { - public static string Value(this PhoneTypeJson value) + public static string Value(this PhoneType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static PhoneTypeJson ToEnum(this string value) + public static PhoneType ToEnum(this string value) { - foreach (var field in typeof(PhoneTypeJson).GetFields()) + foreach (var field in typeof(PhoneType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -45,14 +45,14 @@ public static PhoneTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is PhoneTypeJson) + if (enumVal is PhoneType) { - return (PhoneTypeJson)enumVal; + return (PhoneType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum PhoneTypeJson"); + throw new Exception($"Unknown value {value} for enum PhoneType"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeReferenceTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ReferenceType.cs similarity index 76% rename from packages/csharp/src/Cvent/SDK/Models/Components/AttributeReferenceTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/ReferenceType.cs index 7db84f72c..4c5e03e91 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeReferenceTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ReferenceType.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the reference type of the attribute. /// - public enum AttributeReferenceTypeJson + public enum ReferenceType { [JsonProperty("User")] User, [JsonProperty("Group")] Group, @@ -24,16 +24,16 @@ public enum AttributeReferenceTypeJson [JsonProperty("uri")] Uri, } - public static class AttributeReferenceTypeJsonExtension + public static class ReferenceTypeExtension { - public static string Value(this AttributeReferenceTypeJson value) + public static string Value(this ReferenceType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static AttributeReferenceTypeJson ToEnum(this string value) + public static ReferenceType ToEnum(this string value) { - foreach (var field in typeof(AttributeReferenceTypeJson).GetFields()) + foreach (var field in typeof(ReferenceType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -46,14 +46,14 @@ public static AttributeReferenceTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is AttributeReferenceTypeJson) + if (enumVal is ReferenceType) { - return (AttributeReferenceTypeJson)enumVal; + return (ReferenceType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum AttributeReferenceTypeJson"); + throw new Exception($"Unknown value {value} for enum ReferenceType"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ResourceType.cs index 3ed936eda..17aa86869 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ResourceType.cs @@ -59,12 +59,12 @@ public class ResourceType /// The list of schema extensions for the resource type. /// [JsonProperty("schemaExtensions")] - public List? SchemaExtensions { get; set; } + public List? SchemaExtensions { get; set; } /// /// Metadata of the resource. /// [JsonProperty("meta")] - public MetaJson? Meta { get; set; } + public Meta? Meta { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJson.cs deleted file mode 100644 index ff86f42ad..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJson.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; - - /// - /// Resource Type. - /// - public class ResourceTypeJson - { - /// - /// The list of schemas using this resource. - /// - [JsonProperty("schemas")] - public List? Schemas { get; set; } - - /// - /// The unique identifier of the resource type. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the resource type. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The description of the resource type. - /// - [JsonProperty("description")] - public string? Description { get; set; } - - /// - /// The URL of the resource type endpoint. - /// - [JsonProperty("endpoint")] - public string? Endpoint { get; set; } - - /// - /// The schema of the resource type. - /// - [JsonProperty("schema")] - public string? Schema { get; set; } - - /// - /// The list of schema extensions for the resource type. - /// - [JsonProperty("schemaExtensions")] - public List? SchemaExtensions { get; set; } - - /// - /// Metadata of the resource. - /// - [JsonProperty("meta")] - public MetaJson? Meta { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJsonSchemaExtension.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJsonSchemaExtension.cs deleted file mode 100644 index 577f92771..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeJsonSchemaExtension.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; - - public class ResourceTypeJsonSchemaExtension - { - /// - /// The id of the schema extension. - /// - [JsonProperty("schema")] - public string? Schema { get; set; } - - /// - /// True indicates if the schema extension is required. - /// - [JsonProperty("required")] - public bool? Required { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypes.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypes.cs index 14b8880ef..791e2425b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypes.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypes.cs @@ -47,6 +47,6 @@ public class ResourceTypes /// The collection of schema resources. /// [JsonProperty("Resources")] - public List? Resources { get; set; } + public List? Resources { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeReturnedTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ReturnedType.cs similarity index 76% rename from packages/csharp/src/Cvent/SDK/Models/Components/AttributeReturnedTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/ReturnedType.cs index da9e39bcb..52c0bff73 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeReturnedTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ReturnedType.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the returned type of the attribute. /// - public enum AttributeReturnedTypeJson + public enum ReturnedType { [JsonProperty("always")] Always, [JsonProperty("never")] Never, @@ -24,16 +24,16 @@ public enum AttributeReturnedTypeJson [JsonProperty("request")] Request, } - public static class AttributeReturnedTypeJsonExtension + public static class ReturnedTypeExtension { - public static string Value(this AttributeReturnedTypeJson value) + public static string Value(this ReturnedType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static AttributeReturnedTypeJson ToEnum(this string value) + public static ReturnedType ToEnum(this string value) { - foreach (var field in typeof(AttributeReturnedTypeJson).GetFields()) + foreach (var field in typeof(ReturnedType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -46,14 +46,14 @@ public static AttributeReturnedTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is AttributeReturnedTypeJson) + if (enumVal is ReturnedType) { - return (AttributeReturnedTypeJson)enumVal; + return (ReturnedType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum AttributeReturnedTypeJson"); + throw new Exception($"Unknown value {value} for enum ReturnedType"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeSchemaExtension.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SchemaExtension.cs similarity index 95% rename from packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeSchemaExtension.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/SchemaExtension.cs index 9b4a8c5b8..b5d158e46 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ResourceTypeSchemaExtension.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SchemaExtension.cs @@ -12,7 +12,7 @@ namespace Cvent.SDK.Models.Components using Cvent.SDK.Utils; using Newtonsoft.Json; - public class ResourceTypeSchemaExtension + public class SchemaExtension { /// /// The id of the schema extension. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SchemaJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SchemaJson.cs deleted file mode 100644 index 8b6656c21..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SchemaJson.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; - - /// - /// Schema. - /// - public class SchemaJson - { - /// - /// The unique identifier of the schema. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the schema. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The description of the schema. - /// - [JsonProperty("description")] - public string? Description { get; set; } - - /// - /// The collection of attributes for the schema. - /// - [JsonProperty("attributes")] - public List? Attributes { get; set; } - - /// - /// Metadata of the resource. - /// - [JsonProperty("meta")] - public MetaJson? Meta { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SeatType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SeatType.cs index f3148bba2..0c8c916cb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SeatType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SeatType.cs @@ -14,7 +14,7 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Type of the seat. + /// Preferred or assigned seat type for an air booking. /// public enum SeatType { diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs index 0072cea66..8a60e0ce5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs @@ -29,7 +29,7 @@ public class SendEmailEventRequest /// Details of an email to be send. /// [JsonProperty("email")] - public EmailJson2 Email { get; set; } = default!; + public EmailJson1 Email { get; set; } = default!; /// /// True indicates this email should be resent to attendees who had already received this email previously. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs index afb3313c4..3b5ad8173 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs @@ -72,7 +72,7 @@ public class SendEmailEventResponse /// Details of an email to be send. /// [JsonProperty("email")] - public EmailJson2 Email { get; set; } = default!; + public EmailJson1 Email { get; set; } = default!; /// /// True indicates this email should be resent to attendees who had already received this email previously. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ServiceProviderConfig.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ServiceProviderConfig.cs index bdec66260..5bf30f4ae 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ServiceProviderConfig.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ServiceProviderConfig.cs @@ -71,12 +71,12 @@ public class ServiceProviderConfig /// The collection of authentication schemas. /// [JsonProperty("authenticationSchemes")] - public List? AuthenticationSchemes { get; set; } + public List? AuthenticationSchemes { get; set; } /// /// Metadata of the resource. /// [JsonProperty("meta")] - public MetaJson? Meta { get; set; } + public Meta? Meta { get; set; } } } \ 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/TaxType1.cs similarity index 83% rename from packages/csharp/src/Cvent/SDK/Models/Components/TaxType.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/TaxType1.cs index 01b5697c8..fcd8a5cd2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TaxType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TaxType1.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// Bid tax type. /// - public enum TaxType + public enum TaxType1 { [JsonProperty("city_tax")] CityTax, [JsonProperty("lodging_tax")] LodgingTax, @@ -29,16 +29,16 @@ public enum TaxType [JsonProperty("resort_fee")] ResortFee, } - public static class TaxTypeExtension + public static class TaxType1Extension { - public static string Value(this TaxType value) + public static string Value(this TaxType1 value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static TaxType ToEnum(this string value) + public static TaxType1 ToEnum(this string value) { - foreach (var field in typeof(TaxType).GetFields()) + foreach (var field in typeof(TaxType1).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -51,14 +51,14 @@ public static TaxType ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is TaxType) + if (enumVal is TaxType1) { - return (TaxType)enumVal; + return (TaxType1)enumVal; } } } - throw new Exception($"Unknown value {value} for enum TaxType"); + throw new Exception($"Unknown value {value} for enum TaxType1"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TicketType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TicketType.cs index 2b78c7bc7..dc9babff5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TicketType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TicketType.cs @@ -14,7 +14,7 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Category of the passenger's ticket. + /// Category of the passenger's ticket for an air booking. /// public enum TicketType { diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Translation.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Translation.cs index 59286a898..ef1e7b851 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Translation.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Translation.cs @@ -35,6 +35,6 @@ public class Translation /// Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. /// [JsonProperty("choiceTranslations")] - public List? ChoiceTranslations { get; set; } + public List? ChoiceTranslations { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Translation1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Translation1.cs index c19f79b63..2f9ddef46 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Translation1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Translation1.cs @@ -28,6 +28,6 @@ public class Translation1 /// IETF language code used to specify a target language for the translation. /// [JsonProperty("language")] - public LanguageJson Language { get; set; } = default!; + public Language1 Language { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs index 6f9d17605..be1a45a4c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs @@ -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/TravelBidTaxAndFee.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs index 15f461e69..9b499ae7e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs @@ -22,7 +22,7 @@ public class TravelBidTaxAndFee /// Bid tax type. /// [JsonProperty("code")] - public TaxType? Code { get; set; } + public TaxType1? Code { get; set; } /// /// The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Two.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Two.cs deleted file mode 100644 index dc944b100..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Two.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 open ended comment box type of custom field. - /// - public class Two - { - /// - /// Minimum number/characters allowed. - /// - [JsonProperty("minimum")] - public long? Minimum { get; set; } - - /// - /// Maximum number/characters allowed. - /// - [JsonProperty("maximum")] - public long? Maximum { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeUniquenessTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UniquenessType.cs similarity index 75% rename from packages/csharp/src/Cvent/SDK/Models/Components/AttributeUniquenessTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/UniquenessType.cs index 031e35ad3..26e83ebbb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttributeUniquenessTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UniquenessType.cs @@ -16,23 +16,23 @@ namespace Cvent.SDK.Models.Components /// /// This is used to denote the uniqueness type of the attribute. /// - public enum AttributeUniquenessTypeJson + public enum UniquenessType { [JsonProperty("none")] None, [JsonProperty("server")] Server, [JsonProperty("global")] Global, } - public static class AttributeUniquenessTypeJsonExtension + public static class UniquenessTypeExtension { - public static string Value(this AttributeUniquenessTypeJson value) + public static string Value(this UniquenessType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static AttributeUniquenessTypeJson ToEnum(this string value) + public static UniquenessType ToEnum(this string value) { - foreach (var field in typeof(AttributeUniquenessTypeJson).GetFields()) + foreach (var field in typeof(UniquenessType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -45,14 +45,14 @@ public static AttributeUniquenessTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is AttributeUniquenessTypeJson) + if (enumVal is UniquenessType) { - return (AttributeUniquenessTypeJson)enumVal; + return (UniquenessType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum AttributeUniquenessTypeJson"); + throw new Exception($"Unknown value {value} for enum UniquenessType"); } } } \ 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 aa472b36a..167e8f991 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/User.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/User.cs @@ -35,7 +35,7 @@ public class User /// The name of the user. /// [JsonProperty("name")] - public NameJson Name { get; set; } = default!; + public Name Name { get; set; } = default!; /// /// The user name of the user to be used during identification. @@ -53,7 +53,7 @@ public class User /// The email of the user. The Cvent user can have only one email address.<br> 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. /// [JsonProperty("emails")] - public List Emails { get; set; } = default!; + public List Emails { get; set; } = default!; /// /// The title of the user. @@ -65,19 +65,19 @@ public class User /// The phone numbers of the user.<br> If more than one number per type is provided, only one is accepted and rest are ignored. /// [JsonProperty("phoneNumbers")] - public List? PhoneNumbers { get; set; } + public List? PhoneNumbers { get; set; } /// /// 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. /// [JsonProperty("userType")] - public UserTypeJson UserType { get; set; } = default!; + public UserType UserType { get; set; } = default!; /// /// List of Timezones supported. @@ -95,18 +95,18 @@ public class User /// The SCIM group (representing Cvent user role) of the user. /// [JsonProperty("groups")] - public List Groups { get; set; } = default!; + public List Groups { get; set; } = default!; /// /// Enterprise extension model for the user. /// [JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User")] - public UserEnterpriseExtensionJson UrnIetfParamsScimSchemasExtensionEnterprise20User { get; set; } = default!; + public UserEnterpriseExtension UrnIetfParamsScimSchemasExtensionEnterprise20User { get; set; } = default!; /// /// Metadata of the resource. /// [JsonProperty("meta")] - public MetaJson? Meta { get; set; } + public Meta? Meta { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UserEnterpriseExtensionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UserEnterpriseExtension.cs similarity index 97% rename from packages/csharp/src/Cvent/SDK/Models/Components/UserEnterpriseExtensionJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/UserEnterpriseExtension.cs index 9c606ae53..d4e93be82 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UserEnterpriseExtensionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UserEnterpriseExtension.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// Enterprise extension model for the user. /// - public class UserEnterpriseExtensionJson + public class UserEnterpriseExtension { /// /// Indicates if the login details are to be sent to user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UserGroups.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UserGroups.cs index b25c030f1..6e5053836 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UserGroups.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UserGroups.cs @@ -47,6 +47,6 @@ public class UserGroups /// The collection of schema resources. /// [JsonProperty("Resources")] - public List? Resources { get; set; } + public List? Resources { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs index 3db0572d5..891f4efa7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs @@ -23,7 +23,7 @@ public class UserInput /// The name of the user. /// [JsonProperty("name")] - public NameJson Name { get; set; } = default!; + public Name Name { get; set; } = default!; /// /// The user name of the user to be used during identification. @@ -41,7 +41,7 @@ public class UserInput /// The email of the user. The Cvent user can have only one email address.<br> 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. /// [JsonProperty("emails")] - public List Emails { get; set; } = default!; + public List Emails { get; set; } = default!; /// /// The title of the user. @@ -53,19 +53,19 @@ public class UserInput /// The phone numbers of the user.<br> If more than one number per type is provided, only one is accepted and rest are ignored. /// [JsonProperty("phoneNumbers")] - public List? PhoneNumbers { get; set; } + public List? PhoneNumbers { get; set; } /// /// 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. /// [JsonProperty("userType")] - public UserTypeJson UserType { get; set; } = default!; + public UserType UserType { get; set; } = default!; /// /// List of Timezones supported. @@ -83,12 +83,12 @@ public class UserInput /// The SCIM group (representing Cvent user role) of the user. /// [JsonProperty("groups")] - public List Groups { get; set; } = default!; + public List Groups { get; set; } = default!; /// /// Enterprise extension model for the user. /// [JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User")] - public UserEnterpriseExtensionJson UrnIetfParamsScimSchemasExtensionEnterprise20User { get; set; } = default!; + public UserEnterpriseExtension UrnIetfParamsScimSchemasExtensionEnterprise20User { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs deleted file mode 100644 index ca30e1478..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs +++ /dev/null @@ -1,112 +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; - - /// - /// Generic sample User. Not a real model used by any Cvent service. - /// - public class UserJson - { - /// - /// The list of schemas using this resource. - /// - [JsonProperty("schemas")] - public List? Schemas { get; set; } - - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the user. - /// - [JsonProperty("name")] - public NameJson Name { get; set; } = default!; - - /// - /// The user name of the user to be used during identification. - /// - [JsonProperty("userName")] - public string UserName { get; set; } = default!; - - /// - /// True indicates the user is active. - /// - [JsonProperty("active")] - public bool? Active { get; set; } = true; - - /// - /// The email of the user. The Cvent user can have only one email address.<br> 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. - /// - [JsonProperty("emails")] - public List Emails { get; set; } = default!; - - /// - /// The title of the user. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The phone numbers of the user.<br> If more than one number per type is provided, only one is accepted and rest are ignored. - /// - [JsonProperty("phoneNumbers")] - public List? PhoneNumbers { get; set; } - - /// - /// 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; } - - /// - /// The type of the user. - /// - [JsonProperty("userType")] - public UserTypeJson UserType { get; set; } = default!; - - /// - /// List of Timezones supported. - /// - [JsonProperty("timezone")] - public string? Timezone { get; set; } = "America/New_York"; - - /// - /// The locale of the user. The IETF Language Tag format is used. - /// - [JsonProperty("locale")] - public string Locale { get; set; } = default!; - - /// - /// The SCIM group (representing Cvent user role) of the user. - /// - [JsonProperty("groups")] - public List Groups { get; set; } = default!; - - /// - /// Enterprise extension model for the user. - /// - [JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User")] - public UserEnterpriseExtensionJson UrnIetfParamsScimSchemasExtensionEnterprise20User { get; set; } = default!; - - /// - /// Metadata of the resource. - /// - [JsonProperty("meta")] - public MetaJson? Meta { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UserTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UserType.cs similarity index 79% rename from packages/csharp/src/Cvent/SDK/Models/Components/UserTypeJson.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/UserType.cs index eccaaf9f9..c1d3cdaaf 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UserTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UserType.cs @@ -16,21 +16,21 @@ namespace Cvent.SDK.Models.Components /// /// The type of the user. /// - public enum UserTypeJson + public enum UserType { [JsonProperty("Planner Account User")] PlannerAccountUser, } - public static class UserTypeJsonExtension + public static class UserTypeExtension { - public static string Value(this UserTypeJson value) + public static string Value(this UserType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static UserTypeJson ToEnum(this string value) + public static UserType ToEnum(this string value) { - foreach (var field in typeof(UserTypeJson).GetFields()) + foreach (var field in typeof(UserType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -43,14 +43,14 @@ public static UserTypeJson ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is UserTypeJson) + if (enumVal is UserType) { - return (UserTypeJson)enumVal; + return (UserType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum UserTypeJson"); + throw new Exception($"Unknown value {value} for enum UserType"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Users.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Users.cs index 7f19bf0b6..936d169ff 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Users.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Users.cs @@ -47,6 +47,6 @@ public class Users /// The collection of user resources. /// [JsonProperty("Resources")] - public List? Resources { get; set; } + public List? Resources { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchema.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchema.cs index f5e50b604..4c89f1432 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchema.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchema.cs @@ -41,12 +41,12 @@ public class UsersSchema /// The collection of attributes for the schema. ///
[JsonProperty("attributes")] - public List? Attributes { get; set; } + public List? Attributes { get; set; } /// /// Metadata of the resource. /// [JsonProperty("meta")] - public MetaJson? Meta { get; set; } + public Meta? Meta { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchemas.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchemas.cs index 521ca102b..97c850fe7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchemas.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UsersSchemas.cs @@ -47,6 +47,6 @@ public class UsersSchemas /// The collection of schema resources. /// [JsonProperty("Resources")] - public List? Resources { get; set; } + public List? Resources { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf.cs similarity index 96% rename from packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf2.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf.cs index 09bb9e378..ca209abf8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// AttendeeAddResponse. /// - public class ZeroOneOf2 + public class ZeroOneOf { /// /// The unique id representing an attendee. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf1.cs deleted file mode 100644 index bcf983af8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroOneOf1.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; - - /// - /// This is used to denote the open ended one line type of custom field. - /// - public class ZeroOneOf1 - { - /// - /// The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI. - /// - [JsonProperty("answerFormat")] - public string? AnswerFormat { get; set; } - - /// - /// Minimum number/characters allowed. - /// - [JsonProperty("minimum")] - public long? Minimum { get; set; } - - /// - /// Maximum number/characters allowed. - /// - [JsonProperty("maximum")] - public long? Maximum { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/BadRequestException.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/BadRequestException.cs index 986c11290..e0510ff54 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/BadRequestException.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/BadRequestException.cs @@ -19,7 +19,7 @@ namespace Cvent.SDK.Models.Errors public class BadRequestExceptionPayload { /// - /// May be returned with additional information regarding the error. + /// Additional error information, when available. /// [JsonProperty("error_description")] public string? ErrorDescription { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse.cs similarity index 50% rename from packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs rename to packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse.cs index f9ac9120f..24092c7a3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse.cs @@ -16,69 +16,80 @@ namespace Cvent.SDK.Models.Errors using System.Collections.Generic; using System.Net.Http; - public class ErrorResponseJson12Payload + public class ErrorResponsePayload { /// - /// The collection of error schemas. + /// The HTTP status code representing the error. /// - [JsonProperty("schemas")] - public List? Schemas { get; set; } + [JsonProperty("code")] + public long Code { get; set; } = default!; /// - /// Status code for error. + /// A brief description of the error. /// - [JsonProperty("status")] - public long Status { get; set; } = default!; + [JsonProperty("message")] + public string Message { get; set; } = default!; /// - /// Details of the error. + /// The target resource of the error. /// - [JsonProperty("detail")] - public string Detail { get; set; } = default!; + [JsonProperty("target")] + public string? Target { get; set; } /// - /// This is used to denote the scim type of the error. + /// Additional details of cascading error messages. /// - [JsonProperty("scimType")] - public ErrorScimTypeJson? ScimType { get; set; } + [JsonProperty("details")] + public List? Details { get; set; } } /// - /// The error response. + /// Represents an error response with additional details of cascading error messages. /// - public class ErrorResponseJson12 : CventSDKException + public class ErrorResponse : CventSDKException { /// /// The original data that was passed to this exception. /// - public ErrorResponseJson12Payload Payload { get; } + public ErrorResponsePayload 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 ErrorResponse.Payload.Code instead.")] + public long Code { 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.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 ErrorResponse.Payload.Message instead.")] + private string? _message { get; set; } - [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 ErrorResponse.Payload.Target instead.")] + 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 ErrorResponseJson12.Payload.ScimType instead.")] - public ErrorScimTypeJson? ScimType { get; set; } + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse.Payload.Details instead.")] + public List? Details { get; set; } - public ErrorResponseJson12( - ErrorResponseJson12Payload payload, + private static string ErrorMessage(ErrorResponsePayload payload, string body) + { + string? message = payload.Message; + if (!string.IsNullOrEmpty(message)) + { + return message; + } + + return "API error occurred"; + } + + public ErrorResponse( + ErrorResponsePayload payload, HttpRequestMessage request, HttpResponseMessage response, string body - ) : base("API error occurred", request, response, body) + ) : base(ErrorMessage(payload, body), request, response, body) { Payload = payload; #pragma warning disable CS0618 - Schemas = payload.Schemas; - Status = payload.Status; - Detail = payload.Detail; - ScimType = payload.ScimType; + Code = payload.Code; + _message = payload.Message; + Target = payload.Target; + Details = payload.Details; #pragma warning restore CS0618 } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs index bfb225c25..51d3a45ba 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs @@ -19,32 +19,32 @@ namespace Cvent.SDK.Models.Errors public class ErrorResponse2Payload { /// - /// The HTTP status code representing the error. + /// The collection of error schemas. /// - [JsonProperty("code")] - public long Code { get; set; } = default!; + [JsonProperty("schemas")] + public List? Schemas { get; set; } /// - /// A brief description of the error. + /// Status code for error. /// - [JsonProperty("message")] - public string Message { get; set; } = default!; + [JsonProperty("status")] + public long Status { get; set; } = default!; /// - /// The target resource of the error. + /// Details of the error. /// - [JsonProperty("target")] - public string? Target { get; set; } + [JsonProperty("detail")] + public string Detail { get; set; } = default!; /// - /// Additional details of cascading error messages. + /// This is used to denote the scim type of the error. /// - [JsonProperty("details")] - public List? Details { get; set; } + [JsonProperty("scimType")] + public ErrorScimType? ScimType { get; set; } } /// - /// Represents an error response with additional details of cascading error messages. + /// The error response. /// public class ErrorResponse2 : CventSDKException { @@ -53,43 +53,32 @@ public class ErrorResponse2 : CventSDKException /// public ErrorResponse2Payload Payload { get; } - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse2.Payload.Code instead.")] - public long Code { get; set; } = default!; + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse2.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 ErrorResponse2.Payload.Message instead.")] - private string? _message { get; set; } + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse2.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 ErrorResponse2.Payload.Target instead.")] - 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.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 ErrorResponse2.Payload.Details instead.")] - public List? Details { get; set; } - - private static string ErrorMessage(ErrorResponse2Payload payload, string body) - { - string? message = payload.Message; - if (!string.IsNullOrEmpty(message)) - { - return message; - } - - return "API error occurred"; - } + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse2.Payload.ScimType instead.")] + public ErrorScimType? ScimType { get; set; } public ErrorResponse2( ErrorResponse2Payload payload, HttpRequestMessage request, HttpResponseMessage response, string body - ) : base(ErrorMessage(payload, body), request, response, body) + ) : base("API error occurred", request, response, body) { Payload = payload; #pragma warning disable CS0618 - Code = payload.Code; - _message = payload.Message; - Target = payload.Target; - Details = payload.Details; + Schemas = payload.Schemas; + Status = payload.Status; + Detail = payload.Detail; + ScimType = payload.ScimType; #pragma warning restore CS0618 } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GrantType.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GrantType.cs index 1da9925a5..dac9d6c0b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GrantType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GrantType.cs @@ -14,7 +14,7 @@ namespace Cvent.SDK.Models.Requests using System; /// - /// The grant type. + /// Controls the OAuth2 grant flow used to obtain tokens. /// public enum GrantType { diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListCustomFieldsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListCustomFieldsRequest.cs index b80d8c8d3..db123c140 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListCustomFieldsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListCustomFieldsRequest.cs @@ -40,22 +40,22 @@ public class ListCustomFieldsRequest 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)
- /// * category (eq) *(Required, one category can be provided at a time)*
- /// * lastModified (eq|ne|lt|le|gt|ge)
- /// * code (eq|ne) *(Case insensitive)* + /// | Field | Operators | Notes |
+ /// |------------------|-------------------------------------|-------|
+ /// | id | `eq`, `ne` | |
+ /// | category | `eq` | Required, one category can be provided at a time |
+ /// | lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | |
+ /// | code | `eq`, `ne` | Case insensitive |
+ ///
+ /// The following logical operators are supported for combining filters:
+ /// * and
+ /// * or. ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string Filter { get; set; } = default!; diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListUsersRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListUsersRequest.cs index f83972b11..f89868865 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListUsersRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListUsersRequest.cs @@ -26,29 +26,25 @@ public class ListUsersRequest public long? Count { get; set; } = 100; /// - /// 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.
///
- /// The following comparison types 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:
- /// * userName (eq|ne)
- /// * groups.value (eq|ne)
- /// * active (eq|ne)
- /// * id (eq|nq)
- /// * emails.value (eq|ne)
- /// * meta.lastModified (eq|ne|lt|le|gt|ge)
- /// * meta.created (eq|ne|lt|le|gt|ge)
+ /// | Field | Operators |
+ /// |-------------------|------------------------------------|
+ /// | userName | `eq`, `ne` |
+ /// | groups.value | `eq`, `ne` |
+ /// | active | `eq`, `ne` |
+ /// | id | `eq`, `ne` |
+ /// | emails.value | `eq`, `ne` |
+ /// | meta.lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` |
+ /// | meta.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/Oauth2AuthorizeRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2AuthorizeRequest.cs index 5042eafbc..013c6f270 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2AuthorizeRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2AuthorizeRequest.cs @@ -31,7 +31,7 @@ public class Oauth2AuthorizeRequest public string ClientId { get; set; } = default!; /// - /// The URL to which the authentication server redirects the browser after authorization has been granted by the user.
+ /// The URL to which the authorization server redirects the browser after authorization has been granted by the user.
///
/// A redirect URI must:
///
@@ -62,7 +62,7 @@ public class Oauth2AuthorizeRequest /// Can be a combination of any scopes associated with a client. Scopes must be separated by spaces.
/// Any scope used must be pre-associated with the client or it will be ignored at runtime.
///
- /// **Note:** If the client doesn't request any scopes, the authentication server uses all
+ /// **Note:** If the client doesn't request any scopes, the authorization server uses all
/// scopes associated with the client. ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=scope")] diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenRequest.cs index 9c138d576..445e564d3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenRequest.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Requests public class Oauth2TokenRequest { /// - /// The grant type. + /// Controls the OAuth2 grant flow used to obtain tokens. /// [SpeakeasyMetadata("form:name=grant_type")] public GrantType GrantType { get; set; } = default!; @@ -30,7 +30,7 @@ public class Oauth2TokenRequest /// /// Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime.
- /// If the client doesn't request any scopes, the authentication server uses all scopes associated with the client.
+ /// If the client doesn't request any scopes, the authorization server uses all scopes associated with the client.
///
/// **Optional** - Only used if the grant_type is client_credentials. ///
diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenResponseBody.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenResponseBody.cs index 812df1bf6..eba4e492e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenResponseBody.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/Oauth2TokenResponseBody.cs @@ -30,7 +30,7 @@ public class Oauth2TokenResponseBody public string? RefreshToken { get; set; } /// - /// The token type. + /// The OAuth2 token type. Always `Bearer`. /// [JsonProperty("token_type")] public string TokenType { get; set; } = default!; diff --git a/packages/csharp/src/Cvent/SDK/SDKConfig.cs b/packages/csharp/src/Cvent/SDK/SDKConfig.cs index 4a646ab4d..f47bee9e2 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.5.1 2.859.2 ea Cvent.SDK"; + UserAgent = "speakeasy-sdk/csharp 1.5.2 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 5ac5679bf..767522572 100644 --- a/packages/csharp/src/Cvent/SDK/Sessions.cs +++ b/packages/csharp/src/Cvent/SDK/Sessions.cs @@ -213,7 +213,7 @@ public Task GetProgramItemDocumentsAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Program item session document limit reached. Thrown when the API returns a 409 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( @@ -2249,7 +2249,7 @@ public async Task GetProgramItemDocumentsAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Program item session document limit reached. Thrown when the API returns a 409 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( @@ -2377,17 +2377,17 @@ public async Task RelateProgramItemT if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/Speakers.cs b/packages/csharp/src/Cvent/SDK/Speakers.cs index 0ed609fda..b9787baca 100644 --- a/packages/csharp/src/Cvent/SDK/Speakers.cs +++ b/packages/csharp/src/Cvent/SDK/Speakers.cs @@ -77,7 +77,7 @@ public Task ListSessionProgramSpe /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Session program speaker limit reached. Thrown when the API returns a 409 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( @@ -821,7 +821,7 @@ public async Task ListSessionProg /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Session program speaker limit reached. Thrown when the API returns a 409 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( @@ -949,17 +949,17 @@ public async Task CreateSessionProgramSpeak if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponsePayload 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.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse(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/UserSCIM.cs b/packages/csharp/src/Cvent/SDK/UserSCIM.cs index 6f2e452b5..ce0dbc7e7 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(); - ErrorResponseJson12Payload payload; + ErrorResponse2Payload 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + ErrorResponse2Payload 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + ErrorResponse2Payload 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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(); - ErrorResponseJson12Payload payload; + 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 ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponse2(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 b60155ccb..2536ca9f6 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.5.1"; + public const string SdkVersion = "1.5.2"; /// /// 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 f40adc3a5..31e3ceac1 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: 8bccf1f5577de0d50c061573c9b1f18c + docChecksum: ce9ff8f3ccf7daaa0f3cdb2e11397d7b docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.5.1 - configChecksum: c38892c4f315d488534ec8bc5e5bd521 + releaseVersion: 1.5.2 + configChecksum: 9c8a57eae9d6d4b2d32783046c5fce8b published: true persistentEdits: generation_id: 6ad3309a-d2a1-4e74-a3ae-065e16d1999e @@ -231,9 +231,11 @@ trackedFiles: docs/models/components/Address4.md: last_write_checksum: sha1:d08b9584dc4dad2db204b1856fb2faa9e496074d docs/models/components/Address5.md: - last_write_checksum: sha1:bc3139602856359c7b3711cbd4fdc0e302b8a759 + last_write_checksum: sha1:f0c4fb5558c70bd1d9671a1719f415a7786b2c08 docs/models/components/Address6.md: - last_write_checksum: sha1:bdb2507f907f877ca645383921dbbebb41c96fd7 + last_write_checksum: sha1:0a153f1120f7d4ddfc740637d29581e312084d2f + docs/models/components/Address7.md: + last_write_checksum: sha1:69ab1bc27d8aa8b155ab1b9a92c330c2b3caa719 docs/models/components/AddressInput.md: last_write_checksum: sha1:452de3333bd7d54cb6c9cf241d8d715bf81a4a51 docs/models/components/AddressJson.md: @@ -242,26 +244,20 @@ trackedFiles: pristine_git_object: 39721498ca4a7658142cbc308a2072d0bbbf42be docs/models/components/AddressJson1.md: last_write_checksum: sha1:f227600fe62d4397e81350d69cce7a4373a12ec1 - docs/models/components/AddressJson2.md: - 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:a4f2455039bf2a91fe6e8a8202437bcf7c6e4a9c - pristine_git_object: 7cf2dd92b24fd2d29d0c4b9eaf6abdba7e61abb3 + docs/models/components/AddressType1.md: + last_write_checksum: sha1:4aae6edf49c2a8d2f54f274e96a47e1f84beca64 docs/models/components/AdmissionItemsPaginatedResponse.md: id: 49454efee4e0 last_write_checksum: sha1:11e26bb527c9557c73ed14da9d6694da28ff897a pristine_git_object: a9021423913f41b4eaf2f775bd1aec08f556144b docs/models/components/AdvancedLogic.md: id: 1406d901b11a - last_write_checksum: sha1:79f58912fea01948dad800653b6b1d59fb6d3d8a + last_write_checksum: sha1:eea6ad749885c1bcb624391cdfa095c33e6391b1 pristine_git_object: 588e1f7761b87abfa22f88fe2b3c28d0d7b93903 - docs/models/components/AdvancedLogicChoicesJson.md: - id: c5a11d17e85f - last_write_checksum: sha1:188136f58ccce7d3403b7f241c0648c240bbf824 - pristine_git_object: 353838084ee7c3718bb16ec913773aee9caec22b + docs/models/components/AdvancedLogicChoices.md: + last_write_checksum: sha1:c4693dd858d275779fb79c2cb1080b6dcb3ae131 docs/models/components/AgeCategory.md: id: 486c1050894e last_write_checksum: sha1:2644a1c8ce1171eaee2cdc78bf15308f52a796b3 @@ -287,13 +283,13 @@ trackedFiles: last_write_checksum: sha1:55fcd3fdff9fc6c4968873ecf448342cd7c05744 pristine_git_object: 9ff039dcc944764523e547171557e562a3796596 docs/models/components/AirActual.md: - last_write_checksum: sha1:afad0650cc5bae5dfe8d02f1651eb4012da62d94 + last_write_checksum: sha1:7c9dc772fbebda0f26bd27a2b43e19abeb23032b docs/models/components/AirActualDetail1.md: last_write_checksum: sha1:ce134f890eb22bcf3d6841c751b7c8ccb9d6dd41 docs/models/components/AirActualDetail2.md: last_write_checksum: sha1:a703a3df6679e43e5af2d7c5883ed99b2e4b5eb2 docs/models/components/AirRequest.md: - last_write_checksum: sha1:0dd111b0eba0df3a0807b722e95b3c15a1655e81 + last_write_checksum: sha1:6d109525772c8add24c3252cde5e0f532ca3bb3c docs/models/components/AirRequesterType.md: last_write_checksum: sha1:77b78c3cb12ac674b05dbdc47e9abc8bc5e0f109 docs/models/components/AirReservationDetail1.md: @@ -301,7 +297,7 @@ trackedFiles: docs/models/components/AirReservationDetail2.md: last_write_checksum: sha1:fced61ea0b1f221d3d56c52aeaffc16357d82424 docs/models/components/AirlinePreference.md: - last_write_checksum: sha1:856ff9b4cb354e3967f3e1255b72efda572c1f65 + last_write_checksum: sha1:9f42dc3c283b8805639f796f6adf17a951a3bd9b docs/models/components/AllocationBudgetItemIdJson.md: id: c2c9e2b0b571 last_write_checksum: sha1:7eac0dafab76e3a6431e18883f02aae2b5312b5a @@ -505,7 +501,7 @@ trackedFiles: docs/models/components/Attendee.md: last_write_checksum: sha1:3a634dbfbc69513b5696b61722ee00762ae82ae2 docs/models/components/Attendee11.md: - last_write_checksum: sha1:621ce9fba951e755fb977132c46e1476e08869be + last_write_checksum: sha1:be69f496cdd5d6af2cf8e7824bc05325822c560a docs/models/components/Attendee12.md: last_write_checksum: sha1:63fee4f20f2ef8b321cf820a85175b1aea160b33 docs/models/components/Attendee13.md: @@ -523,7 +519,7 @@ trackedFiles: last_write_checksum: sha1:d85aedb132d3d9c185d6c72a24a7407e25ad9f98 pristine_git_object: 70626f9fcc6c552b817ae8327c8460846c60fd60 docs/models/components/AttendeeAdd.md: - last_write_checksum: sha1:d3b468f86b0c00d70e92d14bde3457a455fcff3a + last_write_checksum: sha1:918e824538b4abb8959fda156ebe102c1c1f0e25 docs/models/components/AttendeeAddAdministrator.md: last_write_checksum: sha1:962f8f3ee5e386fd385537cc1ff0817d0bc8f8f2 docs/models/components/AttendeeAddAdmissionItem.md: @@ -673,7 +669,7 @@ trackedFiles: docs/models/components/AttendeeResponseMethod.md: last_write_checksum: sha1:52265666ab21cdb7b3e6f091c1f510f318dab805 docs/models/components/AttendeeResponseMethod1.md: - last_write_checksum: sha1:21a0b6b13794b7e5af0cbf3d6963daebf2a6379d + last_write_checksum: sha1:cc04fed73b7968cd1fb2cf3a6238fbaae46746b5 docs/models/components/AttendeeSignatureResponseJson.md: id: d6b05edf262a last_write_checksum: sha1:036211f04ba92562a34daf4383ae86a149e54e52 @@ -716,7 +712,7 @@ trackedFiles: pristine_git_object: 0aeb270ba1e39b6da3bdb3b8c03ce3872646a6de docs/models/components/AttendeeUpdate.md: id: c068d0e3e7d9 - last_write_checksum: sha1:1b0a2ff204b1b3d6ce7364de0be513b7b8799933 + last_write_checksum: sha1:b3a4409d7a53f345e60ca7834acd6399bf8ba48d pristine_git_object: 49a77cb3abde0eba287e615c65ac0ec8c299b4ba docs/models/components/AttendeeUpdateAdministrator.md: id: a6879cbc9e1c @@ -743,7 +739,7 @@ trackedFiles: last_write_checksum: sha1:a0bc4a7d0f234144a8c063d9de3b1b415ac57813 pristine_git_object: bf996c5960627c19abad4b04c1f0360ae76bf250 docs/models/components/AttendeeUpdateStatus.md: - last_write_checksum: sha1:5ade9b94b80298e91d5206bec8883ac3503f9a68 + last_write_checksum: sha1:1a02d2309877bded1e5b7492bb8a467dfc0213b5 docs/models/components/AttendeeVisibility.md: last_write_checksum: sha1:c40d82f40f9a01e65b5f2d17c6206bfa481db4bb docs/models/components/AttendeeWebLinks.md: @@ -754,26 +750,10 @@ trackedFiles: 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 - pristine_git_object: a8a9b3313bbbd461157888b5f3f7571387be0213 - docs/models/components/AttributeJson.md: - id: 2f9f334a9e9d - last_write_checksum: sha1:337bcbea883b5fd48bc9f70944e9b5cc837ffc85 - pristine_git_object: f8f4ead5e229466f2e95023b04b9d77ef074c3b7 - docs/models/components/AttributeReferenceTypeJson.md: - id: 116ebdda2388 - last_write_checksum: sha1:81b8bb0fa85023fb0e2e0d66c1c5f68244194a7f - pristine_git_object: 170c190622359f8b5b4520f70add80f18834a091 - docs/models/components/AttributeReturnedTypeJson.md: - id: 28a6ff1f3fe0 - last_write_checksum: sha1:60171cd6871d53137287bbd021e919ccc58dae62 - pristine_git_object: 1c2d8f6c2b94607d9360e465b5ea290d3df76bca - docs/models/components/AttributeUniquenessTypeJson.md: - id: 7fd4e4613534 - last_write_checksum: sha1:3aac243d6413d2a0ce5e05fca74db055f23b5ce1 - pristine_git_object: 4a3d9d6047721688e3a4cdfaa0b2c020fa37473a + docs/models/components/Attribute.md: + last_write_checksum: sha1:a7f79f619a704d8fb9c392f0d9c149d9598a6280 + docs/models/components/AttributeDataType.md: + last_write_checksum: sha1:552152e6c85a842a9b0bbcfb2b7f0db58e21f4f8 docs/models/components/Attribution.md: id: 2b63341e0bf9 last_write_checksum: sha1:b9f64b8e61b9f05d21029f44659a6e3a03ab9a88 @@ -808,10 +788,8 @@ trackedFiles: id: 437c3b617f08 last_write_checksum: sha1:30ef311ef5ce5c28bf045e7659fcccf977f6d1c5 pristine_git_object: 3dc1b1f2e19d45dc12fd940ed95a28ed7aa38c6e - docs/models/components/AuthenticationSchemaJson.md: - id: 2a9fcf3c2793 - last_write_checksum: sha1:52e8d0891d7081ac576a6ac8451a9265ec58d57a - pristine_git_object: 2eea78ae7cab6ba602de62fd37b765141a9a9530 + docs/models/components/AuthenticationSchema.md: + last_write_checksum: sha1:565bf1062aebc54a2b5c08c63b84c79a386b236b docs/models/components/AuthorizationHeaderType1.md: id: 770fa2f3ad04 last_write_checksum: sha1:e989b7394866c2b2d42f570c3a11c80f3e16d8e2 @@ -954,7 +932,7 @@ trackedFiles: pristine_git_object: ddd92462283c8accfa8aa7546d5bcd2ad3ffd840 docs/models/components/BounceDetailsJson.md: id: dc3803508bfc - last_write_checksum: sha1:825a277cf241ced85fa923608e5a385df5e311a1 + last_write_checksum: sha1:74a185aeff5e442900555884007f2cb252bab69e pristine_git_object: 708a708073cbbeefc9ebe6a7764e5b75eeb29281 docs/models/components/BounceDetailsResponse.md: id: 6547fcce7b2d @@ -1348,30 +1326,22 @@ trackedFiles: pristine_git_object: 0072eeed27fe6c853f841837414c657328eb74dc docs/models/components/Choice1.md: last_write_checksum: sha1:b9a503e97a08b4d09a5cb077f758c88d515b5af5 + docs/models/components/Choice2.md: + last_write_checksum: sha1:380faf5fe0d44061459001afc2422707f0048882 + docs/models/components/Choice2Input.md: + last_write_checksum: sha1:740970a06c77bc9d118428c7e3a0347b806b8410 docs/models/components/ChoiceJson1.md: last_write_checksum: sha1:364300c766ae66707f71d6bad71d284a0e380ea8 - docs/models/components/ChoiceJson2.md: - id: af3540818879 - last_write_checksum: sha1:d53e578e6ccd653ffba0c9f6e1f8396d1f8e4f14 - pristine_git_object: a3f24a02f8f77a261f5da5bc0af4307f6f164c92 - 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 - pristine_git_object: a5c31f8c5266038293de59430837902bcf116b82 + docs/models/components/ChoiceTranslation.md: + last_write_checksum: sha1:c9e6001f34aa5962b3de450d211757dcff61cc36 docs/models/components/ChoiceTypeJson.md: last_write_checksum: sha1:bde9639f027fac38c7ca32650042f993d7d5b79c - docs/models/components/Choices.md: - id: a66972cc6f50 - 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/Choices1.md: + last_write_checksum: sha1:fd77aa1e2d9b59e3cc81f6ca2e8e45637bb55e2f + docs/models/components/Choices1Input.md: + last_write_checksum: sha1:bbde42d1032773afd2035c1d090825bdcb5a54c8 docs/models/components/CommentType.md: last_write_checksum: sha1:93f7cce8266e882a5b5d6af34dc09f1b9ad3523f docs/models/components/CommunicationConfiguration.md: @@ -1653,15 +1623,13 @@ trackedFiles: docs/models/components/CustomField2Input.md: last_write_checksum: sha1:f7ed8e9db31e32b0e6187c65ee0b8cabbc2a7cad docs/models/components/CustomField3.md: - last_write_checksum: sha1:2f18779251ee2b9f45e3ca5cdfcd536a350baeb7 + last_write_checksum: sha1:63a8258ebf2a13187e7ecd3b28bf1380ae112e0f 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 - pristine_git_object: 0cd523ac862a909f5b21d395fc53c2c700c5b200 + docs/models/components/CustomFieldCategory.md: + last_write_checksum: sha1:1b244dcc9c45d8f39b4f1633d83fa96968167625 docs/models/components/CustomFieldCustomFieldType.md: id: 4bd147a8c5b8 last_write_checksum: sha1:e7f611df6d3f05360727674c68d1d0e57ad062e6 @@ -1688,15 +1656,15 @@ trackedFiles: last_write_checksum: sha1:9e2833abed1a536220598df8684280e8ecc0884f docs/models/components/CustomFieldSchemaCustomFieldType.md: last_write_checksum: sha1:46e8c60cf1d0171dfd89e089a930d25abb4cdd33 - docs/models/components/CustomFieldTypeJson.md: - last_write_checksum: sha1:7e5cbdae721d95cd36abada9f98d3c1c6b12f04c + docs/models/components/CustomFieldType2.md: + last_write_checksum: sha1:18ed8997f7fa288826eb06ba15e8ba8d34b1e11a docs/models/components/CustomFieldsJson.md: id: 76a8388ba2de last_write_checksum: sha1:8c63a159b81cc0f9a23c2287ece7443f063046fc pristine_git_object: 4b672364c46ae81ff85975bee25ae37509652543 docs/models/components/CustomFieldsPaginatedResponse.md: id: dabd6dc65ca1 - last_write_checksum: sha1:4ef0e58882a36413512d035db301b5716d1902b1 + last_write_checksum: sha1:d39d60eb06d745ad119bd2a27ee36e667d7394e5 pristine_git_object: 8fc6cdfc562873cf8e3cdca38f0dfab48b5707b3 docs/models/components/DateAnswerFormat.md: last_write_checksum: sha1:be475c0dad6c70f040e95bee4aec5aa7ca699461 @@ -1704,10 +1672,8 @@ trackedFiles: 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/DateTimeDisplayFormat.md: + last_write_checksum: sha1:21096ca091be837413ad4d7cc8c7311dddb23f49 docs/models/components/DateTypeJson.md: last_write_checksum: sha1:af113cc3ac0899ec59f7d816eda51dda9b90b2ef docs/models/components/Dates1.md: @@ -1742,12 +1708,12 @@ trackedFiles: last_write_checksum: sha1:c253c0b7c2f38a3ecff1edfdc70629c97d1aea63 docs/models/components/DiscountType.md: last_write_checksum: sha1:330fc32e2a7bc68b7de2f557d6ff444fb22c57ef - docs/models/components/DisplayInDataTagJson.md: - id: 8bd0c7f700e7 - last_write_checksum: sha1:75d0f87e83fc99adb7db660db2703fa9e25c8688 - pristine_git_object: 137871279c401ca71f23f82f1e07bfce54ac9efd + docs/models/components/DisplayInDataTag.md: + last_write_checksum: sha1:47fe0360a6d56f34a4bb37b38d615f168259e1f6 docs/models/components/DisplayType.md: last_write_checksum: sha1:1b4181e866c261390ec9ddd7b61131cde65f0467 + docs/models/components/DisplayType1.md: + last_write_checksum: sha1:1875ead7c24238334a806e3de94669f3e7435088 docs/models/components/DistanceJson.md: last_write_checksum: sha1:a11cb07aa317dd86a53afda8ccb9a41427dd9b4a docs/models/components/DistanceUnit.md: @@ -1790,6 +1756,8 @@ trackedFiles: id: bd54424ff2aa last_write_checksum: sha1:bb165e578e3c42511923c44e9d8c19b96e6dd113 pristine_git_object: 51bdd1f50d915a127939c49c7bf9e4b2bc91a377 + docs/models/components/Email.md: + last_write_checksum: sha1:ed4b59205a270868e8d05e50e9433e274fe9df1d docs/models/components/EmailBounced.md: id: 0ea581f8279b last_write_checksum: sha1:32adc2c1e6167a317275928cfe2f5a4bbc4590a9 @@ -1800,7 +1768,7 @@ trackedFiles: pristine_git_object: cb9c697dfbccc01030a9328f2cce5c5d8b885ecb docs/models/components/EmailHistoryJson.md: id: 8e2af9c8830a - last_write_checksum: sha1:c100d443f64a2a82411a61b3f1a5edf4ce5671d9 + last_write_checksum: sha1:57af9f9bfe75826af5370afd8f0ef2f2fc734e93 pristine_git_object: d27e32096f0b08d300c74949af381272277230e6 docs/models/components/EmailHistoryJsonAttendee.md: id: 7cf9b3fd43ad @@ -1820,12 +1788,8 @@ trackedFiles: pristine_git_object: fd6ba9b25b469f21cea1a48b8e8eb485aaee6b25 docs/models/components/EmailJson1.md: id: 8c490f9006c9 - last_write_checksum: sha1:8668ebae0ac8aeec669df63aab02ce9b47874e91 + last_write_checksum: sha1:fe82290914f66b8de7a732d483548aca253e57a0 pristine_git_object: 248e4850df7f1b3e2623c91425b97d9ac282a393 - docs/models/components/EmailJson2.md: - id: 0a9f0c3ec440 - last_write_checksum: sha1:b0131569b2d1e6d2bee045574ca8b0c84e78549a - pristine_git_object: 0826c63bcf2a412e1592268b8d0a05113222da8c docs/models/components/EmailMessage.md: id: 1b1e7ff73e3d last_write_checksum: sha1:d80ae35dbcdc749e51e02df8982cf98d0051a088 @@ -1858,12 +1822,10 @@ trackedFiles: id: f969260b240c last_write_checksum: sha1:c5fa3169955597c6ca7a534755f98ad1cbfb876b pristine_git_object: 5e0781ff8904d947f40cc3d615c0738c363969f9 + docs/models/components/EmailType1.md: + last_write_checksum: sha1:38e706e4f5d1bbf1ac367433878c9fc1241dc2a3 docs/models/components/EmailTypeJson.md: - last_write_checksum: sha1:0c4203d917387a894a21db9f79a49ebf92bd25a1 - docs/models/components/EmailTypeJson1.md: - id: 817f81912161 - last_write_checksum: sha1:e02bb06a82c5fcc2afb508d47d9d98b9b990b20a - pristine_git_object: ed7f55afb1a2fb1fe4d7083da666a291c43a174c + last_write_checksum: sha1:2e126b5d4353432f05899e37b0a49847dd2b65ae docs/models/components/EmailUndelivered.md: id: 745603104c89 last_write_checksum: sha1:66390e31df00264f411846c51fc054f89352e1d4 @@ -1872,16 +1834,14 @@ trackedFiles: last_write_checksum: sha1:7000b3a400c711d0adcfd5567040ad3e0e8de119 docs/models/components/EntityType1.md: last_write_checksum: sha1:482a9a7b73d9bc95b63e0dc15e06ab77d3e9f05e + docs/models/components/ErrorResponse.md: + last_write_checksum: sha1:53930e0e1e627d4bc46db8ee2e6e4eb3b3651569 docs/models/components/ErrorResponse1.md: last_write_checksum: sha1:1f06ca4838aa5ca879d01b1299efacf61e8d2d6c - docs/models/components/ErrorResponse2.md: - last_write_checksum: sha1:c89bf8b85b7f6afb10aacad16fafe4f297b440e0 docs/models/components/ErrorResponseBase.md: last_write_checksum: sha1:3bde4754d916ae86bacd60b5dd0c2817c85d8fdb - docs/models/components/ErrorScimTypeJson.md: - id: c94bd94416ee - last_write_checksum: sha1:65029e68c513c75c938f39c029eedda80d17876d - pristine_git_object: af29ee9fd66a457993665af9d5ed3c0228757760 + docs/models/components/ErrorScimType.md: + last_write_checksum: sha1:f5ded218f1c008318595268978f1637f01dc82f4 docs/models/components/EstimatedCostJson.md: id: 2d56492fcace last_write_checksum: sha1:fb0d2fef86b893d880e49de7bb50a0d260dc1d48 @@ -2408,7 +2368,7 @@ trackedFiles: last_write_checksum: sha1:e621f3b5e9464e8191a188fa78bde32bdf831262 docs/models/components/ExistingCustomField.md: id: 11ddedaca25a - last_write_checksum: sha1:e524da4851c1846a93f44a0515efb88a1389d125 + last_write_checksum: sha1:1c92171124d88188782a572472eb8917304704f7 pristine_git_object: 6d7c6b93b81d54107a2a1320728c03e5180788fb docs/models/components/ExistingCustomFieldDetails.md: id: 743668cba8c1 @@ -2420,7 +2380,7 @@ trackedFiles: pristine_git_object: e73786d7219052e7705fa66c9d08c587a233e15f docs/models/components/ExistingCustomFieldInput.md: id: 3465f3304a1a - last_write_checksum: sha1:1c5b4382bf859e51d624907e6a9ad6737f4d3567 + last_write_checksum: sha1:593d985b7ab9e74022778d94eb19e9724b7a00ea pristine_git_object: ec50e89947321ad57a943d6ed8fdaa160beef78a docs/models/components/ExistingDiscountCode.md: last_write_checksum: sha1:682915afb77c8f8ba7b5ac60fde6ab88f60dd8cb @@ -2760,14 +2720,10 @@ trackedFiles: pristine_git_object: 866f8bd4b53b34dc76272af538dff377fb32610b docs/models/components/GeneralLedgerJsonInput.md: last_write_checksum: sha1:fc36c2cbcc110ccdd01677662fd5fde290e6695c - docs/models/components/GroupJson.md: - id: 6731bd75c07f - last_write_checksum: sha1:d99a37f52232036bff9e251577d2511e49f9942c - pristine_git_object: 1474281de7ea70a0c06bcb2bfd63fe18fd5bc0b8 - docs/models/components/GroupJson0.md: - id: 6303f15368f2 - last_write_checksum: sha1:f7fe0c0b9edcd30299fa1adb2d0f9f07577227be - pristine_git_object: 287c3d1b88eee8700441b0bf362015cf3508021d + docs/models/components/Group.md: + last_write_checksum: sha1:0e119d1d10a1ea86cbe664f4fbf6b8443696b8e7 + docs/models/components/Group1.md: + last_write_checksum: sha1:3f627b862d097c8dc60ad25e451cd639d986905e docs/models/components/Guest.md: last_write_checksum: sha1:49c63ff6ed51528e1458c4e7dc920e04694af590 docs/models/components/GuestJson.md: @@ -2827,7 +2783,7 @@ trackedFiles: last_write_checksum: sha1:288f7cdebd2d83defad8d22641e3d9903ba146a6 pristine_git_object: aaa8481ff23d02679b59d3efdf07220215f8a836 docs/models/components/HotelRequest.md: - last_write_checksum: sha1:388a180dd3555402835fb3e6dbbc005caf156641 + last_write_checksum: sha1:9bc19f6c58c2cf2a24a030289bde2a066d1e4d86 docs/models/components/HotelRequestRequesterType.md: last_write_checksum: sha1:d81850886b343418c443a32b8b9bd62cee71cb60 docs/models/components/HotelReservationDetail1.md: @@ -2950,12 +2906,10 @@ trackedFiles: pristine_git_object: 04d75bd2ed9d28681ba06bb4557a41b1ab32c924 docs/models/components/JourneyType.md: id: 673a9e52a23b - last_write_checksum: sha1:04544e4bd666ed9d5cbaac2df69fd2d2e6d9a2c9 + last_write_checksum: sha1:f84069406a7a38fdaa5a00d890d87b1657f65e70 pristine_git_object: bd01a6af1449194963225a02bb4d27669f8d31d3 - docs/models/components/LanguageJson.md: - id: f6d6acea4110 - last_write_checksum: sha1:11d71ba0dc307641095bf0cae99f7daa8f042988 - pristine_git_object: b2b8f18dbd236f376479f28875a901a6a2a0b99a + docs/models/components/Language1.md: + last_write_checksum: sha1:39fdfe3a0d2adfd544ff654553f4269998f582f1 docs/models/components/LargeChoiceJson.md: id: 71b72a8ab222 last_write_checksum: sha1:8eb8bc4543d7c5ceefd37b6ed64f8d1149bf1d6f @@ -3184,22 +3138,16 @@ trackedFiles: id: 0564039be078 last_write_checksum: sha1:05f18900c7835a3f720b6bec2a2266ba7bedcd5d pristine_git_object: 522c42b5db3143487e4bf9b78b08a269b903f6f8 - docs/models/components/MetaJson.md: - id: 1d11b98b8d39 - last_write_checksum: sha1:dd7c201cb67b36fc92f1536819e4dbec306679ff - pristine_git_object: 37ae1196bcdc4094c31ebabd09dc1c57a9421d06 + docs/models/components/Meta.md: + last_write_checksum: sha1:ceeec87ab5b5f8417cb9cc9b08035a2cb1046290 docs/models/components/Modifiers.md: id: e5d817a86007 last_write_checksum: sha1:ba3613dfeca99a8560c048f6f56afd94176f56b0 pristine_git_object: 12ae425ab9509c3d9493f62765814fb8fa346dde - docs/models/components/MutabilityJson.md: - id: 68abb78344b5 - last_write_checksum: sha1:ec7cf8a2cb545735a7a814e6c7a49d91a742908a - pristine_git_object: 52fa50a7163d37102a5002715d8f61a93d2756fc - docs/models/components/NameJson.md: - id: 5f588b05126a - last_write_checksum: sha1:bbb4e3d24586b9df63957780e43467d9124f19b3 - pristine_git_object: 96521599239430cabdbee7fd065c0a1cbfd17ff8 + docs/models/components/Mutability.md: + last_write_checksum: sha1:701e7511ee72ef08373c9b39cdecad8bffd18af5 + docs/models/components/Name.md: + last_write_checksum: sha1:fba1ec4b2baf09a0c865f06633cf651cdc7cae8c docs/models/components/NamedObject.md: last_write_checksum: sha1:ff6a92d441a3514ae320ac2ad74e427da0eae7ed docs/models/components/NewReservation.md: @@ -3222,16 +3170,12 @@ trackedFiles: 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 pristine_git_object: 72ff5aa9d9857b332b30a031b5247afd4f9f726b - docs/models/components/OpenEndedDateTime.md: - id: cb06f749882b - last_write_checksum: sha1:120ec50efbb4ca133ea065fd54ec6c013e8754b2 - pristine_git_object: 7c227cbd2877c1ca0829ef0cf523064eed1b33cb + docs/models/components/OpenEndedDateTime1.md: + last_write_checksum: sha1:f2b6c6a63a4c208f4435ced3b9b68c62260e11ba docs/models/components/OpenEndedOneLine.md: id: bbc78a5d780d last_write_checksum: sha1:daaf47660f687c698540f8ae0d962b0f0efa41bc @@ -3284,10 +3228,8 @@ trackedFiles: pristine_git_object: 6ff9a49745f98d21d0d7121a479f35185e9f03c3 docs/models/components/PackagePricingPreference.md: last_write_checksum: sha1:d7baa76909bc75f64f74050acdef46134e08778b - docs/models/components/PageVisibilityJson.md: - id: 17df5e2c327b - last_write_checksum: sha1:93c9cb6564475ab61e394d40d035bdf1a0ca9212 - pristine_git_object: 370ad399086b363606750d135bfe7a8178159b3f + docs/models/components/PageVisibility.md: + last_write_checksum: sha1:e4fd568155f6ab5d65b40f70eb598b7acaf5cb45 docs/models/components/PaginatedExistingMember.md: id: 2718e53339bb last_write_checksum: sha1:02adcd494d13f675f16f402aa8c8120b2e4ad2ab @@ -3394,14 +3336,10 @@ trackedFiles: id: 9809989259b3 last_write_checksum: sha1:977b2dbbe085ccd9dce1a98ea8ed65bb7aad812a pristine_git_object: 602650939b349d0f71bae7ef3cfa8038c9fc3ba9 - docs/models/components/PhoneNumberJson1.md: - id: 4603eca4c1f0 - last_write_checksum: sha1:f698584b4cf93b0cb3d681bd5a24e014233e84b3 - pristine_git_object: 2c4232383ef013893a7b7d6c19a2d427445a93fa - docs/models/components/PhoneTypeJson.md: - id: 85f0d76f3295 - last_write_checksum: sha1:8be79c0cd074b756b51fc841c4a2535640f0a292 - pristine_git_object: f558e35d99764af20dcabfdd0de40b0af28d1ee5 + docs/models/components/PhoneNumber.md: + last_write_checksum: sha1:46fcd0745a43ec89446d88c9b6a68a3cab52265d + docs/models/components/PhoneType.md: + last_write_checksum: sha1:c56243940c40176c396d20558b513ea7068d653a docs/models/components/PlannerJson.md: id: afdce3de039d last_write_checksum: sha1:dae50020e2d7e6407eae2dc757ea8b3d6a72ffda @@ -3756,6 +3694,8 @@ trackedFiles: last_write_checksum: sha1:edfe98e975c6f655539fa3c2ee9cadd561e42dbd docs/models/components/ReferenceToSupplier.md: last_write_checksum: sha1:61079ae51ffc784e97b1a9390772ef05ea8de4c0 + docs/models/components/ReferenceType.md: + last_write_checksum: sha1:9f270c53f2c5ec96dba78a1afd396b17ec6398b1 docs/models/components/RefundPolicy.md: last_write_checksum: sha1:f7e8210aabee3b85f75b6f9473ec29421bdcf04c docs/models/components/RefundType.md: @@ -3882,23 +3822,11 @@ trackedFiles: pristine_git_object: 8cc4ef8a1e0d40d5b7a1ce2038593d577e3bdf4d docs/models/components/ResourceType.md: id: 80cdc92132aa - last_write_checksum: sha1:1c44b238d9ae2c38dd3300eda0372b24630afd91 + last_write_checksum: sha1:617166d1f2b5a9db730323783730a961588ebdb3 pristine_git_object: dab8c9d31036c4f4482ad0565d092813422f9368 - docs/models/components/ResourceTypeJson.md: - id: ceb5150ade35 - last_write_checksum: sha1:238bb22bf4517195d21611be19793f597fd2a291 - pristine_git_object: f3dc6cecd237c40bc51abd213b48ad324ad1e137 - docs/models/components/ResourceTypeJsonSchemaExtension.md: - id: f0ad92476a47 - last_write_checksum: sha1:2239ae1ca298c4a8732c0f24ce67306a77519f3d - pristine_git_object: 9e8ee2f0986209e3327a632c7d0cc2955a9c56a0 - docs/models/components/ResourceTypeSchemaExtension.md: - id: 40d406899d12 - last_write_checksum: sha1:9de4d72d1b4f6b90829dd3096e5aee8bfaf1a1ac - pristine_git_object: 14e2bf323061c2e8a7ea74d4f5b23eee33e413d5 docs/models/components/ResourceTypes.md: id: b64c4b383fb4 - last_write_checksum: sha1:13dae98f03a056f3f8a9b0ea2ff4d79ab6a471dc + last_write_checksum: sha1:e6ec68017a6932de537f883d7b17dfca67db3154 pristine_git_object: afb7ec2688fbcf3a58bb13a7e2c13bf54eecfeb2 docs/models/components/RespondedThroughJson.md: id: 7fd4078a57c7 @@ -3960,6 +3888,8 @@ trackedFiles: id: 2fc392ecd91d last_write_checksum: sha1:ba7de756e9f8f245e4af3ba2677035f4c03a8ee8 pristine_git_object: ee14f80b168aa0c7a9d00659b75b0958d950e80e + docs/models/components/ReturnedType.md: + last_write_checksum: sha1:b2d4daba9529795988e2a1a0b383a26b18d0c46a docs/models/components/RewardProgramJson.md: id: 45e5708ed8ed last_write_checksum: sha1:ecabc2c7393854ddf6fb01069b0f8d4eb222cdb8 @@ -4066,13 +3996,11 @@ trackedFiles: id: 1dd52ea2b7b4 last_write_checksum: sha1:3d13231eba9e02130237816d3a746e4286fa72b3 pristine_git_object: 7c081c9388127d2b3cc21cdb34e46347661e8b98 - docs/models/components/SchemaJson.md: - id: d94b509bcbcb - last_write_checksum: sha1:f64d22c33f1001a26df467d81f9014adc1b05bec - pristine_git_object: 7ffa0b4773ef435faa078f17272c5999c42daf36 + docs/models/components/SchemaExtension.md: + last_write_checksum: sha1:f90f546f955aad17dae740f84d89ca8b224b7b31 docs/models/components/SchemeOAuth2ClientCredentials.md: id: c940e25ffc10 - last_write_checksum: sha1:fde81017a8a4a90c085f7e812b5622d468273eb4 + last_write_checksum: sha1:cd08030c6f1aa339bc0fce0a9503a1d1b5252621 pristine_git_object: da9026d8409fae09455780c680a1922e63d94bf6 docs/models/components/ScoresJson.md: id: 58bebad45bf9 @@ -4088,7 +4016,7 @@ trackedFiles: pristine_git_object: 3600ae229f99fe599c06a35b12333cddaf56c7f9 docs/models/components/SeatType.md: id: 2caf897cd66f - last_write_checksum: sha1:7685e1f200bd988f29c69d3363b512d6033c3066 + last_write_checksum: sha1:95500536d5cf5646c5796f5b5ca6011b118d60c7 pristine_git_object: bd806aed2452d30deb0e06566fd1256eace2846e docs/models/components/SeatingAssignmentExpand.md: id: 48f9b7cb0c54 @@ -4124,11 +4052,11 @@ trackedFiles: pristine_git_object: a8f57bb561275e6e9f34a7b8f7a816664b3d3a14 docs/models/components/SendEmailEventRequest.md: id: 02d4503238ea - last_write_checksum: sha1:6f542018d641c5d5b38fda282e998a219ff7c825 + last_write_checksum: sha1:fea3bb1577bd22ab05217f2d65b6fadd5c594d12 pristine_git_object: 088f50b109eb9a4202786a2a6d7a4a6d26629a2e docs/models/components/SendEmailEventResponse.md: id: 5592a72e132d - last_write_checksum: sha1:8151570f2a02b324820164d66217f659964518b5 + last_write_checksum: sha1:7fb372de6c8540c23255f30e075b38fc7348838f pristine_git_object: 3c43bfd9e007de7f13a7f6705212f80d73d8c98d docs/models/components/SendEmailRequest.md: id: c4e591ad94b9 @@ -4148,7 +4076,7 @@ trackedFiles: pristine_git_object: 32696140876c13d0355817bfc3c663e9b53e1860 docs/models/components/ServiceProviderConfig.md: id: 1be99dfae352 - last_write_checksum: sha1:fb6a9688bae7d13d7d34e0a562d750950f65ef14 + last_write_checksum: sha1:0cdb3457212df3b8497e8aaabbcf23c604f03445 pristine_git_object: 9fbeb7f556c6ca4a06b94f7b604f851484a8550e docs/models/components/ServiceProviderConfigFilter.md: id: 87762a85df0d @@ -4686,8 +4614,8 @@ trackedFiles: id: 041cdd3e0a80 last_write_checksum: sha1:0ccaa2c4e52c99074c79e6c53a524719ab157276 pristine_git_object: 71da5d1e8f94757b019e661c4d3e31bdf45dbfb7 - docs/models/components/TaxType.md: - last_write_checksum: sha1:002e1cce5720e238e78e7f2e4c1b90f535b09a8d + docs/models/components/TaxType1.md: + last_write_checksum: sha1:e32a64e7e53e985e5cc78cbe0b22b2bbe252619a docs/models/components/TaxesPaginatedResponse.md: last_write_checksum: sha1:e883a40526352d5f4a9e3bf3aa9834af9a4c2525 docs/models/components/TextAnswerFormat.md: @@ -4696,21 +4624,13 @@ trackedFiles: last_write_checksum: sha1:888fb526b0455d394c001d0a85cb918fb10c1ee0 docs/models/components/TextFieldJson.md: last_write_checksum: sha1:d9c72dcdb2d5019770c0d1681c77ac74b96a555b - docs/models/components/Three.md: - id: 69b86f2bf1f1 - last_write_checksum: sha1:681392796e7af43572ba33113270b5f589fe3987 - pristine_git_object: fbad90936582d775431dfaa0386a92989db0a622 - docs/models/components/ThreeInput.md: - id: ef2daa70fe08 - last_write_checksum: sha1:112ea70accf4e68f9e7f5c40e8678b05ab91a8ff - pristine_git_object: 14c992e6f72442143e5279d3d45d32588b7826ea 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 + last_write_checksum: sha1:7aa4e0c7e31612ffc265393d576b0edd53b2d714 pristine_git_object: 3c71d2ef71a8f0e6e4b0ee6bc79c3eacd1154692 docs/models/components/TierJson.md: id: 7928efbfcc18 @@ -4772,15 +4692,15 @@ trackedFiles: pristine_git_object: 725138d86e6b9c74adc26380f6c8721434943c1d docs/models/components/Translation.md: id: 1632c053bb1c - last_write_checksum: sha1:5b6c5c415f3d3be555a08344536813c269137e51 + last_write_checksum: sha1:b6785f70c98acb817e4d930134065de98c502f21 pristine_git_object: 4ab18c65193cf5d6e55d3808ca5d49a050309316 docs/models/components/Translation1.md: id: 338f0fd4608a - last_write_checksum: sha1:624f8f4114c9d2e1526a948a8154b21b74704adc + last_write_checksum: sha1:e4ae2d8c6197d5160b1d952f5db78f462542ccb3 pristine_git_object: 77d07fa838701f6b2986587f7e2ae6f3f5c5f04f docs/models/components/TravelAccount.md: id: c3bcc88b61fa - last_write_checksum: sha1:d92362d4c7ade3521fe542e23a8dea6e862b8c99 + last_write_checksum: sha1:81e8040c0252ae200bad3fdaff7d59ce33bc9cd2 pristine_git_object: 01f294aa2ca264b9ea29e6beee42d9c07b3c6ef2 docs/models/components/TravelAccountPaginatedResponse.md: id: 797823dea873 @@ -4833,7 +4753,7 @@ trackedFiles: docs/models/components/TravelBidSeasonRatePropertyRoom.md: last_write_checksum: sha1:7bf9774d27d115ca2611409c6024e69c965a2583 docs/models/components/TravelBidTaxAndFee.md: - last_write_checksum: sha1:905bf5b62cb99c4e63332a71323f692c6e686bc4 + last_write_checksum: sha1:80f6af4ea07a2d00d4f51b8eef84c3fc641ac538 docs/models/components/TravelBidWeekendDays.md: last_write_checksum: sha1:20cd985a5f496a348994fab1a3fa11b4d84910b4 docs/models/components/TravelDepartureArrivalJson.md: @@ -4924,10 +4844,6 @@ trackedFiles: last_write_checksum: sha1:fc5ba2b5872faaf1706227762fe72ea5628b63a2 docs/models/components/TravelType.md: last_write_checksum: sha1:1af5fe66235b4764463a5dd247666be599c93348 - docs/models/components/Two.md: - id: d40a2aa6dcb3 - last_write_checksum: sha1:0c4169bd4ab92938525febedb2bdff43e5704753 - pristine_git_object: 5373fe4cfcb33eab8ed17e90285189733eb49fd6 docs/models/components/TypeAllOf.md: last_write_checksum: sha1:a74ecc880b17573347c4a99dbc6f22962249dede docs/models/components/TypeInput.md: @@ -4936,6 +4852,8 @@ trackedFiles: pristine_git_object: 224fcb2ad9fab74260a9733847a8f8230179c635 docs/models/components/UTMOverride.md: last_write_checksum: sha1:4f2a054dad5cec7857144332e412df190a322576 + docs/models/components/UniquenessType.md: + last_write_checksum: sha1:fd4f22842ecf309ab2b821a2a7d8606946ea6255 docs/models/components/UnitPosition.md: last_write_checksum: sha1:b845da3bedfd4efb087db37cb0efee8d7960cc5c docs/models/components/UpdateAppointmentRequest.md: @@ -4952,12 +4870,10 @@ trackedFiles: pristine_git_object: cbe9b5f523cc4307f496063cee8c68db296a8b2d docs/models/components/User.md: id: 8f2722ab45f3 - last_write_checksum: sha1:10cdf23da121817fc0680cc6cd098de56db3f689 + last_write_checksum: sha1:16d43d40ce3af185e226d6d1aa8be4ce1e34d8b8 pristine_git_object: 2c91f67ec477c705b74da29a56645df2a9c74a41 - docs/models/components/UserEnterpriseExtensionJson.md: - id: 7f099406044f - last_write_checksum: sha1:5673093a9d0f9a54856542fcd89f562a992e244a - pristine_git_object: c43a6dba74e89d52b697cd17ed8a55146de8cb7e + docs/models/components/UserEnterpriseExtension.md: + last_write_checksum: sha1:8b366ab484f39455695905a5c4c4e87f25e0b267 docs/models/components/UserGroupJson.md: id: 12ace8943e0b last_write_checksum: sha1:51cccbe94acfe59c9ff060657bfeba69734d93e3 @@ -4972,7 +4888,7 @@ trackedFiles: pristine_git_object: 06093f86bf6c52f8d76cfe8cc035bd48124c5dfe docs/models/components/UserGroups.md: id: 42c0cc7576e8 - last_write_checksum: sha1:cb5396bf54eb0388281adc00c7a8bdbe537d897e + last_write_checksum: sha1:e6588d33a4dc1e9e34c3d47a0912f8f35742f165 pristine_git_object: 9bf64eea3bdb0ac429e5df253a1abb6ca8a3865d docs/models/components/UserGroupsJson.md: id: 6fdbd2682a7a @@ -4984,27 +4900,21 @@ trackedFiles: pristine_git_object: ed0f8191c460c33221d84d8fe128fec991d92b4a docs/models/components/UserInput.md: id: a5f250c42286 - last_write_checksum: sha1:fd07dd3aec81f8bfe863e8551bb8fe723230f34f + last_write_checksum: sha1:4a140309670f641b911a3c397ec87c50eecfda97 pristine_git_object: 06691f4c969cbc3c96a8f6b6c34cbb93f3ccaa6e - docs/models/components/UserJson.md: - id: ac4b9c051137 - last_write_checksum: sha1:374810e7acca1c75a343fc52e93de5da54b6db5d - pristine_git_object: b8c511700481958f07d4ba0354971bcf534cb418 - docs/models/components/UserTypeJson.md: - id: 8e3288d25103 - last_write_checksum: sha1:ee75286cfd49b92d58d9bdddd56ba453df6f505f - pristine_git_object: 51a814309acd736b37183ae4f39ab6e33a729093 + docs/models/components/UserType.md: + last_write_checksum: sha1:0d85a1943b43efc0a82ec4e0f0439926d52b900d docs/models/components/Users.md: id: 8fb336f2e320 - last_write_checksum: sha1:290a4da6b6a998056ee4035396cb648b2e99e464 + last_write_checksum: sha1:bdfcc01ef94b079ce4d38b3d62734510398f88c4 pristine_git_object: 0a9b24a972b728c826aba4ab83300eec30063da3 docs/models/components/UsersSchema.md: id: 987dfec5915c - last_write_checksum: sha1:cea342f1e5d6ed45df46b43add1f42898ce353c3 + last_write_checksum: sha1:bd6b49695c60bab486e5808fee4d44ccb48520f2 pristine_git_object: af50516308b81bc72d0842c0375fe0cac12708a0 docs/models/components/UsersSchemas.md: id: a2bbdfedffc7 - last_write_checksum: sha1:c1390f75d627f96a5367227830ce5a81f405a7eb + last_write_checksum: sha1:d7142d170cdc5ad28b2ddcc0ce42506e0c20cb08 pristine_git_object: 80f52a602ed2f576c3cf0f547d38da676987e7d8 docs/models/components/Uuid.md: last_write_checksum: sha1:f0cb274607d6d18dffaeba73c1c16d2ef0e6f570 @@ -5208,28 +5118,22 @@ trackedFiles: id: 37736bb5cdae last_write_checksum: sha1:7781a8cf7cb14da7d23e2d28cab6c0db8cdd0de3 pristine_git_object: d428b49a75edeccc8b7f20be2ccdaccb9ad2688e - docs/models/components/ZeroOneOf1.md: - id: 16a1083b097a - last_write_checksum: sha1:e22f96d7fc4a46825d4903e0acaff171de286953 - pristine_git_object: 88dc7fb957f8d3fa4d471f27943e9d340dd9d23a - docs/models/components/ZeroOneOf2.md: - id: 9dfdea8aa053 - last_write_checksum: sha1:5e3b76f4ccd640393a3565ab7240254be216ec47 - pristine_git_object: 9a1de2666b63f3403bdfaa39fd7050cb3081c7f9 + docs/models/components/ZeroOneOf.md: + last_write_checksum: sha1:6697f2a7380a23f8b1f8ad8a6acaaa2d129de2fb docs/models/errors/BadRequestException.md: id: aa4de4e6acf5 - last_write_checksum: sha1:7df87f44f49454d1437aa5f351808e74c868115e + last_write_checksum: sha1:9b1077d193adc8dcfac931381ae5caf33adfb68c pristine_git_object: f0136f4b78caf0deed7ad834eeba8453963bc0e0 docs/models/errors/Error.md: id: d5611a80937b last_write_checksum: sha1:9e278383a1b7946329c53705334e4bcf71a678f5 pristine_git_object: 67a0d0cafabcbe6a4b75758f2a25dc3e069c827a + docs/models/errors/ErrorResponse.md: + last_write_checksum: sha1:53930e0e1e627d4bc46db8ee2e6e4eb3b3651569 docs/models/errors/ErrorResponse1.md: last_write_checksum: sha1:1f06ca4838aa5ca879d01b1299efacf61e8d2d6c docs/models/errors/ErrorResponse2.md: - last_write_checksum: sha1:c89bf8b85b7f6afb10aacad16fafe4f297b440e0 - docs/models/errors/ErrorResponseJson12.md: - last_write_checksum: sha1:93847aeb2f6b40ddb8891c40e96f34f56e44bfcd + last_write_checksum: sha1:4947d8015eaeed90e22921f66fba040d1e5799b0 docs/models/errors/SegmentsErrorResponse.md: last_write_checksum: sha1:f5a2ea8101bc4cb71ed6e2e178a2b00c2961245e docs/models/errors/ValidationCode.md: @@ -7176,7 +7080,7 @@ trackedFiles: pristine_git_object: 5c27e29f2e0cd5fd5009c99bbdf8d503bf822943 docs/models/operations/GrantType.md: id: 0e2887d6280f - last_write_checksum: sha1:af6be4efeadd0d09e207ce86befcfd277ec5307f + last_write_checksum: sha1:2a5b3e5d15d976a18d510eecb5b51dd243262209 pristine_git_object: b99aa77903fc414e317758f6ed5ee02948419320 docs/models/operations/LaunchEventFeaturesRequest.md: id: 0e5edb063bff @@ -7396,7 +7300,7 @@ trackedFiles: pristine_git_object: 86b6f4a12ad2c6eb557cd030b4a44a07c0166af9 docs/models/operations/ListCustomFieldsRequest.md: id: 5b2b219830dd - last_write_checksum: sha1:b2c8c2827562bab08e7dca8c356085e9628995b2 + last_write_checksum: sha1:2c16c742035447203d85a45cf7ccbe659e32f8e0 pristine_git_object: 456d1ea5cf544c20b3d0b50f7b9bc791d51417dc docs/models/operations/ListCustomFieldsResponse.md: id: 5e22a8ceb39b @@ -7900,7 +7804,7 @@ trackedFiles: pristine_git_object: 7ef6439709d962e4b49d0e1d7ae33729cfcd4920 docs/models/operations/ListUsersRequest.md: id: dcf9edf689cd - last_write_checksum: sha1:0ac5acc94981fb1f38d51731fed5c09f9ae51ad3 + last_write_checksum: sha1:737c1f2a5799a09559ca3851a880283106b88529 pristine_git_object: 0fbec63d41dd4afa0631d462eb7bd816aa086ae9 docs/models/operations/ListUsersResponse.md: id: 0d58ca83a68e @@ -7956,7 +7860,7 @@ trackedFiles: pristine_git_object: 75ee6180f1181af79a2acc41ceeaf4f6c4efc84e docs/models/operations/Oauth2AuthorizeRequest.md: id: e00c53a72e32 - last_write_checksum: sha1:e90bdb8c66d683b682f7c947529b1d402a447d66 + last_write_checksum: sha1:86841aa598239044b9296efb81733eaa420b1acb pristine_git_object: 3889e33052b8ac5e97e4b59e039b8b31734f29d0 docs/models/operations/Oauth2AuthorizeResponse.md: id: 0d59e87f55f7 @@ -7964,7 +7868,7 @@ trackedFiles: pristine_git_object: 10d6b269265ec55f45a01684a893d7f9bcef427c docs/models/operations/Oauth2TokenRequest.md: id: 6e374837f8df - last_write_checksum: sha1:48eef502d6a3a3737042ecd917081d3177ba7046 + last_write_checksum: sha1:c70110d3b56b3bd92536bdd2745ed5730f176504 pristine_git_object: 9752c8348237a491a7905ffe43ec8da04735fdf1 docs/models/operations/Oauth2TokenResponse.md: id: 0ddfbb1b16d1 @@ -7972,7 +7876,7 @@ trackedFiles: pristine_git_object: a84d92e8c81ce62198ebb11fd5b8734758e7740f docs/models/operations/Oauth2TokenResponseBody.md: id: 4723038ff4a3 - last_write_checksum: sha1:9f3769d7979c83bf03bfe20c9cdad38b1eb6c171 + last_write_checksum: sha1:4f90bd0bb483a7b31f1b5d26e759eacaf5cf956c pristine_git_object: baea521718a1ac56450e9d3f1bd229d10953f027 docs/models/operations/Oauth2TokenSecurity.md: id: c422071e4db4 @@ -8600,7 +8504,7 @@ trackedFiles: pristine_git_object: dc8248beb5ab08b1957b7e3c240d8c6ad33db2fb docs/sdks/appointments/README.md: id: f122535fcc9f - last_write_checksum: sha1:d5f127cf16928dbbaf5cbffd10b5a154eb0416bf + last_write_checksum: sha1:147181664b78e8d67b6da536eaa5c72fbc9f1579 pristine_git_object: 8509855747daa882647fa8fa6fc9b5906a19880e docs/sdks/attendeeactivities/README.md: id: ffb26672cefc @@ -8620,11 +8524,11 @@ trackedFiles: pristine_git_object: 51133187a510f849cafd047132648b314d92466c docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 - last_write_checksum: sha1:a51436927d6f3be96c4b313812f98ad94a56a3d8 + last_write_checksum: sha1:7af27d792fe1eb0cbc755d924fbe311b7ec3f5d3 pristine_git_object: fe570960f8125e64c67cb596c370b7ef40138496 docs/sdks/authentication/README.md: id: 45be241adfc3 - last_write_checksum: sha1:9ea69c62b74101dc98ac08bfd7858caa82cbbc91 + last_write_checksum: sha1:17fbf397c4aa9b13b6a90105f6c60f557e19e8db pristine_git_object: aa64908df261d71c915b045f47c747fd4514fd7d docs/sdks/badgeprinterpools/README.md: id: d73d6cce89d1 @@ -8640,7 +8544,7 @@ trackedFiles: pristine_git_object: 8d01dfa38c11983a4f3a9c2f131fb0f8baf3da07 docs/sdks/bulk/README.md: id: fa4bd7a4682a - last_write_checksum: sha1:fd7f86b0ab817effb3a2062295a9c999abb897a7 + last_write_checksum: sha1:8f34528a8d4afdfd68d7df68e3ba4a10ab1fd9fc pristine_git_object: 5d46b140151d54af34676b1f814f009e603239cf docs/sdks/campaigns/README.md: id: 18dcc3c717ca @@ -8660,7 +8564,7 @@ trackedFiles: pristine_git_object: eeda9f92822eda06457447bb5c632a14f1b03f39 docs/sdks/customfields/README.md: id: a205cef73249 - last_write_checksum: sha1:6300691733aa957f945fd9d60e7ec80d40a08ad9 + last_write_checksum: sha1:4d7beca0b295a056a339a67a2ec24b72affff980 pristine_git_object: d476788bc8db400f6e69e31315ce1c89ac4b3212 docs/sdks/discounts/README.md: id: "000723261694" @@ -8684,7 +8588,7 @@ trackedFiles: pristine_git_object: 9b702106766b9fcad1fd2dde1cb5b2b424719715 docs/sdks/events/README.md: id: cf45a4390b9b - last_write_checksum: sha1:725a47e82dd578c48d7328495dc8d09e267a7f56 + last_write_checksum: sha1:6b3308b1619b70243d40b457c71651430d8c47c9 pristine_git_object: a155c9c995555e8cf43829631cc8a236fd354da4 docs/sdks/eventsplushub/README.md: id: 5f184d5bdfcc @@ -8696,11 +8600,11 @@ trackedFiles: pristine_git_object: eede402a85e1da20c1034fe85358d6075234a769 docs/sdks/exhibitor/README.md: id: cb0578099210 - last_write_checksum: sha1:360b78f08023813b3ea6beafd3d28331025fbcff + last_write_checksum: sha1:53a20d041fba036af57dc8301f140489321b155c pristine_git_object: 0602007e1d41c51681c190985c6cff8d835cc46e docs/sdks/exhibitorcontent/README.md: id: 7cecd37f6b66 - last_write_checksum: sha1:eb6d8d136395134a62739a2879ad917a880a388d + last_write_checksum: sha1:58aaab7b0c00ac47668ae62a51f5ec754442af2a pristine_git_object: e6d9116287aa63517ede1aed81dbf053cc7cbb46 docs/sdks/exhibitorteam/README.md: id: f5b7c80d738e @@ -8716,7 +8620,7 @@ trackedFiles: pristine_git_object: 64614977cacbd8d9340bd37af4b21d6e245bfc14 docs/sdks/housing/README.md: id: 23d65d817ab8 - last_write_checksum: sha1:8b1fe24b9dea72f2895ff6f26a08cf440db5e8a5 + last_write_checksum: sha1:5d883ddd9e3e292ae3feeb53c702857c0117379a pristine_git_object: 4211bb0d355200b83a1e58a261371acf7a12452d docs/sdks/housinghotels/README.md: id: d04ff5412c59 @@ -8728,7 +8632,7 @@ trackedFiles: pristine_git_object: cef4027abf852decdaba1e2f5620e2af00029ca9 docs/sdks/meetingrequest/README.md: id: 4d8d5f5fd977 - last_write_checksum: sha1:25e346f72e405db820c507be68c6d494f31b14e5 + last_write_checksum: sha1:de2fba4c778f9b03258a4e6eeb6a7ee661947651 pristine_git_object: 0179b4309efed6c06dc31e70ac235bf1de619337 docs/sdks/processform/README.md: id: 0d23c161e66c @@ -8752,7 +8656,7 @@ trackedFiles: pristine_git_object: a047004e380c4d0dc2430aa76f8b1330421fd65e docs/sdks/sessions/README.md: id: 57ad62844f79 - last_write_checksum: sha1:79af5908f9aa616f9d0b8740fea6aa64c2ac713e + last_write_checksum: sha1:e39ad3745bdf425e177b983134997bc844f1fd86 pristine_git_object: 0e8cf3ad90aa82beb79ed33bb9d33ce437783a87 docs/sdks/signatures/README.md: id: d0ea24deff8f @@ -8760,7 +8664,7 @@ trackedFiles: pristine_git_object: edf8aa05303b34155cfb67f9f418c340f7ee6e19 docs/sdks/speakers/README.md: id: 21a0d65de4a5 - last_write_checksum: sha1:6d242bd769102f4fda5453538b855829d7232805 + last_write_checksum: sha1:5ec633b64ff401a4fc0aebeb1a57ac8805645fbd pristine_git_object: 118e111b964ba99c3bae0466bc3362af503548ff docs/sdks/surveys/README.md: id: b7f48111aedf @@ -8788,7 +8692,7 @@ trackedFiles: pristine_git_object: e340e49b38b5531e795df74195ccaed5136eb492 docs/sdks/userscim/README.md: id: 50529a579425 - last_write_checksum: sha1:1c0279276bbf97b834920b2844d6b85993a809fc + last_write_checksum: sha1:00b2e033800ed2bf0afc06c42350285ddade0f29 pristine_git_object: ce24bc35e6c90e161c09b86666c9b6463dafae29 docs/sdks/video/README.md: id: 0b01dca84f9e @@ -8804,7 +8708,7 @@ trackedFiles: pristine_git_object: cda742065b0bb30407900c4d39885b8db164b9b4 gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:747143ce2c8e310f3dbb69fd3b06a5b6a6400f0d + last_write_checksum: sha1:bc2f24fcce0b3fcf029e9075b6f8ba9caf3db3da pristine_git_object: 6da141a8453a679109d12dba513b6d08b9e37fd5 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 @@ -8860,7 +8764,7 @@ trackedFiles: pristine_git_object: b2b365f2cfa45ec15f755c31450a1575079047eb src/main/java/com/cvent/AsyncAuthentication.java: id: 84ed7c96c944 - last_write_checksum: sha1:48aa8bbc862d68e08c1fd082fcaea9d259594921 + last_write_checksum: sha1:6c79c1e54ec1293fc2f985e18991ee4ffd07d2ae pristine_git_object: 5fbc750712e5e29b816b3754bbccfb4f9766a2a7 src/main/java/com/cvent/AsyncBadgePrintJob.java: id: 2a57a7a6b3f5 @@ -8900,7 +8804,7 @@ trackedFiles: pristine_git_object: d2750f4c1dd063e160ac8b42105e3350a77b9192 src/main/java/com/cvent/AsyncCventSDK.java: id: 3d41ccbb3604 - last_write_checksum: sha1:6f3c6ab9a46963e36eeb19f879eceac04a223fdc + last_write_checksum: sha1:dc6508f1cd03a85aab5a9a28fa251f127bdf942b pristine_git_object: 91ab4b576419398d5dfa7189f6dbf60c8f32176b src/main/java/com/cvent/AsyncDiscounts.java: id: 0e60d514801e @@ -9060,7 +8964,7 @@ trackedFiles: pristine_git_object: 70bd79714042b201ce12d06a85416ec310cf5e3a src/main/java/com/cvent/Authentication.java: id: 952786186a1b - last_write_checksum: sha1:0b32d836c49c39bf46e2038dbba16261d1b7a1a4 + last_write_checksum: sha1:c6e3bb39c6e8937e3c84e43537bc5595b8ac52d9 pristine_git_object: 5c6a07d0cc986df4721a08c573d4635247f5f667 src/main/java/com/cvent/BadgePrintJob.java: id: a6870d16ccad @@ -9100,7 +9004,7 @@ trackedFiles: pristine_git_object: fba7bb77908632105cf2fcbe226b002da7001b0e src/main/java/com/cvent/CventSDK.java: id: 4a420697fa3d - last_write_checksum: sha1:fe1ccdc58ac9dd655c19819f479b611ae83b2f5b + last_write_checksum: sha1:902d6c9e8ea24edd2a9c4c43fee585b8428f0092 pristine_git_object: 80c41313e2060978bc5d97ac0b629a1ec05252db src/main/java/com/cvent/Discounts.java: id: b320961e983a @@ -9188,7 +9092,7 @@ trackedFiles: last_write_checksum: sha1:0396671d6b0de814aaa27700f35eed30523c66ed src/main/java/com/cvent/SDKConfiguration.java: id: cdb9837839f5 - last_write_checksum: sha1:f5f93b1b2e1f25cf4ed9a8be2a01422adc430ef4 + last_write_checksum: sha1:c40393ef97f04304eec9733df60e2c88aa3457f0 pristine_git_object: 4b98b23f51bc18bad5890089f44055b6187ed9f0 src/main/java/com/cvent/Seating.java: id: 70583b24bb9b @@ -9252,7 +9156,7 @@ trackedFiles: pristine_git_object: babc77d8af94b46530cb1522e0d790ed3821cbbf src/main/java/com/cvent/hooks/OAuth2Scopes.java: id: 796ee1ea9f11 - last_write_checksum: sha1:1678c72b5290bf84a6175ad84e637c7926c8548b + last_write_checksum: sha1:dbe7c789e6cff43db28223c195942c67c24695c4 pristine_git_object: 5e0d00a270318551de3675f94ccb2e418a47126e src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java: id: 36b27dee8ec2 @@ -9443,9 +9347,11 @@ trackedFiles: 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 + last_write_checksum: sha1:75219ae16340a5f5138ba2c3cfbb26b298a118a7 src/main/java/com/cvent/models/components/Address6.java: - last_write_checksum: sha1:249f798d17cc7d907c7c39f01c26cb83b8bb1bef + last_write_checksum: sha1:cf7f875c2fd6a86cfcbdebd382f48005454d78c4 + src/main/java/com/cvent/models/components/Address7.java: + last_write_checksum: sha1:3bd3cd476cb5da40ae4accd016ab779b4245e931 src/main/java/com/cvent/models/components/AddressInput.java: last_write_checksum: sha1:bea2c7a59dfe5eb47a88524e72acf2dd834c2479 src/main/java/com/cvent/models/components/AddressJson.java: @@ -9454,26 +9360,20 @@ trackedFiles: pristine_git_object: 02d35db07a56c928d13de96bdecd2890c8e13343 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: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:4b17f33939d1dc1b500545296fc1bfd1b25de9fc - pristine_git_object: b99f866f4cd628f433bb5fe0e464cf1f8d2302d8 + src/main/java/com/cvent/models/components/AddressType1.java: + last_write_checksum: sha1:cd8ece8b111ade6470bd8b8c006fb21bece7bd24 src/main/java/com/cvent/models/components/AdmissionItemsPaginatedResponse.java: id: 76eb1c599497 last_write_checksum: sha1:f615fdbd26b8b1fb9792d6c707850f795918bc66 pristine_git_object: 2a74a6c79bd5e9df27b44fe0b075549c24339f7b src/main/java/com/cvent/models/components/AdvancedLogic.java: id: c11d8775a041 - last_write_checksum: sha1:ae884f060c46a1e7648ca7a10a27828ea2513310 + last_write_checksum: sha1:c5f2255741bcab243f7e850d1016c3f7d0022147 pristine_git_object: 18e94fda344d34e351640cb7d081044fcdbeaf49 - src/main/java/com/cvent/models/components/AdvancedLogicChoicesJson.java: - id: cdc82fe63537 - last_write_checksum: sha1:ae8da9bb72bc28c5ac99093ba5e1191b44d4c49e - pristine_git_object: ce4c4c1f8deedb164cca0261bab0fed322520d15 + src/main/java/com/cvent/models/components/AdvancedLogicChoices.java: + last_write_checksum: sha1:9a70327d09149e099ae8450bc39cfade6b696ce2 src/main/java/com/cvent/models/components/AgeCategory.java: id: 84770f4d74c4 last_write_checksum: sha1:a31c24b186e82dc3533bd687dcb52f687fc5bfac @@ -9499,13 +9399,13 @@ trackedFiles: last_write_checksum: sha1:709765e29f9d9f290ba0eedb336cd516c672a639 pristine_git_object: 58e5522db8db06775a87f324dafad664ea057524 src/main/java/com/cvent/models/components/AirActual.java: - last_write_checksum: sha1:8715cfe91963aaeeac10fdb7ac44689eb2a86c40 + last_write_checksum: sha1:f26d3e27046d6b4a5fd9c74b04aefe8ba0a3571e src/main/java/com/cvent/models/components/AirActualDetail1.java: last_write_checksum: sha1:fed1ecd287ecf8ec0e48c59bb0549f97a0b2daaf src/main/java/com/cvent/models/components/AirActualDetail2.java: last_write_checksum: sha1:d8ac1a4ae6f0c9a16d158a6c5bd5ee062b896a62 src/main/java/com/cvent/models/components/AirRequest.java: - last_write_checksum: sha1:4066e87498689b42af5bfac3f28db899c0f9056d + last_write_checksum: sha1:0a93426465afe8c6e222c36086273bfc885b1d5f src/main/java/com/cvent/models/components/AirRequesterType.java: last_write_checksum: sha1:a2ffdc8d36b36c4638a3ef7edd3d56f9d5d387d2 src/main/java/com/cvent/models/components/AirReservationDetail1.java: @@ -9513,7 +9413,7 @@ trackedFiles: src/main/java/com/cvent/models/components/AirReservationDetail2.java: last_write_checksum: sha1:275212deb75464bb31f39324201d10614c8913af src/main/java/com/cvent/models/components/AirlinePreference.java: - last_write_checksum: sha1:a8a882504614bd9cc6ecb1dc2a6e0d7d87ac6b08 + last_write_checksum: sha1:e26331bdcd8faf16f0e0df5f21588922ab6c55a1 src/main/java/com/cvent/models/components/AllocationBudgetItemIdJson.java: id: e4af046e3fd6 last_write_checksum: sha1:e89e744ae4e0e32d5becd147cf76fa9b10604ebf @@ -9717,7 +9617,7 @@ trackedFiles: 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:6073ad6a817597cfe3e3490b4370dffe442284d2 + last_write_checksum: sha1:ec7f36b903fda4f95ddeba7139dbd26e288751dc src/main/java/com/cvent/models/components/Attendee12.java: last_write_checksum: sha1:3dcfd7dc3cfd057bfa15c5204943ab4942d67dd1 src/main/java/com/cvent/models/components/Attendee13.java: @@ -9735,7 +9635,7 @@ trackedFiles: last_write_checksum: sha1:588a350967abac8420622802fe72e333167ce587 pristine_git_object: a87e4ced73d932eb602c2a45b6a882f99dc997fa src/main/java/com/cvent/models/components/AttendeeAdd.java: - last_write_checksum: sha1:f4fa43a3fc43cfe291fca727352dff4d98e24598 + last_write_checksum: sha1:2c2b04929e118c25a55de614d24cdaaf5f770dae src/main/java/com/cvent/models/components/AttendeeAddAdministrator.java: last_write_checksum: sha1:31eccf8eb50470a86609a72a2343b21bb637d186 src/main/java/com/cvent/models/components/AttendeeAddAdmissionItem.java: @@ -9746,7 +9646,7 @@ trackedFiles: pristine_git_object: 4fd67d3a65e7c7a7af25e5e113c922b2c80fe955 src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonData.java: id: fbfd27b5a6a9 - last_write_checksum: sha1:ea19aa399832c9bffa3cbc97cfab070f63c21336 + last_write_checksum: sha1:895d10252366ce3b53d201819563d345664f0d8a pristine_git_object: cf6bdabe8235bc544c25de11eba8d43854aba9b3 src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java: id: 5f9637e39d00 @@ -9755,7 +9655,7 @@ trackedFiles: 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:b63e5f0de1229ddee16a5da482447d01797004ca + last_write_checksum: sha1:db1e655ddd6a65625a41194b345d2f933483cdd0 src/main/java/com/cvent/models/components/AttendeeAddContact.java: last_write_checksum: sha1:2ca556c3b6ba73a2c4d742ae6a1b521b04143e29 src/main/java/com/cvent/models/components/AttendeeAddEvent.java: @@ -9868,7 +9768,7 @@ trackedFiles: pristine_git_object: 632573c3b3f6a0ef0b6f4aaca8f278ec1aa6ecaa src/main/java/com/cvent/models/components/AttendeeLinkBulkResponseItemJsonData.java: id: f968a3991cb4 - last_write_checksum: sha1:3c55e26c9d2755546a21e5a77d6f9dc14f831ebc + last_write_checksum: sha1:83a4b6c2d6721c7faa69f24fe29e6856910df0d9 pristine_git_object: 14c94049552517c3a7ef41495dc8b1bb59e77fb6 src/main/java/com/cvent/models/components/AttendeeLinkPaginatedResponse.java: id: ea2acaed78d5 @@ -9885,7 +9785,7 @@ trackedFiles: src/main/java/com/cvent/models/components/AttendeeResponseMethod.java: last_write_checksum: sha1:14d7ac253abf6f8b132c2eed9acdf01c66e20761 src/main/java/com/cvent/models/components/AttendeeResponseMethod1.java: - last_write_checksum: sha1:7d358e599f1f8ace492b4006ef59314e9a025d97 + last_write_checksum: sha1:fdd089c0dd20155c0ed6fe06cf94cc4ac557edd3 src/main/java/com/cvent/models/components/AttendeeSignatureResponseJson.java: id: 45677e71a930 last_write_checksum: sha1:e11dc4abad0feef9200d20cec9b7cba4e6b829a9 @@ -9928,7 +9828,7 @@ trackedFiles: pristine_git_object: fceb5442c3ebb9f7ad452e521ea18078859a102a src/main/java/com/cvent/models/components/AttendeeUpdate.java: id: 0e9106bb28fb - last_write_checksum: sha1:2962d318d96be3bc45af684ea797f3881ca6a88b + last_write_checksum: sha1:94bd512528028d10a01ff2ec75aff40777d1f274 pristine_git_object: 70ced5eb915d4078a81a5ee4b5fcb5f7d6c88a90 src/main/java/com/cvent/models/components/AttendeeUpdateAdministrator.java: id: 99e7b68c8120 @@ -9955,7 +9855,7 @@ trackedFiles: last_write_checksum: sha1:9a13f595032bf0b55e2c73217b89023af62fc555 pristine_git_object: ca668f4fa69daf8ee2ff708d29c3d23ac4c2e4a7 src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java: - last_write_checksum: sha1:7c112afb5f902bf447f8c57c81ea840e7a2f95e1 + last_write_checksum: sha1:7992b041daf3a6aa715da95fc3b43678e403b8c8 src/main/java/com/cvent/models/components/AttendeeVisibility.java: last_write_checksum: sha1:278e8215a16fc01e4f8d81356e3bfa857f58e66c src/main/java/com/cvent/models/components/AttendeeWebLinks.java: @@ -9966,26 +9866,10 @@ trackedFiles: 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 - pristine_git_object: 67aad118345840b36697d1df3e05c6484ca07314 - src/main/java/com/cvent/models/components/AttributeJson.java: - id: 846d6756397a - last_write_checksum: sha1:98fbf3f3ee5d0faac406ba0b57cfd9f1c82fa346 - pristine_git_object: ee8cc7fd8c79fa5d06fe89db7db13937426fb3c5 - src/main/java/com/cvent/models/components/AttributeReferenceTypeJson.java: - id: 795955db46b8 - last_write_checksum: sha1:3d012152fbac79d3e30c9acc6a4522b5605fee97 - pristine_git_object: f969a81cb72266aafebffb120aaea16717431093 - src/main/java/com/cvent/models/components/AttributeReturnedTypeJson.java: - id: 22567d80887e - last_write_checksum: sha1:dc56ed91cb942f96eaf3323fbebfaf04e9923e8d - pristine_git_object: 70e7cf818fd9a43e92e620e5cdafd596446b1275 - src/main/java/com/cvent/models/components/AttributeUniquenessTypeJson.java: - id: 19fbbd4bcd55 - last_write_checksum: sha1:4d7f2c0fadabbc4cff882c226043f4f4f47080d9 - pristine_git_object: 30ad504bfe4257f5081e7b067f807dc375641992 + src/main/java/com/cvent/models/components/Attribute.java: + last_write_checksum: sha1:3be0c049f0ecc771f7fddccb4d540312ab815778 + src/main/java/com/cvent/models/components/AttributeDataType.java: + last_write_checksum: sha1:5a2556088f8f1a8d3e188846b34e743410d1d6ec src/main/java/com/cvent/models/components/Attribution.java: id: d21c5066b06b last_write_checksum: sha1:8b1d56796655e04bcd538c9d0d2cf52e84e2fabc @@ -10020,10 +9904,8 @@ trackedFiles: id: 12f8f28cbf8e last_write_checksum: sha1:15ae209a194893710163c34ba5144099ea0dadc6 pristine_git_object: bbc49a8628468fb0ab0c8d78fa75bed777da11b2 - src/main/java/com/cvent/models/components/AuthenticationSchemaJson.java: - id: 698f4f290998 - last_write_checksum: sha1:4dbff7bba4c915baaacdd0d45fe6b5d81603acf0 - pristine_git_object: 165c88aa80f6fdc08e0acfebb6488218761fc5f9 + src/main/java/com/cvent/models/components/AuthenticationSchema.java: + last_write_checksum: sha1:0931fa52fa6021dca000015afb5beefcc3997203 src/main/java/com/cvent/models/components/AuthorizationHeaderType1.java: id: cb7a2978abdd last_write_checksum: sha1:77ac16c399c63f3a0ce658253f3535b238cc6b0d @@ -10166,7 +10048,7 @@ trackedFiles: pristine_git_object: d3664e714d7ef53336c05431b9f009afa8817836 src/main/java/com/cvent/models/components/BounceDetailsJson.java: id: 1de4c454d411 - last_write_checksum: sha1:c5396f6f30fba7e7839e7e33da20feee0d3300f4 + last_write_checksum: sha1:ad21fe8979a67cbd0cb7585ff8d8b1dd83116307 pristine_git_object: 64e727b0ae53394155c9ef7b8a0572bcfc2fc0c3 src/main/java/com/cvent/models/components/BounceDetailsResponse.java: id: 450089b843c9 @@ -10560,30 +10442,22 @@ trackedFiles: pristine_git_object: 7cc0a376992d57a8b6b705b771d03d0868948d18 src/main/java/com/cvent/models/components/Choice1.java: last_write_checksum: sha1:bfa50e37691467827cb2f72171252d9775065a98 + src/main/java/com/cvent/models/components/Choice2.java: + last_write_checksum: sha1:547e8eb2020f8adaa4ca13284f2d54fa06aa4272 + src/main/java/com/cvent/models/components/Choice2Input.java: + last_write_checksum: sha1:3df6b4b2b326e6ef9350ae792005816e03f0f05d 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:b06007aecbf0edc3c516e287f216763cac6192cf - pristine_git_object: e42a99c45ca13dc9bd749c753b47aed8d5bba4e2 - 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 - pristine_git_object: b26a2c6194e3481c0ad2ec79b7fb1d4cb35b4a56 + src/main/java/com/cvent/models/components/ChoiceTranslation.java: + last_write_checksum: sha1:e05584312cf6be61190facf4b17a150f220b6656 src/main/java/com/cvent/models/components/ChoiceTypeJson.java: last_write_checksum: sha1:e0cb67412e50be92663d283990fb250bf7e147bb - src/main/java/com/cvent/models/components/Choices.java: - id: 59973ddc8aed - 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/Choices1.java: + last_write_checksum: sha1:3c0a4a328c7837eaf591139b38addfa0403a5bcb + src/main/java/com/cvent/models/components/Choices1Input.java: + last_write_checksum: sha1:2a501508d70b722f43fe676f5cb27a2b83d2f123 src/main/java/com/cvent/models/components/CommentType.java: last_write_checksum: sha1:800db2754ce89b37b620dc981c0fd1d08ce96bb2 src/main/java/com/cvent/models/components/CommunicationConfiguration.java: @@ -10873,15 +10747,13 @@ 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:d17155ac8cbaede1c3fa77325b40f449f85a8213 + last_write_checksum: sha1:fdfcc0499e3842576c5e17c1cad83738c60d0951 src/main/java/com/cvent/models/components/CustomField3Details.java: - last_write_checksum: sha1:1e240ede79ebca294167f67ee53a1fa69a619f32 + last_write_checksum: sha1:0eed758c20771672b474730c1d5ddcecb3e7d7ae 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 - pristine_git_object: 248eee53046da35161407944275d8028f8d92f2a + src/main/java/com/cvent/models/components/CustomFieldCategory.java: + last_write_checksum: sha1:c1a7b7c0052ead0f0cfd8337a3b6d3deabe9edc8 src/main/java/com/cvent/models/components/CustomFieldCustomFieldType.java: id: e7486260059c last_write_checksum: sha1:4088cce54ff9e2308d9d1d49eb9a1431c62990cd @@ -10908,15 +10780,15 @@ trackedFiles: 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/CustomFieldTypeJson.java: - last_write_checksum: sha1:744378db225f63477323df9ec04583ebda622f95 + src/main/java/com/cvent/models/components/CustomFieldType2.java: + last_write_checksum: sha1:3af07c7291b5da69abdddea6dfbc11fb7173517c src/main/java/com/cvent/models/components/CustomFieldsJson.java: id: f6e7eb24a732 last_write_checksum: sha1:8658d3ddd9f1fe80c9482d151458aa8218f98d19 pristine_git_object: 44d665af5b86bf8ac405fc0fef27567ba6787d64 src/main/java/com/cvent/models/components/CustomFieldsPaginatedResponse.java: id: fc8e385eff52 - last_write_checksum: sha1:7a5333238d6b099030b546a14ee4f6937b6c01c5 + last_write_checksum: sha1:6bf3b1ddd0457ee429c12dd8bd5732a4a1694982 pristine_git_object: c0e8f9ebb012ec941c5a0a2d2813dd62afa161f5 src/main/java/com/cvent/models/components/DateAnswerFormat.java: last_write_checksum: sha1:3c209eedd2889caa56c25c5960f9ab44254d9515 @@ -10924,10 +10796,8 @@ trackedFiles: 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/DateTimeDisplayFormat.java: + last_write_checksum: sha1:db6a5e119b4398f5e84bdceabd7aaf631cb7ce0d src/main/java/com/cvent/models/components/DateTypeJson.java: last_write_checksum: sha1:d011eb6d2ec1c23bf89466f168e25b5f1765da47 src/main/java/com/cvent/models/components/Dates1.java: @@ -10962,12 +10832,12 @@ trackedFiles: last_write_checksum: sha1:590ca33317a71c6e4b60bd44b44d098e35fb2004 src/main/java/com/cvent/models/components/DiscountType.java: last_write_checksum: sha1:3011d1fa225ddc94e2ca44c40230b5bb25370fe1 - src/main/java/com/cvent/models/components/DisplayInDataTagJson.java: - id: a6f532e0e567 - last_write_checksum: sha1:dd53912127b4009ac609b395b7d5ab6cb6af4b6e - pristine_git_object: fa2b0b49e0b32c601a6c595488ba1443237ecc72 + src/main/java/com/cvent/models/components/DisplayInDataTag.java: + last_write_checksum: sha1:83708609b9a2db1745fa260ac6dbba96b8557d6a src/main/java/com/cvent/models/components/DisplayType.java: last_write_checksum: sha1:ab3fc999abea9397639921f34058bc51511d9174 + src/main/java/com/cvent/models/components/DisplayType1.java: + last_write_checksum: sha1:be324cb647ee82e36ee4475f2d94efe19b41f10d src/main/java/com/cvent/models/components/DistanceJson.java: last_write_checksum: sha1:b031a2c77d3654d16a4110220c23ede8682a10b1 src/main/java/com/cvent/models/components/DistanceUnit.java: @@ -11010,6 +10880,8 @@ trackedFiles: id: fcd612ecf973 last_write_checksum: sha1:c2473a927b1ae0113f4b492931138c388e94d18d pristine_git_object: 289725918e2eda2cbbc1878b73ff8c9db11b88c1 + src/main/java/com/cvent/models/components/Email.java: + last_write_checksum: sha1:e8be4a60fd2988f11c1f009fd0b4c8673208224d src/main/java/com/cvent/models/components/EmailBounced.java: id: ef5073cb77ea last_write_checksum: sha1:aa34e4b337bd28d261aa836927eae6861a606bee @@ -11020,7 +10892,7 @@ trackedFiles: pristine_git_object: 8eb3478c55affd1e861ad79500b038e4c816105f src/main/java/com/cvent/models/components/EmailHistoryJson.java: id: 56b5c7e8d5b1 - last_write_checksum: sha1:be3882e8ddec06eb17a85f505789359b2789829c + last_write_checksum: sha1:0188486d478088de7ddc54a431303a3a5ed5283a pristine_git_object: 8464383ccc7c8ed2d9c5ca39e4ff9d56450bbb7a src/main/java/com/cvent/models/components/EmailHistoryJsonAttendee.java: id: 5d738e83c4ea @@ -11040,12 +10912,8 @@ trackedFiles: pristine_git_object: 893f2933b88cb7b8b57ef17a42fa0ee530d64b0f src/main/java/com/cvent/models/components/EmailJson1.java: id: 5c73e9187eb6 - last_write_checksum: sha1:c93311d4504a605b834acdbf00a71432e3eafedb + last_write_checksum: sha1:547e84a55066ddaae0c8a0d61c45f48fd9f421f6 pristine_git_object: 6ba825c93c794eca541e0b415eb3907fbe683b01 - src/main/java/com/cvent/models/components/EmailJson2.java: - id: 47c55d87943f - last_write_checksum: sha1:cf678044a862166ce4fec8247eaa69c7f6dd4d0c - pristine_git_object: 7aefb79a2f3070b66a58817a19bf5b86cb08e4db src/main/java/com/cvent/models/components/EmailMessage.java: id: d2d2e7278eb5 last_write_checksum: sha1:89d5c70df0a9b2f2583e65b7ca7967910d89a7bd @@ -11078,12 +10946,10 @@ trackedFiles: id: 567aba8e533a last_write_checksum: sha1:98c05794ab1a21d95c1d8d95612871216dc53aa6 pristine_git_object: 14eecb4b05ef0929673c01c390125204457bbc7b + src/main/java/com/cvent/models/components/EmailType1.java: + last_write_checksum: sha1:a553a22826a64bae9cb06ceadea0f0062786cd29 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:5d24486ff480420bc5a3de177ad74f688b5affc9 - pristine_git_object: 9dc8f15ad050411a5583c5bc4fcbee1772f4b96a + last_write_checksum: sha1:b1ca2fcce2d509fcddeb37183abd4d627befb179 src/main/java/com/cvent/models/components/EmailUndelivered.java: id: 433d2d39ab33 last_write_checksum: sha1:01d4a980a6bd957b414a3966afe6c94e5e33a2c6 @@ -11092,16 +10958,14 @@ trackedFiles: 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/ErrorResponse.java: + last_write_checksum: sha1:73fbcf9dadc6e65cf2ffd9393ca82b7bd9fff527 src/main/java/com/cvent/models/components/ErrorResponse1.java: last_write_checksum: sha1:a5ed50034e9dfbecab31615297f0986c9d5a6acb - src/main/java/com/cvent/models/components/ErrorResponse2.java: - 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: - id: b8131c7a4106 - last_write_checksum: sha1:f58f10c91bfc740c6bd135fe2c5b08d23c8f4099 - pristine_git_object: 7b78c98465b7e3ae242f9cbe292886cc3d2b7108 + src/main/java/com/cvent/models/components/ErrorScimType.java: + last_write_checksum: sha1:942244a632cd35dd6406a3d25f440901a03422fd src/main/java/com/cvent/models/components/EstimatedCostJson.java: id: 132d0ce55b38 last_write_checksum: sha1:4f0d29e9d2fbb66720029ffb099264f25e854c7e @@ -11628,19 +11492,19 @@ trackedFiles: last_write_checksum: sha1:7d52cb505ca4d3acb2c927b89b4c4fefee4815d5 src/main/java/com/cvent/models/components/ExistingCustomField.java: id: 4a88a2a742c2 - last_write_checksum: sha1:24b703fb7ad6b4281f1c76f3ca2f075df94cb027 + last_write_checksum: sha1:f40bff73ec847c8bcc4c1f55c4612793536f0c71 pristine_git_object: a7ef77c18e3e5fb9173ae9116ccd927746b5cc80 src/main/java/com/cvent/models/components/ExistingCustomFieldDetails.java: id: bef9d51767c6 - last_write_checksum: sha1:ff1a1ac75c737becb1c6920a097957d8a8e95290 + last_write_checksum: sha1:b9d63a4b81d8ea40dec2518378edcb0d0b78c6f6 pristine_git_object: 5990670d277b643b69741a35ac6a821561d5ca00 src/main/java/com/cvent/models/components/ExistingCustomFieldDetailsInput.java: id: 2cab6a6f54ad - last_write_checksum: sha1:10b7cd9f2ba242fb048566e3dc81ce0ba5da986a + last_write_checksum: sha1:faeb78199c1d9a33152e9aa327c2d9c6bc70f00e pristine_git_object: af02c1438bf3c40c45adca68b14d89284f5f6acf src/main/java/com/cvent/models/components/ExistingCustomFieldInput.java: id: ac09fecd4611 - last_write_checksum: sha1:4f069ead12e95086e96f84fdfa08f0ab8ddc1e5d + last_write_checksum: sha1:ef94ebff583f0094175843ad9d7a1f78487684e8 pristine_git_object: d3af5294df49baa64e0817c8ddf544ac3b2eeef6 src/main/java/com/cvent/models/components/ExistingDiscountCode.java: last_write_checksum: sha1:7edebca7b5fd4e1f54b20754e3cab47fcd4c1af9 @@ -11984,14 +11848,10 @@ trackedFiles: pristine_git_object: e5826663d49d29f78a58938bd1565a6e587fc042 src/main/java/com/cvent/models/components/GeneralLedgerJsonInput.java: last_write_checksum: sha1:43d555bbce72d40f86bb4f47069dcda129aeca5b - src/main/java/com/cvent/models/components/GroupJson.java: - id: 867e1b37b26e - last_write_checksum: sha1:05281d4e99fb22120c01b865a2d6060175551f08 - pristine_git_object: bd77f284260b4bac5b6b51388f82a43fa3c716e1 - src/main/java/com/cvent/models/components/GroupJson0.java: - id: 454197dca44b - last_write_checksum: sha1:f5079afe9006a7f06d0dfa59d063585594d8e200 - pristine_git_object: 3da6c20865ff6a28edb4f93ee45d8133c5491466 + src/main/java/com/cvent/models/components/Group.java: + last_write_checksum: sha1:0aa2fdcb9b8daa2e8c571cee0ef0bef3adca3d1d + src/main/java/com/cvent/models/components/Group1.java: + last_write_checksum: sha1:c5501af69eb030977e7a298398c52ceb20a2b2f0 src/main/java/com/cvent/models/components/Guest.java: last_write_checksum: sha1:44b869f9a727fcb76ff000abbba222f055320e8c src/main/java/com/cvent/models/components/GuestJson.java: @@ -12051,7 +11911,7 @@ trackedFiles: last_write_checksum: sha1:58c35570ae76cc5909c4dd97890a4e938d1f310a pristine_git_object: 7c98795b1d12987cb683dc6ea4580214d328e843 src/main/java/com/cvent/models/components/HotelRequest.java: - last_write_checksum: sha1:eed48fb5d135fce8f70903b254293f750f64821c + last_write_checksum: sha1:953229bfc3e8d844abc6714bb7d3fb0829ea4f50 src/main/java/com/cvent/models/components/HotelRequestRequesterType.java: last_write_checksum: sha1:d422475e2029af353aeb87f555c0adca694060a1 src/main/java/com/cvent/models/components/HotelReservationDetail1.java: @@ -12174,12 +12034,10 @@ trackedFiles: pristine_git_object: 3cd732824496eee95bdc206784918069ad46bb75 src/main/java/com/cvent/models/components/JourneyType.java: id: 44213d0912ce - last_write_checksum: sha1:68cfe6cef8c64595f435b2be35e17a9c9bf11512 + last_write_checksum: sha1:8e9d063456eb7430d30af9ae7d8b5c00c26efdb7 pristine_git_object: cbb5aa8994f364eb345a9c1bc2ca0d4e1759d210 - src/main/java/com/cvent/models/components/LanguageJson.java: - id: 3375badbe454 - last_write_checksum: sha1:96a3f9bb98a9d536e5ef2806e48cddfafb62b9cd - pristine_git_object: c31f313543b22be048f3bab926db09252531cb38 + src/main/java/com/cvent/models/components/Language1.java: + last_write_checksum: sha1:c7b616529143140df9557c56f5baa00664920e3a src/main/java/com/cvent/models/components/LargeChoiceJson.java: id: 0648eae683a9 last_write_checksum: sha1:598b4e8b0cb2183ec5604e45d9d928919e8a2e15 @@ -12410,22 +12268,16 @@ trackedFiles: id: 15fee29e42a6 last_write_checksum: sha1:a53512a8f7f6d48adb92487c8d008daefc60ec13 pristine_git_object: 0cb6ce99a8c11b8e24ddcfdfe2ea15af5ae1a947 - src/main/java/com/cvent/models/components/MetaJson.java: - id: 436cb8b513bd - last_write_checksum: sha1:3d5b6d9e90b5cbdd3923f2dc5f1fe0661a806339 - pristine_git_object: 915c21ec285f51e33394d10aeade063528fd2fdb + src/main/java/com/cvent/models/components/Meta.java: + last_write_checksum: sha1:4af789a53d75ff66c2bda30cf901f924c2d4891d src/main/java/com/cvent/models/components/Modifiers.java: id: 5609717f6470 last_write_checksum: sha1:0b7563e7d6c0597643747e41359f27119768d7e8 pristine_git_object: ce331442a6e0731fd37cb3b59dd5a3c430907b3c - src/main/java/com/cvent/models/components/MutabilityJson.java: - id: 5464422582ed - last_write_checksum: sha1:b1cd05c5094ccf28dee408a1626ecb9781ee80f7 - pristine_git_object: 19e85959a54f8dc716685924e01e666416c95ac2 - src/main/java/com/cvent/models/components/NameJson.java: - id: 0d07d38db67d - last_write_checksum: sha1:5762a606fbfdfb7a2b534bdf101e1419f8afcd10 - pristine_git_object: b2416a29a0ce92ad461e859a381cc17603ca8b76 + src/main/java/com/cvent/models/components/Mutability.java: + last_write_checksum: sha1:cb7d3681194fdc1c118d802af48c0a076bfe7f43 + src/main/java/com/cvent/models/components/Name.java: + last_write_checksum: sha1:c00c76057605a50c72160ea2ed5a61d5365c861c src/main/java/com/cvent/models/components/NamedObject.java: last_write_checksum: sha1:8ad2ae4f714a3a170edf5f3d3a195f89698d791d src/main/java/com/cvent/models/components/NewReservation.java: @@ -12448,16 +12300,12 @@ trackedFiles: 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 pristine_git_object: 3c1969a0380272c49aa8e2ebd9c718befa74904a - src/main/java/com/cvent/models/components/OpenEndedDateTime.java: - id: 0081f863973b - last_write_checksum: sha1:acefdeff77e2ca8e6b21a8c2aed209ea75d1edc7 - pristine_git_object: 8e4b4651f743218d15ca80d3c1fb4e49dfaaff1e + src/main/java/com/cvent/models/components/OpenEndedDateTime1.java: + last_write_checksum: sha1:d1557bf3f8759327e35efb182e4aeb48967580e6 src/main/java/com/cvent/models/components/OpenEndedOneLine.java: id: ac04088ef744 last_write_checksum: sha1:51dd148ac684b3d6b1d543bde52c136502ed6be1 @@ -12510,10 +12358,8 @@ trackedFiles: pristine_git_object: 5fae1ea300e0f12f3dedf6aa71e28bfb7e1cc7b0 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 - pristine_git_object: 14c4f9d0dacde0fb8b7e6e7a9227bee3a2320e81 + src/main/java/com/cvent/models/components/PageVisibility.java: + last_write_checksum: sha1:3eddde497d84a74d186eb15b1f72e038354793ff src/main/java/com/cvent/models/components/PaginatedExistingMember.java: id: 53a23450be3f last_write_checksum: sha1:0b1e6a875f0f0eb00a9116b7aa24230cd86a5897 @@ -12620,14 +12466,10 @@ trackedFiles: id: cd2f32614629 last_write_checksum: sha1:79fe100efa2104b921338ff1b1915b52e57d8b8a pristine_git_object: ebeb0abf8216744f4b30df0201ec9d3f0b1fbf77 - src/main/java/com/cvent/models/components/PhoneNumberJson1.java: - id: ac1247500b1e - last_write_checksum: sha1:9c42b5fbd745f107e70cc054b391627f0d70a90a - pristine_git_object: 4962c4948895564a1f0d550e41478c18d278977c - src/main/java/com/cvent/models/components/PhoneTypeJson.java: - id: bbf498829688 - last_write_checksum: sha1:45738aebda89a8346c46e2d0ea5bf043d459a391 - pristine_git_object: 6091bc4bd6d57722c5e736968a6093b94dabb48d + src/main/java/com/cvent/models/components/PhoneNumber.java: + last_write_checksum: sha1:d5c051f02a194ba6c5785c9d91a1c5a249a9429a + src/main/java/com/cvent/models/components/PhoneType.java: + last_write_checksum: sha1:f940620e2c2cc6e75c463036ad0b675d8c5025e6 src/main/java/com/cvent/models/components/PlannerJson.java: id: 658f069a7bdf last_write_checksum: sha1:429d7fc1196c0775798d5bac85c317f4a006976f @@ -12982,6 +12824,8 @@ trackedFiles: last_write_checksum: sha1:edd3c865c7a635057da6b3cbf4f65d21b9a41c07 src/main/java/com/cvent/models/components/ReferenceToSupplier.java: last_write_checksum: sha1:a2df1cacbc8309e15569fcc5f0d38e66501217d5 + src/main/java/com/cvent/models/components/ReferenceType.java: + last_write_checksum: sha1:d6e206d5774722cce22d1cf30005c171201d24f3 src/main/java/com/cvent/models/components/RefundPolicy.java: last_write_checksum: sha1:4b03995400b92648b0b49fcafa405742856cd850 src/main/java/com/cvent/models/components/RefundType.java: @@ -13108,23 +12952,11 @@ trackedFiles: pristine_git_object: 80f1f7593efe79ffec2b9f3b6d31984a33c7d6e0 src/main/java/com/cvent/models/components/ResourceType.java: id: 1ee123393c58 - last_write_checksum: sha1:d595bbc7e32c01910c60ee9f91e7882f32f78ad3 + last_write_checksum: sha1:bfada8826e47fd1bd217ee473ea17514b943c7bf pristine_git_object: 13e110ca3448789e1a8ac6aa0095be3bb9b21999 - src/main/java/com/cvent/models/components/ResourceTypeJson.java: - id: 3ace6f25ae24 - last_write_checksum: sha1:7460fdaa18e933e3d980d92e755eb9a95ce2f965 - pristine_git_object: 906e1c868bea47bb770b5d1fe5b92019110e390b - src/main/java/com/cvent/models/components/ResourceTypeJsonSchemaExtension.java: - id: 4139576e260e - last_write_checksum: sha1:9a31c92b0e0fc2381c6a1369c0e293883143ed08 - pristine_git_object: 39b5e2005111541eb4f24a3f0c73b89f8f5d8130 - src/main/java/com/cvent/models/components/ResourceTypeSchemaExtension.java: - id: 59bf6009a2dd - last_write_checksum: sha1:5c610a2c63805369550e84199a6b30c93dc2eb3e - pristine_git_object: 9b8fd2598cc4b1cb8494ac3e30a3c45b0532f064 src/main/java/com/cvent/models/components/ResourceTypes.java: id: d2ddc995d06b - last_write_checksum: sha1:e95d6c618b4c2ddaedde8f7f64789a95194ad5ac + last_write_checksum: sha1:ff4041864f4294c4a6aef9d34ed12d59e4451b4e pristine_git_object: cb7e31fb150ceb1d60bf88eb8704c7389b551165 src/main/java/com/cvent/models/components/RespondedThroughJson.java: id: 3b3a9706b558 @@ -13186,6 +13018,8 @@ trackedFiles: id: f5db9a5bde30 last_write_checksum: sha1:f14d5e1a0d0652d1ec9d06f8b86d0834a9679f2e pristine_git_object: ee1f57fb89db2cd93571f9628c90cb000e3b1121 + src/main/java/com/cvent/models/components/ReturnedType.java: + last_write_checksum: sha1:cff99d1fe8f8e0baece6bfb9bd107feae3a0d860 src/main/java/com/cvent/models/components/RewardProgramJson.java: id: 4e1715cb00c0 last_write_checksum: sha1:ae3347777e37a5f2be390bd312ff0708d566c90a @@ -13292,13 +13126,11 @@ trackedFiles: id: b26ac08ac63e last_write_checksum: sha1:2ad0bdba01681e729c5ef2ea9bf9c5fe4bf17588 pristine_git_object: 83c8c9c4228d88fcdd39e5f350fc4d5be6348cff - src/main/java/com/cvent/models/components/SchemaJson.java: - id: d7b6cdec35c4 - last_write_checksum: sha1:d7881c66224574f0b2a2155fe8ef0f3ef65d3b66 - pristine_git_object: 972941deba546ccd40b1bddea30e94fbc2a837e3 + src/main/java/com/cvent/models/components/SchemaExtension.java: + last_write_checksum: sha1:2ae60155967bf068eb0c29a4c719534122bdf131 src/main/java/com/cvent/models/components/SchemeOAuth2ClientCredentials.java: id: ccb61cf87c39 - last_write_checksum: sha1:b08a7aaef79f826d2979f9a0d7a4af1bf8ea1d81 + last_write_checksum: sha1:a75d93a041ea5e243acae1f32138681cf8a4a6cb pristine_git_object: 544b9edb947aa3c67d0df88da037ae89ab126abe src/main/java/com/cvent/models/components/ScoresJson.java: id: 8c82a1866ecb @@ -13314,7 +13146,7 @@ trackedFiles: pristine_git_object: 06068aa295ce868fe902b6226c91f393fa971482 src/main/java/com/cvent/models/components/SeatType.java: id: 25352c34d824 - last_write_checksum: sha1:394cd1f850a49db85acdba9f50afe82e96734072 + last_write_checksum: sha1:b7bf881dd9756d1c69363fcea5145fc1bdd1ac7e pristine_git_object: 0312363f2eefeb12cd5d0877425e1ecba06fcd4f src/main/java/com/cvent/models/components/SeatingAssignmentExpand.java: id: 5f43beca21cb @@ -13350,11 +13182,11 @@ trackedFiles: pristine_git_object: 1509670c45c7e29e7340de919cceaccc27b96918 src/main/java/com/cvent/models/components/SendEmailEventRequest.java: id: fd543ffecb83 - last_write_checksum: sha1:e6920102343b4b1d98cd0a7fee635d2a8ee0113d + last_write_checksum: sha1:95726fecf6a9605132e1a57af7330f046592e8e0 pristine_git_object: ca5bc80bf0ae54ff8df61cc10cf967e7f331fb4e src/main/java/com/cvent/models/components/SendEmailEventResponse.java: id: 86586ab4dbdc - last_write_checksum: sha1:addfc86afe6d188f6227cf9e74f0058275a0c2b6 + last_write_checksum: sha1:9ed311f8bdb58b6a63b518801a0e646e1362de75 pristine_git_object: f63d410337a131885643bdf0881a1b43c34a3116 src/main/java/com/cvent/models/components/SendEmailRequest.java: id: 4f4111e7fcb4 @@ -13374,7 +13206,7 @@ trackedFiles: pristine_git_object: 5975ec06e585d32d6dccdf79284355037b091c63 src/main/java/com/cvent/models/components/ServiceProviderConfig.java: id: e420b007442e - last_write_checksum: sha1:f7178f0aa8f64da03b902fc855cece7ee3307388 + last_write_checksum: sha1:de1b222a641fdf2482da8e9569f62f843246f386 pristine_git_object: af311b2c84fb9b2847ea58791b4f9210d3bbbad9 src/main/java/com/cvent/models/components/ServiceProviderConfigFilter.java: id: a683a3a4c255 @@ -13916,8 +13748,8 @@ trackedFiles: id: 278e48b4cbac last_write_checksum: sha1:b9091376b26efb1ed8544d3501aad8aad004f038 pristine_git_object: 09b40d3566437c924649032af03c8931a92eca4c - src/main/java/com/cvent/models/components/TaxType.java: - last_write_checksum: sha1:aacd60d012f0c9f6be8b0d2bec9d2e81ef02b3ac + src/main/java/com/cvent/models/components/TaxType1.java: + last_write_checksum: sha1:d04f08dbc3c35da66d04ac174e7f5fecc95bf1a8 src/main/java/com/cvent/models/components/TaxesPaginatedResponse.java: last_write_checksum: sha1:2cac38b1bc1a6476e971de2134f0028a5f55147b src/main/java/com/cvent/models/components/TextAnswerFormat.java: @@ -13926,21 +13758,13 @@ trackedFiles: last_write_checksum: sha1:ee1a0a9f67c20f6e03caed5876982b41bc4fab4d src/main/java/com/cvent/models/components/TextFieldJson.java: last_write_checksum: sha1:6c95a96174527eedfaaaa3f01fa769b80e9ab083 - src/main/java/com/cvent/models/components/Three.java: - id: e2aeead8a40f - last_write_checksum: sha1:8f4b44c469fb68ebaa53c4671dd98f702e2d0c9f - pristine_git_object: b36a31a6a19c6946c5b2c99e0efa35367aca3fcb - src/main/java/com/cvent/models/components/ThreeInput.java: - id: a675bceb0219 - last_write_checksum: sha1:9c5806b8cbdf3a6a31930c519b2a9112911df632 - pristine_git_object: be2a3e38b9c6a592f9288404e4f70121dd114252 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 + last_write_checksum: sha1:f8d129ce88d63bd684d316d1ae974e30366c6359 pristine_git_object: 0bb299ebc32bd46ac0cb54bdd9d69c2763d302de src/main/java/com/cvent/models/components/TierJson.java: id: 1596ba2c0b1e @@ -14002,15 +13826,15 @@ trackedFiles: pristine_git_object: 40bcd885fa3b8fe3db5b719101298cf605a5186e src/main/java/com/cvent/models/components/Translation.java: id: a4b0f7a6ef90 - last_write_checksum: sha1:10bf44891cb8e3a220a9d72a5734d9e88a71d6a3 + last_write_checksum: sha1:a4235301bb620700f1b9f6d698d49100ef0bd562 pristine_git_object: c1cd59cfc88cdce5123fea51276ce4e1c563cdbb src/main/java/com/cvent/models/components/Translation1.java: id: 98c796a811d3 - last_write_checksum: sha1:9c55da2e4ccbfdf9e320124ca751c253f10e5dfc + last_write_checksum: sha1:52867c7888cbc8e5153b80129949e3b4460a3d05 pristine_git_object: 3b6b7e0717cf5d8c22d9ce001094246a41b6367e src/main/java/com/cvent/models/components/TravelAccount.java: id: 3cb3493bfb4b - last_write_checksum: sha1:8ec95b00ebc72f123fd8781b8fc0f84cec28da0c + last_write_checksum: sha1:41952b05c4e195fd6f43b1db3322171787e053dc pristine_git_object: 7940ca85d8b696fceb8708a41ee648476215a855 src/main/java/com/cvent/models/components/TravelAccountPaginatedResponse.java: id: b1a3ae3abd8d @@ -14063,7 +13887,7 @@ trackedFiles: 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 + last_write_checksum: sha1:8a1ed6d36a754e219d79aa86d2c35ffb668369f9 src/main/java/com/cvent/models/components/TravelBidWeekendDays.java: last_write_checksum: sha1:5e4344811e5c1556b2e526728958fabbe903cb80 src/main/java/com/cvent/models/components/TravelDepartureArrivalJson.java: @@ -14154,10 +13978,6 @@ trackedFiles: last_write_checksum: sha1:0110dda8cfecbe5e8b8052145a20ff2a6638895c src/main/java/com/cvent/models/components/TravelType.java: last_write_checksum: sha1:8506e2f774802e73b3f2ab494761ef50bcd11a4d - src/main/java/com/cvent/models/components/Two.java: - id: 19fa11ceebcd - last_write_checksum: sha1:c677dc4a9f278d516e4776571c83aa31aee0eabc - pristine_git_object: 1a7e6b07a209ca92cacb260d025c952137f2519e src/main/java/com/cvent/models/components/TypeAllOf.java: last_write_checksum: sha1:99cd2215fe6c2f2913fe4ddc82c27b85a21f1b98 src/main/java/com/cvent/models/components/TypeInput.java: @@ -14166,6 +13986,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/UniquenessType.java: + last_write_checksum: sha1:f32a161abb3f30e8221ddae4ab9f72f2f9196256 src/main/java/com/cvent/models/components/UnitPosition.java: last_write_checksum: sha1:702aae49690511f93e078cb2878c10c84c3c9168 src/main/java/com/cvent/models/components/UnknownCreateUpdateDiscount.java: @@ -14200,12 +14022,10 @@ trackedFiles: pristine_git_object: d410a6be0544e1682e55bdc37e88cb9b136fbba2 src/main/java/com/cvent/models/components/User.java: id: 0ca4527bb07c - last_write_checksum: sha1:4c0969c848f50aefe89c03a77e70ba8496b085a0 + last_write_checksum: sha1:dc986f8771117ffe11c4822922554a03e475318d pristine_git_object: 1612e7950b52fd4d1b6f9e4a36aee1879906e582 - src/main/java/com/cvent/models/components/UserEnterpriseExtensionJson.java: - id: 8631838f55d4 - last_write_checksum: sha1:395300177f986eb388e0d303f9f29aa852ba6a9a - pristine_git_object: 98783512b2ed4f6e36f660277663a561c991956e + src/main/java/com/cvent/models/components/UserEnterpriseExtension.java: + last_write_checksum: sha1:ccec84d9afa1b1564752667be23e321e437edbf6 src/main/java/com/cvent/models/components/UserGroupJson.java: id: d5515479606c last_write_checksum: sha1:159b5eda9d1645868718da3fdbb4e181049133ad @@ -14220,7 +14040,7 @@ trackedFiles: pristine_git_object: 7b45b18fed583f465dfcb7bb392720225d4c6b45 src/main/java/com/cvent/models/components/UserGroups.java: id: 9a1aa5f73378 - last_write_checksum: sha1:fefd5de3e4f97e7c4b14be973d1a35975e38b4b6 + last_write_checksum: sha1:3813f29bd163f13861a5abb07f5325f76f5e47ec pristine_git_object: cc830ed852ad435a71f3e741c3d8940f38866440 src/main/java/com/cvent/models/components/UserGroupsJson.java: id: d3c57825a9a3 @@ -14232,27 +14052,21 @@ trackedFiles: pristine_git_object: 0c054fe6f2379654e62de93ece16a4051fd1c8e0 src/main/java/com/cvent/models/components/UserInput.java: id: ba02ae2b54d4 - last_write_checksum: sha1:616c506f08cb2dfa0a3e8f6a5e90a776698d4064 + last_write_checksum: sha1:0cd38de7f2a9f8d6c6f4ee191861b5383f808a9f pristine_git_object: 6ed520e605c9585787efcdb623a8e4b69130b660 - src/main/java/com/cvent/models/components/UserJson.java: - id: 554ecf692706 - last_write_checksum: sha1:c2952228543706d990ffb73118403ea67cfb7f5b - pristine_git_object: 395d787e060cba5f4a871097db11051a70d178f4 - src/main/java/com/cvent/models/components/UserTypeJson.java: - id: 7b267aef5c49 - last_write_checksum: sha1:5a0b22af90bddc0f363a573bc738076122a6955f - pristine_git_object: c2410456997c40a9c398d28b9a16a9caf8c26341 + src/main/java/com/cvent/models/components/UserType.java: + last_write_checksum: sha1:75ce425ad1b879757f47e6fa09bdfd9dc0141fd4 src/main/java/com/cvent/models/components/Users.java: id: 417165d13ca0 - last_write_checksum: sha1:02c52eb1a78b5f0e5a3a9dc048765569b29b0ca1 + last_write_checksum: sha1:e20162bb8d60b9cbd54831ad3b2753186d2c2457 pristine_git_object: 350254ced0387bfa4062f22a83db6d28631dbe9f src/main/java/com/cvent/models/components/UsersSchema.java: id: 9c9bbbd77682 - last_write_checksum: sha1:d5aae7132b5deae1067c3e2f6c2e03a79fc9b01f + last_write_checksum: sha1:cc9484b453dea3ea096562942defb324367e62fe pristine_git_object: 6e2de3c62d727b05654329e0df671ab18719be52 src/main/java/com/cvent/models/components/UsersSchemas.java: id: 98704f88a3c5 - last_write_checksum: sha1:feda63f89493ad675ba32c68d4cac4d61f7c9b52 + last_write_checksum: sha1:89cc194642e8308976ab8a979a3d7ab03ae950fd pristine_git_object: f27869038d5045be5aac8ff179c060fb07b91a7a src/main/java/com/cvent/models/components/Uuid.java: last_write_checksum: sha1:36cb6ff1183307a2707f6c87243d186f6b47de25 @@ -14456,14 +14270,8 @@ trackedFiles: id: 2aa640ec2592 last_write_checksum: sha1:f5bc6250a191138b6a4fdd9e1d7201d4fa64fa5a pristine_git_object: 6d6610679f90f85dd690dc018785f5da94262f9b - src/main/java/com/cvent/models/components/ZeroOneOf1.java: - id: 3c8c2a01e37f - last_write_checksum: sha1:3c60b19b00723d42094a22c40ccf8e34ca477c4a - pristine_git_object: 4b5fde70316e71470376923fd35e67b5532c1d26 - src/main/java/com/cvent/models/components/ZeroOneOf2.java: - id: 53c0960412a9 - last_write_checksum: sha1:cf844c6ce62198c10fb88eabd7e7956df1f90cd7 - pristine_git_object: ab1b30dcee55105fc4ac8c06d8b1947a8210a248 + src/main/java/com/cvent/models/components/ZeroOneOf.java: + last_write_checksum: sha1:ae64c386c5344783cfe5e9134e5392235d6862e7 src/main/java/com/cvent/models/errors/APIException.java: id: e3aa5c5942ba last_write_checksum: sha1:5c59750fa199f4d87e58886c1979ee568fd5b8c7 @@ -14478,7 +14286,7 @@ trackedFiles: pristine_git_object: 1c27d206e63ced0d5ffdf4371b16781cb614e362 src/main/java/com/cvent/models/errors/BadRequestException.java: id: f750887b1bfc - last_write_checksum: sha1:6fc9bf30eefc15138c8b91e9c6485ec7177f8c81 + last_write_checksum: sha1:8e18a7689366ffa92fa82d072d0960fda20ed40a pristine_git_object: cd81c5c99ad1019ab2a209cbe207b5bacd546ccf src/main/java/com/cvent/models/errors/CventSDKError.java: id: 50eda892637e @@ -14488,12 +14296,12 @@ trackedFiles: id: eaba9ec930c3 last_write_checksum: sha1:cde83d508aa95687043b4c7796f78b92b1a180bc pristine_git_object: 6e9f3070a79d46186efc77a1ac3f6bc7495dc183 + src/main/java/com/cvent/models/errors/ErrorResponse.java: + last_write_checksum: sha1:df26855af2e252f080153256677fc7573d4fbcf4 src/main/java/com/cvent/models/errors/ErrorResponse1.java: last_write_checksum: sha1:de7068529d2c612d01cd37caf57c11cefc6a4c7c src/main/java/com/cvent/models/errors/ErrorResponse2.java: - last_write_checksum: sha1:9cbba1838cef8fe3b89ef5b9370d9ff1d3bc9739 - src/main/java/com/cvent/models/errors/ErrorResponseJson12.java: - last_write_checksum: sha1:2af37093aca44e72aaf0ab8e0624b0276c0894a0 + last_write_checksum: sha1:6874ef5bf9c03ccfb97e38e59dd2eb1994d3ae77 src/main/java/com/cvent/models/errors/SegmentsErrorResponse.java: last_write_checksum: sha1:a5e9b4512c354e3061c2cbd58fc56d940e3f4d4d src/main/java/com/cvent/models/errors/ValidationCode.java: @@ -19206,7 +19014,7 @@ trackedFiles: pristine_git_object: ff4b4c955f6808586160729a75097128f8a2ab18 src/main/java/com/cvent/models/operations/GrantType.java: id: e7529bda3a7f - last_write_checksum: sha1:a3f11d58ee070042ad01e0be17b814de387a13e8 + last_write_checksum: sha1:ec3743b4c23403f8af63dfbd45704b0a4b7436b6 pristine_git_object: 157b5526238d7adb3590dd1cda59bd98cbdbd1b6 src/main/java/com/cvent/models/operations/LaunchEventFeaturesRequest.java: id: 5d8cd2d7dfbc @@ -19534,7 +19342,7 @@ trackedFiles: pristine_git_object: 73a1b2d6b3b2c16cc47c7c71468567516508c659 src/main/java/com/cvent/models/operations/ListCustomFieldsRequest.java: id: 8a8bed19f35c - last_write_checksum: sha1:6f96c7a79533a045cbc6857459041cf2a0383bb9 + last_write_checksum: sha1:ddd871b24376c7fa8cdcd9b85fed08da6ce14643 pristine_git_object: 55f890cf2beff91d434cc90899ab046ed40e27bd src/main/java/com/cvent/models/operations/ListCustomFieldsRequestBuilder.java: id: 8be1571a0827 @@ -20290,7 +20098,7 @@ trackedFiles: pristine_git_object: d96f7440c3f5582375aba410e4bc87616d6c6b1d src/main/java/com/cvent/models/operations/ListUsersRequest.java: id: "599112161e95" - last_write_checksum: sha1:8ba9c586f32f82fc3dbbb6175d59375b7c78a99d + last_write_checksum: sha1:19528b1016224e8a201de7cbb73cffc422d32b99 pristine_git_object: c7fc1f9a8e372b1e47d7de839a8100e033227506 src/main/java/com/cvent/models/operations/ListUsersRequestBuilder.java: id: a5f133afb329 @@ -20374,7 +20182,7 @@ trackedFiles: pristine_git_object: b4c40fd576a69da1a618e7061e3b9343eb221a7f src/main/java/com/cvent/models/operations/Oauth2AuthorizeRequest.java: id: 914f72a2c0be - last_write_checksum: sha1:412b11f80ba82a25e146d39ddcdc0a44462d072d + last_write_checksum: sha1:207cc88006ecadb934fd476d021b7859fb7acb8e pristine_git_object: faf3b9102c8b8e8ecfc292efd350ecbeb0fb9d63 src/main/java/com/cvent/models/operations/Oauth2AuthorizeRequestBuilder.java: id: 41cff87a508b @@ -20386,7 +20194,7 @@ trackedFiles: pristine_git_object: b75c5811ab5b0c52ff49821f484bcc7781493a62 src/main/java/com/cvent/models/operations/Oauth2TokenRequest.java: id: a844e7d1676e - last_write_checksum: sha1:8f042a51cfd9584428dbdf0af26b27b8700803fc + last_write_checksum: sha1:b2c1ecdd22503a930c8a176be5e64676374066cc pristine_git_object: 6c21fdc9c9c4cedeca915ce62b668a14b1282eb3 src/main/java/com/cvent/models/operations/Oauth2TokenRequestBuilder.java: id: 68b29eed9b3c @@ -20398,7 +20206,7 @@ trackedFiles: pristine_git_object: 8d1a60b486b364def46c7cbbfcbd4c779e638066 src/main/java/com/cvent/models/operations/Oauth2TokenResponseBody.java: id: b01f9fd08617 - last_write_checksum: sha1:365c95940cafb6cc0a505ad3f76e2bea57cf4b88 + last_write_checksum: sha1:479dd62628dca4f6e4b189ae0720d246e8a9b0d5 pristine_git_object: fdc2b7dd764de4f41e22659fa96eb4e36f06ca10 src/main/java/com/cvent/models/operations/Oauth2TokenSecurity.java: id: ddc8c0da02e7 @@ -23138,7 +22946,7 @@ trackedFiles: pristine_git_object: 548049288f453bb8d2754112b314c54eaaab9e28 src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java: id: 350ca9e53134 - last_write_checksum: sha1:fdeecf430966e9cda360ce4be956b4d70e472d27 + last_write_checksum: sha1:53027b62066c81dce2ff355f976b7a996e85d51b pristine_git_object: d6c008cd78a80ed3afa61d7bda1f61dad79a8d01 src/main/java/com/cvent/operations/AssociateBoothStaff.java: id: c9d44bd37242 @@ -23174,7 +22982,7 @@ trackedFiles: pristine_git_object: 878f0d876f6e9b3e0541d023c11aec4cac0100a3 src/main/java/com/cvent/operations/CancelReservationRequest.java: id: 3ae3bac1e343 - last_write_checksum: sha1:5ed03629358997819f95d7b0d28ccfda7d9c9d9f + last_write_checksum: sha1:029ba0f08a2f05263cd32ee8824387741713af1a pristine_git_object: 0fbed7159a72e51d212a6ec679ea818cad6a82cf src/main/java/com/cvent/operations/CopyEvent.java: id: 54ed2b262139 @@ -23186,7 +22994,7 @@ trackedFiles: pristine_git_object: e7061613274121ae5278d60ab4698f71dc898d2f src/main/java/com/cvent/operations/CreateAppointment.java: id: 42a79c72fb9e - last_write_checksum: sha1:3a0fdb65fcf917f430143dfd46ee1ab37766aa86 + last_write_checksum: sha1:c50630a56eae13f436d31ee9aab07c76a3f9c0ab pristine_git_object: 46645ee1b1f364c2d201b5ff43a7bf07e023e7a5 src/main/java/com/cvent/operations/CreateAttendee.java: id: f299505bc112 @@ -23202,7 +23010,7 @@ trackedFiles: pristine_git_object: 885a3bf79e973f515a1dbd803794c14358b1b5e2 src/main/java/com/cvent/operations/CreateAudienceSegment.java: id: a311051da7dd - last_write_checksum: sha1:38f23489dcfd2b4e461e891c310988769f58413c + last_write_checksum: sha1:d7dc172aa48e11a6d31d804fdfd3fe3cc54ce761 pristine_git_object: 903f0f8c40131d8b80353f69e3673925e8a298ce src/main/java/com/cvent/operations/CreateBadgePrintJob.java: id: 3744615dd3ad @@ -23214,7 +23022,7 @@ trackedFiles: pristine_git_object: e1a330422303fb6d507cdc02282bcd23d9640056 src/main/java/com/cvent/operations/CreateBulkJob.java: id: 9642bdcb8736 - last_write_checksum: sha1:18104567c0f3bfb02a076924c94fe8c4f8511594 + last_write_checksum: sha1:87afe4cd9deb7747a345d4ab8fa85a119eeab987 pristine_git_object: e3e3ed04ec4d5b4dfcb076bb13476254a6bd0610 src/main/java/com/cvent/operations/CreateCardTokens.java: id: 69dcb378f484 @@ -23282,7 +23090,7 @@ trackedFiles: pristine_git_object: b7b7c64f6cd533652ab91ab5a838b68e1120fc45 src/main/java/com/cvent/operations/CreateExhibitorWeblink.java: id: 5fbc698a1b45 - last_write_checksum: sha1:df71b8a4b6c0e0ae4dccda69af821ef2b90d51b6 + last_write_checksum: sha1:ca2f04ced40f8dfc1882134aa00c037269ecb552 pristine_git_object: cedbfff70e181ca2d661b18d1b6076089a22c164 src/main/java/com/cvent/operations/CreateExternalAttendeeActivityMetadata.java: id: e1827cbcf62f @@ -23326,7 +23134,7 @@ trackedFiles: pristine_git_object: aa87645df88d3044c7fa7bff2687366f2bf51cc9 src/main/java/com/cvent/operations/CreateSessionProgramSpeaker.java: id: ee3d8088d024 - last_write_checksum: sha1:7c6ce67b29df8befe77abae4f6b446a0b97e9f3f + last_write_checksum: sha1:4de67370fe9fb3465a43bfa9e8087ac4174e64b3 pristine_git_object: fc22cac1afd31430f64157ffca6a1a8b23361fd5 src/main/java/com/cvent/operations/CreateSpeaker.java: id: f041d47f9011 @@ -23346,7 +23154,7 @@ trackedFiles: pristine_git_object: 4fccfc09479abbdc6d8793e6754765de85436e60 src/main/java/com/cvent/operations/CreateUser.java: id: cdcc335c4d47 - last_write_checksum: sha1:45e07f0d771f60c3b929467f5d7c9df1f4c13d5a + last_write_checksum: sha1:657ce356d1c3f78b47a2db91348c8fc88ebabdf2 pristine_git_object: a8401a03536193a7c7eb98f79f0da7c0f472dcd4 src/main/java/com/cvent/operations/CreateWebcast.java: id: cfc8ae27bb1b @@ -23446,7 +23254,7 @@ trackedFiles: pristine_git_object: eb8aff10faa4e88c76130a4202916d3a014090be src/main/java/com/cvent/operations/DeleteRegistrationPack.java: id: fa5b242d224b - last_write_checksum: sha1:29a1a64d1a53ea72794cc6d1045626610087e280 + last_write_checksum: sha1:a69062c388a5f04770950ef3c080f380b4086b3e pristine_git_object: 4557b1f517b1c650b17980078104fd1b20e58e63 src/main/java/com/cvent/operations/DeleteSession.java: id: b29052c6235f @@ -23482,7 +23290,7 @@ trackedFiles: pristine_git_object: f2d193e2174c777e6b70f4c233143932f5c91e02 src/main/java/com/cvent/operations/DeleteUser.java: id: fbfe0431857b - last_write_checksum: sha1:189a7900bc3f13414a4e8092a71bd85dc6513890 + last_write_checksum: sha1:a067664fadf79c990dfaec8c934ca988ac83f871 pristine_git_object: c877fcb4ab596b3ca7889b9a51abc18608762a2c src/main/java/com/cvent/operations/DeleteUserFromAccountUserGroup.java: id: c514b47f3578 @@ -23872,7 +23680,7 @@ trackedFiles: pristine_git_object: 365eccd354348fc73bb97988ce38da5acdc6b468 src/main/java/com/cvent/operations/GetMRFById.java: id: 32f82aa5af81 - last_write_checksum: sha1:5a4dcfc275638818c8791ae37be212a17a6838af + last_write_checksum: sha1:bdd983d93f981ae932de8374e05b0ce522da4040 pristine_git_object: d6572f745e20d2cfff73d1c79b0f3a86c01831f1 src/main/java/com/cvent/operations/GetMeetingInterestById.java: id: b9daecf09c65 @@ -23926,11 +23734,11 @@ trackedFiles: pristine_git_object: d8e07c1d5a79c99cd82f18cb129645404bd3622e src/main/java/com/cvent/operations/GetResourceType.java: id: 5c98363bc64d - last_write_checksum: sha1:f0e88846bfc42e4c594f5f8f98ad2731ffc315ea + last_write_checksum: sha1:32c3446db805d0e4ba255cd86460294d05b5136b pristine_git_object: f527d9b88758644bc5773299946fb75a700cadca src/main/java/com/cvent/operations/GetResourceTypes.java: id: b8d5ddbb4ecc - last_write_checksum: sha1:9470f5371d5912175c81ce6e527c52b3bd330f32 + last_write_checksum: sha1:4bf6dde256fc5bf8f4b8427a440b8b7284b91e43 pristine_git_object: b76611c6bb6b57ce59f9f80bd30fd21b89d067a9 src/main/java/com/cvent/operations/GetRespondents.java: id: 45ffb26515fa @@ -23958,11 +23766,11 @@ trackedFiles: pristine_git_object: e01d531b192bf344870e4391e01ddbf7ffeaaa8d src/main/java/com/cvent/operations/GetSchema.java: id: ae6da26d9e26 - last_write_checksum: sha1:57a2c9afe368a2ca231a8ea91362e47bd346accc + last_write_checksum: sha1:b67bd58b01f7ee7834289c442fd2d85c92b3b51f pristine_git_object: b5b4a06b2105640aa44f1645b47277dc346353b7 src/main/java/com/cvent/operations/GetSchemas.java: id: 31c0fc716578 - last_write_checksum: sha1:ce827c25f3efabf3b91df7734c27fa62e846fb37 + last_write_checksum: sha1:c2ea578d5e5a21b6e98904dd431389f71453e470 pristine_git_object: 37c27c13ce7d1238b91405138d0f289006ddb7c7 src/main/java/com/cvent/operations/GetScores.java: id: aba25aff0866 @@ -23978,7 +23786,7 @@ trackedFiles: pristine_git_object: 0465d8ee644b2150ee989e1c6935fef53b7d8a6d src/main/java/com/cvent/operations/GetServiceProviderConfig.java: id: a52ebf7a1e59 - last_write_checksum: sha1:db5ee38f49ddfd5faec638a0b2f8c2bfc6c478d3 + last_write_checksum: sha1:a8f72e11cf76b8702fc80a4cd38de304325786fe pristine_git_object: 1b491e015758d55b19e0cd234140e9c6c819e3a3 src/main/java/com/cvent/operations/GetSessionById.java: id: f732c34fca75 @@ -24098,11 +23906,11 @@ trackedFiles: pristine_git_object: 83edf3bece97e4bbb3e8cd18a7ac85224183a4a9 src/main/java/com/cvent/operations/GetUser.java: id: ac3638999268 - last_write_checksum: sha1:25bc31146847b396e9686b5446911dcfd85c4213 + last_write_checksum: sha1:30bef35d2ca7fc46b59e32254df53dd1793a0e76 pristine_git_object: 4338b251df5316a859945907653723fefbb0258c src/main/java/com/cvent/operations/GetUserGroups.java: id: 642c9ddeba82 - last_write_checksum: sha1:d0141e103b5ab90b1f8af69aed3974ae1410e1bd + last_write_checksum: sha1:f417078510413d5f520f974f74f21da3c0ba58a6 pristine_git_object: f94d9973b34828b8f374a36636562d1b61bf87da src/main/java/com/cvent/operations/GetVideoViews.java: id: 5d3717682ffb @@ -24474,7 +24282,7 @@ trackedFiles: pristine_git_object: bf484bab257e5749171a09dbb61e49731e473844 src/main/java/com/cvent/operations/ListUsers.java: id: 2fa915b80d05 - last_write_checksum: sha1:f2129d711dc849df0a5219f1d2f578adb10692fa + last_write_checksum: sha1:1e42d18ad6750028722edf7ab84dc0549c134762 pristine_git_object: a0e2c6e45b2d1416466025e55f166a76b1f27466 src/main/java/com/cvent/operations/ListVideoRenditions.java: id: a8b1fc5c3203 @@ -24502,11 +24310,11 @@ trackedFiles: pristine_git_object: 81b5907c122dce81788500020fc915eec0a8206e src/main/java/com/cvent/operations/Oauth2Authorize.java: id: 02b4369b9460 - last_write_checksum: sha1:7f357d1bc3dafc2c410c6d090ab15f4fcafeb947 + last_write_checksum: sha1:54e8be0d1317c3d34587723a2b769cdd84d995d3 pristine_git_object: 42b1ea919f5bfe87224e9d9a0e5a9a9a600872da src/main/java/com/cvent/operations/Oauth2Token.java: id: 105fdff39c12 - last_write_checksum: sha1:dc54d5c8898de2907448e4f63608887527378f24 + last_write_checksum: sha1:1e7dfb4a3e21b3217f9e49142191d7e823b35755 pristine_git_object: 70f924d5145947429d29078643f63062e2c94ac6 src/main/java/com/cvent/operations/ObfuscateContactById.java: id: 3cbcae0a9e23 @@ -24534,7 +24342,7 @@ trackedFiles: pristine_git_object: f775448944a44b77e260d2d811a6f03651c7d8ad src/main/java/com/cvent/operations/PostRegistrationPack.java: id: c3ab7e113786 - last_write_checksum: sha1:4ed797b4128b02f8b99695fbbca353bb14c37d59 + last_write_checksum: sha1:0f6bb0b5a914b1884e16208b10a1d682170e4889 pristine_git_object: 9427b1934289eee305efde3eaca3f436d7799e5b src/main/java/com/cvent/operations/PostTransactions.java: id: c8ae33737f63 @@ -24570,7 +24378,7 @@ trackedFiles: pristine_git_object: 3465718da8e56b45a9ff68e740277a7007099880 src/main/java/com/cvent/operations/RelateProgramItemToSessionDocument.java: id: 97162afb86da - last_write_checksum: sha1:3a12e52b139db4ff35188e2539e34fc09cc65484 + last_write_checksum: sha1:f20f426caed8ee5209c80aeac49b7557ba78ce84 pristine_git_object: dc093fd922c81a01caa2ff0aa2fd6e65e90b9ff8 src/main/java/com/cvent/operations/RemoveContactFromContactGroup.java: id: f10a4d1f98a5 @@ -24586,7 +24394,7 @@ trackedFiles: pristine_git_object: ae7a8532ecbe8ab99bd0e6214efd86bab41c3273 src/main/java/com/cvent/operations/RunBulkJob.java: id: 1a278f276dde - last_write_checksum: sha1:682b6d62e76cf1701d6b970b144814216fb1730c + last_write_checksum: sha1:54cebd9056a73c2aa4328aae4359f67d6d5b5d2d pristine_git_object: 49cb1999f3841a7a704589d81e04e894ca29ee83 src/main/java/com/cvent/operations/SendEMarketingEmails.java: id: 0101942bffd5 @@ -24618,7 +24426,7 @@ trackedFiles: pristine_git_object: 6dc9f6406009e0c38a9f7dfeab4752ede47c40a0 src/main/java/com/cvent/operations/UpdateAppointment.java: id: 76f35693671c - last_write_checksum: sha1:886cb01b7e0df49c56b2cd721a8f0c12e309574f + last_write_checksum: sha1:01a887acb31bd10e27859d6c87cb8f342b292558 pristine_git_object: bb42c08b50dbdefa67ec476b3d1e6e5551d54392 src/main/java/com/cvent/operations/UpdateAttendee.java: id: fd568a0b7bae @@ -24632,7 +24440,7 @@ trackedFiles: last_write_checksum: sha1:3edde81c7de3cee12d2dea2c9e3d2abfc0b9580f src/main/java/com/cvent/operations/UpdateAudienceSegment.java: id: 362b62b077d3 - last_write_checksum: sha1:70f177b55ac19e58bdc2acf99344ebcbe7c03cf4 + last_write_checksum: sha1:dc62f7e310ce5a8bc4986d9d2fa9c53bb89e6835 pristine_git_object: a57b52081cc5d46b48c6742dab019058b833d137 src/main/java/com/cvent/operations/UpdateBadge.java: id: c818f06ce74c @@ -24732,7 +24540,7 @@ trackedFiles: pristine_git_object: c464f49d1c3e546576e1d3aa8a935472f20245f5 src/main/java/com/cvent/operations/UpdateExhibitorFile.java: id: 1099de97def2 - last_write_checksum: sha1:9d8849c99893e77b794bd8ab705d08e61513ecc7 + last_write_checksum: sha1:d83d6afceccc4ac3ff73d73424d91f2bb47ec935 pristine_git_object: bb9712dd8a670f7488940042dadeb9e7a524872a src/main/java/com/cvent/operations/UpdateExhibitorLogo.java: id: 666e45a637fe @@ -24740,7 +24548,7 @@ trackedFiles: pristine_git_object: 00f497a143f9d09f8557485127e1628a46815f6a src/main/java/com/cvent/operations/UpdateExhibitorWeblink.java: id: 9e19bfd00ae4 - last_write_checksum: sha1:74d73857d52a7e583599a6bddea92cdbd92352b1 + last_write_checksum: sha1:f0ecc6febc5cd0a7473133379a6719cedb323295 pristine_git_object: 128f0ba2ceb4618394b8896b224f470b4ee787d4 src/main/java/com/cvent/operations/UpdateExternalAttendeeActivityMetadata.java: id: 8a2ac1f34610 @@ -24780,7 +24588,7 @@ trackedFiles: pristine_git_object: 2d1f36e1cf4d16a162e5385aab09aacd5f2bb711 src/main/java/com/cvent/operations/UpdateReservationRequest.java: id: 7de9d63c7db9 - last_write_checksum: sha1:f2ee618d1af2db58c1b957d1d21e8a6e15e6d828 + last_write_checksum: sha1:996747319db75e61f6c7f41afb276cde39d0940e pristine_git_object: de881d85f3e5ac5e15e1cc77471fe51be632d119 src/main/java/com/cvent/operations/UpdateReservationSync.java: id: 0d7b0de298c3 @@ -24816,7 +24624,7 @@ trackedFiles: pristine_git_object: bae74c35c4b713c1c50295b289cf82c600ea7566 src/main/java/com/cvent/operations/UpdateUser.java: id: e4341afd373a - last_write_checksum: sha1:f3ef4f778730b76dc17524fd4a8ea22ca2c45398 + last_write_checksum: sha1:d418ddec13adb06a736aa43e3caac52a1a8d495c pristine_git_object: aee46a839ea9098a2e95de42e7ea8481c18872cd src/main/java/com/cvent/operations/UpdateWebcast.java: id: 1cd44d62be66 @@ -24824,7 +24632,7 @@ trackedFiles: pristine_git_object: 511686edf854754688a8063f6b5714ab863c60e1 src/main/java/com/cvent/operations/UploadBulkJobData.java: id: 9a53f6fe2cf6 - last_write_checksum: sha1:e2fb9bc3b61f652a5b6b5001b1948d2c6edd16d3 + last_write_checksum: sha1:28714912ff1e225310f032d92bcfa4c97aca7864 pristine_git_object: 4b56a7e45011380df8ee4e2167efed89ddb68e61 src/main/java/com/cvent/operations/UploadFile.java: id: 056fc4636ca2 diff --git a/packages/java/.speakeasy/gen.yaml b/packages/java/.speakeasy/gen.yaml index df50aa760..372d45abe 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.5.1 + version: 1.5.2 additionalDependencies: [] additionalPlugins: [] artifactID: sdk diff --git a/packages/java/README.md b/packages/java/README.md index cd859ccfe..aeb094228 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.5.1' +implementation 'com.cvent:sdk:1.5.2' ``` Maven: @@ -52,7 +52,7 @@ Maven: com.cvent sdk - 1.5.1 + 1.5.2 ``` @@ -415,8 +415,8 @@ public class Application { ### [Authentication](docs/sdks/authentication/README.md) -* [oauth2Authorize](docs/sdks/authentication/README.md#oauth2authorize) - Authorize -* [oauth2Token](docs/sdks/authentication/README.md#oauth2token) - Token +* [oauth2Authorize](docs/sdks/authentication/README.md#oauth2authorize) - Get Authorization Code +* [oauth2Token](docs/sdks/authentication/README.md#oauth2token) - Get Token * [validateToken](docs/sdks/authentication/README.md#validatetoken) - Validate Token ### [BadgePrintJob](docs/sdks/badgeprintjob/README.md) @@ -1297,8 +1297,8 @@ public class Application { many more subclasses in the JDK platform). **Inherit from [`CventSDKError`](./src/main/java/models/errors/CventSDKError.java)**: -* [`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.ErrorResponse`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse.java): Represents an error response with additional details of cascading error messages. Applicable to 18 of 448 methods.* +* [`com.cvent.models.errors.ErrorResponse2`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse2.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/Address5.md b/packages/java/docs/models/components/Address5.md index 2535d1690..a5b939261 100644 --- a/packages/java/docs/models/components/Address5.md +++ b/packages/java/docs/models/components/Address5.md @@ -1,18 +1,16 @@ # Address5 -Address of the hotel. +Address ## 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 +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `type` | [AddressType1](../../models/components/AddressType1.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/Address6.md b/packages/java/docs/models/components/Address6.md index 739ffddd1..3cee646f2 100644 --- a/packages/java/docs/models/components/Address6.md +++ b/packages/java/docs/models/components/Address6.md @@ -1,17 +1,18 @@ # Address6 -Address details. +Address of the hotel. ## 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 +| 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/Address7.md b/packages/java/docs/models/components/Address7.md new file mode 100644 index 000000000..800160e5e --- /dev/null +++ b/packages/java/docs/models/components/Address7.md @@ -0,0 +1,17 @@ +# Address7 + +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/AddressJson2.md b/packages/java/docs/models/components/AddressJson2.md deleted file mode 100644 index 5916511a5..000000000 --- a/packages/java/docs/models/components/AddressJson2.md +++ /dev/null @@ -1,16 +0,0 @@ -# AddressJson2 - -Address - - -## Fields - -| 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/AddressTypeJson.md b/packages/java/docs/models/components/AddressType1.md similarity index 56% rename from packages/java/docs/models/components/AddressTypeJson.md rename to packages/java/docs/models/components/AddressType1.md index 0836ca561..2756160ed 100644 --- a/packages/java/docs/models/components/AddressTypeJson.md +++ b/packages/java/docs/models/components/AddressType1.md @@ -1,13 +1,13 @@ -# AddressTypeJson +# AddressType1 The type of the address. ## Example Usage ```java -import com.cvent.models.components.AddressTypeJson; +import com.cvent.models.components.AddressType1; -AddressTypeJson value = AddressTypeJson.WORK; +AddressType1 value = AddressType1.WORK; ``` diff --git a/packages/java/docs/models/components/AdvancedLogic.md b/packages/java/docs/models/components/AdvancedLogic.md index 588e1f776..8ddc8b629 100644 --- a/packages/java/docs/models/components/AdvancedLogic.md +++ b/packages/java/docs/models/components/AdvancedLogic.md @@ -9,4 +9,4 @@ Describes the advanced logic for a custom field. | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sourceCustomFieldId` | *String* | :heavy_check_mark: | The ID of the source custom field. | | `defaultChoices` | List\<*String*> | :heavy_minus_sign: | The choices of this custom field to display by default (when no choice is selected for the source custom field), specified by choice ID. Leave empty to have no choices displayed by default. | -| `sourceChoices` | List\<[AdvancedLogicChoicesJson](../../models/components/AdvancedLogicChoicesJson.md)> | :heavy_minus_sign: | The choices of this custom field to display based on the choice selected for the source custom field, specified by choice ID. | \ No newline at end of file +| `sourceChoices` | List\<[AdvancedLogicChoices](../../models/components/AdvancedLogicChoices.md)> | :heavy_minus_sign: | The choices of this custom field to display based on the choice selected for the source custom field, specified by choice ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdvancedLogicChoicesJson.md b/packages/java/docs/models/components/AdvancedLogicChoices.md similarity index 98% rename from packages/java/docs/models/components/AdvancedLogicChoicesJson.md rename to packages/java/docs/models/components/AdvancedLogicChoices.md index 353838084..a674a71c5 100644 --- a/packages/java/docs/models/components/AdvancedLogicChoicesJson.md +++ b/packages/java/docs/models/components/AdvancedLogicChoices.md @@ -1,4 +1,4 @@ -# AdvancedLogicChoicesJson +# AdvancedLogicChoices This is used to denote which custom field choices to display when a source custom field choice is selected. diff --git a/packages/java/docs/models/components/AirActual.md b/packages/java/docs/models/components/AirActual.md index 58652f2af..66deb6e32 100644 --- a/packages/java/docs/models/components/AirActual.md +++ b/packages/java/docs/models/components/AirActual.md @@ -22,6 +22,6 @@ Representation of an air actual. | `note` | *Optional\* | :heavy_minus_sign: | Additional note associated to the air actual. | Additional note here. | | `recordLocatorGDS` | *Optional\* | :heavy_minus_sign: | The unique reservation number associated with the Global Distribution System (GDS) where the flight was booked. | ABC123 | | `noteGDS` | *Optional\* | :heavy_minus_sign: | Additional note from the GDS associated to the air actual. | GDS note. | -| `journeyType` | [Optional\](../../models/components/JourneyType.md) | :heavy_minus_sign: | Type of journey | | +| `journeyType` | [Optional\](../../models/components/JourneyType.md) | :heavy_minus_sign: | Type of journey for an air booking. | RoundTrip | | `flightDetail` | List\<[FlightDetail](../../models/components/FlightDetail.md)> | :heavy_minus_sign: | List of all the flight details taken by attendee and its guest | | | `airActualAnswers` | List\<[AttendeeAnswer1](../../models/components/AttendeeAnswer1.md)> | :heavy_minus_sign: | Answer provided by requester to the air actual related question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AirRequest.md b/packages/java/docs/models/components/AirRequest.md index f466d9cc5..09a08a06e 100644 --- a/packages/java/docs/models/components/AirRequest.md +++ b/packages/java/docs/models/components/AirRequest.md @@ -23,8 +23,8 @@ Representation of an air request. | `knownTravelerNumber` | *Optional\* | :heavy_minus_sign: | TSA known traveller number for the passenger. | 1234567 | | `outgoingLeg` | [Optional\](../../models/components/LegDetail.md) | :heavy_minus_sign: | Representation of a leg detail in air request. | | | `incomingLeg` | [Optional\](../../models/components/LegDetail.md) | :heavy_minus_sign: | Representation of a leg detail in air request. | | -| `seatType` | [Optional\](../../models/components/SeatType.md) | :heavy_minus_sign: | Type of the seat. | | -| `ticketType` | [Optional\](../../models/components/TicketType.md) | :heavy_minus_sign: | Category of the passenger's ticket. | Economy/Coach | +| `seatType` | [Optional\](../../models/components/SeatType.md) | :heavy_minus_sign: | Preferred or assigned seat type for an air booking. | Window | +| `ticketType` | [Optional\](../../models/components/TicketType.md) | :heavy_minus_sign: | Category of the passenger's ticket for an air booking. | Economy/Coach | | `foodPreference` | *Optional\* | :heavy_minus_sign: | Additional text related to the passenger's meal. | Please provide vegetarian meal. | | `specialRequest` | *Optional\* | :heavy_minus_sign: | Additional text associated with air request. | Please provide blanket | | `airlinePreference` | List\<[AirlinePreference](../../models/components/AirlinePreference.md)> | :heavy_minus_sign: | Requester's preferred airlines. | | diff --git a/packages/java/docs/models/components/AirlinePreference.md b/packages/java/docs/models/components/AirlinePreference.md index d6546fbb2..002ae6e07 100644 --- a/packages/java/docs/models/components/AirlinePreference.md +++ b/packages/java/docs/models/components/AirlinePreference.md @@ -5,7 +5,7 @@ Representation of airlines based on preference ## Fields -| Field | Type | Required | Description | Example | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `airlineName` | *Optional\* | :heavy_minus_sign: | Name of preferred airline. | Emirates | -| `rewardsCode` | *Optional\* | :heavy_minus_sign: | Any rewards code applied. | REWARDS_ONE | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `airlineName` | *Optional\* | :heavy_minus_sign: | Name of preferred airline. | Emirates | +| `rewardsCode` | *Optional\* | :heavy_minus_sign: | Loyalty program number for the preferred airline. | SKYWARD12345 | \ 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 97cb03caf..0c042df18 100644 --- a/packages/java/docs/models/components/Attendee11.md +++ b/packages/java/docs/models/components/Attendee11.md @@ -5,50 +5,50 @@ 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/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 +| 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.
- LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
- 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/AttendeeAdd.md b/packages/java/docs/models/components/AttendeeAdd.md index 5760f75a2..ad9e872be 100644 --- a/packages/java/docs/models/components/AttendeeAdd.md +++ b/packages/java/docs/models/components/AttendeeAdd.md @@ -5,22 +5,22 @@ Model representing an attendee to be added to an event. The attendee's assigned ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [AttendeeAddEvent](../../models/components/AttendeeAddEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `contact` | [AttendeeAddContact](../../models/components/AttendeeAddContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `invitationList` | [Optional\](../../models/components/AttendeeAddInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `referenceId` | *Optional\* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `note` | *Optional\* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `administrator` | [Optional\](../../models/components/AttendeeAddAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `admissionItem` | [Optional\](../../models/components/AttendeeAddAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `visibility` | [Optional\](../../models/components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `answers` | List\<[AttendeeAnswer](../../models/components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `sendEmail` | *Optional\* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `status` | [Optional\](../../models/components/AttendeeAddStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee being added. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. | Accepted | -| `registrationPath` | [Optional\](../../models/components/RegistrationPath.md) | :heavy_minus_sign: | The attendee's registration path. Registration paths control the registration experience of the attendee. | | -| `registrationType` | [Optional\](../../models/components/AttendeeAddRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. Registration type controls pricing, agenda item availability, and registration experience. | | -| `guest` | *Optional\* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | -| `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. | | -| `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 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `event` | [AttendeeAddEvent](../../models/components/AttendeeAddEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | +| `contact` | [AttendeeAddContact](../../models/components/AttendeeAddContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | +| `invitationList` | [Optional\](../../models/components/AttendeeAddInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | +| `referenceId` | *Optional\* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | +| `note` | *Optional\* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | +| `administrator` | [Optional\](../../models/components/AttendeeAddAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | +| `admissionItem` | [Optional\](../../models/components/AttendeeAddAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | +| `visibility` | [Optional\](../../models/components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | +| `answers` | List\<[AttendeeAnswer](../../models/components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | +| `sendEmail` | *Optional\* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | +| `status` | [Optional\](../../models/components/AttendeeAddStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee being added. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. | Accepted | +| `registrationPath` | [Optional\](../../models/components/RegistrationPath.md) | :heavy_minus_sign: | The attendee's registration path. Registration paths control the registration experience of the attendee. | | +| `registrationType` | [Optional\](../../models/components/AttendeeAddRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. Registration type controls pricing, agenda item availability, and registration experience. | | +| `guest` | *Optional\* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | +| `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. | | +| `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.
- LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
- 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 | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeResponseMethod1.md b/packages/java/docs/models/components/AttendeeResponseMethod1.md index f76f82dfb..a3606bc1a 100644 --- a/packages/java/docs/models/components/AttendeeResponseMethod1.md +++ b/packages/java/docs/models/components/AttendeeResponseMethod1.md @@ -10,6 +10,7 @@ Represents the method by which an attendee registered for the event. - 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. +- LinkedIn Registration Form: The attendee was registered through LinkedIn integration. - 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. @@ -48,6 +49,7 @@ AttendeeResponseMethod1 value = AttendeeResponseMethod1.ADMINISTRATOR_RESPONDED; | `GROUP_LEADER_RESPONDED_WIDGET` | Group Leader Responded Widget | | `HISTORICAL_IMPORT` | Historical Import | | `IMPORTED` | Imported | +| `LINKED_IN_REGISTRATION_FORM` | LinkedIn Registration Form | | `NO_RESPONSE` | No Response | | `ON_SITE_RESPONDED` | On-site Responded | | `PLANNER_IMPORTED` | Planner-Imported | diff --git a/packages/java/docs/models/components/AttendeeUpdate.md b/packages/java/docs/models/components/AttendeeUpdate.md index ce5644c8d..97ede769d 100644 --- a/packages/java/docs/models/components/AttendeeUpdate.md +++ b/packages/java/docs/models/components/AttendeeUpdate.md @@ -5,19 +5,19 @@ Model representing an attendee to be updated in an event. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [AttendeeUpdateEvent](../../models/components/AttendeeUpdateEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `contact` | [AttendeeUpdateContact](../../models/components/AttendeeUpdateContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `invitationList` | [Optional\](../../models/components/AttendeeUpdateInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `referenceId` | *Optional\* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `note` | *Optional\* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `administrator` | [Optional\](../../models/components/AttendeeUpdateAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `admissionItem` | [Optional\](../../models/components/AttendeeUpdateAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `visibility` | [Optional\](../../models/components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `answers` | List\<[AttendeeAnswer](../../models/components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `sendEmail` | *Optional\* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `status` | [Optional\](../../models/components/AttendeeUpdateStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval | Accepted | -| `registrationType` | [Optional\](../../models/components/AttendeeUpdateRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. | | -| ~~`invitedBy`~~ | [Optional\](../../models/components/AttendeeInvitedBy.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

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

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

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

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeUpdateStatus.md b/packages/java/docs/models/components/AttendeeUpdateStatus.md index 7e480c4dd..f3dd84891 100644 --- a/packages/java/docs/models/components/AttendeeUpdateStatus.md +++ b/packages/java/docs/models/components/AttendeeUpdateStatus.md @@ -1,6 +1,6 @@ # AttendeeUpdateStatus -Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval +Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted ## Example Usage @@ -21,4 +21,5 @@ AttendeeUpdateStatus value = AttendeeUpdateStatus.NO_RESPONSE; | `VISITED` | Visited | | `DECLINED` | Declined | | `PENDING_APPROVAL` | Pending Approval | -| `DENIED_APPROVAL` | Denied Approval | \ No newline at end of file +| `DENIED_APPROVAL` | Denied Approval | +| `WAITLISTED` | Waitlisted | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attribute.md b/packages/java/docs/models/components/Attribute.md new file mode 100644 index 000000000..acfadad63 --- /dev/null +++ b/packages/java/docs/models/components/Attribute.md @@ -0,0 +1,21 @@ +# Attribute + +Attribute + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the attribute. | userName | +| `type` | [Optional\](../../models/components/AttributeDataType.md) | :heavy_minus_sign: | This is used to denote the type of the attribute. | string | +| `multiValued` | *Optional\* | :heavy_minus_sign: | Indicates if the attribute is multivalued. | true | +| `description` | *Optional\* | :heavy_minus_sign: | The description of the attribute. | This Attribute describes the property | +| `required` | *Optional\* | :heavy_minus_sign: | True indicates the attribute is required. | true | +| `caseExact` | *Optional\* | :heavy_minus_sign: | True indicates the attribute is case sensitive. | false | +| `mutability` | [Optional\](../../models/components/Mutability.md) | :heavy_minus_sign: | This is used to denote the mutability of the attribute. | writeOnly | +| `canonicalValues` | List\<*String*> | :heavy_minus_sign: | The list of canonical values of the attribute. | | +| `returned` | [Optional\](../../models/components/ReturnedType.md) | :heavy_minus_sign: | This is used to denote the returned type of the attribute. | always | +| `uniqueness` | [Optional\](../../models/components/UniquenessType.md) | :heavy_minus_sign: | This is used to denote the uniqueness type of the attribute. | global | +| `referenceTypes` | List\<[ReferenceType](../../models/components/ReferenceType.md)> | :heavy_minus_sign: | This is used to denote the reference type of the attribute. | | +| `subAttributes` | List\<[Attribute](../../models/components/Attribute.md)> | :heavy_minus_sign: | A collection of sub-attributes. Has the same structure as this attribute object. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttributeDataTypeJson.md b/packages/java/docs/models/components/AttributeDataType.md similarity index 71% rename from packages/java/docs/models/components/AttributeDataTypeJson.md rename to packages/java/docs/models/components/AttributeDataType.md index be3606a74..e3f9bbdfa 100644 --- a/packages/java/docs/models/components/AttributeDataTypeJson.md +++ b/packages/java/docs/models/components/AttributeDataType.md @@ -1,13 +1,13 @@ -# AttributeDataTypeJson +# AttributeDataType This is used to denote the type of the attribute. ## Example Usage ```java -import com.cvent.models.components.AttributeDataTypeJson; +import com.cvent.models.components.AttributeDataType; -AttributeDataTypeJson value = AttributeDataTypeJson.STRING; +AttributeDataType value = AttributeDataType.STRING; ``` diff --git a/packages/java/docs/models/components/AttributeJson.md b/packages/java/docs/models/components/AttributeJson.md deleted file mode 100644 index f8f4ead5e..000000000 --- a/packages/java/docs/models/components/AttributeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# AttributeJson - -Attribute - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the attribute. | userName | -| `type` | [Optional\](../../models/components/AttributeDataTypeJson.md) | :heavy_minus_sign: | This is used to denote the type of the attribute. | string | -| `multiValued` | *Optional\* | :heavy_minus_sign: | Indicates if the attribute is multivalued. | true | -| `description` | *Optional\* | :heavy_minus_sign: | The description of the attribute. | This Attribute describes the property | -| `required` | *Optional\* | :heavy_minus_sign: | True indicates the attribute is required. | true | -| `caseExact` | *Optional\* | :heavy_minus_sign: | True indicates the attribute is case sensitive. | false | -| `mutability` | [Optional\](../../models/components/MutabilityJson.md) | :heavy_minus_sign: | This is used to denote the mutability of the attribute. | writeOnly | -| `canonicalValues` | List\<*String*> | :heavy_minus_sign: | The list of canonical values of the attribute. | | -| `returned` | [Optional\](../../models/components/AttributeReturnedTypeJson.md) | :heavy_minus_sign: | This is used to denote the returned type of the attribute. | always | -| `uniqueness` | [Optional\](../../models/components/AttributeUniquenessTypeJson.md) | :heavy_minus_sign: | This is used to denote the uniqueness type of the attribute. | global | -| `referenceTypes` | List\<[AttributeReferenceTypeJson](../../models/components/AttributeReferenceTypeJson.md)> | :heavy_minus_sign: | This is used to denote the reference type of the attribute. | | -| `subAttributes` | List\<[AttributeJson](../../models/components/AttributeJson.md)> | :heavy_minus_sign: | A collection of sub-attributes. Has the same structure as this attribute object. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AuthenticationSchemaJson.md b/packages/java/docs/models/components/AuthenticationSchema.md similarity index 99% rename from packages/java/docs/models/components/AuthenticationSchemaJson.md rename to packages/java/docs/models/components/AuthenticationSchema.md index 2eea78ae7..6c2b7641a 100644 --- a/packages/java/docs/models/components/AuthenticationSchemaJson.md +++ b/packages/java/docs/models/components/AuthenticationSchema.md @@ -1,4 +1,4 @@ -# AuthenticationSchemaJson +# AuthenticationSchema Authentication Schema diff --git a/packages/java/docs/models/components/BounceDetailsJson.md b/packages/java/docs/models/components/BounceDetailsJson.md index b29f912a0..ec8556119 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/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `emailType` | [Optional\](../../models/components/EmailTypeJson.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/ChoiceJson2.md b/packages/java/docs/models/components/Choice2.md similarity index 72% rename from packages/java/docs/models/components/ChoiceJson2.md rename to packages/java/docs/models/components/Choice2.md index 59451f1e8..ae13c9227 100644 --- a/packages/java/docs/models/components/ChoiceJson2.md +++ b/packages/java/docs/models/components/Choice2.md @@ -1,11 +1,11 @@ -# ChoiceJson2 +# Choice2 -This is used to denote the choice of custom field. +This is used to denote the choice of question. ## 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 +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The ID of the question 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 question choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/java/docs/models/components/Choice2Input.md b/packages/java/docs/models/components/Choice2Input.md new file mode 100644 index 000000000..d57a63850 --- /dev/null +++ b/packages/java/docs/models/components/Choice2Input.md @@ -0,0 +1,10 @@ +# Choice2Input + +This is used to denote the choice of question. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `text` | *String* | :heavy_check_mark: | The text for the question 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 deleted file mode 100644 index 077f180a2..000000000 --- a/packages/java/docs/models/components/ChoiceJson2Input.md +++ /dev/null @@ -1,10 +0,0 @@ -# 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/ChoiceTranslationJson.md b/packages/java/docs/models/components/ChoiceTranslation.md similarity index 98% rename from packages/java/docs/models/components/ChoiceTranslationJson.md rename to packages/java/docs/models/components/ChoiceTranslation.md index a5c31f8c5..581617971 100644 --- a/packages/java/docs/models/components/ChoiceTranslationJson.md +++ b/packages/java/docs/models/components/ChoiceTranslation.md @@ -1,4 +1,4 @@ -# ChoiceTranslationJson +# ChoiceTranslation This is used to denote that the translation for the choice text of a custom field. diff --git a/packages/java/docs/models/components/Choices.md b/packages/java/docs/models/components/Choices1.md similarity index 92% rename from packages/java/docs/models/components/Choices.md rename to packages/java/docs/models/components/Choices1.md index d451172b9..aba93becb 100644 --- a/packages/java/docs/models/components/Choices.md +++ b/packages/java/docs/models/components/Choices1.md @@ -1,4 +1,4 @@ -# Choices +# Choices1 Choices for a custom field. @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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 +| `choices` | List\<[Choice2](../../models/components/Choice2.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `displayType` | [Optional\](../../models/components/DisplayType1.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/Three.md b/packages/java/docs/models/components/Choices1Input.md similarity index 92% rename from packages/java/docs/models/components/Three.md rename to packages/java/docs/models/components/Choices1Input.md index cd67c02fc..23b4947ba 100644 --- a/packages/java/docs/models/components/Three.md +++ b/packages/java/docs/models/components/Choices1Input.md @@ -1,4 +1,4 @@ -# Three +# Choices1Input Choices for a custom field. @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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 +| `choices` | List\<[Choice2Input](../../models/components/Choice2Input.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `displayType` | [Optional\](../../models/components/DisplayType1.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/CustomField3.md b/packages/java/docs/models/components/CustomField3.md index 75e17ed82..ed6559219 100644 --- a/packages/java/docs/models/components/CustomField3.md +++ b/packages/java/docs/models/components/CustomField3.md @@ -7,16 +7,16 @@ This is used to denote the custom field data. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `category` | [CustomFieldCategoryJson](../../models/components/CustomFieldCategoryJson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `category` | [CustomFieldCategory](../../models/components/CustomFieldCategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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` | [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 | +| `type` | [CustomFieldType2](../../models/components/CustomFieldType2.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 | +| `displayInDataTag` | [Optional\](../../models/components/DisplayInDataTag.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 | | `defaultTagText` | *Optional\* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `consentField` | *Optional\* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `active` | *Optional\* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `displayInEventCreationWizard` | *Optional\* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `pageVisibility` | [Optional\](../../models/components/PageVisibilityJson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | \ No newline at end of file +| `pageVisibility` | [Optional\](../../models/components/PageVisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldCategoryJson.md b/packages/java/docs/models/components/CustomFieldCategory.md similarity index 78% rename from packages/java/docs/models/components/CustomFieldCategoryJson.md rename to packages/java/docs/models/components/CustomFieldCategory.md index 432cab4ca..df80b1483 100644 --- a/packages/java/docs/models/components/CustomFieldCategoryJson.md +++ b/packages/java/docs/models/components/CustomFieldCategory.md @@ -1,13 +1,13 @@ -# CustomFieldCategoryJson +# CustomFieldCategory This is used to denote the category of a custom field. ## Example Usage ```java -import com.cvent.models.components.CustomFieldCategoryJson; +import com.cvent.models.components.CustomFieldCategory; -CustomFieldCategoryJson value = CustomFieldCategoryJson.CONTACT; +CustomFieldCategory value = CustomFieldCategory.CONTACT; ``` diff --git a/packages/java/docs/models/components/CustomFieldTypeJson.md b/packages/java/docs/models/components/CustomFieldType2.md similarity index 81% rename from packages/java/docs/models/components/CustomFieldTypeJson.md rename to packages/java/docs/models/components/CustomFieldType2.md index 32b43fb33..5a1201f15 100644 --- a/packages/java/docs/models/components/CustomFieldTypeJson.md +++ b/packages/java/docs/models/components/CustomFieldType2.md @@ -1,13 +1,13 @@ -# CustomFieldTypeJson +# CustomFieldType2 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; +import com.cvent.models.components.CustomFieldType2; -CustomFieldTypeJson value = CustomFieldTypeJson.OPEN_ENDED_TEXT_DATE_TIME; +CustomFieldType2 value = CustomFieldType2.OPEN_ENDED_TEXT_DATE_TIME; ``` diff --git a/packages/java/docs/models/components/CustomFieldsPaginatedResponse.md b/packages/java/docs/models/components/CustomFieldsPaginatedResponse.md index 8fc6cdfc5..239a61f8e 100644 --- a/packages/java/docs/models/components/CustomFieldsPaginatedResponse.md +++ b/packages/java/docs/models/components/CustomFieldsPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of custom fields metadata. This inc | 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\<[ExistingCustomField](../../models/components/ExistingCustomField.md)> | :heavy_check_mark: | Collection of custom fields. | \ No newline at end of file diff --git a/packages/java/docs/models/components/DateTimeDisplayFormatJson.md b/packages/java/docs/models/components/DateTimeDisplayFormat.md similarity index 81% rename from packages/java/docs/models/components/DateTimeDisplayFormatJson.md rename to packages/java/docs/models/components/DateTimeDisplayFormat.md index ea7e8b723..547ed030b 100644 --- a/packages/java/docs/models/components/DateTimeDisplayFormatJson.md +++ b/packages/java/docs/models/components/DateTimeDisplayFormat.md @@ -1,13 +1,13 @@ -# DateTimeDisplayFormatJson +# DateTimeDisplayFormat This is used to denote the display format type of date time type custom field. ## Example Usage ```java -import com.cvent.models.components.DateTimeDisplayFormatJson; +import com.cvent.models.components.DateTimeDisplayFormat; -DateTimeDisplayFormatJson value = DateTimeDisplayFormatJson.DATE_AND_TIME_MONTH_FIRST12_HOUR_TIME; +DateTimeDisplayFormat value = DateTimeDisplayFormat.DATE_AND_TIME_MONTH_FIRST12_HOUR_TIME; ``` diff --git a/packages/java/docs/models/components/DisplayInDataTagJson.md b/packages/java/docs/models/components/DisplayInDataTag.md similarity index 80% rename from packages/java/docs/models/components/DisplayInDataTagJson.md rename to packages/java/docs/models/components/DisplayInDataTag.md index 0039dbf8d..edebe3a66 100644 --- a/packages/java/docs/models/components/DisplayInDataTagJson.md +++ b/packages/java/docs/models/components/DisplayInDataTag.md @@ -1,13 +1,13 @@ -# DisplayInDataTagJson +# DisplayInDataTag 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. ## Example Usage ```java -import com.cvent.models.components.DisplayInDataTagJson; +import com.cvent.models.components.DisplayInDataTag; -DisplayInDataTagJson value = DisplayInDataTagJson.YES; +DisplayInDataTag value = DisplayInDataTag.YES; ``` diff --git a/packages/java/docs/models/components/ChoicesDisplayTypeJson.md b/packages/java/docs/models/components/DisplayType1.md similarity index 78% rename from packages/java/docs/models/components/ChoicesDisplayTypeJson.md rename to packages/java/docs/models/components/DisplayType1.md index 0ad9fc71a..1f40b5a0f 100644 --- a/packages/java/docs/models/components/ChoicesDisplayTypeJson.md +++ b/packages/java/docs/models/components/DisplayType1.md @@ -1,13 +1,13 @@ -# ChoicesDisplayTypeJson +# DisplayType1 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. ## Example Usage ```java -import com.cvent.models.components.ChoicesDisplayTypeJson; +import com.cvent.models.components.DisplayType1; -ChoicesDisplayTypeJson value = ChoicesDisplayTypeJson.DROPDOWN; +DisplayType1 value = DisplayType1.DROPDOWN; ``` diff --git a/packages/java/docs/models/components/Email.md b/packages/java/docs/models/components/Email.md new file mode 100644 index 000000000..739be1725 --- /dev/null +++ b/packages/java/docs/models/components/Email.md @@ -0,0 +1,12 @@ +# Email + +Email + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `type` | [Optional\](../../models/components/EmailType1.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/EmailHistoryJson.md b/packages/java/docs/models/components/EmailHistoryJson.md index 14eff88f6..cd71a27dc 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/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `type` | [Optional\](../../models/components/EmailTypeJson.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 8acc2bb89..85ce6b1c1 100644 --- a/packages/java/docs/models/components/EmailJson1.md +++ b/packages/java/docs/models/components/EmailJson1.md @@ -1,12 +1,10 @@ # EmailJson1 -Email +Details of an email to be send. ## Fields -| 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 +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID of the email to be sent. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailJson2.md b/packages/java/docs/models/components/EmailJson2.md deleted file mode 100644 index 0826c63bc..000000000 --- a/packages/java/docs/models/components/EmailJson2.md +++ /dev/null @@ -1,10 +0,0 @@ -# EmailJson2 - -Details of an email to be send. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID of the email to be sent. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailType1.md b/packages/java/docs/models/components/EmailType1.md new file mode 100644 index 000000000..c7b4ecbdd --- /dev/null +++ b/packages/java/docs/models/components/EmailType1.md @@ -0,0 +1,19 @@ +# EmailType1 + +The type of the email. + +## Example Usage + +```java +import com.cvent.models.components.EmailType1; + +EmailType1 value = EmailType1.WORK; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `WORK` | work | +| `HOME` | home | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailTypeJson.md b/packages/java/docs/models/components/EmailTypeJson.md index 167ca7f38..5d67ef61c 100644 --- a/packages/java/docs/models/components/EmailTypeJson.md +++ b/packages/java/docs/models/components/EmailTypeJson.md @@ -1,19 +1,79 @@ # EmailTypeJson -The type of the email. +Denotes the type of the email. ## Example Usage ```java import com.cvent.models.components.EmailTypeJson; -EmailTypeJson value = EmailTypeJson.WORK; +EmailTypeJson value = EmailTypeJson.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/EmailTypeJson1.md b/packages/java/docs/models/components/EmailTypeJson1.md deleted file mode 100644 index e9718e022..000000000 --- a/packages/java/docs/models/components/EmailTypeJson1.md +++ /dev/null @@ -1,79 +0,0 @@ -# EmailTypeJson1 - -Denotes the type of the email. - -## Example Usage - -```java -import com.cvent.models.components.EmailTypeJson1; - -EmailTypeJson1 value = EmailTypeJson1.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/ErrorResponse2.md b/packages/java/docs/models/components/ErrorResponse.md similarity index 99% rename from packages/java/docs/models/components/ErrorResponse2.md rename to packages/java/docs/models/components/ErrorResponse.md index 07414321b..b37e2969c 100644 --- a/packages/java/docs/models/components/ErrorResponse2.md +++ b/packages/java/docs/models/components/ErrorResponse.md @@ -1,4 +1,4 @@ -# ErrorResponse2 +# ErrorResponse Represents an error response with additional details of cascading error messages. diff --git a/packages/java/docs/models/components/ErrorScimTypeJson.md b/packages/java/docs/models/components/ErrorScimType.md similarity index 71% rename from packages/java/docs/models/components/ErrorScimTypeJson.md rename to packages/java/docs/models/components/ErrorScimType.md index 9ea92a718..29d886483 100644 --- a/packages/java/docs/models/components/ErrorScimTypeJson.md +++ b/packages/java/docs/models/components/ErrorScimType.md @@ -1,13 +1,13 @@ -# ErrorScimTypeJson +# ErrorScimType This is used to denote the scim type of the error. ## Example Usage ```java -import com.cvent.models.components.ErrorScimTypeJson; +import com.cvent.models.components.ErrorScimType; -ErrorScimTypeJson value = ErrorScimTypeJson.INVALID_FILTER; +ErrorScimType value = ErrorScimType.INVALID_FILTER; ``` diff --git a/packages/java/docs/models/components/ExistingCustomField.md b/packages/java/docs/models/components/ExistingCustomField.md index 57cec7100..999a21c88 100644 --- a/packages/java/docs/models/components/ExistingCustomField.md +++ b/packages/java/docs/models/components/ExistingCustomField.md @@ -11,18 +11,18 @@ This is used to denote an existing custom field. | `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 | -| `category` | [CustomFieldCategoryJson](../../models/components/CustomFieldCategoryJson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `category` | [CustomFieldCategory](../../models/components/CustomFieldCategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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` | [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 | +| `type` | [CustomFieldType2](../../models/components/CustomFieldType2.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. | -| `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 | +| `displayInDataTag` | [Optional\](../../models/components/DisplayInDataTag.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 | | `defaultTagText` | *Optional\* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `consentField` | *Optional\* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `active` | *Optional\* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `displayInEventCreationWizard` | *Optional\* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `pageVisibility` | [Optional\](../../models/components/PageVisibilityJson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | +| `pageVisibility` | [Optional\](../../models/components/PageVisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | | `id` | *Optional\* | :heavy_minus_sign: | The ID of the custom field. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingCustomFieldInput.md b/packages/java/docs/models/components/ExistingCustomFieldInput.md index d05451dc6..e4bccf352 100644 --- a/packages/java/docs/models/components/ExistingCustomFieldInput.md +++ b/packages/java/docs/models/components/ExistingCustomFieldInput.md @@ -7,17 +7,17 @@ This is used to denote an existing custom field. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `category` | [CustomFieldCategoryJson](../../models/components/CustomFieldCategoryJson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `category` | [CustomFieldCategory](../../models/components/CustomFieldCategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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` | [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 | +| `type` | [CustomFieldType2](../../models/components/CustomFieldType2.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 | +| `displayInDataTag` | [Optional\](../../models/components/DisplayInDataTag.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 | | `defaultTagText` | *Optional\* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `consentField` | *Optional\* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `active` | *Optional\* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `displayInEventCreationWizard` | *Optional\* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `pageVisibility` | [Optional\](../../models/components/PageVisibilityJson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | +| `pageVisibility` | [Optional\](../../models/components/PageVisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | | `id` | *Optional\* | :heavy_minus_sign: | The ID of the custom field. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/GroupJson.md b/packages/java/docs/models/components/Group.md similarity index 98% rename from packages/java/docs/models/components/GroupJson.md rename to packages/java/docs/models/components/Group.md index 1474281de..a7f10360a 100644 --- a/packages/java/docs/models/components/GroupJson.md +++ b/packages/java/docs/models/components/Group.md @@ -1,4 +1,4 @@ -# GroupJson +# Group Generic sample name. Not a real model used by any Cvent service. diff --git a/packages/java/docs/models/components/Group1.md b/packages/java/docs/models/components/Group1.md new file mode 100644 index 000000000..a595088f0 --- /dev/null +++ b/packages/java/docs/models/components/Group1.md @@ -0,0 +1,13 @@ +# Group1 + +Generic sample name. Not a real model used by any Cvent service. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas using this resource. | | +| `id` | *String* | :heavy_check_mark: | The unique ID of the SCIM group. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `displayName` | *Optional\* | :heavy_minus_sign: | The name of the user role. | Admin | +| `meta` | [Optional\](../../models/components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/GroupJson0.md b/packages/java/docs/models/components/GroupJson0.md deleted file mode 100644 index 287c3d1b8..000000000 --- a/packages/java/docs/models/components/GroupJson0.md +++ /dev/null @@ -1,13 +0,0 @@ -# GroupJson0 - -Generic sample name. Not a real model used by any Cvent service. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *String* | :heavy_check_mark: | The unique ID of the SCIM group. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `displayName` | *Optional\* | :heavy_minus_sign: | The name of the user role. | Admin | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ 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 0fdd8ebf9..ffb10db22 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/Address5.md) | :heavy_minus_sign: | Address of the hotel. | | +| `hotelAddress` | [Optional\](../../models/components/Address6.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/JourneyType.md b/packages/java/docs/models/components/JourneyType.md index 24495c227..0d73b2940 100644 --- a/packages/java/docs/models/components/JourneyType.md +++ b/packages/java/docs/models/components/JourneyType.md @@ -1,6 +1,6 @@ # JourneyType -Type of journey +Type of journey for an air booking. ## Example Usage diff --git a/packages/java/docs/models/components/LanguageJson.md b/packages/java/docs/models/components/Language1.md similarity index 95% rename from packages/java/docs/models/components/LanguageJson.md rename to packages/java/docs/models/components/Language1.md index 2c291921d..9fd0293fd 100644 --- a/packages/java/docs/models/components/LanguageJson.md +++ b/packages/java/docs/models/components/Language1.md @@ -1,13 +1,13 @@ -# LanguageJson +# Language1 IETF language code used to specify a target language for the translation. ## Example Usage ```java -import com.cvent.models.components.LanguageJson; +import com.cvent.models.components.Language1; -LanguageJson value = LanguageJson.AF_ZA; +Language1 value = Language1.AF_ZA; ``` diff --git a/packages/java/docs/models/components/MetaJson.md b/packages/java/docs/models/components/Meta.md similarity index 99% rename from packages/java/docs/models/components/MetaJson.md rename to packages/java/docs/models/components/Meta.md index 37ae1196b..a0f8b470b 100644 --- a/packages/java/docs/models/components/MetaJson.md +++ b/packages/java/docs/models/components/Meta.md @@ -1,4 +1,4 @@ -# MetaJson +# Meta Metadata of the resource. diff --git a/packages/java/docs/models/components/MutabilityJson.md b/packages/java/docs/models/components/Mutability.md similarity index 71% rename from packages/java/docs/models/components/MutabilityJson.md rename to packages/java/docs/models/components/Mutability.md index e76321600..65a3f72d5 100644 --- a/packages/java/docs/models/components/MutabilityJson.md +++ b/packages/java/docs/models/components/Mutability.md @@ -1,13 +1,13 @@ -# MutabilityJson +# Mutability This is used to denote the mutability of the attribute. ## Example Usage ```java -import com.cvent.models.components.MutabilityJson; +import com.cvent.models.components.Mutability; -MutabilityJson value = MutabilityJson.READ_ONLY; +Mutability value = Mutability.READ_ONLY; ``` diff --git a/packages/java/docs/models/components/NameJson.md b/packages/java/docs/models/components/Name.md similarity index 99% rename from packages/java/docs/models/components/NameJson.md rename to packages/java/docs/models/components/Name.md index 965215992..c5c8f629b 100644 --- a/packages/java/docs/models/components/NameJson.md +++ b/packages/java/docs/models/components/Name.md @@ -1,4 +1,4 @@ -# NameJson +# Name The name of the user. diff --git a/packages/java/docs/models/components/One.md b/packages/java/docs/models/components/One.md deleted file mode 100644 index 7080f1bbb..000000000 --- a/packages/java/docs/models/components/One.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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/OpenEndedDateTime.md b/packages/java/docs/models/components/OpenEndedDateTime.md deleted file mode 100644 index 7c227cbd2..000000000 --- a/packages/java/docs/models/components/OpenEndedDateTime.md +++ /dev/null @@ -1,14 +0,0 @@ -# OpenEndedDateTime - -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/OpenEndedDateTime1.md b/packages/java/docs/models/components/OpenEndedDateTime1.md new file mode 100644 index 000000000..ead43f7b9 --- /dev/null +++ b/packages/java/docs/models/components/OpenEndedDateTime1.md @@ -0,0 +1,14 @@ +# OpenEndedDateTime1 + +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/DateTimeDisplayFormat.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/PageVisibilityJson.md b/packages/java/docs/models/components/PageVisibility.md similarity index 98% rename from packages/java/docs/models/components/PageVisibilityJson.md rename to packages/java/docs/models/components/PageVisibility.md index 370ad3990..12e17804a 100644 --- a/packages/java/docs/models/components/PageVisibilityJson.md +++ b/packages/java/docs/models/components/PageVisibility.md @@ -1,4 +1,4 @@ -# PageVisibilityJson +# PageVisibility Visibility of the custom field on various pages/forms. diff --git a/packages/java/docs/models/components/PhoneNumber.md b/packages/java/docs/models/components/PhoneNumber.md new file mode 100644 index 000000000..fbaa10bb1 --- /dev/null +++ b/packages/java/docs/models/components/PhoneNumber.md @@ -0,0 +1,11 @@ +# PhoneNumber + +Phone Number + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `type` | [PhoneType](../../models/components/PhoneType.md) | :heavy_check_mark: | The type of the phone number. | work | +| `value` | *String* | :heavy_check_mark: | The phone number of the user. | +911234567890 | \ No newline at end of file diff --git a/packages/java/docs/models/components/PhoneNumberJson1.md b/packages/java/docs/models/components/PhoneNumberJson1.md deleted file mode 100644 index 2c4232383..000000000 --- a/packages/java/docs/models/components/PhoneNumberJson1.md +++ /dev/null @@ -1,11 +0,0 @@ -# PhoneNumberJson1 - -Phone Number - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `type` | [PhoneTypeJson](../../models/components/PhoneTypeJson.md) | :heavy_check_mark: | The type of the phone number. | work | -| `value` | *String* | :heavy_check_mark: | The phone number of the user. | +911234567890 | \ No newline at end of file diff --git a/packages/java/docs/models/components/PhoneTypeJson.md b/packages/java/docs/models/components/PhoneType.md similarity index 64% rename from packages/java/docs/models/components/PhoneTypeJson.md rename to packages/java/docs/models/components/PhoneType.md index a762c8b10..4a39d3a45 100644 --- a/packages/java/docs/models/components/PhoneTypeJson.md +++ b/packages/java/docs/models/components/PhoneType.md @@ -1,13 +1,13 @@ -# PhoneTypeJson +# PhoneType The type of the phone number. ## Example Usage ```java -import com.cvent.models.components.PhoneTypeJson; +import com.cvent.models.components.PhoneType; -PhoneTypeJson value = PhoneTypeJson.WORK; +PhoneType value = PhoneType.WORK; ``` diff --git a/packages/java/docs/models/components/AttributeReferenceTypeJson.md b/packages/java/docs/models/components/ReferenceType.md similarity index 63% rename from packages/java/docs/models/components/AttributeReferenceTypeJson.md rename to packages/java/docs/models/components/ReferenceType.md index 6e04964f2..b8aaf6518 100644 --- a/packages/java/docs/models/components/AttributeReferenceTypeJson.md +++ b/packages/java/docs/models/components/ReferenceType.md @@ -1,13 +1,13 @@ -# AttributeReferenceTypeJson +# ReferenceType This is used to denote the reference type of the attribute. ## Example Usage ```java -import com.cvent.models.components.AttributeReferenceTypeJson; +import com.cvent.models.components.ReferenceType; -AttributeReferenceTypeJson value = AttributeReferenceTypeJson.USER; +ReferenceType value = ReferenceType.USER; ``` diff --git a/packages/java/docs/models/components/ResourceType.md b/packages/java/docs/models/components/ResourceType.md index dab8c9d31..ce6377688 100644 --- a/packages/java/docs/models/components/ResourceType.md +++ b/packages/java/docs/models/components/ResourceType.md @@ -5,13 +5,13 @@ Resource Type ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the resource type. | User | -| `description` | *Optional\* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | -| `endpoint` | *Optional\* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | -| `schema` | *Optional\* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | -| `schemaExtensions` | List\<[ResourceTypeSchemaExtension](../../models/components/ResourceTypeSchemaExtension.md)> | :heavy_minus_sign: | The list of schema extensions for the resource type. | | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas using this resource. | | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the resource type. | User | +| `description` | *Optional\* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | +| `endpoint` | *Optional\* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | +| `schema` | *Optional\* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | +| `schemaExtensions` | List\<[SchemaExtension](../../models/components/SchemaExtension.md)> | :heavy_minus_sign: | The list of schema extensions for the resource type. | | +| `meta` | [Optional\](../../models/components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ResourceTypeJson.md b/packages/java/docs/models/components/ResourceTypeJson.md deleted file mode 100644 index f3dc6cecd..000000000 --- a/packages/java/docs/models/components/ResourceTypeJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResourceTypeJson - -Resource Type - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the resource type. | User | -| `description` | *Optional\* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | -| `endpoint` | *Optional\* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | -| `schema` | *Optional\* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | -| `schemaExtensions` | List\<[ResourceTypeJsonSchemaExtension](../../models/components/ResourceTypeJsonSchemaExtension.md)> | :heavy_minus_sign: | The list of schema extensions for the resource type. | | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ResourceTypeJsonSchemaExtension.md b/packages/java/docs/models/components/ResourceTypeJsonSchemaExtension.md deleted file mode 100644 index 9e8ee2f09..000000000 --- a/packages/java/docs/models/components/ResourceTypeJsonSchemaExtension.md +++ /dev/null @@ -1,9 +0,0 @@ -# ResourceTypeJsonSchemaExtension - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | -| `schema` | *Optional\* | :heavy_minus_sign: | The id of the schema extension | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `required` | *Optional\* | :heavy_minus_sign: | True indicates if the schema extension is required. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/ResourceTypes.md b/packages/java/docs/models/components/ResourceTypes.md index afb7ec268..8dd386031 100644 --- a/packages/java/docs/models/components/ResourceTypes.md +++ b/packages/java/docs/models/components/ResourceTypes.md @@ -5,10 +5,10 @@ Resource Types ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `resources` | List\<[ResourceTypeJson](../../models/components/ResourceTypeJson.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `resources` | List\<[ResourceType](../../models/components/ResourceType.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttributeReturnedTypeJson.md b/packages/java/docs/models/components/ReturnedType.md similarity index 62% rename from packages/java/docs/models/components/AttributeReturnedTypeJson.md rename to packages/java/docs/models/components/ReturnedType.md index e0d79c67c..1549e869a 100644 --- a/packages/java/docs/models/components/AttributeReturnedTypeJson.md +++ b/packages/java/docs/models/components/ReturnedType.md @@ -1,13 +1,13 @@ -# AttributeReturnedTypeJson +# ReturnedType This is used to denote the returned type of the attribute. ## Example Usage ```java -import com.cvent.models.components.AttributeReturnedTypeJson; +import com.cvent.models.components.ReturnedType; -AttributeReturnedTypeJson value = AttributeReturnedTypeJson.ALWAYS; +ReturnedType value = ReturnedType.ALWAYS; ``` diff --git a/packages/java/docs/models/components/ResourceTypeSchemaExtension.md b/packages/java/docs/models/components/SchemaExtension.md similarity index 97% rename from packages/java/docs/models/components/ResourceTypeSchemaExtension.md rename to packages/java/docs/models/components/SchemaExtension.md index 14e2bf323..8518b72bd 100644 --- a/packages/java/docs/models/components/ResourceTypeSchemaExtension.md +++ b/packages/java/docs/models/components/SchemaExtension.md @@ -1,4 +1,4 @@ -# ResourceTypeSchemaExtension +# SchemaExtension ## Fields diff --git a/packages/java/docs/models/components/SchemaJson.md b/packages/java/docs/models/components/SchemaJson.md deleted file mode 100644 index 7ffa0b477..000000000 --- a/packages/java/docs/models/components/SchemaJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# SchemaJson - -Schema - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the schema. | User | -| `description` | *Optional\* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | -| `attributes` | List\<[AttributeJson](../../models/components/AttributeJson.md)> | :heavy_minus_sign: | The collection of attributes for the schema. | | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/SchemeOAuth2ClientCredentials.md b/packages/java/docs/models/components/SchemeOAuth2ClientCredentials.md index da9026d84..c374cdd90 100644 --- a/packages/java/docs/models/components/SchemeOAuth2ClientCredentials.md +++ b/packages/java/docs/models/components/SchemeOAuth2ClientCredentials.md @@ -1,6 +1,6 @@ # SchemeOAuth2ClientCredentials -OAuth2 Client Credentials Flow +OAuth2 Client Credentials Flow. ## Fields diff --git a/packages/java/docs/models/components/SeatType.md b/packages/java/docs/models/components/SeatType.md index 5d20ac0e3..186e4ec11 100644 --- a/packages/java/docs/models/components/SeatType.md +++ b/packages/java/docs/models/components/SeatType.md @@ -1,6 +1,6 @@ # SeatType -Type of the seat. +Preferred or assigned seat type for an air booking. ## Example Usage diff --git a/packages/java/docs/models/components/SendEmailEventRequest.md b/packages/java/docs/models/components/SendEmailEventRequest.md index 459af253f..78831413a 100644 --- a/packages/java/docs/models/components/SendEmailEventRequest.md +++ b/packages/java/docs/models/components/SendEmailEventRequest.md @@ -8,6 +8,6 @@ Request object to send an email to one or more event attendees. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `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. | | +| `email` | [EmailJson1](../../models/components/EmailJson1.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 e330c433c..b4807a4ef 100644 --- a/packages/java/docs/models/components/SendEmailEventResponse.md +++ b/packages/java/docs/models/components/SendEmailEventResponse.md @@ -15,6 +15,6 @@ Response object containing a request ID and a list of all email responses sent t | `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` | [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. | | +| `email` | [EmailJson1](../../models/components/EmailJson1.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/ServiceProviderConfig.md b/packages/java/docs/models/components/ServiceProviderConfig.md index 9fbeb7f55..1a8e90e3c 100644 --- a/packages/java/docs/models/components/ServiceProviderConfig.md +++ b/packages/java/docs/models/components/ServiceProviderConfig.md @@ -15,5 +15,5 @@ Service Provider Configs | `changePassword` | [Optional\](../../models/components/ChangePassword.md) | :heavy_minus_sign: | Config details for change password operations. | | | `sort` | [Optional\](../../models/components/Sort.md) | :heavy_minus_sign: | Config details for sort operations. | | | `etag` | [Optional\](../../models/components/Etag.md) | :heavy_minus_sign: | Config details for change e-tag operations. | | -| `authenticationSchemes` | List\<[AuthenticationSchemaJson](../../models/components/AuthenticationSchemaJson.md)> | :heavy_minus_sign: | The collection of authentication schemas. | | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| `authenticationSchemes` | List\<[AuthenticationSchema](../../models/components/AuthenticationSchema.md)> | :heavy_minus_sign: | The collection of authentication schemas. | | +| `meta` | [Optional\](../../models/components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TaxType.md b/packages/java/docs/models/components/TaxType1.md similarity index 83% rename from packages/java/docs/models/components/TaxType.md rename to packages/java/docs/models/components/TaxType1.md index fe6119e4a..76b2b06b4 100644 --- a/packages/java/docs/models/components/TaxType.md +++ b/packages/java/docs/models/components/TaxType1.md @@ -1,13 +1,13 @@ -# TaxType +# TaxType1 Bid tax type. ## Example Usage ```java -import com.cvent.models.components.TaxType; +import com.cvent.models.components.TaxType1; -TaxType value = TaxType.CITY_TAX; +TaxType1 value = TaxType1.CITY_TAX; ``` diff --git a/packages/java/docs/models/components/ThreeInput.md b/packages/java/docs/models/components/ThreeInput.md deleted file mode 100644 index 1d6c4c082..000000000 --- a/packages/java/docs/models/components/ThreeInput.md +++ /dev/null @@ -1,11 +0,0 @@ -# ThreeInput - -Choices for a custom field. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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/TicketType.md b/packages/java/docs/models/components/TicketType.md index ed441b73d..2788e813c 100644 --- a/packages/java/docs/models/components/TicketType.md +++ b/packages/java/docs/models/components/TicketType.md @@ -1,6 +1,6 @@ # TicketType -Category of the passenger's ticket. +Category of the passenger's ticket for an air booking. ## Example Usage diff --git a/packages/java/docs/models/components/Translation.md b/packages/java/docs/models/components/Translation.md index 4ab18c651..36f0fbfe2 100644 --- a/packages/java/docs/models/components/Translation.md +++ b/packages/java/docs/models/components/Translation.md @@ -9,4 +9,4 @@ This is used to denote the translation of the custom field, including its name, | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | `nameTranslation` | *Optional\* | :heavy_minus_sign: | Translation of the custom field's name. | Departamento | | `helpTextTranslation` | *Optional\* | :heavy_minus_sign: | Translation for the help text of the custom field. | El departamento donde trabaja. | -| `choiceTranslations` | List\<[ChoiceTranslationJson](../../models/components/ChoiceTranslationJson.md)> | :heavy_minus_sign: | Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. | | \ No newline at end of file +| `choiceTranslations` | List\<[ChoiceTranslation](../../models/components/ChoiceTranslation.md)> | :heavy_minus_sign: | Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/Translation1.md b/packages/java/docs/models/components/Translation1.md index 77d07fa83..0ea9ee102 100644 --- a/packages/java/docs/models/components/Translation1.md +++ b/packages/java/docs/models/components/Translation1.md @@ -8,4 +8,4 @@ A custom-field translation for a particular language. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | | `translation` | [Translation](../../models/components/Translation.md) | :heavy_check_mark: | This is used to denote the translation of the custom field, including its name, help text, and choice texts. | | -| `language` | [LanguageJson](../../models/components/LanguageJson.md) | :heavy_check_mark: | IETF language code used to specify a target language for the translation. | es-ES | \ No newline at end of file +| `language` | [Language1](../../models/components/Language1.md) | :heavy_check_mark: | IETF language code used to specify a target language for the translation. | es-ES | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelAccount.md b/packages/java/docs/models/components/TravelAccount.md index a57cb0102..2b1f09541 100644 --- a/packages/java/docs/models/components/TravelAccount.md +++ b/packages/java/docs/models/components/TravelAccount.md @@ -15,4 +15,4 @@ Travel account details. | `name` | *Optional\* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | | `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\<[Address6](../../models/components/Address6.md)> | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file +| `addresses` | List\<[Address7](../../models/components/Address7.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/TravelBidTaxAndFee.md b/packages/java/docs/models/components/TravelBidTaxAndFee.md index c7d9a636a..7249a9e3a 100644 --- a/packages/java/docs/models/components/TravelBidTaxAndFee.md +++ b/packages/java/docs/models/components/TravelBidTaxAndFee.md @@ -7,7 +7,7 @@ A tax or fee associated with a travel bid. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | [Optional\](../../models/components/TaxType.md) | :heavy_minus_sign: | Bid tax type. | city_tax | +| `code` | [Optional\](../../models/components/TaxType1.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. | | diff --git a/packages/java/docs/models/components/Two.md b/packages/java/docs/models/components/Two.md deleted file mode 100644 index 5373fe4cf..000000000 --- a/packages/java/docs/models/components/Two.md +++ /dev/null @@ -1,11 +0,0 @@ -# Two - -This is used to denote the open ended comment box type of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `minimum` | *Optional\* | :heavy_minus_sign: | Minimum number/characters allowed. | 2 | -| `maximum` | *Optional\* | :heavy_minus_sign: | Maximum number/characters allowed. | 8 | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttributeUniquenessTypeJson.md b/packages/java/docs/models/components/UniquenessType.md similarity index 57% rename from packages/java/docs/models/components/AttributeUniquenessTypeJson.md rename to packages/java/docs/models/components/UniquenessType.md index 5e7e92fc2..e85af532e 100644 --- a/packages/java/docs/models/components/AttributeUniquenessTypeJson.md +++ b/packages/java/docs/models/components/UniquenessType.md @@ -1,13 +1,13 @@ -# AttributeUniquenessTypeJson +# UniquenessType This is used to denote the uniqueness type of the attribute. ## Example Usage ```java -import com.cvent.models.components.AttributeUniquenessTypeJson; +import com.cvent.models.components.UniquenessType; -AttributeUniquenessTypeJson value = AttributeUniquenessTypeJson.NONE; +UniquenessType value = UniquenessType.NONE; ``` diff --git a/packages/java/docs/models/components/User.md b/packages/java/docs/models/components/User.md index a8726f313..93db08441 100644 --- a/packages/java/docs/models/components/User.md +++ b/packages/java/docs/models/components/User.md @@ -9,16 +9,16 @@ Generic sample User. Not a real model used by any Cvent service. | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas using this resource. | | | `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `name` | [NameJson](../../models/components/NameJson.md) | :heavy_check_mark: | The name of the user. | | +| `name` | [Name](../../models/components/Name.md) | :heavy_check_mark: | The name of the user. | | | `userName` | *String* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | | `active` | *Optional\* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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. | | +| `emails` | List\<[Email](../../models/components/Email.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\<[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 | +| `phoneNumbers` | List\<[PhoneNumber](../../models/components/PhoneNumber.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\<[Address5](../../models/components/Address5.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` | [UserType](../../models/components/UserType.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 | -| `groups` | List\<[GroupJson](../../models/components/GroupJson.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtensionJson](../../models/components/UserEnterpriseExtensionJson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| `groups` | List\<[Group](../../models/components/Group.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | +| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtension](../../models/components/UserEnterpriseExtension.md) | :heavy_check_mark: | Enterprise extension model for the user. | | +| `meta` | [Optional\](../../models/components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/UserEnterpriseExtensionJson.md b/packages/java/docs/models/components/UserEnterpriseExtension.md similarity index 99% rename from packages/java/docs/models/components/UserEnterpriseExtensionJson.md rename to packages/java/docs/models/components/UserEnterpriseExtension.md index c43a6dba7..f6ffb58e0 100644 --- a/packages/java/docs/models/components/UserEnterpriseExtensionJson.md +++ b/packages/java/docs/models/components/UserEnterpriseExtension.md @@ -1,4 +1,4 @@ -# UserEnterpriseExtensionJson +# UserEnterpriseExtension Enterprise extension model for the user. diff --git a/packages/java/docs/models/components/UserGroups.md b/packages/java/docs/models/components/UserGroups.md index 9bf64eea3..90ab942fe 100644 --- a/packages/java/docs/models/components/UserGroups.md +++ b/packages/java/docs/models/components/UserGroups.md @@ -5,10 +5,10 @@ Groups ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `resources` | List\<[GroupJson0](../../models/components/GroupJson0.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `resources` | List\<[Group1](../../models/components/Group1.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/UserInput.md b/packages/java/docs/models/components/UserInput.md index 3c52ada99..0262f9cc8 100644 --- a/packages/java/docs/models/components/UserInput.md +++ b/packages/java/docs/models/components/UserInput.md @@ -7,15 +7,15 @@ Generic sample User. Not a real model used by any Cvent service. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | [NameJson](../../models/components/NameJson.md) | :heavy_check_mark: | The name of the user. | | +| `name` | [Name](../../models/components/Name.md) | :heavy_check_mark: | The name of the user. | | | `userName` | *String* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | | `active` | *Optional\* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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. | | +| `emails` | List\<[Email](../../models/components/Email.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\<[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 | +| `phoneNumbers` | List\<[PhoneNumber](../../models/components/PhoneNumber.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\<[Address5](../../models/components/Address5.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` | [UserType](../../models/components/UserType.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 | -| `groups` | List\<[GroupJson](../../models/components/GroupJson.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtensionJson](../../models/components/UserEnterpriseExtensionJson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | \ No newline at end of file +| `groups` | List\<[Group](../../models/components/Group.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | +| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtension](../../models/components/UserEnterpriseExtension.md) | :heavy_check_mark: | Enterprise extension model for the user. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/UserJson.md b/packages/java/docs/models/components/UserJson.md deleted file mode 100644 index 1fbc89a1d..000000000 --- a/packages/java/docs/models/components/UserJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# UserJson - -Generic sample User. Not a real model used by any Cvent service. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `name` | [NameJson](../../models/components/NameJson.md) | :heavy_check_mark: | The name of the user. | | -| `userName` | *String* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | -| `active` | *Optional\* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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\<[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 | -| `groups` | List\<[GroupJson](../../models/components/GroupJson.md)> | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [UserEnterpriseExtensionJson](../../models/components/UserEnterpriseExtensionJson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/UserTypeJson.md b/packages/java/docs/models/components/UserType.md similarity index 65% rename from packages/java/docs/models/components/UserTypeJson.md rename to packages/java/docs/models/components/UserType.md index 0db222a06..765d5d1c3 100644 --- a/packages/java/docs/models/components/UserTypeJson.md +++ b/packages/java/docs/models/components/UserType.md @@ -1,13 +1,13 @@ -# UserTypeJson +# UserType The type of the user. ## Example Usage ```java -import com.cvent.models.components.UserTypeJson; +import com.cvent.models.components.UserType; -UserTypeJson value = UserTypeJson.PLANNER_ACCOUNT_USER; +UserType value = UserType.PLANNER_ACCOUNT_USER; ``` diff --git a/packages/java/docs/models/components/Users.md b/packages/java/docs/models/components/Users.md index 0a9b24a97..4f69dc48c 100644 --- a/packages/java/docs/models/components/Users.md +++ b/packages/java/docs/models/components/Users.md @@ -5,10 +5,10 @@ A page in a paginated list of SCIM users. This would return the list of users. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of users per page. | 50 | -| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of users. | 5 | -| `resources` | List\<[UserJson](../../models/components/UserJson.md)> | :heavy_minus_sign: | The collection of user resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of users per page. | 50 | +| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of users. | 5 | +| `resources` | List\<[User](../../models/components/User.md)> | :heavy_minus_sign: | The collection of user resources. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/UsersSchema.md b/packages/java/docs/models/components/UsersSchema.md index af5051630..988722ab9 100644 --- a/packages/java/docs/models/components/UsersSchema.md +++ b/packages/java/docs/models/components/UsersSchema.md @@ -5,10 +5,10 @@ Schema ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the schema. | User | -| `description` | *Optional\* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | -| `attributes` | List\<[AttributeJson](../../models/components/AttributeJson.md)> | :heavy_minus_sign: | The collection of attributes for the schema. | | -| `meta` | [Optional\](../../models/components/MetaJson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the schema. | User | +| `description` | *Optional\* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | +| `attributes` | List\<[Attribute](../../models/components/Attribute.md)> | :heavy_minus_sign: | The collection of attributes for the schema. | | +| `meta` | [Optional\](../../models/components/Meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/UsersSchemas.md b/packages/java/docs/models/components/UsersSchemas.md index 80f52a602..780340153 100644 --- a/packages/java/docs/models/components/UsersSchemas.md +++ b/packages/java/docs/models/components/UsersSchemas.md @@ -5,10 +5,10 @@ Schemas ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `resources` | List\<[SchemaJson](../../models/components/SchemaJson.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *Optional\* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *Optional\* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `resources` | List\<[UsersSchema](../../models/components/UsersSchema.md)> | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroOneOf2.md b/packages/java/docs/models/components/ZeroOneOf.md similarity index 98% rename from packages/java/docs/models/components/ZeroOneOf2.md rename to packages/java/docs/models/components/ZeroOneOf.md index 9a1de2666..ad24b2c9f 100644 --- a/packages/java/docs/models/components/ZeroOneOf2.md +++ b/packages/java/docs/models/components/ZeroOneOf.md @@ -1,4 +1,4 @@ -# ZeroOneOf2 +# ZeroOneOf AttendeeAddResponse diff --git a/packages/java/docs/models/components/ZeroOneOf1.md b/packages/java/docs/models/components/ZeroOneOf1.md deleted file mode 100644 index 88dc7fb95..000000000 --- a/packages/java/docs/models/components/ZeroOneOf1.md +++ /dev/null @@ -1,12 +0,0 @@ -# ZeroOneOf1 - -This is used to denote the open ended one line type of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `answerFormat` | *Optional\* | :heavy_minus_sign: | The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI. | General | -| `minimum` | *Optional\* | :heavy_minus_sign: | Minimum number/characters allowed. | 2 | -| `maximum` | *Optional\* | :heavy_minus_sign: | Maximum number/characters allowed. | 8 | \ No newline at end of file diff --git a/packages/java/docs/models/errors/BadRequestException.md b/packages/java/docs/models/errors/BadRequestException.md index f0136f4b7..66bfdc6f0 100644 --- a/packages/java/docs/models/errors/BadRequestException.md +++ b/packages/java/docs/models/errors/BadRequestException.md @@ -7,6 +7,6 @@ A bad token response. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `errorDescription` | *Optional\* | :heavy_minus_sign: | May be returned with additional information regarding the error. | | +| `errorDescription` | *Optional\* | :heavy_minus_sign: | Additional error information, when available. | | | `error` | [Optional\](../../models/errors/Error.md) | :heavy_minus_sign: | **invalid_request**

The request is missing a required parameter, includes an unsupported parameter value (other than unsupported_grant_type), or is otherwise malformed. For example, grant_type is refresh_token but refresh_token is not included.

**invalid_client**

Client authentication failed. For example, when the client includes client_id and client_secret in the authorization header, but there's no such client with that client_id and client_secret.

**invalid_grant**

Refresh token has been revoked.

Authorization code has been consumed already or does not exist.

**unauthorized_client**

Client is not allowed for code grant flow or for refreshing tokens.

**unsupported_grant_type**

Returned if grant_type is anything other than authorization_code or refresh_token.
| invalid_request | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/packages/java/docs/models/errors/ErrorResponse.md b/packages/java/docs/models/errors/ErrorResponse.md new file mode 100644 index 000000000..b37e2969c --- /dev/null +++ b/packages/java/docs/models/errors/ErrorResponse.md @@ -0,0 +1,13 @@ +# ErrorResponse + +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 diff --git a/packages/java/docs/models/errors/ErrorResponse2.md b/packages/java/docs/models/errors/ErrorResponse2.md index 07414321b..8470dd8b7 100644 --- a/packages/java/docs/models/errors/ErrorResponse2.md +++ b/packages/java/docs/models/errors/ErrorResponse2.md @@ -1,13 +1,13 @@ # ErrorResponse2 -Represents an error response with additional details of cascading error messages. +The error response. ## 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 | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `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/ErrorScimType.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/ErrorResponseJson12.md b/packages/java/docs/models/errors/ErrorResponseJson12.md deleted file mode 100644 index fa62292e4..000000000 --- a/packages/java/docs/models/errors/ErrorResponseJson12.md +++ /dev/null @@ -1,13 +0,0 @@ -# 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/operations/GrantType.md b/packages/java/docs/models/operations/GrantType.md index 1bf09c6c8..159935f0c 100644 --- a/packages/java/docs/models/operations/GrantType.md +++ b/packages/java/docs/models/operations/GrantType.md @@ -1,6 +1,6 @@ # GrantType -The grant type. +Controls the OAuth2 grant flow used to obtain tokens. ## Example Usage diff --git a/packages/java/docs/models/operations/ListCustomFieldsRequest.md b/packages/java/docs/models/operations/ListCustomFieldsRequest.md index 456d1ea5c..33b5a7ff5 100644 --- a/packages/java/docs/models/operations/ListCustomFieldsRequest.md +++ b/packages/java/docs/models/operations/ListCustomFieldsRequest.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` | *String* | :heavy_check_mark: | 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)
* category (eq) *(Required, one category can be provided at a time)*
* lastModified (eq\|ne\|lt\|le\|gt\|ge)
* code (eq\|ne) *(Case insensitive)*
| category eq 'Event' and lastModified gt '2021-03-19T11:30:37.909Z' and code eq 'FAVORITE_COLOR_CODE' | \ 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` | *String* | :heavy_check_mark: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------\|-------------------------------------\|-------\|
\| id \| `eq`, `ne` \| \|
\| category \| `eq` \| Required, one category can be provided at a time \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| code \| `eq`, `ne` \| Case insensitive \|

The following logical operators are supported for combining filters:
* and
* or
| category eq 'Event' and lastModified gt '2021-03-19T11:30:37.909Z' and code eq 'FAVORITE_COLOR_CODE' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListUsersRequest.md b/packages/java/docs/models/operations/ListUsersRequest.md index 0fbec63d4..30f922c13 100644 --- a/packages/java/docs/models/operations/ListUsersRequest.md +++ b/packages/java/docs/models/operations/ListUsersRequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | | -| `count` | *Optional\* | :heavy_minus_sign: | The count of records to be retrieved in a response. | | -| `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'.

The following comparison types 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:
* userName (eq\|ne)
* groups.value (eq\|ne)
* active (eq\|ne)
* id (eq\|nq)
* emails.value (eq\|ne)
* meta.lastModified (eq\|ne\|lt\|le\|gt\|ge)
* meta.created (eq\|ne\|lt\|le\|gt\|ge)

The following operators are available:
* and
* or
| userName eq 'john@example.com' or userName eq 'Matt@example.com' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `startIndex` | *Optional\* | :heavy_minus_sign: | Starting index of the response. | | +| `count` | *Optional\* | :heavy_minus_sign: | The count of records to be retrieved in a response. | | +| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------------------\|------------------------------------\|
\| userName \| `eq`, `ne` \|
\| groups.value \| `eq`, `ne` \|
\| active \| `eq`, `ne` \|
\| id \| `eq`, `ne` \|
\| emails.value \| `eq`, `ne` \|
\| meta.lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| meta.created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| userName eq 'john@example.com' or userName eq 'Matt@example.com' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/Oauth2AuthorizeRequest.md b/packages/java/docs/models/operations/Oauth2AuthorizeRequest.md index 3889e3305..89be9f3ab 100644 --- a/packages/java/docs/models/operations/Oauth2AuthorizeRequest.md +++ b/packages/java/docs/models/operations/Oauth2AuthorizeRequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `responseType` | [ResponseType](../../models/operations/ResponseType.md) | :heavy_check_mark: | The response type must be code. Indicates the client wants an authorization code (authorization code grant flow).

**Note:** *implicit flow* or the *token* value is not supported at this time.
| code | -| `clientId` | *String* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| ad398u21ijw3s9w3939 | -| `redirectUri` | *String* | :heavy_check_mark: | The URL to which the authentication server redirects the browser after authorization has been granted by the user.

A redirect URI must:

* Be an absolute URI.
* Be pre-registered with a client.
* **NOT** include a fragment component.
* Wildcards are **NOT** supported

Requires HTTPS over HTTP except for http://localhost for testing purposes only.

**Note:** App callback URLs such as *com.myclientapp://myclient/redirect* are also supported.
| https://example.com/redirect | -| `state` | *Optional\* | :heavy_minus_sign: | An opaque value the client application adds to the initial request. The authorization server
includes this value when redirecting back to the client.

This value must be used by the client to prevent CSRF attacks.

**Optional** but strongly recommended.
| STATE | -| `scope` | *Optional\* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Scopes must be separated by spaces.
Any scope used must be pre-associated with the client or it will be ignored at runtime.

**Note:** If the client doesn't request any scopes, the authentication server uses all
scopes associated with the client.
| event/events:read event/attendees:read | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `responseType` | [ResponseType](../../models/operations/ResponseType.md) | :heavy_check_mark: | The response type must be code. Indicates the client wants an authorization code (authorization code grant flow).

**Note:** *implicit flow* or the *token* value is not supported at this time.
| code | +| `clientId` | *String* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| ad398u21ijw3s9w3939 | +| `redirectUri` | *String* | :heavy_check_mark: | The URL to which the authorization server redirects the browser after authorization has been granted by the user.

A redirect URI must:

* Be an absolute URI.
* Be pre-registered with a client.
* **NOT** include a fragment component.
* Wildcards are **NOT** supported

Requires HTTPS over HTTP except for http://localhost for testing purposes only.

**Note:** App callback URLs such as *com.myclientapp://myclient/redirect* are also supported.
| https://example.com/redirect | +| `state` | *Optional\* | :heavy_minus_sign: | An opaque value the client application adds to the initial request. The authorization server
includes this value when redirecting back to the client.

This value must be used by the client to prevent CSRF attacks.

**Optional** but strongly recommended.
| abc123xyz | +| `scope` | *Optional\* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Scopes must be separated by spaces.
Any scope used must be pre-associated with the client or it will be ignored at runtime.

**Note:** If the client doesn't request any scopes, the authorization server uses all
scopes associated with the client.
| event/events:read event/attendees:read | \ No newline at end of file diff --git a/packages/java/docs/models/operations/Oauth2TokenRequest.md b/packages/java/docs/models/operations/Oauth2TokenRequest.md index 9752c8348..3dbb7ee9d 100644 --- a/packages/java/docs/models/operations/Oauth2TokenRequest.md +++ b/packages/java/docs/models/operations/Oauth2TokenRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `grantType` | [GrantType](../../models/operations/GrantType.md) | :heavy_check_mark: | The grant type. | client_credentials | -| `clientId` | *String* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| djc98u3jiedmi283eu928 | -| `scope` | *Optional\* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime.
If the client doesn't request any scopes, the authentication server uses all scopes associated with the client.

**Optional** - Only used if the grant_type is client_credentials.
| event/events:read event/attendees:read | -| `redirectUri` | *Optional\* | :heavy_minus_sign: | Must be the same *redirect_uri* that was used to get *authorization_code* in */oauth2/authorize*.

**Required only if grant_type is authorization_code.**
| https://example.com/redirect | -| `refreshToken` | *Optional\* | :heavy_minus_sign: | The refresh token.

**Note:** The token endpoint returns *refresh_token* only when the grant_type is *authorization_code*.
| dn43ud8uj32nk2je | -| `code` | *Optional\* | :heavy_minus_sign: | The code that is returned from a successful */oauth2/authorize*.

**Required if grant_type is authorization_code.**
| AUTHORIZATION_CODE | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `grantType` | [GrantType](../../models/operations/GrantType.md) | :heavy_check_mark: | Controls the OAuth2 grant flow used to obtain tokens. | client_credentials | +| `clientId` | *String* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| djc98u3jiedmi283eu928 | +| `scope` | *Optional\* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime.
If the client doesn't request any scopes, the authorization server uses all scopes associated with the client.

**Optional** - Only used if the grant_type is client_credentials.
| event/events:read event/attendees:read | +| `redirectUri` | *Optional\* | :heavy_minus_sign: | Must be the same *redirect_uri* that was used to get *authorization_code* in */oauth2/authorize*.

**Required only if grant_type is authorization_code.**
| https://example.com/redirect | +| `refreshToken` | *Optional\* | :heavy_minus_sign: | The refresh token.

**Note:** The token endpoint returns *refresh_token* only when the grant_type is *authorization_code*.
| dn43ud8uj32nk2je | +| `code` | *Optional\* | :heavy_minus_sign: | The code that is returned from a successful */oauth2/authorize*.

**Required if grant_type is authorization_code.**
| AUTHORIZATION_CODE | \ No newline at end of file diff --git a/packages/java/docs/models/operations/Oauth2TokenResponseBody.md b/packages/java/docs/models/operations/Oauth2TokenResponseBody.md index baea52171..e479a427c 100644 --- a/packages/java/docs/models/operations/Oauth2TokenResponseBody.md +++ b/packages/java/docs/models/operations/Oauth2TokenResponseBody.md @@ -9,5 +9,5 @@ A successful response returning an access token and a possible refresh token. | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `accessToken` | *String* | :heavy_check_mark: | The access token contains scopes and groups and is used to grant access to authorized resources. | eyJz9sdfsdfsdfsd | | `refreshToken` | *Optional\* | :heavy_minus_sign: | The refresh token contains the information necessary to obtain a new access token. | dn43ud8uj32nk2je | -| `tokenType` | *String* | :heavy_check_mark: | The token type. | Bearer | +| `tokenType` | *String* | :heavy_check_mark: | The OAuth2 token type. Always `Bearer`. | Bearer | | `expiresIn` | *Optional\* | :heavy_minus_sign: | The lifetime in seconds of the access token. | 3600 | \ 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 1e4841029..57a3e3a01 100644 --- a/packages/java/docs/sdks/appointments/README.md +++ b/packages/java/docs/sdks/appointments/README.md @@ -620,7 +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.errors.ErrorResponse; import com.cvent.models.operations.CreateAppointmentRequest; import com.cvent.models.operations.CreateAppointmentResponse; import java.lang.Exception; @@ -629,7 +629,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -690,7 +690,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -710,7 +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.errors.ErrorResponse; import com.cvent.models.operations.UpdateAppointmentRequest; import com.cvent.models.operations.UpdateAppointmentResponse; import java.lang.Exception; @@ -719,7 +719,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -779,7 +779,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/audiencesegments/README.md b/packages/java/docs/sdks/audiencesegments/README.md index 9b8db0652..74cae1fe5 100644 --- a/packages/java/docs/sdks/audiencesegments/README.md +++ b/packages/java/docs/sdks/audiencesegments/README.md @@ -257,7 +257,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -304,7 +304,7 @@ public class Application { | Error Type | Status Code | Content Type | | ----------------------------------- | ----------------------------------- | ----------------------------------- | | models/errors/SegmentsErrorResponse | 400 | application/json | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -551,7 +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.errors.ErrorResponse; import com.cvent.models.operations.UpdateAudienceSegmentRequest; import com.cvent.models.operations.UpdateAudienceSegmentResponse; import java.lang.Exception; @@ -559,7 +559,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -608,7 +608,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -779,7 +779,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -821,7 +821,7 @@ public class Application { | Error Type | Status Code | Content Type | | ----------------------------------- | ----------------------------------- | ----------------------------------- | | models/errors/SegmentsErrorResponse | 400 | application/json | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/authentication/README.md b/packages/java/docs/sdks/authentication/README.md index 7974ce76c..60728f3f3 100644 --- a/packages/java/docs/sdks/authentication/README.md +++ b/packages/java/docs/sdks/authentication/README.md @@ -2,20 +2,17 @@ ## Overview -Available endpoints used to initiate an authentication request to obtain and validate an access token. +Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. ### Available Operations -* [oauth2Authorize](#oauth2authorize) - Authorize -* [oauth2Token](#oauth2token) - Token +* [oauth2Authorize](#oauth2authorize) - Get Authorization Code +* [oauth2Token](#oauth2token) - Get Token * [validateToken](#validatetoken) - Validate Token ## oauth2Authorize -The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser. - -The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint -except for http://localhost for testing purposes only. +Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via [Get Token](#operation/oauth2Token) to obtain an access token. ### Example Usage @@ -50,7 +47,7 @@ public class Application { .responseType(ResponseType.CODE) .clientId("ad398u21ijw3s9w3939") .redirectUri("https://example.com/redirect") - .state("STATE") + .state("abc123xyz") .scope("event/events:read event/attendees:read") .build(); @@ -81,7 +78,7 @@ public class Application { ## oauth2Token -Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. +Obtains an access token and, optionally, a refresh token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. diff --git a/packages/java/docs/sdks/bulk/README.md b/packages/java/docs/sdks/bulk/README.md index c4be76c50..8ac3749ec 100644 --- a/packages/java/docs/sdks/bulk/README.md +++ b/packages/java/docs/sdks/bulk/README.md @@ -48,7 +48,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.errors.ErrorResponse; import com.cvent.models.operations.CreateBulkJobResponse; import java.lang.Exception; import java.util.List; @@ -56,7 +56,7 @@ import java.util.Map; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -128,7 +128,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse | 409 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -283,7 +283,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.errors.ErrorResponse; import com.cvent.models.operations.UploadBulkJobDataRequest; import com.cvent.models.operations.UploadBulkJobDataResponse; import java.lang.Exception; @@ -292,7 +292,7 @@ import java.util.Map; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -358,7 +358,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse | 409 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -449,7 +449,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.errors.ErrorResponse; import com.cvent.models.operations.RunBulkJobRequest; import com.cvent.models.operations.RunBulkJobResponse; import java.lang.Exception; @@ -457,7 +457,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -499,6 +499,6 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse | 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/customfields/README.md b/packages/java/docs/sdks/customfields/README.md index be3a91b35..538a4e76f 100644 --- a/packages/java/docs/sdks/customfields/README.md +++ b/packages/java/docs/sdks/customfields/README.md @@ -123,10 +123,10 @@ public class Application { .build(); CustomField3 req = CustomField3.builder() - .category(CustomFieldCategoryJson.CONTACT) + .category(CustomFieldCategory.CONTACT) .name("What is a your favorite color?") .code("FAVORITE_COLOR_CODE") - .type(CustomFieldTypeJson.OPEN_ENDED_TEXT_ONE_LINE) + .type(CustomFieldType2.OPEN_ENDED_TEXT_ONE_LINE) .details(CustomField3Details.of(OpenEndedOneLine.builder() .answerFormat("General") .minimum(2L) @@ -203,13 +203,13 @@ public class Application { UpdateCustomFieldRequest req = UpdateCustomFieldRequest.builder() .customFieldId("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .existingCustomField(ExistingCustomFieldInput.builder() - .category(CustomFieldCategoryJson.CONTACT) + .category(CustomFieldCategory.CONTACT) .name("What is a your favorite color?") .code("FAVORITE_COLOR_CODE") - .type(CustomFieldTypeJson.OPEN_ENDED_TEXT_ONE_LINE) - .details(ExistingCustomFieldDetailsInput.of(ThreeInput.builder() + .type(CustomFieldType2.OPEN_ENDED_TEXT_ONE_LINE) + .details(ExistingCustomFieldDetailsInput.of(Choices1Input.builder() .choices(List.of( - ChoiceJson2Input.builder() + Choice2Input.builder() .text("What is your current designation?") .build())) .build())) @@ -429,11 +429,11 @@ public class Application { .nameTranslation("Departamento") .helpTextTranslation("El departamento donde trabaja.") .choiceTranslations(List.of( - ChoiceTranslationJson.builder() + ChoiceTranslation.builder() .translatedText("Departamento de Tecnología") .build())) .build()) - .language(LanguageJson.ESES) + .language(Language1.ESES) .build()) .build(); @@ -508,11 +508,11 @@ public class Application { .nameTranslation("Departamento") .helpTextTranslation("El departamento donde trabaja.") .choiceTranslations(List.of( - ChoiceTranslationJson.builder() + ChoiceTranslation.builder() .translatedText("Departamento de Tecnología") .build())) .build()) - .language(LanguageJson.ESES) + .language(Language1.ESES) .build()) .build(); diff --git a/packages/java/docs/sdks/events/README.md b/packages/java/docs/sdks/events/README.md index dbb99da20..ebbad4060 100644 --- a/packages/java/docs/sdks/events/README.md +++ b/packages/java/docs/sdks/events/README.md @@ -705,7 +705,7 @@ public class Application { .event(EventJson6.builder() .id("a150f1ee-6c54-4b01-90e6-d701748f0851") .build()) - .email(EmailJson2.builder() + .email(EmailJson1.builder() .id("a150f1ee-6c54-4b01-90e6-d701748f0851") .build()) .resendToPreviousRecipients(true) diff --git a/packages/java/docs/sdks/exhibitor/README.md b/packages/java/docs/sdks/exhibitor/README.md index a3826fbfa..cd58f6813 100644 --- a/packages/java/docs/sdks/exhibitor/README.md +++ b/packages/java/docs/sdks/exhibitor/README.md @@ -1792,7 +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.errors.ErrorResponse; import com.cvent.models.operations.PostRegistrationPackRequest; import com.cvent.models.operations.PostRegistrationPackResponse; import java.lang.Exception; @@ -1800,7 +1800,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -1858,7 +1858,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse | 409 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -2107,7 +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.errors.ErrorResponse; import com.cvent.models.operations.DeleteRegistrationPackRequest; import com.cvent.models.operations.DeleteRegistrationPackResponse; import java.lang.Exception; @@ -2115,7 +2115,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -2157,7 +2157,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse | 409 | application/json | | models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/exhibitorcontent/README.md b/packages/java/docs/sdks/exhibitorcontent/README.md index 98be73952..1ab02fe3e 100644 --- a/packages/java/docs/sdks/exhibitorcontent/README.md +++ b/packages/java/docs/sdks/exhibitorcontent/README.md @@ -175,7 +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.errors.ErrorResponse; import com.cvent.models.operations.UpdateExhibitorFileRequest; import com.cvent.models.operations.UpdateExhibitorFileResponse; import java.lang.Exception; @@ -183,7 +183,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -237,7 +237,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -396,7 +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.errors.ErrorResponse; import com.cvent.models.operations.CreateExhibitorWeblinkRequest; import com.cvent.models.operations.CreateExhibitorWeblinkResponse; import java.lang.Exception; @@ -404,7 +404,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -458,7 +458,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -549,7 +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.errors.ErrorResponse; import com.cvent.models.operations.UpdateExhibitorWeblinkRequest; import com.cvent.models.operations.UpdateExhibitorWeblinkResponse; import java.lang.Exception; @@ -557,7 +557,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -612,7 +612,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/housing/README.md b/packages/java/docs/sdks/housing/README.md index 79560bcad..8b1782263 100644 --- a/packages/java/docs/sdks/housing/README.md +++ b/packages/java/docs/sdks/housing/README.md @@ -990,7 +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.errors.ErrorResponse; import com.cvent.models.operations.UpdateReservationRequestRequest; import com.cvent.models.operations.UpdateReservationRequestResponse; import java.lang.Exception; @@ -1000,7 +1000,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -1138,7 +1138,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 400 | application/json | +| models/errors/ErrorResponse | 400 | application/json | | models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | @@ -1156,7 +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.errors.ErrorResponse; import com.cvent.models.operations.CancelReservationRequestRequest; import com.cvent.models.operations.CancelReservationRequestResponse; import java.lang.Exception; @@ -1164,7 +1164,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -1204,7 +1204,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 400 | application/json | +| models/errors/ErrorResponse | 400 | application/json | | models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/meetingrequest/README.md b/packages/java/docs/sdks/meetingrequest/README.md index c49cb2d0e..5d546a530 100644 --- a/packages/java/docs/sdks/meetingrequest/README.md +++ b/packages/java/docs/sdks/meetingrequest/README.md @@ -171,7 +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.errors.ErrorResponse; import com.cvent.models.operations.GetMRFByIdRequest; import com.cvent.models.operations.GetMRFByIdResponse; import java.lang.Exception; @@ -179,7 +179,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -221,7 +221,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse | 422 | application/json | | models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/sessions/README.md b/packages/java/docs/sdks/sessions/README.md index d7a0dfe1d..c6adb22e8 100644 --- a/packages/java/docs/sdks/sessions/README.md +++ b/packages/java/docs/sdks/sessions/README.md @@ -686,7 +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.errors.ErrorResponse; import com.cvent.models.operations.RelateProgramItemToSessionDocumentRequest; import com.cvent.models.operations.RelateProgramItemToSessionDocumentResponse; import java.lang.Exception; @@ -694,7 +694,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -737,7 +737,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse | 409 | application/json | | models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/speakers/README.md b/packages/java/docs/sdks/speakers/README.md index 0ca664876..62df3855b 100644 --- a/packages/java/docs/sdks/speakers/README.md +++ b/packages/java/docs/sdks/speakers/README.md @@ -179,7 +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.errors.ErrorResponse; import com.cvent.models.operations.CreateSessionProgramSpeakerRequest; import com.cvent.models.operations.CreateSessionProgramSpeakerResponse; import java.lang.Exception; @@ -187,7 +187,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -230,7 +230,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse | 409 | application/json | | models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | diff --git a/packages/java/docs/sdks/userscim/README.md b/packages/java/docs/sdks/userscim/README.md index 27974dea9..478ff5262 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -81,10 +81,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 400, 401, 403, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.GetResourceTypesResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -138,10 +138,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 401, 403, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -207,10 +207,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.GetSchemasResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -264,10 +264,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 401, 403, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -333,10 +333,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.GetServiceProviderConfigResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -390,10 +390,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 401, 403, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.CreateUserResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -431,7 +431,7 @@ public class Application { .build(); UserInput req = UserInput.builder() - .name(NameJson.builder() + .name(Name.builder() .givenName("Mike") .familyName("Stuart") .middleName("A") @@ -439,10 +439,10 @@ public class Application { .build()) .userName("aMike@test.com") .emails(List.of()) - .userType(UserTypeJson.PLANNER_ACCOUNT_USER) + .userType(UserType.PLANNER_ACCOUNT_USER) .locale("en-US") .groups(List.of()) - .urnIetfParamsScimSchemasExtensionEnterprise20User(UserEnterpriseExtensionJson.builder() + .urnIetfParamsScimSchemasExtensionEnterprise20User(UserEnterpriseExtension.builder() .federatedId("AKJU783UP") .company("Cvent") .workFax("+1123456") @@ -451,13 +451,13 @@ public class Application { .build()) .title("Vice President") .phoneNumbers(List.of( - PhoneNumberJson1.builder() - .type(PhoneTypeJson.WORK) + PhoneNumber.builder() + .type(PhoneType.WORK) .value("+911234567890") .build())) .addresses(List.of( - AddressJson2.builder() - .type(AddressTypeJson.WORK) + Address5.builder() + .type(AddressType1.WORK) .streetAddress("100 Universal City Plaza") .locality("Hollywood") .region("CA") @@ -490,10 +490,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 400, 401, 403, 409, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -559,10 +559,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 400, 401, 403, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -628,10 +628,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -672,7 +672,7 @@ public class Application { UpdateUserRequest req = UpdateUserRequest.builder() .id("id1") .user(UserInput.builder() - .name(NameJson.builder() + .name(Name.builder() .givenName("Mike") .familyName("Stuart") .middleName("A") @@ -680,14 +680,14 @@ public class Application { .build()) .userName("aMike@test.com") .emails(List.of()) - .userType(UserTypeJson.PLANNER_ACCOUNT_USER) + .userType(UserType.PLANNER_ACCOUNT_USER) .locale("en-US") .groups(List.of( - GroupJson.builder() + Group.builder() .value("3b2359a7-4583-40ed-8afd-67e5f15373d3") .display("Admin") .build())) - .urnIetfParamsScimSchemasExtensionEnterprise20User(UserEnterpriseExtensionJson.builder() + .urnIetfParamsScimSchemasExtensionEnterprise20User(UserEnterpriseExtension.builder() .federatedId("AKJU783UP") .company("Cvent") .workFax("+1123456") @@ -696,13 +696,13 @@ public class Application { .build()) .title("Vice President") .phoneNumbers(List.of( - PhoneNumberJson1.builder() - .type(PhoneTypeJson.WORK) + PhoneNumber.builder() + .type(PhoneType.WORK) .value("+911234567890") .build())) .addresses(List.of( - AddressJson2.builder() - .type(AddressTypeJson.WORK) + Address5.builder() + .type(AddressType1.WORK) .streetAddress("100 Universal City Plaza") .locality("Hollywood") .region("CA") @@ -736,10 +736,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12, Exception { + public static void main(String[] args) throws ErrorResponse2, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -803,7 +803,7 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson12 | 401, 403, 404, 429 | application/json | -| models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse2 | 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/java/gradle.properties b/packages/java/gradle.properties index ce4100fd4..0ed26f70c 100644 --- a/packages/java/gradle.properties +++ b/packages/java/gradle.properties @@ -1,4 +1,4 @@ groupId=com.cvent artifactId=sdk -version=1.5.1 +version=1.5.2 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/packages/java/src/main/java/com/cvent/AsyncAuthentication.java b/packages/java/src/main/java/com/cvent/AsyncAuthentication.java index bca2e6d41..a1d92edea 100644 --- a/packages/java/src/main/java/com/cvent/AsyncAuthentication.java +++ b/packages/java/src/main/java/com/cvent/AsyncAuthentication.java @@ -25,8 +25,7 @@ import java.util.concurrent.CompletableFuture; /** - * Available endpoints used to initiate an authentication request to obtain and validate an access - * token. + * Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. */ public class AsyncAuthentication { private static final Headers _headers = Headers.EMPTY; @@ -48,14 +47,15 @@ public Authentication sync() { } /** - * Authorize + * Get Authorization Code * - *

The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request - * through a browser. + *

Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization + * server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is + * required; `http://localhost` is permitted for local testing only. * - *

The authorization server requires HTTPS instead of HTTP as the protocol when accessing the - * authorization endpoint - * except for http://localhost for testing purposes only. + *

On success, the authorization server redirects the user-agent back to the client's `redirect_uri` + * with an authorization code. The client can then exchange that code via [Get + * Token](#operation/oauth2Token) to obtain an access token. * * @return The async call builder */ @@ -64,14 +64,15 @@ public Oauth2AuthorizeRequestBuilder oauth2Authorize() { } /** - * Authorize + * Get Authorization Code * - *

The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request - * through a browser. + *

Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization + * server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is + * required; `http://localhost` is permitted for local testing only. * - *

The authorization server requires HTTPS instead of HTTP as the protocol when accessing the - * authorization endpoint - * except for http://localhost for testing purposes only. + *

On success, the authorization server redirects the user-agent back to the client's `redirect_uri` + * with an authorization code. The client can then exchange that code via [Get + * Token](#operation/oauth2Token) to obtain an access token. * * @param request The request object containing all the parameters for the API call. * @return {@code CompletableFuture} - The async response @@ -81,14 +82,15 @@ public CompletableFuture oauth2Authorize(@Nonnull Oauth } /** - * Authorize + * Get Authorization Code * - *

The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request - * through a browser. + *

Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization + * server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is + * required; `http://localhost` is permitted for local testing only. * - *

The authorization server requires HTTPS instead of HTTP as the protocol when accessing the - * authorization endpoint - * except for http://localhost for testing purposes only. + *

On success, the authorization server redirects the user-agent back to the client's `redirect_uri` + * with an authorization code. The client can then exchange that code via [Get + * Token](#operation/oauth2Token) to obtain an access token. * * @param request The request object containing all the parameters for the API call. * @param options additional options @@ -102,9 +104,9 @@ public CompletableFuture oauth2Authorize( } /** - * Token + * Get Token * - *

Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer + *

Obtains an access token and, optionally, a refresh token. Read the [Developer * Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an * example request. * @@ -117,9 +119,9 @@ public Oauth2TokenRequestBuilder oauth2Token() { } /** - * Token + * Get Token * - *

Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer + *

Obtains an access token and, optionally, a refresh token. Read the [Developer * Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an * example request. * @@ -133,9 +135,9 @@ public CompletableFuture oauth2Token(@Nonnull Oauth2TokenSe } /** - * Token + * Get Token * - *

Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer + *

Obtains an access token and, optionally, a refresh token. Read the [Developer * Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an * example request. * diff --git a/packages/java/src/main/java/com/cvent/AsyncCventSDK.java b/packages/java/src/main/java/com/cvent/AsyncCventSDK.java index 6980b8d0f..1189d2c5d 100644 --- a/packages/java/src/main/java/com/cvent/AsyncCventSDK.java +++ b/packages/java/src/main/java/com/cvent/AsyncCventSDK.java @@ -363,8 +363,7 @@ public class AsyncCventSDK { */ private final AsyncCompliance compliance; /** - * Available endpoints used to initiate an authentication request to obtain and validate an access - * token. + * Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. */ private final AsyncAuthentication authentication; /** @@ -870,8 +869,7 @@ public AsyncCompliance compliance() { return compliance; } /** - * Available endpoints used to initiate an authentication request to obtain and validate an access - * token. + * Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. */ public AsyncAuthentication authentication() { return authentication; diff --git a/packages/java/src/main/java/com/cvent/Authentication.java b/packages/java/src/main/java/com/cvent/Authentication.java index 96dc3234e..0d4a841c4 100644 --- a/packages/java/src/main/java/com/cvent/Authentication.java +++ b/packages/java/src/main/java/com/cvent/Authentication.java @@ -24,8 +24,7 @@ import jakarta.annotation.Nullable; /** - * Available endpoints used to initiate an authentication request to obtain and validate an access - * token. + * Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. */ public class Authentication { private static final Headers _headers = Headers.EMPTY; @@ -47,14 +46,15 @@ public AsyncAuthentication async() { } /** - * Authorize + * Get Authorization Code * - *

The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request - * through a browser. + *

Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization + * server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is + * required; `http://localhost` is permitted for local testing only. * - *

The authorization server requires HTTPS instead of HTTP as the protocol when accessing the - * authorization endpoint - * except for http://localhost for testing purposes only. + *

On success, the authorization server redirects the user-agent back to the client's `redirect_uri` + * with an authorization code. The client can then exchange that code via [Get + * Token](#operation/oauth2Token) to obtain an access token. * * @return The call builder */ @@ -63,14 +63,15 @@ public Oauth2AuthorizeRequestBuilder oauth2Authorize() { } /** - * Authorize + * Get Authorization Code * - *

The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request - * through a browser. + *

Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization + * server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is + * required; `http://localhost` is permitted for local testing only. * - *

The authorization server requires HTTPS instead of HTTP as the protocol when accessing the - * authorization endpoint - * except for http://localhost for testing purposes only. + *

On success, the authorization server redirects the user-agent back to the client's `redirect_uri` + * with an authorization code. The client can then exchange that code via [Get + * Token](#operation/oauth2Token) to obtain an access token. * * @param request The request object containing all the parameters for the API call. * @return The response from the API call @@ -81,14 +82,15 @@ public Oauth2AuthorizeResponse oauth2Authorize(@Nonnull Oauth2AuthorizeRequest r } /** - * Authorize + * Get Authorization Code * - *

The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request - * through a browser. + *

Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization + * server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is + * required; `http://localhost` is permitted for local testing only. * - *

The authorization server requires HTTPS instead of HTTP as the protocol when accessing the - * authorization endpoint - * except for http://localhost for testing purposes only. + *

On success, the authorization server redirects the user-agent back to the client's `redirect_uri` + * with an authorization code. The client can then exchange that code via [Get + * Token](#operation/oauth2Token) to obtain an access token. * * @param request The request object containing all the parameters for the API call. * @param options additional options @@ -102,9 +104,9 @@ public Oauth2AuthorizeResponse oauth2Authorize(@Nonnull Oauth2AuthorizeRequest r } /** - * Token + * Get Token * - *

Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer + *

Obtains an access token and, optionally, a refresh token. Read the [Developer * Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an * example request. * @@ -117,9 +119,9 @@ public Oauth2TokenRequestBuilder oauth2Token() { } /** - * Token + * Get Token * - *

Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer + *

Obtains an access token and, optionally, a refresh token. Read the [Developer * Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an * example request. * @@ -134,9 +136,9 @@ public Oauth2TokenResponse oauth2Token(@Nonnull Oauth2TokenSecurity security) { } /** - * Token + * Get Token * - *

Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer + *

Obtains an access token and, optionally, a refresh token. Read the [Developer * Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an * example request. * diff --git a/packages/java/src/main/java/com/cvent/CventSDK.java b/packages/java/src/main/java/com/cvent/CventSDK.java index eb4b7cf6a..18bfce89f 100644 --- a/packages/java/src/main/java/com/cvent/CventSDK.java +++ b/packages/java/src/main/java/com/cvent/CventSDK.java @@ -414,8 +414,7 @@ public class CventSDK { private final Compliance compliance; /** - * Available endpoints used to initiate an authentication request to obtain and validate an access - * token. + * Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. */ private final Authentication authentication; @@ -973,8 +972,7 @@ public Compliance compliance() { } /** - * Available endpoints used to initiate an authentication request to obtain and validate an access - * token. + * Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. */ public Authentication authentication() { return authentication; diff --git a/packages/java/src/main/java/com/cvent/SDKConfiguration.java b/packages/java/src/main/java/com/cvent/SDKConfiguration.java index 686255d84..4bd83f6aa 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.5.1"; + public static final String SDK_VERSION = "1.5.2"; 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/hooks/OAuth2Scopes.java b/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java index 379d74410..35ae07d08 100644 --- a/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java +++ b/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java @@ -12,7 +12,7 @@ private OAuth2Scopes() { /** * Available scopes for the OAuth2.authorizationCode OAuth 2.0 scheme (authorizationCode flow). * - *

OAuth2 Authorization Code Flow + *

OAuth2 Authorization Code Flow. */ public static enum OAuth2AuthorizationCode { @@ -1029,7 +1029,7 @@ public static java.util.Optional fromValue(java.lang.St /** * Available scopes for the OAuth2.clientCredentials OAuth 2.0 scheme (clientCredentials flow). * - *

OAuth2 Client Credentials Flow + *

OAuth2 Client Credentials Flow. */ public static enum OAuth2ClientCredentials { 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 index 78e3a83df..e9f341d6f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Address5.java +++ b/packages/java/src/main/java/com/cvent/models/components/Address5.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,159 +20,126 @@ /** * Address5 * - *

Address of the hotel. + *

Address */ public class Address5 { /** - * The first line of an address. + * The type of the 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; + @JsonProperty("type") + private AddressType1 type; /** - * The third line of an address. + * The street address of the user. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address3") - private String address3; + @JsonProperty("streetAddress") + private String streetAddress; /** - * The name of the city. + * The locality/city of the user. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; + @JsonProperty("locality") + private String locality; /** - * ISO 3166 two-letter (alpha-2) country code. + * The region/state/province of the user. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; + @JsonProperty("region") + private String region; /** - * Postal code (also known as zipcode) of the address. + * Postal code (also known as zipcode) of the user. */ @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. + * The country of the user. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; + @JsonProperty("country") + private String country; /** - * Name of the country. + * True indicates the address is primary. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; + @JsonProperty("primary") + private Boolean primary; @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("type") @Nonnull AddressType1 type, + @JsonProperty("streetAddress") @Nullable String streetAddress, + @JsonProperty("locality") @Nullable String locality, @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; + @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.regionCode = regionCode; + this.postalCode = postalCode; this.country = country; + this.primary = Optional.ofNullable(primary).orElse(Builder._SINGLETON_VALUE_Primary.value()); } - public Address5() { - this(null, null, null, null, null, null, null, null, null); + public Address5(@Nonnull AddressType1 type) { + this(type, null, null, null, null, null, null); } /** - * The first line of an address. + * The type of the address. */ - public Optional address1() { - return Optional.ofNullable(this.address1); + public AddressType1 type() { + return this.type; } /** - * The second line of an address. + * The street address of the user. */ - public Optional address2() { - return Optional.ofNullable(this.address2); + public Optional streetAddress() { + return Optional.ofNullable(this.streetAddress); } /** - * The third line of an address. + * The locality/city of the user. */ - public Optional address3() { - return Optional.ofNullable(this.address3); + public Optional locality() { + return Optional.ofNullable(this.locality); } /** - * The name of the city. + * The region/state/province of the user. */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - 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. + * Postal code (also known as zipcode) of the user. */ 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. + * The country of the user. */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); + public Optional country() { + return Optional.ofNullable(this.country); } /** - * Name of the country. + * True indicates the address is primary. */ - public Optional country() { - return Optional.ofNullable(this.country); + public Optional primary() { + return Optional.ofNullable(this.primary); } public static Builder builder() { @@ -176,47 +147,39 @@ public static Builder builder() { } /** - * The first line of an address. - */ - public Address5 withAddress1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * The second line of an address. + * The type of the address. */ - public Address5 withAddress2(@Nullable String address2) { - this.address2 = address2; + public Address5 withType(@Nonnull AddressType1 type) { + this.type = Utils.checkNotNull(type, "type"); return this; } /** - * The third line of an address. + * The street address of the user. */ - public Address5 withAddress3(@Nullable String address3) { - this.address3 = address3; + public Address5 withStreetAddress(@Nullable String streetAddress) { + this.streetAddress = streetAddress; return this; } /** - * The name of the city. + * The locality/city of the user. */ - public Address5 withCity(@Nullable String city) { - this.city = city; + public Address5 withLocality(@Nullable String locality) { + this.locality = locality; return this; } /** - * ISO 3166 two-letter (alpha-2) country code. + * The region/state/province of the user. */ - public Address5 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; + public Address5 withRegion(@Nullable String region) { + this.region = region; return this; } /** - * Postal code (also known as zipcode) of the address. + * Postal code (also known as zipcode) of the user. */ public Address5 withPostalCode(@Nullable String postalCode) { this.postalCode = postalCode; @@ -224,26 +187,18 @@ public Address5 withPostalCode(@Nullable String postalCode) { } /** - * The name of the state/province/region of the address. + * The country of the user. */ - 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; + public Address5 withCountry(@Nullable String country) { + this.country = country; return this; } /** - * Name of the country. + * True indicates the address is primary. */ - public Address5 withCountry(@Nullable String country) { - this.country = country; + public Address5 withPrimary(@Nullable Boolean primary) { + this.primary = primary; return this; } @@ -256,114 +211,95 @@ public boolean equals(java.lang.Object o) { 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) + 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.country, other.country); + && 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( - address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + return Utils.enhancedHash(type, streetAddress, locality, region, postalCode, country, primary); } @Override public String toString() { return Utils.toString( Address5.class, - "address1", - address1, - "address2", - address2, - "address3", - address3, - "city", - city, - "countryCode", - countryCode, - "postalCode", - postalCode, + "type", + type, + "streetAddress", + streetAddress, + "locality", + locality, "region", region, - "regionCode", - regionCode, + "postalCode", + postalCode, "country", - country); + country, + "primary", + primary); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String address1; - - private String address2; - - private String address3; + private AddressType1 type; - private String city; + private String streetAddress; - private String countryCode; - - private String postalCode; + private String locality; private String region; - private String regionCode; + private String postalCode; private String country; + private Boolean primary; + private Builder() { // force use of static builder() method } /** - * The first line of an address. + * The type of the address. */ - public Builder address1(@Nullable String address1) { - this.address1 = address1; + public Builder type(@Nonnull AddressType1 type) { + this.type = Utils.checkNotNull(type, "type"); return this; } /** - * The second line of an address. + * 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; } /** - * The third line of an address. + * The locality/city of the user. */ - public Builder address3(@Nullable String address3) { - this.address3 = address3; + public Builder locality(@Nullable String locality) { + this.locality = locality; return this; } /** - * The name of the city. + * The region/state/province of the user. */ - 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; + public Builder region(@Nullable String region) { + this.region = region; return this; } /** - * Postal code (also known as zipcode) of the address. + * Postal code (also known as zipcode) of the user. */ public Builder postalCode(@Nullable String postalCode) { this.postalCode = postalCode; @@ -371,32 +307,26 @@ public Builder postalCode(@Nullable String postalCode) { } /** - * The name of the state/province/region of the address. + * The country of the user. */ - 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; + public Builder country(@Nullable String country) { + this.country = country; return this; } /** - * Name of the country. + * True indicates the address is primary. */ - public Builder country(@Nullable String country) { - this.country = country; + public Builder primary(@Nullable Boolean primary) { + this.primary = primary; return this; } public Address5 build() { - return new Address5( - address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + return new Address5(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/Address6.java b/packages/java/src/main/java/com/cvent/models/components/Address6.java index f253cf973..3d61d8f9c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Address6.java +++ b/packages/java/src/main/java/com/cvent/models/components/Address6.java @@ -16,143 +16,159 @@ /** * Address6 * - *

Address details. + *

Address of the hotel. */ public class Address6 { /** - * Address line 1. + * The first line of an address. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address1") private String address1; /** - * Address line 2. + * The second line of an address. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address2") private String address2; /** - * City name. + * The third line of an address. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; + @JsonProperty("address3") + private String address3; /** - * Region name. + * The name of the city. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("region") - private String region; + @JsonProperty("city") + private String city; /** - * Region code. + * ISO 3166 two-letter (alpha-2) country code. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; + @JsonProperty("countryCode") + private String countryCode; /** - * Postal code. + * Postal code (also known as zipcode) of the address. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("postalCode") private String postalCode; /** - * Country name. + * The name of the state/province/region of the address. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; + @JsonProperty("region") + private String region; /** - * ISO 3166 alpha-2 country code. + * The abbreviation of the state/province/region of the address. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; + @JsonProperty("regionCode") + private String regionCode; + + /** + * Name of the country. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private String country; @JsonCreator public Address6( @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("countryCode") @Nullable String countryCode) { + @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.postalCode = postalCode; this.country = country; - this.countryCode = countryCode; } public Address6() { - this(null, null, null, null, null, null, null, null); + this(null, null, null, null, null, null, null, null, null); } /** - * Address line 1. + * The first line of an address. */ public Optional address1() { return Optional.ofNullable(this.address1); } /** - * Address line 2. + * The second line of an address. */ public Optional address2() { return Optional.ofNullable(this.address2); } /** - * City name. + * The third line of an address. */ - public Optional city() { - return Optional.ofNullable(this.city); + public Optional address3() { + return Optional.ofNullable(this.address3); } /** - * Region name. + * The name of the city. */ - public Optional region() { - return Optional.ofNullable(this.region); + public Optional city() { + return Optional.ofNullable(this.city); } /** - * Region code. + * ISO 3166 two-letter (alpha-2) country code. */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); } /** - * Postal code. + * Postal code (also known as zipcode) of the address. */ public Optional postalCode() { return Optional.ofNullable(this.postalCode); } /** - * Country name. + * The name of the state/province/region of the address. */ - public Optional country() { - return Optional.ofNullable(this.country); + public Optional region() { + return Optional.ofNullable(this.region); } /** - * ISO 3166 alpha-2 country code. + * The abbreviation of the state/province/region of the address. */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); + } + + /** + * Name of the country. + */ + public Optional country() { + return Optional.ofNullable(this.country); } public static Builder builder() { @@ -160,7 +176,7 @@ public static Builder builder() { } /** - * Address line 1. + * The first line of an address. */ public Address6 withAddress1(@Nullable String address1) { this.address1 = address1; @@ -168,7 +184,7 @@ public Address6 withAddress1(@Nullable String address1) { } /** - * Address line 2. + * The second line of an address. */ public Address6 withAddress2(@Nullable String address2) { this.address2 = address2; @@ -176,31 +192,31 @@ public Address6 withAddress2(@Nullable String address2) { } /** - * City name. + * The third line of an address. */ - public Address6 withCity(@Nullable String city) { - this.city = city; + public Address6 withAddress3(@Nullable String address3) { + this.address3 = address3; return this; } /** - * Region name. + * The name of the city. */ - public Address6 withRegion(@Nullable String region) { - this.region = region; + public Address6 withCity(@Nullable String city) { + this.city = city; return this; } /** - * Region code. + * ISO 3166 two-letter (alpha-2) country code. */ - public Address6 withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; + public Address6 withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; return this; } /** - * Postal code. + * Postal code (also known as zipcode) of the address. */ public Address6 withPostalCode(@Nullable String postalCode) { this.postalCode = postalCode; @@ -208,18 +224,26 @@ public Address6 withPostalCode(@Nullable String postalCode) { } /** - * Country name. + * The name of the state/province/region of the address. */ - public Address6 withCountry(@Nullable String country) { - this.country = country; + public Address6 withRegion(@Nullable String region) { + this.region = region; return this; } /** - * ISO 3166 alpha-2 country code. + * The abbreviation of the state/province/region of the address. */ - public Address6 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; + public Address6 withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Name of the country. + */ + public Address6 withCountry(@Nullable String country) { + this.country = country; return this; } @@ -234,17 +258,19 @@ public boolean equals(java.lang.Object o) { Address6 other = (Address6) 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.countryCode, other.countryCode); + && Utils.enhancedDeepEquals(this.country, other.country); } @Override public int hashCode() { - return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); + return Utils.enhancedHash( + address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); } @Override @@ -255,18 +281,20 @@ public String toString() { address1, "address2", address2, + "address3", + address3, "city", city, + "countryCode", + countryCode, + "postalCode", + postalCode, "region", region, "regionCode", regionCode, - "postalCode", - postalCode, "country", - country, - "countryCode", - countryCode); + country); } @SuppressWarnings("UnusedReturnValue") @@ -276,24 +304,26 @@ 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 } /** - * Address line 1. + * The first line of an address. */ public Builder address1(@Nullable String address1) { this.address1 = address1; @@ -301,7 +331,7 @@ public Builder address1(@Nullable String address1) { } /** - * Address line 2. + * The second line of an address. */ public Builder address2(@Nullable String address2) { this.address2 = address2; @@ -309,31 +339,31 @@ public Builder address2(@Nullable String address2) { } /** - * City name. + * The third line of an address. */ - public Builder city(@Nullable String city) { - this.city = city; + public Builder address3(@Nullable String address3) { + this.address3 = address3; return this; } /** - * Region name. + * The name of the city. */ - public Builder region(@Nullable String region) { - this.region = region; + public Builder city(@Nullable String city) { + this.city = city; return this; } /** - * Region code. + * ISO 3166 two-letter (alpha-2) country code. */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; return this; } /** - * Postal code. + * Postal code (also known as zipcode) of the address. */ public Builder postalCode(@Nullable String postalCode) { this.postalCode = postalCode; @@ -341,23 +371,32 @@ public Builder postalCode(@Nullable String postalCode) { } /** - * Country name. + * The name of the state/province/region of the address. */ - public Builder country(@Nullable String country) { - this.country = country; + public Builder region(@Nullable String region) { + this.region = region; return this; } /** - * ISO 3166 alpha-2 country code. + * The abbreviation of the state/province/region of the address. */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; + 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 Address6 build() { - return new Address6(address1, address2, city, region, regionCode, postalCode, country, countryCode); + return new Address6( + address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Address7.java b/packages/java/src/main/java/com/cvent/models/components/Address7.java new file mode 100644 index 000000000..c19defda9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Address7.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; + +/** + * Address7 + * + *

Address details. + */ +public class Address7 { + /** + * 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 Address7( + @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 Address7() { + 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 Address7 withAddress1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * Address line 2. + */ + public Address7 withAddress2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * City name. + */ + public Address7 withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * Region name. + */ + public Address7 withRegion(@Nullable String region) { + this.region = region; + return this; + } + + /** + * Region code. + */ + public Address7 withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Postal code. + */ + public Address7 withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Country name. + */ + public Address7 withCountry(@Nullable String country) { + this.country = country; + return this; + } + + /** + * ISO 3166 alpha-2 country code. + */ + public Address7 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; + } + Address7 other = (Address7) 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( + Address7.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 Address7 build() { + return new Address7(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 deleted file mode 100644 index 2c950f70e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJson2.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; - -/** - * AddressJson2 - * - *

Address - */ -public class AddressJson2 { - /** - * The type of the address. - */ - @JsonProperty("type") - private AddressTypeJson 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 AddressJson2( - @JsonProperty("type") @Nonnull AddressTypeJson 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 AddressJson2(@Nonnull AddressTypeJson type) { - this(type, null, null, null, null, null, null); - } - - /** - * The type of the address. - */ - public AddressTypeJson 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 AddressJson2 withType(@Nonnull AddressTypeJson type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * The street address of the user. - */ - public AddressJson2 withStreetAddress(@Nullable String streetAddress) { - this.streetAddress = streetAddress; - return this; - } - - /** - * The locality/city of the user. - */ - public AddressJson2 withLocality(@Nullable String locality) { - this.locality = locality; - return this; - } - - /** - * The region/state/province of the user. - */ - public AddressJson2 withRegion(@Nullable String region) { - this.region = region; - return this; - } - - /** - * Postal code (also known as zipcode) of the user. - */ - public AddressJson2 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * The country of the user. - */ - public AddressJson2 withCountry(@Nullable String country) { - this.country = country; - return this; - } - - /** - * True indicates the address is primary. - */ - public AddressJson2 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; - } - AddressJson2 other = (AddressJson2) 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( - AddressJson2.class, - "type", - type, - "streetAddress", - streetAddress, - "locality", - locality, - "region", - region, - "postalCode", - postalCode, - "country", - country, - "primary", - primary); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private AddressTypeJson 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 AddressTypeJson 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 AddressJson2 build() { - 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/AddressTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AddressType1.java similarity index 74% rename from packages/java/src/main/java/com/cvent/models/components/AddressTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/AddressType1.java index 655b2549f..ad93f7a88 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AddressType1.java @@ -9,18 +9,18 @@ import java.util.Optional; /** - * AddressTypeJson + * AddressType1 * *

The type of the address. */ -public enum AddressTypeJson { +public enum AddressType1 { WORK("work"), HOME("home"); @JsonValue private final String value; - AddressTypeJson(String value) { + AddressType1(String value) { this.value = value; } @@ -28,8 +28,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (AddressTypeJson o : AddressTypeJson.values()) { + public static Optional fromValue(String value) { + for (AddressType1 o : AddressType1.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/AdvancedLogic.java b/packages/java/src/main/java/com/cvent/models/components/AdvancedLogic.java index a958f7c65..095058e09 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AdvancedLogic.java +++ b/packages/java/src/main/java/com/cvent/models/components/AdvancedLogic.java @@ -41,13 +41,13 @@ public class AdvancedLogic { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceChoices") - private List sourceChoices; + private List sourceChoices; @JsonCreator public AdvancedLogic( @JsonProperty("sourceCustomFieldId") @Nonnull String sourceCustomFieldId, @JsonProperty("defaultChoices") @Nullable List defaultChoices, - @JsonProperty("sourceChoices") @Nullable List sourceChoices) { + @JsonProperty("sourceChoices") @Nullable List sourceChoices) { this.sourceCustomFieldId = Optional.ofNullable(sourceCustomFieldId) .orElseThrow(() -> new IllegalArgumentException("sourceCustomFieldId cannot be null")); this.defaultChoices = defaultChoices; @@ -77,7 +77,7 @@ public Optional> defaultChoices() { * The choices of this custom field to display based on the choice selected for the source custom * field, specified by choice ID. */ - public Optional> sourceChoices() { + public Optional> sourceChoices() { return Optional.ofNullable(this.sourceChoices); } @@ -106,7 +106,7 @@ public AdvancedLogic withDefaultChoices(@Nullable List defaultChoices) { * The choices of this custom field to display based on the choice selected for the source custom * field, specified by choice ID. */ - public AdvancedLogic withSourceChoices(@Nullable List sourceChoices) { + public AdvancedLogic withSourceChoices(@Nullable List sourceChoices) { this.sourceChoices = sourceChoices; return this; } @@ -149,7 +149,7 @@ public static final class Builder { private List defaultChoices; - private List sourceChoices; + private List sourceChoices; private Builder() { // force use of static builder() method @@ -176,7 +176,7 @@ public Builder defaultChoices(@Nullable List defaultChoices) { * The choices of this custom field to display based on the choice selected for the source custom * field, specified by choice ID. */ - public Builder sourceChoices(@Nullable List sourceChoices) { + public Builder sourceChoices(@Nullable List sourceChoices) { this.sourceChoices = sourceChoices; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AdvancedLogicChoicesJson.java b/packages/java/src/main/java/com/cvent/models/components/AdvancedLogicChoices.java similarity index 85% rename from packages/java/src/main/java/com/cvent/models/components/AdvancedLogicChoicesJson.java rename to packages/java/src/main/java/com/cvent/models/components/AdvancedLogicChoices.java index aaa1bd54c..3214c893f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AdvancedLogicChoicesJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AdvancedLogicChoices.java @@ -16,12 +16,12 @@ import java.util.Optional; /** - * AdvancedLogicChoicesJson + * AdvancedLogicChoices * *

This is used to denote which custom field choices to display when a source custom field choice is * selected. */ -public class AdvancedLogicChoicesJson { +public class AdvancedLogicChoices { /** * The ID of a choice of the source custom field. */ @@ -37,7 +37,7 @@ public class AdvancedLogicChoicesJson { private List choices; @JsonCreator - public AdvancedLogicChoicesJson( + public AdvancedLogicChoices( @JsonProperty("sourceCustomFieldChoice") @Nonnull String sourceCustomFieldChoice, @JsonProperty("choices") @Nullable List choices) { this.sourceCustomFieldChoice = Optional.ofNullable(sourceCustomFieldChoice) @@ -45,7 +45,7 @@ public AdvancedLogicChoicesJson( this.choices = choices; } - public AdvancedLogicChoicesJson(@Nonnull String sourceCustomFieldChoice) { + public AdvancedLogicChoices(@Nonnull String sourceCustomFieldChoice) { this(sourceCustomFieldChoice, null); } @@ -71,7 +71,7 @@ public static Builder builder() { /** * The ID of a choice of the source custom field. */ - public AdvancedLogicChoicesJson withSourceCustomFieldChoice(@Nonnull String sourceCustomFieldChoice) { + public AdvancedLogicChoices withSourceCustomFieldChoice(@Nonnull String sourceCustomFieldChoice) { this.sourceCustomFieldChoice = Utils.checkNotNull(sourceCustomFieldChoice, "sourceCustomFieldChoice"); return this; } @@ -80,7 +80,7 @@ public AdvancedLogicChoicesJson withSourceCustomFieldChoice(@Nonnull String sour * The choices to display if the associated source custom field choice is selected. Leave empty to have * no choices displayed. */ - public AdvancedLogicChoicesJson withChoices(@Nullable List choices) { + public AdvancedLogicChoices withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -93,7 +93,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AdvancedLogicChoicesJson other = (AdvancedLogicChoicesJson) o; + AdvancedLogicChoices other = (AdvancedLogicChoices) o; return Utils.enhancedDeepEquals(this.sourceCustomFieldChoice, other.sourceCustomFieldChoice) && Utils.enhancedDeepEquals(this.choices, other.choices); } @@ -106,7 +106,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - AdvancedLogicChoicesJson.class, "sourceCustomFieldChoice", sourceCustomFieldChoice, "choices", choices); + AdvancedLogicChoices.class, "sourceCustomFieldChoice", sourceCustomFieldChoice, "choices", choices); } @SuppressWarnings("UnusedReturnValue") @@ -137,8 +137,8 @@ public Builder choices(@Nullable List choices) { return this; } - public AdvancedLogicChoicesJson build() { - return new AdvancedLogicChoicesJson(sourceCustomFieldChoice, choices); + public AdvancedLogicChoices build() { + return new AdvancedLogicChoices(sourceCustomFieldChoice, choices); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AirActual.java b/packages/java/src/main/java/com/cvent/models/components/AirActual.java index 4e9f38a70..4c4916f6b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AirActual.java +++ b/packages/java/src/main/java/com/cvent/models/components/AirActual.java @@ -135,7 +135,7 @@ public class AirActual { private String noteGDS; /** - * Type of journey + * Type of journey for an air booking. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("journeyType") @@ -330,7 +330,7 @@ public Optional noteGDS() { } /** - * Type of journey + * Type of journey for an air booking. */ public Optional journeyType() { return Optional.ofNullable(this.journeyType); @@ -482,7 +482,7 @@ public AirActual withNoteGDS(@Nullable String noteGDS) { } /** - * Type of journey + * Type of journey for an air booking. */ public AirActual withJourneyType(@Nullable JourneyType journeyType) { this.journeyType = journeyType; @@ -770,7 +770,7 @@ public Builder noteGDS(@Nullable String noteGDS) { } /** - * Type of journey + * Type of journey for an air booking. */ public Builder journeyType(@Nullable JourneyType journeyType) { this.journeyType = journeyType; diff --git a/packages/java/src/main/java/com/cvent/models/components/AirRequest.java b/packages/java/src/main/java/com/cvent/models/components/AirRequest.java index 60b98e633..b398b3419 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AirRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/AirRequest.java @@ -140,14 +140,14 @@ public class AirRequest { private LegDetail incomingLeg; /** - * Type of the seat. + * Preferred or assigned seat type for an air booking. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("seatType") private SeatType seatType; /** - * Category of the passenger's ticket. + * Category of the passenger's ticket for an air booking. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ticketType") @@ -424,14 +424,14 @@ public Optional incomingLeg() { } /** - * Type of the seat. + * Preferred or assigned seat type for an air booking. */ public Optional seatType() { return Optional.ofNullable(this.seatType); } /** - * Category of the passenger's ticket. + * Category of the passenger's ticket for an air booking. */ public Optional ticketType() { return Optional.ofNullable(this.ticketType); @@ -639,7 +639,7 @@ public AirRequest withIncomingLeg(@Nullable LegDetail incomingLeg) { } /** - * Type of the seat. + * Preferred or assigned seat type for an air booking. */ public AirRequest withSeatType(@Nullable SeatType seatType) { this.seatType = seatType; @@ -647,7 +647,7 @@ public AirRequest withSeatType(@Nullable SeatType seatType) { } /** - * Category of the passenger's ticket. + * Category of the passenger's ticket for an air booking. */ public AirRequest withTicketType(@Nullable TicketType ticketType) { this.ticketType = ticketType; @@ -1052,7 +1052,7 @@ public Builder incomingLeg(@Nullable LegDetail incomingLeg) { } /** - * Type of the seat. + * Preferred or assigned seat type for an air booking. */ public Builder seatType(@Nullable SeatType seatType) { this.seatType = seatType; @@ -1060,7 +1060,7 @@ public Builder seatType(@Nullable SeatType seatType) { } /** - * Category of the passenger's ticket. + * Category of the passenger's ticket for an air booking. */ public Builder ticketType(@Nullable TicketType ticketType) { this.ticketType = ticketType; diff --git a/packages/java/src/main/java/com/cvent/models/components/AirlinePreference.java b/packages/java/src/main/java/com/cvent/models/components/AirlinePreference.java index 3958d3172..8dcd23873 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AirlinePreference.java +++ b/packages/java/src/main/java/com/cvent/models/components/AirlinePreference.java @@ -27,7 +27,7 @@ public class AirlinePreference { private String airlineName; /** - * Any rewards code applied. + * Loyalty program number for the preferred airline. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("rewardsCode") @@ -53,7 +53,7 @@ public Optional airlineName() { } /** - * Any rewards code applied. + * Loyalty program number for the preferred airline. */ public Optional rewardsCode() { return Optional.ofNullable(this.rewardsCode); @@ -72,7 +72,7 @@ public AirlinePreference withAirlineName(@Nullable String airlineName) { } /** - * Any rewards code applied. + * Loyalty program number for the preferred airline. */ public AirlinePreference withRewardsCode(@Nullable String rewardsCode) { this.rewardsCode = rewardsCode; @@ -122,7 +122,7 @@ public Builder airlineName(@Nullable String airlineName) { } /** - * Any rewards code applied. + * Loyalty program number for the preferred airline. */ public Builder rewardsCode(@Nullable String rewardsCode) { this.rewardsCode = rewardsCode; 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 304c5c9e1..e71b19619 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 @@ -271,6 +271,7 @@ public class Attendee11 { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -782,6 +783,7 @@ public Optional invitedBy() { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -1185,6 +1187,7 @@ public Attendee11 withInvitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -1901,6 +1904,7 @@ public Builder invitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeAdd.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeAdd.java index 32087cd32..d536164ee 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeAdd.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeAdd.java @@ -161,6 +161,7 @@ public class AttendeeAdd { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -357,6 +358,7 @@ public Optional invitedBy() { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -530,6 +532,7 @@ public AttendeeAdd withInvitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -831,6 +834,7 @@ public Builder invitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonData.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonData.java index 1865e8984..496473836 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonData.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonData.java @@ -25,7 +25,7 @@ private AttendeeAddBulkItemEventJsonData(TypedObject value) { this.value = value; } - public static AttendeeAddBulkItemEventJsonData of(ZeroOneOf2 value) { + public static AttendeeAddBulkItemEventJsonData of(ZeroOneOf value) { Utils.checkNotNull(value, "value"); return new AttendeeAddBulkItemEventJsonData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -38,7 +38,7 @@ public static AttendeeAddBulkItemEventJsonData of(AttendeeAddBulkItemEventJsonEr /** * Returns an instance of one of these types: *

    - *
  • {@code com.cvent.models.components.ZeroOneOf2}
  • + *
  • {@code com.cvent.models.components.ZeroOneOf}
  • *
  • {@code com.cvent.models.components.AttendeeAddBulkItemEventJsonErrorResponse}
  • *
* @@ -81,7 +81,7 @@ public _Deserializer() { super( AttendeeAddBulkItemEventJsonData.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/AttendeeAddBulkItemJsonData.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemJsonData.java index 27d0aabe8..9e0660db3 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 @@ -25,12 +25,12 @@ private AttendeeAddBulkItemJsonData(TypedObject value) { this.value = value; } - public static AttendeeAddBulkItemJsonData of(ZeroOneOf2 value) { + public static AttendeeAddBulkItemJsonData of(ZeroOneOf value) { Utils.checkNotNull(value, "value"); return new AttendeeAddBulkItemJsonData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static AttendeeAddBulkItemJsonData of(ErrorResponse2 value) { + public static AttendeeAddBulkItemJsonData of(ErrorResponse value) { Utils.checkNotNull(value, "value"); return new AttendeeAddBulkItemJsonData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -38,8 +38,8 @@ public static AttendeeAddBulkItemJsonData of(ErrorResponse2 value) { /** * Returns an instance of one of these types: *
    - *
  • {@code com.cvent.models.components.ZeroOneOf2}
  • - *
  • {@code com.cvent.models.components.ErrorResponse2}
  • + *
  • {@code com.cvent.models.components.ZeroOneOf}
  • + *
  • {@code com.cvent.models.components.ErrorResponse}
  • *
* *

Use {@code instanceof} to determine what type is returned. For example: @@ -81,8 +81,8 @@ public _Deserializer() { super( AttendeeAddBulkItemJsonData.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)); } } 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 04e4d229b..26d696bd3 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(ErrorResponse2 value) { + public static AttendeeLinkBulkResponseItemJsonData of(ErrorResponse value) { Utils.checkNotNull(value, "value"); return new AttendeeLinkBulkResponseItemJsonData( TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); @@ -41,7 +41,7 @@ public static AttendeeLinkBulkResponseItemJsonData of(ErrorResponse2 value) { * Returns an instance of one of these types: *

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

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/AttendeeResponseMethod1.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeResponseMethod1.java index eb3f4b692..a95b8e92c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeResponseMethod1.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeResponseMethod1.java @@ -24,6 +24,7 @@ * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -52,6 +53,7 @@ public enum AttendeeResponseMethod1 { GROUP_LEADER_RESPONDED_WIDGET("Group Leader Responded Widget"), HISTORICAL_IMPORT("Historical Import"), IMPORTED("Imported"), + LINKED_IN_REGISTRATION_FORM("LinkedIn Registration Form"), NO_RESPONSE("No Response"), ON_SITE_RESPONDED("On-site Responded"), PLANNER_IMPORTED("Planner-Imported"), diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java index 3197c9e9e..bf51e0b14 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java @@ -107,13 +107,16 @@ public class AttendeeUpdate { * *

Pending Approval: When registration approval is enabled, this status indicates the attendee is still * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this - * status indicates the attendee has been denied approval by the planner.
The following status - * transitions are supported by this API:
* No Response -> Visited
* No Response -> - * Accepted
* No Response -> Declined
* No Response -> Pending Approval
* - * Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
- * * Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending - * Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending - * Approval -> Denied Approval
* Denied Approval -> Pending Approval + * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is + * on the waitlist for the event. + * + *


The following status transitions are supported by this API:
* No Response -> Visited
+ * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending + * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited + * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined + * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* + * Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* + * Waitlisted -> Accepted */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -269,13 +272,16 @@ public Optional sendEmail() { * *

Pending Approval: When registration approval is enabled, this status indicates the attendee is still * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this - * status indicates the attendee has been denied approval by the planner.
The following status - * transitions are supported by this API:
* No Response -> Visited
* No Response -> - * Accepted
* No Response -> Declined
* No Response -> Pending Approval
* - * Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
- * * Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending - * Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending - * Approval -> Denied Approval
* Denied Approval -> Pending Approval + * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is + * on the waitlist for the event. + * + *


The following status transitions are supported by this API:
* No Response -> Visited
+ * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending + * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited + * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined + * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* + * Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* + * Waitlisted -> Accepted */ public Optional status() { return Optional.ofNullable(this.status); @@ -408,13 +414,16 @@ public AttendeeUpdate withSendEmail(@Nullable Boolean sendEmail) { * *

Pending Approval: When registration approval is enabled, this status indicates the attendee is still * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this - * status indicates the attendee has been denied approval by the planner.
The following status - * transitions are supported by this API:
* No Response -> Visited
* No Response -> - * Accepted
* No Response -> Declined
* No Response -> Pending Approval
* - * Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
- * * Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending - * Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending - * Approval -> Denied Approval
* Denied Approval -> Pending Approval + * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is + * on the waitlist for the event. + * + *


The following status transitions are supported by this API:
* No Response -> Visited
+ * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending + * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited + * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined + * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* + * Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* + * Waitlisted -> Accepted */ public AttendeeUpdate withStatus(@Nullable AttendeeUpdateStatus status) { this.status = status; @@ -662,13 +671,16 @@ public Builder sendEmail(@Nullable Boolean sendEmail) { * *

Pending Approval: When registration approval is enabled, this status indicates the attendee is still * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this - * status indicates the attendee has been denied approval by the planner.
The following status - * transitions are supported by this API:
* No Response -> Visited
* No Response -> - * Accepted
* No Response -> Declined
* No Response -> Pending Approval
* - * Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
- * * Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending - * Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending - * Approval -> Denied Approval
* Denied Approval -> Pending Approval + * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is + * on the waitlist for the event. + * + *


The following status transitions are supported by this API:
* No Response -> Visited
+ * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending + * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited + * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined + * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* + * Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* + * Waitlisted -> Accepted */ public Builder status(@Nullable AttendeeUpdateStatus status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java index dd76fa499..1788361c1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java @@ -19,13 +19,16 @@ * *

Pending Approval: When registration approval is enabled, this status indicates the attendee is still * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this - * status indicates the attendee has been denied approval by the planner.
The following status - * transitions are supported by this API:
* No Response -> Visited
* No Response -> - * Accepted
* No Response -> Declined
* No Response -> Pending Approval
* - * Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
- * * Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending - * Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending - * Approval -> Denied Approval
* Denied Approval -> Pending Approval + * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is + * on the waitlist for the event. + * + *


The following status transitions are supported by this API:
* No Response -> Visited
+ * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending + * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited + * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined + * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* + * Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* + * Waitlisted -> Accepted */ public enum AttendeeUpdateStatus { NO_RESPONSE("No Response"), @@ -34,7 +37,8 @@ public enum AttendeeUpdateStatus { VISITED("Visited"), DECLINED("Declined"), PENDING_APPROVAL("Pending Approval"), - DENIED_APPROVAL("Denied Approval"); + DENIED_APPROVAL("Denied Approval"), + WAITLISTED("Waitlisted"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/AttributeJson.java b/packages/java/src/main/java/com/cvent/models/components/Attribute.java similarity index 80% rename from packages/java/src/main/java/com/cvent/models/components/AttributeJson.java rename to packages/java/src/main/java/com/cvent/models/components/Attribute.java index 2e455872d..1a7f06c38 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttributeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/Attribute.java @@ -16,11 +16,11 @@ import java.util.Optional; /** - * AttributeJson + * Attribute * *

Attribute */ -public class AttributeJson { +public class Attribute { /** * The name of the attribute. */ @@ -33,7 +33,7 @@ public class AttributeJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private AttributeDataTypeJson type; + private AttributeDataType type; /** * Indicates if the attribute is multivalued. @@ -68,7 +68,7 @@ public class AttributeJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("mutability") - private MutabilityJson mutability; + private Mutability mutability; /** * The list of canonical values of the attribute. @@ -82,43 +82,43 @@ public class AttributeJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("returned") - private AttributeReturnedTypeJson returned; + private ReturnedType returned; /** * This is used to denote the uniqueness type of the attribute. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("uniqueness") - private AttributeUniquenessTypeJson uniqueness; + private UniquenessType uniqueness; /** * This is used to denote the reference type of the attribute. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("referenceTypes") - private List referenceTypes; + private List referenceTypes; /** * A collection of sub-attributes. Has the same structure as this attribute object. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("subAttributes") - private List subAttributes; + private List subAttributes; @JsonCreator - public AttributeJson( + public Attribute( @JsonProperty("name") @Nullable String name, - @JsonProperty("type") @Nullable AttributeDataTypeJson type, + @JsonProperty("type") @Nullable AttributeDataType type, @JsonProperty("multiValued") @Nullable Boolean multiValued, @JsonProperty("description") @Nullable String description, @JsonProperty("required") @Nullable Boolean required, @JsonProperty("caseExact") @Nullable Boolean caseExact, - @JsonProperty("mutability") @Nullable MutabilityJson mutability, + @JsonProperty("mutability") @Nullable Mutability mutability, @JsonProperty("canonicalValues") @Nullable List canonicalValues, - @JsonProperty("returned") @Nullable AttributeReturnedTypeJson returned, - @JsonProperty("uniqueness") @Nullable AttributeUniquenessTypeJson uniqueness, - @JsonProperty("referenceTypes") @Nullable List referenceTypes, - @JsonProperty("subAttributes") @Nullable List subAttributes) { + @JsonProperty("returned") @Nullable ReturnedType returned, + @JsonProperty("uniqueness") @Nullable UniquenessType uniqueness, + @JsonProperty("referenceTypes") @Nullable List referenceTypes, + @JsonProperty("subAttributes") @Nullable List subAttributes) { this.name = name; this.type = type; this.multiValued = multiValued; @@ -133,7 +133,7 @@ public AttributeJson( this.subAttributes = subAttributes; } - public AttributeJson() { + public Attribute() { this(null, null, null, null, null, null, null, null, null, null, null, null); } @@ -147,7 +147,7 @@ public Optional name() { /** * This is used to denote the type of the attribute. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -182,7 +182,7 @@ public Optional caseExact() { /** * This is used to denote the mutability of the attribute. */ - public Optional mutability() { + public Optional mutability() { return Optional.ofNullable(this.mutability); } @@ -196,28 +196,28 @@ public Optional> canonicalValues() { /** * This is used to denote the returned type of the attribute. */ - public Optional returned() { + public Optional returned() { return Optional.ofNullable(this.returned); } /** * This is used to denote the uniqueness type of the attribute. */ - public Optional uniqueness() { + public Optional uniqueness() { return Optional.ofNullable(this.uniqueness); } /** * This is used to denote the reference type of the attribute. */ - public Optional> referenceTypes() { + public Optional> referenceTypes() { return Optional.ofNullable(this.referenceTypes); } /** * A collection of sub-attributes. Has the same structure as this attribute object. */ - public Optional> subAttributes() { + public Optional> subAttributes() { return Optional.ofNullable(this.subAttributes); } @@ -228,7 +228,7 @@ public static Builder builder() { /** * The name of the attribute. */ - public AttributeJson withName(@Nullable String name) { + public Attribute withName(@Nullable String name) { this.name = name; return this; } @@ -236,7 +236,7 @@ public AttributeJson withName(@Nullable String name) { /** * This is used to denote the type of the attribute. */ - public AttributeJson withType(@Nullable AttributeDataTypeJson type) { + public Attribute withType(@Nullable AttributeDataType type) { this.type = type; return this; } @@ -244,7 +244,7 @@ public AttributeJson withType(@Nullable AttributeDataTypeJson type) { /** * Indicates if the attribute is multivalued. */ - public AttributeJson withMultiValued(@Nullable Boolean multiValued) { + public Attribute withMultiValued(@Nullable Boolean multiValued) { this.multiValued = multiValued; return this; } @@ -252,7 +252,7 @@ public AttributeJson withMultiValued(@Nullable Boolean multiValued) { /** * The description of the attribute. */ - public AttributeJson withDescription(@Nullable String description) { + public Attribute withDescription(@Nullable String description) { this.description = description; return this; } @@ -260,7 +260,7 @@ public AttributeJson withDescription(@Nullable String description) { /** * True indicates the attribute is required. */ - public AttributeJson withRequired(@Nullable Boolean required) { + public Attribute withRequired(@Nullable Boolean required) { this.required = required; return this; } @@ -268,7 +268,7 @@ public AttributeJson withRequired(@Nullable Boolean required) { /** * True indicates the attribute is case sensitive. */ - public AttributeJson withCaseExact(@Nullable Boolean caseExact) { + public Attribute withCaseExact(@Nullable Boolean caseExact) { this.caseExact = caseExact; return this; } @@ -276,7 +276,7 @@ public AttributeJson withCaseExact(@Nullable Boolean caseExact) { /** * This is used to denote the mutability of the attribute. */ - public AttributeJson withMutability(@Nullable MutabilityJson mutability) { + public Attribute withMutability(@Nullable Mutability mutability) { this.mutability = mutability; return this; } @@ -284,7 +284,7 @@ public AttributeJson withMutability(@Nullable MutabilityJson mutability) { /** * The list of canonical values of the attribute. */ - public AttributeJson withCanonicalValues(@Nullable List canonicalValues) { + public Attribute withCanonicalValues(@Nullable List canonicalValues) { this.canonicalValues = canonicalValues; return this; } @@ -292,7 +292,7 @@ public AttributeJson withCanonicalValues(@Nullable List canonicalValues) /** * This is used to denote the returned type of the attribute. */ - public AttributeJson withReturned(@Nullable AttributeReturnedTypeJson returned) { + public Attribute withReturned(@Nullable ReturnedType returned) { this.returned = returned; return this; } @@ -300,7 +300,7 @@ public AttributeJson withReturned(@Nullable AttributeReturnedTypeJson returned) /** * This is used to denote the uniqueness type of the attribute. */ - public AttributeJson withUniqueness(@Nullable AttributeUniquenessTypeJson uniqueness) { + public Attribute withUniqueness(@Nullable UniquenessType uniqueness) { this.uniqueness = uniqueness; return this; } @@ -308,7 +308,7 @@ public AttributeJson withUniqueness(@Nullable AttributeUniquenessTypeJson unique /** * This is used to denote the reference type of the attribute. */ - public AttributeJson withReferenceTypes(@Nullable List referenceTypes) { + public Attribute withReferenceTypes(@Nullable List referenceTypes) { this.referenceTypes = referenceTypes; return this; } @@ -316,7 +316,7 @@ public AttributeJson withReferenceTypes(@Nullable List subAttributes) { + public Attribute withSubAttributes(@Nullable List subAttributes) { this.subAttributes = subAttributes; return this; } @@ -329,7 +329,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AttributeJson other = (AttributeJson) o; + Attribute other = (Attribute) o; return Utils.enhancedDeepEquals(this.name, other.name) && Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.multiValued, other.multiValued) @@ -364,7 +364,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - AttributeJson.class, + Attribute.class, "name", name, "type", @@ -396,7 +396,7 @@ public static final class Builder { private String name; - private AttributeDataTypeJson type; + private AttributeDataType type; private Boolean multiValued; @@ -406,17 +406,17 @@ public static final class Builder { private Boolean caseExact; - private MutabilityJson mutability; + private Mutability mutability; private List canonicalValues; - private AttributeReturnedTypeJson returned; + private ReturnedType returned; - private AttributeUniquenessTypeJson uniqueness; + private UniquenessType uniqueness; - private List referenceTypes; + private List referenceTypes; - private List subAttributes; + private List subAttributes; private Builder() { // force use of static builder() method @@ -433,7 +433,7 @@ public Builder name(@Nullable String name) { /** * This is used to denote the type of the attribute. */ - public Builder type(@Nullable AttributeDataTypeJson type) { + public Builder type(@Nullable AttributeDataType type) { this.type = type; return this; } @@ -473,7 +473,7 @@ public Builder caseExact(@Nullable Boolean caseExact) { /** * This is used to denote the mutability of the attribute. */ - public Builder mutability(@Nullable MutabilityJson mutability) { + public Builder mutability(@Nullable Mutability mutability) { this.mutability = mutability; return this; } @@ -489,7 +489,7 @@ public Builder canonicalValues(@Nullable List canonicalValues) { /** * This is used to denote the returned type of the attribute. */ - public Builder returned(@Nullable AttributeReturnedTypeJson returned) { + public Builder returned(@Nullable ReturnedType returned) { this.returned = returned; return this; } @@ -497,7 +497,7 @@ public Builder returned(@Nullable AttributeReturnedTypeJson returned) { /** * This is used to denote the uniqueness type of the attribute. */ - public Builder uniqueness(@Nullable AttributeUniquenessTypeJson uniqueness) { + public Builder uniqueness(@Nullable UniquenessType uniqueness) { this.uniqueness = uniqueness; return this; } @@ -505,7 +505,7 @@ public Builder uniqueness(@Nullable AttributeUniquenessTypeJson uniqueness) { /** * This is used to denote the reference type of the attribute. */ - public Builder referenceTypes(@Nullable List referenceTypes) { + public Builder referenceTypes(@Nullable List referenceTypes) { this.referenceTypes = referenceTypes; return this; } @@ -513,13 +513,13 @@ public Builder referenceTypes(@Nullable List referen /** * A collection of sub-attributes. Has the same structure as this attribute object. */ - public Builder subAttributes(@Nullable List subAttributes) { + public Builder subAttributes(@Nullable List subAttributes) { this.subAttributes = subAttributes; return this; } - public AttributeJson build() { - return new AttributeJson( + public Attribute build() { + return new Attribute( name, type, multiValued, diff --git a/packages/java/src/main/java/com/cvent/models/components/AttributeDataTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AttributeDataType.java similarity index 75% rename from packages/java/src/main/java/com/cvent/models/components/AttributeDataTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/AttributeDataType.java index 620912911..80312cbdc 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttributeDataTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttributeDataType.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * AttributeDataTypeJson + * AttributeDataType * *

This is used to denote the type of the attribute. */ -public enum AttributeDataTypeJson { +public enum AttributeDataType { STRING("string"), BOOLEAN("boolean"), DECIMAL("decimal"), @@ -25,7 +25,7 @@ public enum AttributeDataTypeJson { @JsonValue private final String value; - AttributeDataTypeJson(String value) { + AttributeDataType(String value) { this.value = value; } @@ -33,8 +33,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (AttributeDataTypeJson o : AttributeDataTypeJson.values()) { + public static Optional fromValue(String value) { + for (AttributeDataType o : AttributeDataType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/AuthenticationSchemaJson.java b/packages/java/src/main/java/com/cvent/models/components/AuthenticationSchema.java similarity index 88% rename from packages/java/src/main/java/com/cvent/models/components/AuthenticationSchemaJson.java rename to packages/java/src/main/java/com/cvent/models/components/AuthenticationSchema.java index cb0333e17..1bc321c1b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AuthenticationSchemaJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AuthenticationSchema.java @@ -15,11 +15,11 @@ import java.util.Optional; /** - * AuthenticationSchemaJson + * AuthenticationSchema * *

Authentication Schema */ -public class AuthenticationSchemaJson { +public class AuthenticationSchema { /** * The name of the authentication. */ @@ -63,7 +63,7 @@ public class AuthenticationSchemaJson { private Boolean primary; @JsonCreator - public AuthenticationSchemaJson( + public AuthenticationSchema( @JsonProperty("name") @Nullable String name, @JsonProperty("description") @Nullable String description, @JsonProperty("specUri") @Nullable String specUri, @@ -78,7 +78,7 @@ public AuthenticationSchemaJson( this.primary = primary; } - public AuthenticationSchemaJson() { + public AuthenticationSchema() { this(null, null, null, null, null, null); } @@ -131,7 +131,7 @@ public static Builder builder() { /** * The name of the authentication. */ - public AuthenticationSchemaJson withName(@Nullable String name) { + public AuthenticationSchema withName(@Nullable String name) { this.name = name; return this; } @@ -139,7 +139,7 @@ public AuthenticationSchemaJson withName(@Nullable String name) { /** * The description of the authentication. */ - public AuthenticationSchemaJson withDescription(@Nullable String description) { + public AuthenticationSchema withDescription(@Nullable String description) { this.description = description; return this; } @@ -147,7 +147,7 @@ public AuthenticationSchemaJson withDescription(@Nullable String description) { /** * The location of the authentication specifications. */ - public AuthenticationSchemaJson withSpecUri(@Nullable String specUri) { + public AuthenticationSchema withSpecUri(@Nullable String specUri) { this.specUri = specUri; return this; } @@ -155,7 +155,7 @@ public AuthenticationSchemaJson withSpecUri(@Nullable String specUri) { /** * The location of the API documentation. */ - public AuthenticationSchemaJson withDocumentationUri(@Nullable String documentationUri) { + public AuthenticationSchema withDocumentationUri(@Nullable String documentationUri) { this.documentationUri = documentationUri; return this; } @@ -163,7 +163,7 @@ public AuthenticationSchemaJson withDocumentationUri(@Nullable String documentat /** * The type of the authentication. */ - public AuthenticationSchemaJson withType(@Nullable String type) { + public AuthenticationSchema withType(@Nullable String type) { this.type = type; return this; } @@ -171,7 +171,7 @@ public AuthenticationSchemaJson withType(@Nullable String type) { /** * True indicates the authentication is primary. */ - public AuthenticationSchemaJson withPrimary(@Nullable Boolean primary) { + public AuthenticationSchema withPrimary(@Nullable Boolean primary) { this.primary = primary; return this; } @@ -184,7 +184,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AuthenticationSchemaJson other = (AuthenticationSchemaJson) o; + AuthenticationSchema other = (AuthenticationSchema) o; return Utils.enhancedDeepEquals(this.name, other.name) && Utils.enhancedDeepEquals(this.description, other.description) && Utils.enhancedDeepEquals(this.specUri, other.specUri) @@ -201,7 +201,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - AuthenticationSchemaJson.class, + AuthenticationSchema.class, "name", name, "description", @@ -283,8 +283,8 @@ public Builder primary(@Nullable Boolean primary) { return this; } - public AuthenticationSchemaJson build() { - return new AuthenticationSchemaJson(name, description, specUri, documentationUri, type, primary); + public AuthenticationSchema build() { + return new AuthenticationSchema(name, description, specUri, documentationUri, type, primary); } } } 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 fa2f890d7..9f9f67297 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 EmailTypeJson1 emailType; + private EmailTypeJson 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 EmailTypeJson1 emailType, + @JsonProperty("emailType") @Nullable EmailTypeJson 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 EmailTypeJson1 emailType) { + public BounceDetailsJson withEmailType(@Nullable EmailTypeJson emailType) { this.emailType = emailType; return this; } @@ -413,7 +413,7 @@ public static final class Builder { private String productId; - private EmailTypeJson1 emailType; + private EmailTypeJson emailType; private String emailId; @@ -498,7 +498,7 @@ public Builder productId(@Nullable String productId) { /** * Denotes the type of the email. */ - public Builder emailType(@Nullable EmailTypeJson1 emailType) { + public Builder emailType(@Nullable EmailTypeJson emailType) { this.emailType = emailType; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2.java b/packages/java/src/main/java/com/cvent/models/components/Choice2.java similarity index 73% rename from packages/java/src/main/java/com/cvent/models/components/ChoiceJson2.java rename to packages/java/src/main/java/com/cvent/models/components/Choice2.java index bf1d87352..0e4608a2d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2.java +++ b/packages/java/src/main/java/com/cvent/models/components/Choice2.java @@ -15,13 +15,13 @@ import java.util.Optional; /** - * ChoiceJson2 + * Choice2 * - *

This is used to denote the choice of custom field. + *

This is used to denote the choice of question. */ -public class ChoiceJson2 { +public class Choice2 { /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice + * The ID of the question 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. */ @@ -30,23 +30,23 @@ public class ChoiceJson2 { private String id; /** - * The text for the custom field choice. + * The text for the question choice. */ @JsonProperty("text") private String text; @JsonCreator - public ChoiceJson2(@JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nonnull String text) { + public Choice2(@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 ChoiceJson2(@Nonnull String text) { + public Choice2(@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 + * The ID of the question 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. */ @@ -55,7 +55,7 @@ public Optional id() { } /** - * The text for the custom field choice. + * The text for the question choice. */ public String text() { return this.text; @@ -66,19 +66,19 @@ public static Builder builder() { } /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice + * The ID of the question 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) { + public Choice2 withId(@Nullable String id) { this.id = id; return this; } /** - * The text for the custom field choice. + * The text for the question choice. */ - public ChoiceJson2 withText(@Nonnull String text) { + public Choice2 withText(@Nonnull String text) { this.text = Utils.checkNotNull(text, "text"); return this; } @@ -91,7 +91,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ChoiceJson2 other = (ChoiceJson2) o; + Choice2 other = (Choice2) o; return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text); } @@ -102,7 +102,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(ChoiceJson2.class, "id", id, "text", text); + return Utils.toString(Choice2.class, "id", id, "text", text); } @SuppressWarnings("UnusedReturnValue") @@ -117,7 +117,7 @@ private Builder() { } /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice + * The ID of the question 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. */ @@ -127,15 +127,15 @@ public Builder id(@Nullable String id) { } /** - * The text for the custom field choice. + * The text for the question choice. */ public Builder text(@Nonnull String text) { this.text = Utils.checkNotNull(text, "text"); return this; } - public ChoiceJson2 build() { - return new ChoiceJson2(id, text); + public Choice2 build() { + return new Choice2(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/Choice2Input.java similarity index 72% rename from packages/java/src/main/java/com/cvent/models/components/ChoiceJson2Input.java rename to packages/java/src/main/java/com/cvent/models/components/Choice2Input.java index 3444a2b92..86238e302 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2Input.java +++ b/packages/java/src/main/java/com/cvent/models/components/Choice2Input.java @@ -12,24 +12,24 @@ import java.util.Optional; /** - * ChoiceJson2Input + * Choice2Input * - *

This is used to denote the choice of custom field. + *

This is used to denote the choice of question. */ -public class ChoiceJson2Input { +public class Choice2Input { /** - * The text for the custom field choice. + * The text for the question choice. */ @JsonProperty("text") private String text; @JsonCreator - public ChoiceJson2Input(@JsonProperty("text") @Nonnull String text) { + public Choice2Input(@JsonProperty("text") @Nonnull String text) { this.text = Optional.ofNullable(text).orElseThrow(() -> new IllegalArgumentException("text cannot be null")); } /** - * The text for the custom field choice. + * The text for the question choice. */ public String text() { return this.text; @@ -40,9 +40,9 @@ public static Builder builder() { } /** - * The text for the custom field choice. + * The text for the question choice. */ - public ChoiceJson2Input withText(@Nonnull String text) { + public Choice2Input withText(@Nonnull String text) { this.text = Utils.checkNotNull(text, "text"); return this; } @@ -55,7 +55,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ChoiceJson2Input other = (ChoiceJson2Input) o; + Choice2Input other = (Choice2Input) o; return Utils.enhancedDeepEquals(this.text, other.text); } @@ -66,7 +66,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(ChoiceJson2Input.class, "text", text); + return Utils.toString(Choice2Input.class, "text", text); } @SuppressWarnings("UnusedReturnValue") @@ -79,15 +79,15 @@ private Builder() { } /** - * The text for the custom field choice. + * The text for the question choice. */ public Builder text(@Nonnull String text) { this.text = Utils.checkNotNull(text, "text"); return this; } - public ChoiceJson2Input build() { - return new ChoiceJson2Input(text); + public Choice2Input build() { + return new Choice2Input(text); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceTranslationJson.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceTranslation.java similarity index 84% rename from packages/java/src/main/java/com/cvent/models/components/ChoiceTranslationJson.java rename to packages/java/src/main/java/com/cvent/models/components/ChoiceTranslation.java index e9eeab510..25bb6fbc0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceTranslationJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ChoiceTranslation.java @@ -14,11 +14,11 @@ import java.util.Optional; /** - * ChoiceTranslationJson + * ChoiceTranslation * *

This is used to denote that the translation for the choice text of a custom field. */ -public class ChoiceTranslationJson { +public class ChoiceTranslation { /** * The ID of the choice that this translation is associated with. */ @@ -34,14 +34,14 @@ public class ChoiceTranslationJson { private String translatedText; @JsonCreator - public ChoiceTranslationJson( + public ChoiceTranslation( @JsonProperty("choiceId") @Nullable String choiceId, @JsonProperty("translatedText") @Nullable String translatedText) { this.choiceId = choiceId; this.translatedText = translatedText; } - public ChoiceTranslationJson() { + public ChoiceTranslation() { this(null, null); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * The ID of the choice that this translation is associated with. */ - public ChoiceTranslationJson withChoiceId(@Nullable String choiceId) { + public ChoiceTranslation withChoiceId(@Nullable String choiceId) { this.choiceId = choiceId; return this; } @@ -74,7 +74,7 @@ public ChoiceTranslationJson withChoiceId(@Nullable String choiceId) { /** * Translation for the choice text of a custom field. */ - public ChoiceTranslationJson withTranslatedText(@Nullable String translatedText) { + public ChoiceTranslation withTranslatedText(@Nullable String translatedText) { this.translatedText = translatedText; return this; } @@ -87,7 +87,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ChoiceTranslationJson other = (ChoiceTranslationJson) o; + ChoiceTranslation other = (ChoiceTranslation) o; return Utils.enhancedDeepEquals(this.choiceId, other.choiceId) && Utils.enhancedDeepEquals(this.translatedText, other.translatedText); } @@ -99,7 +99,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(ChoiceTranslationJson.class, "choiceId", choiceId, "translatedText", translatedText); + return Utils.toString(ChoiceTranslation.class, "choiceId", choiceId, "translatedText", translatedText); } @SuppressWarnings("UnusedReturnValue") @@ -129,8 +129,8 @@ public Builder translatedText(@Nullable String translatedText) { return this; } - public ChoiceTranslationJson build() { - return new ChoiceTranslationJson(choiceId, translatedText); + public ChoiceTranslation build() { + return new ChoiceTranslation(choiceId, translatedText); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Three.java b/packages/java/src/main/java/com/cvent/models/components/Choices1.java similarity index 75% rename from packages/java/src/main/java/com/cvent/models/components/Three.java rename to packages/java/src/main/java/com/cvent/models/components/Choices1.java index b90c49c8c..97ecafdd1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Three.java +++ b/packages/java/src/main/java/com/cvent/models/components/Choices1.java @@ -15,17 +15,17 @@ import java.util.Optional; /** - * Three + * Choices1 * *

Choices for a custom field. */ -public class Three { +public class Choices1 { /** * Choices of custom fields. */ @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 @@ -34,24 +34,24 @@ public class Three { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("displayType") - private ChoicesDisplayTypeJson displayType; + private DisplayType1 displayType; @JsonCreator - public Three( - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("displayType") @Nullable ChoicesDisplayTypeJson displayType) { + public Choices1( + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("displayType") @Nullable DisplayType1 displayType) { this.choices = choices; this.displayType = displayType; } - public Three() { + public Choices1() { this(null, null); } /** * Choices of custom fields. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } @@ -60,7 +60,7 @@ public Optional> choices() { * type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to * MultiSelectBox. */ - public Optional displayType() { + public Optional displayType() { return Optional.ofNullable(this.displayType); } @@ -71,7 +71,7 @@ public static Builder builder() { /** * Choices of custom fields. */ - public Three withChoices(@Nullable List choices) { + public Choices1 withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -81,7 +81,7 @@ public Three withChoices(@Nullable List choices) { * type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to * MultiSelectBox. */ - public Three withDisplayType(@Nullable ChoicesDisplayTypeJson displayType) { + public Choices1 withDisplayType(@Nullable DisplayType1 displayType) { this.displayType = displayType; return this; } @@ -94,7 +94,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Three other = (Three) o; + Choices1 other = (Choices1) o; return Utils.enhancedDeepEquals(this.choices, other.choices) && Utils.enhancedDeepEquals(this.displayType, other.displayType); } @@ -106,15 +106,15 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(Three.class, "choices", choices, "displayType", displayType); + return Utils.toString(Choices1.class, "choices", choices, "displayType", displayType); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List choices; + private List choices; - private ChoicesDisplayTypeJson displayType; + private DisplayType1 displayType; private Builder() { // force use of static builder() method @@ -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; } @@ -133,13 +133,13 @@ public Builder choices(@Nullable List choices) { * type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to * MultiSelectBox. */ - public Builder displayType(@Nullable ChoicesDisplayTypeJson displayType) { + public Builder displayType(@Nullable DisplayType1 displayType) { this.displayType = displayType; return this; } - public Three build() { - return new Three(choices, displayType); + public Choices1 build() { + return new Choices1(choices, displayType); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Choices.java b/packages/java/src/main/java/com/cvent/models/components/Choices1Input.java similarity index 74% rename from packages/java/src/main/java/com/cvent/models/components/Choices.java rename to packages/java/src/main/java/com/cvent/models/components/Choices1Input.java index 62bef1f41..cce5ec941 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Choices.java +++ b/packages/java/src/main/java/com/cvent/models/components/Choices1Input.java @@ -15,17 +15,17 @@ import java.util.Optional; /** - * Choices + * Choices1Input * *

Choices for a custom field. */ -public class Choices { +public class Choices1Input { /** * Choices of custom fields. */ @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 @@ -34,24 +34,24 @@ public class Choices { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("displayType") - private ChoicesDisplayTypeJson displayType; + private DisplayType1 displayType; @JsonCreator - public Choices( - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("displayType") @Nullable ChoicesDisplayTypeJson displayType) { + public Choices1Input( + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("displayType") @Nullable DisplayType1 displayType) { this.choices = choices; this.displayType = displayType; } - public Choices() { + public Choices1Input() { this(null, null); } /** * Choices of custom fields. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } @@ -60,7 +60,7 @@ public Optional> choices() { * type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to * MultiSelectBox. */ - public Optional displayType() { + public Optional displayType() { return Optional.ofNullable(this.displayType); } @@ -71,7 +71,7 @@ public static Builder builder() { /** * Choices of custom fields. */ - public Choices withChoices(@Nullable List choices) { + public Choices1Input withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -81,7 +81,7 @@ public Choices withChoices(@Nullable List choices) { * type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to * MultiSelectBox. */ - public Choices withDisplayType(@Nullable ChoicesDisplayTypeJson displayType) { + public Choices1Input withDisplayType(@Nullable DisplayType1 displayType) { this.displayType = displayType; return this; } @@ -94,7 +94,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Choices other = (Choices) o; + Choices1Input other = (Choices1Input) o; return Utils.enhancedDeepEquals(this.choices, other.choices) && Utils.enhancedDeepEquals(this.displayType, other.displayType); } @@ -106,15 +106,15 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(Choices.class, "choices", choices, "displayType", displayType); + return Utils.toString(Choices1Input.class, "choices", choices, "displayType", displayType); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List choices; + private List choices; - private ChoicesDisplayTypeJson displayType; + private DisplayType1 displayType; private Builder() { // force use of static builder() method @@ -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; } @@ -133,13 +133,13 @@ public Builder choices(@Nullable List choices) { * type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to * MultiSelectBox. */ - public Builder displayType(@Nullable ChoicesDisplayTypeJson displayType) { + public Builder displayType(@Nullable DisplayType1 displayType) { this.displayType = displayType; return this; } - public Choices build() { - return new Choices(choices, displayType); + public Choices1Input build() { + return new Choices1Input(choices, displayType); } } } 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 e3ae48282..5f250cb01 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 @@ -27,7 +27,7 @@ public class CustomField3 { * This is used to denote the category of a custom field. */ @JsonProperty("category") - private CustomFieldCategoryJson category; + private CustomFieldCategory category; /** * The actual text of the custom field. @@ -53,7 +53,7 @@ public class CustomField3 { * are read only. */ @JsonProperty("type") - private CustomFieldTypeJson type; + private CustomFieldType2 type; /** * Type-specific details of the custom-field. @@ -78,7 +78,7 @@ public class CustomField3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("displayInDataTag") - private DisplayInDataTagJson displayInDataTag; + private DisplayInDataTag displayInDataTag; /** * Default text in emails when a contact does not have a value answered for this custom field. Only @@ -115,23 +115,23 @@ public class CustomField3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("pageVisibility") - private PageVisibilityJson pageVisibility; + private PageVisibility pageVisibility; @JsonCreator public CustomField3( - @JsonProperty("category") @Nonnull CustomFieldCategoryJson category, + @JsonProperty("category") @Nonnull CustomFieldCategory category, @JsonProperty("name") @Nonnull String name, @JsonProperty("code") @Nonnull String code, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("type") @Nonnull CustomFieldTypeJson type, + @JsonProperty("type") @Nonnull CustomFieldType2 type, @JsonProperty("details") @Nullable CustomField3Details details, @JsonProperty("helpText") @Nullable String helpText, - @JsonProperty("displayInDataTag") @Nullable DisplayInDataTagJson displayInDataTag, + @JsonProperty("displayInDataTag") @Nullable DisplayInDataTag displayInDataTag, @JsonProperty("defaultTagText") @Nullable String defaultTagText, @JsonProperty("consentField") @Nullable Boolean consentField, @JsonProperty("active") @Nullable Boolean active, @JsonProperty("displayInEventCreationWizard") @Nullable Boolean displayInEventCreationWizard, - @JsonProperty("pageVisibility") @Nullable PageVisibilityJson pageVisibility) { + @JsonProperty("pageVisibility") @Nullable PageVisibility pageVisibility) { this.category = Optional.ofNullable(category) .orElseThrow(() -> new IllegalArgumentException("category cannot be null")); this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); @@ -151,17 +151,17 @@ public CustomField3( } public CustomField3( - @Nonnull CustomFieldCategoryJson category, + @Nonnull CustomFieldCategory category, @Nonnull String name, @Nonnull String code, - @Nonnull CustomFieldTypeJson type) { + @Nonnull CustomFieldType2 type) { this(category, name, code, null, type, null, null, null, null, null, null, null, null); } /** * This is used to denote the category of a custom field. */ - public CustomFieldCategoryJson category() { + public CustomFieldCategory category() { return this.category; } @@ -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 CustomFieldTypeJson type() { + public CustomFieldType2 type() { return this.type; } @@ -215,7 +215,7 @@ public Optional helpText() { * *

Only applicable to session custom fields. */ - public Optional displayInDataTag() { + public Optional displayInDataTag() { return Optional.ofNullable(this.displayInDataTag); } @@ -252,7 +252,7 @@ public Optional displayInEventCreationWizard() { /** * Visibility of the custom field on various pages/forms. */ - public Optional pageVisibility() { + public Optional pageVisibility() { return Optional.ofNullable(this.pageVisibility); } @@ -263,7 +263,7 @@ public static Builder builder() { /** * This is used to denote the category of a custom field. */ - public CustomField3 withCategory(@Nonnull CustomFieldCategoryJson category) { + public CustomField3 withCategory(@Nonnull CustomFieldCategory category) { this.category = Utils.checkNotNull(category, "category"); return this; } @@ -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 CustomFieldTypeJson type) { + public CustomField3 withType(@Nonnull CustomFieldType2 type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -324,7 +324,7 @@ public CustomField3 withHelpText(@Nullable String helpText) { * *

Only applicable to session custom fields. */ - public CustomField3 withDisplayInDataTag(@Nullable DisplayInDataTagJson displayInDataTag) { + public CustomField3 withDisplayInDataTag(@Nullable DisplayInDataTag displayInDataTag) { this.displayInDataTag = displayInDataTag; return this; } @@ -366,7 +366,7 @@ public CustomField3 withDisplayInEventCreationWizard(@Nullable Boolean displayIn /** * Visibility of the custom field on various pages/forms. */ - public CustomField3 withPageVisibility(@Nullable PageVisibilityJson pageVisibility) { + public CustomField3 withPageVisibility(@Nullable PageVisibility pageVisibility) { this.pageVisibility = pageVisibility; return this; } @@ -448,7 +448,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private CustomFieldCategoryJson category; + private CustomFieldCategory category; private String name; @@ -456,13 +456,13 @@ public static final class Builder { private Boolean required; - private CustomFieldTypeJson type; + private CustomFieldType2 type; private CustomField3Details details; private String helpText; - private DisplayInDataTagJson displayInDataTag; + private DisplayInDataTag displayInDataTag; private String defaultTagText; @@ -472,7 +472,7 @@ public static final class Builder { private Boolean displayInEventCreationWizard; - private PageVisibilityJson pageVisibility; + private PageVisibility pageVisibility; private Builder() { // force use of static builder() method @@ -481,7 +481,7 @@ private Builder() { /** * This is used to denote the category of a custom field. */ - public Builder category(@Nonnull CustomFieldCategoryJson category) { + public Builder category(@Nonnull CustomFieldCategory category) { this.category = Utils.checkNotNull(category, "category"); return this; } @@ -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 CustomFieldTypeJson type) { + public Builder type(@Nonnull CustomFieldType2 type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -542,7 +542,7 @@ public Builder helpText(@Nullable String helpText) { * *

Only applicable to session custom fields. */ - public Builder displayInDataTag(@Nullable DisplayInDataTagJson displayInDataTag) { + public Builder displayInDataTag(@Nullable DisplayInDataTag displayInDataTag) { this.displayInDataTag = displayInDataTag; return this; } @@ -584,7 +584,7 @@ public Builder displayInEventCreationWizard(@Nullable Boolean displayInEventCrea /** * Visibility of the custom field on various pages/forms. */ - public Builder pageVisibility(@Nullable PageVisibilityJson pageVisibility) { + public Builder pageVisibility(@Nullable PageVisibility pageVisibility) { this.pageVisibility = pageVisibility; return this; } @@ -609,8 +609,8 @@ public CustomField3 build() { private static final LazySingletonValue _SINGLETON_VALUE_Required = new LazySingletonValue<>("required", "true", new TypeReference() {}); - private static final LazySingletonValue _SINGLETON_VALUE_DisplayInDataTag = - new LazySingletonValue<>("displayInDataTag", "\"No\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_DisplayInDataTag = + new LazySingletonValue<>("displayInDataTag", "\"No\"", new TypeReference() {}); private static final LazySingletonValue _SINGLETON_VALUE_ConsentField = new LazySingletonValue<>("consentField", "false", new TypeReference() {}); diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomField3Details.java b/packages/java/src/main/java/com/cvent/models/components/CustomField3Details.java index 1bac1e38f..93de9d4ba 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomField3Details.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomField3Details.java @@ -35,7 +35,7 @@ public static CustomField3Details of(OpenEndedOneLine value) { return new CustomField3Details(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static CustomField3Details of(OpenEndedDateTime value) { + public static CustomField3Details of(OpenEndedDateTime1 value) { Utils.checkNotNull(value, "value"); return new CustomField3Details(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -45,7 +45,7 @@ public static CustomField3Details of(OpenEndedCommentBox value) { return new CustomField3Details(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static CustomField3Details of(Choices value) { + public static CustomField3Details of(Choices1Input value) { Utils.checkNotNull(value, "value"); return new CustomField3Details(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -54,9 +54,9 @@ public static CustomField3Details of(Choices value) { * Returns an instance of one of these types: *

    *
  • {@code com.cvent.models.components.OpenEndedOneLine}
  • - *
  • {@code com.cvent.models.components.OpenEndedDateTime}
  • + *
  • {@code com.cvent.models.components.OpenEndedDateTime1}
  • *
  • {@code com.cvent.models.components.OpenEndedCommentBox}
  • - *
  • {@code com.cvent.models.components.Choices}
  • + *
  • {@code com.cvent.models.components.Choices1Input}
  • *
* *

Use {@code instanceof} to determine what type is returned. For example: @@ -99,9 +99,9 @@ public _Deserializer() { CustomField3Details.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)); + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldCategoryJson.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldCategory.java similarity index 76% rename from packages/java/src/main/java/com/cvent/models/components/CustomFieldCategoryJson.java rename to packages/java/src/main/java/com/cvent/models/components/CustomFieldCategory.java index 8203e9dac..ebb22ee6a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldCategoryJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldCategory.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * CustomFieldCategoryJson + * CustomFieldCategory * *

This is used to denote the category of a custom field. */ -public enum CustomFieldCategoryJson { +public enum CustomFieldCategory { CONTACT("Contact"), SESSION("Session"), EVENT("Event"), @@ -29,7 +29,7 @@ public enum CustomFieldCategoryJson { @JsonValue private final String value; - CustomFieldCategoryJson(String value) { + CustomFieldCategory(String value) { this.value = value; } @@ -37,8 +37,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (CustomFieldCategoryJson o : CustomFieldCategoryJson.values()) { + public static Optional fromValue(String value) { + for (CustomFieldCategory o : CustomFieldCategory.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldType2.java similarity index 80% rename from packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/CustomFieldType2.java index 0f0ef24a6..562c295f6 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldType2.java @@ -9,12 +9,12 @@ import java.util.Optional; /** - * CustomFieldTypeJson + * CustomFieldType2 * *

This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ -public enum CustomFieldTypeJson { +public enum CustomFieldType2 { 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"), @@ -25,7 +25,7 @@ public enum CustomFieldTypeJson { @JsonValue private final String value; - CustomFieldTypeJson(String value) { + CustomFieldType2(String value) { this.value = value; } @@ -33,8 +33,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (CustomFieldTypeJson o : CustomFieldTypeJson.values()) { + public static Optional fromValue(String value) { + for (CustomFieldType2 o : CustomFieldType2.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldsPaginatedResponse.java index 8eae2abce..09e24739a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldsPaginatedResponse.java @@ -23,7 +23,7 @@ public class CustomFieldsPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of custom fields. @@ -33,7 +33,7 @@ public class CustomFieldsPaginatedResponse { @JsonCreator public CustomFieldsPaginatedResponse( - @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 CustomFieldsPaginatedResponse( /** * 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 CustomFieldsPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public CustomFieldsPaginatedResponse 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/DateTimeDisplayFormatJson.java b/packages/java/src/main/java/com/cvent/models/components/DateTimeDisplayFormat.java similarity index 78% rename from packages/java/src/main/java/com/cvent/models/components/DateTimeDisplayFormatJson.java rename to packages/java/src/main/java/com/cvent/models/components/DateTimeDisplayFormat.java index 7ba60bf2d..a06a424e7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/DateTimeDisplayFormatJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/DateTimeDisplayFormat.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * DateTimeDisplayFormatJson + * DateTimeDisplayFormat * *

This is used to denote the display format type of date time type custom field. */ -public enum DateTimeDisplayFormatJson { +public enum DateTimeDisplayFormat { DATE_AND_TIME_MONTH_FIRST12_HOUR_TIME("DateAndTimeMonthFirst12HourTime"), DATE_AND_TIME_MONTH_FIRST24_HOUR_TIME("DateAndTimeMonthFirst24HourTime"), DATE_ONLY_MONTH_FIRST("DateOnlyMonthFirst"), @@ -24,7 +24,7 @@ public enum DateTimeDisplayFormatJson { @JsonValue private final String value; - DateTimeDisplayFormatJson(String value) { + DateTimeDisplayFormat(String value) { this.value = value; } @@ -32,8 +32,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (DateTimeDisplayFormatJson o : DateTimeDisplayFormatJson.values()) { + public static Optional fromValue(String value) { + for (DateTimeDisplayFormat o : DateTimeDisplayFormat.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/DisplayInDataTagJson.java b/packages/java/src/main/java/com/cvent/models/components/DisplayInDataTag.java similarity index 79% rename from packages/java/src/main/java/com/cvent/models/components/DisplayInDataTagJson.java rename to packages/java/src/main/java/com/cvent/models/components/DisplayInDataTag.java index f66c0bb74..ed3a07cd0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/DisplayInDataTagJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/DisplayInDataTag.java @@ -9,7 +9,7 @@ import java.util.Optional; /** - * DisplayInDataTagJson + * DisplayInDataTag * *

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 @@ -17,7 +17,7 @@ * *

Only applicable to session custom fields. */ -public enum DisplayInDataTagJson { +public enum DisplayInDataTag { YES("Yes"), NO("No"), ONLY_WHEN_ANSWERED("Only when answered"); @@ -25,7 +25,7 @@ public enum DisplayInDataTagJson { @JsonValue private final String value; - DisplayInDataTagJson(String value) { + DisplayInDataTag(String value) { this.value = value; } @@ -33,8 +33,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (DisplayInDataTagJson o : DisplayInDataTagJson.values()) { + public static Optional fromValue(String value) { + for (DisplayInDataTag o : DisplayInDataTag.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoicesDisplayTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/DisplayType1.java similarity index 77% rename from packages/java/src/main/java/com/cvent/models/components/ChoicesDisplayTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/DisplayType1.java index 5a3bdb13c..c1a1c5f3c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ChoicesDisplayTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/DisplayType1.java @@ -9,13 +9,13 @@ import java.util.Optional; /** - * ChoicesDisplayTypeJson + * DisplayType1 * *

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. */ -public enum ChoicesDisplayTypeJson { +public enum DisplayType1 { DROPDOWN("Dropdown"), VERTICAL("Vertical"), HORIZONTAL("Horizontal"), @@ -24,7 +24,7 @@ public enum ChoicesDisplayTypeJson { @JsonValue private final String value; - ChoicesDisplayTypeJson(String value) { + DisplayType1(String value) { this.value = value; } @@ -32,8 +32,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (ChoicesDisplayTypeJson o : ChoicesDisplayTypeJson.values()) { + public static Optional fromValue(String value) { + for (DisplayType1 o : DisplayType1.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/Email.java b/packages/java/src/main/java/com/cvent/models/components/Email.java new file mode 100644 index 000000000..69b9646f5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Email.java @@ -0,0 +1,180 @@ +/* + * 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; + +/** + * Email + * + *

Email + */ +public class Email { + /** + * The type of the email. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private EmailType1 type; + + /** + * The email of the user. + */ + @JsonProperty("value") + private String value; + + /** + * True indicates the email is primary. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("primary") + private Boolean primary; + + @JsonCreator + public Email( + @JsonProperty("type") @Nullable EmailType1 type, + @JsonProperty("value") @Nonnull String value, + @JsonProperty("primary") @Nullable Boolean primary) { + this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + this.primary = Optional.ofNullable(primary).orElse(Builder._SINGLETON_VALUE_Primary.value()); + } + + public Email(@Nonnull String value) { + this(null, value, null); + } + + /** + * The type of the email. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The email of the user. + */ + public String value() { + return this.value; + } + + /** + * True indicates the email is primary. + */ + public Optional primary() { + return Optional.ofNullable(this.primary); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The type of the email. + */ + public Email withType(@Nullable EmailType1 type) { + this.type = type; + return this; + } + + /** + * The email of the user. + */ + public Email withValue(@Nonnull String value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * True indicates the email is primary. + */ + public Email 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; + } + Email other = (Email) o; + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.primary, other.primary); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(type, value, primary); + } + + @Override + public String toString() { + return Utils.toString(Email.class, "type", type, "value", value, "primary", primary); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private EmailType1 type; + + private String value; + + private Boolean primary; + + private Builder() { + // force use of static builder() method + } + + /** + * The type of the email. + */ + public Builder type(@Nullable EmailType1 type) { + this.type = type; + return this; + } + + /** + * The email of the user. + */ + public Builder value(@Nonnull String value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * True indicates the email is primary. + */ + public Builder primary(@Nullable Boolean primary) { + this.primary = primary; + return this; + } + + public Email build() { + return new Email(type, value, primary); + } + + 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/EmailHistoryJson.java b/packages/java/src/main/java/com/cvent/models/components/EmailHistoryJson.java index 80d32b35b..797605309 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 EmailTypeJson1 type; + private EmailTypeJson 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 EmailTypeJson1 type, + @JsonProperty("type") @Nullable EmailTypeJson 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 EmailTypeJson1 type) { + public EmailHistoryJson withType(@Nullable EmailTypeJson type) { this.type = type; return this; } @@ -660,7 +660,7 @@ public static final class Builder { private String to; - private EmailTypeJson1 type; + private EmailTypeJson type; private OffsetDateTime sent; @@ -773,7 +773,7 @@ public Builder to(@Nullable String to) { /** * Denotes the type of the email. */ - public Builder type(@Nullable EmailTypeJson1 type) { + public Builder type(@Nullable EmailTypeJson 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 512057dbf..d7247ed98 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 @@ -3,16 +3,10 @@ */ 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; @@ -20,62 +14,25 @@ /** * EmailJson1 * - *

Email + *

Details of an email to be send. */ public class EmailJson1 { /** - * The type of the email. + * The unique ID of the email to be sent. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private EmailTypeJson type; - - /** - * The email of the user. - */ - @JsonProperty("value") - private String value; - - /** - * True indicates the email is primary. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("primary") - private Boolean primary; + @JsonProperty("id") + private String id; @JsonCreator - public EmailJson1( - @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()); - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - this.primary = Optional.ofNullable(primary).orElse(Builder._SINGLETON_VALUE_Primary.value()); - } - - public EmailJson1(@Nonnull String value) { - this(null, value, null); - } - - /** - * The type of the email. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The email of the user. - */ - public String value() { - return this.value; + public EmailJson1(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } /** - * True indicates the email is primary. + * The unique ID of the email to be sent. */ - public Optional primary() { - return Optional.ofNullable(this.primary); + public String id() { + return this.id; } public static Builder builder() { @@ -83,26 +40,10 @@ public static Builder builder() { } /** - * The type of the email. - */ - public EmailJson1 withType(@Nullable EmailTypeJson type) { - this.type = type; - return this; - } - - /** - * The email of the user. - */ - public EmailJson1 withValue(@Nonnull String value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * True indicates the email is primary. + * The unique ID of the email to be sent. */ - public EmailJson1 withPrimary(@Nullable Boolean primary) { - this.primary = primary; + public EmailJson1 withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); return this; } @@ -115,66 +56,38 @@ public boolean equals(java.lang.Object o) { return false; } EmailJson1 other = (EmailJson1) o; - return Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.primary, other.primary); + return Utils.enhancedDeepEquals(this.id, other.id); } @Override public int hashCode() { - return Utils.enhancedHash(type, value, primary); + return Utils.enhancedHash(id); } @Override public String toString() { - return Utils.toString(EmailJson1.class, "type", type, "value", value, "primary", primary); + return Utils.toString(EmailJson1.class, "id", id); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private EmailTypeJson type; - - private String value; - - private Boolean primary; + private String id; private Builder() { // force use of static builder() method } /** - * The type of the email. - */ - public Builder type(@Nullable EmailTypeJson type) { - this.type = type; - return this; - } - - /** - * The email of the user. - */ - public Builder value(@Nonnull String value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * True indicates the email is primary. + * The unique ID of the email to be sent. */ - public Builder primary(@Nullable Boolean primary) { - this.primary = primary; + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); return this; } public EmailJson1 build() { - return new EmailJson1(type, value, primary); + return new EmailJson1(id); } - - 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/EmailJson2.java b/packages/java/src/main/java/com/cvent/models/components/EmailJson2.java deleted file mode 100644 index dc93f6b69..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EmailJson2.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; - -/** - * EmailJson2 - * - *

Details of an email to be send. - */ -public class EmailJson2 { - /** - * The unique ID of the email to be sent. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public EmailJson2(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The unique ID of the email to be sent. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the email to be sent. - */ - public EmailJson2 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; - } - EmailJson2 other = (EmailJson2) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EmailJson2.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 email to be sent. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public EmailJson2 build() { - return new EmailJson2(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EmailType1.java b/packages/java/src/main/java/com/cvent/models/components/EmailType1.java new file mode 100644 index 000000000..7dec304d8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EmailType1.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; + +/** + * EmailType1 + * + *

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

The type of the email. + *

Denotes the type of the email. */ public enum EmailTypeJson { - 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/EmailTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson1.java deleted file mode 100644 index 25c75ef61..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson1.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; - -/** - * EmailTypeJson1 - * - *

Denotes the type of the email. - */ -public enum EmailTypeJson1 { - 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; - - EmailTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (EmailTypeJson1 o : EmailTypeJson1.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/ErrorResponse2.java b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse.java similarity index 87% rename from packages/java/src/main/java/com/cvent/models/components/ErrorResponse2.java rename to packages/java/src/main/java/com/cvent/models/components/ErrorResponse.java index c943152ad..260fa3e59 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ErrorResponse2.java +++ b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse.java @@ -16,11 +16,11 @@ import java.util.Optional; /** - * ErrorResponse2 + * ErrorResponse * *

Represents an error response with additional details of cascading error messages. */ -public class ErrorResponse2 { +public class ErrorResponse { /** * The HTTP status code representing the error. */ @@ -48,7 +48,7 @@ public class ErrorResponse2 { private List details; @JsonCreator - public ErrorResponse2( + public ErrorResponse( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, @@ -60,7 +60,7 @@ public ErrorResponse2( this.details = details; } - public ErrorResponse2(long code, @Nonnull String message) { + public ErrorResponse(long code, @Nonnull String message) { this(code, message, null, null); } @@ -99,7 +99,7 @@ public static Builder builder() { /** * The HTTP status code representing the error. */ - public ErrorResponse2 withCode(long code) { + public ErrorResponse withCode(long code) { this.code = code; return this; } @@ -107,7 +107,7 @@ public ErrorResponse2 withCode(long code) { /** * A brief description of the error. */ - public ErrorResponse2 withMessage(@Nonnull String message) { + public ErrorResponse withMessage(@Nonnull String message) { this.message = Utils.checkNotNull(message, "message"); return this; } @@ -115,7 +115,7 @@ public ErrorResponse2 withMessage(@Nonnull String message) { /** * The target resource of the error. */ - public ErrorResponse2 withTarget(@Nullable String target) { + public ErrorResponse withTarget(@Nullable String target) { this.target = target; return this; } @@ -123,7 +123,7 @@ public ErrorResponse2 withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public ErrorResponse2 withDetails(@Nullable List details) { + public ErrorResponse withDetails(@Nullable List details) { this.details = details; return this; } @@ -136,7 +136,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ErrorResponse2 other = (ErrorResponse2) o; + ErrorResponse other = (ErrorResponse) o; return Utils.enhancedDeepEquals(this.code, other.code) && Utils.enhancedDeepEquals(this.message, other.message) && Utils.enhancedDeepEquals(this.target, other.target) @@ -151,7 +151,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - ErrorResponse2.class, "code", code, "message", message, "target", target, "details", details); + ErrorResponse.class, "code", code, "message", message, "target", target, "details", details); } @SuppressWarnings("UnusedReturnValue") @@ -201,8 +201,8 @@ public Builder details(@Nullable List details) { return this; } - public ErrorResponse2 build() { - return new ErrorResponse2(code, message, target, details); + public ErrorResponse build() { + return new ErrorResponse(code, message, target, details); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ErrorScimTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ErrorScimType.java similarity index 76% rename from packages/java/src/main/java/com/cvent/models/components/ErrorScimTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/ErrorScimType.java index a1aeb59ed..82e14fbf4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ErrorScimTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ErrorScimType.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * ErrorScimTypeJson + * ErrorScimType * *

This is used to denote the scim type of the error. */ -public enum ErrorScimTypeJson { +public enum ErrorScimType { INVALID_FILTER("invalidFilter"), UNIQUENESS("uniqueness"), INVALID_SYNTAX("invalidSyntax"), @@ -22,7 +22,7 @@ public enum ErrorScimTypeJson { @JsonValue private final String value; - ErrorScimTypeJson(String value) { + ErrorScimType(String value) { this.value = value; } @@ -30,8 +30,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (ErrorScimTypeJson o : ErrorScimTypeJson.values()) { + public static Optional fromValue(String value) { + for (ErrorScimType o : ErrorScimType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } 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 923716dcb..89c3b0e0c 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 @@ -57,7 +57,7 @@ public class ExistingCustomField { * This is used to denote the category of a custom field. */ @JsonProperty("category") - private CustomFieldCategoryJson category; + private CustomFieldCategory category; /** * The actual text of the custom field. @@ -83,7 +83,7 @@ public class ExistingCustomField { * are read only. */ @JsonProperty("type") - private CustomFieldTypeJson type; + private CustomFieldType2 type; /** * Type-specific details of the custom-field. @@ -115,7 +115,7 @@ public class ExistingCustomField { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("displayInDataTag") - private DisplayInDataTagJson displayInDataTag; + private DisplayInDataTag displayInDataTag; /** * Default text in emails when a contact does not have a value answered for this custom field. Only @@ -152,7 +152,7 @@ public class ExistingCustomField { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("pageVisibility") - private PageVisibilityJson pageVisibility; + private PageVisibility pageVisibility; /** * The ID of the custom field. @@ -167,20 +167,20 @@ public ExistingCustomField( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("category") @Nonnull CustomFieldCategoryJson category, + @JsonProperty("category") @Nonnull CustomFieldCategory category, @JsonProperty("name") @Nonnull String name, @JsonProperty("code") @Nonnull String code, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("type") @Nonnull CustomFieldTypeJson type, + @JsonProperty("type") @Nonnull CustomFieldType2 type, @JsonProperty("details") @Nullable ExistingCustomFieldDetails details, @JsonProperty("order") @Nullable Long order, @JsonProperty("helpText") @Nullable String helpText, - @JsonProperty("displayInDataTag") @Nullable DisplayInDataTagJson displayInDataTag, + @JsonProperty("displayInDataTag") @Nullable DisplayInDataTag displayInDataTag, @JsonProperty("defaultTagText") @Nullable String defaultTagText, @JsonProperty("consentField") @Nullable Boolean consentField, @JsonProperty("active") @Nullable Boolean active, @JsonProperty("displayInEventCreationWizard") @Nullable Boolean displayInEventCreationWizard, - @JsonProperty("pageVisibility") @Nullable PageVisibilityJson pageVisibility, + @JsonProperty("pageVisibility") @Nullable PageVisibility pageVisibility, @JsonProperty("id") @Nullable String id) { this.created = created; this.createdBy = createdBy; @@ -207,10 +207,10 @@ public ExistingCustomField( } public ExistingCustomField( - @Nonnull CustomFieldCategoryJson category, + @Nonnull CustomFieldCategory category, @Nonnull String name, @Nonnull String code, - @Nonnull CustomFieldTypeJson type) { + @Nonnull CustomFieldType2 type) { this( null, null, @@ -264,7 +264,7 @@ public Optional lastModifiedBy() { /** * This is used to denote the category of a custom field. */ - public CustomFieldCategoryJson category() { + public CustomFieldCategory category() { return this.category; } @@ -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 CustomFieldTypeJson type() { + public CustomFieldType2 type() { return this.type; } @@ -325,7 +325,7 @@ public Optional helpText() { * *

Only applicable to session custom fields. */ - public Optional displayInDataTag() { + public Optional displayInDataTag() { return Optional.ofNullable(this.displayInDataTag); } @@ -362,7 +362,7 @@ public Optional displayInEventCreationWizard() { /** * Visibility of the custom field on various pages/forms. */ - public Optional pageVisibility() { + public Optional pageVisibility() { return Optional.ofNullable(this.pageVisibility); } @@ -412,7 +412,7 @@ public ExistingCustomField withLastModifiedBy(@Nullable String lastModifiedBy) { /** * This is used to denote the category of a custom field. */ - public ExistingCustomField withCategory(@Nonnull CustomFieldCategoryJson category) { + public ExistingCustomField withCategory(@Nonnull CustomFieldCategory category) { this.category = Utils.checkNotNull(category, "category"); return this; } @@ -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 CustomFieldTypeJson type) { + public ExistingCustomField withType(@Nonnull CustomFieldType2 type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -481,7 +481,7 @@ public ExistingCustomField withHelpText(@Nullable String helpText) { * *

Only applicable to session custom fields. */ - public ExistingCustomField withDisplayInDataTag(@Nullable DisplayInDataTagJson displayInDataTag) { + public ExistingCustomField withDisplayInDataTag(@Nullable DisplayInDataTag displayInDataTag) { this.displayInDataTag = displayInDataTag; return this; } @@ -523,7 +523,7 @@ public ExistingCustomField withDisplayInEventCreationWizard(@Nullable Boolean di /** * Visibility of the custom field on various pages/forms. */ - public ExistingCustomField withPageVisibility(@Nullable PageVisibilityJson pageVisibility) { + public ExistingCustomField withPageVisibility(@Nullable PageVisibility pageVisibility) { this.pageVisibility = pageVisibility; return this; } @@ -645,7 +645,7 @@ public static final class Builder { private String lastModifiedBy; - private CustomFieldCategoryJson category; + private CustomFieldCategory category; private String name; @@ -653,7 +653,7 @@ public static final class Builder { private Boolean required; - private CustomFieldTypeJson type; + private CustomFieldType2 type; private ExistingCustomFieldDetails details; @@ -661,7 +661,7 @@ public static final class Builder { private String helpText; - private DisplayInDataTagJson displayInDataTag; + private DisplayInDataTag displayInDataTag; private String defaultTagText; @@ -671,7 +671,7 @@ public static final class Builder { private Boolean displayInEventCreationWizard; - private PageVisibilityJson pageVisibility; + private PageVisibility pageVisibility; private String id; @@ -714,7 +714,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * This is used to denote the category of a custom field. */ - public Builder category(@Nonnull CustomFieldCategoryJson category) { + public Builder category(@Nonnull CustomFieldCategory category) { this.category = Utils.checkNotNull(category, "category"); return this; } @@ -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 CustomFieldTypeJson type) { + public Builder type(@Nonnull CustomFieldType2 type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -783,7 +783,7 @@ public Builder helpText(@Nullable String helpText) { * *

Only applicable to session custom fields. */ - public Builder displayInDataTag(@Nullable DisplayInDataTagJson displayInDataTag) { + public Builder displayInDataTag(@Nullable DisplayInDataTag displayInDataTag) { this.displayInDataTag = displayInDataTag; return this; } @@ -825,7 +825,7 @@ public Builder displayInEventCreationWizard(@Nullable Boolean displayInEventCrea /** * Visibility of the custom field on various pages/forms. */ - public Builder pageVisibility(@Nullable PageVisibilityJson pageVisibility) { + public Builder pageVisibility(@Nullable PageVisibility pageVisibility) { this.pageVisibility = pageVisibility; return this; } @@ -864,8 +864,8 @@ public ExistingCustomField build() { private static final LazySingletonValue _SINGLETON_VALUE_Required = new LazySingletonValue<>("required", "true", new TypeReference() {}); - private static final LazySingletonValue _SINGLETON_VALUE_DisplayInDataTag = - new LazySingletonValue<>("displayInDataTag", "\"No\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_DisplayInDataTag = + new LazySingletonValue<>("displayInDataTag", "\"No\"", new TypeReference() {}); private static final LazySingletonValue _SINGLETON_VALUE_ConsentField = new LazySingletonValue<>("consentField", "false", new TypeReference() {}); 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 4facbfd24..96e7a0329 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 @@ -30,22 +30,22 @@ private ExistingCustomFieldDetails(TypedObject value) { this.value = value; } - public static ExistingCustomFieldDetails of(ZeroOneOf1 value) { + public static ExistingCustomFieldDetails of(OpenEndedOneLine value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetails(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetails of(One value) { + public static ExistingCustomFieldDetails of(OpenEndedDateTime1 value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetails(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetails of(Two value) { + public static ExistingCustomFieldDetails of(OpenEndedCommentBox value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetails(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetails of(Three value) { + public static ExistingCustomFieldDetails of(Choices1 value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetails(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -53,10 +53,10 @@ 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.One}
  • - *
  • {@code com.cvent.models.components.Two}
  • - *
  • {@code com.cvent.models.components.Three}
  • + *
  • {@code com.cvent.models.components.OpenEndedOneLine}
  • + *
  • {@code com.cvent.models.components.OpenEndedDateTime1}
  • + *
  • {@code com.cvent.models.components.OpenEndedCommentBox}
  • + *
  • {@code com.cvent.models.components.Choices1}
  • *
* *

Use {@code instanceof} to determine what type is returned. For example: @@ -98,10 +98,10 @@ public _Deserializer() { super( 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), + 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 55328adee..3c753bdbd 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 @@ -30,22 +30,22 @@ private ExistingCustomFieldDetailsInput(TypedObject value) { this.value = value; } - public static ExistingCustomFieldDetailsInput of(ZeroOneOf1 value) { + public static ExistingCustomFieldDetailsInput of(OpenEndedOneLine value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetailsInput(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetailsInput of(One value) { + public static ExistingCustomFieldDetailsInput of(OpenEndedDateTime1 value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetailsInput(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetailsInput of(Two value) { + public static ExistingCustomFieldDetailsInput of(OpenEndedCommentBox value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetailsInput(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetailsInput of(ThreeInput value) { + public static ExistingCustomFieldDetailsInput of(Choices1Input value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetailsInput(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -53,10 +53,10 @@ 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.One}
  • - *
  • {@code com.cvent.models.components.Two}
  • - *
  • {@code com.cvent.models.components.ThreeInput}
  • + *
  • {@code com.cvent.models.components.OpenEndedOneLine}
  • + *
  • {@code com.cvent.models.components.OpenEndedDateTime1}
  • + *
  • {@code com.cvent.models.components.OpenEndedCommentBox}
  • + *
  • {@code com.cvent.models.components.Choices1Input}
  • *
* *

Use {@code instanceof} to determine what type is returned. For example: @@ -98,10 +98,10 @@ public _Deserializer() { super( 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), + 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 ecdec3b2a..3f99514ac 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 @@ -27,7 +27,7 @@ public class ExistingCustomFieldInput { * This is used to denote the category of a custom field. */ @JsonProperty("category") - private CustomFieldCategoryJson category; + private CustomFieldCategory category; /** * The actual text of the custom field. @@ -53,7 +53,7 @@ public class ExistingCustomFieldInput { * are read only. */ @JsonProperty("type") - private CustomFieldTypeJson type; + private CustomFieldType2 type; /** * Type-specific details of the custom-field. @@ -78,7 +78,7 @@ public class ExistingCustomFieldInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("displayInDataTag") - private DisplayInDataTagJson displayInDataTag; + private DisplayInDataTag displayInDataTag; /** * Default text in emails when a contact does not have a value answered for this custom field. Only @@ -115,7 +115,7 @@ public class ExistingCustomFieldInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("pageVisibility") - private PageVisibilityJson pageVisibility; + private PageVisibility pageVisibility; /** * The ID of the custom field. @@ -126,19 +126,19 @@ public class ExistingCustomFieldInput { @JsonCreator public ExistingCustomFieldInput( - @JsonProperty("category") @Nonnull CustomFieldCategoryJson category, + @JsonProperty("category") @Nonnull CustomFieldCategory category, @JsonProperty("name") @Nonnull String name, @JsonProperty("code") @Nonnull String code, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("type") @Nonnull CustomFieldTypeJson type, + @JsonProperty("type") @Nonnull CustomFieldType2 type, @JsonProperty("details") @Nullable ExistingCustomFieldDetailsInput details, @JsonProperty("helpText") @Nullable String helpText, - @JsonProperty("displayInDataTag") @Nullable DisplayInDataTagJson displayInDataTag, + @JsonProperty("displayInDataTag") @Nullable DisplayInDataTag displayInDataTag, @JsonProperty("defaultTagText") @Nullable String defaultTagText, @JsonProperty("consentField") @Nullable Boolean consentField, @JsonProperty("active") @Nullable Boolean active, @JsonProperty("displayInEventCreationWizard") @Nullable Boolean displayInEventCreationWizard, - @JsonProperty("pageVisibility") @Nullable PageVisibilityJson pageVisibility, + @JsonProperty("pageVisibility") @Nullable PageVisibility pageVisibility, @JsonProperty("id") @Nullable String id) { this.category = Optional.ofNullable(category) .orElseThrow(() -> new IllegalArgumentException("category cannot be null")); @@ -160,17 +160,17 @@ public ExistingCustomFieldInput( } public ExistingCustomFieldInput( - @Nonnull CustomFieldCategoryJson category, + @Nonnull CustomFieldCategory category, @Nonnull String name, @Nonnull String code, - @Nonnull CustomFieldTypeJson type) { + @Nonnull CustomFieldType2 type) { this(category, name, code, null, type, null, null, null, null, null, null, null, null, null); } /** * This is used to denote the category of a custom field. */ - public CustomFieldCategoryJson category() { + public CustomFieldCategory category() { return this.category; } @@ -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 CustomFieldTypeJson type() { + public CustomFieldType2 type() { return this.type; } @@ -224,7 +224,7 @@ public Optional helpText() { * *

Only applicable to session custom fields. */ - public Optional displayInDataTag() { + public Optional displayInDataTag() { return Optional.ofNullable(this.displayInDataTag); } @@ -261,7 +261,7 @@ public Optional displayInEventCreationWizard() { /** * Visibility of the custom field on various pages/forms. */ - public Optional pageVisibility() { + public Optional pageVisibility() { return Optional.ofNullable(this.pageVisibility); } @@ -279,7 +279,7 @@ public static Builder builder() { /** * This is used to denote the category of a custom field. */ - public ExistingCustomFieldInput withCategory(@Nonnull CustomFieldCategoryJson category) { + public ExistingCustomFieldInput withCategory(@Nonnull CustomFieldCategory category) { this.category = Utils.checkNotNull(category, "category"); return this; } @@ -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 CustomFieldTypeJson type) { + public ExistingCustomFieldInput withType(@Nonnull CustomFieldType2 type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -340,7 +340,7 @@ public ExistingCustomFieldInput withHelpText(@Nullable String helpText) { * *

Only applicable to session custom fields. */ - public ExistingCustomFieldInput withDisplayInDataTag(@Nullable DisplayInDataTagJson displayInDataTag) { + public ExistingCustomFieldInput withDisplayInDataTag(@Nullable DisplayInDataTag displayInDataTag) { this.displayInDataTag = displayInDataTag; return this; } @@ -382,7 +382,7 @@ public ExistingCustomFieldInput withDisplayInEventCreationWizard(@Nullable Boole /** * Visibility of the custom field on various pages/forms. */ - public ExistingCustomFieldInput withPageVisibility(@Nullable PageVisibilityJson pageVisibility) { + public ExistingCustomFieldInput withPageVisibility(@Nullable PageVisibility pageVisibility) { this.pageVisibility = pageVisibility; return this; } @@ -476,7 +476,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private CustomFieldCategoryJson category; + private CustomFieldCategory category; private String name; @@ -484,13 +484,13 @@ public static final class Builder { private Boolean required; - private CustomFieldTypeJson type; + private CustomFieldType2 type; private ExistingCustomFieldDetailsInput details; private String helpText; - private DisplayInDataTagJson displayInDataTag; + private DisplayInDataTag displayInDataTag; private String defaultTagText; @@ -500,7 +500,7 @@ public static final class Builder { private Boolean displayInEventCreationWizard; - private PageVisibilityJson pageVisibility; + private PageVisibility pageVisibility; private String id; @@ -511,7 +511,7 @@ private Builder() { /** * This is used to denote the category of a custom field. */ - public Builder category(@Nonnull CustomFieldCategoryJson category) { + public Builder category(@Nonnull CustomFieldCategory category) { this.category = Utils.checkNotNull(category, "category"); return this; } @@ -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 CustomFieldTypeJson type) { + public Builder type(@Nonnull CustomFieldType2 type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -572,7 +572,7 @@ public Builder helpText(@Nullable String helpText) { * *

Only applicable to session custom fields. */ - public Builder displayInDataTag(@Nullable DisplayInDataTagJson displayInDataTag) { + public Builder displayInDataTag(@Nullable DisplayInDataTag displayInDataTag) { this.displayInDataTag = displayInDataTag; return this; } @@ -614,7 +614,7 @@ public Builder displayInEventCreationWizard(@Nullable Boolean displayInEventCrea /** * Visibility of the custom field on various pages/forms. */ - public Builder pageVisibility(@Nullable PageVisibilityJson pageVisibility) { + public Builder pageVisibility(@Nullable PageVisibility pageVisibility) { this.pageVisibility = pageVisibility; return this; } @@ -648,8 +648,8 @@ public ExistingCustomFieldInput build() { private static final LazySingletonValue _SINGLETON_VALUE_Required = new LazySingletonValue<>("required", "true", new TypeReference() {}); - private static final LazySingletonValue _SINGLETON_VALUE_DisplayInDataTag = - new LazySingletonValue<>("displayInDataTag", "\"No\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_DisplayInDataTag = + new LazySingletonValue<>("displayInDataTag", "\"No\"", new TypeReference() {}); private static final LazySingletonValue _SINGLETON_VALUE_ConsentField = new LazySingletonValue<>("consentField", "false", new TypeReference() {}); diff --git a/packages/java/src/main/java/com/cvent/models/components/GroupJson.java b/packages/java/src/main/java/com/cvent/models/components/Group.java similarity index 84% rename from packages/java/src/main/java/com/cvent/models/components/GroupJson.java rename to packages/java/src/main/java/com/cvent/models/components/Group.java index 132feab44..a55db295a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/GroupJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/Group.java @@ -15,11 +15,11 @@ import java.util.Optional; /** - * GroupJson + * Group * *

Generic sample name. Not a real model used by any Cvent service. */ -public class GroupJson { +public class Group { /** * The unique ID of the SCIM group. */ @@ -34,12 +34,12 @@ public class GroupJson { private String display; @JsonCreator - public GroupJson(@JsonProperty("value") @Nonnull String value, @JsonProperty("display") @Nullable String display) { + public Group(@JsonProperty("value") @Nonnull String value, @JsonProperty("display") @Nullable String display) { this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); this.display = display; } - public GroupJson(@Nonnull String value) { + public Group(@Nonnull String value) { this(value, null); } @@ -64,7 +64,7 @@ public static Builder builder() { /** * The unique ID of the SCIM group. */ - public GroupJson withValue(@Nonnull String value) { + public Group withValue(@Nonnull String value) { this.value = Utils.checkNotNull(value, "value"); return this; } @@ -72,7 +72,7 @@ public GroupJson withValue(@Nonnull String value) { /** * The name of the user role. */ - public GroupJson withDisplay(@Nullable String display) { + public Group withDisplay(@Nullable String display) { this.display = display; return this; } @@ -85,7 +85,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - GroupJson other = (GroupJson) o; + Group other = (Group) o; return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.display, other.display); } @@ -96,7 +96,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(GroupJson.class, "value", value, "display", display); + return Utils.toString(Group.class, "value", value, "display", display); } @SuppressWarnings("UnusedReturnValue") @@ -126,8 +126,8 @@ public Builder display(@Nullable String display) { return this; } - public GroupJson build() { - return new GroupJson(value, display); + public Group build() { + return new Group(value, display); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/GroupJson0.java b/packages/java/src/main/java/com/cvent/models/components/Group1.java similarity index 84% rename from packages/java/src/main/java/com/cvent/models/components/GroupJson0.java rename to packages/java/src/main/java/com/cvent/models/components/Group1.java index df5568e3f..5936c4773 100644 --- a/packages/java/src/main/java/com/cvent/models/components/GroupJson0.java +++ b/packages/java/src/main/java/com/cvent/models/components/Group1.java @@ -16,11 +16,11 @@ import java.util.Optional; /** - * GroupJson0 + * Group1 * *

Generic sample name. Not a real model used by any Cvent service. */ -public class GroupJson0 { +public class Group1 { /** * The list of schemas using this resource. */ @@ -46,21 +46,21 @@ public class GroupJson0 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("meta") - private MetaJson meta; + private Meta meta; @JsonCreator - public GroupJson0( + public Group1( @JsonProperty("schemas") @Nullable List schemas, @JsonProperty("id") @Nonnull String id, @JsonProperty("displayName") @Nullable String displayName, - @JsonProperty("meta") @Nullable MetaJson meta) { + @JsonProperty("meta") @Nullable Meta meta) { this.schemas = schemas; this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.displayName = displayName; this.meta = meta; } - public GroupJson0(@Nonnull String id) { + public Group1(@Nonnull String id) { this(null, id, null, null); } @@ -88,7 +88,7 @@ public Optional displayName() { /** * Metadata of the resource. */ - public Optional meta() { + public Optional meta() { return Optional.ofNullable(this.meta); } @@ -99,7 +99,7 @@ public static Builder builder() { /** * The list of schemas using this resource. */ - public GroupJson0 withSchemas(@Nullable List schemas) { + public Group1 withSchemas(@Nullable List schemas) { this.schemas = schemas; return this; } @@ -107,7 +107,7 @@ public GroupJson0 withSchemas(@Nullable List schemas) { /** * The unique ID of the SCIM group. */ - public GroupJson0 withId(@Nonnull String id) { + public Group1 withId(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); return this; } @@ -115,7 +115,7 @@ public GroupJson0 withId(@Nonnull String id) { /** * The name of the user role. */ - public GroupJson0 withDisplayName(@Nullable String displayName) { + public Group1 withDisplayName(@Nullable String displayName) { this.displayName = displayName; return this; } @@ -123,7 +123,7 @@ public GroupJson0 withDisplayName(@Nullable String displayName) { /** * Metadata of the resource. */ - public GroupJson0 withMeta(@Nullable MetaJson meta) { + public Group1 withMeta(@Nullable Meta meta) { this.meta = meta; return this; } @@ -136,7 +136,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - GroupJson0 other = (GroupJson0) o; + Group1 other = (Group1) o; return Utils.enhancedDeepEquals(this.schemas, other.schemas) && Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.displayName, other.displayName) @@ -150,7 +150,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(GroupJson0.class, "schemas", schemas, "id", id, "displayName", displayName, "meta", meta); + return Utils.toString(Group1.class, "schemas", schemas, "id", id, "displayName", displayName, "meta", meta); } @SuppressWarnings("UnusedReturnValue") @@ -162,7 +162,7 @@ public static final class Builder { private String displayName; - private MetaJson meta; + private Meta meta; private Builder() { // force use of static builder() method @@ -195,13 +195,13 @@ public Builder displayName(@Nullable String displayName) { /** * Metadata of the resource. */ - public Builder meta(@Nullable MetaJson meta) { + public Builder meta(@Nullable Meta meta) { this.meta = meta; return this; } - public GroupJson0 build() { - return new GroupJson0(schemas, id, displayName, meta); + public Group1 build() { + return new Group1(schemas, id, displayName, meta); } } } 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 965875814..6afe36902 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 Address5 hotelAddress; + private Address6 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 Address5 hotelAddress, + @JsonProperty("hotelAddress") @Nullable Address6 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 Address5 hotelAddress) { + public HotelRequest withHotelAddress(@Nullable Address6 hotelAddress) { this.hotelAddress = hotelAddress; return this; } @@ -1313,7 +1313,7 @@ public static final class Builder { private String incidentalBillingExceptions; - private Address5 hotelAddress; + private Address6 hotelAddress; private List hotelRoomRates; @@ -1628,7 +1628,7 @@ public Builder incidentalBillingExceptions(@Nullable String incidentalBillingExc /** * Address of the hotel. */ - public Builder hotelAddress(@Nullable Address5 hotelAddress) { + public Builder hotelAddress(@Nullable Address6 hotelAddress) { this.hotelAddress = hotelAddress; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/JourneyType.java b/packages/java/src/main/java/com/cvent/models/components/JourneyType.java index d4d7f5efd..042643dee 100644 --- a/packages/java/src/main/java/com/cvent/models/components/JourneyType.java +++ b/packages/java/src/main/java/com/cvent/models/components/JourneyType.java @@ -11,7 +11,7 @@ /** * JourneyType * - *

Type of journey + *

Type of journey for an air booking. */ public enum JourneyType { ONEWAY("Oneway"), diff --git a/packages/java/src/main/java/com/cvent/models/components/LanguageJson.java b/packages/java/src/main/java/com/cvent/models/components/Language1.java similarity index 90% rename from packages/java/src/main/java/com/cvent/models/components/LanguageJson.java rename to packages/java/src/main/java/com/cvent/models/components/Language1.java index 4cca962f4..669faa71a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LanguageJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/Language1.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * LanguageJson + * Language1 * *

IETF language code used to specify a target language for the translation. */ -public enum LanguageJson { +public enum Language1 { AF_ZA("af-ZA"), AR_SA("ar-SA"), AZ_LATN_AZ("az-Latn-AZ"), @@ -82,7 +82,7 @@ public enum LanguageJson { @JsonValue private final String value; - LanguageJson(String value) { + Language1(String value) { this.value = value; } @@ -90,8 +90,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (LanguageJson o : LanguageJson.values()) { + public static Optional fromValue(String value) { + for (Language1 o : Language1.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/MetaJson.java b/packages/java/src/main/java/com/cvent/models/components/Meta.java similarity index 90% rename from packages/java/src/main/java/com/cvent/models/components/MetaJson.java rename to packages/java/src/main/java/com/cvent/models/components/Meta.java index ea48432b1..357244924 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MetaJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/Meta.java @@ -15,11 +15,11 @@ import java.util.Optional; /** - * MetaJson + * Meta * *

Metadata of the resource. */ -public class MetaJson { +public class Meta { /** * The type of the resource. */ @@ -49,7 +49,7 @@ public class MetaJson { private OffsetDateTime lastModified; @JsonCreator - public MetaJson( + public Meta( @JsonProperty("resourceType") @Nullable String resourceType, @JsonProperty("location") @Nullable String location, @JsonProperty("created") @Nullable OffsetDateTime created, @@ -60,7 +60,7 @@ public MetaJson( this.lastModified = lastModified; } - public MetaJson() { + public Meta() { this(null, null, null, null); } @@ -99,7 +99,7 @@ public static Builder builder() { /** * The type of the resource. */ - public MetaJson withResourceType(@Nullable String resourceType) { + public Meta withResourceType(@Nullable String resourceType) { this.resourceType = resourceType; return this; } @@ -107,7 +107,7 @@ public MetaJson withResourceType(@Nullable String resourceType) { /** * The location (URI) of the resource. */ - public MetaJson withLocation(@Nullable String location) { + public Meta withLocation(@Nullable String location) { this.location = location; return this; } @@ -115,7 +115,7 @@ public MetaJson withLocation(@Nullable String location) { /** * The ISO 8601 zoned date time when this record was created. */ - public MetaJson withCreated(@Nullable OffsetDateTime created) { + public Meta withCreated(@Nullable OffsetDateTime created) { this.created = created; return this; } @@ -123,7 +123,7 @@ public MetaJson withCreated(@Nullable OffsetDateTime created) { /** * The ISO 8601 zoned date time when this record was modified. */ - public MetaJson withLastModified(@Nullable OffsetDateTime lastModified) { + public Meta withLastModified(@Nullable OffsetDateTime lastModified) { this.lastModified = lastModified; return this; } @@ -136,7 +136,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - MetaJson other = (MetaJson) o; + Meta other = (Meta) o; return Utils.enhancedDeepEquals(this.resourceType, other.resourceType) && Utils.enhancedDeepEquals(this.location, other.location) && Utils.enhancedDeepEquals(this.created, other.created) @@ -151,7 +151,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - MetaJson.class, + Meta.class, "resourceType", resourceType, "location", @@ -209,8 +209,8 @@ public Builder lastModified(@Nullable OffsetDateTime lastModified) { return this; } - public MetaJson build() { - return new MetaJson(resourceType, location, created, lastModified); + public Meta build() { + return new Meta(resourceType, location, created, lastModified); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/MutabilityJson.java b/packages/java/src/main/java/com/cvent/models/components/Mutability.java similarity index 77% rename from packages/java/src/main/java/com/cvent/models/components/MutabilityJson.java rename to packages/java/src/main/java/com/cvent/models/components/Mutability.java index 0cf7a2efc..67b9824be 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MutabilityJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/Mutability.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * MutabilityJson + * Mutability * *

This is used to denote the mutability of the attribute. */ -public enum MutabilityJson { +public enum Mutability { READ_ONLY("readOnly"), READ_WRITE("readWrite"), IMMUTABLE("immutable"), @@ -22,7 +22,7 @@ public enum MutabilityJson { @JsonValue private final String value; - MutabilityJson(String value) { + Mutability(String value) { this.value = value; } @@ -30,8 +30,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (MutabilityJson o : MutabilityJson.values()) { + public static Optional fromValue(String value) { + for (Mutability o : Mutability.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/NameJson.java b/packages/java/src/main/java/com/cvent/models/components/Name.java similarity index 89% rename from packages/java/src/main/java/com/cvent/models/components/NameJson.java rename to packages/java/src/main/java/com/cvent/models/components/Name.java index 88698da82..c4433a7ce 100644 --- a/packages/java/src/main/java/com/cvent/models/components/NameJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/Name.java @@ -15,11 +15,11 @@ import java.util.Optional; /** - * NameJson + * Name * *

The name of the user. */ -public class NameJson { +public class Name { /** * The given/first name of the user. */ @@ -47,7 +47,7 @@ public class NameJson { private String honorificPrefix; @JsonCreator - public NameJson( + public Name( @JsonProperty("givenName") @Nonnull String givenName, @JsonProperty("familyName") @Nonnull String familyName, @JsonProperty("middleName") @Nullable String middleName, @@ -60,7 +60,7 @@ public NameJson( this.honorificPrefix = honorificPrefix; } - public NameJson(@Nonnull String givenName, @Nonnull String familyName) { + public Name(@Nonnull String givenName, @Nonnull String familyName) { this(givenName, familyName, null, null); } @@ -99,7 +99,7 @@ public static Builder builder() { /** * The given/first name of the user. */ - public NameJson withGivenName(@Nonnull String givenName) { + public Name withGivenName(@Nonnull String givenName) { this.givenName = Utils.checkNotNull(givenName, "givenName"); return this; } @@ -107,7 +107,7 @@ public NameJson withGivenName(@Nonnull String givenName) { /** * The family/last name of the user. */ - public NameJson withFamilyName(@Nonnull String familyName) { + public Name withFamilyName(@Nonnull String familyName) { this.familyName = Utils.checkNotNull(familyName, "familyName"); return this; } @@ -115,7 +115,7 @@ public NameJson withFamilyName(@Nonnull String familyName) { /** * The middle name of the user. */ - public NameJson withMiddleName(@Nullable String middleName) { + public Name withMiddleName(@Nullable String middleName) { this.middleName = middleName; return this; } @@ -123,7 +123,7 @@ public NameJson withMiddleName(@Nullable String middleName) { /** * The prefix of the user. */ - public NameJson withHonorificPrefix(@Nullable String honorificPrefix) { + public Name withHonorificPrefix(@Nullable String honorificPrefix) { this.honorificPrefix = honorificPrefix; return this; } @@ -136,7 +136,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - NameJson other = (NameJson) o; + Name other = (Name) o; return Utils.enhancedDeepEquals(this.givenName, other.givenName) && Utils.enhancedDeepEquals(this.familyName, other.familyName) && Utils.enhancedDeepEquals(this.middleName, other.middleName) @@ -151,7 +151,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - NameJson.class, + Name.class, "givenName", givenName, "familyName", @@ -209,8 +209,8 @@ public Builder honorificPrefix(@Nullable String honorificPrefix) { return this; } - public NameJson build() { - return new NameJson(givenName, familyName, middleName, honorificPrefix); + public Name build() { + return new Name(givenName, familyName, middleName, honorificPrefix); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/OpenEndedDateTime.java b/packages/java/src/main/java/com/cvent/models/components/OpenEndedDateTime.java deleted file mode 100644 index effdaadd9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OpenEndedDateTime.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; - -/** - * OpenEndedDateTime - * - *

This is used to denote the open ended date time type of custom field. - */ -public class OpenEndedDateTime { - /** - * 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 OpenEndedDateTime( - @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 OpenEndedDateTime() { - 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 OpenEndedDateTime withFrom(@Nullable OffsetDateTime from) { - this.from = from; - return this; - } - - /** - * The ISO 8601 zoned maximum date time accepted. - */ - public OpenEndedDateTime 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 OpenEndedDateTime withFormat(@Nullable DateTimeDisplayFormatJson format) { - this.format = format; - return this; - } - - /** - * Whether it needs to be pre populated with current date. - */ - public OpenEndedDateTime 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 OpenEndedDateTime 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; - } - OpenEndedDateTime other = (OpenEndedDateTime) 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( - OpenEndedDateTime.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 OpenEndedDateTime build() { - return new OpenEndedDateTime(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/One.java b/packages/java/src/main/java/com/cvent/models/components/OpenEndedDateTime1.java similarity index 87% rename from packages/java/src/main/java/com/cvent/models/components/One.java rename to packages/java/src/main/java/com/cvent/models/components/OpenEndedDateTime1.java index 3d2626ffe..5d1693592 100644 --- a/packages/java/src/main/java/com/cvent/models/components/One.java +++ b/packages/java/src/main/java/com/cvent/models/components/OpenEndedDateTime1.java @@ -18,11 +18,11 @@ import java.util.Optional; /** - * One + * OpenEndedDateTime1 * *

This is used to denote the open ended date time type of custom field. */ -public class One { +public class OpenEndedDateTime1 { /** * The ISO 8601 zoned minimum date time accepted. */ @@ -42,7 +42,7 @@ public class One { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("format") - private DateTimeDisplayFormatJson format; + private DateTimeDisplayFormat format; /** * Whether it needs to be pre populated with current date. @@ -59,10 +59,10 @@ public class One { private Boolean displayPopUpCalendar; @JsonCreator - public One( + public OpenEndedDateTime1( @JsonProperty("from") @Nullable OffsetDateTime from, @JsonProperty("to") @Nullable OffsetDateTime to, - @JsonProperty("format") @Nullable DateTimeDisplayFormatJson format, + @JsonProperty("format") @Nullable DateTimeDisplayFormat format, @JsonProperty("defaultToCurrentDate") @Nullable Boolean defaultToCurrentDate, @JsonProperty("displayPopUpCalendar") @Nullable Boolean displayPopUpCalendar) { this.from = from; @@ -73,7 +73,7 @@ public One( Optional.ofNullable(displayPopUpCalendar).orElse(Builder._SINGLETON_VALUE_DisplayPopUpCalendar.value()); } - public One() { + public OpenEndedDateTime1() { this(null, null, null, null, null); } @@ -94,7 +94,7 @@ public Optional to() { /** * This is used to denote the display format type of date time type custom field. */ - public Optional format() { + public Optional format() { return Optional.ofNullable(this.format); } @@ -119,7 +119,7 @@ public static Builder builder() { /** * The ISO 8601 zoned minimum date time accepted. */ - public One withFrom(@Nullable OffsetDateTime from) { + public OpenEndedDateTime1 withFrom(@Nullable OffsetDateTime from) { this.from = from; return this; } @@ -127,7 +127,7 @@ public One withFrom(@Nullable OffsetDateTime from) { /** * The ISO 8601 zoned maximum date time accepted. */ - public One withTo(@Nullable OffsetDateTime to) { + public OpenEndedDateTime1 withTo(@Nullable OffsetDateTime to) { this.to = to; return this; } @@ -135,7 +135,7 @@ public One withTo(@Nullable OffsetDateTime to) { /** * This is used to denote the display format type of date time type custom field. */ - public One withFormat(@Nullable DateTimeDisplayFormatJson format) { + public OpenEndedDateTime1 withFormat(@Nullable DateTimeDisplayFormat format) { this.format = format; return this; } @@ -143,7 +143,7 @@ public One withFormat(@Nullable DateTimeDisplayFormatJson format) { /** * Whether it needs to be pre populated with current date. */ - public One withDefaultToCurrentDate(@Nullable Boolean defaultToCurrentDate) { + public OpenEndedDateTime1 withDefaultToCurrentDate(@Nullable Boolean defaultToCurrentDate) { this.defaultToCurrentDate = defaultToCurrentDate; return this; } @@ -151,7 +151,7 @@ public One withDefaultToCurrentDate(@Nullable Boolean defaultToCurrentDate) { /** * True means that a pop-up calendar will be displayed to assist date selection on UI. */ - public One withDisplayPopUpCalendar(@Nullable Boolean displayPopUpCalendar) { + public OpenEndedDateTime1 withDisplayPopUpCalendar(@Nullable Boolean displayPopUpCalendar) { this.displayPopUpCalendar = displayPopUpCalendar; return this; } @@ -164,7 +164,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - One other = (One) o; + OpenEndedDateTime1 other = (OpenEndedDateTime1) o; return Utils.enhancedDeepEquals(this.from, other.from) && Utils.enhancedDeepEquals(this.to, other.to) && Utils.enhancedDeepEquals(this.format, other.format) @@ -180,7 +180,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - One.class, + OpenEndedDateTime1.class, "from", from, "to", @@ -200,7 +200,7 @@ public static final class Builder { private OffsetDateTime to; - private DateTimeDisplayFormatJson format; + private DateTimeDisplayFormat format; private Boolean defaultToCurrentDate; @@ -229,7 +229,7 @@ public Builder to(@Nullable OffsetDateTime to) { /** * This is used to denote the display format type of date time type custom field. */ - public Builder format(@Nullable DateTimeDisplayFormatJson format) { + public Builder format(@Nullable DateTimeDisplayFormat format) { this.format = format; return this; } @@ -250,8 +250,8 @@ public Builder displayPopUpCalendar(@Nullable Boolean displayPopUpCalendar) { return this; } - public One build() { - return new One(from, to, format, defaultToCurrentDate, displayPopUpCalendar); + public OpenEndedDateTime1 build() { + return new OpenEndedDateTime1(from, to, format, defaultToCurrentDate, displayPopUpCalendar); } private static final LazySingletonValue _SINGLETON_VALUE_DisplayPopUpCalendar = diff --git a/packages/java/src/main/java/com/cvent/models/components/PageVisibilityJson.java b/packages/java/src/main/java/com/cvent/models/components/PageVisibility.java similarity index 91% rename from packages/java/src/main/java/com/cvent/models/components/PageVisibilityJson.java rename to packages/java/src/main/java/com/cvent/models/components/PageVisibility.java index 179be3195..9ef19848a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PageVisibilityJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/PageVisibility.java @@ -17,11 +17,11 @@ import java.util.Optional; /** - * PageVisibilityJson + * PageVisibility * *

Visibility of the custom field on various pages/forms. */ -public class PageVisibilityJson { +public class PageVisibility { /** * True indicates it's visible on the event essentials event creation form. */ @@ -51,7 +51,7 @@ public class PageVisibilityJson { private Boolean webinarDetailsForm; @JsonCreator - public PageVisibilityJson( + public PageVisibility( @JsonProperty("essentialEventCreationForm") @Nullable Boolean essentialEventCreationForm, @JsonProperty("essentialEventDetailsForm") @Nullable Boolean essentialEventDetailsForm, @JsonProperty("webinarCreationForm") @Nullable Boolean webinarCreationForm, @@ -66,7 +66,7 @@ public PageVisibilityJson( Optional.ofNullable(webinarDetailsForm).orElse(Builder._SINGLETON_VALUE_WebinarDetailsForm.value()); } - public PageVisibilityJson() { + public PageVisibility() { this(null, null, null, null); } @@ -105,7 +105,7 @@ public static Builder builder() { /** * True indicates it's visible on the event essentials event creation form. */ - public PageVisibilityJson withEssentialEventCreationForm(@Nullable Boolean essentialEventCreationForm) { + public PageVisibility withEssentialEventCreationForm(@Nullable Boolean essentialEventCreationForm) { this.essentialEventCreationForm = essentialEventCreationForm; return this; } @@ -113,7 +113,7 @@ public PageVisibilityJson withEssentialEventCreationForm(@Nullable Boolean essen /** * True indicates it's visible on the event essentials event details form. */ - public PageVisibilityJson withEssentialEventDetailsForm(@Nullable Boolean essentialEventDetailsForm) { + public PageVisibility withEssentialEventDetailsForm(@Nullable Boolean essentialEventDetailsForm) { this.essentialEventDetailsForm = essentialEventDetailsForm; return this; } @@ -121,7 +121,7 @@ public PageVisibilityJson withEssentialEventDetailsForm(@Nullable Boolean essent /** * True indicates it's visible on webinar creation form. */ - public PageVisibilityJson withWebinarCreationForm(@Nullable Boolean webinarCreationForm) { + public PageVisibility withWebinarCreationForm(@Nullable Boolean webinarCreationForm) { this.webinarCreationForm = webinarCreationForm; return this; } @@ -129,7 +129,7 @@ public PageVisibilityJson withWebinarCreationForm(@Nullable Boolean webinarCreat /** * True indicates it's visible on the webinar details form. */ - public PageVisibilityJson withWebinarDetailsForm(@Nullable Boolean webinarDetailsForm) { + public PageVisibility withWebinarDetailsForm(@Nullable Boolean webinarDetailsForm) { this.webinarDetailsForm = webinarDetailsForm; return this; } @@ -142,7 +142,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PageVisibilityJson other = (PageVisibilityJson) o; + PageVisibility other = (PageVisibility) o; return Utils.enhancedDeepEquals(this.essentialEventCreationForm, other.essentialEventCreationForm) && Utils.enhancedDeepEquals(this.essentialEventDetailsForm, other.essentialEventDetailsForm) && Utils.enhancedDeepEquals(this.webinarCreationForm, other.webinarCreationForm) @@ -158,7 +158,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - PageVisibilityJson.class, + PageVisibility.class, "essentialEventCreationForm", essentialEventCreationForm, "essentialEventDetailsForm", @@ -216,8 +216,8 @@ public Builder webinarDetailsForm(@Nullable Boolean webinarDetailsForm) { return this; } - public PageVisibilityJson build() { - return new PageVisibilityJson( + public PageVisibility build() { + return new PageVisibility( essentialEventCreationForm, essentialEventDetailsForm, webinarCreationForm, webinarDetailsForm); } diff --git a/packages/java/src/main/java/com/cvent/models/components/PhoneNumberJson1.java b/packages/java/src/main/java/com/cvent/models/components/PhoneNumber.java similarity index 77% rename from packages/java/src/main/java/com/cvent/models/components/PhoneNumberJson1.java rename to packages/java/src/main/java/com/cvent/models/components/PhoneNumber.java index 248ab993c..d7a6b1172 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PhoneNumberJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/PhoneNumber.java @@ -12,16 +12,16 @@ import java.util.Optional; /** - * PhoneNumberJson1 + * PhoneNumber * *

Phone Number */ -public class PhoneNumberJson1 { +public class PhoneNumber { /** * The type of the phone number. */ @JsonProperty("type") - private PhoneTypeJson type; + private PhoneType type; /** * The phone number of the user. @@ -30,8 +30,7 @@ public class PhoneNumberJson1 { private String value; @JsonCreator - public PhoneNumberJson1( - @JsonProperty("type") @Nonnull PhoneTypeJson type, @JsonProperty("value") @Nonnull String value) { + public PhoneNumber(@JsonProperty("type") @Nonnull PhoneType type, @JsonProperty("value") @Nonnull String value) { this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); } @@ -39,7 +38,7 @@ public PhoneNumberJson1( /** * The type of the phone number. */ - public PhoneTypeJson type() { + public PhoneType type() { return this.type; } @@ -57,7 +56,7 @@ public static Builder builder() { /** * The type of the phone number. */ - public PhoneNumberJson1 withType(@Nonnull PhoneTypeJson type) { + public PhoneNumber withType(@Nonnull PhoneType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -65,7 +64,7 @@ public PhoneNumberJson1 withType(@Nonnull PhoneTypeJson type) { /** * The phone number of the user. */ - public PhoneNumberJson1 withValue(@Nonnull String value) { + public PhoneNumber withValue(@Nonnull String value) { this.value = Utils.checkNotNull(value, "value"); return this; } @@ -78,7 +77,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PhoneNumberJson1 other = (PhoneNumberJson1) o; + PhoneNumber other = (PhoneNumber) o; return Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.value, other.value); } @@ -89,13 +88,13 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(PhoneNumberJson1.class, "type", type, "value", value); + return Utils.toString(PhoneNumber.class, "type", type, "value", value); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PhoneTypeJson type; + private PhoneType type; private String value; @@ -106,7 +105,7 @@ private Builder() { /** * The type of the phone number. */ - public Builder type(@Nonnull PhoneTypeJson type) { + public Builder type(@Nonnull PhoneType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -119,8 +118,8 @@ public Builder value(@Nonnull String value) { return this; } - public PhoneNumberJson1 build() { - return new PhoneNumberJson1(type, value); + public PhoneNumber build() { + return new PhoneNumber(type, value); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/PhoneTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/PhoneType.java similarity index 76% rename from packages/java/src/main/java/com/cvent/models/components/PhoneTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/PhoneType.java index e507ae3db..e21faee89 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PhoneTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/PhoneType.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * PhoneTypeJson + * PhoneType * *

The type of the phone number. */ -public enum PhoneTypeJson { +public enum PhoneType { WORK("work"), HOME("home"), MOBILE("mobile"); @@ -21,7 +21,7 @@ public enum PhoneTypeJson { @JsonValue private final String value; - PhoneTypeJson(String value) { + PhoneType(String value) { this.value = value; } @@ -29,8 +29,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (PhoneTypeJson o : PhoneTypeJson.values()) { + public static Optional fromValue(String value) { + for (PhoneType o : PhoneType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttributeReferenceTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ReferenceType.java similarity index 71% rename from packages/java/src/main/java/com/cvent/models/components/AttributeReferenceTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/ReferenceType.java index dc348b983..5ca09b41d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttributeReferenceTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ReferenceType.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * AttributeReferenceTypeJson + * ReferenceType * *

This is used to denote the reference type of the attribute. */ -public enum AttributeReferenceTypeJson { +public enum ReferenceType { USER("User"), GROUP("Group"), EXTERNAL("external"), @@ -22,7 +22,7 @@ public enum AttributeReferenceTypeJson { @JsonValue private final String value; - AttributeReferenceTypeJson(String value) { + ReferenceType(String value) { this.value = value; } @@ -30,8 +30,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (AttributeReferenceTypeJson o : AttributeReferenceTypeJson.values()) { + public static Optional fromValue(String value) { + for (ReferenceType o : ReferenceType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/ResourceType.java b/packages/java/src/main/java/com/cvent/models/components/ResourceType.java index e83193403..e9eeb8685 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ResourceType.java +++ b/packages/java/src/main/java/com/cvent/models/components/ResourceType.java @@ -67,14 +67,14 @@ public class ResourceType { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaExtensions") - private List schemaExtensions; + private List schemaExtensions; /** * Metadata of the resource. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("meta") - private MetaJson meta; + private Meta meta; @JsonCreator public ResourceType( @@ -84,8 +84,8 @@ public ResourceType( @JsonProperty("description") @Nullable String description, @JsonProperty("endpoint") @Nullable String endpoint, @JsonProperty("schema") @Nullable String schema, - @JsonProperty("schemaExtensions") @Nullable List schemaExtensions, - @JsonProperty("meta") @Nullable MetaJson meta) { + @JsonProperty("schemaExtensions") @Nullable List schemaExtensions, + @JsonProperty("meta") @Nullable Meta meta) { this.schemas = schemas; this.id = id; this.name = name; @@ -145,14 +145,14 @@ public Optional schema() { /** * The list of schema extensions for the resource type. */ - public Optional> schemaExtensions() { + public Optional> schemaExtensions() { return Optional.ofNullable(this.schemaExtensions); } /** * Metadata of the resource. */ - public Optional meta() { + public Optional meta() { return Optional.ofNullable(this.meta); } @@ -211,7 +211,7 @@ public ResourceType withSchema(@Nullable String schema) { /** * The list of schema extensions for the resource type. */ - public ResourceType withSchemaExtensions(@Nullable List schemaExtensions) { + public ResourceType withSchemaExtensions(@Nullable List schemaExtensions) { this.schemaExtensions = schemaExtensions; return this; } @@ -219,7 +219,7 @@ public ResourceType withSchemaExtensions(@Nullable List schemaExtensions; + private List schemaExtensions; - private MetaJson meta; + private Meta meta; private Builder() { // force use of static builder() method @@ -344,7 +344,7 @@ public Builder schema(@Nullable String schema) { /** * The list of schema extensions for the resource type. */ - public Builder schemaExtensions(@Nullable List schemaExtensions) { + public Builder schemaExtensions(@Nullable List schemaExtensions) { this.schemaExtensions = schemaExtensions; return this; } @@ -352,7 +352,7 @@ public Builder schemaExtensions(@Nullable List sche /** * Metadata of the resource. */ - public Builder meta(@Nullable MetaJson meta) { + public Builder meta(@Nullable Meta meta) { this.meta = meta; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ResourceTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ResourceTypeJson.java deleted file mode 100644 index 7a34f41d5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ResourceTypeJson.java +++ /dev/null @@ -1,364 +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; - -/** - * ResourceTypeJson - * - *

Resource Type - */ -public class ResourceTypeJson { - /** - * The list of schemas using this resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("schemas") - private List schemas; - - /** - * The unique identifier of the resource type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The name of the resource type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The description of the resource type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("description") - private String description; - - /** - * The URL of the resource type endpoint. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("endpoint") - private String endpoint; - - /** - * The schema of the resource type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("schema") - private String schema; - - /** - * The list of schema extensions for the resource type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("schemaExtensions") - private List schemaExtensions; - - /** - * Metadata of the resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("meta") - private MetaJson meta; - - @JsonCreator - public ResourceTypeJson( - @JsonProperty("schemas") @Nullable List schemas, - @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("description") @Nullable String description, - @JsonProperty("endpoint") @Nullable String endpoint, - @JsonProperty("schema") @Nullable String schema, - @JsonProperty("schemaExtensions") @Nullable List schemaExtensions, - @JsonProperty("meta") @Nullable MetaJson meta) { - this.schemas = schemas; - this.id = id; - this.name = name; - this.description = description; - this.endpoint = endpoint; - this.schema = schema; - this.schemaExtensions = schemaExtensions; - this.meta = meta; - } - - public ResourceTypeJson() { - this(null, null, null, null, null, null, null, null); - } - - /** - * The list of schemas using this resource. - */ - public Optional> schemas() { - return Optional.ofNullable(this.schemas); - } - - /** - * The unique identifier of the resource type. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the resource type. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The description of the resource type. - */ - public Optional description() { - return Optional.ofNullable(this.description); - } - - /** - * The URL of the resource type endpoint. - */ - public Optional endpoint() { - return Optional.ofNullable(this.endpoint); - } - - /** - * The schema of the resource type. - */ - public Optional schema() { - return Optional.ofNullable(this.schema); - } - - /** - * The list of schema extensions for the resource type. - */ - public Optional> schemaExtensions() { - return Optional.ofNullable(this.schemaExtensions); - } - - /** - * Metadata of the resource. - */ - public Optional meta() { - return Optional.ofNullable(this.meta); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The list of schemas using this resource. - */ - public ResourceTypeJson withSchemas(@Nullable List schemas) { - this.schemas = schemas; - return this; - } - - /** - * The unique identifier of the resource type. - */ - public ResourceTypeJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the resource type. - */ - public ResourceTypeJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The description of the resource type. - */ - public ResourceTypeJson withDescription(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The URL of the resource type endpoint. - */ - public ResourceTypeJson withEndpoint(@Nullable String endpoint) { - this.endpoint = endpoint; - return this; - } - - /** - * The schema of the resource type. - */ - public ResourceTypeJson withSchema(@Nullable String schema) { - this.schema = schema; - return this; - } - - /** - * The list of schema extensions for the resource type. - */ - public ResourceTypeJson withSchemaExtensions(@Nullable List schemaExtensions) { - this.schemaExtensions = schemaExtensions; - return this; - } - - /** - * Metadata of the resource. - */ - public ResourceTypeJson withMeta(@Nullable MetaJson meta) { - this.meta = meta; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ResourceTypeJson other = (ResourceTypeJson) o; - return Utils.enhancedDeepEquals(this.schemas, other.schemas) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.description, other.description) - && Utils.enhancedDeepEquals(this.endpoint, other.endpoint) - && Utils.enhancedDeepEquals(this.schema, other.schema) - && Utils.enhancedDeepEquals(this.schemaExtensions, other.schemaExtensions) - && Utils.enhancedDeepEquals(this.meta, other.meta); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(schemas, id, name, description, endpoint, schema, schemaExtensions, meta); - } - - @Override - public String toString() { - return Utils.toString( - ResourceTypeJson.class, - "schemas", - schemas, - "id", - id, - "name", - name, - "description", - description, - "endpoint", - endpoint, - "schema", - schema, - "schemaExtensions", - schemaExtensions, - "meta", - meta); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private List schemas; - - private String id; - - private String name; - - private String description; - - private String endpoint; - - private String schema; - - private List schemaExtensions; - - private MetaJson meta; - - private Builder() { - // force use of static builder() method - } - - /** - * The list of schemas using this resource. - */ - public Builder schemas(@Nullable List schemas) { - this.schemas = schemas; - return this; - } - - /** - * The unique identifier of the resource type. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the resource type. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The description of the resource type. - */ - public Builder description(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The URL of the resource type endpoint. - */ - public Builder endpoint(@Nullable String endpoint) { - this.endpoint = endpoint; - return this; - } - - /** - * The schema of the resource type. - */ - public Builder schema(@Nullable String schema) { - this.schema = schema; - return this; - } - - /** - * The list of schema extensions for the resource type. - */ - public Builder schemaExtensions(@Nullable List schemaExtensions) { - this.schemaExtensions = schemaExtensions; - return this; - } - - /** - * Metadata of the resource. - */ - public Builder meta(@Nullable MetaJson meta) { - this.meta = meta; - return this; - } - - public ResourceTypeJson build() { - return new ResourceTypeJson(schemas, id, name, description, endpoint, schema, schemaExtensions, meta); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ResourceTypeJsonSchemaExtension.java b/packages/java/src/main/java/com/cvent/models/components/ResourceTypeJsonSchemaExtension.java deleted file mode 100644 index efa5c4536..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ResourceTypeJsonSchemaExtension.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.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; - -public class ResourceTypeJsonSchemaExtension { - /** - * The id of the schema extension - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("schema") - private String schema; - - /** - * True indicates if the schema extension is required. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; - - @JsonCreator - public ResourceTypeJsonSchemaExtension( - @JsonProperty("schema") @Nullable String schema, @JsonProperty("required") @Nullable Boolean required) { - this.schema = schema; - this.required = required; - } - - public ResourceTypeJsonSchemaExtension() { - this(null, null); - } - - /** - * The id of the schema extension - */ - public Optional schema() { - return Optional.ofNullable(this.schema); - } - - /** - * True indicates if the schema extension is required. - */ - public Optional required() { - return Optional.ofNullable(this.required); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The id of the schema extension - */ - public ResourceTypeJsonSchemaExtension withSchema(@Nullable String schema) { - this.schema = schema; - return this; - } - - /** - * True indicates if the schema extension is required. - */ - public ResourceTypeJsonSchemaExtension 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; - } - ResourceTypeJsonSchemaExtension other = (ResourceTypeJsonSchemaExtension) o; - return Utils.enhancedDeepEquals(this.schema, other.schema) - && Utils.enhancedDeepEquals(this.required, other.required); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(schema, required); - } - - @Override - public String toString() { - return Utils.toString(ResourceTypeJsonSchemaExtension.class, "schema", schema, "required", required); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String schema; - - private Boolean required; - - private Builder() { - // force use of static builder() method - } - - /** - * The id of the schema extension - */ - public Builder schema(@Nullable String schema) { - this.schema = schema; - return this; - } - - /** - * True indicates if the schema extension is required. - */ - public Builder required(@Nullable Boolean required) { - this.required = required; - return this; - } - - public ResourceTypeJsonSchemaExtension build() { - return new ResourceTypeJsonSchemaExtension(schema, required); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ResourceTypes.java b/packages/java/src/main/java/com/cvent/models/components/ResourceTypes.java index 39845c5b7..b800f9fc8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ResourceTypes.java +++ b/packages/java/src/main/java/com/cvent/models/components/ResourceTypes.java @@ -54,7 +54,7 @@ public class ResourceTypes { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("Resources") - private List resources; + private List resources; @JsonCreator public ResourceTypes( @@ -62,7 +62,7 @@ public ResourceTypes( @JsonProperty("itemsPerPage") @Nullable Long itemsPerPage, @JsonProperty("startIndex") @Nullable Long startIndex, @JsonProperty("totalResults") @Nullable Long totalResults, - @JsonProperty("Resources") @Nullable List resources) { + @JsonProperty("Resources") @Nullable List resources) { this.schemas = schemas; this.itemsPerPage = itemsPerPage; this.startIndex = startIndex; @@ -105,7 +105,7 @@ public Optional totalResults() { /** * The collection of schema resources. */ - public Optional> resources() { + public Optional> resources() { return Optional.ofNullable(this.resources); } @@ -148,7 +148,7 @@ public ResourceTypes withTotalResults(@Nullable Long totalResults) { /** * The collection of schema resources. */ - public ResourceTypes withResources(@Nullable List resources) { + public ResourceTypes withResources(@Nullable List resources) { this.resources = resources; return this; } @@ -201,7 +201,7 @@ public static final class Builder { private Long totalResults; - private List resources; + private List resources; private Builder() { // force use of static builder() method @@ -242,7 +242,7 @@ public Builder totalResults(@Nullable Long totalResults) { /** * The collection of schema resources. */ - public Builder resources(@Nullable List resources) { + public Builder resources(@Nullable List resources) { this.resources = resources; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttributeReturnedTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ReturnedType.java similarity index 72% rename from packages/java/src/main/java/com/cvent/models/components/AttributeReturnedTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/ReturnedType.java index 1806073fc..623171e36 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttributeReturnedTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ReturnedType.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * AttributeReturnedTypeJson + * ReturnedType * *

This is used to denote the returned type of the attribute. */ -public enum AttributeReturnedTypeJson { +public enum ReturnedType { ALWAYS("always"), NEVER("never"), DEFAULT("default"), @@ -22,7 +22,7 @@ public enum AttributeReturnedTypeJson { @JsonValue private final String value; - AttributeReturnedTypeJson(String value) { + ReturnedType(String value) { this.value = value; } @@ -30,8 +30,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (AttributeReturnedTypeJson o : AttributeReturnedTypeJson.values()) { + public static Optional fromValue(String value) { + for (ReturnedType o : ReturnedType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/ResourceTypeSchemaExtension.java b/packages/java/src/main/java/com/cvent/models/components/SchemaExtension.java similarity index 83% rename from packages/java/src/main/java/com/cvent/models/components/ResourceTypeSchemaExtension.java rename to packages/java/src/main/java/com/cvent/models/components/SchemaExtension.java index bc4d2e45d..ba18b4470 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ResourceTypeSchemaExtension.java +++ b/packages/java/src/main/java/com/cvent/models/components/SchemaExtension.java @@ -14,7 +14,7 @@ import java.lang.String; import java.util.Optional; -public class ResourceTypeSchemaExtension { +public class SchemaExtension { /** * The id of the schema extension */ @@ -30,13 +30,13 @@ public class ResourceTypeSchemaExtension { private Boolean required; @JsonCreator - public ResourceTypeSchemaExtension( + public SchemaExtension( @JsonProperty("schema") @Nullable String schema, @JsonProperty("required") @Nullable Boolean required) { this.schema = schema; this.required = required; } - public ResourceTypeSchemaExtension() { + public SchemaExtension() { this(null, null); } @@ -61,7 +61,7 @@ public static Builder builder() { /** * The id of the schema extension */ - public ResourceTypeSchemaExtension withSchema(@Nullable String schema) { + public SchemaExtension withSchema(@Nullable String schema) { this.schema = schema; return this; } @@ -69,7 +69,7 @@ public ResourceTypeSchemaExtension withSchema(@Nullable String schema) { /** * True indicates if the schema extension is required. */ - public ResourceTypeSchemaExtension withRequired(@Nullable Boolean required) { + public SchemaExtension withRequired(@Nullable Boolean required) { this.required = required; return this; } @@ -82,7 +82,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ResourceTypeSchemaExtension other = (ResourceTypeSchemaExtension) o; + SchemaExtension other = (SchemaExtension) o; return Utils.enhancedDeepEquals(this.schema, other.schema) && Utils.enhancedDeepEquals(this.required, other.required); } @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(ResourceTypeSchemaExtension.class, "schema", schema, "required", required); + return Utils.toString(SchemaExtension.class, "schema", schema, "required", required); } @SuppressWarnings("UnusedReturnValue") @@ -124,8 +124,8 @@ public Builder required(@Nullable Boolean required) { return this; } - public ResourceTypeSchemaExtension build() { - return new ResourceTypeSchemaExtension(schema, required); + public SchemaExtension build() { + return new SchemaExtension(schema, required); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/SchemaJson.java b/packages/java/src/main/java/com/cvent/models/components/SchemaJson.java deleted file mode 100644 index 9ea44b27d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SchemaJson.java +++ /dev/null @@ -1,253 +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; - -/** - * SchemaJson - * - *

Schema - */ -public class SchemaJson { - /** - * The unique identifier of the schema. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The name of the schema. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The description of the schema. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("description") - private String description; - - /** - * The collection of attributes for the schema. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("attributes") - private List attributes; - - /** - * Metadata of the resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("meta") - private MetaJson meta; - - @JsonCreator - public SchemaJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("description") @Nullable String description, - @JsonProperty("attributes") @Nullable List attributes, - @JsonProperty("meta") @Nullable MetaJson meta) { - this.id = id; - this.name = name; - this.description = description; - this.attributes = attributes; - this.meta = meta; - } - - public SchemaJson() { - this(null, null, null, null, null); - } - - /** - * The unique identifier of the schema. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the schema. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The description of the schema. - */ - public Optional description() { - return Optional.ofNullable(this.description); - } - - /** - * The collection of attributes for the schema. - */ - public Optional> attributes() { - return Optional.ofNullable(this.attributes); - } - - /** - * Metadata of the resource. - */ - public Optional meta() { - return Optional.ofNullable(this.meta); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the schema. - */ - public SchemaJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the schema. - */ - public SchemaJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The description of the schema. - */ - public SchemaJson withDescription(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The collection of attributes for the schema. - */ - public SchemaJson withAttributes(@Nullable List attributes) { - this.attributes = attributes; - return this; - } - - /** - * Metadata of the resource. - */ - public SchemaJson withMeta(@Nullable MetaJson meta) { - this.meta = meta; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SchemaJson other = (SchemaJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.description, other.description) - && Utils.enhancedDeepEquals(this.attributes, other.attributes) - && Utils.enhancedDeepEquals(this.meta, other.meta); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, description, attributes, meta); - } - - @Override - public String toString() { - return Utils.toString( - SchemaJson.class, - "id", - id, - "name", - name, - "description", - description, - "attributes", - attributes, - "meta", - meta); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private String description; - - private List attributes; - - private MetaJson meta; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the schema. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the schema. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The description of the schema. - */ - public Builder description(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The collection of attributes for the schema. - */ - public Builder attributes(@Nullable List attributes) { - this.attributes = attributes; - return this; - } - - /** - * Metadata of the resource. - */ - public Builder meta(@Nullable MetaJson meta) { - this.meta = meta; - return this; - } - - public SchemaJson build() { - return new SchemaJson(id, name, description, attributes, meta); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SchemeOAuth2ClientCredentials.java b/packages/java/src/main/java/com/cvent/models/components/SchemeOAuth2ClientCredentials.java index bbd1f635e..eabe17c16 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SchemeOAuth2ClientCredentials.java +++ b/packages/java/src/main/java/com/cvent/models/components/SchemeOAuth2ClientCredentials.java @@ -19,7 +19,7 @@ /** * SchemeOAuth2ClientCredentials * - *

OAuth2 Client Credentials Flow + *

OAuth2 Client Credentials Flow. */ public class SchemeOAuth2ClientCredentials implements HasSecurity { diff --git a/packages/java/src/main/java/com/cvent/models/components/SeatType.java b/packages/java/src/main/java/com/cvent/models/components/SeatType.java index 252b1eaa0..6af3cc381 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SeatType.java +++ b/packages/java/src/main/java/com/cvent/models/components/SeatType.java @@ -11,7 +11,7 @@ /** * SeatType * - *

Type of the seat. + *

Preferred or assigned seat type for an air booking. */ public enum SeatType { AISLE("Aisle"), 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 834e543f8..7039b3245 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 @@ -28,7 +28,7 @@ public class SendEmailEventRequest { * Details of an email to be send. */ @JsonProperty("email") - private EmailJson2 email; + private EmailJson1 email; /** * True indicates this email should be resent to attendees who had already received this email @@ -46,7 +46,7 @@ public class SendEmailEventRequest { @JsonCreator public SendEmailEventRequest( @JsonProperty("event") @Nonnull EventJson6 event, - @JsonProperty("email") @Nonnull EmailJson2 email, + @JsonProperty("email") @Nonnull EmailJson1 email, @JsonProperty("resendToPreviousRecipients") boolean resendToPreviousRecipients, @JsonProperty("attendees") @Nonnull List attendees) { this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); @@ -66,7 +66,7 @@ public EventJson6 event() { /** * Details of an email to be send. */ - public EmailJson2 email() { + public EmailJson1 email() { return this.email; } @@ -100,7 +100,7 @@ public SendEmailEventRequest withEvent(@Nonnull EventJson6 event) { /** * Details of an email to be send. */ - public SendEmailEventRequest withEmail(@Nonnull EmailJson2 email) { + public SendEmailEventRequest withEmail(@Nonnull EmailJson1 email) { this.email = Utils.checkNotNull(email, "email"); return this; } @@ -161,7 +161,7 @@ public static final class Builder { private EventJson6 event; - private EmailJson2 email; + private EmailJson1 email; private boolean resendToPreviousRecipients; @@ -182,7 +182,7 @@ public Builder event(@Nonnull EventJson6 event) { /** * Details of an email to be send. */ - public Builder email(@Nonnull EmailJson2 email) { + public Builder email(@Nonnull EmailJson1 email) { this.email = Utils.checkNotNull(email, "email"); 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 fa144efef..bbb1ba89a 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 @@ -81,7 +81,7 @@ public class SendEmailEventResponse { * Details of an email to be send. */ @JsonProperty("email") - private EmailJson2 email; + private EmailJson1 email; /** * True indicates this email should be resent to attendees who had already received this email @@ -107,7 +107,7 @@ public SendEmailEventResponse( @JsonProperty("status") @Nullable SendEmailRequestStatusJson status, @JsonProperty("description") @Nullable String description, @JsonProperty("event") @Nonnull EventJson6 event, - @JsonProperty("email") @Nonnull EmailJson2 email, + @JsonProperty("email") @Nonnull EmailJson1 email, @JsonProperty("resendToPreviousRecipients") boolean resendToPreviousRecipients, @JsonProperty("attendeeResponses") @Nullable List attendeeResponses) { this.created = created; @@ -127,7 +127,7 @@ public SendEmailEventResponse( public SendEmailEventResponse( @Nonnull String requestId, @Nonnull EventJson6 event, - @Nonnull EmailJson2 email, + @Nonnull EmailJson1 email, boolean resendToPreviousRecipients) { this(null, null, null, null, requestId, null, null, event, email, resendToPreviousRecipients, null); } @@ -192,7 +192,7 @@ public EventJson6 event() { /** * Details of an email to be send. */ - public EmailJson2 email() { + public EmailJson1 email() { return this.email; } @@ -283,7 +283,7 @@ public SendEmailEventResponse withEvent(@Nonnull EventJson6 event) { /** * Details of an email to be send. */ - public SendEmailEventResponse withEmail(@Nonnull EmailJson2 email) { + public SendEmailEventResponse withEmail(@Nonnull EmailJson1 email) { this.email = Utils.checkNotNull(email, "email"); return this; } @@ -390,7 +390,7 @@ public static final class Builder { private EventJson6 event; - private EmailJson2 email; + private EmailJson1 email; private boolean resendToPreviousRecipients; @@ -468,7 +468,7 @@ public Builder event(@Nonnull EventJson6 event) { /** * Details of an email to be send. */ - public Builder email(@Nonnull EmailJson2 email) { + public Builder email(@Nonnull EmailJson1 email) { this.email = Utils.checkNotNull(email, "email"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ServiceProviderConfig.java b/packages/java/src/main/java/com/cvent/models/components/ServiceProviderConfig.java index ee03ccc4a..f46b04114 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ServiceProviderConfig.java +++ b/packages/java/src/main/java/com/cvent/models/components/ServiceProviderConfig.java @@ -81,14 +81,14 @@ public class ServiceProviderConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("authenticationSchemes") - private List authenticationSchemes; + private List authenticationSchemes; /** * Metadata of the resource. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("meta") - private MetaJson meta; + private Meta meta; @JsonCreator public ServiceProviderConfig( @@ -100,8 +100,8 @@ public ServiceProviderConfig( @JsonProperty("changePassword") @Nullable ChangePassword changePassword, @JsonProperty("sort") @Nullable Sort sort, @JsonProperty("etag") @Nullable Etag etag, - @JsonProperty("authenticationSchemes") @Nullable List authenticationSchemes, - @JsonProperty("meta") @Nullable MetaJson meta) { + @JsonProperty("authenticationSchemes") @Nullable List authenticationSchemes, + @JsonProperty("meta") @Nullable Meta meta) { this.schemas = schemas; this.documentationUri = documentationUri; this.patch = patch; @@ -177,14 +177,14 @@ public Optional etag() { /** * The collection of authentication schemas. */ - public Optional> authenticationSchemes() { + public Optional> authenticationSchemes() { return Optional.ofNullable(this.authenticationSchemes); } /** * Metadata of the resource. */ - public Optional meta() { + public Optional meta() { return Optional.ofNullable(this.meta); } @@ -259,8 +259,7 @@ public ServiceProviderConfig withEtag(@Nullable Etag etag) { /** * The collection of authentication schemas. */ - public ServiceProviderConfig withAuthenticationSchemes( - @Nullable List authenticationSchemes) { + public ServiceProviderConfig withAuthenticationSchemes(@Nullable List authenticationSchemes) { this.authenticationSchemes = authenticationSchemes; return this; } @@ -268,7 +267,7 @@ public ServiceProviderConfig withAuthenticationSchemes( /** * Metadata of the resource. */ - public ServiceProviderConfig withMeta(@Nullable MetaJson meta) { + public ServiceProviderConfig withMeta(@Nullable Meta meta) { this.meta = meta; return this; } @@ -354,9 +353,9 @@ public static final class Builder { private Etag etag; - private List authenticationSchemes; + private List authenticationSchemes; - private MetaJson meta; + private Meta meta; private Builder() { // force use of static builder() method @@ -429,7 +428,7 @@ public Builder etag(@Nullable Etag etag) { /** * The collection of authentication schemas. */ - public Builder authenticationSchemes(@Nullable List authenticationSchemes) { + public Builder authenticationSchemes(@Nullable List authenticationSchemes) { this.authenticationSchemes = authenticationSchemes; return this; } @@ -437,7 +436,7 @@ public Builder authenticationSchemes(@Nullable List au /** * Metadata of the resource. */ - public Builder meta(@Nullable MetaJson meta) { + public Builder meta(@Nullable Meta meta) { this.meta = meta; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TaxType.java b/packages/java/src/main/java/com/cvent/models/components/TaxType1.java similarity index 82% rename from packages/java/src/main/java/com/cvent/models/components/TaxType.java rename to packages/java/src/main/java/com/cvent/models/components/TaxType1.java index 688eae784..45c03c94c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TaxType.java +++ b/packages/java/src/main/java/com/cvent/models/components/TaxType1.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * TaxType + * TaxType1 * *

Bid tax type. */ -public enum TaxType { +public enum TaxType1 { CITY_TAX("city_tax"), LODGING_TAX("lodging_tax"), OCCUPANCY_TAX("occupancy_tax"), @@ -27,7 +27,7 @@ public enum TaxType { @JsonValue private final String value; - TaxType(String value) { + TaxType1(String value) { this.value = value; } @@ -35,8 +35,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (TaxType o : TaxType.values()) { + public static Optional fromValue(String value) { + for (TaxType1 o : TaxType1.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } 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 deleted file mode 100644 index 02ce1daec..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ThreeInput.java +++ /dev/null @@ -1,145 +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; - -/** - * ThreeInput - * - *

Choices for a custom field. - */ -public class ThreeInput { - /** - * Choices of custom fields. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("choices") - private List choices; - - /** - * 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. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("displayType") - private ChoicesDisplayTypeJson displayType; - - @JsonCreator - public ThreeInput( - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("displayType") @Nullable ChoicesDisplayTypeJson displayType) { - this.choices = choices; - this.displayType = displayType; - } - - public ThreeInput() { - this(null, null); - } - - /** - * Choices of custom fields. - */ - public Optional> choices() { - return Optional.ofNullable(this.choices); - } - - /** - * 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. - */ - public Optional displayType() { - return Optional.ofNullable(this.displayType); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Choices of custom fields. - */ - public ThreeInput withChoices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * 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. - */ - public ThreeInput withDisplayType(@Nullable ChoicesDisplayTypeJson displayType) { - this.displayType = displayType; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ThreeInput other = (ThreeInput) o; - return Utils.enhancedDeepEquals(this.choices, other.choices) - && Utils.enhancedDeepEquals(this.displayType, other.displayType); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(choices, displayType); - } - - @Override - public String toString() { - return Utils.toString(ThreeInput.class, "choices", choices, "displayType", displayType); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private List choices; - - private ChoicesDisplayTypeJson displayType; - - private Builder() { - // force use of static builder() method - } - - /** - * Choices of custom fields. - */ - public Builder choices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * 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. - */ - public Builder displayType(@Nullable ChoicesDisplayTypeJson displayType) { - this.displayType = displayType; - return this; - } - - public ThreeInput build() { - return new ThreeInput(choices, displayType); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TicketType.java b/packages/java/src/main/java/com/cvent/models/components/TicketType.java index e957cbe7b..a5da1fcbd 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TicketType.java +++ b/packages/java/src/main/java/com/cvent/models/components/TicketType.java @@ -11,7 +11,7 @@ /** * TicketType * - *

Category of the passenger's ticket. + *

Category of the passenger's ticket for an air booking. */ public enum TicketType { ECONOMY_COACH("Economy/Coach"), diff --git a/packages/java/src/main/java/com/cvent/models/components/Translation.java b/packages/java/src/main/java/com/cvent/models/components/Translation.java index 10b37f880..97c9f4e0b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Translation.java +++ b/packages/java/src/main/java/com/cvent/models/components/Translation.java @@ -41,13 +41,13 @@ public class Translation { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choiceTranslations") - private List choiceTranslations; + private List choiceTranslations; @JsonCreator public Translation( @JsonProperty("nameTranslation") @Nullable String nameTranslation, @JsonProperty("helpTextTranslation") @Nullable String helpTextTranslation, - @JsonProperty("choiceTranslations") @Nullable List choiceTranslations) { + @JsonProperty("choiceTranslations") @Nullable List choiceTranslations) { this.nameTranslation = nameTranslation; this.helpTextTranslation = helpTextTranslation; this.choiceTranslations = choiceTranslations; @@ -75,7 +75,7 @@ public Optional helpTextTranslation() { * Translations for the choice texts of a custom field. This property is only applicable for custom * fields with choices. */ - public Optional> choiceTranslations() { + public Optional> choiceTranslations() { return Optional.ofNullable(this.choiceTranslations); } @@ -103,7 +103,7 @@ public Translation withHelpTextTranslation(@Nullable String helpTextTranslation) * Translations for the choice texts of a custom field. This property is only applicable for custom * fields with choices. */ - public Translation withChoiceTranslations(@Nullable List choiceTranslations) { + public Translation withChoiceTranslations(@Nullable List choiceTranslations) { this.choiceTranslations = choiceTranslations; return this; } @@ -146,7 +146,7 @@ public static final class Builder { private String helpTextTranslation; - private List choiceTranslations; + private List choiceTranslations; private Builder() { // force use of static builder() method @@ -172,7 +172,7 @@ public Builder helpTextTranslation(@Nullable String helpTextTranslation) { * Translations for the choice texts of a custom field. This property is only applicable for custom * fields with choices. */ - public Builder choiceTranslations(@Nullable List choiceTranslations) { + public Builder choiceTranslations(@Nullable List choiceTranslations) { this.choiceTranslations = choiceTranslations; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Translation1.java b/packages/java/src/main/java/com/cvent/models/components/Translation1.java index 61064f540..baf520521 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Translation1.java +++ b/packages/java/src/main/java/com/cvent/models/components/Translation1.java @@ -28,12 +28,12 @@ public class Translation1 { * IETF language code used to specify a target language for the translation. */ @JsonProperty("language") - private LanguageJson language; + private Language1 language; @JsonCreator public Translation1( @JsonProperty("translation") @Nonnull Translation translation, - @JsonProperty("language") @Nonnull LanguageJson language) { + @JsonProperty("language") @Nonnull Language1 language) { this.translation = Optional.ofNullable(translation) .orElseThrow(() -> new IllegalArgumentException("translation cannot be null")); this.language = Optional.ofNullable(language) @@ -51,7 +51,7 @@ public Translation translation() { /** * IETF language code used to specify a target language for the translation. */ - public LanguageJson language() { + public Language1 language() { return this.language; } @@ -71,7 +71,7 @@ public Translation1 withTranslation(@Nonnull Translation translation) { /** * IETF language code used to specify a target language for the translation. */ - public Translation1 withLanguage(@Nonnull LanguageJson language) { + public Translation1 withLanguage(@Nonnull Language1 language) { this.language = Utils.checkNotNull(language, "language"); return this; } @@ -104,7 +104,7 @@ public static final class Builder { private Translation translation; - private LanguageJson language; + private Language1 language; private Builder() { // force use of static builder() method @@ -122,7 +122,7 @@ public Builder translation(@Nonnull Translation translation) { /** * IETF language code used to specify a target language for the translation. */ - public Builder language(@Nonnull LanguageJson language) { + public Builder language(@Nonnull Language1 language) { this.language = Utils.checkNotNull(language, "language"); 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 71981ca9d..3127ad834 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 @@ -83,7 +83,7 @@ public class TravelAccount { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("addresses") - private List addresses; + private List addresses; @JsonCreator public TravelAccount( @@ -95,7 +95,7 @@ public TravelAccount( @JsonProperty("name") @Nullable String name, @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; @@ -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); } @@ -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; } @@ -319,7 +319,7 @@ public static final class Builder { private Boolean certified; - private List addresses; + private List addresses; private Builder() { // force use of static builder() method @@ -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/TravelBidTaxAndFee.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java index 3018482a5..c50beeb92 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java @@ -28,7 +28,7 @@ public class TravelBidTaxAndFee { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("code") - private TaxType code; + private TaxType1 code; /** * The amount of the tax/fee. This may be a percent or monetary value depending on the value in @@ -69,7 +69,7 @@ public class TravelBidTaxAndFee { @JsonCreator public TravelBidTaxAndFee( - @JsonProperty("code") @Nullable TaxType code, + @JsonProperty("code") @Nullable TaxType1 code, @JsonProperty("amount") @Nullable Double amount, @JsonProperty("percent") @Nullable Boolean percent, @JsonProperty("included") @Nullable Boolean included, @@ -90,7 +90,7 @@ public TravelBidTaxAndFee() { /** * Bid tax type. */ - public Optional code() { + public Optional code() { return Optional.ofNullable(this.code); } @@ -138,7 +138,7 @@ public static Builder builder() { /** * Bid tax type. */ - public TravelBidTaxAndFee withCode(@Nullable TaxType code) { + public TravelBidTaxAndFee withCode(@Nullable TaxType1 code) { this.code = code; return this; } @@ -228,7 +228,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private TaxType code; + private TaxType1 code; private Double amount; @@ -247,7 +247,7 @@ private Builder() { /** * Bid tax type. */ - public Builder code(@Nullable TaxType code) { + public Builder code(@Nullable TaxType1 code) { this.code = code; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Two.java b/packages/java/src/main/java/com/cvent/models/components/Two.java deleted file mode 100644 index afc378f15..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/Two.java +++ /dev/null @@ -1,135 +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; - -/** - * Two - * - *

This is used to denote the open ended comment box type of custom field. - */ -public class Two { - /** - * Minimum number/characters allowed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minimum") - private Long minimum; - - /** - * Maximum number/characters allowed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maximum") - private Long maximum; - - @JsonCreator - public Two(@JsonProperty("minimum") @Nullable Long minimum, @JsonProperty("maximum") @Nullable Long maximum) { - this.minimum = minimum; - this.maximum = maximum; - } - - public Two() { - this(null, null); - } - - /** - * Minimum number/characters allowed. - */ - public Optional minimum() { - return Optional.ofNullable(this.minimum); - } - - /** - * Maximum number/characters allowed. - */ - public Optional maximum() { - return Optional.ofNullable(this.maximum); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Minimum number/characters allowed. - */ - public Two withMinimum(@Nullable Long minimum) { - this.minimum = minimum; - return this; - } - - /** - * Maximum number/characters allowed. - */ - public Two withMaximum(@Nullable Long maximum) { - this.maximum = maximum; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Two other = (Two) o; - return Utils.enhancedDeepEquals(this.minimum, other.minimum) - && Utils.enhancedDeepEquals(this.maximum, other.maximum); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(minimum, maximum); - } - - @Override - public String toString() { - return Utils.toString(Two.class, "minimum", minimum, "maximum", maximum); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Long minimum; - - private Long maximum; - - private Builder() { - // force use of static builder() method - } - - /** - * Minimum number/characters allowed. - */ - public Builder minimum(@Nullable Long minimum) { - this.minimum = minimum; - return this; - } - - /** - * Maximum number/characters allowed. - */ - public Builder maximum(@Nullable Long maximum) { - this.maximum = maximum; - return this; - } - - public Two build() { - return new Two(minimum, maximum); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttributeUniquenessTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/UniquenessType.java similarity index 70% rename from packages/java/src/main/java/com/cvent/models/components/AttributeUniquenessTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/UniquenessType.java index 41b14bfce..7080b9f16 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttributeUniquenessTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/UniquenessType.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * AttributeUniquenessTypeJson + * UniquenessType * *

This is used to denote the uniqueness type of the attribute. */ -public enum AttributeUniquenessTypeJson { +public enum UniquenessType { NONE("none"), SERVER("server"), GLOBAL("global"); @@ -21,7 +21,7 @@ public enum AttributeUniquenessTypeJson { @JsonValue private final String value; - AttributeUniquenessTypeJson(String value) { + UniquenessType(String value) { this.value = value; } @@ -29,8 +29,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (AttributeUniquenessTypeJson o : AttributeUniquenessTypeJson.values()) { + public static Optional fromValue(String value) { + for (UniquenessType o : UniquenessType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } 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 accb79d3a..7f32f5de8 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 @@ -42,7 +42,7 @@ public class User { * The name of the user. */ @JsonProperty("name") - private NameJson name; + private Name name; /** * The user name of the user to be used during identification. @@ -64,7 +64,7 @@ public class User { * sequence. */ @JsonProperty("emails") - private List emails; + private List emails; /** * The title of the user. @@ -79,7 +79,7 @@ public class User { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("phoneNumbers") - private List phoneNumbers; + private List phoneNumbers; /** * The address of the user. The user can have only one address.
If multiple addresses are @@ -90,13 +90,13 @@ public class User { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("addresses") - private List addresses; + private List addresses; /** * The type of the user. */ @JsonProperty("userType") - private UserTypeJson userType; + private UserType userType; /** * List of Timezones supported. @@ -115,39 +115,39 @@ public class User { * The SCIM group (representing Cvent user role) of the user. */ @JsonProperty("groups") - private List groups; + private List groups; /** * Enterprise extension model for the user. */ @JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User") - private UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User; + private UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User; /** * Metadata of the resource. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("meta") - private MetaJson meta; + private Meta meta; @JsonCreator public User( @JsonProperty("schemas") @Nullable List schemas, @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nonnull NameJson name, + @JsonProperty("name") @Nonnull Name name, @JsonProperty("userName") @Nonnull String userName, @JsonProperty("active") @Nullable Boolean active, - @JsonProperty("emails") @Nonnull List emails, + @JsonProperty("emails") @Nonnull List emails, @JsonProperty("title") @Nullable String title, - @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, - @JsonProperty("addresses") @Nullable List addresses, - @JsonProperty("userType") @Nonnull UserTypeJson userType, + @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, + @JsonProperty("addresses") @Nullable List addresses, + @JsonProperty("userType") @Nonnull UserType userType, @JsonProperty("timezone") @Nullable String timezone, @JsonProperty("locale") @Nonnull String locale, - @JsonProperty("groups") @Nonnull List groups, + @JsonProperty("groups") @Nonnull List groups, @JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User") @Nonnull - UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User, - @JsonProperty("meta") @Nullable MetaJson meta) { + UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User, + @JsonProperty("meta") @Nullable Meta meta) { this.schemas = schemas; this.id = id; this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); @@ -172,13 +172,13 @@ public User( } public User( - @Nonnull NameJson name, + @Nonnull Name name, @Nonnull String userName, - @Nonnull List emails, - @Nonnull UserTypeJson userType, + @Nonnull List emails, + @Nonnull UserType userType, @Nonnull String locale, - @Nonnull List groups, - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { + @Nonnull List groups, + @Nonnull UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User) { this( null, null, @@ -214,7 +214,7 @@ public Optional id() { /** * The name of the user. */ - public NameJson name() { + public Name name() { return this.name; } @@ -238,7 +238,7 @@ public Optional active() { * the following sequence of criteria: primary email, then work type, and finally first in the * sequence. */ - public List emails() { + public List emails() { return this.emails; } @@ -253,7 +253,7 @@ public Optional title() { * The phone numbers of the user.
If more than one number per type is provided, only one is * accepted and rest are ignored. */ - public Optional> phoneNumbers() { + public Optional> phoneNumbers() { return Optional.ofNullable(this.phoneNumbers); } @@ -264,14 +264,14 @@ 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); } /** * The type of the user. */ - public UserTypeJson userType() { + public UserType userType() { return this.userType; } @@ -292,21 +292,21 @@ public String locale() { /** * The SCIM group (representing Cvent user role) of the user. */ - public List groups() { + public List groups() { return this.groups; } /** * Enterprise extension model for the user. */ - public UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User() { + public UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User() { return this.urnIetfParamsScimSchemasExtensionEnterprise20User; } /** * Metadata of the resource. */ - public Optional meta() { + public Optional meta() { return Optional.ofNullable(this.meta); } @@ -333,7 +333,7 @@ public User withId(@Nullable String id) { /** * The name of the user. */ - public User withName(@Nonnull NameJson name) { + public User withName(@Nonnull Name name) { this.name = Utils.checkNotNull(name, "name"); return this; } @@ -360,7 +360,7 @@ public User withActive(@Nullable Boolean active) { * the following sequence of criteria: primary email, then work type, and finally first in the * sequence. */ - public User withEmails(@Nonnull List emails) { + public User withEmails(@Nonnull List emails) { this.emails = Utils.checkNotNull(emails, "emails"); return this; } @@ -377,7 +377,7 @@ public User withTitle(@Nullable String title) { * The phone numbers of the user.
If more than one number per type is provided, only one is * accepted and rest are ignored. */ - public User withPhoneNumbers(@Nullable List phoneNumbers) { + public User withPhoneNumbers(@Nullable List phoneNumbers) { this.phoneNumbers = phoneNumbers; return this; } @@ -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; } @@ -397,7 +397,7 @@ public User withAddresses(@Nullable List addresses) { /** * The type of the user. */ - public User withUserType(@Nonnull UserTypeJson userType) { + public User withUserType(@Nonnull UserType userType) { this.userType = Utils.checkNotNull(userType, "userType"); return this; } @@ -421,7 +421,7 @@ public User withLocale(@Nonnull String locale) { /** * The SCIM group (representing Cvent user role) of the user. */ - public User withGroups(@Nonnull List groups) { + public User withGroups(@Nonnull List groups) { this.groups = Utils.checkNotNull(groups, "groups"); return this; } @@ -430,7 +430,7 @@ public User withGroups(@Nonnull List groups) { * Enterprise extension model for the user. */ public User withUrnIetfParamsScimSchemasExtensionEnterprise20User( - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { + @Nonnull UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User) { this.urnIetfParamsScimSchemasExtensionEnterprise20User = Utils.checkNotNull( urnIetfParamsScimSchemasExtensionEnterprise20User, "urnIetfParamsScimSchemasExtensionEnterprise20User"); return this; @@ -439,7 +439,7 @@ public User withUrnIetfParamsScimSchemasExtensionEnterprise20User( /** * Metadata of the resource. */ - public User withMeta(@Nullable MetaJson meta) { + public User withMeta(@Nullable Meta meta) { this.meta = meta; return this; } @@ -535,31 +535,31 @@ public static final class Builder { private String id; - private NameJson name; + private Name name; private String userName; private Boolean active; - private List emails; + private List emails; private String title; - private List phoneNumbers; + private List phoneNumbers; - private List addresses; + private List addresses; - private UserTypeJson userType; + private UserType userType; private String timezone; private String locale; - private List groups; + private List groups; - private UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User; + private UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User; - private MetaJson meta; + private Meta meta; private Builder() { // force use of static builder() method @@ -584,7 +584,7 @@ public Builder id(@Nullable String id) { /** * The name of the user. */ - public Builder name(@Nonnull NameJson name) { + public Builder name(@Nonnull Name name) { this.name = Utils.checkNotNull(name, "name"); return this; } @@ -611,7 +611,7 @@ public Builder active(@Nullable Boolean active) { * the following sequence of criteria: primary email, then work type, and finally first in the * sequence. */ - public Builder emails(@Nonnull List emails) { + public Builder emails(@Nonnull List emails) { this.emails = Utils.checkNotNull(emails, "emails"); return this; } @@ -628,7 +628,7 @@ public Builder title(@Nullable String title) { * The phone numbers of the user.
If more than one number per type is provided, only one is * accepted and rest are ignored. */ - public Builder phoneNumbers(@Nullable List phoneNumbers) { + public Builder phoneNumbers(@Nullable List phoneNumbers) { this.phoneNumbers = phoneNumbers; return this; } @@ -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; } @@ -648,7 +648,7 @@ public Builder addresses(@Nullable List addresses) { /** * The type of the user. */ - public Builder userType(@Nonnull UserTypeJson userType) { + public Builder userType(@Nonnull UserType userType) { this.userType = Utils.checkNotNull(userType, "userType"); return this; } @@ -672,7 +672,7 @@ public Builder locale(@Nonnull String locale) { /** * The SCIM group (representing Cvent user role) of the user. */ - public Builder groups(@Nonnull List groups) { + public Builder groups(@Nonnull List groups) { this.groups = Utils.checkNotNull(groups, "groups"); return this; } @@ -681,7 +681,7 @@ public Builder groups(@Nonnull List groups) { * Enterprise extension model for the user. */ public Builder urnIetfParamsScimSchemasExtensionEnterprise20User( - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { + @Nonnull UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User) { this.urnIetfParamsScimSchemasExtensionEnterprise20User = Utils.checkNotNull( urnIetfParamsScimSchemasExtensionEnterprise20User, "urnIetfParamsScimSchemasExtensionEnterprise20User"); @@ -691,7 +691,7 @@ public Builder urnIetfParamsScimSchemasExtensionEnterprise20User( /** * Metadata of the resource. */ - public Builder meta(@Nullable MetaJson meta) { + public Builder meta(@Nullable Meta meta) { this.meta = meta; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/UserEnterpriseExtensionJson.java b/packages/java/src/main/java/com/cvent/models/components/UserEnterpriseExtension.java similarity index 89% rename from packages/java/src/main/java/com/cvent/models/components/UserEnterpriseExtensionJson.java rename to packages/java/src/main/java/com/cvent/models/components/UserEnterpriseExtension.java index 504e8c079..ef09d4218 100644 --- a/packages/java/src/main/java/com/cvent/models/components/UserEnterpriseExtensionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/UserEnterpriseExtension.java @@ -17,11 +17,11 @@ import java.util.Optional; /** - * UserEnterpriseExtensionJson + * UserEnterpriseExtension * *

Enterprise extension model for the user. */ -public class UserEnterpriseExtensionJson { +public class UserEnterpriseExtension { /** * Indicates if the login details are to be sent to user. */ @@ -66,7 +66,7 @@ public class UserEnterpriseExtensionJson { private String pager; @JsonCreator - public UserEnterpriseExtensionJson( + public UserEnterpriseExtension( @JsonProperty("sendLoginDetails") @Nullable Boolean sendLoginDetails, @JsonProperty("federatedId") @Nullable String federatedId, @JsonProperty("company") @Nullable String company, @@ -82,7 +82,7 @@ public UserEnterpriseExtensionJson( this.pager = pager; } - public UserEnterpriseExtensionJson() { + public UserEnterpriseExtension() { this(null, null, null, null, null, null); } @@ -136,7 +136,7 @@ public static Builder builder() { /** * Indicates if the login details are to be sent to user. */ - public UserEnterpriseExtensionJson withSendLoginDetails(@Nullable Boolean sendLoginDetails) { + public UserEnterpriseExtension withSendLoginDetails(@Nullable Boolean sendLoginDetails) { this.sendLoginDetails = sendLoginDetails; return this; } @@ -145,7 +145,7 @@ public UserEnterpriseExtensionJson withSendLoginDetails(@Nullable Boolean sendLo * The ID of the user in your identity management system. Used when you leverage identity management * software and need to identify a user by a value other than their Cvent username. */ - public UserEnterpriseExtensionJson withFederatedId(@Nullable String federatedId) { + public UserEnterpriseExtension withFederatedId(@Nullable String federatedId) { this.federatedId = federatedId; return this; } @@ -153,7 +153,7 @@ public UserEnterpriseExtensionJson withFederatedId(@Nullable String federatedId) /** * The company of the user. */ - public UserEnterpriseExtensionJson withCompany(@Nullable String company) { + public UserEnterpriseExtension withCompany(@Nullable String company) { this.company = company; return this; } @@ -161,7 +161,7 @@ public UserEnterpriseExtensionJson withCompany(@Nullable String company) { /** * The work fax number of the user */ - public UserEnterpriseExtensionJson withWorkFax(@Nullable String workFax) { + public UserEnterpriseExtension withWorkFax(@Nullable String workFax) { this.workFax = workFax; return this; } @@ -169,7 +169,7 @@ public UserEnterpriseExtensionJson withWorkFax(@Nullable String workFax) { /** * The home fax number of the user. */ - public UserEnterpriseExtensionJson withHomeFax(@Nullable String homeFax) { + public UserEnterpriseExtension withHomeFax(@Nullable String homeFax) { this.homeFax = homeFax; return this; } @@ -177,7 +177,7 @@ public UserEnterpriseExtensionJson withHomeFax(@Nullable String homeFax) { /** * The pager number of the user. */ - public UserEnterpriseExtensionJson withPager(@Nullable String pager) { + public UserEnterpriseExtension withPager(@Nullable String pager) { this.pager = pager; return this; } @@ -190,7 +190,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - UserEnterpriseExtensionJson other = (UserEnterpriseExtensionJson) o; + UserEnterpriseExtension other = (UserEnterpriseExtension) o; return Utils.enhancedDeepEquals(this.sendLoginDetails, other.sendLoginDetails) && Utils.enhancedDeepEquals(this.federatedId, other.federatedId) && Utils.enhancedDeepEquals(this.company, other.company) @@ -207,7 +207,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString( - UserEnterpriseExtensionJson.class, + UserEnterpriseExtension.class, "sendLoginDetails", sendLoginDetails, "federatedId", @@ -290,8 +290,8 @@ public Builder pager(@Nullable String pager) { return this; } - public UserEnterpriseExtensionJson build() { - return new UserEnterpriseExtensionJson(sendLoginDetails, federatedId, company, workFax, homeFax, pager); + public UserEnterpriseExtension build() { + return new UserEnterpriseExtension(sendLoginDetails, federatedId, company, workFax, homeFax, pager); } private static final LazySingletonValue _SINGLETON_VALUE_SendLoginDetails = diff --git a/packages/java/src/main/java/com/cvent/models/components/UserGroups.java b/packages/java/src/main/java/com/cvent/models/components/UserGroups.java index 311601f4a..453895985 100644 --- a/packages/java/src/main/java/com/cvent/models/components/UserGroups.java +++ b/packages/java/src/main/java/com/cvent/models/components/UserGroups.java @@ -54,7 +54,7 @@ public class UserGroups { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("Resources") - private List resources; + private List resources; @JsonCreator public UserGroups( @@ -62,7 +62,7 @@ public UserGroups( @JsonProperty("itemsPerPage") @Nullable Long itemsPerPage, @JsonProperty("startIndex") @Nullable Long startIndex, @JsonProperty("totalResults") @Nullable Long totalResults, - @JsonProperty("Resources") @Nullable List resources) { + @JsonProperty("Resources") @Nullable List resources) { this.schemas = schemas; this.itemsPerPage = itemsPerPage; this.startIndex = startIndex; @@ -105,7 +105,7 @@ public Optional totalResults() { /** * The collection of schema resources. */ - public Optional> resources() { + public Optional> resources() { return Optional.ofNullable(this.resources); } @@ -148,7 +148,7 @@ public UserGroups withTotalResults(@Nullable Long totalResults) { /** * The collection of schema resources. */ - public UserGroups withResources(@Nullable List resources) { + public UserGroups withResources(@Nullable List resources) { this.resources = resources; return this; } @@ -201,7 +201,7 @@ public static final class Builder { private Long totalResults; - private List resources; + private List resources; private Builder() { // force use of static builder() method @@ -242,7 +242,7 @@ public Builder totalResults(@Nullable Long totalResults) { /** * The collection of schema resources. */ - public Builder resources(@Nullable List resources) { + public Builder resources(@Nullable List resources) { this.resources = resources; 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 74990671c..3966fdbb8 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 @@ -28,7 +28,7 @@ public class UserInput { * The name of the user. */ @JsonProperty("name") - private NameJson name; + private Name name; /** * The user name of the user to be used during identification. @@ -50,7 +50,7 @@ public class UserInput { * sequence. */ @JsonProperty("emails") - private List emails; + private List emails; /** * The title of the user. @@ -65,7 +65,7 @@ public class UserInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("phoneNumbers") - private List phoneNumbers; + private List phoneNumbers; /** * The address of the user. The user can have only one address.
If multiple addresses are @@ -76,13 +76,13 @@ public class UserInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("addresses") - private List addresses; + private List addresses; /** * The type of the user. */ @JsonProperty("userType") - private UserTypeJson userType; + private UserType userType; /** * List of Timezones supported. @@ -101,29 +101,29 @@ public class UserInput { * The SCIM group (representing Cvent user role) of the user. */ @JsonProperty("groups") - private List groups; + private List groups; /** * Enterprise extension model for the user. */ @JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User") - private UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User; + private UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User; @JsonCreator public UserInput( - @JsonProperty("name") @Nonnull NameJson name, + @JsonProperty("name") @Nonnull Name name, @JsonProperty("userName") @Nonnull String userName, @JsonProperty("active") @Nullable Boolean active, - @JsonProperty("emails") @Nonnull List emails, + @JsonProperty("emails") @Nonnull List emails, @JsonProperty("title") @Nullable String title, - @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, - @JsonProperty("addresses") @Nullable List addresses, - @JsonProperty("userType") @Nonnull UserTypeJson userType, + @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, + @JsonProperty("addresses") @Nullable List addresses, + @JsonProperty("userType") @Nonnull UserType userType, @JsonProperty("timezone") @Nullable String timezone, @JsonProperty("locale") @Nonnull String locale, - @JsonProperty("groups") @Nonnull List groups, + @JsonProperty("groups") @Nonnull List groups, @JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User") @Nonnull - UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { + UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User) { this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); this.userName = Optional.ofNullable(userName) .orElseThrow(() -> new IllegalArgumentException("userName cannot be null")); @@ -145,13 +145,13 @@ public UserInput( } public UserInput( - @Nonnull NameJson name, + @Nonnull Name name, @Nonnull String userName, - @Nonnull List emails, - @Nonnull UserTypeJson userType, + @Nonnull List emails, + @Nonnull UserType userType, @Nonnull String locale, - @Nonnull List groups, - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { + @Nonnull List groups, + @Nonnull UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User) { this( name, userName, @@ -170,7 +170,7 @@ public UserInput( /** * The name of the user. */ - public NameJson name() { + public Name name() { return this.name; } @@ -194,7 +194,7 @@ public Optional active() { * the following sequence of criteria: primary email, then work type, and finally first in the * sequence. */ - public List emails() { + public List emails() { return this.emails; } @@ -209,7 +209,7 @@ public Optional title() { * The phone numbers of the user.
If more than one number per type is provided, only one is * accepted and rest are ignored. */ - public Optional> phoneNumbers() { + public Optional> phoneNumbers() { return Optional.ofNullable(this.phoneNumbers); } @@ -220,14 +220,14 @@ 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); } /** * The type of the user. */ - public UserTypeJson userType() { + public UserType userType() { return this.userType; } @@ -248,14 +248,14 @@ public String locale() { /** * The SCIM group (representing Cvent user role) of the user. */ - public List groups() { + public List groups() { return this.groups; } /** * Enterprise extension model for the user. */ - public UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User() { + public UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User() { return this.urnIetfParamsScimSchemasExtensionEnterprise20User; } @@ -266,7 +266,7 @@ public static Builder builder() { /** * The name of the user. */ - public UserInput withName(@Nonnull NameJson name) { + public UserInput withName(@Nonnull Name name) { this.name = Utils.checkNotNull(name, "name"); return this; } @@ -293,7 +293,7 @@ public UserInput withActive(@Nullable Boolean active) { * the following sequence of criteria: primary email, then work type, and finally first in the * sequence. */ - public UserInput withEmails(@Nonnull List emails) { + public UserInput withEmails(@Nonnull List emails) { this.emails = Utils.checkNotNull(emails, "emails"); return this; } @@ -310,7 +310,7 @@ public UserInput withTitle(@Nullable String title) { * The phone numbers of the user.
If more than one number per type is provided, only one is * accepted and rest are ignored. */ - public UserInput withPhoneNumbers(@Nullable List phoneNumbers) { + public UserInput withPhoneNumbers(@Nullable List phoneNumbers) { this.phoneNumbers = phoneNumbers; return this; } @@ -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; } @@ -330,7 +330,7 @@ public UserInput withAddresses(@Nullable List addresses) { /** * The type of the user. */ - public UserInput withUserType(@Nonnull UserTypeJson userType) { + public UserInput withUserType(@Nonnull UserType userType) { this.userType = Utils.checkNotNull(userType, "userType"); return this; } @@ -354,7 +354,7 @@ public UserInput withLocale(@Nonnull String locale) { /** * The SCIM group (representing Cvent user role) of the user. */ - public UserInput withGroups(@Nonnull List groups) { + public UserInput withGroups(@Nonnull List groups) { this.groups = Utils.checkNotNull(groups, "groups"); return this; } @@ -363,7 +363,7 @@ public UserInput withGroups(@Nonnull List groups) { * Enterprise extension model for the user. */ public UserInput withUrnIetfParamsScimSchemasExtensionEnterprise20User( - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { + @Nonnull UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User) { this.urnIetfParamsScimSchemasExtensionEnterprise20User = Utils.checkNotNull( urnIetfParamsScimSchemasExtensionEnterprise20User, "urnIetfParamsScimSchemasExtensionEnterprise20User"); return this; @@ -444,29 +444,29 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private NameJson name; + private Name name; private String userName; private Boolean active; - private List emails; + private List emails; private String title; - private List phoneNumbers; + private List phoneNumbers; - private List addresses; + private List addresses; - private UserTypeJson userType; + private UserType userType; private String timezone; private String locale; - private List groups; + private List groups; - private UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User; + private UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User; private Builder() { // force use of static builder() method @@ -475,7 +475,7 @@ private Builder() { /** * The name of the user. */ - public Builder name(@Nonnull NameJson name) { + public Builder name(@Nonnull Name name) { this.name = Utils.checkNotNull(name, "name"); return this; } @@ -502,7 +502,7 @@ public Builder active(@Nullable Boolean active) { * the following sequence of criteria: primary email, then work type, and finally first in the * sequence. */ - public Builder emails(@Nonnull List emails) { + public Builder emails(@Nonnull List emails) { this.emails = Utils.checkNotNull(emails, "emails"); return this; } @@ -519,7 +519,7 @@ public Builder title(@Nullable String title) { * The phone numbers of the user.
If more than one number per type is provided, only one is * accepted and rest are ignored. */ - public Builder phoneNumbers(@Nullable List phoneNumbers) { + public Builder phoneNumbers(@Nullable List phoneNumbers) { this.phoneNumbers = phoneNumbers; return this; } @@ -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; } @@ -539,7 +539,7 @@ public Builder addresses(@Nullable List addresses) { /** * The type of the user. */ - public Builder userType(@Nonnull UserTypeJson userType) { + public Builder userType(@Nonnull UserType userType) { this.userType = Utils.checkNotNull(userType, "userType"); return this; } @@ -563,7 +563,7 @@ public Builder locale(@Nonnull String locale) { /** * The SCIM group (representing Cvent user role) of the user. */ - public Builder groups(@Nonnull List groups) { + public Builder groups(@Nonnull List groups) { this.groups = Utils.checkNotNull(groups, "groups"); return this; } @@ -572,7 +572,7 @@ public Builder groups(@Nonnull List groups) { * Enterprise extension model for the user. */ public Builder urnIetfParamsScimSchemasExtensionEnterprise20User( - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { + @Nonnull UserEnterpriseExtension urnIetfParamsScimSchemasExtensionEnterprise20User) { this.urnIetfParamsScimSchemasExtensionEnterprise20User = Utils.checkNotNull( urnIetfParamsScimSchemasExtensionEnterprise20User, "urnIetfParamsScimSchemasExtensionEnterprise20User"); 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 deleted file mode 100644 index 07db5da41..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/UserJson.java +++ /dev/null @@ -1,724 +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; - -/** - * UserJson - * - *

Generic sample User. Not a real model used by any Cvent service. - */ -public class UserJson { - /** - * The list of schemas using this resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("schemas") - private List schemas; - - /** - * A string that has to be a format matching the industry standard uuid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The name of the user. - */ - @JsonProperty("name") - private NameJson name; - - /** - * The user name of the user to be used during identification. - */ - @JsonProperty("userName") - private String userName; - - /** - * True indicates the user is active. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("active") - private Boolean active; - - /** - * 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. - */ - @JsonProperty("emails") - private List emails; - - /** - * The title of the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The phone numbers of the user.
If more than one number per type is provided, only one is - * accepted and rest are ignored. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("phoneNumbers") - private List phoneNumbers; - - /** - * 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 - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("addresses") - private List addresses; - - /** - * The type of the user. - */ - @JsonProperty("userType") - private UserTypeJson userType; - - /** - * List of Timezones supported. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("timezone") - private String timezone; - - /** - * The locale of the user. The IETF Language Tag format is used. - */ - @JsonProperty("locale") - private String locale; - - /** - * The SCIM group (representing Cvent user role) of the user. - */ - @JsonProperty("groups") - private List groups; - - /** - * Enterprise extension model for the user. - */ - @JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User") - private UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User; - - /** - * Metadata of the resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("meta") - private MetaJson meta; - - @JsonCreator - public UserJson( - @JsonProperty("schemas") @Nullable List schemas, - @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nonnull NameJson name, - @JsonProperty("userName") @Nonnull String userName, - @JsonProperty("active") @Nullable Boolean active, - @JsonProperty("emails") @Nonnull List emails, - @JsonProperty("title") @Nullable String title, - @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, - @JsonProperty("addresses") @Nullable List addresses, - @JsonProperty("userType") @Nonnull UserTypeJson userType, - @JsonProperty("timezone") @Nullable String timezone, - @JsonProperty("locale") @Nonnull String locale, - @JsonProperty("groups") @Nonnull List groups, - @JsonProperty("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User") @Nonnull - UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User, - @JsonProperty("meta") @Nullable MetaJson meta) { - this.schemas = schemas; - this.id = id; - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.userName = Optional.ofNullable(userName) - .orElseThrow(() -> new IllegalArgumentException("userName cannot be null")); - this.active = Optional.ofNullable(active).orElse(Builder._SINGLETON_VALUE_Active.value()); - this.emails = - Optional.ofNullable(emails).orElseThrow(() -> new IllegalArgumentException("emails cannot be null")); - this.title = title; - this.phoneNumbers = phoneNumbers; - this.addresses = addresses; - this.userType = Optional.ofNullable(userType) - .orElseThrow(() -> new IllegalArgumentException("userType cannot be null")); - this.timezone = Optional.ofNullable(timezone).orElse(Builder._SINGLETON_VALUE_Timezone.value()); - this.locale = - Optional.ofNullable(locale).orElseThrow(() -> new IllegalArgumentException("locale cannot be null")); - this.groups = - Optional.ofNullable(groups).orElseThrow(() -> new IllegalArgumentException("groups cannot be null")); - this.urnIetfParamsScimSchemasExtensionEnterprise20User = Optional.ofNullable(urnIetfParamsScimSchemasExtensionEnterprise20User) - .orElseThrow(() -> new IllegalArgumentException("urnIetfParamsScimSchemasExtensionEnterprise20User cannot be null")); - this.meta = meta; - } - - public UserJson( - @Nonnull NameJson name, - @Nonnull String userName, - @Nonnull List emails, - @Nonnull UserTypeJson userType, - @Nonnull String locale, - @Nonnull List groups, - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { - this( - null, - null, - name, - userName, - null, - emails, - null, - null, - null, - userType, - null, - locale, - groups, - urnIetfParamsScimSchemasExtensionEnterprise20User, - null); - } - - /** - * The list of schemas using this resource. - */ - public Optional> schemas() { - return Optional.ofNullable(this.schemas); - } - - /** - * A string that has to be a format matching the industry standard uuid. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the user. - */ - public NameJson name() { - return this.name; - } - - /** - * The user name of the user to be used during identification. - */ - public String userName() { - return this.userName; - } - - /** - * True indicates the user is active. - */ - public Optional active() { - return Optional.ofNullable(this.active); - } - - /** - * 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. - */ - public List emails() { - return this.emails; - } - - /** - * The title of the user. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The phone numbers of the user.
If more than one number per type is provided, only one is - * accepted and rest are ignored. - */ - public Optional> phoneNumbers() { - return Optional.ofNullable(this.phoneNumbers); - } - - /** - * 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 - */ - public Optional> addresses() { - return Optional.ofNullable(this.addresses); - } - - /** - * The type of the user. - */ - public UserTypeJson userType() { - return this.userType; - } - - /** - * List of Timezones supported. - */ - public Optional timezone() { - return Optional.ofNullable(this.timezone); - } - - /** - * The locale of the user. The IETF Language Tag format is used. - */ - public String locale() { - return this.locale; - } - - /** - * The SCIM group (representing Cvent user role) of the user. - */ - public List groups() { - return this.groups; - } - - /** - * Enterprise extension model for the user. - */ - public UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User() { - return this.urnIetfParamsScimSchemasExtensionEnterprise20User; - } - - /** - * Metadata of the resource. - */ - public Optional meta() { - return Optional.ofNullable(this.meta); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The list of schemas using this resource. - */ - public UserJson withSchemas(@Nullable List schemas) { - this.schemas = schemas; - return this; - } - - /** - * A string that has to be a format matching the industry standard uuid. - */ - public UserJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the user. - */ - public UserJson withName(@Nonnull NameJson name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The user name of the user to be used during identification. - */ - public UserJson withUserName(@Nonnull String userName) { - this.userName = Utils.checkNotNull(userName, "userName"); - return this; - } - - /** - * True indicates the user is active. - */ - public UserJson withActive(@Nullable Boolean active) { - this.active = active; - return this; - } - - /** - * 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. - */ - public UserJson withEmails(@Nonnull List emails) { - this.emails = Utils.checkNotNull(emails, "emails"); - return this; - } - - /** - * The title of the user. - */ - public UserJson withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The phone numbers of the user.
If more than one number per type is provided, only one is - * accepted and rest are ignored. - */ - public UserJson withPhoneNumbers(@Nullable List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - return this; - } - - /** - * 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 - */ - public UserJson withAddresses(@Nullable List addresses) { - this.addresses = addresses; - return this; - } - - /** - * The type of the user. - */ - public UserJson withUserType(@Nonnull UserTypeJson userType) { - this.userType = Utils.checkNotNull(userType, "userType"); - return this; - } - - /** - * List of Timezones supported. - */ - public UserJson withTimezone(@Nullable String timezone) { - this.timezone = timezone; - return this; - } - - /** - * The locale of the user. The IETF Language Tag format is used. - */ - public UserJson withLocale(@Nonnull String locale) { - this.locale = Utils.checkNotNull(locale, "locale"); - return this; - } - - /** - * The SCIM group (representing Cvent user role) of the user. - */ - public UserJson withGroups(@Nonnull List groups) { - this.groups = Utils.checkNotNull(groups, "groups"); - return this; - } - - /** - * Enterprise extension model for the user. - */ - public UserJson withUrnIetfParamsScimSchemasExtensionEnterprise20User( - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { - this.urnIetfParamsScimSchemasExtensionEnterprise20User = Utils.checkNotNull( - urnIetfParamsScimSchemasExtensionEnterprise20User, "urnIetfParamsScimSchemasExtensionEnterprise20User"); - return this; - } - - /** - * Metadata of the resource. - */ - public UserJson withMeta(@Nullable MetaJson meta) { - this.meta = meta; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UserJson other = (UserJson) o; - return Utils.enhancedDeepEquals(this.schemas, other.schemas) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.userName, other.userName) - && Utils.enhancedDeepEquals(this.active, other.active) - && Utils.enhancedDeepEquals(this.emails, other.emails) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.phoneNumbers, other.phoneNumbers) - && Utils.enhancedDeepEquals(this.addresses, other.addresses) - && Utils.enhancedDeepEquals(this.userType, other.userType) - && Utils.enhancedDeepEquals(this.timezone, other.timezone) - && Utils.enhancedDeepEquals(this.locale, other.locale) - && Utils.enhancedDeepEquals(this.groups, other.groups) - && Utils.enhancedDeepEquals( - this.urnIetfParamsScimSchemasExtensionEnterprise20User, - other.urnIetfParamsScimSchemasExtensionEnterprise20User) - && Utils.enhancedDeepEquals(this.meta, other.meta); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - schemas, - id, - name, - userName, - active, - emails, - title, - phoneNumbers, - addresses, - userType, - timezone, - locale, - groups, - urnIetfParamsScimSchemasExtensionEnterprise20User, - meta); - } - - @Override - public String toString() { - return Utils.toString( - UserJson.class, - "schemas", - schemas, - "id", - id, - "name", - name, - "userName", - userName, - "active", - active, - "emails", - emails, - "title", - title, - "phoneNumbers", - phoneNumbers, - "addresses", - addresses, - "userType", - userType, - "timezone", - timezone, - "locale", - locale, - "groups", - groups, - "urnIetfParamsScimSchemasExtensionEnterprise20User", - urnIetfParamsScimSchemasExtensionEnterprise20User, - "meta", - meta); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private List schemas; - - private String id; - - private NameJson name; - - private String userName; - - private Boolean active; - - private List emails; - - private String title; - - private List phoneNumbers; - - private List addresses; - - private UserTypeJson userType; - - private String timezone; - - private String locale; - - private List groups; - - private UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User; - - private MetaJson meta; - - private Builder() { - // force use of static builder() method - } - - /** - * The list of schemas using this resource. - */ - public Builder schemas(@Nullable List schemas) { - this.schemas = schemas; - return this; - } - - /** - * 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 name of the user. - */ - public Builder name(@Nonnull NameJson name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The user name of the user to be used during identification. - */ - public Builder userName(@Nonnull String userName) { - this.userName = Utils.checkNotNull(userName, "userName"); - return this; - } - - /** - * True indicates the user is active. - */ - public Builder active(@Nullable Boolean active) { - this.active = active; - return this; - } - - /** - * 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. - */ - public Builder emails(@Nonnull List emails) { - this.emails = Utils.checkNotNull(emails, "emails"); - return this; - } - - /** - * The title of the user. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The phone numbers of the user.
If more than one number per type is provided, only one is - * accepted and rest are ignored. - */ - public Builder phoneNumbers(@Nullable List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - return this; - } - - /** - * 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 - */ - public Builder addresses(@Nullable List addresses) { - this.addresses = addresses; - return this; - } - - /** - * The type of the user. - */ - public Builder userType(@Nonnull UserTypeJson userType) { - this.userType = Utils.checkNotNull(userType, "userType"); - return this; - } - - /** - * List of Timezones supported. - */ - public Builder timezone(@Nullable String timezone) { - this.timezone = timezone; - return this; - } - - /** - * The locale of the user. The IETF Language Tag format is used. - */ - public Builder locale(@Nonnull String locale) { - this.locale = Utils.checkNotNull(locale, "locale"); - return this; - } - - /** - * The SCIM group (representing Cvent user role) of the user. - */ - public Builder groups(@Nonnull List groups) { - this.groups = Utils.checkNotNull(groups, "groups"); - return this; - } - - /** - * Enterprise extension model for the user. - */ - public Builder urnIetfParamsScimSchemasExtensionEnterprise20User( - @Nonnull UserEnterpriseExtensionJson urnIetfParamsScimSchemasExtensionEnterprise20User) { - this.urnIetfParamsScimSchemasExtensionEnterprise20User = Utils.checkNotNull( - urnIetfParamsScimSchemasExtensionEnterprise20User, - "urnIetfParamsScimSchemasExtensionEnterprise20User"); - return this; - } - - /** - * Metadata of the resource. - */ - public Builder meta(@Nullable MetaJson meta) { - this.meta = meta; - return this; - } - - public UserJson build() { - return new UserJson( - schemas, - id, - name, - userName, - active, - emails, - title, - phoneNumbers, - addresses, - userType, - timezone, - locale, - groups, - urnIetfParamsScimSchemasExtensionEnterprise20User, - meta); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Active = - new LazySingletonValue<>("active", "true", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_Timezone = - new LazySingletonValue<>("timezone", "\"America/New_York\"", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/UserTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/UserType.java similarity index 76% rename from packages/java/src/main/java/com/cvent/models/components/UserTypeJson.java rename to packages/java/src/main/java/com/cvent/models/components/UserType.java index 6e3c3d994..9d7a9de67 100644 --- a/packages/java/src/main/java/com/cvent/models/components/UserTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/UserType.java @@ -9,17 +9,17 @@ import java.util.Optional; /** - * UserTypeJson + * UserType * *

The type of the user. */ -public enum UserTypeJson { +public enum UserType { PLANNER_ACCOUNT_USER("Planner Account User"); @JsonValue private final String value; - UserTypeJson(String value) { + UserType(String value) { this.value = value; } @@ -27,8 +27,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (UserTypeJson o : UserTypeJson.values()) { + public static Optional fromValue(String value) { + for (UserType o : UserType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/Users.java b/packages/java/src/main/java/com/cvent/models/components/Users.java index b50e97f18..7da26a076 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Users.java +++ b/packages/java/src/main/java/com/cvent/models/components/Users.java @@ -54,7 +54,7 @@ public class Users { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("Resources") - private List resources; + private List resources; @JsonCreator public Users( @@ -62,7 +62,7 @@ public Users( @JsonProperty("itemsPerPage") @Nullable Long itemsPerPage, @JsonProperty("startIndex") @Nullable Long startIndex, @JsonProperty("totalResults") @Nullable Long totalResults, - @JsonProperty("Resources") @Nullable List resources) { + @JsonProperty("Resources") @Nullable List resources) { this.schemas = schemas; this.itemsPerPage = itemsPerPage; this.startIndex = startIndex; @@ -105,7 +105,7 @@ public Optional totalResults() { /** * The collection of user resources. */ - public Optional> resources() { + public Optional> resources() { return Optional.ofNullable(this.resources); } @@ -148,7 +148,7 @@ public Users withTotalResults(@Nullable Long totalResults) { /** * The collection of user resources. */ - public Users withResources(@Nullable List resources) { + public Users withResources(@Nullable List resources) { this.resources = resources; return this; } @@ -201,7 +201,7 @@ public static final class Builder { private Long totalResults; - private List resources; + private List resources; private Builder() { // force use of static builder() method @@ -242,7 +242,7 @@ public Builder totalResults(@Nullable Long totalResults) { /** * The collection of user resources. */ - public Builder resources(@Nullable List resources) { + public Builder resources(@Nullable List resources) { this.resources = resources; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/UsersSchema.java b/packages/java/src/main/java/com/cvent/models/components/UsersSchema.java index 435edd2f1..4eadbe5dd 100644 --- a/packages/java/src/main/java/com/cvent/models/components/UsersSchema.java +++ b/packages/java/src/main/java/com/cvent/models/components/UsersSchema.java @@ -46,22 +46,22 @@ public class UsersSchema { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attributes") - private List attributes; + private List attributes; /** * Metadata of the resource. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("meta") - private MetaJson meta; + private Meta meta; @JsonCreator public UsersSchema( @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name, @JsonProperty("description") @Nullable String description, - @JsonProperty("attributes") @Nullable List attributes, - @JsonProperty("meta") @Nullable MetaJson meta) { + @JsonProperty("attributes") @Nullable List attributes, + @JsonProperty("meta") @Nullable Meta meta) { this.id = id; this.name = name; this.description = description; @@ -97,14 +97,14 @@ public Optional description() { /** * The collection of attributes for the schema. */ - public Optional> attributes() { + public Optional> attributes() { return Optional.ofNullable(this.attributes); } /** * Metadata of the resource. */ - public Optional meta() { + public Optional meta() { return Optional.ofNullable(this.meta); } @@ -139,7 +139,7 @@ public UsersSchema withDescription(@Nullable String description) { /** * The collection of attributes for the schema. */ - public UsersSchema withAttributes(@Nullable List attributes) { + public UsersSchema withAttributes(@Nullable List attributes) { this.attributes = attributes; return this; } @@ -147,7 +147,7 @@ public UsersSchema withAttributes(@Nullable List attributes) { /** * Metadata of the resource. */ - public UsersSchema withMeta(@Nullable MetaJson meta) { + public UsersSchema withMeta(@Nullable Meta meta) { this.meta = meta; return this; } @@ -198,9 +198,9 @@ public static final class Builder { private String description; - private List attributes; + private List attributes; - private MetaJson meta; + private Meta meta; private Builder() { // force use of static builder() method @@ -233,7 +233,7 @@ public Builder description(@Nullable String description) { /** * The collection of attributes for the schema. */ - public Builder attributes(@Nullable List attributes) { + public Builder attributes(@Nullable List attributes) { this.attributes = attributes; return this; } @@ -241,7 +241,7 @@ public Builder attributes(@Nullable List attributes) { /** * Metadata of the resource. */ - public Builder meta(@Nullable MetaJson meta) { + public Builder meta(@Nullable Meta meta) { this.meta = meta; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/UsersSchemas.java b/packages/java/src/main/java/com/cvent/models/components/UsersSchemas.java index 7b2761654..7a8c5b4b4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/UsersSchemas.java +++ b/packages/java/src/main/java/com/cvent/models/components/UsersSchemas.java @@ -54,7 +54,7 @@ public class UsersSchemas { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("Resources") - private List resources; + private List resources; @JsonCreator public UsersSchemas( @@ -62,7 +62,7 @@ public UsersSchemas( @JsonProperty("itemsPerPage") @Nullable Long itemsPerPage, @JsonProperty("startIndex") @Nullable Long startIndex, @JsonProperty("totalResults") @Nullable Long totalResults, - @JsonProperty("Resources") @Nullable List resources) { + @JsonProperty("Resources") @Nullable List resources) { this.schemas = schemas; this.itemsPerPage = itemsPerPage; this.startIndex = startIndex; @@ -105,7 +105,7 @@ public Optional totalResults() { /** * The collection of schema resources. */ - public Optional> resources() { + public Optional> resources() { return Optional.ofNullable(this.resources); } @@ -148,7 +148,7 @@ public UsersSchemas withTotalResults(@Nullable Long totalResults) { /** * The collection of schema resources. */ - public UsersSchemas withResources(@Nullable List resources) { + public UsersSchemas withResources(@Nullable List resources) { this.resources = resources; return this; } @@ -201,7 +201,7 @@ public static final class Builder { private Long totalResults; - private List resources; + private List resources; private Builder() { // force use of static builder() method @@ -242,7 +242,7 @@ public Builder totalResults(@Nullable Long totalResults) { /** * The collection of schema resources. */ - public Builder resources(@Nullable List resources) { + public Builder resources(@Nullable List resources) { this.resources = resources; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroOneOf2.java b/packages/java/src/main/java/com/cvent/models/components/ZeroOneOf.java similarity index 84% rename from packages/java/src/main/java/com/cvent/models/components/ZeroOneOf2.java rename to packages/java/src/main/java/com/cvent/models/components/ZeroOneOf.java index d84a7de43..50f847bb1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroOneOf2.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroOneOf.java @@ -14,11 +14,11 @@ import java.util.Optional; /** - * ZeroOneOf2 + * ZeroOneOf * *

AttendeeAddResponse */ -public class ZeroOneOf2 { +public class ZeroOneOf { /** * The unique id representing an attendee. */ @@ -27,11 +27,11 @@ public class ZeroOneOf2 { private String id; @JsonCreator - public ZeroOneOf2(@JsonProperty("id") @Nullable String id) { + public ZeroOneOf(@JsonProperty("id") @Nullable String id) { this.id = id; } - public ZeroOneOf2() { + public ZeroOneOf() { this(null); } @@ -49,7 +49,7 @@ public static Builder builder() { /** * The unique id representing an attendee. */ - public ZeroOneOf2 withId(@Nullable String id) { + public ZeroOneOf withId(@Nullable String id) { this.id = id; return this; } @@ -62,7 +62,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ZeroOneOf2 other = (ZeroOneOf2) o; + ZeroOneOf other = (ZeroOneOf) o; return Utils.enhancedDeepEquals(this.id, other.id); } @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(ZeroOneOf2.class, "id", id); + return Utils.toString(ZeroOneOf.class, "id", id); } @SuppressWarnings("UnusedReturnValue") @@ -93,8 +93,8 @@ public Builder id(@Nullable String id) { return this; } - public ZeroOneOf2 build() { - return new ZeroOneOf2(id); + public ZeroOneOf build() { + return new ZeroOneOf(id); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroOneOf1.java b/packages/java/src/main/java/com/cvent/models/components/ZeroOneOf1.java deleted file mode 100644 index e666e085e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroOneOf1.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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ZeroOneOf1 - * - *

This is used to denote the open ended one line type of custom field. - */ -public class ZeroOneOf1 { - /** - * The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and - * EmailAddress. Custom answer formats are also supported and can be created in the Admin section of - * the planner UI. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answerFormat") - private String answerFormat; - - /** - * Minimum number/characters allowed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minimum") - private Long minimum; - - /** - * Maximum number/characters allowed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maximum") - private Long maximum; - - @JsonCreator - public ZeroOneOf1( - @JsonProperty("answerFormat") @Nullable String answerFormat, - @JsonProperty("minimum") @Nullable Long minimum, - @JsonProperty("maximum") @Nullable Long maximum) { - this.answerFormat = answerFormat; - this.minimum = minimum; - this.maximum = maximum; - } - - public ZeroOneOf1() { - this(null, null, null); - } - - /** - * The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and - * EmailAddress. Custom answer formats are also supported and can be created in the Admin section of - * the planner UI. - */ - public Optional answerFormat() { - return Optional.ofNullable(this.answerFormat); - } - - /** - * Minimum number/characters allowed. - */ - public Optional minimum() { - return Optional.ofNullable(this.minimum); - } - - /** - * Maximum number/characters allowed. - */ - public Optional maximum() { - return Optional.ofNullable(this.maximum); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and - * EmailAddress. Custom answer formats are also supported and can be created in the Admin section of - * the planner UI. - */ - public ZeroOneOf1 withAnswerFormat(@Nullable String answerFormat) { - this.answerFormat = answerFormat; - return this; - } - - /** - * Minimum number/characters allowed. - */ - public ZeroOneOf1 withMinimum(@Nullable Long minimum) { - this.minimum = minimum; - return this; - } - - /** - * Maximum number/characters allowed. - */ - public ZeroOneOf1 withMaximum(@Nullable Long maximum) { - this.maximum = maximum; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ZeroOneOf1 other = (ZeroOneOf1) o; - return Utils.enhancedDeepEquals(this.answerFormat, other.answerFormat) - && Utils.enhancedDeepEquals(this.minimum, other.minimum) - && Utils.enhancedDeepEquals(this.maximum, other.maximum); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(answerFormat, minimum, maximum); - } - - @Override - public String toString() { - return Utils.toString(ZeroOneOf1.class, "answerFormat", answerFormat, "minimum", minimum, "maximum", maximum); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String answerFormat; - - private Long minimum; - - private Long maximum; - - private Builder() { - // force use of static builder() method - } - - /** - * The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and - * EmailAddress. Custom answer formats are also supported and can be created in the Admin section of - * the planner UI. - */ - public Builder answerFormat(@Nullable String answerFormat) { - this.answerFormat = answerFormat; - return this; - } - - /** - * Minimum number/characters allowed. - */ - public Builder minimum(@Nullable Long minimum) { - this.minimum = minimum; - return this; - } - - /** - * Maximum number/characters allowed. - */ - public Builder maximum(@Nullable Long maximum) { - this.maximum = maximum; - return this; - } - - public ZeroOneOf1 build() { - return new ZeroOneOf1(answerFormat, minimum, maximum); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/errors/BadRequestException.java b/packages/java/src/main/java/com/cvent/models/errors/BadRequestException.java index 995cb1960..4ab5ad0fc 100644 --- a/packages/java/src/main/java/com/cvent/models/errors/BadRequestException.java +++ b/packages/java/src/main/java/com/cvent/models/errors/BadRequestException.java @@ -82,7 +82,7 @@ public static CompletableFuture fromAsync(HttpResponse errorDescription() { @@ -137,7 +137,7 @@ public Optional deserializationException() { */ public static class Data { /** - * May be returned with additional information regarding the error. + * Additional error information, when available. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("error_description") @@ -186,7 +186,7 @@ public Data() { } /** - * May be returned with additional information regarding the error. + * Additional error information, when available. */ public Optional errorDescription() { return Optional.ofNullable(this.errorDescription); @@ -227,7 +227,7 @@ public static Builder builder() { } /** - * May be returned with additional information regarding the error. + * Additional error information, when available. */ public Data withErrorDescription(@Nullable String errorDescription) { this.errorDescription = errorDescription; @@ -300,7 +300,7 @@ private Builder() { } /** - * May be returned with additional information regarding the error. + * Additional error information, when available. */ public Builder errorDescription(@Nullable String errorDescription) { this.errorDescription = errorDescription; diff --git a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse.java b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse.java new file mode 100644 index 000000000..35f8309f4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse.java @@ -0,0 +1,303 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.errors; + +import com.cvent.models.components.ZeroAllOf1; +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.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 ErrorResponse extends CventSDKError { + + @Nullable + private final Data data; + + @Nullable + private final Throwable deserializationException; + + public ErrorResponse( + 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 ErrorResponse. If deserialization of the response body fails, + * the resulting ErrorResponse instance will have a null data() value and a non-null deserializationException(). + */ + public static ErrorResponse from(HttpResponse response) { + try { + byte[] bytes = Utils.extractByteArrayFromBody(response); + Data data = Utils.mapper().readValue(bytes, Data.class); + return new ErrorResponse(response.statusCode(), bytes, response, data, null); + } catch (Exception e) { + return new ErrorResponse(response.statusCode(), null, response, null, e); + } + } + + /** + * Parse a response into an instance of ErrorResponse asynchronously. If deserialization of the response body fails, + * the resulting ErrorResponse 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 ErrorResponse( + response.statusCode(), + bytes, + response, + Utils.mapper().readValue(bytes, new TypeReference() {}), + null); + } catch (Exception e) { + return new ErrorResponse(response.statusCode(), bytes, response, null, e); + } + }); + } + + /** + * The target resource of the error. + */ + @Deprecated + public Optional target() { + return data().flatMap(Data::target); + } + + /** + * Additional details of cascading error messages. + */ + @Deprecated + public Optional> details() { + return data().flatMap(Data::details); + } + + 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 + * + *

Represents an error response with additional details of cascading error messages. + */ + public static class Data { + /** + * The HTTP status code representing the error. + */ + @JsonProperty("code") + private long code; + + /** + * A brief description of the error. + */ + @JsonProperty("message") + private String message; + + /** + * The target resource of the error. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("target") + private String target; + + /** + * Additional details of cascading error messages. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("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) { + this.code = code; + this.message = Optional.ofNullable(message) + .orElseThrow(() -> new IllegalArgumentException("message cannot be null")); + this.target = target; + this.details = details; + } + + public Data(long code, @Nonnull String message) { + this(code, message, null, null); + } + + /** + * The HTTP status code representing the error. + */ + public long code() { + return this.code; + } + + /** + * A brief description of the error. + */ + public String message() { + return this.message; + } + + /** + * The target resource of the error. + */ + public Optional target() { + return Optional.ofNullable(this.target); + } + + /** + * Additional details of cascading error messages. + */ + public Optional> details() { + return Optional.ofNullable(this.details); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The HTTP status code representing the error. + */ + public Data withCode(long code) { + this.code = code; + return this; + } + + /** + * A brief description of the error. + */ + public Data withMessage(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } + + /** + * The target resource of the error. + */ + public Data withTarget(@Nullable String target) { + this.target = target; + return this; + } + + /** + * Additional details of cascading error messages. + */ + public Data 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; + } + Data other = (Data) o; + return Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.message, other.message) + && Utils.enhancedDeepEquals(this.target, other.target) + && Utils.enhancedDeepEquals(this.details, other.details); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(code, message, target, details); + } + + @Override + public String toString() { + return Utils.toString(Data.class, "code", code, "message", message, "target", target, "details", details); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private long code; + + private String message; + + private String target; + + private List details; + + private Builder() { + // force use of static builder() method + } + + /** + * The HTTP status code representing the error. + */ + public Builder code(long code) { + this.code = code; + return this; + } + + /** + * A brief description of the error. + */ + public Builder message(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } + + /** + * The target resource of the error. + */ + public Builder target(@Nullable String target) { + this.target = target; + return this; + } + + /** + * Additional details of cascading error messages. + */ + public Builder details(@Nullable List details) { + this.details = details; + return this; + } + + public Data build() { + return new Data(code, message, target, details); + } + } + } +} 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 a7eeb1152..d3d84ea39 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.ZeroAllOf1; +import com.cvent.models.components.ErrorScimType; import com.cvent.utils.Blob; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -16,6 +16,7 @@ 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; @@ -85,19 +86,35 @@ public static CompletableFuture fromAsync(HttpResponse res } /** - * The target resource of the error. + * The collection of error schemas. */ @Deprecated - public Optional target() { - return data().flatMap(Data::target); + public Optional> schemas() { + return data().flatMap(Data::schemas); } /** - * Additional details of cascading error messages. + * Status code for error. */ @Deprecated - public Optional> details() { - return data().flatMap(Data::details); + 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() { @@ -113,78 +130,78 @@ public Optional deserializationException() { /** * Data * - *

Represents an error response with additional details of cascading error messages. + *

The error response. */ public static class Data { /** - * The HTTP status code representing the error. + * The collection of error schemas. */ - @JsonProperty("code") - private long code; + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schemas") + private List schemas; /** - * A brief description of the error. + * Status code for error. */ - @JsonProperty("message") - private String message; + @JsonProperty("status") + private long status; /** - * The target resource of the error. + * Details of the error. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("target") - private String target; + @JsonProperty("detail") + private String detail; /** - * Additional details of cascading error messages. + * This is used to denote the scim type of the error. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("details") - private List details; + @JsonProperty("scimType") + private ErrorScimType scimType; @JsonCreator public Data( - @JsonProperty("code") long code, - @JsonProperty("message") @Nonnull String message, - @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { - this.code = code; - this.message = Optional.ofNullable(message) - .orElseThrow(() -> new IllegalArgumentException("message cannot be null")); - this.target = target; - this.details = details; + @JsonProperty("schemas") @Nullable List schemas, + @JsonProperty("status") long status, + @JsonProperty("detail") @Nonnull String detail, + @JsonProperty("scimType") @Nullable ErrorScimType 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 code, @Nonnull String message) { - this(code, message, null, null); + public Data(long status, @Nonnull String detail) { + this(null, status, detail, null); } /** - * The HTTP status code representing the error. + * The collection of error schemas. */ - public long code() { - return this.code; + public Optional> schemas() { + return Optional.ofNullable(this.schemas); } /** - * A brief description of the error. + * Status code for error. */ - public String message() { - return this.message; + public long status() { + return this.status; } /** - * The target resource of the error. + * Details of the error. */ - public Optional target() { - return Optional.ofNullable(this.target); + public String detail() { + return this.detail; } /** - * Additional details of cascading error messages. + * This is used to denote the scim type of the error. */ - public Optional> details() { - return Optional.ofNullable(this.details); + public Optional scimType() { + return Optional.ofNullable(this.scimType); } public static Builder builder() { @@ -192,34 +209,34 @@ public static Builder builder() { } /** - * The HTTP status code representing the error. + * The collection of error schemas. */ - public Data withCode(long code) { - this.code = code; + public Data withSchemas(@Nullable List schemas) { + this.schemas = schemas; return this; } /** - * A brief description of the error. + * Status code for error. */ - public Data withMessage(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); + public Data withStatus(long status) { + this.status = status; return this; } /** - * The target resource of the error. + * Details of the error. */ - public Data withTarget(@Nullable String target) { - this.target = target; + public Data withDetail(@Nonnull String detail) { + this.detail = Utils.checkNotNull(detail, "detail"); return this; } /** - * Additional details of cascading error messages. + * This is used to denote the scim type of the error. */ - public Data withDetails(@Nullable List details) { - this.details = details; + public Data withScimType(@Nullable ErrorScimType scimType) { + this.scimType = scimType; return this; } @@ -232,71 +249,72 @@ public boolean equals(java.lang.Object o) { return false; } Data other = (Data) o; - return Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.message, other.message) - && Utils.enhancedDeepEquals(this.target, other.target) - && Utils.enhancedDeepEquals(this.details, other.details); + 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(code, message, target, details); + return Utils.enhancedHash(schemas, status, detail, scimType); } @Override public String toString() { - return Utils.toString(Data.class, "code", code, "message", message, "target", target, "details", details); + return Utils.toString( + Data.class, "schemas", schemas, "status", status, "detail", detail, "scimType", scimType); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private long code; + private List schemas; - private String message; + private long status; - private String target; + private String detail; - private List details; + private ErrorScimType scimType; private Builder() { // force use of static builder() method } /** - * The HTTP status code representing the error. + * The collection of error schemas. */ - public Builder code(long code) { - this.code = code; + public Builder schemas(@Nullable List schemas) { + this.schemas = schemas; return this; } /** - * A brief description of the error. + * Status code for error. */ - public Builder message(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); + public Builder status(long status) { + this.status = status; return this; } /** - * The target resource of the error. + * Details of the error. */ - public Builder target(@Nullable String target) { - this.target = target; + public Builder detail(@Nonnull String detail) { + this.detail = Utils.checkNotNull(detail, "detail"); return this; } /** - * Additional details of cascading error messages. + * This is used to denote the scim type of the error. */ - public Builder details(@Nullable List details) { - this.details = details; + public Builder scimType(@Nullable ErrorScimType scimType) { + this.scimType = scimType; return this; } public Data build() { - return new Data(code, message, target, details); + return new Data(schemas, status, detail, scimType); } } } 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 deleted file mode 100644 index ca9967d1f..000000000 --- a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson12.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 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/operations/GrantType.java b/packages/java/src/main/java/com/cvent/models/operations/GrantType.java index 8bc0c4357..71e62c510 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GrantType.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GrantType.java @@ -11,7 +11,7 @@ /** * GrantType * - *

The grant type. + *

Controls the OAuth2 grant flow used to obtain tokens. */ public enum GrantType { CLIENT_CREDENTIALS("client_credentials"), diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListCustomFieldsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListCustomFieldsRequest.java index 6efb7dd0f..8b7595feb 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/ListCustomFieldsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/ListCustomFieldsRequest.java @@ -44,23 +44,23 @@ public class ListCustomFieldsRequest { 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](https://developers.cvent.com/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) - * * category (eq) *(Required, one category can be provided at a time)* - * * lastModified (eq|ne|lt|le|gt|ge) - * * code (eq|ne) *(Case insensitive)* + *

| Field | Operators | Notes | + * |------------------|-------------------------------------|-------| + * | id | `eq`, `ne` | | + * | category | `eq` | Required, one category can be provided at + * a time | + * | lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | + * | code | `eq`, `ne` | Case insensitive | + * + *

The following logical operators are supported for combining filters: + * * and + * * or */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; @@ -115,23 +115,23 @@ 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: * - *

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 + *

| Field | Operators | Notes | + * |------------------|-------------------------------------|-------| + * | id | `eq`, `ne` | | + * | category | `eq` | Required, one category can be provided at + * a time | + * | lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | + * | code | `eq`, `ne` | Case insensitive | * - *

The following fields are filterable: - * * id (eq|ne) - * * category (eq) *(Required, one category can be provided at a time)* - * * lastModified (eq|ne|lt|le|gt|ge) - * * code (eq|ne) *(Case insensitive)* + *

The following logical operators are supported for combining filters: + * * and + * * or */ public String filter() { return this.filter; @@ -176,23 +176,23 @@ public ListCustomFieldsRequest 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](https://developers.cvent.com/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) - * * category (eq) *(Required, one category can be provided at a time)* - * * lastModified (eq|ne|lt|le|gt|ge) - * * code (eq|ne) *(Case insensitive)* + *

| Field | Operators | Notes | + * |------------------|-------------------------------------|-------| + * | id | `eq`, `ne` | | + * | category | `eq` | Required, one category can be provided at + * a time | + * | lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | + * | code | `eq`, `ne` | Case insensitive | + * + *

The following logical operators are supported for combining filters: + * * and + * * or */ public ListCustomFieldsRequest withFilter(@Nonnull String filter) { this.filter = Utils.checkNotNull(filter, "filter"); @@ -288,23 +288,23 @@ 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: * - *

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 + *

| Field | Operators | Notes | + * |------------------|-------------------------------------|-------| + * | id | `eq`, `ne` | | + * | category | `eq` | Required, one category can be provided at + * a time | + * | lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | + * | code | `eq`, `ne` | Case insensitive | * - *

The following fields are filterable: - * * id (eq|ne) - * * category (eq) *(Required, one category can be provided at a time)* - * * lastModified (eq|ne|lt|le|gt|ge) - * * code (eq|ne) *(Case insensitive)* + *

The following logical operators are supported for combining filters: + * * and + * * or */ public Builder filter(@Nonnull String filter) { this.filter = Utils.checkNotNull(filter, "filter"); diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListUsersRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListUsersRequest.java index 995b40644..7d47cbafd 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/ListUsersRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/ListUsersRequest.java @@ -28,28 +28,23 @@ public class ListUsersRequest { private Long count; /** - * 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. * - *

The following comparison types 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: - * * userName (eq|ne) - * * groups.value (eq|ne) - * * active (eq|ne) - * * id (eq|nq) - * * emails.value (eq|ne) - * * meta.lastModified (eq|ne|lt|le|gt|ge) - * * meta.created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------------|------------------------------------| + * | userName | `eq`, `ne` | + * | groups.value | `eq`, `ne` | + * | active | `eq`, `ne` | + * | id | `eq`, `ne` | + * | emails.value | `eq`, `ne` | + * | meta.lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | meta.created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and * * or */ @@ -82,28 +77,23 @@ public Optional count() { } /** - * 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. * - *

The following comparison types 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: - * * userName (eq|ne) - * * groups.value (eq|ne) - * * active (eq|ne) - * * id (eq|nq) - * * emails.value (eq|ne) - * * meta.lastModified (eq|ne|lt|le|gt|ge) - * * meta.created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------------|------------------------------------| + * | userName | `eq`, `ne` | + * | groups.value | `eq`, `ne` | + * | active | `eq`, `ne` | + * | id | `eq`, `ne` | + * | emails.value | `eq`, `ne` | + * | meta.lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | meta.created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and * * or */ @@ -132,28 +122,23 @@ public ListUsersRequest withCount(@Nullable Long count) { } /** - * 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. * - *

The following comparison types 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: - * * userName (eq|ne) - * * groups.value (eq|ne) - * * active (eq|ne) - * * id (eq|nq) - * * emails.value (eq|ne) - * * meta.lastModified (eq|ne|lt|le|gt|ge) - * * meta.created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------------|------------------------------------| + * | userName | `eq`, `ne` | + * | groups.value | `eq`, `ne` | + * | active | `eq`, `ne` | + * | id | `eq`, `ne` | + * | emails.value | `eq`, `ne` | + * | meta.lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | meta.created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and * * or */ @@ -216,28 +201,23 @@ public Builder count(@Nullable Long count) { } /** - * 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. * - *

The following comparison types 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: - * * userName (eq|ne) - * * groups.value (eq|ne) - * * active (eq|ne) - * * id (eq|nq) - * * emails.value (eq|ne) - * * meta.lastModified (eq|ne|lt|le|gt|ge) - * * meta.created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------------|------------------------------------| + * | userName | `eq`, `ne` | + * | groups.value | `eq`, `ne` | + * | active | `eq`, `ne` | + * | id | `eq`, `ne` | + * | emails.value | `eq`, `ne` | + * | meta.lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | meta.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/Oauth2AuthorizeRequest.java b/packages/java/src/main/java/com/cvent/models/operations/Oauth2AuthorizeRequest.java index f893bf052..f19c5b43a 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/Oauth2AuthorizeRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/Oauth2AuthorizeRequest.java @@ -31,8 +31,8 @@ public class Oauth2AuthorizeRequest { private String clientId; /** - * The URL to which the authentication server redirects the browser after authorization has been - * granted by the user. + * The URL to which the authorization server redirects the browser after authorization has been granted + * by the user. * *

A redirect URI must: * @@ -63,7 +63,7 @@ public class Oauth2AuthorizeRequest { * Can be a combination of any scopes associated with a client. Scopes must be separated by spaces. * Any scope used must be pre-associated with the client or it will be ignored at runtime. * - *

**Note:** If the client doesn't request any scopes, the authentication server uses all + *

**Note:** If the client doesn't request any scopes, the authorization server uses all * scopes associated with the client. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=scope") @@ -111,8 +111,8 @@ public String clientId() { } /** - * The URL to which the authentication server redirects the browser after authorization has been - * granted by the user. + * The URL to which the authorization server redirects the browser after authorization has been granted + * by the user. * *

A redirect URI must: * @@ -145,7 +145,7 @@ public Optional state() { * Can be a combination of any scopes associated with a client. Scopes must be separated by spaces. * Any scope used must be pre-associated with the client or it will be ignored at runtime. * - *

**Note:** If the client doesn't request any scopes, the authentication server uses all + *

**Note:** If the client doesn't request any scopes, the authorization server uses all * scopes associated with the client. */ public Optional scope() { @@ -178,8 +178,8 @@ public Oauth2AuthorizeRequest withClientId(@Nonnull String clientId) { } /** - * The URL to which the authentication server redirects the browser after authorization has been - * granted by the user. + * The URL to which the authorization server redirects the browser after authorization has been granted + * by the user. * *

A redirect URI must: * @@ -214,7 +214,7 @@ public Oauth2AuthorizeRequest withState(@Nullable String state) { * Can be a combination of any scopes associated with a client. Scopes must be separated by spaces. * Any scope used must be pre-associated with the client or it will be ignored at runtime. * - *

**Note:** If the client doesn't request any scopes, the authentication server uses all + *

**Note:** If the client doesn't request any scopes, the authorization server uses all * scopes associated with the client. */ public Oauth2AuthorizeRequest withScope(@Nullable String scope) { @@ -298,8 +298,8 @@ public Builder clientId(@Nonnull String clientId) { } /** - * The URL to which the authentication server redirects the browser after authorization has been - * granted by the user. + * The URL to which the authorization server redirects the browser after authorization has been granted + * by the user. * *

A redirect URI must: * @@ -334,7 +334,7 @@ public Builder state(@Nullable String state) { * Can be a combination of any scopes associated with a client. Scopes must be separated by spaces. * Any scope used must be pre-associated with the client or it will be ignored at runtime. * - *

**Note:** If the client doesn't request any scopes, the authentication server uses all + *

**Note:** If the client doesn't request any scopes, the authorization server uses all * scopes associated with the client. */ public Builder scope(@Nullable String scope) { diff --git a/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenRequest.java b/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenRequest.java index a8c53d7ef..f27def052 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenRequest.java @@ -14,7 +14,7 @@ public class Oauth2TokenRequest { /** - * The grant type. + * Controls the OAuth2 grant flow used to obtain tokens. */ @SpeakeasyMetadata("form:name=grant_type") private GrantType grantType; @@ -30,7 +30,7 @@ public class Oauth2TokenRequest { /** * Can be a combination of any scopes associated with a client. Any scope requested must be * pre-associated with the client or it will be ignored at runtime. - * If the client doesn't request any scopes, the authentication server uses all scopes associated with + * If the client doesn't request any scopes, the authorization server uses all scopes associated with * the client. * *

**Optional** - Only used if the grant_type is client_credentials. @@ -86,7 +86,7 @@ public Oauth2TokenRequest(@Nonnull GrantType grantType, @Nonnull String clientId } /** - * The grant type. + * Controls the OAuth2 grant flow used to obtain tokens. */ public GrantType grantType() { return this.grantType; @@ -104,7 +104,7 @@ public String clientId() { /** * Can be a combination of any scopes associated with a client. Any scope requested must be * pre-associated with the client or it will be ignored at runtime. - * If the client doesn't request any scopes, the authentication server uses all scopes associated with + * If the client doesn't request any scopes, the authorization server uses all scopes associated with * the client. * *

**Optional** - Only used if the grant_type is client_credentials. @@ -146,7 +146,7 @@ public static Builder builder() { } /** - * The grant type. + * Controls the OAuth2 grant flow used to obtain tokens. */ public Oauth2TokenRequest withGrantType(@Nonnull GrantType grantType) { this.grantType = Utils.checkNotNull(grantType, "grantType"); @@ -166,7 +166,7 @@ public Oauth2TokenRequest withClientId(@Nonnull String clientId) { /** * Can be a combination of any scopes associated with a client. Any scope requested must be * pre-associated with the client or it will be ignored at runtime. - * If the client doesn't request any scopes, the authentication server uses all scopes associated with + * If the client doesn't request any scopes, the authorization server uses all scopes associated with * the client. * *

**Optional** - Only used if the grant_type is client_credentials. @@ -267,7 +267,7 @@ private Builder() { } /** - * The grant type. + * Controls the OAuth2 grant flow used to obtain tokens. */ public Builder grantType(@Nonnull GrantType grantType) { this.grantType = Utils.checkNotNull(grantType, "grantType"); @@ -287,7 +287,7 @@ public Builder clientId(@Nonnull String clientId) { /** * Can be a combination of any scopes associated with a client. Any scope requested must be * pre-associated with the client or it will be ignored at runtime. - * If the client doesn't request any scopes, the authentication server uses all scopes associated with + * If the client doesn't request any scopes, the authorization server uses all scopes associated with * the client. * *

**Optional** - Only used if the grant_type is client_credentials. diff --git a/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenResponseBody.java b/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenResponseBody.java index 0eab858f5..37fde8d04 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenResponseBody.java +++ b/packages/java/src/main/java/com/cvent/models/operations/Oauth2TokenResponseBody.java @@ -37,7 +37,7 @@ public class Oauth2TokenResponseBody { private String refreshToken; /** - * The token type. + * The OAuth2 token type. Always `Bearer`. */ @JsonProperty("token_type") private String tokenType; @@ -82,7 +82,7 @@ public Optional refreshToken() { } /** - * The token type. + * The OAuth2 token type. Always `Bearer`. */ public String tokenType() { return this.tokenType; @@ -116,7 +116,7 @@ public Oauth2TokenResponseBody withRefreshToken(@Nullable String refreshToken) { } /** - * The token type. + * The OAuth2 token type. Always `Bearer`. */ public Oauth2TokenResponseBody withTokenType(@Nonnull String tokenType) { this.tokenType = Utils.checkNotNull(tokenType, "tokenType"); @@ -197,7 +197,7 @@ public Builder refreshToken(@Nullable String refreshToken) { } /** - * The token type. + * The OAuth2 token type. Always `Bearer`. */ public Builder tokenType(@Nonnull String tokenType) { this.tokenType = Utils.checkNotNull(tokenType, "tokenType"); 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 6b4d60965..942862384 100644 --- a/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java +++ b/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java @@ -10,8 +10,8 @@ import com.cvent.SDKConfiguration; import com.cvent.SecuritySource; import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse; 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; @@ -196,7 +196,7 @@ public AssociateAttendeeToSegmentResponse handleResponse(HttpResponse } if (Utils.statusCodeMatches(response.statusCode(), "400")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -278,7 +278,7 @@ public CompletableFuture respon } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -298,7 +298,7 @@ public CompletableFuture re } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -310,7 +310,7 @@ public CompletableFuture response) } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -293,7 +293,7 @@ public CompletableFuture r } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -303,7 +303,7 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "409", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.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 729c5c726..a9b358944 100644 --- a/packages/java/src/main/java/com/cvent/operations/DeleteRegistrationPack.java +++ b/packages/java/src/main/java/com/cvent/operations/DeleteRegistrationPack.java @@ -10,8 +10,8 @@ import com.cvent.SDKConfiguration; import com.cvent.SecuritySource; import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse; 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; @@ -188,7 +188,7 @@ public DeleteRegistrationPackResponse handleResponse(HttpResponse r } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -280,7 +280,7 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.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/GetMRFById.java b/packages/java/src/main/java/com/cvent/operations/GetMRFById.java index 9df515281..48f9488e8 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetMRFById.java +++ b/packages/java/src/main/java/com/cvent/operations/GetMRFById.java @@ -11,8 +11,8 @@ import com.cvent.SecuritySource; import com.cvent.models.components.MeetingRequestForm; import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse; 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 com.cvent.utils.AsyncRetries; @@ -188,7 +188,7 @@ public GetMRFByIdResponse handleResponse(HttpResponse response) { } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -283,7 +283,7 @@ public CompletableFuture h } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponse2.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse.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/GetResourceType.java b/packages/java/src/main/java/com/cvent/operations/GetResourceType.java index 23d52b775..4838415a2 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.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 9cd223db7..addfd8914 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.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 0616be810..886cf6c2b 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12.from(response); + throw ErrorResponse2.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -273,7 +273,7 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.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 6d426cee8..8ea64ba37 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.ErrorResponseJson12; +import com.cvent.models.errors.ErrorResponse2; 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 ErrorResponseJson12.from(response); + throw ErrorResponse2.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -276,7 +276,7 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.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/Oauth2Authorize.java b/packages/java/src/main/java/com/cvent/operations/Oauth2Authorize.java index 4bb13da25..77890ec0d 100644 --- a/packages/java/src/main/java/com/cvent/operations/Oauth2Authorize.java +++ b/packages/java/src/main/java/com/cvent/operations/Oauth2Authorize.java @@ -151,7 +151,7 @@ public HttpResponse doRequest(Oauth2AuthorizeRequest request) { } try { HttpResponse httpRes = client.send(r); - if (Utils.statusCodeMatches(httpRes.statusCode(), "4XX", "5XX")) { + if (Utils.statusCodeMatches(httpRes.statusCode(), "400", "4XX", "5XX")) { return onError(httpRes, null); } return httpRes; @@ -180,7 +180,7 @@ public Oauth2AuthorizeResponse handleResponse(HttpResponse response // no content return res; } - if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + if (Utils.statusCodeMatches(response.statusCode(), "400", "4XX")) { // no content throw APIException.from("API error occurred", response); } @@ -233,7 +233,7 @@ public CompletableFuture> doRequest(Oauth2AuthorizeRequest re if (err != null) { return onError(null, err); } - if (Utils.statusCodeMatches(resp.statusCode(), "4XX", "5XX")) { + if (Utils.statusCodeMatches(resp.statusCode(), "400", "4XX", "5XX")) { return onError(resp, null); } return CompletableFuture.completedFuture(resp); @@ -259,7 +259,7 @@ public CompletableFuture doRequest(Oauth2TokenRequest request) { } try { HttpResponse httpRes = client.send(r); - if (Utils.statusCodeMatches(httpRes.statusCode(), "400", "4XX", "5XX")) { + if (Utils.statusCodeMatches(httpRes.statusCode(), "400", "401", "4XX", "5XX")) { return onError(httpRes, null); } return httpRes; @@ -196,7 +196,7 @@ public Oauth2TokenResponse handleResponse(HttpResponse response) { throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + if (Utils.statusCodeMatches(response.statusCode(), "401", "4XX")) { // no content throw APIException.from("API error occurred", response); } @@ -250,7 +250,7 @@ public CompletableFuture> doRequest(Oauth2TokenRequest reques if (err != null) { return onError(null, err); } - if (Utils.statusCodeMatches(resp.statusCode(), "400", "4XX", "5XX")) { + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "4XX", "5XX")) { return onError(resp, null); } return CompletableFuture.completedFuture(resp); @@ -286,7 +286,7 @@ public CompletableFuture return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } } - if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + if (Utils.statusCodeMatches(response.statusCode(), "401", "4XX")) { // no content return Utils.createAsyncApiError(response, "API error occurred"); } 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 c377db05b..8fa3595d6 100644 --- a/packages/java/src/main/java/com/cvent/operations/PostRegistrationPack.java +++ b/packages/java/src/main/java/com/cvent/operations/PostRegistrationPack.java @@ -11,8 +11,8 @@ import com.cvent.SecuritySource; import com.cvent.models.components.RegistrationPackResponse; import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse; 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; @@ -202,7 +202,7 @@ public PostRegistrationPackResponse handleResponse(HttpResponse res } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -300,7 +300,7 @@ public CompletableFuture> doRequest(RelateProgramItemToSessio } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponse2.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse.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/RunBulkJob.java b/packages/java/src/main/java/com/cvent/operations/RunBulkJob.java index 1d6fa6bdb..becddcfd9 100644 --- a/packages/java/src/main/java/com/cvent/operations/RunBulkJob.java +++ b/packages/java/src/main/java/com/cvent/operations/RunBulkJob.java @@ -11,8 +11,8 @@ import com.cvent.SecuritySource; import com.cvent.models.components.BulkJob; import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.RunBulkJobRequest; import com.cvent.models.operations.RunBulkJobResponse; import com.cvent.utils.AsyncRetries; @@ -187,7 +187,7 @@ public RunBulkJobResponse handleResponse(HttpResponse response) { } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -283,7 +283,7 @@ public CompletableFuture h } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponse2.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse.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 9e00d128b..4c649afd2 100644 --- a/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java +++ b/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java @@ -11,8 +11,8 @@ import com.cvent.SecuritySource; import com.cvent.models.components.AppointmentWithQuestions; import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse; 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; @@ -200,7 +200,7 @@ public UpdateAppointmentResponse handleResponse(HttpResponse respon } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -298,7 +298,7 @@ public CompletableFuture re } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -300,7 +300,7 @@ public CompletableFuture resp } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -298,7 +298,7 @@ public CompletableFuture r } if (Utils.statusCodeMatches(response.statusCode(), "422")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -303,7 +303,7 @@ public CompletableFuture } if (Utils.statusCodeMatches(response.statusCode(), "400")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -305,7 +305,7 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson12.from(response); + throw ErrorResponse2.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 ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.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 2bd1996aa..6b0b6b895 100644 --- a/packages/java/src/main/java/com/cvent/operations/UploadBulkJobData.java +++ b/packages/java/src/main/java/com/cvent/operations/UploadBulkJobData.java @@ -11,8 +11,8 @@ import com.cvent.SecuritySource; import com.cvent.models.components.BulkDataUploadResponse; import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UploadBulkJobDataRequest; import com.cvent.models.operations.UploadBulkJobDataResponse; import com.cvent.utils.AsyncRetries; @@ -201,7 +201,7 @@ public UploadBulkJobDataResponse handleResponse(HttpResponse respon } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -299,7 +299,7 @@ public CompletableFuture
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 +| 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.
- LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
- 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/attendeeadd.md b/packages/typescript/docs/models/components/attendeeadd.md index 13943d870..822b11e9d 100644 --- a/packages/typescript/docs/models/components/attendeeadd.md +++ b/packages/typescript/docs/models/components/attendeeadd.md @@ -46,22 +46,22 @@ let value: AttendeeAdd = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [components.AttendeeAddEvent](../../models/components/attendeeaddevent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `contact` | [components.AttendeeAddContact](../../models/components/attendeeaddcontact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `invitationList` | [components.AttendeeAddInvitationList](../../models/components/attendeeaddinvitationlist.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `referenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `administrator` | [components.AttendeeAddAdministrator](../../models/components/attendeeaddadministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `admissionItem` | [components.AttendeeAddAdmissionItem](../../models/components/attendeeaddadmissionitem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `visibility` | [components.AttendeeVisibility](../../models/components/attendeevisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `answers` | [components.AttendeeAnswer](../../models/components/attendeeanswer.md)[] | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `sendEmail` | *boolean* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `status` | [components.AttendeeAddStatus](../../models/components/attendeeaddstatus.md) | :heavy_minus_sign: | Denotes the status of an attendee being added. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. | Accepted | -| `registrationPath` | [components.RegistrationPath](../../models/components/registrationpath.md) | :heavy_minus_sign: | The attendee's registration path. Registration paths control the registration experience of the attendee. | | -| `registrationType` | [components.AttendeeAddRegistrationType](../../models/components/attendeeaddregistrationtype.md) | :heavy_minus_sign: | The attendee's registration type. Registration type controls pricing, agenda item availability, and registration experience. | | -| `guest` | *boolean* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | -| `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. | | -| `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 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `event` | [components.AttendeeAddEvent](../../models/components/attendeeaddevent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | +| `contact` | [components.AttendeeAddContact](../../models/components/attendeeaddcontact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | +| `invitationList` | [components.AttendeeAddInvitationList](../../models/components/attendeeaddinvitationlist.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | +| `referenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | +| `note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | +| `administrator` | [components.AttendeeAddAdministrator](../../models/components/attendeeaddadministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | +| `admissionItem` | [components.AttendeeAddAdmissionItem](../../models/components/attendeeaddadmissionitem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | +| `visibility` | [components.AttendeeVisibility](../../models/components/attendeevisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | +| `answers` | [components.AttendeeAnswer](../../models/components/attendeeanswer.md)[] | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | +| `sendEmail` | *boolean* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | +| `status` | [components.AttendeeAddStatus](../../models/components/attendeeaddstatus.md) | :heavy_minus_sign: | Denotes the status of an attendee being added. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. | Accepted | +| `registrationPath` | [components.RegistrationPath](../../models/components/registrationpath.md) | :heavy_minus_sign: | The attendee's registration path. Registration paths control the registration experience of the attendee. | | +| `registrationType` | [components.AttendeeAddRegistrationType](../../models/components/attendeeaddregistrationtype.md) | :heavy_minus_sign: | The attendee's registration type. Registration type controls pricing, agenda item availability, and registration experience. | | +| `guest` | *boolean* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | +| `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. | | +| `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.
- LinkedIn Registration Form: The attendee was registered through LinkedIn integration.
- 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 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsondata.md b/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsondata.md index 79ebadb44..ef1a99ac5 100644 --- a/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsondata.md +++ b/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsondata.md @@ -3,10 +3,10 @@ ## Supported Types -### `components.ZeroOneOf2` +### `components.ZeroOneOf` ```typescript -const value: components.ZeroOneOf2 = { +const value: components.ZeroOneOf = { id: "a96e7faa-b23e-49de-9040-c908473ba7ac", }; ``` diff --git a/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md b/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md index e1748635f..33fb25992 100644 --- a/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md +++ b/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md @@ -3,18 +3,18 @@ ## Supported Types -### `components.ZeroOneOf2` +### `components.ZeroOneOf` ```typescript -const value: components.ZeroOneOf2 = { +const value: components.ZeroOneOf = { id: "a96e7faa-b23e-49de-9040-c908473ba7ac", }; ``` -### `components.ErrorResponse2` +### `components.ErrorResponse` ```typescript -const value: components.ErrorResponse2 = { +const value: components.ErrorResponse = { code: 400, message: "Bad Request", target: "example target", diff --git a/packages/typescript/docs/models/components/attendeelinkbulkresponseitemjsondata.md b/packages/typescript/docs/models/components/attendeelinkbulkresponseitemjsondata.md index 1dcbdf929..6278f70bd 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.ErrorResponse2` +### `components.ErrorResponse` ```typescript -const value: components.ErrorResponse2 = { +const value: components.ErrorResponse = { code: 400, message: "Bad Request", target: "example target", diff --git a/packages/typescript/docs/models/components/attendeeresponsemethod1.md b/packages/typescript/docs/models/components/attendeeresponsemethod1.md index c95ab07e4..b595980e8 100644 --- a/packages/typescript/docs/models/components/attendeeresponsemethod1.md +++ b/packages/typescript/docs/models/components/attendeeresponsemethod1.md @@ -10,6 +10,7 @@ Represents the method by which an attendee registered for the event. - 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. +- LinkedIn Registration Form: The attendee was registered through LinkedIn integration. - 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. @@ -30,5 +31,5 @@ let value: AttendeeResponseMethod1 = "Self-Responded"; ## Values ```typescript -"Administrator Responded" | "Administrator Responded Widget" | "API-Responded" | "Appointments Event Website" | "Cvent Salesforce App" | "Cvent Salesforce App - Campaign Page" | "Cvent Salesforce App - Contact Page" | "Cvent Salesforce App - Event Page" | "Cvent Salesforce App - Lead Page" | "Cvent Salesforce App - Person Account Page" | "Cvent Salesforce App - Recommendation Widget" | "External Registration" | "Group Leader Responded" | "Group Leader Responded Widget" | "Historical Import" | "Imported" | "No Response" | "On-site Responded" | "Planner-Imported" | "Planner-Responded" | "Post Event" | "Self-Responded" | "Self-Responded Mobile" | "Self-Responded Widget" +"Administrator Responded" | "Administrator Responded Widget" | "API-Responded" | "Appointments Event Website" | "Cvent Salesforce App" | "Cvent Salesforce App - Campaign Page" | "Cvent Salesforce App - Contact Page" | "Cvent Salesforce App - Event Page" | "Cvent Salesforce App - Lead Page" | "Cvent Salesforce App - Person Account Page" | "Cvent Salesforce App - Recommendation Widget" | "External Registration" | "Group Leader Responded" | "Group Leader Responded Widget" | "Historical Import" | "Imported" | "LinkedIn Registration Form" | "No Response" | "On-site Responded" | "Planner-Imported" | "Planner-Responded" | "Post Event" | "Self-Responded" | "Self-Responded Mobile" | "Self-Responded Widget" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeupdate.md b/packages/typescript/docs/models/components/attendeeupdate.md index 9dc0d4606..addb06934 100644 --- a/packages/typescript/docs/models/components/attendeeupdate.md +++ b/packages/typescript/docs/models/components/attendeeupdate.md @@ -43,19 +43,19 @@ let value: AttendeeUpdate = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [components.AttendeeUpdateEvent](../../models/components/attendeeupdateevent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `contact` | [components.AttendeeUpdateContact](../../models/components/attendeeupdatecontact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `invitationList` | [components.AttendeeUpdateInvitationList](../../models/components/attendeeupdateinvitationlist.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `referenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `administrator` | [components.AttendeeUpdateAdministrator](../../models/components/attendeeupdateadministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `admissionItem` | [components.AttendeeUpdateAdmissionItem](../../models/components/attendeeupdateadmissionitem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `visibility` | [components.AttendeeVisibility](../../models/components/attendeevisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `answers` | [components.AttendeeAnswer](../../models/components/attendeeanswer.md)[] | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `sendEmail` | *boolean* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `status` | [components.AttendeeUpdateStatus](../../models/components/attendeeupdatestatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval | Accepted | -| `registrationType` | [components.AttendeeUpdateRegistrationType](../../models/components/attendeeupdateregistrationtype.md) | :heavy_minus_sign: | The attendee's registration type. | | -| ~~`invitedBy`~~ | [components.AttendeeInvitedBy](../../models/components/attendeeinvitedby.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

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

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

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

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeupdatestatus.md b/packages/typescript/docs/models/components/attendeeupdatestatus.md index 2ecf89fcb..8e21b31d5 100644 --- a/packages/typescript/docs/models/components/attendeeupdatestatus.md +++ b/packages/typescript/docs/models/components/attendeeupdatestatus.md @@ -1,6 +1,6 @@ # AttendeeUpdateStatus -Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval +Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted ## Example Usage @@ -13,5 +13,5 @@ let value: AttendeeUpdateStatus = "Accepted"; ## Values ```typescript -"No Response" | "Accepted" | "Cancelled" | "Visited" | "Declined" | "Pending Approval" | "Denied Approval" +"No Response" | "Accepted" | "Cancelled" | "Visited" | "Declined" | "Pending Approval" | "Denied Approval" | "Waitlisted" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attribute.md b/packages/typescript/docs/models/components/attribute.md new file mode 100644 index 000000000..57f57ce64 --- /dev/null +++ b/packages/typescript/docs/models/components/attribute.md @@ -0,0 +1,63 @@ +# Attribute + +Attribute + +## Example Usage + +```typescript +import { Attribute } from "@cvent/sdk/models/components"; + +let value: Attribute = { + name: "userName", + type: "string", + multiValued: true, + description: "This Attribute describes the property", + required: true, + caseExact: false, + mutability: "writeOnly", + canonicalValues: [ + "work", + ], + returned: "always", + uniqueness: "global", + referenceTypes: [ + "Group", + ], + subAttributes: [ + { + name: "userName", + type: "string", + multiValued: true, + description: "This Attribute describes the property", + required: true, + caseExact: false, + mutability: "writeOnly", + canonicalValues: [ + "work", + ], + returned: "always", + uniqueness: "global", + referenceTypes: [ + "Group", + ], + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the attribute. | userName | +| `type` | [components.AttributeDataType](../../models/components/attributedatatype.md) | :heavy_minus_sign: | This is used to denote the type of the attribute. | string | +| `multiValued` | *boolean* | :heavy_minus_sign: | Indicates if the attribute is multivalued. | true | +| `description` | *string* | :heavy_minus_sign: | The description of the attribute. | This Attribute describes the property | +| `required` | *boolean* | :heavy_minus_sign: | True indicates the attribute is required. | true | +| `caseExact` | *boolean* | :heavy_minus_sign: | True indicates the attribute is case sensitive. | false | +| `mutability` | [components.Mutability](../../models/components/mutability.md) | :heavy_minus_sign: | This is used to denote the mutability of the attribute. | writeOnly | +| `canonicalValues` | *string*[] | :heavy_minus_sign: | The list of canonical values of the attribute. | | +| `returned` | [components.ReturnedType](../../models/components/returnedtype.md) | :heavy_minus_sign: | This is used to denote the returned type of the attribute. | always | +| `uniqueness` | [components.UniquenessType](../../models/components/uniquenesstype.md) | :heavy_minus_sign: | This is used to denote the uniqueness type of the attribute. | global | +| `referenceTypes` | [components.ReferenceType](../../models/components/referencetype.md)[] | :heavy_minus_sign: | This is used to denote the reference type of the attribute. | | +| `subAttributes` | [components.Attribute](../../models/components/attribute.md)[] | :heavy_minus_sign: | A collection of sub-attributes. Has the same structure as this attribute object. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attributedatatypejson.md b/packages/typescript/docs/models/components/attributedatatype.md similarity index 59% rename from packages/typescript/docs/models/components/attributedatatypejson.md rename to packages/typescript/docs/models/components/attributedatatype.md index 4a8cd95c9..1338abbcb 100644 --- a/packages/typescript/docs/models/components/attributedatatypejson.md +++ b/packages/typescript/docs/models/components/attributedatatype.md @@ -1,13 +1,13 @@ -# AttributeDataTypeJson +# AttributeDataType This is used to denote the type of the attribute. ## Example Usage ```typescript -import { AttributeDataTypeJson } from "@cvent/sdk/models/components"; +import { AttributeDataType } from "@cvent/sdk/models/components"; -let value: AttributeDataTypeJson = "string"; +let value: AttributeDataType = "string"; ``` ## Values diff --git a/packages/typescript/docs/models/components/attributejson.md b/packages/typescript/docs/models/components/attributejson.md deleted file mode 100644 index 1b907f8a3..000000000 --- a/packages/typescript/docs/models/components/attributejson.md +++ /dev/null @@ -1,63 +0,0 @@ -# AttributeJson - -Attribute - -## Example Usage - -```typescript -import { AttributeJson } from "@cvent/sdk/models/components"; - -let value: AttributeJson = { - name: "userName", - type: "string", - multiValued: true, - description: "This Attribute describes the property", - required: true, - caseExact: false, - mutability: "writeOnly", - canonicalValues: [ - "work", - ], - returned: "always", - uniqueness: "global", - referenceTypes: [ - "Group", - ], - subAttributes: [ - { - name: "userName", - type: "string", - multiValued: true, - description: "This Attribute describes the property", - required: true, - caseExact: false, - mutability: "writeOnly", - canonicalValues: [ - "work", - ], - returned: "always", - uniqueness: "global", - referenceTypes: [ - "Group", - ], - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_minus_sign: | The name of the attribute. | userName | -| `type` | [components.AttributeDataTypeJson](../../models/components/attributedatatypejson.md) | :heavy_minus_sign: | This is used to denote the type of the attribute. | string | -| `multiValued` | *boolean* | :heavy_minus_sign: | Indicates if the attribute is multivalued. | true | -| `description` | *string* | :heavy_minus_sign: | The description of the attribute. | This Attribute describes the property | -| `required` | *boolean* | :heavy_minus_sign: | True indicates the attribute is required. | true | -| `caseExact` | *boolean* | :heavy_minus_sign: | True indicates the attribute is case sensitive. | false | -| `mutability` | [components.MutabilityJson](../../models/components/mutabilityjson.md) | :heavy_minus_sign: | This is used to denote the mutability of the attribute. | writeOnly | -| `canonicalValues` | *string*[] | :heavy_minus_sign: | The list of canonical values of the attribute. | | -| `returned` | [components.AttributeReturnedTypeJson](../../models/components/attributereturnedtypejson.md) | :heavy_minus_sign: | This is used to denote the returned type of the attribute. | always | -| `uniqueness` | [components.AttributeUniquenessTypeJson](../../models/components/attributeuniquenesstypejson.md) | :heavy_minus_sign: | This is used to denote the uniqueness type of the attribute. | global | -| `referenceTypes` | [components.AttributeReferenceTypeJson](../../models/components/attributereferencetypejson.md)[] | :heavy_minus_sign: | This is used to denote the reference type of the attribute. | | -| `subAttributes` | [components.AttributeJson](../../models/components/attributejson.md)[] | :heavy_minus_sign: | A collection of sub-attributes. Has the same structure as this attribute object. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/authenticationschemajson.md b/packages/typescript/docs/models/components/authenticationschema.md similarity index 95% rename from packages/typescript/docs/models/components/authenticationschemajson.md rename to packages/typescript/docs/models/components/authenticationschema.md index f7261eb40..1e1df271f 100644 --- a/packages/typescript/docs/models/components/authenticationschemajson.md +++ b/packages/typescript/docs/models/components/authenticationschema.md @@ -1,13 +1,13 @@ -# AuthenticationSchemaJson +# AuthenticationSchema Authentication Schema ## Example Usage ```typescript -import { AuthenticationSchemaJson } from "@cvent/sdk/models/components"; +import { AuthenticationSchema } from "@cvent/sdk/models/components"; -let value: AuthenticationSchemaJson = { +let value: AuthenticationSchema = { name: "OAuth Bearer Token", description: "Authentication scheme using the OAuth Bearer Token Standard", specUri: "https://developers.cvent.com/documentation#section/Introduction", diff --git a/packages/typescript/docs/models/components/bouncedetailsjson.md b/packages/typescript/docs/models/components/bouncedetailsjson.md index 56e6890f7..9a7c95541 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.EmailTypeJson1](../../models/components/emailtypejson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `emailType` | [components.EmailTypeJson](../../models/components/emailtypejson.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/choicejson2.md b/packages/typescript/docs/models/components/choice2.md similarity index 71% rename from packages/typescript/docs/models/components/choicejson2.md rename to packages/typescript/docs/models/components/choice2.md index 78f91f160..0304df0ed 100644 --- a/packages/typescript/docs/models/components/choicejson2.md +++ b/packages/typescript/docs/models/components/choice2.md @@ -1,20 +1,20 @@ -# ChoiceJson2 +# Choice2 -This is used to denote the choice of custom field. +This is used to denote the choice of question. ## Example Usage ```typescript -import { ChoiceJson2 } from "@cvent/sdk/models/components"; +import { Choice2 } from "@cvent/sdk/models/components"; -let value: ChoiceJson2 = { +let value: Choice2 = { 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 +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The ID of the question 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 question choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choice2input.md b/packages/typescript/docs/models/components/choice2input.md new file mode 100644 index 000000000..23914b909 --- /dev/null +++ b/packages/typescript/docs/models/components/choice2input.md @@ -0,0 +1,19 @@ +# Choice2Input + +This is used to denote the choice of question. + +## Example Usage + +```typescript +import { Choice2Input } from "@cvent/sdk/models/components"; + +let value: Choice2Input = { + text: "What is your current designation?", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `text` | *string* | :heavy_check_mark: | The text for the question 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 deleted file mode 100644 index 938b58b3f..000000000 --- a/packages/typescript/docs/models/components/choicejson2input.md +++ /dev/null @@ -1,19 +0,0 @@ -# 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/choices.md b/packages/typescript/docs/models/components/choices.md deleted file mode 100644 index 502653f5e..000000000 --- a/packages/typescript/docs/models/components/choices.md +++ /dev/null @@ -1,24 +0,0 @@ -# Choices - -Choices for a custom field. - -## Example Usage - -```typescript -import { Choices } from "@cvent/sdk/models/components"; - -let value: Choices = { - choices: [ - { - text: "What is your current designation?", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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/three.md b/packages/typescript/docs/models/components/choices1.md similarity index 90% rename from packages/typescript/docs/models/components/three.md rename to packages/typescript/docs/models/components/choices1.md index e9dfe54d4..d473672fc 100644 --- a/packages/typescript/docs/models/components/three.md +++ b/packages/typescript/docs/models/components/choices1.md @@ -1,13 +1,13 @@ -# Three +# Choices1 Choices for a custom field. ## Example Usage ```typescript -import { Three } from "@cvent/sdk/models/components"; +import { Choices1 } from "@cvent/sdk/models/components"; -let value: Three = { +let value: Choices1 = { choices: [ { text: "What is your current designation?", @@ -20,5 +20,5 @@ let value: Three = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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 +| `choices` | [components.Choice2](../../models/components/choice2.md)[] | :heavy_minus_sign: | Choices of custom fields. | +| `displayType` | [components.DisplayType1](../../models/components/displaytype1.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/choices1input.md similarity index 90% rename from packages/typescript/docs/models/components/threeinput.md rename to packages/typescript/docs/models/components/choices1input.md index aa41a72e6..8bd1ef846 100644 --- a/packages/typescript/docs/models/components/threeinput.md +++ b/packages/typescript/docs/models/components/choices1input.md @@ -1,13 +1,13 @@ -# ThreeInput +# Choices1Input Choices for a custom field. ## Example Usage ```typescript -import { ThreeInput } from "@cvent/sdk/models/components"; +import { Choices1Input } from "@cvent/sdk/models/components"; -let value: ThreeInput = { +let value: Choices1Input = { choices: [ { text: "What is your current designation?", @@ -20,5 +20,5 @@ let value: ThreeInput = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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 +| `choices` | [components.Choice2Input](../../models/components/choice2input.md)[] | :heavy_minus_sign: | Choices of custom fields. | +| `displayType` | [components.DisplayType1](../../models/components/displaytype1.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/choicetranslationjson.md b/packages/typescript/docs/models/components/choicetranslation.md similarity index 91% rename from packages/typescript/docs/models/components/choicetranslationjson.md rename to packages/typescript/docs/models/components/choicetranslation.md index db94fd1d0..72adb2f39 100644 --- a/packages/typescript/docs/models/components/choicetranslationjson.md +++ b/packages/typescript/docs/models/components/choicetranslation.md @@ -1,13 +1,13 @@ -# ChoiceTranslationJson +# ChoiceTranslation This is used to denote that the translation for the choice text of a custom field. ## Example Usage ```typescript -import { ChoiceTranslationJson } from "@cvent/sdk/models/components"; +import { ChoiceTranslation } from "@cvent/sdk/models/components"; -let value: ChoiceTranslationJson = { +let value: ChoiceTranslation = { translatedText: "Departamento de Tecnología", }; ``` diff --git a/packages/typescript/docs/models/components/customfield3.md b/packages/typescript/docs/models/components/customfield3.md index 40aedb297..60c9de3f6 100644 --- a/packages/typescript/docs/models/components/customfield3.md +++ b/packages/typescript/docs/models/components/customfield3.md @@ -28,16 +28,16 @@ let value: CustomField3 = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `category` | [components.CustomFieldCategoryJson](../../models/components/customfieldcategoryjson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `category` | [components.CustomFieldCategory](../../models/components/customfieldcategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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.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 | +| `type` | [components.CustomFieldType2](../../models/components/customfieldtype2.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 | +| `displayInDataTag` | [components.DisplayInDataTag](../../models/components/displayindatatag.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 | | `defaultTagText` | *string* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `consentField` | *boolean* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `active` | *boolean* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `displayInEventCreationWizard` | *boolean* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `pageVisibility` | [components.PageVisibilityJson](../../models/components/pagevisibilityjson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | \ No newline at end of file +| `pageVisibility` | [components.PageVisibility](../../models/components/pagevisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfield3details.md b/packages/typescript/docs/models/components/customfield3details.md index 18b8c8e6a..f38e90d69 100644 --- a/packages/typescript/docs/models/components/customfield3details.md +++ b/packages/typescript/docs/models/components/customfield3details.md @@ -15,10 +15,10 @@ const value: components.OpenEndedOneLine = { }; ``` -### `components.OpenEndedDateTime` +### `components.OpenEndedDateTime1` ```typescript -const value: components.OpenEndedDateTime = { +const value: components.OpenEndedDateTime1 = { from: new Date("2021-01-02T02:00:00Z"), to: new Date("2021-02-02T02:00:00Z"), format: "DateOnlyMonthFirst", @@ -35,10 +35,10 @@ const value: components.OpenEndedCommentBox = { }; ``` -### `components.Choices` +### `components.Choices1Input` ```typescript -const value: components.Choices = { +const value: components.Choices1Input = { choices: [ { text: "What is your current designation?", diff --git a/packages/typescript/docs/models/components/customfieldcategoryjson.md b/packages/typescript/docs/models/components/customfieldcategory.md similarity index 63% rename from packages/typescript/docs/models/components/customfieldcategoryjson.md rename to packages/typescript/docs/models/components/customfieldcategory.md index 67005a0c3..b7eadfcf0 100644 --- a/packages/typescript/docs/models/components/customfieldcategoryjson.md +++ b/packages/typescript/docs/models/components/customfieldcategory.md @@ -1,13 +1,13 @@ -# CustomFieldCategoryJson +# CustomFieldCategory This is used to denote the category of a custom field. ## Example Usage ```typescript -import { CustomFieldCategoryJson } from "@cvent/sdk/models/components"; +import { CustomFieldCategory } from "@cvent/sdk/models/components"; -let value: CustomFieldCategoryJson = "Contact"; +let value: CustomFieldCategory = "Contact"; ``` ## Values diff --git a/packages/typescript/docs/models/components/customfieldspaginatedresponse.md b/packages/typescript/docs/models/components/customfieldspaginatedresponse.md index d3fae5bc9..86562ff0b 100644 --- a/packages/typescript/docs/models/components/customfieldspaginatedresponse.md +++ b/packages/typescript/docs/models/components/customfieldspaginatedresponse.md @@ -55,5 +55,5 @@ let value: CustomFieldsPaginatedResponse = { | 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.ExistingCustomField](../../models/components/existingcustomfield.md)[] | :heavy_check_mark: | Collection of custom fields. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldtypejson.md b/packages/typescript/docs/models/components/customfieldtype2.md similarity index 69% rename from packages/typescript/docs/models/components/customfieldtypejson.md rename to packages/typescript/docs/models/components/customfieldtype2.md index 4227cbdc7..12d7706d7 100644 --- a/packages/typescript/docs/models/components/customfieldtypejson.md +++ b/packages/typescript/docs/models/components/customfieldtype2.md @@ -1,13 +1,13 @@ -# CustomFieldTypeJson +# CustomFieldType2 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"; +import { CustomFieldType2 } from "@cvent/sdk/models/components"; -let value: CustomFieldTypeJson = "Open Ended Text - One Line"; +let value: CustomFieldType2 = "Open Ended Text - One Line"; ``` ## Values diff --git a/packages/typescript/docs/models/components/datetimedisplayformatjson.md b/packages/typescript/docs/models/components/datetimedisplayformat.md similarity index 66% rename from packages/typescript/docs/models/components/datetimedisplayformatjson.md rename to packages/typescript/docs/models/components/datetimedisplayformat.md index 9fb61ab89..02d482d17 100644 --- a/packages/typescript/docs/models/components/datetimedisplayformatjson.md +++ b/packages/typescript/docs/models/components/datetimedisplayformat.md @@ -1,13 +1,13 @@ -# DateTimeDisplayFormatJson +# DateTimeDisplayFormat This is used to denote the display format type of date time type custom field. ## Example Usage ```typescript -import { DateTimeDisplayFormatJson } from "@cvent/sdk/models/components"; +import { DateTimeDisplayFormat } from "@cvent/sdk/models/components"; -let value: DateTimeDisplayFormatJson = "DateOnlyMonthFirst"; +let value: DateTimeDisplayFormat = "DateOnlyMonthFirst"; ``` ## Values diff --git a/packages/typescript/docs/models/components/displayindatatagjson.md b/packages/typescript/docs/models/components/displayindatatag.md similarity index 74% rename from packages/typescript/docs/models/components/displayindatatagjson.md rename to packages/typescript/docs/models/components/displayindatatag.md index cdb95892c..2c00ca1c5 100644 --- a/packages/typescript/docs/models/components/displayindatatagjson.md +++ b/packages/typescript/docs/models/components/displayindatatag.md @@ -1,13 +1,13 @@ -# DisplayInDataTagJson +# DisplayInDataTag 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. ## Example Usage ```typescript -import { DisplayInDataTagJson } from "@cvent/sdk/models/components"; +import { DisplayInDataTag } from "@cvent/sdk/models/components"; -let value: DisplayInDataTagJson = "No"; +let value: DisplayInDataTag = "No"; ``` ## Values diff --git a/packages/typescript/docs/models/components/choicesdisplaytypejson.md b/packages/typescript/docs/models/components/displaytype1.md similarity index 70% rename from packages/typescript/docs/models/components/choicesdisplaytypejson.md rename to packages/typescript/docs/models/components/displaytype1.md index b47745794..06f8bc360 100644 --- a/packages/typescript/docs/models/components/choicesdisplaytypejson.md +++ b/packages/typescript/docs/models/components/displaytype1.md @@ -1,13 +1,13 @@ -# ChoicesDisplayTypeJson +# DisplayType1 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. ## Example Usage ```typescript -import { ChoicesDisplayTypeJson } from "@cvent/sdk/models/components"; +import { DisplayType1 } from "@cvent/sdk/models/components"; -let value: ChoicesDisplayTypeJson = "Horizontal"; +let value: DisplayType1 = "Vertical"; ``` ## Values diff --git a/packages/typescript/docs/models/components/email.md b/packages/typescript/docs/models/components/email.md new file mode 100644 index 000000000..057a62db5 --- /dev/null +++ b/packages/typescript/docs/models/components/email.md @@ -0,0 +1,22 @@ +# Email + +Email + +## Example Usage + +```typescript +import { Email } from "@cvent/sdk/models/components"; + +let value: Email = { + value: "support@cvent.com", + primary: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `type` | [components.EmailType1](../../models/components/emailtype1.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/emailhistoryjson.md b/packages/typescript/docs/models/components/emailhistoryjson.md index bd8d385e1..8cb03b536 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.EmailTypeJson1](../../models/components/emailtypejson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `type` | [components.EmailTypeJson](../../models/components/emailtypejson.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 33992c886..a45cc8b91 100644 --- a/packages/typescript/docs/models/components/emailjson1.md +++ b/packages/typescript/docs/models/components/emailjson1.md @@ -1,6 +1,6 @@ # EmailJson1 -Email +Details of an email to be send. ## Example Usage @@ -8,15 +8,12 @@ Email import { EmailJson1 } from "@cvent/sdk/models/components"; let value: EmailJson1 = { - value: "support@cvent.com", - primary: true, + id: "a150f1ee-6c54-4b01-90e6-d701748f0851", }; ``` ## Fields -| 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 +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID of the email to be sent. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailjson2.md b/packages/typescript/docs/models/components/emailjson2.md deleted file mode 100644 index 0d711e453..000000000 --- a/packages/typescript/docs/models/components/emailjson2.md +++ /dev/null @@ -1,19 +0,0 @@ -# EmailJson2 - -Details of an email to be send. - -## Example Usage - -```typescript -import { EmailJson2 } from "@cvent/sdk/models/components"; - -let value: EmailJson2 = { - id: "a150f1ee-6c54-4b01-90e6-d701748f0851", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID of the email to be sent. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailtype1.md b/packages/typescript/docs/models/components/emailtype1.md new file mode 100644 index 000000000..ef9af71ed --- /dev/null +++ b/packages/typescript/docs/models/components/emailtype1.md @@ -0,0 +1,17 @@ +# EmailType1 + +The type of the email. + +## Example Usage + +```typescript +import { EmailType1 } from "@cvent/sdk/models/components"; + +let value: EmailType1 = "work"; +``` + +## Values + +```typescript +"work" | "home" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailtypejson.md b/packages/typescript/docs/models/components/emailtypejson.md index 82c795442..bfcf423ef 100644 --- a/packages/typescript/docs/models/components/emailtypejson.md +++ b/packages/typescript/docs/models/components/emailtypejson.md @@ -1,17 +1,17 @@ # EmailTypeJson -The type of the email. +Denotes the type of the email. ## Example Usage ```typescript import { EmailTypeJson } from "@cvent/sdk/models/components"; -let value: EmailTypeJson = "work"; +let value: EmailTypeJson = "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/emailtypejson1.md b/packages/typescript/docs/models/components/emailtypejson1.md deleted file mode 100644 index 795288b0d..000000000 --- a/packages/typescript/docs/models/components/emailtypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# EmailTypeJson1 - -Denotes the type of the email. - -## Example Usage - -```typescript -import { EmailTypeJson1 } from "@cvent/sdk/models/components"; - -let value: EmailTypeJson1 = "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/errorresponse2.md b/packages/typescript/docs/models/components/errorresponse.md similarity index 95% rename from packages/typescript/docs/models/components/errorresponse2.md rename to packages/typescript/docs/models/components/errorresponse.md index 379bae578..8191d6ebf 100644 --- a/packages/typescript/docs/models/components/errorresponse2.md +++ b/packages/typescript/docs/models/components/errorresponse.md @@ -1,13 +1,13 @@ -# ErrorResponse2 +# ErrorResponse Represents an error response with additional details of cascading error messages. ## Example Usage ```typescript -import { ErrorResponse2 } from "@cvent/sdk/models/components"; +import { ErrorResponse } from "@cvent/sdk/models/components"; -let value: ErrorResponse2 = { +let value: ErrorResponse = { code: 400, message: "Bad Request", target: "example target", diff --git a/packages/typescript/docs/models/components/errorscimtypejson.md b/packages/typescript/docs/models/components/errorscimtype.md similarity index 57% rename from packages/typescript/docs/models/components/errorscimtypejson.md rename to packages/typescript/docs/models/components/errorscimtype.md index 464a5e8c6..f4f23f801 100644 --- a/packages/typescript/docs/models/components/errorscimtypejson.md +++ b/packages/typescript/docs/models/components/errorscimtype.md @@ -1,13 +1,13 @@ -# ErrorScimTypeJson +# ErrorScimType This is used to denote the scim type of the error. ## Example Usage ```typescript -import { ErrorScimTypeJson } from "@cvent/sdk/models/components"; +import { ErrorScimType } from "@cvent/sdk/models/components"; -let value: ErrorScimTypeJson = "invalidSyntax"; +let value: ErrorScimType = "invalidSyntax"; ``` ## Values diff --git a/packages/typescript/docs/models/components/existingcustomfield.md b/packages/typescript/docs/models/components/existingcustomfield.md index 2c8c70a09..75147ce5d 100644 --- a/packages/typescript/docs/models/components/existingcustomfield.md +++ b/packages/typescript/docs/models/components/existingcustomfield.md @@ -34,18 +34,18 @@ let value: ExistingCustomField = { | `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 | -| `category` | [components.CustomFieldCategoryJson](../../models/components/customfieldcategoryjson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `category` | [components.CustomFieldCategory](../../models/components/customfieldcategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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.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 | +| `type` | [components.CustomFieldType2](../../models/components/customfieldtype2.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. | -| `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 | +| `displayInDataTag` | [components.DisplayInDataTag](../../models/components/displayindatatag.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 | | `defaultTagText` | *string* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `consentField` | *boolean* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `active` | *boolean* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `displayInEventCreationWizard` | *boolean* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `pageVisibility` | [components.PageVisibilityJson](../../models/components/pagevisibilityjson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | +| `pageVisibility` | [components.PageVisibility](../../models/components/pagevisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | | `id` | *string* | :heavy_minus_sign: | The ID of the custom field. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingcustomfielddetails.md b/packages/typescript/docs/models/components/existingcustomfielddetails.md index 16b52a7c0..61cf470ed 100644 --- a/packages/typescript/docs/models/components/existingcustomfielddetails.md +++ b/packages/typescript/docs/models/components/existingcustomfielddetails.md @@ -5,20 +5,20 @@ Type-specific details of the custom-field. ## Supported Types -### `components.ZeroOneOf1` +### `components.OpenEndedOneLine` ```typescript -const value: components.ZeroOneOf1 = { +const value: components.OpenEndedOneLine = { answerFormat: "General", minimum: 2, maximum: 8, }; ``` -### `components.One` +### `components.OpenEndedDateTime1` ```typescript -const value: components.One = { +const value: components.OpenEndedDateTime1 = { from: new Date("2021-01-02T02:00:00Z"), to: new Date("2021-02-02T02:00:00Z"), format: "DateOnlyMonthFirst", @@ -26,19 +26,19 @@ const value: components.One = { }; ``` -### `components.Two` +### `components.OpenEndedCommentBox` ```typescript -const value: components.Two = { +const value: components.OpenEndedCommentBox = { minimum: 2, maximum: 8, }; ``` -### `components.Three` +### `components.Choices1` ```typescript -const value: components.Three = { +const value: components.Choices1 = { choices: [ { text: "What is your current designation?", diff --git a/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md b/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md index 40561819f..254f0eac5 100644 --- a/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md +++ b/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md @@ -5,20 +5,20 @@ Type-specific details of the custom-field. ## Supported Types -### `components.ZeroOneOf1` +### `components.OpenEndedOneLine` ```typescript -const value: components.ZeroOneOf1 = { +const value: components.OpenEndedOneLine = { answerFormat: "General", minimum: 2, maximum: 8, }; ``` -### `components.One` +### `components.OpenEndedDateTime1` ```typescript -const value: components.One = { +const value: components.OpenEndedDateTime1 = { from: new Date("2021-01-02T02:00:00Z"), to: new Date("2021-02-02T02:00:00Z"), format: "DateOnlyMonthFirst", @@ -26,19 +26,19 @@ const value: components.One = { }; ``` -### `components.Two` +### `components.OpenEndedCommentBox` ```typescript -const value: components.Two = { +const value: components.OpenEndedCommentBox = { minimum: 2, maximum: 8, }; ``` -### `components.ThreeInput` +### `components.Choices1Input` ```typescript -const value: components.ThreeInput = { +const value: components.Choices1Input = { choices: [ { text: "What is your current designation?", diff --git a/packages/typescript/docs/models/components/existingcustomfieldinput.md b/packages/typescript/docs/models/components/existingcustomfieldinput.md index d6d22cc27..dce94564f 100644 --- a/packages/typescript/docs/models/components/existingcustomfieldinput.md +++ b/packages/typescript/docs/models/components/existingcustomfieldinput.md @@ -28,17 +28,17 @@ let value: ExistingCustomFieldInput = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `category` | [components.CustomFieldCategoryJson](../../models/components/customfieldcategoryjson.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | +| `category` | [components.CustomFieldCategory](../../models/components/customfieldcategory.md) | :heavy_check_mark: | This is used to denote the category of a custom field. | Contact | | `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.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 | +| `type` | [components.CustomFieldType2](../../models/components/customfieldtype2.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 | +| `displayInDataTag` | [components.DisplayInDataTag](../../models/components/displayindatatag.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 | | `defaultTagText` | *string* | :heavy_minus_sign: | Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. | Your Division | | `consentField` | *boolean* | :heavy_minus_sign: | True means that this is a consent field. Only applicable to contact custom fields. | false | | `active` | *boolean* | :heavy_minus_sign: | True means that this custom field is active. Determines visibility for event custom fields. | true | | `displayInEventCreationWizard` | *boolean* | :heavy_minus_sign: | True means that the field will be displayed in the event creation wizard. Only applicable to event custom fields. | false | -| `pageVisibility` | [components.PageVisibilityJson](../../models/components/pagevisibilityjson.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | +| `pageVisibility` | [components.PageVisibility](../../models/components/pagevisibility.md) | :heavy_minus_sign: | Visibility of the custom field on various pages/forms. | | | `id` | *string* | :heavy_minus_sign: | The ID of the custom field. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/groupjson.md b/packages/typescript/docs/models/components/group.md similarity index 91% rename from packages/typescript/docs/models/components/groupjson.md rename to packages/typescript/docs/models/components/group.md index a3d7da1bd..bdf68890c 100644 --- a/packages/typescript/docs/models/components/groupjson.md +++ b/packages/typescript/docs/models/components/group.md @@ -1,13 +1,13 @@ -# GroupJson +# Group Generic sample name. Not a real model used by any Cvent service. ## Example Usage ```typescript -import { GroupJson } from "@cvent/sdk/models/components"; +import { Group } from "@cvent/sdk/models/components"; -let value: GroupJson = { +let value: Group = { value: "3b2359a7-4583-40ed-8afd-67e5f15373d3", display: "Admin", }; diff --git a/packages/typescript/docs/models/components/group1.md b/packages/typescript/docs/models/components/group1.md new file mode 100644 index 000000000..8583f4813 --- /dev/null +++ b/packages/typescript/docs/models/components/group1.md @@ -0,0 +1,32 @@ +# Group1 + +Generic sample name. Not a real model used by any Cvent service. + +## Example Usage + +```typescript +import { Group1 } from "@cvent/sdk/models/components"; + +let value: Group1 = { + schemas: [ + "urn:ietf:params:scim:api:messages:2.0:ListResponse", + ], + id: "3b2359a7-4583-40ed-8afd-67e5f15373d3", + displayName: "Admin", + meta: { + resourceType: "user", + location: "https:///scim/v2/Users/2", + created: new Date("2021-12-16T00:59:14.570Z"), + lastModified: new Date("2021-12-16T00:59:14.570Z"), + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `schemas` | *string*[] | :heavy_minus_sign: | The list of schemas using this resource. | | +| `id` | *string* | :heavy_check_mark: | The unique ID of the SCIM group. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `displayName` | *string* | :heavy_minus_sign: | The name of the user role. | Admin | +| `meta` | [components.Meta](../../models/components/meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/groupjson0.md b/packages/typescript/docs/models/components/groupjson0.md deleted file mode 100644 index 1270717cc..000000000 --- a/packages/typescript/docs/models/components/groupjson0.md +++ /dev/null @@ -1,32 +0,0 @@ -# GroupJson0 - -Generic sample name. Not a real model used by any Cvent service. - -## Example Usage - -```typescript -import { GroupJson0 } from "@cvent/sdk/models/components"; - -let value: GroupJson0 = { - schemas: [ - "urn:ietf:params:scim:api:messages:2.0:ListResponse", - ], - id: "3b2359a7-4583-40ed-8afd-67e5f15373d3", - displayName: "Admin", - meta: { - resourceType: "user", - location: "https:///scim/v2/Users/2", - created: new Date("2021-12-16T00:59:14.570Z"), - lastModified: new Date("2021-12-16T00:59:14.570Z"), - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *string* | :heavy_check_mark: | The unique ID of the SCIM group. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `displayName` | *string* | :heavy_minus_sign: | The name of the user role. | Admin | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ 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 e50fd132d..cc747bcd4 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.Address5](../../models/components/address5.md) | :heavy_minus_sign: | Address of the hotel. | | +| `hotelAddress` | [components.Address6](../../models/components/address6.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/journeytype.md b/packages/typescript/docs/models/components/journeytype.md index 3fa2e4eb0..11fd1f1e3 100644 --- a/packages/typescript/docs/models/components/journeytype.md +++ b/packages/typescript/docs/models/components/journeytype.md @@ -1,13 +1,13 @@ # JourneyType -Type of journey +Type of journey for an air booking. ## Example Usage ```typescript import { JourneyType } from "@cvent/sdk/models/components"; -let value: JourneyType = "Oneway"; +let value: JourneyType = "RoundTrip"; ``` ## Values diff --git a/packages/typescript/docs/models/components/languagejson.md b/packages/typescript/docs/models/components/language1.md similarity index 87% rename from packages/typescript/docs/models/components/languagejson.md rename to packages/typescript/docs/models/components/language1.md index 810e7afa7..303916437 100644 --- a/packages/typescript/docs/models/components/languagejson.md +++ b/packages/typescript/docs/models/components/language1.md @@ -1,13 +1,13 @@ -# LanguageJson +# Language1 IETF language code used to specify a target language for the translation. ## Example Usage ```typescript -import { LanguageJson } from "@cvent/sdk/models/components"; +import { Language1 } from "@cvent/sdk/models/components"; -let value: LanguageJson = "es-ES"; +let value: Language1 = "es-ES"; ``` ## Values diff --git a/packages/typescript/docs/models/components/metajson.md b/packages/typescript/docs/models/components/meta.md similarity index 97% rename from packages/typescript/docs/models/components/metajson.md rename to packages/typescript/docs/models/components/meta.md index 7084e5ae0..77d29fe4d 100644 --- a/packages/typescript/docs/models/components/metajson.md +++ b/packages/typescript/docs/models/components/meta.md @@ -1,13 +1,13 @@ -# MetaJson +# Meta Metadata of the resource. ## Example Usage ```typescript -import { MetaJson } from "@cvent/sdk/models/components"; +import { Meta } from "@cvent/sdk/models/components"; -let value: MetaJson = { +let value: Meta = { resourceType: "user", location: "https:///scim/v2/Users/2", created: new Date("2021-12-16T00:59:14.570Z"), diff --git a/packages/typescript/docs/models/components/mutabilityjson.md b/packages/typescript/docs/models/components/mutability.md similarity index 59% rename from packages/typescript/docs/models/components/mutabilityjson.md rename to packages/typescript/docs/models/components/mutability.md index 350cbaffe..d4da510dd 100644 --- a/packages/typescript/docs/models/components/mutabilityjson.md +++ b/packages/typescript/docs/models/components/mutability.md @@ -1,13 +1,13 @@ -# MutabilityJson +# Mutability This is used to denote the mutability of the attribute. ## Example Usage ```typescript -import { MutabilityJson } from "@cvent/sdk/models/components"; +import { Mutability } from "@cvent/sdk/models/components"; -let value: MutabilityJson = "writeOnly"; +let value: Mutability = "writeOnly"; ``` ## Values diff --git a/packages/typescript/docs/models/components/namejson.md b/packages/typescript/docs/models/components/name.md similarity index 93% rename from packages/typescript/docs/models/components/namejson.md rename to packages/typescript/docs/models/components/name.md index ce419eac3..bc7add433 100644 --- a/packages/typescript/docs/models/components/namejson.md +++ b/packages/typescript/docs/models/components/name.md @@ -1,13 +1,13 @@ -# NameJson +# Name The name of the user. ## Example Usage ```typescript -import { NameJson } from "@cvent/sdk/models/components"; +import { Name } from "@cvent/sdk/models/components"; -let value: NameJson = { +let value: Name = { givenName: "Mike", familyName: "Stuart", middleName: "A", diff --git a/packages/typescript/docs/models/components/openendeddatetime.md b/packages/typescript/docs/models/components/openendeddatetime.md deleted file mode 100644 index 1a4e6b685..000000000 --- a/packages/typescript/docs/models/components/openendeddatetime.md +++ /dev/null @@ -1,26 +0,0 @@ -# OpenEndedDateTime - -This is used to denote the open ended date time type of custom field. - -## Example Usage - -```typescript -import { OpenEndedDateTime } from "@cvent/sdk/models/components"; - -let value: OpenEndedDateTime = { - 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/one.md b/packages/typescript/docs/models/components/openendeddatetime1.md similarity index 95% rename from packages/typescript/docs/models/components/one.md rename to packages/typescript/docs/models/components/openendeddatetime1.md index a419a2382..7b17e95c5 100644 --- a/packages/typescript/docs/models/components/one.md +++ b/packages/typescript/docs/models/components/openendeddatetime1.md @@ -1,13 +1,13 @@ -# One +# OpenEndedDateTime1 This is used to denote the open ended date time type of custom field. ## Example Usage ```typescript -import { One } from "@cvent/sdk/models/components"; +import { OpenEndedDateTime1 } from "@cvent/sdk/models/components"; -let value: One = { +let value: OpenEndedDateTime1 = { from: new Date("2021-01-02T02:00:00Z"), to: new Date("2021-02-02T02:00:00Z"), format: "DateOnlyMonthFirst", @@ -21,6 +21,6 @@ let value: One = { | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `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 | +| `format` | [components.DateTimeDisplayFormat](../../models/components/datetimedisplayformat.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/pagevisibilityjson.md b/packages/typescript/docs/models/components/pagevisibility.md similarity index 93% rename from packages/typescript/docs/models/components/pagevisibilityjson.md rename to packages/typescript/docs/models/components/pagevisibility.md index 3d2652ae4..c19eb6963 100644 --- a/packages/typescript/docs/models/components/pagevisibilityjson.md +++ b/packages/typescript/docs/models/components/pagevisibility.md @@ -1,13 +1,13 @@ -# PageVisibilityJson +# PageVisibility Visibility of the custom field on various pages/forms. ## Example Usage ```typescript -import { PageVisibilityJson } from "@cvent/sdk/models/components"; +import { PageVisibility } from "@cvent/sdk/models/components"; -let value: PageVisibilityJson = {}; +let value: PageVisibility = {}; ``` ## Fields diff --git a/packages/typescript/docs/models/components/phonenumber.md b/packages/typescript/docs/models/components/phonenumber.md new file mode 100644 index 000000000..f2a91388e --- /dev/null +++ b/packages/typescript/docs/models/components/phonenumber.md @@ -0,0 +1,21 @@ +# PhoneNumber + +Phone Number + +## Example Usage + +```typescript +import { PhoneNumber } from "@cvent/sdk/models/components"; + +let value: PhoneNumber = { + type: "work", + value: "+911234567890", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `type` | [components.PhoneType](../../models/components/phonetype.md) | :heavy_check_mark: | The type of the phone number. | work | +| `value` | *string* | :heavy_check_mark: | The phone number of the user. | +911234567890 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/phonenumberjson1.md b/packages/typescript/docs/models/components/phonenumberjson1.md deleted file mode 100644 index 32d7979ef..000000000 --- a/packages/typescript/docs/models/components/phonenumberjson1.md +++ /dev/null @@ -1,21 +0,0 @@ -# PhoneNumberJson1 - -Phone Number - -## Example Usage - -```typescript -import { PhoneNumberJson1 } from "@cvent/sdk/models/components"; - -let value: PhoneNumberJson1 = { - type: "work", - value: "+911234567890", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `type` | [components.PhoneTypeJson](../../models/components/phonetypejson.md) | :heavy_check_mark: | The type of the phone number. | work | -| `value` | *string* | :heavy_check_mark: | The phone number of the user. | +911234567890 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/phonetypejson.md b/packages/typescript/docs/models/components/phonetype.md similarity index 52% rename from packages/typescript/docs/models/components/phonetypejson.md rename to packages/typescript/docs/models/components/phonetype.md index 29dc04e93..efda4ffbb 100644 --- a/packages/typescript/docs/models/components/phonetypejson.md +++ b/packages/typescript/docs/models/components/phonetype.md @@ -1,13 +1,13 @@ -# PhoneTypeJson +# PhoneType The type of the phone number. ## Example Usage ```typescript -import { PhoneTypeJson } from "@cvent/sdk/models/components"; +import { PhoneType } from "@cvent/sdk/models/components"; -let value: PhoneTypeJson = "work"; +let value: PhoneType = "work"; ``` ## Values diff --git a/packages/typescript/docs/models/components/attributereferencetypejson.md b/packages/typescript/docs/models/components/referencetype.md similarity index 52% rename from packages/typescript/docs/models/components/attributereferencetypejson.md rename to packages/typescript/docs/models/components/referencetype.md index 843480d4c..728d64531 100644 --- a/packages/typescript/docs/models/components/attributereferencetypejson.md +++ b/packages/typescript/docs/models/components/referencetype.md @@ -1,13 +1,13 @@ -# AttributeReferenceTypeJson +# ReferenceType This is used to denote the reference type of the attribute. ## Example Usage ```typescript -import { AttributeReferenceTypeJson } from "@cvent/sdk/models/components"; +import { ReferenceType } from "@cvent/sdk/models/components"; -let value: AttributeReferenceTypeJson = "Group"; +let value: ReferenceType = "Group"; ``` ## Values diff --git a/packages/typescript/docs/models/components/resourcetype.md b/packages/typescript/docs/models/components/resourcetype.md index 4b6a15a61..1a4e289b5 100644 --- a/packages/typescript/docs/models/components/resourcetype.md +++ b/packages/typescript/docs/models/components/resourcetype.md @@ -33,13 +33,13 @@ let value: ResourceType = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *string* | :heavy_minus_sign: | The name of the resource type. | User | -| `description` | *string* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | -| `endpoint` | *string* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | -| `schema` | *string* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | -| `schemaExtensions` | [components.ResourceTypeSchemaExtension](../../models/components/resourcetypeschemaextension.md)[] | :heavy_minus_sign: | The list of schema extensions for the resource type. | | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `schemas` | *string*[] | :heavy_minus_sign: | The list of schemas using this resource. | | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | +| `name` | *string* | :heavy_minus_sign: | The name of the resource type. | User | +| `description` | *string* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | +| `endpoint` | *string* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | +| `schema` | *string* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | +| `schemaExtensions` | [components.SchemaExtension](../../models/components/schemaextension.md)[] | :heavy_minus_sign: | The list of schema extensions for the resource type. | | +| `meta` | [components.Meta](../../models/components/meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/resourcetypejson.md b/packages/typescript/docs/models/components/resourcetypejson.md deleted file mode 100644 index fb739a67c..000000000 --- a/packages/typescript/docs/models/components/resourcetypejson.md +++ /dev/null @@ -1,45 +0,0 @@ -# ResourceTypeJson - -Resource Type - -## Example Usage - -```typescript -import { ResourceTypeJson } from "@cvent/sdk/models/components"; - -let value: ResourceTypeJson = { - schemas: [ - "urn:ietf:params:scim:api:messages:2.0:ListResponse", - ], - id: "urn:ietf:params:scim:api:messages:2.0:ListResponse", - name: "User", - description: "This Attribute describes the Schema", - endpoint: "/Users", - schema: "urn:ietf:params:scim:schemas:core:2.0:User", - schemaExtensions: [ - { - schema: "urn:ietf:params:scim:api:messages:2.0:ListResponse", - required: true, - }, - ], - meta: { - resourceType: "user", - location: "https:///scim/v2/Users/2", - created: new Date("2021-12-16T00:59:14.570Z"), - lastModified: new Date("2021-12-16T00:59:14.570Z"), - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the resource type. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *string* | :heavy_minus_sign: | The name of the resource type. | User | -| `description` | *string* | :heavy_minus_sign: | The description of the resource type. | This Attribute describes the Schema | -| `endpoint` | *string* | :heavy_minus_sign: | The URL of the resource type endpoint. | /Users | -| `schema` | *string* | :heavy_minus_sign: | The schema of the resource type. | urn:ietf:params:scim:schemas:core:2.0:User | -| `schemaExtensions` | [components.ResourceTypeJsonSchemaExtension](../../models/components/resourcetypejsonschemaextension.md)[] | :heavy_minus_sign: | The list of schema extensions for the resource type. | | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/resourcetypejsonschemaextension.md b/packages/typescript/docs/models/components/resourcetypejsonschemaextension.md deleted file mode 100644 index 73a6e0857..000000000 --- a/packages/typescript/docs/models/components/resourcetypejsonschemaextension.md +++ /dev/null @@ -1,19 +0,0 @@ -# ResourceTypeJsonSchemaExtension - -## Example Usage - -```typescript -import { ResourceTypeJsonSchemaExtension } from "@cvent/sdk/models/components"; - -let value: ResourceTypeJsonSchemaExtension = { - schema: "urn:ietf:params:scim:api:messages:2.0:ListResponse", - required: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | -| `schema` | *string* | :heavy_minus_sign: | The id of the schema extension | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `required` | *boolean* | :heavy_minus_sign: | True indicates if the schema extension is required. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/resourcetypes.md b/packages/typescript/docs/models/components/resourcetypes.md index 592f34f45..9028dc697 100644 --- a/packages/typescript/docs/models/components/resourcetypes.md +++ b/packages/typescript/docs/models/components/resourcetypes.md @@ -43,10 +43,10 @@ let value: ResourceTypes = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *number* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `resources` | [components.ResourceTypeJson](../../models/components/resourcetypejson.md)[] | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *number* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `resources` | [components.ResourceType](../../models/components/resourcetype.md)[] | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attributereturnedtypejson.md b/packages/typescript/docs/models/components/returnedtype.md similarity index 52% rename from packages/typescript/docs/models/components/attributereturnedtypejson.md rename to packages/typescript/docs/models/components/returnedtype.md index d5d90a2fa..1384000e6 100644 --- a/packages/typescript/docs/models/components/attributereturnedtypejson.md +++ b/packages/typescript/docs/models/components/returnedtype.md @@ -1,13 +1,13 @@ -# AttributeReturnedTypeJson +# ReturnedType This is used to denote the returned type of the attribute. ## Example Usage ```typescript -import { AttributeReturnedTypeJson } from "@cvent/sdk/models/components"; +import { ReturnedType } from "@cvent/sdk/models/components"; -let value: AttributeReturnedTypeJson = "always"; +let value: ReturnedType = "always"; ``` ## Values diff --git a/packages/typescript/docs/models/components/resourcetypeschemaextension.md b/packages/typescript/docs/models/components/schemaextension.md similarity index 89% rename from packages/typescript/docs/models/components/resourcetypeschemaextension.md rename to packages/typescript/docs/models/components/schemaextension.md index 21cc47f09..0a335ac1b 100644 --- a/packages/typescript/docs/models/components/resourcetypeschemaextension.md +++ b/packages/typescript/docs/models/components/schemaextension.md @@ -1,11 +1,11 @@ -# ResourceTypeSchemaExtension +# SchemaExtension ## Example Usage ```typescript -import { ResourceTypeSchemaExtension } from "@cvent/sdk/models/components"; +import { SchemaExtension } from "@cvent/sdk/models/components"; -let value: ResourceTypeSchemaExtension = { +let value: SchemaExtension = { schema: "urn:ietf:params:scim:api:messages:2.0:ListResponse", required: true, }; diff --git a/packages/typescript/docs/models/components/schemajson.md b/packages/typescript/docs/models/components/schemajson.md deleted file mode 100644 index 2c359ef36..000000000 --- a/packages/typescript/docs/models/components/schemajson.md +++ /dev/null @@ -1,69 +0,0 @@ -# SchemaJson - -Schema - -## Example Usage - -```typescript -import { SchemaJson } from "@cvent/sdk/models/components"; - -let value: SchemaJson = { - id: "urn:ietf:params:scim:api:messages:2.0:ListResponse", - name: "User", - description: "This Attribute describes the Schema", - attributes: [ - { - name: "userName", - type: "string", - multiValued: true, - description: "This Attribute describes the property", - required: true, - caseExact: false, - mutability: "writeOnly", - canonicalValues: [ - "work", - ], - returned: "always", - uniqueness: "global", - referenceTypes: [ - "Group", - ], - subAttributes: [ - { - name: "userName", - type: "string", - multiValued: true, - description: "This Attribute describes the property", - required: true, - caseExact: false, - mutability: "writeOnly", - canonicalValues: [ - "work", - ], - returned: "always", - uniqueness: "global", - referenceTypes: [ - "Group", - ], - }, - ], - }, - ], - meta: { - resourceType: "user", - location: "https:///scim/v2/Users/2", - created: new Date("2021-12-16T00:59:14.570Z"), - lastModified: new Date("2021-12-16T00:59:14.570Z"), - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *string* | :heavy_minus_sign: | The name of the schema. | User | -| `description` | *string* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | -| `attributes` | [components.AttributeJson](../../models/components/attributejson.md)[] | :heavy_minus_sign: | The collection of attributes for the schema. | | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/schemeoauth2clientcredentials.md b/packages/typescript/docs/models/components/schemeoauth2clientcredentials.md index 480a0b737..906aedd6f 100644 --- a/packages/typescript/docs/models/components/schemeoauth2clientcredentials.md +++ b/packages/typescript/docs/models/components/schemeoauth2clientcredentials.md @@ -1,6 +1,6 @@ # SchemeOAuth2ClientCredentials -OAuth2 Client Credentials Flow +OAuth2 Client Credentials Flow. ## Example Usage diff --git a/packages/typescript/docs/models/components/seattype.md b/packages/typescript/docs/models/components/seattype.md index 406fd829b..e8d32f13b 100644 --- a/packages/typescript/docs/models/components/seattype.md +++ b/packages/typescript/docs/models/components/seattype.md @@ -1,13 +1,13 @@ # SeatType -Type of the seat. +Preferred or assigned seat type for an air booking. ## Example Usage ```typescript import { SeatType } from "@cvent/sdk/models/components"; -let value: SeatType = "Aisle"; +let value: SeatType = "Window"; ``` ## Values diff --git a/packages/typescript/docs/models/components/sendemaileventrequest.md b/packages/typescript/docs/models/components/sendemaileventrequest.md index 841596926..87fc8df5b 100644 --- a/packages/typescript/docs/models/components/sendemaileventrequest.md +++ b/packages/typescript/docs/models/components/sendemaileventrequest.md @@ -26,6 +26,6 @@ let value: SendEmailEventRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `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. | | +| `email` | [components.EmailJson1](../../models/components/emailjson1.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 0c1d23dfd..e9048bf45 100644 --- a/packages/typescript/docs/models/components/sendemaileventresponse.md +++ b/packages/typescript/docs/models/components/sendemaileventresponse.md @@ -44,6 +44,6 @@ let value: SendEmailEventResponse = { | `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.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. | | +| `email` | [components.EmailJson1](../../models/components/emailjson1.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/serviceproviderconfig.md b/packages/typescript/docs/models/components/serviceproviderconfig.md index 023600058..b1f8db502 100644 --- a/packages/typescript/docs/models/components/serviceproviderconfig.md +++ b/packages/typescript/docs/models/components/serviceproviderconfig.md @@ -68,5 +68,5 @@ let value: ServiceProviderConfig = { | `changePassword` | [components.ChangePassword](../../models/components/changepassword.md) | :heavy_minus_sign: | Config details for change password operations. | | | `sort` | [components.Sort](../../models/components/sort.md) | :heavy_minus_sign: | Config details for sort operations. | | | `etag` | [components.Etag](../../models/components/etag.md) | :heavy_minus_sign: | Config details for change e-tag operations. | | -| `authenticationSchemes` | [components.AuthenticationSchemaJson](../../models/components/authenticationschemajson.md)[] | :heavy_minus_sign: | The collection of authentication schemas. | | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| `authenticationSchemes` | [components.AuthenticationSchema](../../models/components/authenticationschema.md)[] | :heavy_minus_sign: | The collection of authentication schemas. | | +| `meta` | [components.Meta](../../models/components/meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/taxtype.md b/packages/typescript/docs/models/components/taxtype1.md similarity index 67% rename from packages/typescript/docs/models/components/taxtype.md rename to packages/typescript/docs/models/components/taxtype1.md index d9a51d053..60136f8b7 100644 --- a/packages/typescript/docs/models/components/taxtype.md +++ b/packages/typescript/docs/models/components/taxtype1.md @@ -1,13 +1,13 @@ -# TaxType +# TaxType1 Bid tax type. ## Example Usage ```typescript -import { TaxType } from "@cvent/sdk/models/components"; +import { TaxType1 } from "@cvent/sdk/models/components"; -let value: TaxType = "city_tax"; +let value: TaxType1 = "city_tax"; ``` ## Values diff --git a/packages/typescript/docs/models/components/tickettype.md b/packages/typescript/docs/models/components/tickettype.md index 1a8c301e3..21f847f10 100644 --- a/packages/typescript/docs/models/components/tickettype.md +++ b/packages/typescript/docs/models/components/tickettype.md @@ -1,6 +1,6 @@ # TicketType -Category of the passenger's ticket. +Category of the passenger's ticket for an air booking. ## Example Usage diff --git a/packages/typescript/docs/models/components/translation.md b/packages/typescript/docs/models/components/translation.md index 0da86891e..357d48550 100644 --- a/packages/typescript/docs/models/components/translation.md +++ b/packages/typescript/docs/models/components/translation.md @@ -24,4 +24,4 @@ let value: Translation = { | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | `nameTranslation` | *string* | :heavy_minus_sign: | Translation of the custom field's name. | Departamento | | `helpTextTranslation` | *string* | :heavy_minus_sign: | Translation for the help text of the custom field. | El departamento donde trabaja. | -| `choiceTranslations` | [components.ChoiceTranslationJson](../../models/components/choicetranslationjson.md)[] | :heavy_minus_sign: | Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. | | \ No newline at end of file +| `choiceTranslations` | [components.ChoiceTranslation](../../models/components/choicetranslation.md)[] | :heavy_minus_sign: | Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/translation1.md b/packages/typescript/docs/models/components/translation1.md index a85f267b9..0f8bd231c 100644 --- a/packages/typescript/docs/models/components/translation1.md +++ b/packages/typescript/docs/models/components/translation1.md @@ -26,4 +26,4 @@ let value: Translation1 = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | | `translation` | [components.Translation](../../models/components/translation.md) | :heavy_check_mark: | This is used to denote the translation of the custom field, including its name, help text, and choice texts. | | -| `language` | [components.LanguageJson](../../models/components/languagejson.md) | :heavy_check_mark: | IETF language code used to specify a target language for the translation. | es-ES | \ No newline at end of file +| `language` | [components.Language1](../../models/components/language1.md) | :heavy_check_mark: | IETF language code used to specify a target language for the translation. | es-ES | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelaccount.md b/packages/typescript/docs/models/components/travelaccount.md index 46e91fbf1..dd2e52f4a 100644 --- a/packages/typescript/docs/models/components/travelaccount.md +++ b/packages/typescript/docs/models/components/travelaccount.md @@ -43,4 +43,4 @@ let value: TravelAccount = { | `name` | *string* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | | `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.Address6](../../models/components/address6.md)[] | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file +| `addresses` | [components.Address7](../../models/components/address7.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/travelbidtaxandfee.md b/packages/typescript/docs/models/components/travelbidtaxandfee.md index fec0515ba..68f6b0c22 100644 --- a/packages/typescript/docs/models/components/travelbidtaxandfee.md +++ b/packages/typescript/docs/models/components/travelbidtaxandfee.md @@ -19,7 +19,7 @@ let value: TravelBidTaxAndFee = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | [components.TaxType](../../models/components/taxtype.md) | :heavy_minus_sign: | Bid tax type. | city_tax | +| `code` | [components.TaxType1](../../models/components/taxtype1.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. | | diff --git a/packages/typescript/docs/models/components/two.md b/packages/typescript/docs/models/components/two.md deleted file mode 100644 index be49027ab..000000000 --- a/packages/typescript/docs/models/components/two.md +++ /dev/null @@ -1,21 +0,0 @@ -# Two - -This is used to denote the open ended comment box type of custom field. - -## Example Usage - -```typescript -import { Two } from "@cvent/sdk/models/components"; - -let value: Two = { - minimum: 2, - maximum: 8, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `minimum` | *number* | :heavy_minus_sign: | Minimum number/characters allowed. | 2 | -| `maximum` | *number* | :heavy_minus_sign: | Maximum number/characters allowed. | 8 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attributeuniquenesstypejson.md b/packages/typescript/docs/models/components/uniquenesstype.md similarity index 50% rename from packages/typescript/docs/models/components/attributeuniquenesstypejson.md rename to packages/typescript/docs/models/components/uniquenesstype.md index 09370784c..11acb2599 100644 --- a/packages/typescript/docs/models/components/attributeuniquenesstypejson.md +++ b/packages/typescript/docs/models/components/uniquenesstype.md @@ -1,13 +1,13 @@ -# AttributeUniquenessTypeJson +# UniquenessType This is used to denote the uniqueness type of the attribute. ## Example Usage ```typescript -import { AttributeUniquenessTypeJson } from "@cvent/sdk/models/components"; +import { UniquenessType } from "@cvent/sdk/models/components"; -let value: AttributeUniquenessTypeJson = "global"; +let value: UniquenessType = "global"; ``` ## Values diff --git a/packages/typescript/docs/models/components/user.md b/packages/typescript/docs/models/components/user.md index 99d115e7c..d3e0fb358 100644 --- a/packages/typescript/docs/models/components/user.md +++ b/packages/typescript/docs/models/components/user.md @@ -68,16 +68,16 @@ let value: User = { | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `schemas` | *string*[] | :heavy_minus_sign: | The list of schemas using this resource. | | | `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `name` | [components.NameJson](../../models/components/namejson.md) | :heavy_check_mark: | The name of the user. | | +| `name` | [components.Name](../../models/components/name.md) | :heavy_check_mark: | The name of the user. | | | `userName` | *string* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | | `active` | *boolean* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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. | | +| `emails` | [components.Email](../../models/components/email.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.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 | +| `phoneNumbers` | [components.PhoneNumber](../../models/components/phonenumber.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.Address5](../../models/components/address5.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.UserType](../../models/components/usertype.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 | -| `groups` | [components.GroupJson](../../models/components/groupjson.md)[] | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [components.UserEnterpriseExtensionJson](../../models/components/userenterpriseextensionjson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| `groups` | [components.Group](../../models/components/group.md)[] | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | +| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [components.UserEnterpriseExtension](../../models/components/userenterpriseextension.md) | :heavy_check_mark: | Enterprise extension model for the user. | | +| `meta` | [components.Meta](../../models/components/meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/userenterpriseextensionjson.md b/packages/typescript/docs/models/components/userenterpriseextension.md similarity index 98% rename from packages/typescript/docs/models/components/userenterpriseextensionjson.md rename to packages/typescript/docs/models/components/userenterpriseextension.md index a80d43686..bc11f55cd 100644 --- a/packages/typescript/docs/models/components/userenterpriseextensionjson.md +++ b/packages/typescript/docs/models/components/userenterpriseextension.md @@ -1,13 +1,13 @@ -# UserEnterpriseExtensionJson +# UserEnterpriseExtension Enterprise extension model for the user. ## Example Usage ```typescript -import { UserEnterpriseExtensionJson } from "@cvent/sdk/models/components"; +import { UserEnterpriseExtension } from "@cvent/sdk/models/components"; -let value: UserEnterpriseExtensionJson = { +let value: UserEnterpriseExtension = { federatedId: "AKJU783UP", company: "Cvent", workFax: "+1123456", diff --git a/packages/typescript/docs/models/components/usergroups.md b/packages/typescript/docs/models/components/usergroups.md index dcbbbe777..8893e2bda 100644 --- a/packages/typescript/docs/models/components/usergroups.md +++ b/packages/typescript/docs/models/components/usergroups.md @@ -34,10 +34,10 @@ let value: UserGroups = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *number* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `resources` | [components.GroupJson0](../../models/components/groupjson0.md)[] | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *number* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `resources` | [components.Group1](../../models/components/group1.md)[] | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/userinput.md b/packages/typescript/docs/models/components/userinput.md index 9cce4dc6e..576a1cfd4 100644 --- a/packages/typescript/docs/models/components/userinput.md +++ b/packages/typescript/docs/models/components/userinput.md @@ -56,15 +56,15 @@ let value: UserInput = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | [components.NameJson](../../models/components/namejson.md) | :heavy_check_mark: | The name of the user. | | +| `name` | [components.Name](../../models/components/name.md) | :heavy_check_mark: | The name of the user. | | | `userName` | *string* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | | `active` | *boolean* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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. | | +| `emails` | [components.Email](../../models/components/email.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.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 | +| `phoneNumbers` | [components.PhoneNumber](../../models/components/phonenumber.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.Address5](../../models/components/address5.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.UserType](../../models/components/usertype.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 | -| `groups` | [components.GroupJson](../../models/components/groupjson.md)[] | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [components.UserEnterpriseExtensionJson](../../models/components/userenterpriseextensionjson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | \ No newline at end of file +| `groups` | [components.Group](../../models/components/group.md)[] | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | +| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [components.UserEnterpriseExtension](../../models/components/userenterpriseextension.md) | :heavy_check_mark: | Enterprise extension model for the user. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/userjson.md b/packages/typescript/docs/models/components/userjson.md deleted file mode 100644 index e005c2c92..000000000 --- a/packages/typescript/docs/models/components/userjson.md +++ /dev/null @@ -1,83 +0,0 @@ -# UserJson - -Generic sample User. Not a real model used by any Cvent service. - -## Example Usage - -```typescript -import { UserJson } from "@cvent/sdk/models/components"; - -let value: UserJson = { - schemas: [ - "urn:ietf:params:scim:api:messages:2.0:ListResponse", - ], - id: "3b2359a7-4583-40ed-8afd-67e5f15373d3", - name: { - givenName: "Mike", - familyName: "Stuart", - middleName: "A", - honorificPrefix: "Mr.", - }, - userName: "aMike@test.com", - emails: [], - title: "Vice President", - phoneNumbers: [ - { - type: "work", - value: "+911234567890", - }, - ], - addresses: [ - { - type: "work", - streetAddress: "100 Universal City Plaza", - locality: "Hollywood", - region: "CA", - postalCode: "91608", - country: "USA", - primary: true, - }, - ], - userType: "Planner Account User", - locale: "en-US", - groups: [ - { - value: "3b2359a7-4583-40ed-8afd-67e5f15373d3", - display: "Admin", - }, - ], - urnIetfParamsScimSchemasExtensionEnterprise20User: { - federatedId: "AKJU783UP", - company: "Cvent", - workFax: "+1123456", - homeFax: "+1123456", - pager: "+1123456", - }, - meta: { - resourceType: "user", - location: "https:///scim/v2/Users/2", - created: new Date("2021-12-16T00:59:14.570Z"), - lastModified: new Date("2021-12-16T00:59:14.570Z"), - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The list of schemas using this resource. | | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `name` | [components.NameJson](../../models/components/namejson.md) | :heavy_check_mark: | The name of the user. | | -| `userName` | *string* | :heavy_check_mark: | The user name of the user to be used during identification. | aMike@test.com | -| `active` | *boolean* | :heavy_minus_sign: | True indicates the user is active. | true | -| `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.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 | -| `groups` | [components.GroupJson](../../models/components/groupjson.md)[] | :heavy_check_mark: | The SCIM group (representing Cvent user role) of the user. | | -| `urnIetfParamsScimSchemasExtensionEnterprise20User` | [components.UserEnterpriseExtensionJson](../../models/components/userenterpriseextensionjson.md) | :heavy_check_mark: | Enterprise extension model for the user. | | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/users.md b/packages/typescript/docs/models/components/users.md index 412e0d633..b59756f23 100644 --- a/packages/typescript/docs/models/components/users.md +++ b/packages/typescript/docs/models/components/users.md @@ -74,10 +74,10 @@ let value: Users = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of users per page. | 50 | -| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *number* | :heavy_minus_sign: | The total count of users. | 5 | -| `resources` | [components.UserJson](../../models/components/userjson.md)[] | :heavy_minus_sign: | The collection of user resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of users per page. | 50 | +| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *number* | :heavy_minus_sign: | The total count of users. | 5 | +| `resources` | [components.User](../../models/components/user.md)[] | :heavy_minus_sign: | The collection of user resources. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/usersschema.md b/packages/typescript/docs/models/components/usersschema.md index 8bfa7fe2f..f43d39fdf 100644 --- a/packages/typescript/docs/models/components/usersschema.md +++ b/packages/typescript/docs/models/components/usersschema.md @@ -60,10 +60,10 @@ let value: UsersSchema = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | -| `name` | *string* | :heavy_minus_sign: | The name of the schema. | User | -| `description` | *string* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | -| `attributes` | [components.AttributeJson](../../models/components/attributejson.md)[] | :heavy_minus_sign: | The collection of attributes for the schema. | | -| `meta` | [components.MetaJson](../../models/components/metajson.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the schema. | urn:ietf:params:scim:api:messages:2.0:ListResponse | +| `name` | *string* | :heavy_minus_sign: | The name of the schema. | User | +| `description` | *string* | :heavy_minus_sign: | The description of the schema. | This Attribute describes the Schema | +| `attributes` | [components.Attribute](../../models/components/attribute.md)[] | :heavy_minus_sign: | The collection of attributes for the schema. | | +| `meta` | [components.Meta](../../models/components/meta.md) | :heavy_minus_sign: | Metadata of the resource. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/usersschemas.md b/packages/typescript/docs/models/components/usersschemas.md index 289ada883..33afbbd93 100644 --- a/packages/typescript/docs/models/components/usersschemas.md +++ b/packages/typescript/docs/models/components/usersschemas.md @@ -70,10 +70,10 @@ let value: UsersSchemas = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | -| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of schemas per page. | 50 | -| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | -| `totalResults` | *number* | :heavy_minus_sign: | The total count of schemas. | 5 | -| `resources` | [components.SchemaJson](../../models/components/schemajson.md)[] | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `schemas` | *string*[] | :heavy_minus_sign: | The collection of user schemas. | | +| `itemsPerPage` | *number* | :heavy_minus_sign: | The number of schemas per page. | 50 | +| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | 1 | +| `totalResults` | *number* | :heavy_minus_sign: | The total count of schemas. | 5 | +| `resources` | [components.UsersSchema](../../models/components/usersschema.md)[] | :heavy_minus_sign: | The collection of schema resources. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/usertype.md b/packages/typescript/docs/models/components/usertype.md new file mode 100644 index 000000000..ce3a59a25 --- /dev/null +++ b/packages/typescript/docs/models/components/usertype.md @@ -0,0 +1,17 @@ +# UserType + +The type of the user. + +## Example Usage + +```typescript +import { UserType } from "@cvent/sdk/models/components"; + +let value: UserType = "Planner Account User"; +``` + +## Values + +```typescript +"Planner Account User" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/usertypejson.md b/packages/typescript/docs/models/components/usertypejson.md deleted file mode 100644 index db54f991d..000000000 --- a/packages/typescript/docs/models/components/usertypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserTypeJson - -The type of the user. - -## Example Usage - -```typescript -import { UserTypeJson } from "@cvent/sdk/models/components"; - -let value: UserTypeJson = "Planner Account User"; -``` - -## Values - -```typescript -"Planner Account User" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zerooneof2.md b/packages/typescript/docs/models/components/zerooneof.md similarity index 88% rename from packages/typescript/docs/models/components/zerooneof2.md rename to packages/typescript/docs/models/components/zerooneof.md index bbe94e8f0..bd2b5066b 100644 --- a/packages/typescript/docs/models/components/zerooneof2.md +++ b/packages/typescript/docs/models/components/zerooneof.md @@ -1,13 +1,13 @@ -# ZeroOneOf2 +# ZeroOneOf AttendeeAddResponse ## Example Usage ```typescript -import { ZeroOneOf2 } from "@cvent/sdk/models/components"; +import { ZeroOneOf } from "@cvent/sdk/models/components"; -let value: ZeroOneOf2 = { +let value: ZeroOneOf = { id: "a96e7faa-b23e-49de-9040-c908473ba7ac", }; ``` diff --git a/packages/typescript/docs/models/components/zerooneof1.md b/packages/typescript/docs/models/components/zerooneof1.md deleted file mode 100644 index b17564e84..000000000 --- a/packages/typescript/docs/models/components/zerooneof1.md +++ /dev/null @@ -1,23 +0,0 @@ -# ZeroOneOf1 - -This is used to denote the open ended one line type of custom field. - -## Example Usage - -```typescript -import { ZeroOneOf1 } from "@cvent/sdk/models/components"; - -let value: ZeroOneOf1 = { - answerFormat: "General", - minimum: 2, - maximum: 8, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `answerFormat` | *string* | :heavy_minus_sign: | The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI. | General | -| `minimum` | *number* | :heavy_minus_sign: | Minimum number/characters allowed. | 2 | -| `maximum` | *number* | :heavy_minus_sign: | Maximum number/characters allowed. | 8 | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/badrequesterror.md b/packages/typescript/docs/models/errors/badrequesterror.md index 52a062528..ff498a34b 100644 --- a/packages/typescript/docs/models/errors/badrequesterror.md +++ b/packages/typescript/docs/models/errors/badrequesterror.md @@ -14,5 +14,5 @@ import { BadRequestError } from "@cvent/sdk/models/errors"; | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `errorDescription` | *string* | :heavy_minus_sign: | May be returned with additional information regarding the error. | | +| `errorDescription` | *string* | :heavy_minus_sign: | Additional error information, when available. | | | `error` | [errors.ErrorT](../../models/errors/errort.md) | :heavy_minus_sign: | **invalid_request**

The request is missing a required parameter, includes an unsupported parameter value (other than unsupported_grant_type), or is otherwise malformed. For example, grant_type is refresh_token but refresh_token is not included.

**invalid_client**

Client authentication failed. For example, when the client includes client_id and client_secret in the authorization header, but there's no such client with that client_id and client_secret.

**invalid_grant**

Refresh token has been revoked.

Authorization code has been consumed already or does not exist.

**unauthorized_client**

Client is not allowed for code grant flow or for refreshing tokens.

**unsupported_grant_type**

Returned if grant_type is anything other than authorization_code or refresh_token.
| invalid_request | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/errorresponse.md b/packages/typescript/docs/models/errors/errorresponse.md new file mode 100644 index 000000000..203b2dd19 --- /dev/null +++ b/packages/typescript/docs/models/errors/errorresponse.md @@ -0,0 +1,20 @@ +# ErrorResponse + +Represents an error response with additional details of cascading error messages. + +## Example Usage + +```typescript +import { ErrorResponse } from "@cvent/sdk/models/errors"; + +// No examples available for this model +``` + +## 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 diff --git a/packages/typescript/docs/models/errors/errorresponse2.md b/packages/typescript/docs/models/errors/errorresponse2.md index 5a69fc30f..b7d8473c9 100644 --- a/packages/typescript/docs/models/errors/errorresponse2.md +++ b/packages/typescript/docs/models/errors/errorresponse2.md @@ -1,6 +1,6 @@ # ErrorResponse2 -Represents an error response with additional details of cascading error messages. +The error response. ## Example Usage @@ -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.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 | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `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.ErrorScimType](../../models/components/errorscimtype.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/errorresponsejson12.md b/packages/typescript/docs/models/errors/errorresponsejson12.md deleted file mode 100644 index 211fc0fbe..000000000 --- a/packages/typescript/docs/models/errors/errorresponsejson12.md +++ /dev/null @@ -1,20 +0,0 @@ -# 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/operations/getairactualdetailresponse.md b/packages/typescript/docs/models/operations/getairactualdetailresponse.md index 9b2ac8b74..c15d1d468 100644 --- a/packages/typescript/docs/models/operations/getairactualdetailresponse.md +++ b/packages/typescript/docs/models/operations/getairactualdetailresponse.md @@ -47,6 +47,7 @@ let value: GetAirActualDetailResponse = { note: "Additional note here.", recordLocatorGDS: "ABC123", noteGDS: "GDS note.", + journeyType: "RoundTrip", flightDetail: [ { airline: "Emirates", diff --git a/packages/typescript/docs/models/operations/getairrequestsresponse.md b/packages/typescript/docs/models/operations/getairrequestsresponse.md index dd989e82a..076ebf880 100644 --- a/packages/typescript/docs/models/operations/getairrequestsresponse.md +++ b/packages/typescript/docs/models/operations/getairrequestsresponse.md @@ -58,13 +58,14 @@ let value: GetAirRequestsResponse = { date: new Date("2023-05-19T00:00:00Z"), time: "Morning", }, + seatType: "Window", ticketType: "Economy/Coach", foodPreference: "Please provide vegetarian meal.", specialRequest: "Please provide blanket", airlinePreference: [ { airlineName: "Emirates", - rewardsCode: "REWARDS_ONE", + rewardsCode: "SKYWARD12345", }, ], ageCategory: "Adult", diff --git a/packages/typescript/docs/models/operations/granttype.md b/packages/typescript/docs/models/operations/granttype.md index 31f07c42b..f4a814861 100644 --- a/packages/typescript/docs/models/operations/granttype.md +++ b/packages/typescript/docs/models/operations/granttype.md @@ -1,6 +1,6 @@ # GrantType -The grant type. +Controls the OAuth2 grant flow used to obtain tokens. ## Example Usage diff --git a/packages/typescript/docs/models/operations/listcustomfieldsrequest.md b/packages/typescript/docs/models/operations/listcustomfieldsrequest.md index da6dbcef3..15694819f 100644 --- a/packages/typescript/docs/models/operations/listcustomfieldsrequest.md +++ b/packages/typescript/docs/models/operations/listcustomfieldsrequest.md @@ -16,10 +16,10 @@ let value: ListCustomFieldsRequest = { ## 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_check_mark: | 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)
* category (eq) *(Required, one category can be provided at a time)*
* lastModified (eq\|ne\|lt\|le\|gt\|ge)
* code (eq\|ne) *(Case insensitive)*
| category eq 'Event' and lastModified gt '2021-03-19T11:30:37.909Z' and code eq 'FAVORITE_COLOR_CODE' | \ 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_check_mark: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------\|-------------------------------------\|-------\|
\| id \| `eq`, `ne` \| \|
\| category \| `eq` \| Required, one category can be provided at a time \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| code \| `eq`, `ne` \| Case insensitive \|

The following logical operators are supported for combining filters:
* and
* or
| category eq 'Event' and lastModified gt '2021-03-19T11:30:37.909Z' and code eq 'FAVORITE_COLOR_CODE' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listusersrequest.md b/packages/typescript/docs/models/operations/listusersrequest.md index d62046742..36d05f13e 100644 --- a/packages/typescript/docs/models/operations/listusersrequest.md +++ b/packages/typescript/docs/models/operations/listusersrequest.md @@ -12,8 +12,8 @@ let value: ListUsersRequest = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | | -| `count` | *number* | :heavy_minus_sign: | The count of records to be retrieved in a response. | | -| `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'.

The following comparison types 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:
* userName (eq\|ne)
* groups.value (eq\|ne)
* active (eq\|ne)
* id (eq\|nq)
* emails.value (eq\|ne)
* meta.lastModified (eq\|ne\|lt\|le\|gt\|ge)
* meta.created (eq\|ne\|lt\|le\|gt\|ge)

The following operators are available:
* and
* or
| userName eq 'john@example.com' or userName eq 'Matt@example.com' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `startIndex` | *number* | :heavy_minus_sign: | Starting index of the response. | | +| `count` | *number* | :heavy_minus_sign: | The count of records to be retrieved in a response. | | +| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------------------\|------------------------------------\|
\| userName \| `eq`, `ne` \|
\| groups.value \| `eq`, `ne` \|
\| active \| `eq`, `ne` \|
\| id \| `eq`, `ne` \|
\| emails.value \| `eq`, `ne` \|
\| meta.lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| meta.created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| userName eq 'john@example.com' or userName eq 'Matt@example.com' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/oauth2authorizerequest.md b/packages/typescript/docs/models/operations/oauth2authorizerequest.md index 7cbc362ec..9d6e7f040 100644 --- a/packages/typescript/docs/models/operations/oauth2authorizerequest.md +++ b/packages/typescript/docs/models/operations/oauth2authorizerequest.md @@ -9,17 +9,17 @@ let value: Oauth2AuthorizeRequest = { responseType: "code", clientId: "ad398u21ijw3s9w3939", redirectUri: "https://example.com/redirect", - state: "STATE", + state: "abc123xyz", scope: "event/events:read event/attendees:read", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `responseType` | [operations.ResponseType](../../models/operations/responsetype.md) | :heavy_check_mark: | The response type must be code. Indicates the client wants an authorization code (authorization code grant flow).

**Note:** *implicit flow* or the *token* value is not supported at this time.
| code | -| `clientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| ad398u21ijw3s9w3939 | -| `redirectUri` | *string* | :heavy_check_mark: | The URL to which the authentication server redirects the browser after authorization has been granted by the user.

A redirect URI must:

* Be an absolute URI.
* Be pre-registered with a client.
* **NOT** include a fragment component.
* Wildcards are **NOT** supported

Requires HTTPS over HTTP except for http://localhost for testing purposes only.

**Note:** App callback URLs such as *com.myclientapp://myclient/redirect* are also supported.
| https://example.com/redirect | -| `state` | *string* | :heavy_minus_sign: | An opaque value the client application adds to the initial request. The authorization server
includes this value when redirecting back to the client.

This value must be used by the client to prevent CSRF attacks.

**Optional** but strongly recommended.
| STATE | -| `scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Scopes must be separated by spaces.
Any scope used must be pre-associated with the client or it will be ignored at runtime.

**Note:** If the client doesn't request any scopes, the authentication server uses all
scopes associated with the client.
| event/events:read event/attendees:read | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `responseType` | [operations.ResponseType](../../models/operations/responsetype.md) | :heavy_check_mark: | The response type must be code. Indicates the client wants an authorization code (authorization code grant flow).

**Note:** *implicit flow* or the *token* value is not supported at this time.
| code | +| `clientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| ad398u21ijw3s9w3939 | +| `redirectUri` | *string* | :heavy_check_mark: | The URL to which the authorization server redirects the browser after authorization has been granted by the user.

A redirect URI must:

* Be an absolute URI.
* Be pre-registered with a client.
* **NOT** include a fragment component.
* Wildcards are **NOT** supported

Requires HTTPS over HTTP except for http://localhost for testing purposes only.

**Note:** App callback URLs such as *com.myclientapp://myclient/redirect* are also supported.
| https://example.com/redirect | +| `state` | *string* | :heavy_minus_sign: | An opaque value the client application adds to the initial request. The authorization server
includes this value when redirecting back to the client.

This value must be used by the client to prevent CSRF attacks.

**Optional** but strongly recommended.
| abc123xyz | +| `scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Scopes must be separated by spaces.
Any scope used must be pre-associated with the client or it will be ignored at runtime.

**Note:** If the client doesn't request any scopes, the authorization server uses all
scopes associated with the client.
| event/events:read event/attendees:read | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/oauth2tokenrequest.md b/packages/typescript/docs/models/operations/oauth2tokenrequest.md index c4474e495..a5d3440dd 100644 --- a/packages/typescript/docs/models/operations/oauth2tokenrequest.md +++ b/packages/typescript/docs/models/operations/oauth2tokenrequest.md @@ -17,11 +17,11 @@ let value: Oauth2TokenRequest = { ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `grantType` | [operations.GrantType](../../models/operations/granttype.md) | :heavy_check_mark: | The grant type. | client_credentials | -| `clientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| djc98u3jiedmi283eu928 | -| `scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime.
If the client doesn't request any scopes, the authentication server uses all scopes associated with the client.

**Optional** - Only used if the grant_type is client_credentials.
| event/events:read event/attendees:read | -| `redirectUri` | *string* | :heavy_minus_sign: | Must be the same *redirect_uri* that was used to get *authorization_code* in */oauth2/authorize*.

**Required only if grant_type is authorization_code.**
| https://example.com/redirect | -| `refreshToken` | *string* | :heavy_minus_sign: | The refresh token.

**Note:** The token endpoint returns *refresh_token* only when the grant_type is *authorization_code*.
| dn43ud8uj32nk2je | -| `code` | *string* | :heavy_minus_sign: | The code that is returned from a successful */oauth2/authorize*.

**Required if grant_type is authorization_code.**
| AUTHORIZATION_CODE | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `grantType` | [operations.GrantType](../../models/operations/granttype.md) | :heavy_check_mark: | Controls the OAuth2 grant flow used to obtain tokens. | client_credentials | +| `clientId` | *string* | :heavy_check_mark: | The OAuth2 Client application ID.

Must be a pre-registered client created in the developer portal.
| djc98u3jiedmi283eu928 | +| `scope` | *string* | :heavy_minus_sign: | Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime.
If the client doesn't request any scopes, the authorization server uses all scopes associated with the client.

**Optional** - Only used if the grant_type is client_credentials.
| event/events:read event/attendees:read | +| `redirectUri` | *string* | :heavy_minus_sign: | Must be the same *redirect_uri* that was used to get *authorization_code* in */oauth2/authorize*.

**Required only if grant_type is authorization_code.**
| https://example.com/redirect | +| `refreshToken` | *string* | :heavy_minus_sign: | The refresh token.

**Note:** The token endpoint returns *refresh_token* only when the grant_type is *authorization_code*.
| dn43ud8uj32nk2je | +| `code` | *string* | :heavy_minus_sign: | The code that is returned from a successful */oauth2/authorize*.

**Required if grant_type is authorization_code.**
| AUTHORIZATION_CODE | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/oauth2tokenresponse.md b/packages/typescript/docs/models/operations/oauth2tokenresponse.md index e5d1c58ad..9a7188bc9 100644 --- a/packages/typescript/docs/models/operations/oauth2tokenresponse.md +++ b/packages/typescript/docs/models/operations/oauth2tokenresponse.md @@ -20,5 +20,5 @@ let value: Oauth2TokenResponse = { | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `accessToken` | *string* | :heavy_check_mark: | The access token contains scopes and groups and is used to grant access to authorized resources. | eyJz9sdfsdfsdfsd | | `refreshToken` | *string* | :heavy_minus_sign: | The refresh token contains the information necessary to obtain a new access token. | dn43ud8uj32nk2je | -| `tokenType` | *string* | :heavy_check_mark: | The token type. | Bearer | +| `tokenType` | *string* | :heavy_check_mark: | The OAuth2 token type. Always `Bearer`. | Bearer | | `expiresIn` | *number* | :heavy_minus_sign: | The lifetime in seconds of the access token. | 3600 | \ 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 0e04b87b6..b01ad4c8e 100644 --- a/packages/typescript/docs/sdks/appointments/README.md +++ b/packages/typescript/docs/sdks/appointments/README.md @@ -939,7 +939,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -1071,7 +1071,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/audiencesegments/README.md b/packages/typescript/docs/sdks/audiencesegments/README.md index aa8fc8113..d3acd2066 100644 --- a/packages/typescript/docs/sdks/audiencesegments/README.md +++ b/packages/typescript/docs/sdks/audiencesegments/README.md @@ -415,7 +415,7 @@ run(); | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | | errors.SegmentsErrorResponse | 400 | application/json | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -831,7 +831,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -1123,7 +1123,7 @@ run(); | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | | errors.SegmentsErrorResponse | 400 | application/json | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/authentication/README.md b/packages/typescript/docs/sdks/authentication/README.md index c7a1c4ffa..2e5672371 100644 --- a/packages/typescript/docs/sdks/authentication/README.md +++ b/packages/typescript/docs/sdks/authentication/README.md @@ -2,20 +2,17 @@ ## Overview -Available endpoints used to initiate an authentication request to obtain and validate an access token. +Endpoints for obtaining, refreshing, and validating OAuth2 access tokens. ### Available Operations -* [oauth2Authorize](#oauth2authorize) - Authorize -* [oauth2Token](#oauth2token) - Token +* [oauth2Authorize](#oauth2authorize) - Get Authorization Code +* [oauth2Token](#oauth2token) - Get Token * [validateToken](#validatetoken) - Validate Token ## oauth2Authorize -The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser. - -The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint -except for http://localhost for testing purposes only. +Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via [Get Token](#operation/oauth2Token) to obtain an access token. ### Example Usage @@ -40,7 +37,7 @@ async function run() { responseType: "code", clientId: "ad398u21ijw3s9w3939", redirectUri: "https://example.com/redirect", - state: "STATE", + state: "abc123xyz", scope: "event/events:read event/attendees:read", }); @@ -76,7 +73,7 @@ async function run() { responseType: "code", clientId: "ad398u21ijw3s9w3939", redirectUri: "https://example.com/redirect", - state: "STATE", + state: "abc123xyz", scope: "event/events:read event/attendees:read", }); if (res.ok) { @@ -111,7 +108,7 @@ run(); ## oauth2Token -Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. +Obtains an access token and, optionally, a refresh token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. diff --git a/packages/typescript/docs/sdks/bulk/README.md b/packages/typescript/docs/sdks/bulk/README.md index 4725dcfde..dbfd6ae5c 100644 --- a/packages/typescript/docs/sdks/bulk/README.md +++ b/packages/typescript/docs/sdks/bulk/README.md @@ -184,7 +184,7 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse | 409 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -503,7 +503,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse | 409 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -694,6 +694,6 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse | 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/exhibitor/README.md b/packages/typescript/docs/sdks/exhibitor/README.md index 725bdb386..8096516f7 100644 --- a/packages/typescript/docs/sdks/exhibitor/README.md +++ b/packages/typescript/docs/sdks/exhibitor/README.md @@ -2592,7 +2592,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse | 409 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -3005,7 +3005,7 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse | 409 | application/json | | errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/exhibitorcontent/README.md b/packages/typescript/docs/sdks/exhibitorcontent/README.md index 6f2360316..206da7b7d 100644 --- a/packages/typescript/docs/sdks/exhibitorcontent/README.md +++ b/packages/typescript/docs/sdks/exhibitorcontent/README.md @@ -318,7 +318,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -622,7 +622,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -835,7 +835,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/housing/README.md b/packages/typescript/docs/sdks/housing/README.md index 51aaf026b..4f781a5aa 100644 --- a/packages/typescript/docs/sdks/housing/README.md +++ b/packages/typescript/docs/sdks/housing/README.md @@ -1621,7 +1621,7 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse2 | 400 | application/json | +| errors.ErrorResponse | 400 | application/json | | errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | @@ -1710,7 +1710,7 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse2 | 400 | application/json | +| errors.ErrorResponse | 400 | application/json | | errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/meetingrequest/README.md b/packages/typescript/docs/sdks/meetingrequest/README.md index f05487e45..fd8d078da 100644 --- a/packages/typescript/docs/sdks/meetingrequest/README.md +++ b/packages/typescript/docs/sdks/meetingrequest/README.md @@ -291,7 +291,7 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse | 422 | application/json | | errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/sessions/README.md b/packages/typescript/docs/sdks/sessions/README.md index 00ac7d38d..c34da3325 100644 --- a/packages/typescript/docs/sdks/sessions/README.md +++ b/packages/typescript/docs/sdks/sessions/README.md @@ -1018,7 +1018,7 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse | 409 | application/json | | errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/speakers/README.md b/packages/typescript/docs/sdks/speakers/README.md index 42fc6ae1a..3dc146aa8 100644 --- a/packages/typescript/docs/sdks/speakers/README.md +++ b/packages/typescript/docs/sdks/speakers/README.md @@ -311,7 +311,7 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse | 409 | application/json | | errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | diff --git a/packages/typescript/docs/sdks/userscim/README.md b/packages/typescript/docs/sdks/userscim/README.md index 845a0ea9a..ab5c637bf 100644 --- a/packages/typescript/docs/sdks/userscim/README.md +++ b/packages/typescript/docs/sdks/userscim/README.md @@ -100,10 +100,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 400, 401, 403, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getResourceTypes @@ -186,10 +186,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 401, 403, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 401, 403, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getResourceType @@ -277,10 +277,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getSchemas @@ -363,10 +363,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 401, 403, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 401, 403, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getSchema @@ -454,10 +454,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getServiceProviderConfig @@ -540,10 +540,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 401, 403, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 401, 403, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## createUser @@ -701,10 +701,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 400, 401, 403, 409, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 400, 401, 403, 409, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## listUsers @@ -792,10 +792,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 400, 401, 403, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getUser @@ -883,10 +883,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## updateUser @@ -1060,10 +1060,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## deleteUser @@ -1151,7 +1151,7 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson12 | 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 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 8cbaeb8b1..8d6ca1421 100644 --- a/packages/typescript/jsr.json +++ b/packages/typescript/jsr.json @@ -2,7 +2,7 @@ { "name": "@cvent/sdk", - "version": "1.5.1", + "version": "1.5.2", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index c0aac3720..1637baaa0 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@cvent/sdk", - "version": "1.5.1", + "version": "1.5.2", "author": "Cvent", "files": [ "dist/", diff --git a/packages/typescript/src/funcs/appointmentsCreateAppointment.ts b/packages/typescript/src/funcs/appointmentsCreateAppointment.ts index c76436d15..d2183952b 100644 --- a/packages/typescript/src/funcs/appointmentsCreateAppointment.ts +++ b/packages/typescript/src/funcs/appointmentsCreateAppointment.ts @@ -41,7 +41,7 @@ export function appointmentsCreateAppointment( ): APIPromise< Result< components.AppointmentWithQuestions, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.AppointmentWithQuestions, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -174,7 +174,7 @@ async function $do( const [result] = await M.match< components.AppointmentWithQuestions, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -186,7 +186,7 @@ async function $do( | SDKValidationError >( M.json(201, components.AppointmentWithQuestions$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts b/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts index 71bddfebd..1a73a4c0c 100644 --- a/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts +++ b/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts @@ -41,7 +41,7 @@ export function appointmentsUpdateAppointment( ): APIPromise< Result< components.AppointmentWithQuestions, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.AppointmentWithQuestions, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -180,7 +180,7 @@ async function $do( const [result] = await M.match< components.AppointmentWithQuestions, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -192,7 +192,7 @@ async function $do( | SDKValidationError >( M.json(200, components.AppointmentWithQuestions$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$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 ece5f2a63..e4dea7a32 100644 --- a/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts @@ -42,7 +42,7 @@ export function audienceSegmentsAssociateAttendeeToSegment( Result< void, | errors.SegmentsErrorResponse - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -70,7 +70,7 @@ async function $do( Result< void, | errors.SegmentsErrorResponse - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -177,7 +177,7 @@ async function $do( const [result] = await M.match< void, | errors.SegmentsErrorResponse - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -190,7 +190,7 @@ async function $do( >( M.nil(204, z.void()), M.jsonErr(400, errors.SegmentsErrorResponse$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts b/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts index 07f830301..a37367e29 100644 --- a/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts @@ -41,7 +41,7 @@ export function audienceSegmentsCreateAudienceSegment( Result< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -69,7 +69,7 @@ async function $do( Result< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -162,7 +162,7 @@ async function $do( const [result] = await M.match< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -175,7 +175,7 @@ async function $do( >( M.json(201, components.ExistingAudienceSegment$inboundSchema), M.jsonErr(400, errors.SegmentsErrorResponse$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts b/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts index cd5c64ae5..950127c5a 100644 --- a/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts @@ -41,7 +41,7 @@ export function audienceSegmentsUpdateAudienceSegment( ): APIPromise< Result< components.ExistingAudienceSegment, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.ExistingAudienceSegment, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -171,7 +171,7 @@ async function $do( const [result] = await M.match< components.ExistingAudienceSegment, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -183,7 +183,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingAudienceSegment$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/authenticationOauth2Authorize.ts b/packages/typescript/src/funcs/authenticationOauth2Authorize.ts index 1f1e48c57..281992ac9 100644 --- a/packages/typescript/src/funcs/authenticationOauth2Authorize.ts +++ b/packages/typescript/src/funcs/authenticationOauth2Authorize.ts @@ -25,13 +25,10 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Authorize + * Get Authorization Code * * @remarks - * The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser. - * - * The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint - * except for http://localhost for testing purposes only. + * Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via [Get Token](#operation/oauth2Token) to obtain an access token. */ export function authenticationOauth2Authorize( client: CventSDKCore, @@ -148,7 +145,7 @@ async function $do( const doResult = await client._do(req, { context, - errorCodes: ["4XX", "5XX"], + errorCodes: ["400", "4XX", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -175,7 +172,7 @@ async function $do( M.nil(302, operations.Oauth2AuthorizeResponse$inboundSchema.optional(), { hdrs: true, }), - M.fail("4XX"), + M.fail([400, "4XX"]), M.fail("5XX"), )(response, req, { extraFields: responseFields }); if (!result.ok) { diff --git a/packages/typescript/src/funcs/authenticationOauth2Token.ts b/packages/typescript/src/funcs/authenticationOauth2Token.ts index 121cf7726..e8adf67b6 100644 --- a/packages/typescript/src/funcs/authenticationOauth2Token.ts +++ b/packages/typescript/src/funcs/authenticationOauth2Token.ts @@ -26,10 +26,10 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Token + * Get Token * * @remarks - * Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. + * Obtains an access token and, optionally, a refresh token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. * * **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. */ @@ -155,7 +155,7 @@ async function $do( const doResult = await client._do(req, { context, - errorCodes: ["400", "4XX", "5XX"], + errorCodes: ["400", "401", "4XX", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -182,7 +182,7 @@ async function $do( >( M.json(200, operations.Oauth2TokenResponse$inboundSchema), M.jsonErr(400, errors.BadRequestError$inboundSchema), - M.fail("4XX"), + M.fail([401, "4XX"]), M.fail("5XX"), )(response, req, { extraFields: responseFields }); if (!result.ok) { diff --git a/packages/typescript/src/funcs/bulkCreateBulkJob.ts b/packages/typescript/src/funcs/bulkCreateBulkJob.ts index 734b934a3..1e9801c28 100644 --- a/packages/typescript/src/funcs/bulkCreateBulkJob.ts +++ b/packages/typescript/src/funcs/bulkCreateBulkJob.ts @@ -45,7 +45,7 @@ export function bulkCreateBulkJob( ): APIPromise< Result< components.BulkJobWithData, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -72,7 +72,7 @@ async function $do( [ Result< components.BulkJobWithData, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.BulkJobWithData, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -176,7 +176,7 @@ async function $do( | SDKValidationError >( M.json(201, components.BulkJobWithData$inboundSchema), - M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/bulkRunBulkJob.ts b/packages/typescript/src/funcs/bulkRunBulkJob.ts index b4d97183d..7bbbc962d 100644 --- a/packages/typescript/src/funcs/bulkRunBulkJob.ts +++ b/packages/typescript/src/funcs/bulkRunBulkJob.ts @@ -41,7 +41,7 @@ export function bulkRunBulkJob( ): APIPromise< Result< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -166,7 +166,7 @@ async function $do( const [result] = await M.match< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,7 +178,7 @@ async function $do( | SDKValidationError >( M.json(200, components.BulkJob$inboundSchema), - M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/bulkUploadBulkJobData.ts b/packages/typescript/src/funcs/bulkUploadBulkJobData.ts index 7ca9b266e..db86edf29 100644 --- a/packages/typescript/src/funcs/bulkUploadBulkJobData.ts +++ b/packages/typescript/src/funcs/bulkUploadBulkJobData.ts @@ -44,7 +44,7 @@ export function bulkUploadBulkJobData( ): APIPromise< Result< components.BulkDataUploadResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -71,7 +71,7 @@ async function $do( [ Result< components.BulkDataUploadResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -170,7 +170,7 @@ async function $do( const [result] = await M.match< components.BulkDataUploadResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -182,7 +182,7 @@ async function $do( | SDKValidationError >( M.json(200, components.BulkDataUploadResponse$inboundSchema), - M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts b/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts index a15ed0d74..829028a54 100644 --- a/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts +++ b/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts @@ -41,7 +41,7 @@ export function exhibitorContentCreateExhibitorWeblink( ): APIPromise< Result< components.ExistingWeblink, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.ExistingWeblink, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -174,7 +174,7 @@ async function $do( const [result] = await M.match< components.ExistingWeblink, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -186,7 +186,7 @@ async function $do( | SDKValidationError >( M.json(201, components.ExistingWeblink$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts index 918daa6b8..820bfe009 100644 --- a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts +++ b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts @@ -41,7 +41,7 @@ export function exhibitorContentUpdateExhibitorFile( ): APIPromise< Result< components.ExistingFile, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.ExistingFile, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,7 +178,7 @@ async function $do( const [result] = await M.match< components.ExistingFile, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -190,7 +190,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingFile$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts index e087d6adc..bf5c49c9b 100644 --- a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts +++ b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts @@ -41,7 +41,7 @@ export function exhibitorContentUpdateExhibitorWeblink( ): APIPromise< Result< components.ExistingWeblink, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.ExistingWeblink, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,7 +178,7 @@ async function $do( const [result] = await M.match< components.ExistingWeblink, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -190,7 +190,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingWeblink$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts b/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts index 86f2fe96d..6fdacc6ae 100644 --- a/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts +++ b/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts @@ -41,7 +41,7 @@ export function exhibitorDeleteRegistrationPack( ): APIPromise< Result< void, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< void, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,7 +178,7 @@ async function $do( const [result] = await M.match< void, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -190,7 +190,7 @@ async function $do( | SDKValidationError >( M.nil(204, z.void()), - M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts b/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts index ca755ee2f..1d9d08fd9 100644 --- a/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts +++ b/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts @@ -41,7 +41,7 @@ export function exhibitorPostRegistrationPack( ): APIPromise< Result< components.RegistrationPackResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.RegistrationPackResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -176,7 +176,7 @@ async function $do( const [result] = await M.match< components.RegistrationPackResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -188,7 +188,7 @@ async function $do( | SDKValidationError >( M.json(201, components.RegistrationPackResponse$inboundSchema), - M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/housingCancelReservationRequest.ts b/packages/typescript/src/funcs/housingCancelReservationRequest.ts index a6fdb9337..ab3a8b7aa 100644 --- a/packages/typescript/src/funcs/housingCancelReservationRequest.ts +++ b/packages/typescript/src/funcs/housingCancelReservationRequest.ts @@ -39,7 +39,7 @@ export function housingCancelReservationRequest( ): APIPromise< Result< void, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -66,7 +66,7 @@ async function $do( [ Result< void, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -168,7 +168,7 @@ async function $do( const [result] = await M.match< void, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -180,7 +180,7 @@ async function $do( | SDKValidationError >( M.nil(204, z.void()), - M.jsonErr(400, errors.ErrorResponse2$inboundSchema), + M.jsonErr(400, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/housingUpdateReservationRequest.ts b/packages/typescript/src/funcs/housingUpdateReservationRequest.ts index c0dd0014b..a30a0d112 100644 --- a/packages/typescript/src/funcs/housingUpdateReservationRequest.ts +++ b/packages/typescript/src/funcs/housingUpdateReservationRequest.ts @@ -39,7 +39,7 @@ export function housingUpdateReservationRequest( ): APIPromise< Result< components.ExistingReservationRequest, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -66,7 +66,7 @@ async function $do( [ Result< components.ExistingReservationRequest, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -171,7 +171,7 @@ async function $do( const [result] = await M.match< components.ExistingReservationRequest, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -183,7 +183,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingReservationRequest$inboundSchema), - M.jsonErr(400, errors.ErrorResponse2$inboundSchema), + M.jsonErr(400, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/meetingRequestGetMRFById.ts b/packages/typescript/src/funcs/meetingRequestGetMRFById.ts index 7a9985e87..748c43eb0 100644 --- a/packages/typescript/src/funcs/meetingRequestGetMRFById.ts +++ b/packages/typescript/src/funcs/meetingRequestGetMRFById.ts @@ -41,7 +41,7 @@ export function meetingRequestGetMRFById( ): APIPromise< Result< components.MeetingRequestForm, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( [ Result< components.MeetingRequestForm, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -166,7 +166,7 @@ async function $do( const [result] = await M.match< components.MeetingRequestForm, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,7 +178,7 @@ async function $do( | SDKValidationError >( M.json(200, components.MeetingRequestForm$inboundSchema), - M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr(422, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts b/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts index 9d39cf0a4..7b70eec94 100644 --- a/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts +++ b/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts @@ -39,7 +39,7 @@ export function sessionsRelateProgramItemToSessionDocument( ): APIPromise< Result< components.ProgramItemSessionDocument, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -66,7 +66,7 @@ async function $do( [ Result< components.ProgramItemSessionDocument, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -173,7 +173,7 @@ async function $do( const [result] = await M.match< components.ProgramItemSessionDocument, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -185,7 +185,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ProgramItemSessionDocument$inboundSchema), - M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts b/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts index 4f2732125..1b6cea5ee 100644 --- a/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts +++ b/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts @@ -39,7 +39,7 @@ export function speakersCreateSessionProgramSpeaker( ): APIPromise< Result< components.SpeakerProgramItem, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -66,7 +66,7 @@ async function $do( [ Result< components.SpeakerProgramItem, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -171,7 +171,7 @@ async function $do( const [result] = await M.match< components.SpeakerProgramItem, - | errors.ErrorResponse2 + | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -183,7 +183,7 @@ async function $do( | SDKValidationError >( M.json(200, components.SpeakerProgramItem$inboundSchema), - M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/userSCIMCreateUser.ts b/packages/typescript/src/funcs/userSCIMCreateUser.ts index 000ff88c4..004ce2496 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -66,7 +66,7 @@ async function $do( [ Result< components.User, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -159,7 +159,7 @@ async function $do( const [result] = await M.match< components.User, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -170,10 +170,7 @@ async function $do( | SDKValidationError >( M.json(201, components.User$inboundSchema), - M.jsonErr( - [400, 401, 403, 409, 429], - errors.ErrorResponseJson12$inboundSchema, - ), + M.jsonErr([400, 401, 403, 409, 429], errors.ErrorResponse2$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMDeleteUser.ts b/packages/typescript/src/funcs/userSCIMDeleteUser.ts index a28143277..6fb3004fd 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< void, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< void, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -175,7 +175,7 @@ async function $do( | SDKValidationError >( M.nil(204, z.void()), - M.jsonErr([401, 403, 404, 429], errors.ErrorResponseJson12$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse2$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 e082a7e80..9a0f0d0a7 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.ResourceType, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.ResourceType, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -175,10 +175,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ResourceType$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 429], - errors.ErrorResponseJson12$inboundSchema, - ), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMGetResourceTypes.ts b/packages/typescript/src/funcs/userSCIMGetResourceTypes.ts index 83a8c8079..1346c587f 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -61,7 +61,7 @@ async function $do( [ Result< components.ResourceTypes, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -139,7 +139,7 @@ async function $do( const [result] = await M.match< components.ResourceTypes, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -150,7 +150,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ResourceTypes$inboundSchema), - M.jsonErr([401, 403, 429], errors.ErrorResponseJson12$inboundSchema), + M.jsonErr([401, 403, 429], errors.ErrorResponse2$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 761d31949..4968ff4a7 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.UsersSchema, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.UsersSchema, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -175,10 +175,7 @@ async function $do( | SDKValidationError >( M.json(200, components.UsersSchema$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 429], - errors.ErrorResponseJson12$inboundSchema, - ), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMGetSchemas.ts b/packages/typescript/src/funcs/userSCIMGetSchemas.ts index 886d1b16d..13f09b041 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -61,7 +61,7 @@ async function $do( [ Result< components.UsersSchemas, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -139,7 +139,7 @@ async function $do( const [result] = await M.match< components.UsersSchemas, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -150,7 +150,7 @@ async function $do( | SDKValidationError >( M.json(200, components.UsersSchemas$inboundSchema), - M.jsonErr([401, 403, 429], errors.ErrorResponseJson12$inboundSchema), + M.jsonErr([401, 403, 429], errors.ErrorResponse2$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 6fb0633d4..323b0e70f 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -61,7 +61,7 @@ async function $do( [ Result< components.ServiceProviderConfig, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -139,7 +139,7 @@ async function $do( const [result] = await M.match< components.ServiceProviderConfig, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -150,7 +150,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ServiceProviderConfig$inboundSchema), - M.jsonErr([401, 403, 429], errors.ErrorResponseJson12$inboundSchema), + M.jsonErr([401, 403, 429], errors.ErrorResponse2$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 18f68da59..ffdf82835 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.User, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.User, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -175,10 +175,7 @@ async function $do( | SDKValidationError >( M.json(200, components.User$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 429], - errors.ErrorResponseJson12$inboundSchema, - ), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMGetUserGroups.ts b/packages/typescript/src/funcs/userSCIMGetUserGroups.ts index c97008d7e..1fe5dfb30 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.UserGroups, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -163,7 +163,7 @@ async function $do( const [result] = await M.match< components.UserGroups, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -174,7 +174,7 @@ async function $do( | SDKValidationError >( M.json(200, components.UserGroups$inboundSchema), - M.jsonErr([400, 401, 403, 429], errors.ErrorResponseJson12$inboundSchema), + M.jsonErr([400, 401, 403, 429], errors.ErrorResponse2$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 78e76b1de..4cac76178 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.Users, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.Users, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -175,7 +175,7 @@ async function $do( | SDKValidationError >( M.json(200, components.Users$inboundSchema), - M.jsonErr([400, 401, 403, 429], errors.ErrorResponseJson12$inboundSchema), + M.jsonErr([400, 401, 403, 429], errors.ErrorResponse2$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 d2589235d..6909742f0 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.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.User, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -165,7 +165,7 @@ async function $do( const [result] = await M.match< components.User, - | errors.ErrorResponseJson12 + | errors.ErrorResponse2 | CventSDKError | ResponseValidationError | ConnectionError @@ -176,10 +176,7 @@ async function $do( | SDKValidationError >( M.json(200, components.User$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 429], - errors.ErrorResponseJson12$inboundSchema, - ), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/hooks/oauth2scopes.ts b/packages/typescript/src/hooks/oauth2scopes.ts index 476110dc2..dd38f9978 100644 --- a/packages/typescript/src/hooks/oauth2scopes.ts +++ b/packages/typescript/src/hooks/oauth2scopes.ts @@ -6,7 +6,7 @@ * Available scopes for the OAuth2.authorizationCode OAuth 2.0 scheme (authorizationCode flow). * * @remarks - * OAuth2 Authorization Code Flow + * OAuth2 Authorization Code Flow. */ export type OAuth2AuthorizationCodeOAuth2Scope = /** @@ -806,7 +806,7 @@ export type OAuth2AuthorizationCodeOAuth2Scope = * Available scopes for the OAuth2.clientCredentials OAuth 2.0 scheme (clientCredentials flow). * * @remarks - * OAuth2 Client Credentials Flow + * OAuth2 Client Credentials Flow. */ export type OAuth2ClientCredentialsOAuth2Scope = /** diff --git a/packages/typescript/src/lib/config.ts b/packages/typescript/src/lib/config.ts index 510d95e03..4d63382d8 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.5.1", + sdkVersion: "1.5.2", genVersion: "2.859.2", - userAgent: "speakeasy-sdk/typescript 1.5.1 2.859.2 ea @cvent/sdk", + userAgent: "speakeasy-sdk/typescript 1.5.2 2.859.2 ea @cvent/sdk", } as const; diff --git a/packages/typescript/src/models/components/address5.ts b/packages/typescript/src/models/components/address5.ts index 25cd4c3a3..8e0824b5f 100644 --- a/packages/typescript/src/models/components/address5.ts +++ b/packages/typescript/src/models/components/address5.ts @@ -6,47 +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 { + AddressType1, + AddressType1$inboundSchema, + AddressType1$outboundSchema, +} from "./addresstype1.js"; /** - * Address of the hotel. + * Address */ export type Address5 = { /** - * The first line of an address. + * The type of the address. */ - address1?: string | undefined; + type: AddressType1; /** - * The second line of an address. + * The street address of the user. */ - address2?: string | undefined; + streetAddress?: string | undefined; /** - * The third line of an address. + * The locality/city of the user. */ - address3?: string | undefined; + locality?: string | undefined; /** - * The name of the city. + * The region/state/province of the user. */ - city?: string | undefined; - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - countryCode?: string | undefined; + region?: string | undefined; /** - * Postal code (also known as zipcode) of the address. + * Postal code (also known as zipcode) of the user. */ 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. + * The country of the user. */ - regionCode?: string | undefined; + country?: string | undefined; /** - * Name of the country. + * True indicates the address is primary. */ - country?: string | undefined; + primary?: boolean | undefined; }; /** @internal */ @@ -55,17 +52,43 @@ export const Address5$inboundSchema: z.ZodType< 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(), + type: AddressType1$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 Address5$Outbound = { + type: string; + streetAddress?: string | undefined; + locality?: string | undefined; + region?: string | undefined; + postalCode?: string | undefined; + country?: string | undefined; + primary: boolean; +}; + +/** @internal */ +export const Address5$outboundSchema: z.ZodType< + Address5$Outbound, + z.ZodTypeDef, + Address5 +> = z.object({ + type: AddressType1$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(), + primary: z.boolean().default(false), }); +export function address5ToJSON(address5: Address5): string { + return JSON.stringify(Address5$outboundSchema.parse(address5)); +} export function address5FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/address6.ts b/packages/typescript/src/models/components/address6.ts index d78855dd1..9ad750d09 100644 --- a/packages/typescript/src/models/components/address6.ts +++ b/packages/typescript/src/models/components/address6.ts @@ -8,41 +8,45 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * Address details. + * Address of the hotel. */ export type Address6 = { /** - * Address line 1. + * The first line of an address. */ address1?: string | undefined; /** - * Address line 2. + * The second line of an address. */ address2?: string | undefined; /** - * City name. + * The third line of an address. */ - city?: string | undefined; + address3?: string | undefined; /** - * Region name. + * The name of the city. */ - region?: string | undefined; + city?: string | undefined; /** - * Region code. + * ISO 3166 two-letter (alpha-2) country code. */ - regionCode?: string | undefined; + countryCode?: string | undefined; /** - * Postal code. + * Postal code (also known as zipcode) of the address. */ postalCode?: string | undefined; /** - * Country name. + * The name of the state/province/region of the address. */ - country?: string | undefined; + region?: string | undefined; /** - * ISO 3166 alpha-2 country code. + * The abbreviation of the state/province/region of the address. */ - countryCode?: string | undefined; + regionCode?: string | undefined; + /** + * Name of the country. + */ + country?: string | undefined; }; /** @internal */ @@ -53,12 +57,13 @@ export const Address6$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(), - countryCode: z.string().optional(), }); export function address6FromJSON( diff --git a/packages/typescript/src/models/components/address7.ts b/packages/typescript/src/models/components/address7.ts new file mode 100644 index 000000000..1d21202fa --- /dev/null +++ b/packages/typescript/src/models/components/address7.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 Address7 = { + /** + * 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 Address7$inboundSchema: z.ZodType< + Address7, + 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 address7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Address7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Address7' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/addressjson2.ts b/packages/typescript/src/models/components/addressjson2.ts deleted file mode 100644 index c676e32b3..000000000 --- a/packages/typescript/src/models/components/addressjson2.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 { - AddressTypeJson, - AddressTypeJson$inboundSchema, - AddressTypeJson$outboundSchema, -} from "./addresstypejson.js"; - -/** - * Address - */ -export type AddressJson2 = { - /** - * The type of the address. - */ - type: AddressTypeJson; - /** - * 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 AddressJson2$inboundSchema: z.ZodType< - AddressJson2, - z.ZodTypeDef, - unknown -> = z.object({ - type: AddressTypeJson$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 AddressJson2$Outbound = { - type: string; - streetAddress?: string | undefined; - locality?: string | undefined; - region?: string | undefined; - postalCode?: string | undefined; - country?: string | undefined; - primary: boolean; -}; - -/** @internal */ -export const AddressJson2$outboundSchema: z.ZodType< - AddressJson2$Outbound, - z.ZodTypeDef, - AddressJson2 -> = z.object({ - type: AddressTypeJson$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 addressJson2ToJSON(addressJson2: AddressJson2): string { - return JSON.stringify(AddressJson2$outboundSchema.parse(addressJson2)); -} -export function addressJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddressJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddressJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/addresstype1.ts b/packages/typescript/src/models/components/addresstype1.ts new file mode 100644 index 000000000..a9f10e1e6 --- /dev/null +++ b/packages/typescript/src/models/components/addresstype1.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 type of the address. + */ +export const AddressType1 = { + Work: "work", + Home: "home", +} as const; +/** + * The type of the address. + */ +export type AddressType1 = ClosedEnum; + +/** @internal */ +export const AddressType1$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(AddressType1); +/** @internal */ +export const AddressType1$outboundSchema: z.ZodNativeEnum = + AddressType1$inboundSchema; diff --git a/packages/typescript/src/models/components/addresstypejson.ts b/packages/typescript/src/models/components/addresstypejson.ts deleted file mode 100644 index 4a8804f12..000000000 --- a/packages/typescript/src/models/components/addresstypejson.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 AddressTypeJson = { - Work: "work", - Home: "home", -} as const; -/** - * The type of the address. - */ -export type AddressTypeJson = ClosedEnum; - -/** @internal */ -export const AddressTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AddressTypeJson -> = z.nativeEnum(AddressTypeJson); -/** @internal */ -export const AddressTypeJson$outboundSchema: z.ZodNativeEnum< - typeof AddressTypeJson -> = AddressTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/advancedlogic.ts b/packages/typescript/src/models/components/advancedlogic.ts index c45067029..198866007 100644 --- a/packages/typescript/src/models/components/advancedlogic.ts +++ b/packages/typescript/src/models/components/advancedlogic.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 { - AdvancedLogicChoicesJson, - AdvancedLogicChoicesJson$inboundSchema, - AdvancedLogicChoicesJson$Outbound, - AdvancedLogicChoicesJson$outboundSchema, -} from "./advancedlogicchoicesjson.js"; + AdvancedLogicChoices, + AdvancedLogicChoices$inboundSchema, + AdvancedLogicChoices$Outbound, + AdvancedLogicChoices$outboundSchema, +} from "./advancedlogicchoices.js"; /** * Describes the advanced logic for a custom field. @@ -28,7 +28,7 @@ export type AdvancedLogic = { /** * The choices of this custom field to display based on the choice selected for the source custom field, specified by choice ID. */ - sourceChoices?: Array | undefined; + sourceChoices?: Array | undefined; }; /** @internal */ @@ -39,13 +39,13 @@ export const AdvancedLogic$inboundSchema: z.ZodType< > = z.object({ sourceCustomFieldId: z.string(), defaultChoices: z.array(z.string()).optional(), - sourceChoices: z.array(AdvancedLogicChoicesJson$inboundSchema).optional(), + sourceChoices: z.array(AdvancedLogicChoices$inboundSchema).optional(), }); /** @internal */ export type AdvancedLogic$Outbound = { sourceCustomFieldId: string; defaultChoices?: Array | undefined; - sourceChoices?: Array | undefined; + sourceChoices?: Array | undefined; }; /** @internal */ @@ -56,7 +56,7 @@ export const AdvancedLogic$outboundSchema: z.ZodType< > = z.object({ sourceCustomFieldId: z.string(), defaultChoices: z.array(z.string()).optional(), - sourceChoices: z.array(AdvancedLogicChoicesJson$outboundSchema).optional(), + sourceChoices: z.array(AdvancedLogicChoices$outboundSchema).optional(), }); export function advancedLogicToJSON(advancedLogic: AdvancedLogic): string { diff --git a/packages/typescript/src/models/components/advancedlogicchoicesjson.ts b/packages/typescript/src/models/components/advancedlogicchoices.ts similarity index 61% rename from packages/typescript/src/models/components/advancedlogicchoicesjson.ts rename to packages/typescript/src/models/components/advancedlogicchoices.ts index dbb73dc79..8ace372f8 100644 --- a/packages/typescript/src/models/components/advancedlogicchoicesjson.ts +++ b/packages/typescript/src/models/components/advancedlogicchoices.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * This is used to denote which custom field choices to display when a source custom field choice is selected. */ -export type AdvancedLogicChoicesJson = { +export type AdvancedLogicChoices = { /** * The ID of a choice of the source custom field. */ @@ -22,8 +22,8 @@ export type AdvancedLogicChoicesJson = { }; /** @internal */ -export const AdvancedLogicChoicesJson$inboundSchema: z.ZodType< - AdvancedLogicChoicesJson, +export const AdvancedLogicChoices$inboundSchema: z.ZodType< + AdvancedLogicChoices, z.ZodTypeDef, unknown > = z.object({ @@ -31,34 +31,34 @@ export const AdvancedLogicChoicesJson$inboundSchema: z.ZodType< choices: z.array(z.string()).optional(), }); /** @internal */ -export type AdvancedLogicChoicesJson$Outbound = { +export type AdvancedLogicChoices$Outbound = { sourceCustomFieldChoice: string; choices?: Array | undefined; }; /** @internal */ -export const AdvancedLogicChoicesJson$outboundSchema: z.ZodType< - AdvancedLogicChoicesJson$Outbound, +export const AdvancedLogicChoices$outboundSchema: z.ZodType< + AdvancedLogicChoices$Outbound, z.ZodTypeDef, - AdvancedLogicChoicesJson + AdvancedLogicChoices > = z.object({ sourceCustomFieldChoice: z.string(), choices: z.array(z.string()).optional(), }); -export function advancedLogicChoicesJsonToJSON( - advancedLogicChoicesJson: AdvancedLogicChoicesJson, +export function advancedLogicChoicesToJSON( + advancedLogicChoices: AdvancedLogicChoices, ): string { return JSON.stringify( - AdvancedLogicChoicesJson$outboundSchema.parse(advancedLogicChoicesJson), + AdvancedLogicChoices$outboundSchema.parse(advancedLogicChoices), ); } -export function advancedLogicChoicesJsonFromJSON( +export function advancedLogicChoicesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => AdvancedLogicChoicesJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AdvancedLogicChoicesJson' from JSON`, + (x) => AdvancedLogicChoices$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AdvancedLogicChoices' from JSON`, ); } diff --git a/packages/typescript/src/models/components/airactual.ts b/packages/typescript/src/models/components/airactual.ts index 47368fd33..9dda822e5 100644 --- a/packages/typescript/src/models/components/airactual.ts +++ b/packages/typescript/src/models/components/airactual.ts @@ -4,7 +4,6 @@ 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 { @@ -16,23 +15,12 @@ import { AttendeeAnswer1$inboundSchema, } from "./attendeeanswer1.js"; import { FlightDetail, FlightDetail$inboundSchema } from "./flightdetail.js"; +import { JourneyType, JourneyType$inboundSchema } from "./journeytype.js"; import { TravelRequestStatus, TravelRequestStatus$inboundSchema, } from "./travelrequeststatus.js"; -/** - * Type of journey - */ -export const JourneyType = { - Oneway: "Oneway", - RoundTrip: "RoundTrip", -} as const; -/** - * Type of journey - */ -export type JourneyType = ClosedEnum; - /** * Representation of an air actual. */ @@ -98,7 +86,7 @@ export type AirActual = { */ noteGDS?: string | undefined; /** - * Type of journey + * Type of journey for an air booking. */ journeyType?: JourneyType | undefined; /** @@ -111,10 +99,6 @@ export type AirActual = { airActualAnswers?: Array | undefined; }; -/** @internal */ -export const JourneyType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(JourneyType); - /** @internal */ export const AirActual$inboundSchema: z.ZodType< AirActual, diff --git a/packages/typescript/src/models/components/airlinepreference.ts b/packages/typescript/src/models/components/airlinepreference.ts index 3c4207f68..4d1e930ba 100644 --- a/packages/typescript/src/models/components/airlinepreference.ts +++ b/packages/typescript/src/models/components/airlinepreference.ts @@ -16,7 +16,7 @@ export type AirlinePreference = { */ airlineName?: string | undefined; /** - * Any rewards code applied. + * Loyalty program number for the preferred airline. */ rewardsCode?: string | undefined; }; diff --git a/packages/typescript/src/models/components/airrequest.ts b/packages/typescript/src/models/components/airrequest.ts index 5ee398c1f..7d33913a4 100644 --- a/packages/typescript/src/models/components/airrequest.ts +++ b/packages/typescript/src/models/components/airrequest.ts @@ -21,6 +21,8 @@ import { } from "./attendeeanswer1.js"; import { Gender1, Gender1$inboundSchema } from "./gender1.js"; import { LegDetail, LegDetail$inboundSchema } from "./legdetail.js"; +import { SeatType, SeatType$inboundSchema } from "./seattype.js"; +import { TicketType, TicketType$inboundSchema } from "./tickettype.js"; import { TravelRequestStatus, TravelRequestStatus$inboundSchema, @@ -42,31 +44,6 @@ export const RequesterSuffix = { */ export type RequesterSuffix = ClosedEnum; -/** - * Type of the seat. - */ -export const SeatType = { - Aisle: "Aisle", - Window: "Window", -} as const; -/** - * Type of the seat. - */ -export type SeatType = ClosedEnum; - -/** - * Category of the passenger's ticket. - */ -export const TicketType = { - EconomyCoach: "Economy/Coach", - Business: "Business", - FirstClass: "FirstClass", -} as const; -/** - * Category of the passenger's ticket. - */ -export type TicketType = ClosedEnum; - /** * Age category of the requester. */ @@ -150,11 +127,11 @@ export type AirRequest = { */ incomingLeg?: LegDetail | undefined; /** - * Type of the seat. + * Preferred or assigned seat type for an air booking. */ seatType?: SeatType | undefined; /** - * Category of the passenger's ticket. + * Category of the passenger's ticket for an air booking. */ ticketType?: TicketType | undefined; /** @@ -200,14 +177,6 @@ export const RequesterSuffix$inboundSchema: z.ZodNativeEnum< typeof RequesterSuffix > = z.nativeEnum(RequesterSuffix); -/** @internal */ -export const SeatType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SeatType); - -/** @internal */ -export const TicketType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TicketType); - /** @internal */ export const AgeCategory$inboundSchema: z.ZodNativeEnum = z .nativeEnum(AgeCategory); diff --git a/packages/typescript/src/models/components/attendee11.ts b/packages/typescript/src/models/components/attendee11.ts index 16b4eef2f..91a837e12 100644 --- a/packages/typescript/src/models/components/attendee11.ts +++ b/packages/typescript/src/models/components/attendee11.ts @@ -224,6 +224,7 @@ export type Attendee11 = { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. diff --git a/packages/typescript/src/models/components/attendeeadd.ts b/packages/typescript/src/models/components/attendeeadd.ts index ddd21aff8..d594d9fae 100644 --- a/packages/typescript/src/models/components/attendeeadd.ts +++ b/packages/typescript/src/models/components/attendeeadd.ts @@ -176,6 +176,7 @@ export type AttendeeAdd = { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. diff --git a/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts b/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts index f5af42821..26706b71b 100644 --- a/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts +++ b/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.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 { ZeroAllOf7, ZeroAllOf7$inboundSchema } from "./zeroallof7.js"; -import { ZeroOneOf2, ZeroOneOf2$inboundSchema } from "./zerooneof2.js"; +import { ZeroOneOf, ZeroOneOf$inboundSchema } from "./zerooneof.js"; /** * Represents an error response for the checkin APIs with additional details of cascading error messages. @@ -37,13 +37,13 @@ export type AttendeeAddBulkItemEventJsonErrorResponse = { export type AttendeeAddBulkItemEventJsonData = | AttendeeAddBulkItemEventJsonErrorResponse - | ZeroOneOf2; + | ZeroOneOf; /** * This entity is used to represent a single item that is returned as part of a bulk request call. */ export type AttendeeAddBulkItemEventJson = { - data: AttendeeAddBulkItemEventJsonErrorResponse | ZeroOneOf2; + data: AttendeeAddBulkItemEventJsonErrorResponse | ZeroOneOf; /** * http status code representing processing status of a single item */ @@ -94,7 +94,7 @@ export const AttendeeAddBulkItemEventJsonData$inboundSchema: z.ZodType< unknown > = z.union([ z.lazy(() => AttendeeAddBulkItemEventJsonErrorResponse$inboundSchema), - ZeroOneOf2$inboundSchema, + ZeroOneOf$inboundSchema, ]); export function attendeeAddBulkItemEventJsonDataFromJSON( @@ -115,7 +115,7 @@ export const AttendeeAddBulkItemEventJson$inboundSchema: z.ZodType< > = z.object({ data: z.union([ z.lazy(() => AttendeeAddBulkItemEventJsonErrorResponse$inboundSchema), - ZeroOneOf2$inboundSchema, + ZeroOneOf$inboundSchema, ]), status: z.number().int(), message: z.string().optional(), diff --git a/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts b/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts index 86e7ab927..89e1585d2 100644 --- a/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts +++ b/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts @@ -6,19 +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 { - ErrorResponse2, - ErrorResponse2$inboundSchema, -} from "./errorresponse2.js"; -import { ZeroOneOf2, ZeroOneOf2$inboundSchema } from "./zerooneof2.js"; +import { ErrorResponse, ErrorResponse$inboundSchema } from "./errorresponse.js"; +import { ZeroOneOf, ZeroOneOf$inboundSchema } from "./zerooneof.js"; -export type AttendeeAddBulkItemJsonData = ErrorResponse2 | ZeroOneOf2; +export type AttendeeAddBulkItemJsonData = ErrorResponse | ZeroOneOf; /** * This entity is used to represent a single item that is returned as part of a bulk request call. */ export type AttendeeAddBulkItemJson = { - data: ErrorResponse2 | ZeroOneOf2; + data: ErrorResponse | ZeroOneOf; /** * http status code representing processing status of a single item */ @@ -38,7 +35,7 @@ export const AttendeeAddBulkItemJsonData$inboundSchema: z.ZodType< AttendeeAddBulkItemJsonData, z.ZodTypeDef, unknown -> = z.union([ErrorResponse2$inboundSchema, ZeroOneOf2$inboundSchema]); +> = z.union([ErrorResponse$inboundSchema, ZeroOneOf$inboundSchema]); export function attendeeAddBulkItemJsonDataFromJSON( jsonString: string, @@ -56,7 +53,7 @@ export const AttendeeAddBulkItemJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - data: z.union([ErrorResponse2$inboundSchema, ZeroOneOf2$inboundSchema]), + data: z.union([ErrorResponse$inboundSchema, ZeroOneOf$inboundSchema]), status: z.number().int(), message: z.string().optional(), request: z.record(z.any()).optional(), diff --git a/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.ts b/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.ts index a2a8dc0e5..dfa2ba06b 100644 --- a/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.ts +++ b/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.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 { - ErrorResponse2, - ErrorResponse2$inboundSchema, -} from "./errorresponse2.js"; +import { ErrorResponse, ErrorResponse$inboundSchema } from "./errorresponse.js"; import { ExistingAttendeeLink, ExistingAttendeeLink$inboundSchema, @@ -17,13 +14,13 @@ import { export type AttendeeLinkBulkResponseItemJsonData = | ExistingAttendeeLink - | ErrorResponse2; + | ErrorResponse; /** * This entity is used to represent a single item that is returned as part of a bulk request call. */ export type AttendeeLinkBulkResponseItemJson = { - data: ExistingAttendeeLink | ErrorResponse2; + data: ExistingAttendeeLink | ErrorResponse; /** * http status code representing processing status of a single item */ @@ -43,7 +40,7 @@ export const AttendeeLinkBulkResponseItemJsonData$inboundSchema: z.ZodType< AttendeeLinkBulkResponseItemJsonData, z.ZodTypeDef, unknown -> = z.union([ExistingAttendeeLink$inboundSchema, ErrorResponse2$inboundSchema]); +> = z.union([ExistingAttendeeLink$inboundSchema, ErrorResponse$inboundSchema]); export function attendeeLinkBulkResponseItemJsonDataFromJSON( jsonString: string, @@ -64,7 +61,7 @@ export const AttendeeLinkBulkResponseItemJson$inboundSchema: z.ZodType< > = z.object({ data: z.union([ ExistingAttendeeLink$inboundSchema, - ErrorResponse2$inboundSchema, + ErrorResponse$inboundSchema, ]), status: z.number().int(), message: z.string().optional(), diff --git a/packages/typescript/src/models/components/attendeeresponsemethod1.ts b/packages/typescript/src/models/components/attendeeresponsemethod1.ts index 1976eae83..4dadfc8c1 100644 --- a/packages/typescript/src/models/components/attendeeresponsemethod1.ts +++ b/packages/typescript/src/models/components/attendeeresponsemethod1.ts @@ -18,6 +18,7 @@ import { ClosedEnum } from "../../types/enums.js"; * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. @@ -46,6 +47,7 @@ export const AttendeeResponseMethod1 = { GroupLeaderRespondedWidget: "Group Leader Responded Widget", HistoricalImport: "Historical Import", Imported: "Imported", + LinkedInRegistrationForm: "LinkedIn Registration Form", NoResponse: "No Response", OnSiteResponded: "On-site Responded", PlannerImported: "Planner-Imported", @@ -68,6 +70,7 @@ export const AttendeeResponseMethod1 = { * - 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. + * - LinkedIn Registration Form: The attendee was registered through LinkedIn integration. * - 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. diff --git a/packages/typescript/src/models/components/attendeeupdate.ts b/packages/typescript/src/models/components/attendeeupdate.ts index 283017b64..b1b9802ad 100644 --- a/packages/typescript/src/models/components/attendeeupdate.ts +++ b/packages/typescript/src/models/components/attendeeupdate.ts @@ -130,7 +130,7 @@ export type AttendeeUpdate = { */ sendEmail?: boolean | undefined; /** - * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval + * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted */ status?: AttendeeUpdateStatus | undefined; /** diff --git a/packages/typescript/src/models/components/attendeeupdatestatus.ts b/packages/typescript/src/models/components/attendeeupdatestatus.ts index 341abd128..ed6a77ca2 100644 --- a/packages/typescript/src/models/components/attendeeupdatestatus.ts +++ b/packages/typescript/src/models/components/attendeeupdatestatus.ts @@ -6,7 +6,7 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval + * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted */ export const AttendeeUpdateStatus = { NoResponse: "No Response", @@ -16,9 +16,10 @@ export const AttendeeUpdateStatus = { Declined: "Declined", PendingApproval: "Pending Approval", DeniedApproval: "Denied Approval", + Waitlisted: "Waitlisted", } as const; /** - * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval + * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted */ export type AttendeeUpdateStatus = ClosedEnum; diff --git a/packages/typescript/src/models/components/attributejson.ts b/packages/typescript/src/models/components/attribute.ts similarity index 52% rename from packages/typescript/src/models/components/attributejson.ts rename to packages/typescript/src/models/components/attribute.ts index 026d2a334..c500cfe82 100644 --- a/packages/typescript/src/models/components/attributejson.ts +++ b/packages/typescript/src/models/components/attribute.ts @@ -7,30 +7,21 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AttributeDataTypeJson, - AttributeDataTypeJson$inboundSchema, -} from "./attributedatatypejson.js"; + AttributeDataType, + AttributeDataType$inboundSchema, +} from "./attributedatatype.js"; +import { Mutability, Mutability$inboundSchema } from "./mutability.js"; +import { ReferenceType, ReferenceType$inboundSchema } from "./referencetype.js"; +import { ReturnedType, ReturnedType$inboundSchema } from "./returnedtype.js"; import { - AttributeReferenceTypeJson, - AttributeReferenceTypeJson$inboundSchema, -} from "./attributereferencetypejson.js"; -import { - AttributeReturnedTypeJson, - AttributeReturnedTypeJson$inboundSchema, -} from "./attributereturnedtypejson.js"; -import { - AttributeUniquenessTypeJson, - AttributeUniquenessTypeJson$inboundSchema, -} from "./attributeuniquenesstypejson.js"; -import { - MutabilityJson, - MutabilityJson$inboundSchema, -} from "./mutabilityjson.js"; + UniquenessType, + UniquenessType$inboundSchema, +} from "./uniquenesstype.js"; /** * Attribute */ -export type AttributeJson = { +export type Attribute = { /** * The name of the attribute. */ @@ -38,7 +29,7 @@ export type AttributeJson = { /** * This is used to denote the type of the attribute. */ - type?: AttributeDataTypeJson | undefined; + type?: AttributeDataType | undefined; /** * Indicates if the attribute is multivalued. */ @@ -58,7 +49,7 @@ export type AttributeJson = { /** * This is used to denote the mutability of the attribute. */ - mutability?: MutabilityJson | undefined; + mutability?: Mutability | undefined; /** * The list of canonical values of the attribute. */ @@ -66,47 +57,47 @@ export type AttributeJson = { /** * This is used to denote the returned type of the attribute. */ - returned?: AttributeReturnedTypeJson | undefined; + returned?: ReturnedType | undefined; /** * This is used to denote the uniqueness type of the attribute. */ - uniqueness?: AttributeUniquenessTypeJson | undefined; + uniqueness?: UniquenessType | undefined; /** * This is used to denote the reference type of the attribute. */ - referenceTypes?: Array | undefined; + referenceTypes?: Array | undefined; /** * A collection of sub-attributes. Has the same structure as this attribute object. */ - subAttributes?: Array | undefined; + subAttributes?: Array | undefined; }; /** @internal */ -export const AttributeJson$inboundSchema: z.ZodType< - AttributeJson, +export const Attribute$inboundSchema: z.ZodType< + Attribute, z.ZodTypeDef, unknown > = z.object({ name: z.string().optional(), - type: AttributeDataTypeJson$inboundSchema.optional(), + type: AttributeDataType$inboundSchema.optional(), multiValued: z.boolean().optional(), description: z.string().optional(), required: z.boolean().optional(), caseExact: z.boolean().optional(), - mutability: MutabilityJson$inboundSchema.optional(), + mutability: Mutability$inboundSchema.optional(), canonicalValues: z.array(z.string()).optional(), - returned: AttributeReturnedTypeJson$inboundSchema.optional(), - uniqueness: AttributeUniquenessTypeJson$inboundSchema.optional(), - referenceTypes: z.array(AttributeReferenceTypeJson$inboundSchema).optional(), - subAttributes: z.array(z.lazy(() => AttributeJson$inboundSchema)).optional(), + returned: ReturnedType$inboundSchema.optional(), + uniqueness: UniquenessType$inboundSchema.optional(), + referenceTypes: z.array(ReferenceType$inboundSchema).optional(), + subAttributes: z.array(z.lazy(() => Attribute$inboundSchema)).optional(), }); -export function attributeJsonFromJSON( +export function attributeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => AttributeJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AttributeJson' from JSON`, + (x) => Attribute$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Attribute' from JSON`, ); } diff --git a/packages/typescript/src/models/components/attributedatatypejson.ts b/packages/typescript/src/models/components/attributedatatype.ts similarity index 64% rename from packages/typescript/src/models/components/attributedatatypejson.ts rename to packages/typescript/src/models/components/attributedatatype.ts index 1697d13d0..10c3d2f68 100644 --- a/packages/typescript/src/models/components/attributedatatypejson.ts +++ b/packages/typescript/src/models/components/attributedatatype.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the type of the attribute. */ -export const AttributeDataTypeJson = { +export const AttributeDataType = { String: "string", Boolean: "boolean", Decimal: "decimal", @@ -20,9 +20,9 @@ export const AttributeDataTypeJson = { /** * This is used to denote the type of the attribute. */ -export type AttributeDataTypeJson = ClosedEnum; +export type AttributeDataType = ClosedEnum; /** @internal */ -export const AttributeDataTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AttributeDataTypeJson -> = z.nativeEnum(AttributeDataTypeJson); +export const AttributeDataType$inboundSchema: z.ZodNativeEnum< + typeof AttributeDataType +> = z.nativeEnum(AttributeDataType); diff --git a/packages/typescript/src/models/components/authenticationschemajson.ts b/packages/typescript/src/models/components/authenticationschema.ts similarity index 75% rename from packages/typescript/src/models/components/authenticationschemajson.ts rename to packages/typescript/src/models/components/authenticationschema.ts index a6ca33c7a..e38b4de7a 100644 --- a/packages/typescript/src/models/components/authenticationschemajson.ts +++ b/packages/typescript/src/models/components/authenticationschema.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Authentication Schema */ -export type AuthenticationSchemaJson = { +export type AuthenticationSchema = { /** * The name of the authentication. */ @@ -38,8 +38,8 @@ export type AuthenticationSchemaJson = { }; /** @internal */ -export const AuthenticationSchemaJson$inboundSchema: z.ZodType< - AuthenticationSchemaJson, +export const AuthenticationSchema$inboundSchema: z.ZodType< + AuthenticationSchema, z.ZodTypeDef, unknown > = z.object({ @@ -51,12 +51,12 @@ export const AuthenticationSchemaJson$inboundSchema: z.ZodType< primary: z.boolean().optional(), }); -export function authenticationSchemaJsonFromJSON( +export function authenticationSchemaFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => AuthenticationSchemaJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AuthenticationSchemaJson' from JSON`, + (x) => AuthenticationSchema$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AuthenticationSchema' from JSON`, ); } diff --git a/packages/typescript/src/models/components/bouncedetailsjson.ts b/packages/typescript/src/models/components/bouncedetailsjson.ts index c0417c594..0410848d6 100644 --- a/packages/typescript/src/models/components/bouncedetailsjson.ts +++ b/packages/typescript/src/models/components/bouncedetailsjson.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 { - EmailTypeJson1, - EmailTypeJson1$inboundSchema, -} from "./emailtypejson1.js"; +import { EmailTypeJson, EmailTypeJson$inboundSchema } from "./emailtypejson.js"; import { ProductLineJson, ProductLineJson$inboundSchema, @@ -59,7 +56,7 @@ export type BounceDetailsJson = { /** * Denotes the type of the email. */ - emailType?: EmailTypeJson1 | undefined; + emailType?: EmailTypeJson | undefined; /** * Unique ID of the email. */ @@ -87,7 +84,7 @@ export const BounceDetailsJson$inboundSchema: z.ZodType< subject: z.string().optional(), productLine: ProductLineJson$inboundSchema.optional(), productId: z.string().optional(), - emailType: EmailTypeJson1$inboundSchema.optional(), + emailType: EmailTypeJson$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/choice2.ts b/packages/typescript/src/models/components/choice2.ts new file mode 100644 index 000000000..54e1b79f4 --- /dev/null +++ b/packages/typescript/src/models/components/choice2.ts @@ -0,0 +1,39 @@ +/* + * 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 question. + */ +export type Choice2 = { + /** + * The ID of the question 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 question choice. + */ + text: string; +}; + +/** @internal */ +export const Choice2$inboundSchema: z.ZodType = + z.object({ + id: z.string().optional(), + text: z.string(), + }); + +export function choice2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Choice2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Choice2' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/choice2input.ts b/packages/typescript/src/models/components/choice2input.ts new file mode 100644 index 000000000..c8738cf3a --- /dev/null +++ b/packages/typescript/src/models/components/choice2input.ts @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * This is used to denote the choice of question. + */ +export type Choice2Input = { + /** + * The text for the question choice. + */ + text: string; +}; + +/** @internal */ +export type Choice2Input$Outbound = { + text: string; +}; + +/** @internal */ +export const Choice2Input$outboundSchema: z.ZodType< + Choice2Input$Outbound, + z.ZodTypeDef, + Choice2Input +> = z.object({ + text: z.string(), +}); + +export function choice2InputToJSON(choice2Input: Choice2Input): string { + return JSON.stringify(Choice2Input$outboundSchema.parse(choice2Input)); +} diff --git a/packages/typescript/src/models/components/choicejson2.ts b/packages/typescript/src/models/components/choicejson2.ts deleted file mode 100644 index e0117b543..000000000 --- a/packages/typescript/src/models/components/choicejson2.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 ChoiceJson2 = { - /** - * 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 ChoiceJson2$inboundSchema: z.ZodType< - ChoiceJson2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string(), -}); - -export function choiceJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ChoiceJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ChoiceJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/choicejson2input.ts b/packages/typescript/src/models/components/choicejson2input.ts deleted file mode 100644 index b555d11b3..000000000 --- a/packages/typescript/src/models/components/choicejson2input.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 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/choices1.ts b/packages/typescript/src/models/components/choices1.ts new file mode 100644 index 000000000..43c4d3c0f --- /dev/null +++ b/packages/typescript/src/models/components/choices1.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 { Choice2, Choice2$inboundSchema } from "./choice2.js"; +import { DisplayType1, DisplayType1$inboundSchema } from "./displaytype1.js"; + +/** + * Choices for a custom field. + */ +export type Choices1 = { + /** + * Choices of custom fields. + */ + 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. + */ + displayType?: DisplayType1 | undefined; +}; + +/** @internal */ +export const Choices1$inboundSchema: z.ZodType< + Choices1, + z.ZodTypeDef, + unknown +> = z.object({ + choices: z.array(Choice2$inboundSchema).optional(), + displayType: DisplayType1$inboundSchema.optional(), +}); + +export function choices1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Choices1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Choices1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/choices1input.ts b/packages/typescript/src/models/components/choices1input.ts new file mode 100644 index 000000000..2c72736e0 --- /dev/null +++ b/packages/typescript/src/models/components/choices1input.ts @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + Choice2Input, + Choice2Input$Outbound, + Choice2Input$outboundSchema, +} from "./choice2input.js"; +import { DisplayType1, DisplayType1$outboundSchema } from "./displaytype1.js"; + +/** + * Choices for a custom field. + */ +export type Choices1Input = { + /** + * Choices of custom fields. + */ + 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. + */ + displayType?: DisplayType1 | undefined; +}; + +/** @internal */ +export type Choices1Input$Outbound = { + choices?: Array | undefined; + displayType?: string | undefined; +}; + +/** @internal */ +export const Choices1Input$outboundSchema: z.ZodType< + Choices1Input$Outbound, + z.ZodTypeDef, + Choices1Input +> = z.object({ + choices: z.array(Choice2Input$outboundSchema).optional(), + displayType: DisplayType1$outboundSchema.optional(), +}); + +export function choices1InputToJSON(choices1Input: Choices1Input): string { + return JSON.stringify(Choices1Input$outboundSchema.parse(choices1Input)); +} diff --git a/packages/typescript/src/models/components/choicetranslationjson.ts b/packages/typescript/src/models/components/choicetranslation.ts similarity index 60% rename from packages/typescript/src/models/components/choicetranslationjson.ts rename to packages/typescript/src/models/components/choicetranslation.ts index 5cda50ad8..655466bf3 100644 --- a/packages/typescript/src/models/components/choicetranslationjson.ts +++ b/packages/typescript/src/models/components/choicetranslation.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * This is used to denote that the translation for the choice text of a custom field. */ -export type ChoiceTranslationJson = { +export type ChoiceTranslation = { /** * The ID of the choice that this translation is associated with. */ @@ -22,8 +22,8 @@ export type ChoiceTranslationJson = { }; /** @internal */ -export const ChoiceTranslationJson$inboundSchema: z.ZodType< - ChoiceTranslationJson, +export const ChoiceTranslation$inboundSchema: z.ZodType< + ChoiceTranslation, z.ZodTypeDef, unknown > = z.object({ @@ -31,34 +31,34 @@ export const ChoiceTranslationJson$inboundSchema: z.ZodType< translatedText: z.string().optional(), }); /** @internal */ -export type ChoiceTranslationJson$Outbound = { +export type ChoiceTranslation$Outbound = { choiceId?: string | undefined; translatedText?: string | undefined; }; /** @internal */ -export const ChoiceTranslationJson$outboundSchema: z.ZodType< - ChoiceTranslationJson$Outbound, +export const ChoiceTranslation$outboundSchema: z.ZodType< + ChoiceTranslation$Outbound, z.ZodTypeDef, - ChoiceTranslationJson + ChoiceTranslation > = z.object({ choiceId: z.string().optional(), translatedText: z.string().optional(), }); -export function choiceTranslationJsonToJSON( - choiceTranslationJson: ChoiceTranslationJson, +export function choiceTranslationToJSON( + choiceTranslation: ChoiceTranslation, ): string { return JSON.stringify( - ChoiceTranslationJson$outboundSchema.parse(choiceTranslationJson), + ChoiceTranslation$outboundSchema.parse(choiceTranslation), ); } -export function choiceTranslationJsonFromJSON( +export function choiceTranslationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ChoiceTranslationJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ChoiceTranslationJson' from JSON`, + (x) => ChoiceTranslation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ChoiceTranslation' from JSON`, ); } diff --git a/packages/typescript/src/models/components/customfield3.ts b/packages/typescript/src/models/components/customfield3.ts index 6ae0533d5..1a23a8514 100644 --- a/packages/typescript/src/models/components/customfield3.ts +++ b/packages/typescript/src/models/components/customfield3.ts @@ -4,116 +4,51 @@ import * as z from "zod/v3"; import { - ChoiceJson2Input, - ChoiceJson2Input$Outbound, - ChoiceJson2Input$outboundSchema, -} from "./choicejson2input.js"; + Choices1Input, + Choices1Input$Outbound, + Choices1Input$outboundSchema, +} from "./choices1input.js"; import { - ChoicesDisplayTypeJson, - ChoicesDisplayTypeJson$outboundSchema, -} from "./choicesdisplaytypejson.js"; + CustomFieldCategory, + CustomFieldCategory$outboundSchema, +} from "./customfieldcategory.js"; import { - CustomFieldCategoryJson, - CustomFieldCategoryJson$outboundSchema, -} from "./customfieldcategoryjson.js"; + CustomFieldType2, + CustomFieldType2$outboundSchema, +} from "./customfieldtype2.js"; import { - CustomFieldTypeJson, - CustomFieldTypeJson$outboundSchema, -} from "./customfieldtypejson.js"; + DisplayInDataTag, + DisplayInDataTag$outboundSchema, +} from "./displayindatatag.js"; import { - DateTimeDisplayFormatJson, - DateTimeDisplayFormatJson$outboundSchema, -} from "./datetimedisplayformatjson.js"; + OpenEndedCommentBox, + OpenEndedCommentBox$Outbound, + OpenEndedCommentBox$outboundSchema, +} from "./openendedcommentbox.js"; import { - DisplayInDataTagJson, - DisplayInDataTagJson$outboundSchema, -} from "./displayindatatagjson.js"; + OpenEndedDateTime1, + OpenEndedDateTime1$Outbound, + OpenEndedDateTime1$outboundSchema, +} from "./openendeddatetime1.js"; import { - PageVisibilityJson, - PageVisibilityJson$Outbound, - PageVisibilityJson$outboundSchema, -} from "./pagevisibilityjson.js"; - -/** - * Choices for a custom field. - */ -export type Choices = { - /** - * Choices of custom fields. - */ - 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. - */ - displayType?: ChoicesDisplayTypeJson | undefined; -}; - -/** - * This is used to denote the open ended comment box type of custom field. - */ -export type OpenEndedCommentBox = { - /** - * Minimum number/characters allowed. - */ - minimum?: number | undefined; - /** - * Maximum number/characters allowed. - */ - maximum?: number | undefined; -}; - -/** - * This is used to denote the open ended date time type of custom field. - */ -export type OpenEndedDateTime = { - /** - * 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; -}; - -/** - * This is used to denote the open ended one line type of custom field. - */ -export type OpenEndedOneLine = { - /** - * The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI. - */ - answerFormat?: string | undefined; - /** - * Minimum number/characters allowed. - */ - minimum?: number | undefined; - /** - * Maximum number/characters allowed. - */ - maximum?: number | undefined; -}; + OpenEndedOneLine, + OpenEndedOneLine$Outbound, + OpenEndedOneLine$outboundSchema, +} from "./openendedoneline.js"; +import { + PageVisibility, + PageVisibility$Outbound, + PageVisibility$outboundSchema, +} from "./pagevisibility.js"; /** * Type-specific details of the custom-field. */ export type CustomField3Details = | OpenEndedOneLine - | OpenEndedDateTime + | OpenEndedDateTime1 | OpenEndedCommentBox - | Choices; + | Choices1Input; /** * This is used to denote the custom field data. @@ -122,7 +57,7 @@ export type CustomField3 = { /** * This is used to denote the category of a custom field. */ - category: CustomFieldCategoryJson; + category: CustomFieldCategory; /** * The actual text of the custom field. */ @@ -138,15 +73,15 @@ 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: CustomFieldTypeJson; + type: CustomFieldType2; /** * Type-specific details of the custom-field. */ details?: | OpenEndedOneLine - | OpenEndedDateTime + | OpenEndedDateTime1 | OpenEndedCommentBox - | Choices + | Choices1Input | undefined; /** * The help text of the custom field. @@ -155,7 +90,7 @@ export type CustomField3 = { /** * 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. */ - displayInDataTag?: DisplayInDataTagJson | undefined; + displayInDataTag?: DisplayInDataTag | undefined; /** * Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. */ @@ -175,115 +110,15 @@ export type CustomField3 = { /** * Visibility of the custom field on various pages/forms. */ - pageVisibility?: PageVisibilityJson | undefined; -}; - -/** @internal */ -export type Choices$Outbound = { - choices?: Array | undefined; - displayType?: string | undefined; -}; - -/** @internal */ -export const Choices$outboundSchema: z.ZodType< - Choices$Outbound, - z.ZodTypeDef, - Choices -> = z.object({ - choices: z.array(ChoiceJson2Input$outboundSchema).optional(), - displayType: ChoicesDisplayTypeJson$outboundSchema.optional(), -}); - -export function choicesToJSON(choices: Choices): string { - return JSON.stringify(Choices$outboundSchema.parse(choices)); -} - -/** @internal */ -export type OpenEndedCommentBox$Outbound = { - minimum?: number | undefined; - maximum?: number | undefined; -}; - -/** @internal */ -export const OpenEndedCommentBox$outboundSchema: z.ZodType< - OpenEndedCommentBox$Outbound, - z.ZodTypeDef, - OpenEndedCommentBox -> = z.object({ - minimum: z.number().int().optional(), - maximum: z.number().int().optional(), -}); - -export function openEndedCommentBoxToJSON( - openEndedCommentBox: OpenEndedCommentBox, -): string { - return JSON.stringify( - OpenEndedCommentBox$outboundSchema.parse(openEndedCommentBox), - ); -} - -/** @internal */ -export type OpenEndedDateTime$Outbound = { - from?: string | undefined; - to?: string | undefined; - format?: string | undefined; - defaultToCurrentDate?: boolean | undefined; - displayPopUpCalendar: boolean; + pageVisibility?: PageVisibility | undefined; }; -/** @internal */ -export const OpenEndedDateTime$outboundSchema: z.ZodType< - OpenEndedDateTime$Outbound, - z.ZodTypeDef, - OpenEndedDateTime -> = 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 openEndedDateTimeToJSON( - openEndedDateTime: OpenEndedDateTime, -): string { - return JSON.stringify( - OpenEndedDateTime$outboundSchema.parse(openEndedDateTime), - ); -} - -/** @internal */ -export type OpenEndedOneLine$Outbound = { - answerFormat?: string | undefined; - minimum?: number | undefined; - maximum?: number | undefined; -}; - -/** @internal */ -export const OpenEndedOneLine$outboundSchema: z.ZodType< - OpenEndedOneLine$Outbound, - z.ZodTypeDef, - OpenEndedOneLine -> = z.object({ - answerFormat: z.string().optional(), - minimum: z.number().int().optional(), - maximum: z.number().int().optional(), -}); - -export function openEndedOneLineToJSON( - openEndedOneLine: OpenEndedOneLine, -): string { - return JSON.stringify( - OpenEndedOneLine$outboundSchema.parse(openEndedOneLine), - ); -} - /** @internal */ export type CustomField3Details$Outbound = | OpenEndedOneLine$Outbound - | OpenEndedDateTime$Outbound + | OpenEndedDateTime1$Outbound | OpenEndedCommentBox$Outbound - | Choices$Outbound; + | Choices1Input$Outbound; /** @internal */ export const CustomField3Details$outboundSchema: z.ZodType< @@ -291,10 +126,10 @@ export const CustomField3Details$outboundSchema: z.ZodType< z.ZodTypeDef, CustomField3Details > = z.union([ - z.lazy(() => OpenEndedOneLine$outboundSchema), - z.lazy(() => OpenEndedDateTime$outboundSchema), - z.lazy(() => OpenEndedCommentBox$outboundSchema), - z.lazy(() => Choices$outboundSchema), + OpenEndedOneLine$outboundSchema, + OpenEndedDateTime1$outboundSchema, + OpenEndedCommentBox$outboundSchema, + Choices1Input$outboundSchema, ]); export function customField3DetailsToJSON( @@ -314,9 +149,9 @@ export type CustomField3$Outbound = { type: string; details?: | OpenEndedOneLine$Outbound - | OpenEndedDateTime$Outbound + | OpenEndedDateTime1$Outbound | OpenEndedCommentBox$Outbound - | Choices$Outbound + | Choices1Input$Outbound | undefined; helpText?: string | undefined; displayInDataTag: string; @@ -324,7 +159,7 @@ export type CustomField3$Outbound = { consentField: boolean; active: boolean; displayInEventCreationWizard: boolean; - pageVisibility?: PageVisibilityJson$Outbound | undefined; + pageVisibility?: PageVisibility$Outbound | undefined; }; /** @internal */ @@ -333,24 +168,24 @@ export const CustomField3$outboundSchema: z.ZodType< z.ZodTypeDef, CustomField3 > = z.object({ - category: CustomFieldCategoryJson$outboundSchema, + category: CustomFieldCategory$outboundSchema, name: z.string(), code: z.string(), required: z.boolean().default(true), - type: CustomFieldTypeJson$outboundSchema, + type: CustomFieldType2$outboundSchema, details: z.union([ - z.lazy(() => OpenEndedOneLine$outboundSchema), - z.lazy(() => OpenEndedDateTime$outboundSchema), - z.lazy(() => OpenEndedCommentBox$outboundSchema), - z.lazy(() => Choices$outboundSchema), + OpenEndedOneLine$outboundSchema, + OpenEndedDateTime1$outboundSchema, + OpenEndedCommentBox$outboundSchema, + Choices1Input$outboundSchema, ]).optional(), helpText: z.string().optional(), - displayInDataTag: DisplayInDataTagJson$outboundSchema.default("No"), + displayInDataTag: DisplayInDataTag$outboundSchema.default("No"), defaultTagText: z.string().optional(), consentField: z.boolean().default(false), active: z.boolean().default(true), displayInEventCreationWizard: z.boolean().default(false), - pageVisibility: PageVisibilityJson$outboundSchema.optional(), + pageVisibility: PageVisibility$outboundSchema.optional(), }); export function customField3ToJSON(customField3: CustomField3): string { diff --git a/packages/typescript/src/models/components/customfieldcategoryjson.ts b/packages/typescript/src/models/components/customfieldcategory.ts similarity index 58% rename from packages/typescript/src/models/components/customfieldcategoryjson.ts rename to packages/typescript/src/models/components/customfieldcategory.ts index e0fa179aa..cac76935f 100644 --- a/packages/typescript/src/models/components/customfieldcategoryjson.ts +++ b/packages/typescript/src/models/components/customfieldcategory.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the category of a custom field. */ -export const CustomFieldCategoryJson = { +export const CustomFieldCategory = { Contact: "Contact", Session: "Session", Event: "Event", @@ -24,15 +24,13 @@ export const CustomFieldCategoryJson = { /** * This is used to denote the category of a custom field. */ -export type CustomFieldCategoryJson = ClosedEnum< - typeof CustomFieldCategoryJson ->; +export type CustomFieldCategory = ClosedEnum; /** @internal */ -export const CustomFieldCategoryJson$inboundSchema: z.ZodNativeEnum< - typeof CustomFieldCategoryJson -> = z.nativeEnum(CustomFieldCategoryJson); +export const CustomFieldCategory$inboundSchema: z.ZodNativeEnum< + typeof CustomFieldCategory +> = z.nativeEnum(CustomFieldCategory); /** @internal */ -export const CustomFieldCategoryJson$outboundSchema: z.ZodNativeEnum< - typeof CustomFieldCategoryJson -> = CustomFieldCategoryJson$inboundSchema; +export const CustomFieldCategory$outboundSchema: z.ZodNativeEnum< + typeof CustomFieldCategory +> = CustomFieldCategory$inboundSchema; diff --git a/packages/typescript/src/models/components/customfieldspaginatedresponse.ts b/packages/typescript/src/models/components/customfieldspaginatedresponse.ts index d2aab459d..fd237ef5c 100644 --- a/packages/typescript/src/models/components/customfieldspaginatedresponse.ts +++ b/packages/typescript/src/models/components/customfieldspaginatedresponse.ts @@ -10,7 +10,7 @@ import { ExistingCustomField, ExistingCustomField$inboundSchema, } from "./existingcustomfield.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 custom fields metadata. This includes the paging object as well as the collection of custom fields metadata. @@ -19,7 +19,7 @@ export type CustomFieldsPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of custom fields. */ @@ -32,7 +32,7 @@ export const CustomFieldsPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(ExistingCustomField$inboundSchema), }); diff --git a/packages/typescript/src/models/components/customfieldtypejson.ts b/packages/typescript/src/models/components/customfieldtype2.ts similarity index 66% rename from packages/typescript/src/models/components/customfieldtypejson.ts rename to packages/typescript/src/models/components/customfieldtype2.ts index 592b14c6e..c64a714be 100644 --- a/packages/typescript/src/models/components/customfieldtypejson.ts +++ b/packages/typescript/src/models/components/customfieldtype2.ts @@ -8,7 +8,7 @@ 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 = { +export const CustomFieldType2 = { OpenEndedTextDateTime: "Open Ended Text - Date/Time", OpenEndedTextOneLine: "Open Ended Text - One Line", OpenEndedTextCommentBox: "Open Ended Text - Comment Box", @@ -19,13 +19,13 @@ export const CustomFieldTypeJson = { /** * 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; +export type CustomFieldType2 = ClosedEnum; /** @internal */ -export const CustomFieldTypeJson$inboundSchema: z.ZodNativeEnum< - typeof CustomFieldTypeJson -> = z.nativeEnum(CustomFieldTypeJson); +export const CustomFieldType2$inboundSchema: z.ZodNativeEnum< + typeof CustomFieldType2 +> = z.nativeEnum(CustomFieldType2); /** @internal */ -export const CustomFieldTypeJson$outboundSchema: z.ZodNativeEnum< - typeof CustomFieldTypeJson -> = CustomFieldTypeJson$inboundSchema; +export const CustomFieldType2$outboundSchema: z.ZodNativeEnum< + typeof CustomFieldType2 +> = CustomFieldType2$inboundSchema; diff --git a/packages/typescript/src/models/components/datetimedisplayformatjson.ts b/packages/typescript/src/models/components/datetimedisplayformat.ts similarity index 62% rename from packages/typescript/src/models/components/datetimedisplayformatjson.ts rename to packages/typescript/src/models/components/datetimedisplayformat.ts index 59d8e9077..60b044257 100644 --- a/packages/typescript/src/models/components/datetimedisplayformatjson.ts +++ b/packages/typescript/src/models/components/datetimedisplayformat.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the display format type of date time type custom field. */ -export const DateTimeDisplayFormatJson = { +export const DateTimeDisplayFormat = { DateAndTimeMonthFirst12HourTime: "DateAndTimeMonthFirst12HourTime", DateAndTimeMonthFirst24HourTime: "DateAndTimeMonthFirst24HourTime", DateOnlyMonthFirst: "DateOnlyMonthFirst", @@ -19,15 +19,13 @@ export const DateTimeDisplayFormatJson = { /** * This is used to denote the display format type of date time type custom field. */ -export type DateTimeDisplayFormatJson = ClosedEnum< - typeof DateTimeDisplayFormatJson ->; +export type DateTimeDisplayFormat = ClosedEnum; /** @internal */ -export const DateTimeDisplayFormatJson$inboundSchema: z.ZodNativeEnum< - typeof DateTimeDisplayFormatJson -> = z.nativeEnum(DateTimeDisplayFormatJson); +export const DateTimeDisplayFormat$inboundSchema: z.ZodNativeEnum< + typeof DateTimeDisplayFormat +> = z.nativeEnum(DateTimeDisplayFormat); /** @internal */ -export const DateTimeDisplayFormatJson$outboundSchema: z.ZodNativeEnum< - typeof DateTimeDisplayFormatJson -> = DateTimeDisplayFormatJson$inboundSchema; +export const DateTimeDisplayFormat$outboundSchema: z.ZodNativeEnum< + typeof DateTimeDisplayFormat +> = DateTimeDisplayFormat$inboundSchema; diff --git a/packages/typescript/src/models/components/displayindatatagjson.ts b/packages/typescript/src/models/components/displayindatatag.ts similarity index 68% rename from packages/typescript/src/models/components/displayindatatagjson.ts rename to packages/typescript/src/models/components/displayindatatag.ts index 737500c7a..83f295590 100644 --- a/packages/typescript/src/models/components/displayindatatagjson.ts +++ b/packages/typescript/src/models/components/displayindatatag.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * 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. */ -export const DisplayInDataTagJson = { +export const DisplayInDataTag = { Yes: "Yes", No: "No", OnlyWhenAnswered: "Only when answered", @@ -16,13 +16,13 @@ export const DisplayInDataTagJson = { /** * 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. */ -export type DisplayInDataTagJson = ClosedEnum; +export type DisplayInDataTag = ClosedEnum; /** @internal */ -export const DisplayInDataTagJson$inboundSchema: z.ZodNativeEnum< - typeof DisplayInDataTagJson -> = z.nativeEnum(DisplayInDataTagJson); +export const DisplayInDataTag$inboundSchema: z.ZodNativeEnum< + typeof DisplayInDataTag +> = z.nativeEnum(DisplayInDataTag); /** @internal */ -export const DisplayInDataTagJson$outboundSchema: z.ZodNativeEnum< - typeof DisplayInDataTagJson -> = DisplayInDataTagJson$inboundSchema; +export const DisplayInDataTag$outboundSchema: z.ZodNativeEnum< + typeof DisplayInDataTag +> = DisplayInDataTag$inboundSchema; diff --git a/packages/typescript/src/models/components/choicesdisplaytypejson.ts b/packages/typescript/src/models/components/displaytype1.ts similarity index 65% rename from packages/typescript/src/models/components/choicesdisplaytypejson.ts rename to packages/typescript/src/models/components/displaytype1.ts index 4342d447f..6963dc3ae 100644 --- a/packages/typescript/src/models/components/choicesdisplaytypejson.ts +++ b/packages/typescript/src/models/components/displaytype1.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * 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. */ -export const ChoicesDisplayTypeJson = { +export const DisplayType1 = { Dropdown: "Dropdown", Vertical: "Vertical", Horizontal: "Horizontal", @@ -17,13 +17,11 @@ export const ChoicesDisplayTypeJson = { /** * 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. */ -export type ChoicesDisplayTypeJson = ClosedEnum; +export type DisplayType1 = ClosedEnum; /** @internal */ -export const ChoicesDisplayTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ChoicesDisplayTypeJson -> = z.nativeEnum(ChoicesDisplayTypeJson); +export const DisplayType1$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(DisplayType1); /** @internal */ -export const ChoicesDisplayTypeJson$outboundSchema: z.ZodNativeEnum< - typeof ChoicesDisplayTypeJson -> = ChoicesDisplayTypeJson$inboundSchema; +export const DisplayType1$outboundSchema: z.ZodNativeEnum = + DisplayType1$inboundSchema; diff --git a/packages/typescript/src/models/components/email.ts b/packages/typescript/src/models/components/email.ts new file mode 100644 index 000000000..52b921dbb --- /dev/null +++ b/packages/typescript/src/models/components/email.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"; +import { + EmailType1, + EmailType1$inboundSchema, + EmailType1$outboundSchema, +} from "./emailtype1.js"; + +/** + * Email + */ +export type Email = { + /** + * The type of the email. + */ + type?: EmailType1 | undefined; + /** + * The email of the user. + */ + value: string; + /** + * True indicates the email is primary. + */ + primary?: boolean | undefined; +}; + +/** @internal */ +export const Email$inboundSchema: z.ZodType = z + .object({ + type: EmailType1$inboundSchema.default("work"), + value: z.string(), + primary: z.boolean().default(false), + }); +/** @internal */ +export type Email$Outbound = { + type: string; + value: string; + primary: boolean; +}; + +/** @internal */ +export const Email$outboundSchema: z.ZodType< + Email$Outbound, + z.ZodTypeDef, + Email +> = z.object({ + type: EmailType1$outboundSchema.default("work"), + value: z.string(), + primary: z.boolean().default(false), +}); + +export function emailToJSON(email: Email): string { + return JSON.stringify(Email$outboundSchema.parse(email)); +} +export function emailFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Email$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Email' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/emailhistoryjson.ts b/packages/typescript/src/models/components/emailhistoryjson.ts index 8e7ad4af9..c574f5d79 100644 --- a/packages/typescript/src/models/components/emailhistoryjson.ts +++ b/packages/typescript/src/models/components/emailhistoryjson.ts @@ -10,10 +10,7 @@ import { EmailStatusJson, EmailStatusJson$inboundSchema, } from "./emailstatusjson.js"; -import { - EmailTypeJson1, - EmailTypeJson1$inboundSchema, -} from "./emailtypejson1.js"; +import { EmailTypeJson, EmailTypeJson$inboundSchema } from "./emailtypejson.js"; /** * Event Id for email history record. @@ -96,7 +93,7 @@ export type EmailHistoryJson = { /** * Denotes the type of the email. */ - type?: EmailTypeJson1 | undefined; + type?: EmailTypeJson | undefined; /** * The ISO 8601 zoned date time when this email was sent. */ @@ -208,7 +205,7 @@ export const EmailHistoryJson$inboundSchema: z.ZodType< subject: z.string().optional(), from: z.string().optional(), to: z.string().optional(), - type: EmailTypeJson1$inboundSchema.optional(), + type: EmailTypeJson$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 2beeebbaa..21325ae68 100644 --- a/packages/typescript/src/models/components/emailjson1.ts +++ b/packages/typescript/src/models/components/emailjson1.ts @@ -6,28 +6,15 @@ import * as 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 { - EmailTypeJson, - EmailTypeJson$inboundSchema, - EmailTypeJson$outboundSchema, -} from "./emailtypejson.js"; /** - * Email + * Details of an email to be send. */ export type EmailJson1 = { /** - * The type of the email. + * The unique ID of the email to be sent. */ - type?: EmailTypeJson | undefined; - /** - * The email of the user. - */ - value: string; - /** - * True indicates the email is primary. - */ - primary?: boolean | undefined; + id: string; }; /** @internal */ @@ -36,15 +23,11 @@ export const EmailJson1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - type: EmailTypeJson$inboundSchema.default("work"), - value: z.string(), - primary: z.boolean().default(false), + id: z.string(), }); /** @internal */ export type EmailJson1$Outbound = { - type: string; - value: string; - primary: boolean; + id: string; }; /** @internal */ @@ -53,9 +36,7 @@ export const EmailJson1$outboundSchema: z.ZodType< z.ZodTypeDef, EmailJson1 > = z.object({ - type: EmailTypeJson$outboundSchema.default("work"), - value: z.string(), - primary: z.boolean().default(false), + id: z.string(), }); export function emailJson1ToJSON(emailJson1: EmailJson1): string { diff --git a/packages/typescript/src/models/components/emailjson2.ts b/packages/typescript/src/models/components/emailjson2.ts deleted file mode 100644 index 145288230..000000000 --- a/packages/typescript/src/models/components/emailjson2.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 an email to be send. - */ -export type EmailJson2 = { - /** - * The unique ID of the email to be sent. - */ - id: string; -}; - -/** @internal */ -export const EmailJson2$inboundSchema: z.ZodType< - EmailJson2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); -/** @internal */ -export type EmailJson2$Outbound = { - id: string; -}; - -/** @internal */ -export const EmailJson2$outboundSchema: z.ZodType< - EmailJson2$Outbound, - z.ZodTypeDef, - EmailJson2 -> = z.object({ - id: z.string(), -}); - -export function emailJson2ToJSON(emailJson2: EmailJson2): string { - return JSON.stringify(EmailJson2$outboundSchema.parse(emailJson2)); -} -export function emailJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EmailJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmailJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/emailtype1.ts b/packages/typescript/src/models/components/emailtype1.ts new file mode 100644 index 000000000..3fec88081 --- /dev/null +++ b/packages/typescript/src/models/components/emailtype1.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 type of the email. + */ +export const EmailType1 = { + Work: "work", + Home: "home", +} as const; +/** + * The type of the email. + */ +export type EmailType1 = ClosedEnum; + +/** @internal */ +export const EmailType1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(EmailType1); +/** @internal */ +export const EmailType1$outboundSchema: z.ZodNativeEnum = + EmailType1$inboundSchema; diff --git a/packages/typescript/src/models/components/emailtypejson.ts b/packages/typescript/src/models/components/emailtypejson.ts index d136c971f..d63bf04ef 100644 --- a/packages/typescript/src/models/components/emailtypejson.ts +++ b/packages/typescript/src/models/components/emailtypejson.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 EmailTypeJson = { - 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 EmailTypeJson = ClosedEnum; @@ -21,7 +82,3 @@ export type EmailTypeJson = ClosedEnum; 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 deleted file mode 100644 index 8af33821e..000000000 --- a/packages/typescript/src/models/components/emailtypejson1.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 EmailTypeJson1 = { - 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 EmailTypeJson1 = ClosedEnum; - -/** @internal */ -export const EmailTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof EmailTypeJson1 -> = z.nativeEnum(EmailTypeJson1); diff --git a/packages/typescript/src/models/components/errorresponse2.ts b/packages/typescript/src/models/components/errorresponse.ts similarity index 77% rename from packages/typescript/src/models/components/errorresponse2.ts rename to packages/typescript/src/models/components/errorresponse.ts index 8f1674c5d..8664db618 100644 --- a/packages/typescript/src/models/components/errorresponse2.ts +++ b/packages/typescript/src/models/components/errorresponse.ts @@ -11,7 +11,7 @@ import { ZeroAllOf1, ZeroAllOf1$inboundSchema } from "./zeroallof1.js"; /** * Represents an error response with additional details of cascading error messages. */ -export type ErrorResponse2 = { +export type ErrorResponse = { /** * The HTTP status code representing the error. */ @@ -31,8 +31,8 @@ export type ErrorResponse2 = { }; /** @internal */ -export const ErrorResponse2$inboundSchema: z.ZodType< - ErrorResponse2, +export const ErrorResponse$inboundSchema: z.ZodType< + ErrorResponse, z.ZodTypeDef, unknown > = z.object({ @@ -42,12 +42,12 @@ export const ErrorResponse2$inboundSchema: z.ZodType< details: z.array(ZeroAllOf1$inboundSchema).optional(), }); -export function errorResponse2FromJSON( +export function errorResponseFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ErrorResponse2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ErrorResponse2' from JSON`, + (x) => ErrorResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ErrorResponse' from JSON`, ); } diff --git a/packages/typescript/src/models/components/errorscimtypejson.ts b/packages/typescript/src/models/components/errorscimtype.ts similarity index 65% rename from packages/typescript/src/models/components/errorscimtypejson.ts rename to packages/typescript/src/models/components/errorscimtype.ts index 9219eb99e..2e8b21fe2 100644 --- a/packages/typescript/src/models/components/errorscimtypejson.ts +++ b/packages/typescript/src/models/components/errorscimtype.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the scim type of the error. */ -export const ErrorScimTypeJson = { +export const ErrorScimType = { InvalidFilter: "invalidFilter", Uniqueness: "uniqueness", InvalidSyntax: "invalidSyntax", @@ -17,9 +17,9 @@ export const ErrorScimTypeJson = { /** * This is used to denote the scim type of the error. */ -export type ErrorScimTypeJson = ClosedEnum; +export type ErrorScimType = ClosedEnum; /** @internal */ -export const ErrorScimTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ErrorScimTypeJson -> = z.nativeEnum(ErrorScimTypeJson); +export const ErrorScimType$inboundSchema: z.ZodNativeEnum< + typeof ErrorScimType +> = z.nativeEnum(ErrorScimType); diff --git a/packages/typescript/src/models/components/existingcustomfield.ts b/packages/typescript/src/models/components/existingcustomfield.ts index 49e32e932..1d4778e99 100644 --- a/packages/typescript/src/models/components/existingcustomfield.ts +++ b/packages/typescript/src/models/components/existingcustomfield.ts @@ -6,31 +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 { Choices1, Choices1$inboundSchema } from "./choices1.js"; import { - CustomFieldCategoryJson, - CustomFieldCategoryJson$inboundSchema, -} from "./customfieldcategoryjson.js"; + CustomFieldCategory, + CustomFieldCategory$inboundSchema, +} from "./customfieldcategory.js"; import { - CustomFieldTypeJson, - CustomFieldTypeJson$inboundSchema, -} from "./customfieldtypejson.js"; + CustomFieldType2, + CustomFieldType2$inboundSchema, +} from "./customfieldtype2.js"; import { - DisplayInDataTagJson, - DisplayInDataTagJson$inboundSchema, -} from "./displayindatatagjson.js"; -import { One, One$inboundSchema } from "./one.js"; + DisplayInDataTag, + DisplayInDataTag$inboundSchema, +} from "./displayindatatag.js"; import { - PageVisibilityJson, - PageVisibilityJson$inboundSchema, -} from "./pagevisibilityjson.js"; -import { Three, Three$inboundSchema } from "./three.js"; -import { Two, Two$inboundSchema } from "./two.js"; -import { ZeroOneOf1, ZeroOneOf1$inboundSchema } from "./zerooneof1.js"; + OpenEndedCommentBox, + OpenEndedCommentBox$inboundSchema, +} from "./openendedcommentbox.js"; +import { + OpenEndedDateTime1, + OpenEndedDateTime1$inboundSchema, +} from "./openendeddatetime1.js"; +import { + OpenEndedOneLine, + OpenEndedOneLine$inboundSchema, +} from "./openendedoneline.js"; +import { + PageVisibility, + PageVisibility$inboundSchema, +} from "./pagevisibility.js"; /** * Type-specific details of the custom-field. */ -export type ExistingCustomFieldDetails = ZeroOneOf1 | One | Two | Three; +export type ExistingCustomFieldDetails = + | OpenEndedOneLine + | OpenEndedDateTime1 + | OpenEndedCommentBox + | Choices1; /** * This is used to denote an existing custom field. @@ -55,7 +68,7 @@ export type ExistingCustomField = { /** * This is used to denote the category of a custom field. */ - category: CustomFieldCategoryJson; + category: CustomFieldCategory; /** * The actual text of the custom field. */ @@ -71,11 +84,16 @@ 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: CustomFieldTypeJson; + type: CustomFieldType2; /** * Type-specific details of the custom-field. */ - details?: ZeroOneOf1 | One | Two | Three | undefined; + details?: + | OpenEndedOneLine + | OpenEndedDateTime1 + | OpenEndedCommentBox + | Choices1 + | undefined; /** * The order of the custom field on the display page. */ @@ -87,7 +105,7 @@ export type ExistingCustomField = { /** * 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. */ - displayInDataTag: DisplayInDataTagJson; + displayInDataTag: DisplayInDataTag; /** * Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. */ @@ -107,7 +125,7 @@ export type ExistingCustomField = { /** * Visibility of the custom field on various pages/forms. */ - pageVisibility?: PageVisibilityJson | undefined; + pageVisibility?: PageVisibility | undefined; /** * The ID of the custom field. */ @@ -120,10 +138,10 @@ export const ExistingCustomFieldDetails$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([ - ZeroOneOf1$inboundSchema, - One$inboundSchema, - Two$inboundSchema, - Three$inboundSchema, + OpenEndedOneLine$inboundSchema, + OpenEndedDateTime1$inboundSchema, + OpenEndedCommentBox$inboundSchema, + Choices1$inboundSchema, ]); export function existingCustomFieldDetailsFromJSON( @@ -149,25 +167,25 @@ export const ExistingCustomField$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - category: CustomFieldCategoryJson$inboundSchema, + category: CustomFieldCategory$inboundSchema, name: z.string(), code: z.string(), required: z.boolean().default(true), - type: CustomFieldTypeJson$inboundSchema, + type: CustomFieldType2$inboundSchema, details: z.union([ - ZeroOneOf1$inboundSchema, - One$inboundSchema, - Two$inboundSchema, - Three$inboundSchema, + OpenEndedOneLine$inboundSchema, + OpenEndedDateTime1$inboundSchema, + OpenEndedCommentBox$inboundSchema, + Choices1$inboundSchema, ]).optional(), order: z.number().int().optional(), helpText: z.string().optional(), - displayInDataTag: DisplayInDataTagJson$inboundSchema.default("No"), + displayInDataTag: DisplayInDataTag$inboundSchema.default("No"), defaultTagText: z.string().optional(), consentField: z.boolean().default(false), active: z.boolean().default(true), displayInEventCreationWizard: z.boolean().default(false), - pageVisibility: PageVisibilityJson$inboundSchema.optional(), + pageVisibility: PageVisibility$inboundSchema.optional(), id: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/existingcustomfieldinput.ts b/packages/typescript/src/models/components/existingcustomfieldinput.ts index 698ba565a..3b3ec781e 100644 --- a/packages/typescript/src/models/components/existingcustomfieldinput.ts +++ b/packages/typescript/src/models/components/existingcustomfieldinput.ts @@ -4,43 +4,51 @@ import * as z from "zod/v3"; import { - CustomFieldCategoryJson, - CustomFieldCategoryJson$outboundSchema, -} from "./customfieldcategoryjson.js"; + Choices1Input, + Choices1Input$Outbound, + Choices1Input$outboundSchema, +} from "./choices1input.js"; import { - CustomFieldTypeJson, - CustomFieldTypeJson$outboundSchema, -} from "./customfieldtypejson.js"; + CustomFieldCategory, + CustomFieldCategory$outboundSchema, +} from "./customfieldcategory.js"; import { - DisplayInDataTagJson, - DisplayInDataTagJson$outboundSchema, -} from "./displayindatatagjson.js"; -import { One, One$Outbound, One$outboundSchema } from "./one.js"; + CustomFieldType2, + CustomFieldType2$outboundSchema, +} from "./customfieldtype2.js"; import { - PageVisibilityJson, - PageVisibilityJson$Outbound, - PageVisibilityJson$outboundSchema, -} from "./pagevisibilityjson.js"; + DisplayInDataTag, + DisplayInDataTag$outboundSchema, +} from "./displayindatatag.js"; import { - ThreeInput, - ThreeInput$Outbound, - ThreeInput$outboundSchema, -} from "./threeinput.js"; -import { Two, Two$Outbound, Two$outboundSchema } from "./two.js"; + OpenEndedCommentBox, + OpenEndedCommentBox$Outbound, + OpenEndedCommentBox$outboundSchema, +} from "./openendedcommentbox.js"; import { - ZeroOneOf1, - ZeroOneOf1$Outbound, - ZeroOneOf1$outboundSchema, -} from "./zerooneof1.js"; + OpenEndedDateTime1, + OpenEndedDateTime1$Outbound, + OpenEndedDateTime1$outboundSchema, +} from "./openendeddatetime1.js"; +import { + OpenEndedOneLine, + OpenEndedOneLine$Outbound, + OpenEndedOneLine$outboundSchema, +} from "./openendedoneline.js"; +import { + PageVisibility, + PageVisibility$Outbound, + PageVisibility$outboundSchema, +} from "./pagevisibility.js"; /** * Type-specific details of the custom-field. */ export type ExistingCustomFieldDetailsInput = - | ZeroOneOf1 - | One - | Two - | ThreeInput; + | OpenEndedOneLine + | OpenEndedDateTime1 + | OpenEndedCommentBox + | Choices1Input; /** * This is used to denote an existing custom field. @@ -49,7 +57,7 @@ export type ExistingCustomFieldInput = { /** * This is used to denote the category of a custom field. */ - category: CustomFieldCategoryJson; + category: CustomFieldCategory; /** * The actual text of the custom field. */ @@ -65,11 +73,16 @@ 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: CustomFieldTypeJson; + type: CustomFieldType2; /** * Type-specific details of the custom-field. */ - details?: ZeroOneOf1 | One | Two | ThreeInput | undefined; + details?: + | OpenEndedOneLine + | OpenEndedDateTime1 + | OpenEndedCommentBox + | Choices1Input + | undefined; /** * The help text of the custom field. */ @@ -77,7 +90,7 @@ export type ExistingCustomFieldInput = { /** * 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. */ - displayInDataTag?: DisplayInDataTagJson | undefined; + displayInDataTag?: DisplayInDataTag | undefined; /** * Default text in emails when a contact does not have a value answered for this custom field. Only applicable to contact custom fields. */ @@ -97,7 +110,7 @@ export type ExistingCustomFieldInput = { /** * Visibility of the custom field on various pages/forms. */ - pageVisibility?: PageVisibilityJson | undefined; + pageVisibility?: PageVisibility | undefined; /** * The ID of the custom field. */ @@ -106,10 +119,10 @@ export type ExistingCustomFieldInput = { /** @internal */ export type ExistingCustomFieldDetailsInput$Outbound = - | ZeroOneOf1$Outbound - | One$Outbound - | Two$Outbound - | ThreeInput$Outbound; + | OpenEndedOneLine$Outbound + | OpenEndedDateTime1$Outbound + | OpenEndedCommentBox$Outbound + | Choices1Input$Outbound; /** @internal */ export const ExistingCustomFieldDetailsInput$outboundSchema: z.ZodType< @@ -117,10 +130,10 @@ export const ExistingCustomFieldDetailsInput$outboundSchema: z.ZodType< z.ZodTypeDef, ExistingCustomFieldDetailsInput > = z.union([ - ZeroOneOf1$outboundSchema, - One$outboundSchema, - Two$outboundSchema, - ThreeInput$outboundSchema, + OpenEndedOneLine$outboundSchema, + OpenEndedDateTime1$outboundSchema, + OpenEndedCommentBox$outboundSchema, + Choices1Input$outboundSchema, ]); export function existingCustomFieldDetailsInputToJSON( @@ -141,10 +154,10 @@ export type ExistingCustomFieldInput$Outbound = { required: boolean; type: string; details?: - | ZeroOneOf1$Outbound - | One$Outbound - | Two$Outbound - | ThreeInput$Outbound + | OpenEndedOneLine$Outbound + | OpenEndedDateTime1$Outbound + | OpenEndedCommentBox$Outbound + | Choices1Input$Outbound | undefined; helpText?: string | undefined; displayInDataTag: string; @@ -152,7 +165,7 @@ export type ExistingCustomFieldInput$Outbound = { consentField: boolean; active: boolean; displayInEventCreationWizard: boolean; - pageVisibility?: PageVisibilityJson$Outbound | undefined; + pageVisibility?: PageVisibility$Outbound | undefined; id?: string | undefined; }; @@ -162,24 +175,24 @@ export const ExistingCustomFieldInput$outboundSchema: z.ZodType< z.ZodTypeDef, ExistingCustomFieldInput > = z.object({ - category: CustomFieldCategoryJson$outboundSchema, + category: CustomFieldCategory$outboundSchema, name: z.string(), code: z.string(), required: z.boolean().default(true), - type: CustomFieldTypeJson$outboundSchema, + type: CustomFieldType2$outboundSchema, details: z.union([ - ZeroOneOf1$outboundSchema, - One$outboundSchema, - Two$outboundSchema, - ThreeInput$outboundSchema, + OpenEndedOneLine$outboundSchema, + OpenEndedDateTime1$outboundSchema, + OpenEndedCommentBox$outboundSchema, + Choices1Input$outboundSchema, ]).optional(), helpText: z.string().optional(), - displayInDataTag: DisplayInDataTagJson$outboundSchema.default("No"), + displayInDataTag: DisplayInDataTag$outboundSchema.default("No"), defaultTagText: z.string().optional(), consentField: z.boolean().default(false), active: z.boolean().default(true), displayInEventCreationWizard: z.boolean().default(false), - pageVisibility: PageVisibilityJson$outboundSchema.optional(), + pageVisibility: PageVisibility$outboundSchema.optional(), id: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/groupjson.ts b/packages/typescript/src/models/components/group.ts similarity index 55% rename from packages/typescript/src/models/components/groupjson.ts rename to packages/typescript/src/models/components/group.ts index 425c6c4d3..4847d19f4 100644 --- a/packages/typescript/src/models/components/groupjson.ts +++ b/packages/typescript/src/models/components/group.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Generic sample name. Not a real model used by any Cvent service. */ -export type GroupJson = { +export type Group = { /** * The unique ID of the SCIM group. */ @@ -22,39 +22,36 @@ export type GroupJson = { }; /** @internal */ -export const GroupJson$inboundSchema: z.ZodType< - GroupJson, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), - display: z.string().optional(), -}); +export const Group$inboundSchema: z.ZodType = z + .object({ + value: z.string(), + display: z.string().optional(), + }); /** @internal */ -export type GroupJson$Outbound = { +export type Group$Outbound = { value: string; display?: string | undefined; }; /** @internal */ -export const GroupJson$outboundSchema: z.ZodType< - GroupJson$Outbound, +export const Group$outboundSchema: z.ZodType< + Group$Outbound, z.ZodTypeDef, - GroupJson + Group > = z.object({ value: z.string(), display: z.string().optional(), }); -export function groupJsonToJSON(groupJson: GroupJson): string { - return JSON.stringify(GroupJson$outboundSchema.parse(groupJson)); +export function groupToJSON(group: Group): string { + return JSON.stringify(Group$outboundSchema.parse(group)); } -export function groupJsonFromJSON( +export function groupFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GroupJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GroupJson' from JSON`, + (x) => Group$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Group' from JSON`, ); } diff --git a/packages/typescript/src/models/components/groupjson0.ts b/packages/typescript/src/models/components/group1.ts similarity index 56% rename from packages/typescript/src/models/components/groupjson0.ts rename to packages/typescript/src/models/components/group1.ts index 5949b55fc..33b9cccda 100644 --- a/packages/typescript/src/models/components/groupjson0.ts +++ b/packages/typescript/src/models/components/group1.ts @@ -6,12 +6,12 @@ import * as 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 { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; +import { Meta, Meta$inboundSchema } from "./meta.js"; /** * Generic sample name. Not a real model used by any Cvent service. */ -export type GroupJson0 = { +export type Group1 = { /** * The list of schemas using this resource. */ @@ -27,27 +27,24 @@ export type GroupJson0 = { /** * Metadata of the resource. */ - meta?: MetaJson | undefined; + meta?: Meta | undefined; }; /** @internal */ -export const GroupJson0$inboundSchema: z.ZodType< - GroupJson0, - z.ZodTypeDef, - unknown -> = z.object({ - schemas: z.array(z.string()).optional(), - id: z.string(), - displayName: z.string().optional(), - meta: MetaJson$inboundSchema.optional(), -}); +export const Group1$inboundSchema: z.ZodType = z + .object({ + schemas: z.array(z.string()).optional(), + id: z.string(), + displayName: z.string().optional(), + meta: Meta$inboundSchema.optional(), + }); -export function groupJson0FromJSON( +export function group1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GroupJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GroupJson0' from JSON`, + (x) => Group1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Group1' from JSON`, ); } diff --git a/packages/typescript/src/models/components/hotelrequest.ts b/packages/typescript/src/models/components/hotelrequest.ts index 1d5dac21f..4824d06ef 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 { Address5, Address5$inboundSchema } from "./address5.js"; +import { Address6, Address6$inboundSchema } from "./address6.js"; import { AttendeeAnswer1, AttendeeAnswer1$inboundSchema, @@ -188,7 +188,7 @@ export type HotelRequest = { /** * Address of the hotel. */ - hotelAddress?: Address5 | undefined; + hotelAddress?: Address6 | 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: Address5$inboundSchema.optional(), + hotelAddress: Address6$inboundSchema.optional(), hotelRoomRates: z.array(HotelRoomRate$inboundSchema).optional(), hotelRequestAnswers: z.array(AttendeeAnswer1$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/index.ts b/packages/typescript/src/models/components/index.ts index 96fbc70d2..19a938b0d 100644 --- a/packages/typescript/src/models/components/index.ts +++ b/packages/typescript/src/models/components/index.ts @@ -29,16 +29,16 @@ export * from "./address3.js"; export * from "./address4.js"; export * from "./address5.js"; export * from "./address6.js"; +export * from "./address7.js"; export * from "./addressinput.js"; export * from "./addressjson.js"; export * from "./addressjson1.js"; -export * from "./addressjson2.js"; export * from "./addresstype.js"; -export * from "./addresstypejson.js"; +export * from "./addresstype1.js"; export * from "./adlocationjson.js"; export * from "./admissionitemspaginatedresponse.js"; export * from "./advancedlogic.js"; -export * from "./advancedlogicchoicesjson.js"; +export * from "./advancedlogicchoices.js"; export * from "./agendaitem1.js"; export * from "./agendaitemsetup.js"; export * from "./agendaitemtype.js"; @@ -149,11 +149,8 @@ export * from "./attendeeupdate.js"; export * from "./attendeeupdatestatus.js"; export * from "./attendeevisibility.js"; export * from "./attendeeweblinks.js"; -export * from "./attributedatatypejson.js"; -export * from "./attributejson.js"; -export * from "./attributereferencetypejson.js"; -export * from "./attributereturnedtypejson.js"; -export * from "./attributeuniquenesstypejson.js"; +export * from "./attribute.js"; +export * from "./attributedatatype.js"; export * from "./audiencesegment.js"; export * from "./audiencesegmentcreate.js"; export * from "./audiencesegmentcreationtypejson.js"; @@ -163,7 +160,7 @@ export * from "./audiotracksresponse.js"; export * from "./audiotrackstatus.js"; export * from "./audiotracktype.js"; export * from "./audiotrackvariant.js"; -export * from "./authenticationschemajson.js"; +export * from "./authenticationschema.js"; export * from "./availablenightjson.js"; export * from "./availablenights.js"; export * from "./availabletimejson.js"; @@ -279,12 +276,13 @@ export * from "./chattypejson.js"; export * from "./checkinjson.js"; export * from "./choice.js"; export * from "./choice1.js"; +export * from "./choice2.js"; +export * from "./choice2input.js"; export * from "./choicejson1.js"; -export * from "./choicejson2.js"; -export * from "./choicejson2input.js"; -export * from "./choicesdisplaytypejson.js"; +export * from "./choices1.js"; +export * from "./choices1input.js"; export * from "./choicesortorder.js"; -export * from "./choicetranslationjson.js"; +export * from "./choicetranslation.js"; export * from "./choicetypejson.js"; export * from "./commenttype.js"; export * from "./communicationconfiguration.js"; @@ -354,7 +352,7 @@ export * from "./customfield.js"; export * from "./customfield2.js"; export * from "./customfield3.js"; export * from "./customfieldanswers.js"; -export * from "./customfieldcategoryjson.js"; +export * from "./customfieldcategory.js"; export * from "./customfieldexpand.js"; export * from "./customfieldjson.js"; export * from "./customfieldjson1.js"; @@ -362,12 +360,12 @@ export * from "./customfieldjson2.js"; export * from "./customfieldschema.js"; export * from "./customfieldsjson.js"; export * from "./customfieldspaginatedresponse.js"; -export * from "./customfieldtypejson.js"; +export * from "./customfieldtype2.js"; export * from "./dateanswerformat.js"; export * from "./datepattern1.js"; export * from "./daterequirements1.js"; export * from "./dates1.js"; -export * from "./datetimedisplayformatjson.js"; +export * from "./datetimedisplayformat.js"; export * from "./datetypejson.js"; export * from "./dayofweek.js"; export * from "./device.js"; @@ -381,8 +379,9 @@ export * from "./discountdetail.js"; export * from "./discountmethod.js"; export * from "./discountmethodtype.js"; export * from "./discounttype.js"; -export * from "./displayindatatagjson.js"; +export * from "./displayindatatag.js"; export * from "./displaytype.js"; +export * from "./displaytype1.js"; export * from "./distancejson.js"; export * from "./distributionlistinfo.js"; export * from "./distributionlistinfoinput.js"; @@ -395,22 +394,22 @@ export * from "./durationpaginatedresponse.js"; export * from "./earlybirdpricing.js"; export * from "./eliteraturedocument.js"; export * from "./eliteraturerequestpaginatedresponse.js"; +export * from "./email.js"; export * from "./emailhistoryjson.js"; export * from "./emailhistorypaginatedresponse.js"; export * from "./emailjson1.js"; -export * from "./emailjson2.js"; export * from "./emailsendstatus.js"; export * from "./emailstatusjson.js"; export * from "./emailtemplatedatajson.js"; export * from "./emailtemplatepaginatedresponse.js"; +export * from "./emailtype1.js"; export * from "./emailtypejson.js"; -export * from "./emailtypejson1.js"; export * from "./encodingprofile.js"; export * from "./entitytype1.js"; +export * from "./errorresponse.js"; export * from "./errorresponse1.js"; -export * from "./errorresponse2.js"; export * from "./errorresponsebase.js"; -export * from "./errorscimtypejson.js"; +export * from "./errorscimtype.js"; export * from "./estimatedcostjson.js"; export * from "./evaluationresultjson.js"; export * from "./event1.js"; @@ -585,8 +584,8 @@ export * from "./generalledger.js"; export * from "./generalledger1.js"; export * from "./generalledgerjson.js"; export * from "./generalledgerjsoninput.js"; -export * from "./groupjson.js"; -export * from "./groupjson0.js"; +export * from "./group.js"; +export * from "./group1.js"; export * from "./guest.js"; export * from "./guestjson.js"; export * from "./guestroomoccupancy.js"; @@ -634,7 +633,8 @@ export * from "./invitationlistjson.js"; export * from "./invitationlistpaginatedresponse.js"; export * from "./invoicefile.js"; export * from "./itemjson.js"; -export * from "./languagejson.js"; +export * from "./journeytype.js"; +export * from "./language1.js"; export * from "./largechoicejson.js"; export * from "./largechoicespaginatedresponse.js"; export * from "./launchfeaturetypejson.js"; @@ -686,15 +686,17 @@ export * from "./meetingroomsetuptypejson.js"; export * from "./membershipitemspaginatedresponse.js"; export * from "./messagerecipientresponse.js"; export * from "./messagerecipientspaginatedresponse.js"; -export * from "./metajson.js"; -export * from "./mutabilityjson.js"; +export * from "./meta.js"; +export * from "./mutability.js"; +export * from "./name.js"; export * from "./namedobject.js"; -export * from "./namejson.js"; export * from "./newreservation.js"; export * from "./nightratejson.js"; export * from "./numericanswerformat.js"; export * from "./offeringcosttype1.js"; -export * from "./one.js"; +export * from "./openendedcommentbox.js"; +export * from "./openendeddatetime1.js"; +export * from "./openendedoneline.js"; export * from "./optoutby.js"; export * from "./optoutbyjson.js"; export * from "./order.js"; @@ -711,7 +713,7 @@ export * from "./organization.js"; export * from "./organizationtype1.js"; export * from "./otherpaymentjson.js"; export * from "./packagepricingpreference.js"; -export * from "./pagevisibilityjson.js"; +export * from "./pagevisibility.js"; export * from "./paginatedexistingmember.js"; export * from "./paginatedinternaldocuments.js"; export * from "./paginatedrfpagendaitems.js"; @@ -743,8 +745,8 @@ export * from "./paymenttype.js"; export * from "./paymenttype1.js"; export * from "./paymenttypejson.js"; export * from "./paymenttypesjson.js"; -export * from "./phonenumberjson1.js"; -export * from "./phonetypejson.js"; +export * from "./phonenumber.js"; +export * from "./phonetype.js"; export * from "./plannerjson.js"; export * from "./plannerjson1.js"; export * from "./plannerjson2.js"; @@ -829,6 +831,7 @@ export * from "./recipientsrequestjson.js"; export * from "./recipientsresponsejson.js"; export * from "./recipienttype.js"; export * from "./reconciliationstatusjson.js"; +export * from "./referencetype.js"; export * from "./refundpolicy.js"; export * from "./refundtype.js"; export * from "./regionjson1.js"; @@ -852,7 +855,6 @@ export * from "./reservationrequestpaginatedresponse.js"; export * from "./reservationrequeststatusesjson.js"; export * from "./reservationspaginatedresponse.js"; export * from "./resourcetype.js"; -export * from "./resourcetypejson.js"; export * from "./resourcetypes.js"; export * from "./respondedthroughjson.js"; export * from "./respondentchapterreferencejson.js"; @@ -863,6 +865,7 @@ export * from "./respondentspaginatedresponse.js"; export * from "./respondentstatusjson.js"; export * from "./responsejson.js"; export * from "./responsespaginatedresponse.js"; +export * from "./returnedtype.js"; export * from "./rewardprogramjson.js"; export * from "./rfp.js"; export * from "./rfpagendaitem.js"; @@ -899,13 +902,13 @@ export * from "./roomtypedetails.js"; export * from "./roomtypeidjson.js"; export * from "./scheduleactionjson.js"; export * from "./schedulejson.js"; -export * from "./schemajson.js"; export * from "./schemeoauth2clientcredentials.js"; export * from "./scoresjson.js"; export * from "./scorespaginatedresponse.js"; export * from "./seatingassignmentexpand.js"; export * from "./seatingpaginatedresponse.js"; export * from "./seatspaginatedresponse.js"; +export * from "./seattype.js"; export * from "./security.js"; export * from "./segment.js"; export * from "./segmentattendeeresponsejson.js"; @@ -1008,14 +1011,13 @@ export * from "./taxandfeejson.js"; export * from "./taxespaginatedresponse.js"; export * from "./taxschedule.js"; export * from "./taxstructurejson.js"; -export * from "./taxtype.js"; +export * from "./taxtype1.js"; export * from "./textanswerformat.js"; export * from "./textfield.js"; export * from "./textfieldjson.js"; -export * from "./three.js"; -export * from "./threeinput.js"; export * from "./thumbnailstatus.js"; export * from "./thumbnailtype.js"; +export * from "./tickettype.js"; export * from "./tierjson.js"; export * from "./timerangetypejson.js"; export * from "./tokenizedcreditcardjsoninput.js"; @@ -1075,14 +1077,14 @@ export * from "./travelproposalgroupandmeetingrunofhouserate.js"; export * from "./travelproposalgroupandmeetingtaxandservicecharge.js"; export * from "./travelproposalpaginatedresponse.js"; export * from "./travelrequeststatus.js"; -export * from "./two.js"; +export * from "./uniquenesstype.js"; export * from "./unitposition.js"; export * from "./updateappointmentrequest.js"; export * from "./updatedthroughnameproperty.js"; export * from "./usage.js"; export * from "./usagepaginatedresponse.js"; export * from "./user.js"; -export * from "./userenterpriseextensionjson.js"; +export * from "./userenterpriseextension.js"; export * from "./usergroupjson.js"; export * from "./usergroupjson1.js"; export * from "./usergroupjsoninput.js"; @@ -1090,11 +1092,10 @@ export * from "./usergroups.js"; export * from "./usergroupsjson.js"; export * from "./usergroupspaginatedresponse.js"; export * from "./userinput.js"; -export * from "./userjson.js"; export * from "./users.js"; export * from "./usersschema.js"; export * from "./usersschemas.js"; -export * from "./usertypejson.js"; +export * from "./usertype.js"; export * from "./utmoverride.js"; export * from "./uuid.js"; export * from "./uuidjson.js"; @@ -1155,5 +1156,4 @@ export * from "./zeroallof7.js"; export * from "./zeroallof8.js"; export * from "./zeroanyof.js"; export * from "./zeroinput.js"; -export * from "./zerooneof1.js"; -export * from "./zerooneof2.js"; +export * from "./zerooneof.js"; diff --git a/packages/typescript/src/models/components/journeytype.ts b/packages/typescript/src/models/components/journeytype.ts new file mode 100644 index 000000000..dc024e625 --- /dev/null +++ b/packages/typescript/src/models/components/journeytype.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"; + +/** + * Type of journey for an air booking. + */ +export const JourneyType = { + Oneway: "Oneway", + RoundTrip: "RoundTrip", +} as const; +/** + * Type of journey for an air booking. + */ +export type JourneyType = ClosedEnum; + +/** @internal */ +export const JourneyType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(JourneyType); diff --git a/packages/typescript/src/models/components/languagejson.ts b/packages/typescript/src/models/components/language1.ts similarity index 82% rename from packages/typescript/src/models/components/languagejson.ts rename to packages/typescript/src/models/components/language1.ts index 9fe10814c..adeeba52f 100644 --- a/packages/typescript/src/models/components/languagejson.ts +++ b/packages/typescript/src/models/components/language1.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * IETF language code used to specify a target language for the translation. */ -export const LanguageJson = { +export const Language1 = { AfZA: "af-ZA", ArSA: "ar-SA", AZLatnAZ: "az-Latn-AZ", @@ -77,11 +77,11 @@ export const LanguageJson = { /** * IETF language code used to specify a target language for the translation. */ -export type LanguageJson = ClosedEnum; +export type Language1 = ClosedEnum; /** @internal */ -export const LanguageJson$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(LanguageJson); +export const Language1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Language1); /** @internal */ -export const LanguageJson$outboundSchema: z.ZodNativeEnum = - LanguageJson$inboundSchema; +export const Language1$outboundSchema: z.ZodNativeEnum = + Language1$inboundSchema; diff --git a/packages/typescript/src/models/components/metajson.ts b/packages/typescript/src/models/components/meta.ts similarity index 57% rename from packages/typescript/src/models/components/metajson.ts rename to packages/typescript/src/models/components/meta.ts index f8c9f1741..913ae43db 100644 --- a/packages/typescript/src/models/components/metajson.ts +++ b/packages/typescript/src/models/components/meta.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Metadata of the resource. */ -export type MetaJson = { +export type Meta = { /** * The type of the resource. */ @@ -30,26 +30,23 @@ export type MetaJson = { }; /** @internal */ -export const MetaJson$inboundSchema: z.ZodType< - MetaJson, - z.ZodTypeDef, - unknown -> = z.object({ - resourceType: z.string().optional(), - location: z.string().optional(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - lastModified: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), -}); +export const Meta$inboundSchema: z.ZodType = z + .object({ + resourceType: z.string().optional(), + location: z.string().optional(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + }); -export function metaJsonFromJSON( +export function metaFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => MetaJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MetaJson' from JSON`, + (x) => Meta$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Meta' from JSON`, ); } diff --git a/packages/typescript/src/models/components/mutabilityjson.ts b/packages/typescript/src/models/components/mutability.ts similarity index 66% rename from packages/typescript/src/models/components/mutabilityjson.ts rename to packages/typescript/src/models/components/mutability.ts index c9d6e6a97..7decae943 100644 --- a/packages/typescript/src/models/components/mutabilityjson.ts +++ b/packages/typescript/src/models/components/mutability.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the mutability of the attribute. */ -export const MutabilityJson = { +export const Mutability = { ReadOnly: "readOnly", ReadWrite: "readWrite", Immutable: "immutable", @@ -17,9 +17,8 @@ export const MutabilityJson = { /** * This is used to denote the mutability of the attribute. */ -export type MutabilityJson = ClosedEnum; +export type Mutability = ClosedEnum; /** @internal */ -export const MutabilityJson$inboundSchema: z.ZodNativeEnum< - typeof MutabilityJson -> = z.nativeEnum(MutabilityJson); +export const Mutability$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Mutability); diff --git a/packages/typescript/src/models/components/namejson.ts b/packages/typescript/src/models/components/name.ts similarity index 50% rename from packages/typescript/src/models/components/namejson.ts rename to packages/typescript/src/models/components/name.ts index 6f78906ef..c155bb93f 100644 --- a/packages/typescript/src/models/components/namejson.ts +++ b/packages/typescript/src/models/components/name.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The name of the user. */ -export type NameJson = { +export type Name = { /** * The given/first name of the user. */ @@ -30,18 +30,15 @@ export type NameJson = { }; /** @internal */ -export const NameJson$inboundSchema: z.ZodType< - NameJson, - z.ZodTypeDef, - unknown -> = z.object({ - givenName: z.string(), - familyName: z.string(), - middleName: z.string().optional(), - honorificPrefix: z.string().optional(), -}); +export const Name$inboundSchema: z.ZodType = z + .object({ + givenName: z.string(), + familyName: z.string(), + middleName: z.string().optional(), + honorificPrefix: z.string().optional(), + }); /** @internal */ -export type NameJson$Outbound = { +export type Name$Outbound = { givenName: string; familyName: string; middleName?: string | undefined; @@ -49,26 +46,23 @@ export type NameJson$Outbound = { }; /** @internal */ -export const NameJson$outboundSchema: z.ZodType< - NameJson$Outbound, - z.ZodTypeDef, - NameJson -> = z.object({ - givenName: z.string(), - familyName: z.string(), - middleName: z.string().optional(), - honorificPrefix: z.string().optional(), -}); +export const Name$outboundSchema: z.ZodType = + z.object({ + givenName: z.string(), + familyName: z.string(), + middleName: z.string().optional(), + honorificPrefix: z.string().optional(), + }); -export function nameJsonToJSON(nameJson: NameJson): string { - return JSON.stringify(NameJson$outboundSchema.parse(nameJson)); +export function nameToJSON(name: Name): string { + return JSON.stringify(Name$outboundSchema.parse(name)); } -export function nameJsonFromJSON( +export function nameFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NameJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NameJson' from JSON`, + (x) => Name$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Name' from JSON`, ); } diff --git a/packages/typescript/src/models/components/one.ts b/packages/typescript/src/models/components/one.ts deleted file mode 100644 index 1b72a4581..000000000 --- a/packages/typescript/src/models/components/one.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 { - 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/openendedcommentbox.ts b/packages/typescript/src/models/components/openendedcommentbox.ts new file mode 100644 index 000000000..f89ef7a80 --- /dev/null +++ b/packages/typescript/src/models/components/openendedcommentbox.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"; + +/** + * This is used to denote the open ended comment box type of custom field. + */ +export type OpenEndedCommentBox = { + /** + * Minimum number/characters allowed. + */ + minimum?: number | undefined; + /** + * Maximum number/characters allowed. + */ + maximum?: number | undefined; +}; + +/** @internal */ +export const OpenEndedCommentBox$inboundSchema: z.ZodType< + OpenEndedCommentBox, + z.ZodTypeDef, + unknown +> = z.object({ + minimum: z.number().int().optional(), + maximum: z.number().int().optional(), +}); +/** @internal */ +export type OpenEndedCommentBox$Outbound = { + minimum?: number | undefined; + maximum?: number | undefined; +}; + +/** @internal */ +export const OpenEndedCommentBox$outboundSchema: z.ZodType< + OpenEndedCommentBox$Outbound, + z.ZodTypeDef, + OpenEndedCommentBox +> = z.object({ + minimum: z.number().int().optional(), + maximum: z.number().int().optional(), +}); + +export function openEndedCommentBoxToJSON( + openEndedCommentBox: OpenEndedCommentBox, +): string { + return JSON.stringify( + OpenEndedCommentBox$outboundSchema.parse(openEndedCommentBox), + ); +} +export function openEndedCommentBoxFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OpenEndedCommentBox$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OpenEndedCommentBox' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/openendeddatetime1.ts b/packages/typescript/src/models/components/openendeddatetime1.ts new file mode 100644 index 000000000..7371d652a --- /dev/null +++ b/packages/typescript/src/models/components/openendeddatetime1.ts @@ -0,0 +1,92 @@ +/* + * 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 { + DateTimeDisplayFormat, + DateTimeDisplayFormat$inboundSchema, + DateTimeDisplayFormat$outboundSchema, +} from "./datetimedisplayformat.js"; + +/** + * This is used to denote the open ended date time type of custom field. + */ +export type OpenEndedDateTime1 = { + /** + * 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?: DateTimeDisplayFormat | 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 OpenEndedDateTime1$inboundSchema: z.ZodType< + OpenEndedDateTime1, + 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: DateTimeDisplayFormat$inboundSchema.optional(), + defaultToCurrentDate: z.boolean().optional(), + displayPopUpCalendar: z.boolean().default(false), +}); +/** @internal */ +export type OpenEndedDateTime1$Outbound = { + from?: string | undefined; + to?: string | undefined; + format?: string | undefined; + defaultToCurrentDate?: boolean | undefined; + displayPopUpCalendar: boolean; +}; + +/** @internal */ +export const OpenEndedDateTime1$outboundSchema: z.ZodType< + OpenEndedDateTime1$Outbound, + z.ZodTypeDef, + OpenEndedDateTime1 +> = z.object({ + from: z.date().transform(v => v.toISOString()).optional(), + to: z.date().transform(v => v.toISOString()).optional(), + format: DateTimeDisplayFormat$outboundSchema.optional(), + defaultToCurrentDate: z.boolean().optional(), + displayPopUpCalendar: z.boolean().default(false), +}); + +export function openEndedDateTime1ToJSON( + openEndedDateTime1: OpenEndedDateTime1, +): string { + return JSON.stringify( + OpenEndedDateTime1$outboundSchema.parse(openEndedDateTime1), + ); +} +export function openEndedDateTime1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OpenEndedDateTime1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OpenEndedDateTime1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/zerooneof1.ts b/packages/typescript/src/models/components/openendedoneline.ts similarity index 67% rename from packages/typescript/src/models/components/zerooneof1.ts rename to packages/typescript/src/models/components/openendedoneline.ts index 9b4e52dd4..4d66f42f6 100644 --- a/packages/typescript/src/models/components/zerooneof1.ts +++ b/packages/typescript/src/models/components/openendedoneline.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * This is used to denote the open ended one line type of custom field. */ -export type ZeroOneOf1 = { +export type OpenEndedOneLine = { /** * The supported answer formats are: General, Number, Currency, Decimal, USPhoneNumber, and EmailAddress. Custom answer formats are also supported and can be created in the Admin section of the planner UI. */ @@ -26,8 +26,8 @@ export type ZeroOneOf1 = { }; /** @internal */ -export const ZeroOneOf1$inboundSchema: z.ZodType< - ZeroOneOf1, +export const OpenEndedOneLine$inboundSchema: z.ZodType< + OpenEndedOneLine, z.ZodTypeDef, unknown > = z.object({ @@ -36,32 +36,36 @@ export const ZeroOneOf1$inboundSchema: z.ZodType< maximum: z.number().int().optional(), }); /** @internal */ -export type ZeroOneOf1$Outbound = { +export type OpenEndedOneLine$Outbound = { answerFormat?: string | undefined; minimum?: number | undefined; maximum?: number | undefined; }; /** @internal */ -export const ZeroOneOf1$outboundSchema: z.ZodType< - ZeroOneOf1$Outbound, +export const OpenEndedOneLine$outboundSchema: z.ZodType< + OpenEndedOneLine$Outbound, z.ZodTypeDef, - ZeroOneOf1 + OpenEndedOneLine > = z.object({ answerFormat: z.string().optional(), minimum: z.number().int().optional(), maximum: z.number().int().optional(), }); -export function zeroOneOf1ToJSON(zeroOneOf1: ZeroOneOf1): string { - return JSON.stringify(ZeroOneOf1$outboundSchema.parse(zeroOneOf1)); +export function openEndedOneLineToJSON( + openEndedOneLine: OpenEndedOneLine, +): string { + return JSON.stringify( + OpenEndedOneLine$outboundSchema.parse(openEndedOneLine), + ); } -export function zeroOneOf1FromJSON( +export function openEndedOneLineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ZeroOneOf1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ZeroOneOf1' from JSON`, + (x) => OpenEndedOneLine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OpenEndedOneLine' from JSON`, ); } diff --git a/packages/typescript/src/models/components/pagevisibilityjson.ts b/packages/typescript/src/models/components/pagevisibility.ts similarity index 70% rename from packages/typescript/src/models/components/pagevisibilityjson.ts rename to packages/typescript/src/models/components/pagevisibility.ts index f72450cd8..c1394cf23 100644 --- a/packages/typescript/src/models/components/pagevisibilityjson.ts +++ b/packages/typescript/src/models/components/pagevisibility.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Visibility of the custom field on various pages/forms. */ -export type PageVisibilityJson = { +export type PageVisibility = { /** * True indicates it's visible on the event essentials event creation form. */ @@ -30,8 +30,8 @@ export type PageVisibilityJson = { }; /** @internal */ -export const PageVisibilityJson$inboundSchema: z.ZodType< - PageVisibilityJson, +export const PageVisibility$inboundSchema: z.ZodType< + PageVisibility, z.ZodTypeDef, unknown > = z.object({ @@ -41,7 +41,7 @@ export const PageVisibilityJson$inboundSchema: z.ZodType< webinarDetailsForm: z.boolean().default(false), }); /** @internal */ -export type PageVisibilityJson$Outbound = { +export type PageVisibility$Outbound = { essentialEventCreationForm: boolean; essentialEventDetailsForm: boolean; webinarCreationForm: boolean; @@ -49,10 +49,10 @@ export type PageVisibilityJson$Outbound = { }; /** @internal */ -export const PageVisibilityJson$outboundSchema: z.ZodType< - PageVisibilityJson$Outbound, +export const PageVisibility$outboundSchema: z.ZodType< + PageVisibility$Outbound, z.ZodTypeDef, - PageVisibilityJson + PageVisibility > = z.object({ essentialEventCreationForm: z.boolean().default(false), essentialEventDetailsForm: z.boolean().default(false), @@ -60,19 +60,15 @@ export const PageVisibilityJson$outboundSchema: z.ZodType< webinarDetailsForm: z.boolean().default(false), }); -export function pageVisibilityJsonToJSON( - pageVisibilityJson: PageVisibilityJson, -): string { - return JSON.stringify( - PageVisibilityJson$outboundSchema.parse(pageVisibilityJson), - ); +export function pageVisibilityToJSON(pageVisibility: PageVisibility): string { + return JSON.stringify(PageVisibility$outboundSchema.parse(pageVisibility)); } -export function pageVisibilityJsonFromJSON( +export function pageVisibilityFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PageVisibilityJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PageVisibilityJson' from JSON`, + (x) => PageVisibility$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PageVisibility' from JSON`, ); } diff --git a/packages/typescript/src/models/components/phonenumber.ts b/packages/typescript/src/models/components/phonenumber.ts new file mode 100644 index 000000000..c3bbc28e9 --- /dev/null +++ b/packages/typescript/src/models/components/phonenumber.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 { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PhoneType, + PhoneType$inboundSchema, + PhoneType$outboundSchema, +} from "./phonetype.js"; + +/** + * Phone Number + */ +export type PhoneNumber = { + /** + * The type of the phone number. + */ + type: PhoneType; + /** + * The phone number of the user. + */ + value: string; +}; + +/** @internal */ +export const PhoneNumber$inboundSchema: z.ZodType< + PhoneNumber, + z.ZodTypeDef, + unknown +> = z.object({ + type: PhoneType$inboundSchema, + value: z.string(), +}); +/** @internal */ +export type PhoneNumber$Outbound = { + type: string; + value: string; +}; + +/** @internal */ +export const PhoneNumber$outboundSchema: z.ZodType< + PhoneNumber$Outbound, + z.ZodTypeDef, + PhoneNumber +> = z.object({ + type: PhoneType$outboundSchema, + value: z.string(), +}); + +export function phoneNumberToJSON(phoneNumber: PhoneNumber): string { + return JSON.stringify(PhoneNumber$outboundSchema.parse(phoneNumber)); +} +export function phoneNumberFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PhoneNumber$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PhoneNumber' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/phonenumberjson1.ts b/packages/typescript/src/models/components/phonenumberjson1.ts deleted file mode 100644 index 05d0e79ab..000000000 --- a/packages/typescript/src/models/components/phonenumberjson1.ts +++ /dev/null @@ -1,69 +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 { - PhoneTypeJson, - PhoneTypeJson$inboundSchema, - PhoneTypeJson$outboundSchema, -} from "./phonetypejson.js"; - -/** - * Phone Number - */ -export type PhoneNumberJson1 = { - /** - * The type of the phone number. - */ - type: PhoneTypeJson; - /** - * The phone number of the user. - */ - value: string; -}; - -/** @internal */ -export const PhoneNumberJson1$inboundSchema: z.ZodType< - PhoneNumberJson1, - z.ZodTypeDef, - unknown -> = z.object({ - type: PhoneTypeJson$inboundSchema, - value: z.string(), -}); -/** @internal */ -export type PhoneNumberJson1$Outbound = { - type: string; - value: string; -}; - -/** @internal */ -export const PhoneNumberJson1$outboundSchema: z.ZodType< - PhoneNumberJson1$Outbound, - z.ZodTypeDef, - PhoneNumberJson1 -> = z.object({ - type: PhoneTypeJson$outboundSchema, - value: z.string(), -}); - -export function phoneNumberJson1ToJSON( - phoneNumberJson1: PhoneNumberJson1, -): string { - return JSON.stringify( - PhoneNumberJson1$outboundSchema.parse(phoneNumberJson1), - ); -} -export function phoneNumberJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PhoneNumberJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PhoneNumberJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/phonetypejson.ts b/packages/typescript/src/models/components/phonetype.ts similarity index 51% rename from packages/typescript/src/models/components/phonetypejson.ts rename to packages/typescript/src/models/components/phonetype.ts index b0400a712..9dc0518c9 100644 --- a/packages/typescript/src/models/components/phonetypejson.ts +++ b/packages/typescript/src/models/components/phonetype.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * The type of the phone number. */ -export const PhoneTypeJson = { +export const PhoneType = { Work: "work", Home: "home", Mobile: "mobile", @@ -16,13 +16,11 @@ export const PhoneTypeJson = { /** * The type of the phone number. */ -export type PhoneTypeJson = ClosedEnum; +export type PhoneType = ClosedEnum; /** @internal */ -export const PhoneTypeJson$inboundSchema: z.ZodNativeEnum< - typeof PhoneTypeJson -> = z.nativeEnum(PhoneTypeJson); +export const PhoneType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(PhoneType); /** @internal */ -export const PhoneTypeJson$outboundSchema: z.ZodNativeEnum< - typeof PhoneTypeJson -> = PhoneTypeJson$inboundSchema; +export const PhoneType$outboundSchema: z.ZodNativeEnum = + PhoneType$inboundSchema; diff --git a/packages/typescript/src/models/components/attributereferencetypejson.ts b/packages/typescript/src/models/components/referencetype.ts similarity index 58% rename from packages/typescript/src/models/components/attributereferencetypejson.ts rename to packages/typescript/src/models/components/referencetype.ts index aeadf91b9..3aa3c53b5 100644 --- a/packages/typescript/src/models/components/attributereferencetypejson.ts +++ b/packages/typescript/src/models/components/referencetype.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the reference type of the attribute. */ -export const AttributeReferenceTypeJson = { +export const ReferenceType = { User: "User", Group: "Group", External: "external", @@ -17,11 +17,9 @@ export const AttributeReferenceTypeJson = { /** * This is used to denote the reference type of the attribute. */ -export type AttributeReferenceTypeJson = ClosedEnum< - typeof AttributeReferenceTypeJson ->; +export type ReferenceType = ClosedEnum; /** @internal */ -export const AttributeReferenceTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AttributeReferenceTypeJson -> = z.nativeEnum(AttributeReferenceTypeJson); +export const ReferenceType$inboundSchema: z.ZodNativeEnum< + typeof ReferenceType +> = z.nativeEnum(ReferenceType); diff --git a/packages/typescript/src/models/components/resourcetype.ts b/packages/typescript/src/models/components/resourcetype.ts index 95aa3fdbf..bde38c66e 100644 --- a/packages/typescript/src/models/components/resourcetype.ts +++ b/packages/typescript/src/models/components/resourcetype.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 { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; +import { Meta, Meta$inboundSchema } from "./meta.js"; -export type ResourceTypeSchemaExtension = { +export type SchemaExtension = { /** * The id of the schema extension */ @@ -50,16 +50,16 @@ export type ResourceType = { /** * The list of schema extensions for the resource type. */ - schemaExtensions?: Array | undefined; + schemaExtensions?: Array | undefined; /** * Metadata of the resource. */ - meta?: MetaJson | undefined; + meta?: Meta | undefined; }; /** @internal */ -export const ResourceTypeSchemaExtension$inboundSchema: z.ZodType< - ResourceTypeSchemaExtension, +export const SchemaExtension$inboundSchema: z.ZodType< + SchemaExtension, z.ZodTypeDef, unknown > = z.object({ @@ -67,13 +67,13 @@ export const ResourceTypeSchemaExtension$inboundSchema: z.ZodType< required: z.boolean().optional(), }); -export function resourceTypeSchemaExtensionFromJSON( +export function schemaExtensionFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ResourceTypeSchemaExtension$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResourceTypeSchemaExtension' from JSON`, + (x) => SchemaExtension$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SchemaExtension' from JSON`, ); } @@ -89,10 +89,9 @@ export const ResourceType$inboundSchema: z.ZodType< description: z.string().optional(), endpoint: z.string().optional(), schema: z.string().optional(), - schemaExtensions: z.array( - z.lazy(() => ResourceTypeSchemaExtension$inboundSchema), - ).optional(), - meta: MetaJson$inboundSchema.optional(), + schemaExtensions: z.array(z.lazy(() => SchemaExtension$inboundSchema)) + .optional(), + meta: Meta$inboundSchema.optional(), }); export function resourceTypeFromJSON( diff --git a/packages/typescript/src/models/components/resourcetypejson.ts b/packages/typescript/src/models/components/resourcetypejson.ts deleted file mode 100644 index ba1b0b413..000000000 --- a/packages/typescript/src/models/components/resourcetypejson.ts +++ /dev/null @@ -1,106 +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 { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; - -export type ResourceTypeJsonSchemaExtension = { - /** - * The id of the schema extension - */ - schema?: string | undefined; - /** - * True indicates if the schema extension is required. - */ - required?: boolean | undefined; -}; - -/** - * Resource Type - */ -export type ResourceTypeJson = { - /** - * The list of schemas using this resource. - */ - schemas?: Array | undefined; - /** - * The unique identifier of the resource type. - */ - id?: string | undefined; - /** - * The name of the resource type. - */ - name?: string | undefined; - /** - * The description of the resource type. - */ - description?: string | undefined; - /** - * The URL of the resource type endpoint. - */ - endpoint?: string | undefined; - /** - * The schema of the resource type. - */ - schema?: string | undefined; - /** - * The list of schema extensions for the resource type. - */ - schemaExtensions?: Array | undefined; - /** - * Metadata of the resource. - */ - meta?: MetaJson | undefined; -}; - -/** @internal */ -export const ResourceTypeJsonSchemaExtension$inboundSchema: z.ZodType< - ResourceTypeJsonSchemaExtension, - z.ZodTypeDef, - unknown -> = z.object({ - schema: z.string().optional(), - required: z.boolean().optional(), -}); - -export function resourceTypeJsonSchemaExtensionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResourceTypeJsonSchemaExtension$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResourceTypeJsonSchemaExtension' from JSON`, - ); -} - -/** @internal */ -export const ResourceTypeJson$inboundSchema: z.ZodType< - ResourceTypeJson, - z.ZodTypeDef, - unknown -> = z.object({ - schemas: z.array(z.string()).optional(), - id: z.string().optional(), - name: z.string().optional(), - description: z.string().optional(), - endpoint: z.string().optional(), - schema: z.string().optional(), - schemaExtensions: z.array( - z.lazy(() => ResourceTypeJsonSchemaExtension$inboundSchema), - ).optional(), - meta: MetaJson$inboundSchema.optional(), -}); - -export function resourceTypeJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResourceTypeJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResourceTypeJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/resourcetypes.ts b/packages/typescript/src/models/components/resourcetypes.ts index e0a8003c8..fe0b49bcf 100644 --- a/packages/typescript/src/models/components/resourcetypes.ts +++ b/packages/typescript/src/models/components/resourcetypes.ts @@ -7,10 +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 { - ResourceTypeJson, - ResourceTypeJson$inboundSchema, -} from "./resourcetypejson.js"; +import { ResourceType, ResourceType$inboundSchema } from "./resourcetype.js"; /** * Resource Types @@ -35,7 +32,7 @@ export type ResourceTypes = { /** * The collection of schema resources. */ - resources?: Array | undefined; + resources?: Array | undefined; }; /** @internal */ @@ -48,7 +45,7 @@ export const ResourceTypes$inboundSchema: z.ZodType< itemsPerPage: z.number().int().optional(), startIndex: z.number().int().optional(), totalResults: z.number().int().optional(), - Resources: z.array(ResourceTypeJson$inboundSchema).optional(), + Resources: z.array(ResourceType$inboundSchema).optional(), }).transform((v) => { return remap$(v, { "Resources": "resources", diff --git a/packages/typescript/src/models/components/attributereturnedtypejson.ts b/packages/typescript/src/models/components/returnedtype.ts similarity index 59% rename from packages/typescript/src/models/components/attributereturnedtypejson.ts rename to packages/typescript/src/models/components/returnedtype.ts index 4cf386bbe..e7b92d230 100644 --- a/packages/typescript/src/models/components/attributereturnedtypejson.ts +++ b/packages/typescript/src/models/components/returnedtype.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the returned type of the attribute. */ -export const AttributeReturnedTypeJson = { +export const ReturnedType = { Always: "always", Never: "never", Default: "default", @@ -17,11 +17,8 @@ export const AttributeReturnedTypeJson = { /** * This is used to denote the returned type of the attribute. */ -export type AttributeReturnedTypeJson = ClosedEnum< - typeof AttributeReturnedTypeJson ->; +export type ReturnedType = ClosedEnum; /** @internal */ -export const AttributeReturnedTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AttributeReturnedTypeJson -> = z.nativeEnum(AttributeReturnedTypeJson); +export const ReturnedType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(ReturnedType); diff --git a/packages/typescript/src/models/components/schemajson.ts b/packages/typescript/src/models/components/schemajson.ts deleted file mode 100644 index 59214172a..000000000 --- a/packages/typescript/src/models/components/schemajson.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { AttributeJson, AttributeJson$inboundSchema } from "./attributejson.js"; -import { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; - -/** - * Schema - */ -export type SchemaJson = { - /** - * The unique identifier of the schema. - */ - id?: string | undefined; - /** - * The name of the schema. - */ - name?: string | undefined; - /** - * The description of the schema. - */ - description?: string | undefined; - /** - * The collection of attributes for the schema. - */ - attributes?: Array | undefined; - /** - * Metadata of the resource. - */ - meta?: MetaJson | undefined; -}; - -/** @internal */ -export const SchemaJson$inboundSchema: z.ZodType< - SchemaJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), - description: z.string().optional(), - attributes: z.array(AttributeJson$inboundSchema).optional(), - meta: MetaJson$inboundSchema.optional(), -}); - -export function schemaJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SchemaJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SchemaJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/schemeoauth2clientcredentials.ts b/packages/typescript/src/models/components/schemeoauth2clientcredentials.ts index 4693b0692..0c4ae62ac 100644 --- a/packages/typescript/src/models/components/schemeoauth2clientcredentials.ts +++ b/packages/typescript/src/models/components/schemeoauth2clientcredentials.ts @@ -5,7 +5,7 @@ import * as z from "zod/v3"; /** - * OAuth2 Client Credentials Flow + * OAuth2 Client Credentials Flow. */ export type SchemeOAuth2ClientCredentials = { clientID: string; diff --git a/packages/typescript/src/models/components/seattype.ts b/packages/typescript/src/models/components/seattype.ts new file mode 100644 index 000000000..c12a35345 --- /dev/null +++ b/packages/typescript/src/models/components/seattype.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"; + +/** + * Preferred or assigned seat type for an air booking. + */ +export const SeatType = { + Aisle: "Aisle", + Window: "Window", +} as const; +/** + * Preferred or assigned seat type for an air booking. + */ +export type SeatType = ClosedEnum; + +/** @internal */ +export const SeatType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(SeatType); diff --git a/packages/typescript/src/models/components/sendemaileventrequest.ts b/packages/typescript/src/models/components/sendemaileventrequest.ts index e9ff8a688..038b8d1b6 100644 --- a/packages/typescript/src/models/components/sendemaileventrequest.ts +++ b/packages/typescript/src/models/components/sendemaileventrequest.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - EmailJson2, - EmailJson2$Outbound, - EmailJson2$outboundSchema, -} from "./emailjson2.js"; + EmailJson1, + EmailJson1$Outbound, + EmailJson1$outboundSchema, +} from "./emailjson1.js"; import { EventJson6, EventJson6$Outbound, @@ -25,7 +25,7 @@ export type SendEmailEventRequest = { /** * Details of an email to be send. */ - email: EmailJson2; + email: EmailJson1; /** * True indicates this email should be resent to attendees who had already received this email previously. */ @@ -39,7 +39,7 @@ export type SendEmailEventRequest = { /** @internal */ export type SendEmailEventRequest$Outbound = { event: EventJson6$Outbound; - email: EmailJson2$Outbound; + email: EmailJson1$Outbound; resendToPreviousRecipients: boolean; attendees: Array; }; @@ -51,7 +51,7 @@ export const SendEmailEventRequest$outboundSchema: z.ZodType< SendEmailEventRequest > = z.object({ event: EventJson6$outboundSchema, - email: EmailJson2$outboundSchema, + email: EmailJson1$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 c6e3911ae..416e97f27 100644 --- a/packages/typescript/src/models/components/sendemaileventresponse.ts +++ b/packages/typescript/src/models/components/sendemaileventresponse.ts @@ -10,7 +10,7 @@ import { AttendeeResponseJson, AttendeeResponseJson$inboundSchema, } from "./attendeeresponsejson.js"; -import { EmailJson2, EmailJson2$inboundSchema } from "./emailjson2.js"; +import { EmailJson1, EmailJson1$inboundSchema } from "./emailjson1.js"; import { EventJson6, EventJson6$inboundSchema } from "./eventjson6.js"; import { SendEmailRequestStatusJson, @@ -56,7 +56,7 @@ export type SendEmailEventResponse = { /** * Details of an email to be send. */ - email: EmailJson2; + email: EmailJson1; /** * True indicates this email should be resent to attendees who had already received this email previously. */ @@ -84,7 +84,7 @@ export const SendEmailEventResponse$inboundSchema: z.ZodType< status: SendEmailRequestStatusJson$inboundSchema.optional(), description: z.string().optional(), event: EventJson6$inboundSchema, - email: EmailJson2$inboundSchema, + email: EmailJson1$inboundSchema, resendToPreviousRecipients: z.boolean(), attendeeResponses: z.array(AttendeeResponseJson$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/serviceproviderconfig.ts b/packages/typescript/src/models/components/serviceproviderconfig.ts index 865db8b7e..65b912ded 100644 --- a/packages/typescript/src/models/components/serviceproviderconfig.ts +++ b/packages/typescript/src/models/components/serviceproviderconfig.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 { - AuthenticationSchemaJson, - AuthenticationSchemaJson$inboundSchema, -} from "./authenticationschemajson.js"; -import { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; + AuthenticationSchema, + AuthenticationSchema$inboundSchema, +} from "./authenticationschema.js"; +import { Meta, Meta$inboundSchema } from "./meta.js"; /** * Config details for patch operations. @@ -123,11 +123,11 @@ export type ServiceProviderConfig = { /** * The collection of authentication schemas. */ - authenticationSchemes?: Array | undefined; + authenticationSchemes?: Array | undefined; /** * Metadata of the resource. */ - meta?: MetaJson | undefined; + meta?: Meta | undefined; }; /** @internal */ @@ -249,9 +249,8 @@ export const ServiceProviderConfig$inboundSchema: z.ZodType< changePassword: z.lazy(() => ChangePassword$inboundSchema).optional(), sort: z.lazy(() => Sort$inboundSchema).optional(), etag: z.lazy(() => Etag$inboundSchema).optional(), - authenticationSchemes: z.array(AuthenticationSchemaJson$inboundSchema) - .optional(), - meta: MetaJson$inboundSchema.optional(), + authenticationSchemes: z.array(AuthenticationSchema$inboundSchema).optional(), + meta: Meta$inboundSchema.optional(), }); export function serviceProviderConfigFromJSON( diff --git a/packages/typescript/src/models/components/taxtype.ts b/packages/typescript/src/models/components/taxtype1.ts similarity index 72% rename from packages/typescript/src/models/components/taxtype.ts rename to packages/typescript/src/models/components/taxtype1.ts index b8d156b49..df8a21494 100644 --- a/packages/typescript/src/models/components/taxtype.ts +++ b/packages/typescript/src/models/components/taxtype1.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * Bid tax type. */ -export const TaxType = { +export const TaxType1 = { CityTax: "city_tax", LodgingTax: "lodging_tax", OccupancyTax: "occupancy_tax", @@ -22,8 +22,8 @@ export const TaxType = { /** * Bid tax type. */ -export type TaxType = ClosedEnum; +export type TaxType1 = ClosedEnum; /** @internal */ -export const TaxType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TaxType); +export const TaxType1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TaxType1); diff --git a/packages/typescript/src/models/components/three.ts b/packages/typescript/src/models/components/three.ts deleted file mode 100644 index 20eb27b39..000000000 --- a/packages/typescript/src/models/components/three.ts +++ /dev/null @@ -1,44 +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 { ChoiceJson2, ChoiceJson2$inboundSchema } from "./choicejson2.js"; -import { - ChoicesDisplayTypeJson, - ChoicesDisplayTypeJson$inboundSchema, -} from "./choicesdisplaytypejson.js"; - -/** - * Choices for a custom field. - */ -export type Three = { - /** - * Choices of custom fields. - */ - 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. - */ - displayType?: ChoicesDisplayTypeJson | undefined; -}; - -/** @internal */ -export const Three$inboundSchema: z.ZodType = z - .object({ - choices: z.array(ChoiceJson2$inboundSchema).optional(), - displayType: ChoicesDisplayTypeJson$inboundSchema.optional(), - }); - -export function threeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Three$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Three' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/threeinput.ts b/packages/typescript/src/models/components/threeinput.ts deleted file mode 100644 index cb3b394fd..000000000 --- a/packages/typescript/src/models/components/threeinput.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { - ChoiceJson2Input, - ChoiceJson2Input$Outbound, - ChoiceJson2Input$outboundSchema, -} from "./choicejson2input.js"; -import { - ChoicesDisplayTypeJson, - ChoicesDisplayTypeJson$outboundSchema, -} from "./choicesdisplaytypejson.js"; - -/** - * Choices for a custom field. - */ -export type ThreeInput = { - /** - * Choices of custom fields. - */ - 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. - */ - displayType?: ChoicesDisplayTypeJson | undefined; -}; - -/** @internal */ -export type ThreeInput$Outbound = { - choices?: Array | undefined; - displayType?: string | undefined; -}; - -/** @internal */ -export const ThreeInput$outboundSchema: z.ZodType< - ThreeInput$Outbound, - z.ZodTypeDef, - ThreeInput -> = z.object({ - choices: z.array(ChoiceJson2Input$outboundSchema).optional(), - displayType: ChoicesDisplayTypeJson$outboundSchema.optional(), -}); - -export function threeInputToJSON(threeInput: ThreeInput): string { - return JSON.stringify(ThreeInput$outboundSchema.parse(threeInput)); -} diff --git a/packages/typescript/src/models/components/tickettype.ts b/packages/typescript/src/models/components/tickettype.ts new file mode 100644 index 000000000..0a7d255c9 --- /dev/null +++ b/packages/typescript/src/models/components/tickettype.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"; + +/** + * Category of the passenger's ticket for an air booking. + */ +export const TicketType = { + EconomyCoach: "Economy/Coach", + Business: "Business", + FirstClass: "FirstClass", +} as const; +/** + * Category of the passenger's ticket for an air booking. + */ +export type TicketType = ClosedEnum; + +/** @internal */ +export const TicketType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TicketType); diff --git a/packages/typescript/src/models/components/translation1.ts b/packages/typescript/src/models/components/translation1.ts index d90c92a16..382e65889 100644 --- a/packages/typescript/src/models/components/translation1.ts +++ b/packages/typescript/src/models/components/translation1.ts @@ -7,16 +7,16 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ChoiceTranslationJson, - ChoiceTranslationJson$inboundSchema, - ChoiceTranslationJson$Outbound, - ChoiceTranslationJson$outboundSchema, -} from "./choicetranslationjson.js"; + ChoiceTranslation, + ChoiceTranslation$inboundSchema, + ChoiceTranslation$Outbound, + ChoiceTranslation$outboundSchema, +} from "./choicetranslation.js"; import { - LanguageJson, - LanguageJson$inboundSchema, - LanguageJson$outboundSchema, -} from "./languagejson.js"; + Language1, + Language1$inboundSchema, + Language1$outboundSchema, +} from "./language1.js"; /** * This is used to denote the translation of the custom field, including its name, help text, and choice texts. @@ -33,7 +33,7 @@ export type Translation = { /** * Translations for the choice texts of a custom field. This property is only applicable for custom fields with choices. */ - choiceTranslations?: Array | undefined; + choiceTranslations?: Array | undefined; }; /** @@ -47,7 +47,7 @@ export type Translation1 = { /** * IETF language code used to specify a target language for the translation. */ - language: LanguageJson; + language: Language1; }; /** @internal */ @@ -58,13 +58,13 @@ export const Translation$inboundSchema: z.ZodType< > = z.object({ nameTranslation: z.string().optional(), helpTextTranslation: z.string().optional(), - choiceTranslations: z.array(ChoiceTranslationJson$inboundSchema).optional(), + choiceTranslations: z.array(ChoiceTranslation$inboundSchema).optional(), }); /** @internal */ export type Translation$Outbound = { nameTranslation?: string | undefined; helpTextTranslation?: string | undefined; - choiceTranslations?: Array | undefined; + choiceTranslations?: Array | undefined; }; /** @internal */ @@ -75,7 +75,7 @@ export const Translation$outboundSchema: z.ZodType< > = z.object({ nameTranslation: z.string().optional(), helpTextTranslation: z.string().optional(), - choiceTranslations: z.array(ChoiceTranslationJson$outboundSchema).optional(), + choiceTranslations: z.array(ChoiceTranslation$outboundSchema).optional(), }); export function translationToJSON(translation: Translation): string { @@ -98,7 +98,7 @@ export const Translation1$inboundSchema: z.ZodType< unknown > = z.object({ translation: z.lazy(() => Translation$inboundSchema), - language: LanguageJson$inboundSchema, + language: Language1$inboundSchema, }); /** @internal */ export type Translation1$Outbound = { @@ -113,7 +113,7 @@ export const Translation1$outboundSchema: z.ZodType< Translation1 > = z.object({ translation: z.lazy(() => Translation$outboundSchema), - language: LanguageJson$outboundSchema, + language: Language1$outboundSchema, }); export function translation1ToJSON(translation1: Translation1): string { diff --git a/packages/typescript/src/models/components/travelaccount.ts b/packages/typescript/src/models/components/travelaccount.ts index c49439bde..2fd37b11a 100644 --- a/packages/typescript/src/models/components/travelaccount.ts +++ b/packages/typescript/src/models/components/travelaccount.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 { Address6, Address6$inboundSchema } from "./address6.js"; +import { Address7, Address7$inboundSchema } from "./address7.js"; import { TravelAccountType, TravelAccountType$inboundSchema, @@ -51,7 +51,7 @@ export type TravelAccount = { /** * List of addresses associated with the travel account. */ - addresses?: Array | undefined; + addresses?: Array | undefined; }; /** @internal */ @@ -71,7 +71,7 @@ export const TravelAccount$inboundSchema: z.ZodType< name: z.string().optional(), type: TravelAccountType$inboundSchema.optional(), certified: z.boolean().optional(), - addresses: z.array(Address6$inboundSchema).optional(), + addresses: z.array(Address7$inboundSchema).optional(), }); export function travelAccountFromJSON( diff --git a/packages/typescript/src/models/components/travelbidtaxandfee.ts b/packages/typescript/src/models/components/travelbidtaxandfee.ts index ce8bd5eb3..eae08048c 100644 --- a/packages/typescript/src/models/components/travelbidtaxandfee.ts +++ b/packages/typescript/src/models/components/travelbidtaxandfee.ts @@ -10,7 +10,7 @@ import { BidItemStatusType, BidItemStatusType$inboundSchema, } from "./biditemstatustype.js"; -import { TaxType, TaxType$inboundSchema } from "./taxtype.js"; +import { TaxType1, TaxType1$inboundSchema } from "./taxtype1.js"; /** * A tax or fee associated with a travel bid. @@ -19,7 +19,7 @@ export type TravelBidTaxAndFee = { /** * Bid tax type. */ - code?: TaxType | undefined; + code?: TaxType1 | undefined; /** * The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. */ @@ -48,7 +48,7 @@ export const TravelBidTaxAndFee$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - code: TaxType$inboundSchema.optional(), + code: TaxType1$inboundSchema.optional(), amount: z.number().optional(), percent: z.boolean().default(false), included: z.boolean().default(false), diff --git a/packages/typescript/src/models/components/two.ts b/packages/typescript/src/models/components/two.ts deleted file mode 100644 index dd441f0de..000000000 --- a/packages/typescript/src/models/components/two.ts +++ /dev/null @@ -1,54 +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 open ended comment box type of custom field. - */ -export type Two = { - /** - * Minimum number/characters allowed. - */ - minimum?: number | undefined; - /** - * Maximum number/characters allowed. - */ - maximum?: number | undefined; -}; - -/** @internal */ -export const Two$inboundSchema: z.ZodType = z - .object({ - minimum: z.number().int().optional(), - maximum: z.number().int().optional(), - }); -/** @internal */ -export type Two$Outbound = { - minimum?: number | undefined; - maximum?: number | undefined; -}; - -/** @internal */ -export const Two$outboundSchema: z.ZodType = z - .object({ - minimum: z.number().int().optional(), - maximum: z.number().int().optional(), - }); - -export function twoToJSON(two: Two): string { - return JSON.stringify(Two$outboundSchema.parse(two)); -} -export function twoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Two$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Two' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/attributeuniquenesstypejson.ts b/packages/typescript/src/models/components/uniquenesstype.ts similarity index 56% rename from packages/typescript/src/models/components/attributeuniquenesstypejson.ts rename to packages/typescript/src/models/components/uniquenesstype.ts index e43e84c7f..3d8ce39c7 100644 --- a/packages/typescript/src/models/components/attributeuniquenesstypejson.ts +++ b/packages/typescript/src/models/components/uniquenesstype.ts @@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; /** * This is used to denote the uniqueness type of the attribute. */ -export const AttributeUniquenessTypeJson = { +export const UniquenessType = { None: "none", Server: "server", Global: "global", @@ -16,11 +16,9 @@ export const AttributeUniquenessTypeJson = { /** * This is used to denote the uniqueness type of the attribute. */ -export type AttributeUniquenessTypeJson = ClosedEnum< - typeof AttributeUniquenessTypeJson ->; +export type UniquenessType = ClosedEnum; /** @internal */ -export const AttributeUniquenessTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AttributeUniquenessTypeJson -> = z.nativeEnum(AttributeUniquenessTypeJson); +export const UniquenessType$inboundSchema: z.ZodNativeEnum< + typeof UniquenessType +> = z.nativeEnum(UniquenessType); diff --git a/packages/typescript/src/models/components/user.ts b/packages/typescript/src/models/components/user.ts index bab5242b0..9f2a13be0 100644 --- a/packages/typescript/src/models/components/user.ts +++ b/packages/typescript/src/models/components/user.ts @@ -7,20 +7,17 @@ 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 { 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"; -import { NameJson, NameJson$inboundSchema } from "./namejson.js"; +import { Address5, Address5$inboundSchema } from "./address5.js"; +import { Email, Email$inboundSchema } from "./email.js"; +import { Group, Group$inboundSchema } from "./group.js"; +import { Meta, Meta$inboundSchema } from "./meta.js"; +import { Name, Name$inboundSchema } from "./name.js"; +import { PhoneNumber, PhoneNumber$inboundSchema } from "./phonenumber.js"; import { - PhoneNumberJson1, - PhoneNumberJson1$inboundSchema, -} from "./phonenumberjson1.js"; -import { - UserEnterpriseExtensionJson, - UserEnterpriseExtensionJson$inboundSchema, -} from "./userenterpriseextensionjson.js"; -import { UserTypeJson, UserTypeJson$inboundSchema } from "./usertypejson.js"; + UserEnterpriseExtension, + UserEnterpriseExtension$inboundSchema, +} from "./userenterpriseextension.js"; +import { UserType, UserType$inboundSchema } from "./usertype.js"; /** * Generic sample User. Not a real model used by any Cvent service. @@ -37,7 +34,7 @@ export type User = { /** * The name of the user. */ - name: NameJson; + name: Name; /** * The user name of the user to be used during identification. */ @@ -49,7 +46,7 @@ export type User = { /** * 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. */ - emails: Array; + emails: Array; /** * The title of the user. */ @@ -57,15 +54,15 @@ export type User = { /** * The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. */ - phoneNumbers?: Array | undefined; + phoneNumbers?: Array | undefined; /** * 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. */ - userType: UserTypeJson; + userType: UserType; /** * List of Timezones supported. */ @@ -77,16 +74,15 @@ export type User = { /** * The SCIM group (representing Cvent user role) of the user. */ - groups: Array; + groups: Array; /** * Enterprise extension model for the user. */ - urnIetfParamsScimSchemasExtensionEnterprise20User: - UserEnterpriseExtensionJson; + urnIetfParamsScimSchemasExtensionEnterprise20User: UserEnterpriseExtension; /** * Metadata of the resource. */ - meta?: MetaJson | undefined; + meta?: Meta | undefined; }; /** @internal */ @@ -94,20 +90,20 @@ export const User$inboundSchema: z.ZodType = z .object({ schemas: z.array(z.string()).optional(), id: z.string().optional(), - name: NameJson$inboundSchema, + name: Name$inboundSchema, userName: z.string(), active: z.boolean().default(true), - emails: z.array(EmailJson1$inboundSchema), + emails: z.array(Email$inboundSchema), title: z.string().optional(), - phoneNumbers: z.array(PhoneNumberJson1$inboundSchema).optional(), - addresses: z.array(AddressJson2$inboundSchema).optional(), - userType: UserTypeJson$inboundSchema, + phoneNumbers: z.array(PhoneNumber$inboundSchema).optional(), + addresses: z.array(Address5$inboundSchema).optional(), + userType: UserType$inboundSchema, timezone: z.string().default("America/New_York"), locale: z.string(), - groups: z.array(GroupJson$inboundSchema), + groups: z.array(Group$inboundSchema), "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": - UserEnterpriseExtensionJson$inboundSchema, - meta: MetaJson$inboundSchema.optional(), + UserEnterpriseExtension$inboundSchema, + meta: Meta$inboundSchema.optional(), }).transform((v) => { return remap$(v, { "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": diff --git a/packages/typescript/src/models/components/userenterpriseextensionjson.ts b/packages/typescript/src/models/components/userenterpriseextension.ts similarity index 70% rename from packages/typescript/src/models/components/userenterpriseextensionjson.ts rename to packages/typescript/src/models/components/userenterpriseextension.ts index ff4512e80..b15235c33 100644 --- a/packages/typescript/src/models/components/userenterpriseextensionjson.ts +++ b/packages/typescript/src/models/components/userenterpriseextension.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Enterprise extension model for the user. */ -export type UserEnterpriseExtensionJson = { +export type UserEnterpriseExtension = { /** * Indicates if the login details are to be sent to user. */ @@ -38,8 +38,8 @@ export type UserEnterpriseExtensionJson = { }; /** @internal */ -export const UserEnterpriseExtensionJson$inboundSchema: z.ZodType< - UserEnterpriseExtensionJson, +export const UserEnterpriseExtension$inboundSchema: z.ZodType< + UserEnterpriseExtension, z.ZodTypeDef, unknown > = z.object({ @@ -51,7 +51,7 @@ export const UserEnterpriseExtensionJson$inboundSchema: z.ZodType< pager: z.string().optional(), }); /** @internal */ -export type UserEnterpriseExtensionJson$Outbound = { +export type UserEnterpriseExtension$Outbound = { sendLoginDetails: boolean; federatedId?: string | undefined; company?: string | undefined; @@ -61,10 +61,10 @@ export type UserEnterpriseExtensionJson$Outbound = { }; /** @internal */ -export const UserEnterpriseExtensionJson$outboundSchema: z.ZodType< - UserEnterpriseExtensionJson$Outbound, +export const UserEnterpriseExtension$outboundSchema: z.ZodType< + UserEnterpriseExtension$Outbound, z.ZodTypeDef, - UserEnterpriseExtensionJson + UserEnterpriseExtension > = z.object({ sendLoginDetails: z.boolean().default(true), federatedId: z.string().optional(), @@ -74,21 +74,19 @@ export const UserEnterpriseExtensionJson$outboundSchema: z.ZodType< pager: z.string().optional(), }); -export function userEnterpriseExtensionJsonToJSON( - userEnterpriseExtensionJson: UserEnterpriseExtensionJson, +export function userEnterpriseExtensionToJSON( + userEnterpriseExtension: UserEnterpriseExtension, ): string { return JSON.stringify( - UserEnterpriseExtensionJson$outboundSchema.parse( - userEnterpriseExtensionJson, - ), + UserEnterpriseExtension$outboundSchema.parse(userEnterpriseExtension), ); } -export function userEnterpriseExtensionJsonFromJSON( +export function userEnterpriseExtensionFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEnterpriseExtensionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEnterpriseExtensionJson' from JSON`, + (x) => UserEnterpriseExtension$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEnterpriseExtension' from JSON`, ); } diff --git a/packages/typescript/src/models/components/usergroups.ts b/packages/typescript/src/models/components/usergroups.ts index 30b89c77e..963e38d2d 100644 --- a/packages/typescript/src/models/components/usergroups.ts +++ b/packages/typescript/src/models/components/usergroups.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 { GroupJson0, GroupJson0$inboundSchema } from "./groupjson0.js"; +import { Group1, Group1$inboundSchema } from "./group1.js"; /** * Groups @@ -32,7 +32,7 @@ export type UserGroups = { /** * The collection of schema resources. */ - resources?: Array | undefined; + resources?: Array | undefined; }; /** @internal */ @@ -45,7 +45,7 @@ export const UserGroups$inboundSchema: z.ZodType< itemsPerPage: z.number().int().optional(), startIndex: z.number().int().optional(), totalResults: z.number().int().optional(), - Resources: z.array(GroupJson0$inboundSchema).optional(), + Resources: z.array(Group1$inboundSchema).optional(), }).transform((v) => { return remap$(v, { "Resources": "resources", diff --git a/packages/typescript/src/models/components/userinput.ts b/packages/typescript/src/models/components/userinput.ts index 70e602634..43116289d 100644 --- a/packages/typescript/src/models/components/userinput.ts +++ b/packages/typescript/src/models/components/userinput.ts @@ -5,36 +5,24 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { - AddressJson2, - AddressJson2$Outbound, - AddressJson2$outboundSchema, -} from "./addressjson2.js"; + Address5, + Address5$Outbound, + Address5$outboundSchema, +} from "./address5.js"; +import { Email, Email$Outbound, Email$outboundSchema } from "./email.js"; +import { Group, Group$Outbound, Group$outboundSchema } from "./group.js"; +import { Name, Name$Outbound, Name$outboundSchema } from "./name.js"; import { - EmailJson1, - EmailJson1$Outbound, - EmailJson1$outboundSchema, -} from "./emailjson1.js"; + PhoneNumber, + PhoneNumber$Outbound, + PhoneNumber$outboundSchema, +} from "./phonenumber.js"; import { - GroupJson, - GroupJson$Outbound, - GroupJson$outboundSchema, -} from "./groupjson.js"; -import { - NameJson, - NameJson$Outbound, - NameJson$outboundSchema, -} from "./namejson.js"; -import { - PhoneNumberJson1, - PhoneNumberJson1$Outbound, - PhoneNumberJson1$outboundSchema, -} from "./phonenumberjson1.js"; -import { - UserEnterpriseExtensionJson, - UserEnterpriseExtensionJson$Outbound, - UserEnterpriseExtensionJson$outboundSchema, -} from "./userenterpriseextensionjson.js"; -import { UserTypeJson, UserTypeJson$outboundSchema } from "./usertypejson.js"; + UserEnterpriseExtension, + UserEnterpriseExtension$Outbound, + UserEnterpriseExtension$outboundSchema, +} from "./userenterpriseextension.js"; +import { UserType, UserType$outboundSchema } from "./usertype.js"; /** * Generic sample User. Not a real model used by any Cvent service. @@ -43,7 +31,7 @@ export type UserInput = { /** * The name of the user. */ - name: NameJson; + name: Name; /** * The user name of the user to be used during identification. */ @@ -55,7 +43,7 @@ export type UserInput = { /** * 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. */ - emails: Array; + emails: Array; /** * The title of the user. */ @@ -63,15 +51,15 @@ export type UserInput = { /** * The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. */ - phoneNumbers?: Array | undefined; + phoneNumbers?: Array | undefined; /** * 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. */ - userType: UserTypeJson; + userType: UserType; /** * List of Timezones supported. */ @@ -83,29 +71,28 @@ export type UserInput = { /** * The SCIM group (representing Cvent user role) of the user. */ - groups: Array; + groups: Array; /** * Enterprise extension model for the user. */ - urnIetfParamsScimSchemasExtensionEnterprise20User: - UserEnterpriseExtensionJson; + urnIetfParamsScimSchemasExtensionEnterprise20User: UserEnterpriseExtension; }; /** @internal */ export type UserInput$Outbound = { - name: NameJson$Outbound; + name: Name$Outbound; userName: string; active: boolean; - emails: Array; + emails: Array; title?: string | undefined; - phoneNumbers?: Array | undefined; - addresses?: Array | undefined; + phoneNumbers?: Array | undefined; + addresses?: Array | undefined; userType: string; timezone: string; locale: string; - groups: Array; + groups: Array; "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": - UserEnterpriseExtensionJson$Outbound; + UserEnterpriseExtension$Outbound; }; /** @internal */ @@ -114,19 +101,19 @@ export const UserInput$outboundSchema: z.ZodType< z.ZodTypeDef, UserInput > = z.object({ - name: NameJson$outboundSchema, + name: Name$outboundSchema, userName: z.string(), active: z.boolean().default(true), - emails: z.array(EmailJson1$outboundSchema), + emails: z.array(Email$outboundSchema), title: z.string().optional(), - phoneNumbers: z.array(PhoneNumberJson1$outboundSchema).optional(), - addresses: z.array(AddressJson2$outboundSchema).optional(), - userType: UserTypeJson$outboundSchema, + phoneNumbers: z.array(PhoneNumber$outboundSchema).optional(), + addresses: z.array(Address5$outboundSchema).optional(), + userType: UserType$outboundSchema, timezone: z.string().default("America/New_York"), locale: z.string(), - groups: z.array(GroupJson$outboundSchema), + groups: z.array(Group$outboundSchema), urnIetfParamsScimSchemasExtensionEnterprise20User: - UserEnterpriseExtensionJson$outboundSchema, + UserEnterpriseExtension$outboundSchema, }).transform((v) => { return remap$(v, { urnIetfParamsScimSchemasExtensionEnterprise20User: diff --git a/packages/typescript/src/models/components/userjson.ts b/packages/typescript/src/models/components/userjson.ts deleted file mode 100644 index 45880ecad..000000000 --- a/packages/typescript/src/models/components/userjson.ts +++ /dev/null @@ -1,129 +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 { 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"; -import { NameJson, NameJson$inboundSchema } from "./namejson.js"; -import { - PhoneNumberJson1, - PhoneNumberJson1$inboundSchema, -} from "./phonenumberjson1.js"; -import { - UserEnterpriseExtensionJson, - UserEnterpriseExtensionJson$inboundSchema, -} from "./userenterpriseextensionjson.js"; -import { UserTypeJson, UserTypeJson$inboundSchema } from "./usertypejson.js"; - -/** - * Generic sample User. Not a real model used by any Cvent service. - */ -export type UserJson = { - /** - * The list of schemas using this resource. - */ - schemas?: Array | undefined; - /** - * A string that has to be a format matching the industry standard uuid. - */ - id?: string | undefined; - /** - * The name of the user. - */ - name: NameJson; - /** - * The user name of the user to be used during identification. - */ - userName: string; - /** - * True indicates the user is active. - */ - active: boolean; - /** - * 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. - */ - emails: Array; - /** - * The title of the user. - */ - title?: string | undefined; - /** - * The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. - */ - phoneNumbers?: Array | undefined; - /** - * 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; - /** - * The type of the user. - */ - userType: UserTypeJson; - /** - * List of Timezones supported. - */ - timezone: string; - /** - * The locale of the user. The IETF Language Tag format is used. - */ - locale: string; - /** - * The SCIM group (representing Cvent user role) of the user. - */ - groups: Array; - /** - * Enterprise extension model for the user. - */ - urnIetfParamsScimSchemasExtensionEnterprise20User: - UserEnterpriseExtensionJson; - /** - * Metadata of the resource. - */ - meta?: MetaJson | undefined; -}; - -/** @internal */ -export const UserJson$inboundSchema: z.ZodType< - UserJson, - z.ZodTypeDef, - unknown -> = z.object({ - schemas: z.array(z.string()).optional(), - id: z.string().optional(), - name: NameJson$inboundSchema, - userName: z.string(), - active: z.boolean().default(true), - emails: z.array(EmailJson1$inboundSchema), - title: z.string().optional(), - phoneNumbers: z.array(PhoneNumberJson1$inboundSchema).optional(), - addresses: z.array(AddressJson2$inboundSchema).optional(), - userType: UserTypeJson$inboundSchema, - timezone: z.string().default("America/New_York"), - locale: z.string(), - groups: z.array(GroupJson$inboundSchema), - "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": - UserEnterpriseExtensionJson$inboundSchema, - meta: MetaJson$inboundSchema.optional(), -}).transform((v) => { - return remap$(v, { - "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": - "urnIetfParamsScimSchemasExtensionEnterprise20User", - }); -}); - -export function userJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/users.ts b/packages/typescript/src/models/components/users.ts index 01df6841d..7a2ceb9b7 100644 --- a/packages/typescript/src/models/components/users.ts +++ b/packages/typescript/src/models/components/users.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 { UserJson, UserJson$inboundSchema } from "./userjson.js"; +import { User, User$inboundSchema } from "./user.js"; /** * A page in a paginated list of SCIM users. This would return the list of users. @@ -32,7 +32,7 @@ export type Users = { /** * The collection of user resources. */ - resources?: Array | undefined; + resources?: Array | undefined; }; /** @internal */ @@ -42,7 +42,7 @@ export const Users$inboundSchema: z.ZodType = z itemsPerPage: z.number().int().optional(), startIndex: z.number().int().optional(), totalResults: z.number().int().optional(), - Resources: z.array(UserJson$inboundSchema).optional(), + Resources: z.array(User$inboundSchema).optional(), }).transform((v) => { return remap$(v, { "Resources": "resources", diff --git a/packages/typescript/src/models/components/usersschema.ts b/packages/typescript/src/models/components/usersschema.ts index d74fc8fac..65db49ac8 100644 --- a/packages/typescript/src/models/components/usersschema.ts +++ b/packages/typescript/src/models/components/usersschema.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 { AttributeJson, AttributeJson$inboundSchema } from "./attributejson.js"; -import { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; +import { Attribute, Attribute$inboundSchema } from "./attribute.js"; +import { Meta, Meta$inboundSchema } from "./meta.js"; /** * Schema @@ -28,11 +28,11 @@ export type UsersSchema = { /** * The collection of attributes for the schema. */ - attributes?: Array | undefined; + attributes?: Array | undefined; /** * Metadata of the resource. */ - meta?: MetaJson | undefined; + meta?: Meta | undefined; }; /** @internal */ @@ -44,8 +44,8 @@ export const UsersSchema$inboundSchema: z.ZodType< id: z.string().optional(), name: z.string().optional(), description: z.string().optional(), - attributes: z.array(AttributeJson$inboundSchema).optional(), - meta: MetaJson$inboundSchema.optional(), + attributes: z.array(Attribute$inboundSchema).optional(), + meta: Meta$inboundSchema.optional(), }); export function usersSchemaFromJSON( diff --git a/packages/typescript/src/models/components/usersschemas.ts b/packages/typescript/src/models/components/usersschemas.ts index 90ee1310b..cd2760f0b 100644 --- a/packages/typescript/src/models/components/usersschemas.ts +++ b/packages/typescript/src/models/components/usersschemas.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 { SchemaJson, SchemaJson$inboundSchema } from "./schemajson.js"; +import { UsersSchema, UsersSchema$inboundSchema } from "./usersschema.js"; /** * Schemas @@ -32,7 +32,7 @@ export type UsersSchemas = { /** * The collection of schema resources. */ - resources?: Array | undefined; + resources?: Array | undefined; }; /** @internal */ @@ -45,7 +45,7 @@ export const UsersSchemas$inboundSchema: z.ZodType< itemsPerPage: z.number().int().optional(), startIndex: z.number().int().optional(), totalResults: z.number().int().optional(), - Resources: z.array(SchemaJson$inboundSchema).optional(), + Resources: z.array(UsersSchema$inboundSchema).optional(), }).transform((v) => { return remap$(v, { "Resources": "resources", diff --git a/packages/typescript/src/models/components/usertypejson.ts b/packages/typescript/src/models/components/usertype.ts similarity index 50% rename from packages/typescript/src/models/components/usertypejson.ts rename to packages/typescript/src/models/components/usertype.ts index 24231b58c..691e4196f 100644 --- a/packages/typescript/src/models/components/usertypejson.ts +++ b/packages/typescript/src/models/components/usertype.ts @@ -8,17 +8,17 @@ import { ClosedEnum } from "../../types/enums.js"; /** * The type of the user. */ -export const UserTypeJson = { +export const UserType = { PlannerAccountUser: "Planner Account User", } as const; /** * The type of the user. */ -export type UserTypeJson = ClosedEnum; +export type UserType = ClosedEnum; /** @internal */ -export const UserTypeJson$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UserTypeJson); +export const UserType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(UserType); /** @internal */ -export const UserTypeJson$outboundSchema: z.ZodNativeEnum = - UserTypeJson$inboundSchema; +export const UserType$outboundSchema: z.ZodNativeEnum = + UserType$inboundSchema; diff --git a/packages/typescript/src/models/components/zerooneof2.ts b/packages/typescript/src/models/components/zerooneof.ts similarity index 66% rename from packages/typescript/src/models/components/zerooneof2.ts rename to packages/typescript/src/models/components/zerooneof.ts index c506b3d94..2793e0dd6 100644 --- a/packages/typescript/src/models/components/zerooneof2.ts +++ b/packages/typescript/src/models/components/zerooneof.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * AttendeeAddResponse */ -export type ZeroOneOf2 = { +export type ZeroOneOf = { /** * The unique id representing an attendee. */ @@ -18,20 +18,20 @@ export type ZeroOneOf2 = { }; /** @internal */ -export const ZeroOneOf2$inboundSchema: z.ZodType< - ZeroOneOf2, +export const ZeroOneOf$inboundSchema: z.ZodType< + ZeroOneOf, z.ZodTypeDef, unknown > = z.object({ id: z.string().optional(), }); -export function zeroOneOf2FromJSON( +export function zeroOneOfFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ZeroOneOf2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ZeroOneOf2' from JSON`, + (x) => ZeroOneOf$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ZeroOneOf' from JSON`, ); } diff --git a/packages/typescript/src/models/errors/errorresponse.ts b/packages/typescript/src/models/errors/errorresponse.ts new file mode 100644 index 000000000..e532e8818 --- /dev/null +++ b/packages/typescript/src/models/errors/errorresponse.ts @@ -0,0 +1,86 @@ +/* + * 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"; + +/** + * Represents an error response with additional details of cascading error messages. + */ +export type ErrorResponseData = { + /** + * The HTTP status code representing the error. + */ + code: number; + /** + * A brief description of the error. + */ + message: string; + /** + * The target resource of the error. + */ + target?: string | undefined; + /** + * Additional details of cascading error messages. + */ + details?: Array | undefined; +}; + +/** + * Represents an error response with additional details of cascading error messages. + */ +export class ErrorResponse extends CventSDKError { + /** + * The HTTP status code representing the error. + */ + code: number; + /** + * The target resource of the error. + */ + target?: string | undefined; + /** + * Additional details of cascading error messages. + */ + details?: Array | undefined; + + /** The original data that was passed to this error instance. */ + data$: ErrorResponseData; + + constructor( + err: ErrorResponseData, + httpMeta: { response: Response; request: Request; body: string }, + ) { + const message = err.message || `API error occurred: ${JSON.stringify(err)}`; + super(message, httpMeta); + this.data$ = err; + this.code = err.code; + if (err.target != null) this.target = err.target; + if (err.details != null) this.details = err.details; + + this.name = "ErrorResponse"; + } +} + +/** @internal */ +export const ErrorResponse$inboundSchema: z.ZodType< + ErrorResponse, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.number().int(), + message: z.string(), + target: z.string().optional(), + details: z.array(components.ZeroAllOf1$inboundSchema).optional(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), +}) + .transform((v) => { + return new ErrorResponse(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }); diff --git a/packages/typescript/src/models/errors/errorresponse2.ts b/packages/typescript/src/models/errors/errorresponse2.ts index 33421a4e3..2de658001 100644 --- a/packages/typescript/src/models/errors/errorresponse2.ts +++ b/packages/typescript/src/models/errors/errorresponse2.ts @@ -7,43 +7,47 @@ import * as components from "../components/index.js"; import { CventSDKError } from "./cventsdkerror.js"; /** - * Represents an error response with additional details of cascading error messages. + * The error response. */ export type ErrorResponse2Data = { /** - * The HTTP status code representing the error. + * The collection of error schemas. */ - code: number; + schemas?: Array | undefined; /** - * A brief description of the error. + * Status code for error. */ - message: string; + status: number; /** - * The target resource of the error. + * Details of the error. */ - target?: string | undefined; + detail: string; /** - * Additional details of cascading error messages. + * This is used to denote the scim type of the error. */ - details?: Array | undefined; + scimType?: components.ErrorScimType | undefined; }; /** - * Represents an error response with additional details of cascading error messages. + * The error response. */ export class ErrorResponse2 extends CventSDKError { /** - * The HTTP status code representing the error. + * The collection of error schemas. */ - code: number; + schemas?: Array | undefined; /** - * The target resource of the error. + * Status code for error. */ - target?: string | undefined; + status: number; /** - * Additional details of cascading error messages. + * Details of the error. */ - details?: Array | undefined; + detail: string; + /** + * This is used to denote the scim type of the error. + */ + scimType?: components.ErrorScimType | undefined; /** The original data that was passed to this error instance. */ data$: ErrorResponse2Data; @@ -52,12 +56,15 @@ export class ErrorResponse2 extends CventSDKError { err: ErrorResponse2Data, httpMeta: { response: Response; request: Request; body: string }, ) { - const message = err.message || `API error occurred: ${JSON.stringify(err)}`; + const message = "message" in err && typeof err.message === "string" + ? err.message + : `API error occurred: ${JSON.stringify(err)}`; super(message, httpMeta); this.data$ = err; - this.code = err.code; - if (err.target != null) this.target = err.target; - if (err.details != null) this.details = err.details; + 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 = "ErrorResponse2"; } @@ -69,10 +76,10 @@ export const ErrorResponse2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - code: z.number().int(), - message: z.string(), - target: z.string().optional(), - details: z.array(components.ZeroAllOf1$inboundSchema).optional(), + schemas: z.array(z.string()).optional(), + status: z.number().int(), + detail: z.string(), + scimType: components.ErrorScimType$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 deleted file mode 100644 index 890333235..000000000 --- a/packages/typescript/src/models/errors/errorresponsejson12.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 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/index.ts b/packages/typescript/src/models/errors/index.ts index e59d9fddd..5b2934530 100644 --- a/packages/typescript/src/models/errors/index.ts +++ b/packages/typescript/src/models/errors/index.ts @@ -4,9 +4,9 @@ export * from "./apierror.js"; export * from "./cventsdkerror.js"; +export * from "./errorresponse.js"; export * from "./errorresponse1.js"; export * from "./errorresponse2.js"; -export * from "./errorresponsejson12.js"; export * from "./httpclienterrors.js"; export * from "./oauth2token.js"; export * from "./responsevalidationerror.js"; diff --git a/packages/typescript/src/models/errors/oauth2token.ts b/packages/typescript/src/models/errors/oauth2token.ts index d5160b3b5..3609e95bf 100644 --- a/packages/typescript/src/models/errors/oauth2token.ts +++ b/packages/typescript/src/models/errors/oauth2token.ts @@ -71,7 +71,7 @@ export type ErrorT = ClosedEnum; */ export type BadRequestErrorData = { /** - * May be returned with additional information regarding the error. + * Additional error information, when available. */ errorDescription?: string | undefined; /** @@ -107,7 +107,7 @@ export type BadRequestErrorData = { */ export class BadRequestError extends CventSDKError { /** - * May be returned with additional information regarding the error. + * Additional error information, when available. */ errorDescription?: string | undefined; /** diff --git a/packages/typescript/src/models/operations/listcustomfields.ts b/packages/typescript/src/models/operations/listcustomfields.ts index 5f49458a0..452801b80 100644 --- a/packages/typescript/src/models/operations/listcustomfields.ts +++ b/packages/typescript/src/models/operations/listcustomfields.ts @@ -30,24 +30,24 @@ export type ListCustomFieldsRequest = { */ 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](https://developers.cvent.com/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) - * * category (eq) *(Required, one category can be provided at a time)* - * * lastModified (eq|ne|lt|le|gt|ge) - * * code (eq|ne) *(Case insensitive)* + * | Field | Operators | Notes | + * |------------------|-------------------------------------|-------| + * | id | `eq`, `ne` | | + * | category | `eq` | Required, one category can be provided at a time | + * | lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | + * | code | `eq`, `ne` | Case insensitive | + * + * The following logical operators are supported for combining filters: + * * and + * * or */ filter: string; }; diff --git a/packages/typescript/src/models/operations/listusers.ts b/packages/typescript/src/models/operations/listusers.ts index d146bcb86..be53b46c9 100644 --- a/packages/typescript/src/models/operations/listusers.ts +++ b/packages/typescript/src/models/operations/listusers.ts @@ -14,31 +14,27 @@ export type ListUsersRequest = { */ count?: number | 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](https://developers.cvent.com/docs/rest-api/reference/filters) for details. * - * The following comparison types 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: - * * userName (eq|ne) - * * groups.value (eq|ne) - * * active (eq|ne) - * * id (eq|nq) - * * emails.value (eq|ne) - * * meta.lastModified (eq|ne|lt|le|gt|ge) - * * meta.created (eq|ne|lt|le|gt|ge) + * | Field | Operators | + * |-------------------|------------------------------------| + * | userName | `eq`, `ne` | + * | groups.value | `eq`, `ne` | + * | active | `eq`, `ne` | + * | id | `eq`, `ne` | + * | emails.value | `eq`, `ne` | + * | meta.lastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | meta.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/oauth2authorize.ts b/packages/typescript/src/models/operations/oauth2authorize.ts index bba3e4310..9d9b1f6ac 100644 --- a/packages/typescript/src/models/operations/oauth2authorize.ts +++ b/packages/typescript/src/models/operations/oauth2authorize.ts @@ -46,7 +46,7 @@ export type Oauth2AuthorizeRequest = { */ clientId: string; /** - * The URL to which the authentication server redirects the browser after authorization has been granted by the user. + * The URL to which the authorization server redirects the browser after authorization has been granted by the user. * * @remarks * @@ -79,7 +79,7 @@ export type Oauth2AuthorizeRequest = { * @remarks * Any scope used must be pre-associated with the client or it will be ignored at runtime. * - * **Note:** If the client doesn't request any scopes, the authentication server uses all + * **Note:** If the client doesn't request any scopes, the authorization server uses all * scopes associated with the client. */ scope?: string | undefined; diff --git a/packages/typescript/src/models/operations/oauth2token.ts b/packages/typescript/src/models/operations/oauth2token.ts index c1aea73b2..fe2dd7eb0 100644 --- a/packages/typescript/src/models/operations/oauth2token.ts +++ b/packages/typescript/src/models/operations/oauth2token.ts @@ -15,7 +15,7 @@ export type Oauth2TokenSecurity = { }; /** - * The grant type. + * Controls the OAuth2 grant flow used to obtain tokens. */ export const GrantType = { ClientCredentials: "client_credentials", @@ -23,13 +23,13 @@ export const GrantType = { RefreshToken: "refresh_token", } as const; /** - * The grant type. + * Controls the OAuth2 grant flow used to obtain tokens. */ export type GrantType = ClosedEnum; export type Oauth2TokenRequest = { /** - * The grant type. + * Controls the OAuth2 grant flow used to obtain tokens. */ grantType: GrantType; /** @@ -44,7 +44,7 @@ export type Oauth2TokenRequest = { * Can be a combination of any scopes associated with a client. Any scope requested must be pre-associated with the client or it will be ignored at runtime. * * @remarks - * If the client doesn't request any scopes, the authentication server uses all scopes associated with the client. + * If the client doesn't request any scopes, the authorization server uses all scopes associated with the client. * * **Optional** - Only used if the grant_type is client_credentials. */ @@ -88,7 +88,7 @@ export type Oauth2TokenResponse = { */ refreshToken?: string | undefined; /** - * The token type. + * The OAuth2 token type. Always `Bearer`. */ tokenType: string; /** diff --git a/packages/typescript/src/sdk/authentication.ts b/packages/typescript/src/sdk/authentication.ts index 70e8250cd..ed945efa2 100644 --- a/packages/typescript/src/sdk/authentication.ts +++ b/packages/typescript/src/sdk/authentication.ts @@ -12,13 +12,10 @@ import { unwrapAsync } from "../types/fp.js"; export class Authentication extends ClientSDK { /** - * Authorize + * Get Authorization Code * * @remarks - * The /oauth2/authorize endpoint only supports HTTPS GET. The client typically makes this request through a browser. - * - * The authorization server requires HTTPS instead of HTTP as the protocol when accessing the authorization endpoint - * except for http://localhost for testing purposes only. + * Initiates the OAuth2 authorization code flow by directing the user-agent to the Cvent authorization server. The client typically triggers this request via a browser. For the `redirect_uri` HTTPS is required; `http://localhost` is permitted for local testing only. On success, the authorization server redirects the user-agent back to the client's `redirect_uri` with an authorization code. The client can then exchange that code via [Get Token](#operation/oauth2Token) to obtain an access token. */ async oauth2Authorize( request: operations.Oauth2AuthorizeRequest, @@ -32,10 +29,10 @@ export class Authentication extends ClientSDK { } /** - * Token + * Get Token * * @remarks - * Obtains an Access Token, an ID Token, and optionally, a Refresh Token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. + * Obtains an access token and, optionally, a refresh token. Read the [Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) for an example request. * * **Note:** The token endpoint returns refresh_token only when the grant_type is authorization_code. */