diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index ca60c0d6e..2e6690474 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.752.0 sources: Public: sourceNamespace: public - sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 - sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a + sourceRevisionDigest: sha256:82fcb0efee5c4c454b2d79ef862d047863405154cff3289d03e6325eb847f0af + sourceBlobDigest: sha256:14cc298497bd533e985172a5dcb8dff463a204d53f9a2e7fbe369a625ba64316 tags: - latest - ea @@ -11,24 +11,24 @@ targets: public-csharp: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 - sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a + sourceRevisionDigest: sha256:82fcb0efee5c4c454b2d79ef862d047863405154cff3289d03e6325eb847f0af + sourceBlobDigest: sha256:14cc298497bd533e985172a5dcb8dff463a204d53f9a2e7fbe369a625ba64316 codeSamplesNamespace: csharp - codeSamplesRevisionDigest: sha256:814812d4e50608e8abf70c52563b73cffeb5ce3feebefad147ebc030be7e3ba8 + codeSamplesRevisionDigest: sha256:9077d70b54f8d4c77bacff2b02c677882b325380ceb676c054afbe7996ec067e public-java: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 - sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a + sourceRevisionDigest: sha256:82fcb0efee5c4c454b2d79ef862d047863405154cff3289d03e6325eb847f0af + sourceBlobDigest: sha256:14cc298497bd533e985172a5dcb8dff463a204d53f9a2e7fbe369a625ba64316 codeSamplesNamespace: java - codeSamplesRevisionDigest: sha256:b9cdae2008658fedef1ce3bb4fba46e9752a1fbc5ace663a58f18c4437abf034 + codeSamplesRevisionDigest: sha256:50f03fbed2fa66f728309819be05f52b639852515b2ba27a09e312289847df4b public-typescript: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:9eb60f33d85bf4b5685453bea6e55e7a34ee342d20cb9637b47922ea19e4e128 - sourceBlobDigest: sha256:b3129c699afaeff171d995f86ec707369054d66a2c18211fed35fcb70154774a + sourceRevisionDigest: sha256:82fcb0efee5c4c454b2d79ef862d047863405154cff3289d03e6325eb847f0af + sourceBlobDigest: sha256:14cc298497bd533e985172a5dcb8dff463a204d53f9a2e7fbe369a625ba64316 codeSamplesNamespace: typescript - codeSamplesRevisionDigest: sha256:7b7edd1433e19b3f14070f146bae895349e448d247f7beac48afb3c9a9fbd675 + codeSamplesRevisionDigest: sha256:669cad9622a81460c6a54ad0cc43d574a1e7c4b41f3a70ce26d66298b50138a8 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.752.0 @@ -39,7 +39,6 @@ workflow: overlays: - location: ./overlays/public_overlay.yaml - location: ./overlays/operation_level_pagination_overlay.yaml - - location: ./overlays/pagination_overlay.yaml - location: ./overlays/description_overlay.yaml - location: ./overlays/segments_error_response_overlay.yaml - location: ./overlays/retries_overlay.yaml diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 31601d6e7..6e9024c1a 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -7,7 +7,6 @@ sources: overlays: - location: ./overlays/public_overlay.yaml - location: ./overlays/operation_level_pagination_overlay.yaml - - location: ./overlays/pagination_overlay.yaml - location: ./overlays/description_overlay.yaml - location: ./overlays/segments_error_response_overlay.yaml - location: ./overlays/retries_overlay.yaml diff --git a/cvent-public-spec/openapi.yaml b/cvent-public-spec/openapi.yaml index 4fc26da07..1ad11fec7 100644 --- a/cvent-public-spec/openapi.yaml +++ b/cvent-public-spec/openapi.yaml @@ -749,7 +749,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' deprecated: false @@ -794,7 +794,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' deprecated: false @@ -1465,7 +1465,7 @@ paths: | guest | `eq`, `ne` | | | group.leader | `eq`, `ne` | | | group.id | `eq`, `ne` | | - | unsubscribed | `eq`, `ne` | **DEPRECATED**: Please use PUT /attendees/{id}/email-subscriptions instead | + | unsubscribed | `eq`, `ne` | Read-only. To update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) | | registeredAt | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | | registrationLastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | | invitedBy | `eq`, `ne` | | @@ -2157,7 +2157,7 @@ paths: '403': $ref: '#/components/responses/Forbidden1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -2340,7 +2340,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -2443,7 +2443,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -2704,15 +2704,15 @@ paths: schema: $ref: '#/components/schemas/bulk-job-with-data' '400': - $ref: '#/components/responses/BadRequest26' + $ref: '#/components/responses/BadRequest24' '401': - $ref: '#/components/responses/Unauthorized26' + $ref: '#/components/responses/Unauthorized24' '403': - $ref: '#/components/responses/Forbidden26' + $ref: '#/components/responses/Forbidden24' '409': $ref: '#/components/responses/JobLimitExceeded' '429': - $ref: '#/components/responses/TooManyRequests26' + $ref: '#/components/responses/TooManyRequests24' deprecated: false /bulk-jobs/{id}: parameters: @@ -2735,15 +2735,15 @@ paths: schema: $ref: '#/components/schemas/bulk-job' '400': - $ref: '#/components/responses/BadRequest26' + $ref: '#/components/responses/BadRequest24' '401': - $ref: '#/components/responses/Unauthorized26' + $ref: '#/components/responses/Unauthorized24' '403': - $ref: '#/components/responses/Forbidden26' + $ref: '#/components/responses/Forbidden24' '404': - $ref: '#/components/responses/NotFound26' + $ref: '#/components/responses/NotFound24' '429': - $ref: '#/components/responses/TooManyRequests26' + $ref: '#/components/responses/TooManyRequests24' /bulk-jobs/{id}/cancel: parameters: - $ref: '#/components/parameters/uuid1' @@ -2765,15 +2765,15 @@ paths: schema: $ref: '#/components/schemas/bulk-job' '400': - $ref: '#/components/responses/BadRequest26' + $ref: '#/components/responses/BadRequest24' '401': - $ref: '#/components/responses/Unauthorized26' + $ref: '#/components/responses/Unauthorized24' '403': - $ref: '#/components/responses/Forbidden26' + $ref: '#/components/responses/Forbidden24' '404': - $ref: '#/components/responses/NotFound26' + $ref: '#/components/responses/NotFound24' '429': - $ref: '#/components/responses/TooManyRequests26' + $ref: '#/components/responses/TooManyRequests24' /bulk-jobs/{id}/data: parameters: - $ref: '#/components/parameters/uuid1' @@ -2806,23 +2806,30 @@ paths: schema: $ref: '#/components/schemas/bulk-data-upload-response' '400': - $ref: '#/components/responses/BadRequest26' + $ref: '#/components/responses/BadRequest24' '401': - $ref: '#/components/responses/Unauthorized26' + $ref: '#/components/responses/Unauthorized24' '403': - $ref: '#/components/responses/Forbidden26' + $ref: '#/components/responses/Forbidden24' '404': - $ref: '#/components/responses/NotFound26' + $ref: '#/components/responses/NotFound24' '409': $ref: '#/components/responses/DataLimitExceeded' '429': - $ref: '#/components/responses/TooManyRequests26' + $ref: '#/components/responses/TooManyRequests24' /bulk-jobs/{id}/results: parameters: - $ref: '#/components/parameters/uuid1' get: summary: List Bulk Job Result - description: Used to list the results of a bulk Job. + description: | + Used to list the results of a bulk job. + + **Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation + is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record + reflects only whether the target operation returned an HTTP error — it does not capture partial item-level + failures within the multi-status response body. For these operations, inspect each result record's `data` field + to determine which items succeeded or failed. operationId: listBulkJobResult tags: - Bulk @@ -2847,6 +2854,10 @@ paths: The following fields are filterable: * failed (eq|ne) + + **Note:** this filters for the top-level HTTP status of the target operation. + For operations that return 207 (Multi-Status), filter results may not capture all failed records. + Inspect individual record statuses in the `data` field for a complete picture. schema: type: string example: failed eq "true" @@ -2859,15 +2870,15 @@ paths: schema: $ref: '#/components/schemas/bulk-results-paginated-response' '400': - $ref: '#/components/responses/BadRequest26' + $ref: '#/components/responses/BadRequest24' '401': - $ref: '#/components/responses/Unauthorized26' + $ref: '#/components/responses/Unauthorized24' '403': - $ref: '#/components/responses/Forbidden26' + $ref: '#/components/responses/Forbidden24' '404': - $ref: '#/components/responses/NotFound26' + $ref: '#/components/responses/NotFound24' '429': - $ref: '#/components/responses/TooManyRequests26' + $ref: '#/components/responses/TooManyRequests24' /bulk-jobs/{id}/run: parameters: - $ref: '#/components/parameters/uuid1' @@ -2892,17 +2903,17 @@ paths: schema: $ref: '#/components/schemas/bulk-job' '400': - $ref: '#/components/responses/BadRequest26' + $ref: '#/components/responses/BadRequest24' '401': - $ref: '#/components/responses/Unauthorized26' + $ref: '#/components/responses/Unauthorized24' '403': - $ref: '#/components/responses/Forbidden26' + $ref: '#/components/responses/Forbidden24' '404': - $ref: '#/components/responses/NotFound26' + $ref: '#/components/responses/NotFound24' '409': $ref: '#/components/responses/JobLimitExceeded' '429': - $ref: '#/components/responses/TooManyRequests26' + $ref: '#/components/responses/TooManyRequests24' /campaigns: get: summary: List eMarketing Campaigns @@ -9029,7 +9040,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -9486,7 +9497,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -9568,7 +9579,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -10046,14 +10057,7 @@ paths: schema: type: string example: attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (type eq 'Online Charge' OR type eq 'Online Refund') - - name: deleted - in: query - required: false - description: | - This sets whether or not to fetch deleted orders in the response. If set to true, the response will include records for the deleted orders. - schema: - type: boolean - default: false + - $ref: '#/components/parameters/deleted' tags: - Events responses: @@ -10120,14 +10124,7 @@ paths: schema: type: string example: attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (product.id eq '65322e75-076f-4070-a6e6-3315c581728d' OR product.id eq 'e1874067-a5ed-4111-ac8a-63de9aa18929') - - name: deleted - in: query - required: false - description: | - This sets whether or not to fetch deleted order items in the response. If set to true, the response will include records for the deleted order items. - schema: - type: boolean - default: false + - $ref: '#/components/parameters/deleted' tags: - Events responses: @@ -12782,7 +12779,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity10' + $ref: '#/components/responses/UnprocessableEntity1' '429': $ref: '#/components/responses/TooManyRequests1' deprecated: false @@ -14991,13 +14988,13 @@ paths: '200': $ref: '#/components/responses/UsersGroupsResponse' '400': - $ref: '#/components/responses/BadRequest18' + $ref: '#/components/responses/BadRequest17' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' parameters: - $ref: '#/components/parameters/startIndex' - $ref: '#/components/parameters/count1' @@ -15020,11 +15017,11 @@ paths: '200': $ref: '#/components/responses/ResourceTypes' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15050,15 +15047,15 @@ paths: schema: $ref: '#/components/schemas/ResourceType' '400': - $ref: '#/components/responses/BadRequest18' + $ref: '#/components/responses/BadRequest17' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '404': - $ref: '#/components/responses/NotFound18' + $ref: '#/components/responses/NotFound17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15078,11 +15075,11 @@ paths: '200': $ref: '#/components/responses/UsersSchemaResponse' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15108,15 +15105,15 @@ paths: schema: $ref: '#/components/schemas/UsersSchema' '400': - $ref: '#/components/responses/BadRequest18' + $ref: '#/components/responses/BadRequest17' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '404': - $ref: '#/components/responses/NotFound18' + $ref: '#/components/responses/NotFound17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15136,11 +15133,11 @@ paths: '200': $ref: '#/components/responses/ServiceProviderConfig' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15169,15 +15166,15 @@ paths: schema: $ref: '#/components/schemas/User' '400': - $ref: '#/components/responses/BadRequest18' + $ref: '#/components/responses/BadRequest17' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '409': - $ref: '#/components/responses/Conflict11' + $ref: '#/components/responses/Conflict10' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15229,13 +15226,13 @@ paths: schema: $ref: '#/components/schemas/Users' '400': - $ref: '#/components/responses/BadRequest18' + $ref: '#/components/responses/BadRequest17' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15261,15 +15258,15 @@ paths: schema: $ref: '#/components/schemas/User' '400': - $ref: '#/components/responses/BadRequest18' + $ref: '#/components/responses/BadRequest17' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '404': - $ref: '#/components/responses/NotFound18' + $ref: '#/components/responses/NotFound17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15299,15 +15296,15 @@ paths: schema: $ref: '#/components/schemas/User' '400': - $ref: '#/components/responses/BadRequest18' + $ref: '#/components/responses/BadRequest17' '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '404': - $ref: '#/components/responses/NotFound18' + $ref: '#/components/responses/NotFound17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15329,13 +15326,13 @@ paths: description: Successfully deleted a User. headers: {} '401': - $ref: '#/components/responses/Unauthorized18' + $ref: '#/components/responses/Unauthorized17' '403': - $ref: '#/components/responses/Forbidden18' + $ref: '#/components/responses/Forbidden17' '404': - $ref: '#/components/responses/NotFound18' + $ref: '#/components/responses/NotFound17' '429': - $ref: '#/components/responses/TooManyRequests18' + $ref: '#/components/responses/TooManyRequests17' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -17645,6 +17642,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-accounts:read + - OAuth2.clientCredentials: - business-travel/travel-accounts:read parameters: - $ref: '#/components/parameters/after' @@ -17712,6 +17710,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-accounts:read + - OAuth2.clientCredentials: - business-travel/travel-accounts:read responses: '200': @@ -17771,6 +17770,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-programs:read + - OAuth2.clientCredentials: - business-travel/travel-programs:read parameters: - $ref: '#/components/parameters/after' @@ -17804,6 +17804,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read + - OAuth2.clientCredentials: - business-travel/travel-program-questions:read parameters: - $ref: '#/components/parameters/after' @@ -17840,6 +17841,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-programs:read + - OAuth2.clientCredentials: - business-travel/travel-programs:read responses: '200': @@ -17871,6 +17873,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read + - OAuth2.clientCredentials: - business-travel/travel-program-questions:read parameters: - $ref: '#/components/parameters/after' @@ -17908,6 +17911,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read + - OAuth2.clientCredentials: - business-travel/travel-program-questions:read responses: '200': @@ -17937,8 +17941,10 @@ paths: security: - OAuth2.clientCredentials: - business-transient/proposals:read + - business-travel/proposals:read - OAuth2.authorizationCode: - business-transient/proposals:read + - business-travel/proposals:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -17971,8 +17977,10 @@ paths: security: - OAuth2.clientCredentials: - business-transient/bids:read + - business-travel/bids:read - OAuth2.authorizationCode: - business-transient/bids:read + - business-travel/bids:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -18007,6 +18015,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/bids:read + - business-travel/bids:read responses: '200': description: Successfully retrieved a travel proposal bid. @@ -18037,8 +18046,10 @@ paths: security: - OAuth2.clientCredentials: - business-transient/proposals:read + - business-travel/proposals:read - OAuth2.authorizationCode: - business-transient/proposals:read + - business-travel/proposals:read responses: '200': description: Successfully retrieved a travel proposal. @@ -18377,6 +18388,417 @@ paths: externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' + /venues/{venueId}/details: + put: + operationId: updateVenueDetails + summary: Update Venue Details + description: Update venue details for the specified venue, replacing the existing venue details data. + security: + - OAuth2.authorizationCode: + - venue/venue-details:write + - OAuth2.clientCredentials: + - venue/venue-details:write + parameters: + - $ref: '#/components/parameters/venueId' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/existingVenueDetails' + tags: + - Venue Profiles + responses: + '200': + description: Successfully updated the venue details. + content: + application/json: + schema: + $ref: '#/components/schemas/existingVenueDetails' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + patch: + operationId: patchVenueDetails + summary: Patch Venue Details + description: | + Partially updates the specified venue's details using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + + - Only fields present in the request body are updated; omitted fields remain unchanged. + - Set a field to `null` to unset it. + - If any part of the patch fails, the entire request will fail. + + **Array Handling:** + - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + - If an array property is not included in the payload, no updates are made to that field. + - If an empty array is sent, it replaces the existing array with an empty array. + security: + - OAuth2.authorizationCode: + - venue/venue-details:write + - OAuth2.clientCredentials: + - venue/venue-details:write + parameters: + - $ref: '#/components/parameters/venueId' + requestBody: + required: true + content: + application/merge-patch+json: + schema: + $ref: '#/components/schemas/venueDetailsPatch' + tags: + - Venue Profiles + responses: + '200': + description: Successfully updated the venue details. The response contains only the fields that were provided in the request payload. + content: + application/json: + schema: + $ref: '#/components/schemas/venueDetailsPatch' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/details/overview: + get: + operationId: getVenueDetailsOverview + summary: Get Venue Details Overview + description: Retrieve an overview of venue details for the specified venue. + security: + - OAuth2.authorizationCode: + - venue/venue-details-overview:read + - OAuth2.clientCredentials: + - venue/venue-details-overview:read + parameters: + - $ref: '#/components/parameters/venueId' + tags: + - Venue Profiles + responses: + '200': + description: Successfully retrieved the venue details overview. + content: + application/json: + schema: + $ref: '#/components/schemas/venueDetailsOverview' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/facility: + put: + operationId: updateVenueFacility + summary: Update Venue Facility + description: | + Update the facility information for the specified venue, replacing all existing values with those provided in the request body. + + Field applicability varies by venue type: + - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + security: + - OAuth2.authorizationCode: + - venue/venue-facility:write + - OAuth2.clientCredentials: + - venue/venue-facility:write + parameters: + - $ref: '#/components/parameters/venueId' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/existingVenueFacility' + tags: + - Venue Profiles + responses: + '200': + description: Successfully updated the venue facility information. + content: + application/json: + schema: + $ref: '#/components/schemas/existingVenueFacility' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + patch: + operationId: patchVenueFacility + summary: Patch Venue Facility + description: | + Partially update the facility information for the specified venue using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + + - Only fields present in the request body are updated; omitted fields remain unchanged. + - Set a field to `null` to unset it. + - If any part of the patch fails, the entire request will fail. + - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + + Field applicability varies by venue type: + - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + security: + - OAuth2.authorizationCode: + - venue/venue-facility:write + - OAuth2.clientCredentials: + - venue/venue-facility:write + parameters: + - $ref: '#/components/parameters/venueId' + requestBody: + required: true + content: + application/merge-patch+json: + schema: + $ref: '#/components/schemas/venueFacilityPatch' + tags: + - Venue Profiles + responses: + '200': + description: Successfully updated the venue facility information. The response contains only the fields that were provided in the request payload. + content: + application/json: + schema: + $ref: '#/components/schemas/venueFacilityPatch' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/meeting-rooms: + post: + operationId: createMeetingRoom + summary: Create Meeting Room + description: Create a new meeting room for the specified venue. + security: + - OAuth2.authorizationCode: + - venue/meeting-rooms:write + - OAuth2.clientCredentials: + - venue/meeting-rooms:write + parameters: + - $ref: '#/components/parameters/venueId' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/meetingRoom' + tags: + - Venue Meeting Rooms + responses: + '201': + description: Meeting room created successfully. + headers: + Location: + description: URL of the newly created meeting room. + schema: + type: string + format: uri + content: + application/json: + schema: + $ref: '#/components/schemas/existingMeetingRoom' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/meeting-rooms/overviews: + get: + operationId: listMeetingRoomsOverviews + summary: List Meeting Rooms Overviews + description: Retrieve a paginated list of meeting room overviews for the specified venue. + security: + - OAuth2.authorizationCode: + - venue/meeting-room-overviews:read + - OAuth2.clientCredentials: + - venue/meeting-room-overviews:read + parameters: + - $ref: '#/components/parameters/venueId' + - name: limit + in: query + required: false + description: The maximum number of records to return per page. + schema: + type: integer + minimum: 1 + maximum: 200 + default: 100 + example: 100 + - name: token + in: query + required: false + description: The continuation token returned from a previous request. This must be a valid UUID v4 if provided. This will override any other pageable parameters provided. + schema: + type: string + format: uuid + example: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: filter + in: query + required: false + description: | + 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: + + * `hiddenOnProfile` (`eq`) + schema: + type: string + example: hiddenOnProfile eq 'false' + tags: + - Venue Meeting Rooms + responses: + '200': + description: Successfully retrieved overview of meeting rooms. + content: + application/json: + schema: + $ref: '#/components/schemas/meetingRoomsOverviewResponse' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/meeting-rooms/{meetingRoomId}: + put: + operationId: updateMeetingRoom + summary: Update Meeting Room + description: Update a meeting room for the specified venue, replacing the existing meeting room data. + security: + - OAuth2.authorizationCode: + - venue/meeting-rooms:write + - OAuth2.clientCredentials: + - venue/meeting-rooms:write + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/meetingRoomId' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/existingMeetingRoom' + tags: + - Venue Meeting Rooms + responses: + '200': + description: Successfully updated the meeting room. + content: + application/json: + schema: + $ref: '#/components/schemas/existingMeetingRoom' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + patch: + operationId: patchMeetingRoom + summary: Patch Meeting Room + description: | + Partially update a meeting room for the specified venue. + + - Only fields present in the request body are updated; omitted fields remain unchanged. + - Set a field to `null` to unset it. + - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged. + - All changes are applied atomically. + security: + - OAuth2.authorizationCode: + - venue/meeting-rooms:write + - OAuth2.clientCredentials: + - venue/meeting-rooms:write + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/meetingRoomId' + requestBody: + required: true + content: + application/merge-patch+json: + schema: + $ref: '#/components/schemas/patchMeetingRoom' + tags: + - Venue Meeting Rooms + responses: + '200': + description: Successfully updated the meeting room. + content: + application/json: + schema: + $ref: '#/components/schemas/patchMeetingRoom' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/meeting-rooms/{meetingRoomId}/overview: + get: + operationId: getMeetingRoomOverview + summary: Get Meeting Room Overview + description: Retrieve an overview of a specific meeting room for the specified venue. + security: + - OAuth2.authorizationCode: + - venue/meeting-room-overviews:read + - OAuth2.clientCredentials: + - venue/meeting-room-overviews:read + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/meetingRoomId' + tags: + - Venue Meeting Rooms + responses: + '200': + description: Successfully retrieved the meeting room overview. + content: + application/json: + schema: + $ref: '#/components/schemas/meetingRoomOverview' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' /videos: get: tags: @@ -19632,6 +20054,14 @@ components: required: true schema: $ref: '#/components/schemas/uuid-property' + deleted: + name: deleted + in: query + required: false + description: When `true`, includes soft-deleted records in the response. Defaults to `false`. + schema: + type: boolean + default: false discountAgendaItemFilter: name: filter in: query @@ -20416,6 +20846,14 @@ components: in: query schema: $ref: '#/components/schemas/locale.json' + meetingRoomId: + description: Unique identifier for a meeting room. + name: meetingRoomId + required: true + in: path + schema: + type: string + format: uuid memberFilter: name: filter in: query @@ -21429,10 +21867,17 @@ components: uuid1: description: A uuid path parameter. schema: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' name: id in: path required: true + venueId: + description: Unique Cvent based identifier for a Venue. + name: venueId + required: true + in: path + schema: + $ref: '#/components/schemas/VenueID' videoHubFilter: name: filter in: query @@ -21524,7 +21969,7 @@ components: example: code: 400 message: Bad Request - BadRequest18: + BadRequest17: description: Bad request content: application/json: @@ -21536,7 +21981,7 @@ components: status: 400 detail: Request is unparsable, syntactically incorrect, or violates schema. scimType: invalidSyntax - BadRequest26: + BadRequest24: description: Bad request content: application/json: @@ -21557,7 +22002,7 @@ components: example: code: 409 message: Conflict - Conflict11: + Conflict10: description: The request conflicts with current state of the target resource content: application/json: @@ -21599,7 +22044,7 @@ components: example: code: 403 message: Access Forbidden - Forbidden18: + Forbidden17: description: You do not have access to the resource content: application/json: @@ -21610,7 +22055,7 @@ components: - urn:ietf:params:scim:api:messages:2.0:Error status: 403 detail: User is Forbidden to make this request - Forbidden26: + Forbidden24: description: You do not have access to the resource content: application/json: @@ -21652,7 +22097,7 @@ components: example: code: 404 message: Not found - NotFound18: + NotFound17: description: Resource not found content: application/json: @@ -21663,7 +22108,7 @@ components: - urn:ietf:params:scim:api:messages:2.0:Error status: 404 detail: HTTP 404 Not Found - NotFound26: + NotFound24: description: Resource not found content: application/json: @@ -21702,7 +22147,7 @@ components: example: code: 429 message: Limit Exceeded - TooManyRequests18: + TooManyRequests17: description: Too Many Requests content: application/json: @@ -21713,7 +22158,7 @@ components: - urn:ietf:params:scim:api:messages:2.0:Error status: 429 detail: Too Many Requests - TooManyRequests26: + TooManyRequests24: description: Too many requests content: application/json: @@ -21728,7 +22173,7 @@ components: example: code: 401 message: Unauthorized - Unauthorized18: + Unauthorized17: description: Bad or expired token content: application/json: @@ -21740,18 +22185,18 @@ components: status: 401 detail: Request failed authentication/authorization process scimType: invalidValue - Unauthorized26: + Unauthorized24: description: Bad or expired token content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' - UnprocessableEntity10: + UnprocessableEntity1: description: Was not able to process the request. content: application/json: schema: - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ErrorResponse' example: code: 422 message: Unprocessable Entity @@ -22140,7 +22585,7 @@ components: type: boolean description: True means this account user role is an administrative account user role. readOnly: true - activity-ad.json: + ActivityAd: type: object title: ActivityAd description: The details of the advertisement. @@ -22159,7 +22604,7 @@ components: description: The product for which ad is created example: ATTENDEE_HUB location: - $ref: '#/components/schemas/ad-location.json' + $ref: '#/components/schemas/AdLocation' attribution: type: object description: The entity to which the ad is associated. @@ -22172,12 +22617,12 @@ components: type: string description: The type of attribution. example: CUSTOM - activity-appointment.json: + ActivityAppointment: type: object title: ActivityAppointment description: An activity appointment. allOf: - - $ref: '#/components/schemas/activity-base-appointment.json' + - $ref: '#/components/schemas/ActivityBaseAppointment' properties: start: type: string @@ -22189,13 +22634,13 @@ components: format: date-time description: The ISO 8601 zoned date time when an appointment ends. example: '2020-02-03T14:00:00.000Z' - activity-base-appointment.json: + ActivityBaseAppointment: type: object title: ActivityBaseAppointment description: Base entity of an activity appointment. properties: id: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' name: type: string description: The name of the appointment. @@ -22216,7 +22661,61 @@ components: type: string description: The code of linked appointment event. example: VFNGZT7LH7D - activity-contact.json: + ActivityBoothStaff: + type: object + title: ActivityBoothStaff + description: Booth staff for an activity. + properties: + id: + type: string + format: uuid + description: The unique identifier of the exhibitor booth staff. + firstName: + type: string + description: The first name of the booth staff that captured the lead. + example: John + lastName: + type: string + description: The last name of the booth staff that captured the lead. + example: Doe + email: + type: string + format: email + description: The email address of the booth staff that captured the lead. + minLength: 6 + maxLength: 80 + example: h.potterfield@test.com + ActivityCommon: + type: object + title: Activity Common + description: Common base entity for an activity. + required: + - attendee + - event + properties: + id: + type: string + format: uuid + description: The identifier of the attendee activity. + example: 9463c74e-18c6-401a-a710-ae0f485bf059 + readOnly: true + attendee: + $ref: '#/components/schemas/UUID' + event: + $ref: '#/components/schemas/EventActivityDetail' + time: + type: string + format: date-time + description: ISO 8601 date and time when this attendee activity occurred. + readOnly: true + example: '2019-08-24T14:15:22Z' + created: + type: string + format: date-time + description: ISO 8601 date and time when this record was created. + readOnly: true + example: '2019-08-24T14:15:22Z' + ActivityContact: title: ActivityContact description: An activity contact. type: object @@ -22238,619 +22737,161 @@ components: minLength: 6 maxLength: 80 example: h.potterfield@test.com - activity-data.json: + ActivityData: title: ActivityData description: This is used to denote the type of the attendee activity readOnly: true anyOf: - title: appointment.accepted allOf: - - title: Appointment Activity - description: Appointment activity - type: object - properties: - appointment: - $ref: '#/components/schemas/activity-appointment.json' - contact: - $ref: '#/components/schemas/activity-contact.json' + - $ref: '#/components/schemas/AppointmentActivity' - title: appointment.cancelled allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/0/allOf/0' + - $ref: '#/components/schemas/AppointmentActivity' - title: appointment.checkedIn allOf: - - type: object - title: appointment.checkedIn - description: Appointment checked-in activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/0/allOf/0' - properties: - checkedIn: - type: string - format: date-time - description: ISO 8601 date and time when an attendee checked in to the appointment. - example: '2020-02-03T13:00:00.000Z' - - title: appointment.created - type: object - description: Appointment created activity. - properties: - appointment: - $ref: '#/components/schemas/activity-appointment.json' - contact: - $ref: '#/components/schemas/activity-contact.json' + - $ref: '#/components/schemas/AppointmentCheckedIn' + - $ref: '#/components/schemas/AppointmentCreated' - title: appointment.declined allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/0/allOf/0' + - $ref: '#/components/schemas/AppointmentActivity' - title: appointment.denied allOf: - - title: AppointmentDenied - description: Appointment denied activity. - type: object - properties: - appointment: - $ref: '#/components/schemas/activity-base-appointment.json' - contact: - $ref: '#/components/schemas/activity-contact.json' + - $ref: '#/components/schemas/AppointmentDenied' - title: appointment.rescheduled allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/3' - - type: object - title: email.bounced - description: An email-bounced activity. - allOf: - - type: object - title: EmailActivity - description: An email activity. - properties: - type: - type: string - description: Type of the email. - example: Invitation Reminder - properties: - reason: - type: string - description: Reason for the bounced email. - example: 5.x.x - delivery error - contact: - $ref: '#/components/schemas/activity-contact.json' - bounced: - type: string - format: date-time - description: ISO 8601 date and time when an email bounced. - example: '2020-02-03T13:00:00.000Z' - smtpCode: - type: integer - description: The Simple Mail Transfer Protocol (SMTP) response status code. - example: 500 - dsnDiagnostic: - type: string - description: Delivery Status Notification diagnostic details. - example: smtp;500 ESS - global exclusion - optOut: - type: boolean - default: false - description: Used to denote if a recipient has opted-out of receiving emails. - example: false - - type: object - title: email.clicked - description: An email-clicked activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/7/allOf/0' - properties: - clicked: - type: string - format: date-time - description: ISO 8601 date and time when an email link was clicked. - example: '2020-02-03T13:00:00.000Z' - url: - type: string - description: The URL clicked in the email. - example: http://www.cvent.com - urlText: - type: string - description: The URL text of the link. - example: Click Here - - type: object - title: email.opened - description: An email-opened activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/7/allOf/0' - properties: - opened: - type: string - format: date-time - description: ISO 8601 date and time when an email was opened. - example: '2020-02-03T13:00:00.000Z' - - type: object - title: email.sent - description: An email-sent activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/7/allOf/0' - properties: - sent: - type: string - format: date-time - description: ISO 8601 date and time when an email was sent. - example: '2020-02-03T13:00:00.000Z' - - type: object - title: email.undelivered - description: An email-undelivered activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/7/allOf/0' - properties: - contact: - $ref: '#/components/schemas/activity-contact.json' - undelivered: - type: string - format: date-time - description: ISO 8601 date and time when an email was undelivered. - example: '2020-02-03T13:00:00.000Z' - - type: object - title: event.attendeeHubVisited - description: An event attendee-hub-visited activity. - allOf: - - type: object - title: ActivityEventWebsite - description: Web browser details for an activity. - properties: - browser: - type: string - description: The name of the web browser. - example: firefox - operatingSystem: - type: string - description: The name of the operating system. - example: windows - properties: - pageName: - type: string - description: The name of the event website page before the attendee arrived in Attendee Hub. - example: event website visits - buttonText: - type: string - description: Text on the button. - example: Go to My Event 11 - - type: object - title: event.attendeeSubstituted - description: An attendee-substituted activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - oldContact: - $ref: '#/components/schemas/contact-common.json' - newContact: - $ref: '#/components/schemas/contact-common.json' - - type: object - title: event.bannerLinkClicked - description: The link on the banner clicked by an attendee. - allOf: - - type: object - title: ActivityExhibitorBase - description: Base entity for an Activity Exhibitor. - properties: - exhibitor: - $ref: '#/components/schemas/exhibitor.json' - platform: - $ref: '#/components/schemas/user-platform.json' - properties: - banner: - type: object - description: The related banner - properties: - id: - type: string - format: uuid - description: Banner ID - target: - $ref: '#/components/schemas/banner-link-target.json' + - $ref: '#/components/schemas/AppointmentCreated' + - $ref: '#/components/schemas/EmailBounced' + - $ref: '#/components/schemas/EmailClicked' + - $ref: '#/components/schemas/EmailOpened' + - $ref: '#/components/schemas/EmailSent' + - $ref: '#/components/schemas/EmailUndelivered' + - $ref: '#/components/schemas/EventAttendeeHubVisited' + - $ref: '#/components/schemas/EventAttendeeSubstituted' + - $ref: '#/components/schemas/EventBannerLinkClicked' - title: event.checkedIn allOf: - - type: object - title: event.checkedIn - description: An email-checked-in activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - checkedIn: - type: string - format: date-time - description: ISO 8601 date and time when an attendee checked in to an event. - example: '2020-02-03T13:00:00.000Z' + - $ref: '#/components/schemas/EventCheckedIn' - title: event.checkedOut allOf: - - type: object - title: event.checkedOut - description: An email-checked-out activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - checkOut: - type: string - format: date-time - description: ISO 8601 date and time when an attendee checked out from an event. - example: '2020-02-03T13:00:00.000Z' - - type: object - title: event.customCardOpened - description: This is used to denote the attendee activity fetched when a custom card is opened by an attendee. - properties: - name: - type: string - description: The name of the custom card. - example: Join our mailing list. - url: - type: string - format: uri - description: The URL associated with the custom card. - example: https://cvent.com - type: - type: string - description: The type of the custom card. This value can be Link, Video, Appointment etc. - example: Video - multipleLinks: - type: boolean - description: True indicates the custom card contains multiple links. An attendee uses only one link at a time in a custom card. - example: false - - title: event.feedbackSubmitted - description: An event-feedback-submitted activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - survey: - $ref: '#/components/schemas/survey-response.json' + - $ref: '#/components/schemas/EventCheckedOut' + - $ref: '#/components/schemas/EventCustomCardOpened' + - $ref: '#/components/schemas/EventFeedbackSubmitted' - title: event.noShow allOf: - - type: object - title: Event Activity - description: An email activity. - properties: - event: - type: object - description: The event in which this activity occurred. - properties: - id: - type: string - format: uuid - description: Event ID. - - type: object - title: event.pageVisitTracked - description: Contains Urchin Tracking Module (UTM) data. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - source: - type: string - description: Identifies which site sent the traffic. - example: twitter - medium: - type: string - description: Identifies what type of link was used, such as cost per click or email. - example: social - campaign: - type: string - description: Identifies a specific product promotion or strategic campaign. - example: sale - term: - type: string - description: Identifies search terms. - example: social-media - content: - type: string - description: Identifies what specifically was clicked to bring the user to the site, such as a banner ad or a text link. - example: register-button - custom: - type: string - description: An additional tracking parameter which can be used to compliment the standard UTM parameters. - example: custom-param - additional: - type: object - description: Contains any additional non-standard UTM parameters. Key represents the custom parameters added by the planner. Value represents the corresponding value recorded about the page viewer. - additionalProperties: - type: string - example: - id: d89eaf5b-b2dc-4ffb-964e-affbb0942e65 - submitted: 'true' + - $ref: '#/components/schemas/EventActivity' + - $ref: '#/components/schemas/EventPageVisitTracked' - title: event.registered allOf: - - type: object - title: Event Registered - description: An event-registered activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - status: - $ref: '#/components/schemas/attendee-status.json' - - title: event.registrationAbandoned - description: An event registration-abandoned activity. - type: object - properties: - lastSavedRegistrationPageName: - type: string - description: The last page where an invitee left during the registration. - maxLength: 200 - example: Personal Information - lastActivity: - type: string - format: date-time - description: ISO 8601 date and time when an invitee left the registration process. - example: '2020-02-03T13:00:00.000Z' - contact: - type: object - description: Related contact. - allOf: - - $ref: '#/components/schemas/activity-contact.json' - deprecated: true + - $ref: '#/components/schemas/EventRegistered' + - $ref: '#/components/schemas/EventRegistrationAbandoned' - title: event.registrationCancelled allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/21/allOf/0' - - type: object - title: event.videoPlayed - description: An event video-played activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/12/allOf/0' - properties: - title: - type: string - description: The title of video. - example: We are Cvent! - pageName: - type: string - description: The name of the page. - example: Agenda + - $ref: '#/components/schemas/EventRegistered' + - $ref: '#/components/schemas/EventVideoPlayed' - title: event.waitlisted allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/21/allOf/0' - - title: exhibitor.documentOpened - description: An exhibitor document-opened activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/14/allOf/0' - properties: - document: - $ref: '#/components/schemas/activity-exhibitor-document.json' - - title: exhibitor.socialLinkOpened - description: An exhibitor social-link-opened activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/14/allOf/0' - properties: - sponsorshipLevel: - $ref: '#/components/schemas/activity-exhibitor-sponsorship-level.json' - socialNetwork: - type: string - description: The name of the social network. - example: LinkedIn - url: - type: string - format: uri - description: The link opened by the attendee. - example: https://www.linkedin.com/company/cvent/mycompany/ - - title: exhibitor.viewed - description: An exhibitor viewed activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/14/allOf/0' - properties: - sponsorshipLevel: - $ref: '#/components/schemas/activity-exhibitor-sponsorship-level.json' - navigationSource: - $ref: '#/components/schemas/activity-exhibitor-navigation-source.json' - - title: exhibitor.virtualBoothJoined - description: An exhibitor virtual-booth-joined activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/14/allOf/0' - properties: - sponsorshipLevel: - $ref: '#/components/schemas/activity-exhibitor-sponsorship-level.json' - solutionType: - type: string - description: The solution type used for the virtual booth. - example: CVC - - title: exhibitor.weblinkOpened - description: An exhibitor weblink-opened activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/14/allOf/0' - properties: - weblink: - $ref: '#/components/schemas/activity-exhibitor-web-link.json' + - $ref: '#/components/schemas/EventRegistered' + - $ref: '#/components/schemas/ExhibitorDocumentOpened' + - $ref: '#/components/schemas/ExhibitorSocialLinkOpened' + - $ref: '#/components/schemas/ExhibitorViewed' + - $ref: '#/components/schemas/ExhibitorVirtualBoothJoined' + - $ref: '#/components/schemas/ExhibitorWeblinkOpened' - title: lead.inboundCreated allOf: - - title: lead.inboundCreated - description: A lead inbound-created activity. - type: object - properties: - exhibitor: - $ref: '#/components/schemas/activity-exhibitor.json' - lead: - $ref: '#/components/schemas/lead-object.json' - - title: lead.qualified - description: A qualified lead. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/33/allOf/0' - properties: - responses: - type: array - items: - $ref: '#/components/schemas/lead-qualified-question-response.json' - description: The list of responses provided by the attendee. + - $ref: '#/components/schemas/LeadInboundCreated' + - $ref: '#/components/schemas/LeadQualified' - title: lead.scanned allOf: - - title: Lead Activity - description: A lead activity - type: object - properties: - exhibitor: - $ref: '#/components/schemas/activity-exhibitor.json' - lead: - $ref: '#/components/schemas/activity-lead.json' + - $ref: '#/components/schemas/LeadActivity' - title: session.checkedIn allOf: - - title: Session Checked In - description: A session checked-in activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - properties: - checkedIn: - type: string - format: date-time - description: ISO 8601 date and time when an attendee checked in to a session. - example: '2020-02-03T13:00:00.000Z' + - $ref: '#/components/schemas/SessionCheckedIn' - title: session.checkedOut allOf: - - title: Session Checked Out - description: A session checked-Out activity. - type: object - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - properties: - checkOut: - type: string - format: date-time - description: ISO 8601 date and time when an attendee checked out from a session. - example: '2020-02-03T13:00:00.000Z' + - $ref: '#/components/schemas/SessionCheckedOut' - title: session.enrolled allOf: - - title: Session Activity - description: A session activity. - type: object - properties: - session: - type: object - title: SessionActivity - description: The activity session. - properties: - id: - $ref: '#/components/schemas/uuid-property' - title: - type: string - description: The title of the session. - example: tech_session - code: - type: string - description: The code of the session. - example: XRNGB4YY3CX - readOnly: true - - type: object - title: session.feedbackSubmitted - description: A session feedback-submitted activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - properties: - survey: - $ref: '#/components/schemas/survey-response.json' + - $ref: '#/components/schemas/SessionActivity' + - $ref: '#/components/schemas/SessionFeedbackSubmitted' - title: session.noShow allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - - type: object - title: session.pollResponseSubmitted - description: The poll created for a session. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - properties: - poll: - $ref: '#/components/schemas/poll-response.json' - - type: object - title: session.questionAsked - description: The question asked activity details for the session. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/41/allOf/0' - properties: - anonymous: - type: boolean - description: True indicates the question was posted anonymously. - example: false + - $ref: '#/components/schemas/SessionActivity' + - $ref: '#/components/schemas/SessionPollResponseSubmitted' + - $ref: '#/components/schemas/SessionQuestionAsked' - title: session.questionUpvoted allOf: - - type: object - title: session.questionActivity - description: This denotes the question asked in the session. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - properties: - question: - $ref: '#/components/schemas/question-detail.json' - platform: - $ref: '#/components/schemas/user-platform.json' - votes: - type: integer - description: The number of votes for a question. - example: 0 + - $ref: '#/components/schemas/SessionQuestionActivity' - title: session.unenrolled allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' + - $ref: '#/components/schemas/SessionActivity' - title: session.waitlisted allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - - type: object - title: speaker.feedbackSubmitted - description: A speaker feedback-submitted activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/36/allOf/0' - properties: - speaker: - $ref: '#/components/schemas/speaker.json' - survey: - $ref: '#/components/schemas/survey-response.json' - - type: object - title: speaker.fileDownloaded - description: A speaker file-downloaded activity. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/12/allOf/0' - properties: - name: - type: string - description: The name of the file. - example: Instructions - type: - type: string - description: The type of the file. - example: docx - speaker: - $ref: '#/components/schemas/speaker.json' + - $ref: '#/components/schemas/SessionActivity' + - $ref: '#/components/schemas/SpeakerFeedbackSubmitted' + - $ref: '#/components/schemas/SpeakerFileDownloaded' - title: appointment.external allOf: - - $ref: '#/components/schemas/external-activity-data.json/anyOf/0/allOf/0' + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' - title: event.external allOf: - - $ref: '#/components/schemas/external-activity-data.json/anyOf/0/allOf/0' + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' - title: exhibitor.external allOf: - - $ref: '#/components/schemas/external-activity-data.json/anyOf/0/allOf/0' + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' - title: session.external allOf: - - $ref: '#/components/schemas/external-activity-data.json/anyOf/0/allOf/0' + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' - title: event.adViewed allOf: - - type: object - title: event.adViewed - description: Viewed an Event Ad. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - platform: - type: string - description: The platform used by the user. - example: UserPlatform - ad: - $ref: '#/components/schemas/activity-ad.json' + - $ref: '#/components/schemas/EventAdViewed' - title: event.adClicked allOf: - - type: object - title: event.adClicked - description: Clicked an Event Ad. - allOf: - - $ref: '#/components/schemas/activity-data.json/anyOf/19/allOf/0' - properties: - platform: - type: string - description: The platform used by the user. - example: UserPlatform - ad: - $ref: '#/components/schemas/activity-ad.json' - activity-exhibitor-document.json: + - $ref: '#/components/schemas/EventAdClicked' + ActivityEventWebsite: + type: object + title: ActivityEventWebsite + description: Web browser details for an activity. + properties: + browser: + type: string + description: The name of the web browser. + example: firefox + operatingSystem: + type: string + description: The name of the operating system. + example: windows + ActivityExhibitor: + type: object + title: ActivityExhibitor + description: An activity exhibitor. + properties: + id: + type: string + format: uuid + description: The unique identifier of the exhibitor. + code: + type: string + description: Unique code of an exhibitor at a booth. + example: CODE_UPDATE_1 + marketingCode: + type: string + description: The marketing code of an exhibitor. + example: MARKETING_CODE_1 + name: + type: string + description: The Name of an exhibitor. + example: Example Company + ActivityExhibitorBase: + type: object + title: ActivityExhibitorBase + description: Base entity for an Activity Exhibitor. + properties: + exhibitor: + $ref: '#/components/schemas/Exhibitor1' + platform: + $ref: '#/components/schemas/UserPlatform' + ActivityExhibitorDocument: type: object title: ActivityExhibitorDocument description: Document for an activity exhibitor. @@ -22872,7 +22913,7 @@ components: type: boolean description: If the document is downloaded. example: true - activity-exhibitor-navigation-source.json: + ActivityExhibitorNavigationSource: type: object title: ActivityExhibitorNavigationSource description: Navigation source for an activity exhibitor. @@ -22885,7 +22926,7 @@ components: type: string description: The source name in the attendee hub from where the user navigated to the exhibitor booth. example: Session name - activity-exhibitor-sponsorship-level.json: + ActivityExhibitorSponsorshipLevel: type: object title: ActivityExhibitorSponsorshipLevel description: Sponsorship level for an activity exhibitor. @@ -22899,7 +22940,7 @@ components: type: string description: The name of the sponsorship level. example: Gold - activity-exhibitor-web-link.json: + ActivityExhibitorWeblink: type: object title: ActivityExhibitorWeblink description: A web-link for an activity exhibitor. @@ -22913,28 +22954,7 @@ components: type: string description: The name of the weblink. example: Cvent's website - activity-exhibitor.json: - type: object - title: ActivityExhibitor - description: An activity exhibitor. - properties: - id: - type: string - format: uuid - description: The unique identifier of the exhibitor. - code: - type: string - description: Unique code of an exhibitor at a booth. - example: CODE_UPDATE_1 - marketingCode: - type: string - description: The marketing code of an exhibitor. - example: MARKETING_CODE_1 - name: - type: string - description: The Name of an exhibitor. - example: Example Company - activity-lead.json: + ActivityLead: type: object title: ActivityLead description: An activity lead. @@ -22952,8 +22972,8 @@ components: description: Name of the device. example: Jack's iPhone boothStaff: - $ref: '#/components/schemas/lead-object.json/properties/boothStaff/allOf/0' - activity-type.json: + $ref: '#/components/schemas/ActivityBoothStaff' + ActivityType: title: ActivityType description: This is used to denote the type of the attendee activity. enum: @@ -23011,30 +23031,6 @@ components: - event.adClicked type: string example: event.registered - activity.json: - title: AttendeeActivity - description: An attendee activity. - type: object - allOf: - - $ref: '#/components/schemas/external-activity/allOf/0' - properties: - name: - type: string - description: Unique name corresponding to the attendee activity type. - example: Registered for Event - type: - $ref: '#/components/schemas/activity-type.json' - data: - $ref: '#/components/schemas/activity-data.json' - ad-location.json: - title: AdLocation - description: The placement of the ad within the specific product. - enum: - - Home Page - - Exhibitor List - - Session List - type: string - example: Home Page add-on.json: title: Add-on type: object @@ -23450,6 +23446,44 @@ components: maxLength: 2 minLength: 2 example: US + AddressInfo: + title: AddressInfo + description: Venue address information. + type: object + required: + - city + - country + properties: + streetAddress1: + type: string + description: Street address line 1. + maxLength: 40 + example: 1234 Trap Road + streetAddress2: + type: string + description: Street address line 2. + maxLength: 40 + example: Suite 100 + city: + type: string + description: City. + minLength: 1 + maxLength: 40 + example: Vienna + stateProvince: + $ref: '#/components/schemas/StateProvince1' + zipPostalCode: + type: string + description: ZIP or postal code. + maxLength: 25 + example: '22182' + country: + $ref: '#/components/schemas/Country' + directions: + type: string + description: Directions or instructions for getting to the venue. + maxLength: 2500 + example: Take I-66 West to Exit 67, then follow signs to Trap Road. AddressType: title: AddressType enum: @@ -23466,6 +23500,15 @@ components: - home type: string example: work + AdLocation: + title: AdLocation + description: The placement of the ad within the specific product. + enum: + - Home Page + - Exhibitor List + - Session List + type: string + example: Home Page admission-items-paginated-response: title: AdmissionItemsPaginatedResponse description: Paginated collection of admission items. @@ -24068,21 +24111,6 @@ components: format: uuid description: The ID of the choice that was selected. answer-type.json: - title: AnswerType - description: |- - Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - - Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - - Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - - In all other cases, `answerType` is not expected to be set. - type: string - enum: - - Other - - NA - example: Other - answer-type.json1: title: AnswerType enum: - Choice @@ -24103,7 +24131,7 @@ components: - type properties: type: - $ref: '#/components/schemas/answer-type.json1' + $ref: '#/components/schemas/answer-type.json' value: type: string description: 'Value property is used to send information like string, number and date in case of following types of answers only: ChoiceText, Text, Comment, Other. In case of Rank Order question, rank should be put into value. Refer to questions resource to get choice label or category label from their respective ids.' @@ -24116,12 +24144,12 @@ components: $ref: '#/components/schemas/uuid.json' field: $ref: '#/components/schemas/uuid.json' - answer.json1: + Answer2: title: Answer description: A question answer. type: object allOf: - - $ref: '#/components/schemas/question.json2/allOf/0' + - $ref: '#/components/schemas/BaseQuestion' properties: type: type: string @@ -24149,6 +24177,21 @@ components: type: string description: Type of answer example: Choice + AnswerType1: + title: AnswerType + description: |- + Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + + Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + + Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + + In all other cases, `answerType` is not expected to be set. + type: string + enum: + - Other + - NA + example: Other appointment-attendee: title: AppointmentAttendee description: Attendee for an event appointment. @@ -24692,6 +24735,45 @@ components: format: uuid example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 description: Appointment id + AppointmentActivity: + title: Appointment Activity + description: Appointment activity + type: object + properties: + appointment: + $ref: '#/components/schemas/ActivityAppointment' + contact: + $ref: '#/components/schemas/ActivityContact' + AppointmentCheckedIn: + type: object + title: appointment.checkedIn + description: Appointment checked-in activity. + allOf: + - $ref: '#/components/schemas/AppointmentActivity' + properties: + checkedIn: + type: string + format: date-time + description: ISO 8601 date and time when an attendee checked in to the appointment. + example: '2020-02-03T13:00:00.000Z' + AppointmentCreated: + title: appointment.created + type: object + description: Appointment created activity. + properties: + appointment: + $ref: '#/components/schemas/ActivityAppointment' + contact: + $ref: '#/components/schemas/ActivityContact' + AppointmentDenied: + title: AppointmentDenied + description: Appointment denied activity. + type: object + properties: + appointment: + $ref: '#/components/schemas/ActivityBaseAppointment' + contact: + $ref: '#/components/schemas/ActivityContact' AppointmentGroup: title: AppointmentGroup description: An appointment group. @@ -24702,6 +24784,27 @@ components: description: The ID of the appointment group. format: uuid example: bf183d50-56ad-454b-8b9f-06d8e923e1fd + AreaMeasurement: + title: Area Measurement + description: Measurement of area in square feet or square meters. + type: object + properties: + value: + type: number + description: The numeric value of the area measurement. + minimum: 1 + maximum: 9999999 + example: 1500 + unit: + type: string + description: The unit of measurement for the area. + enum: + - SQUARE_FEET + - SQUARE_METERS + example: SQUARE_FEET + required: + - value + - unit AssetLocation: title: Asset Location description: A URL associated with the asset. @@ -24860,9 +24963,9 @@ components: $ref: '#/components/schemas/UUID' unsubscribed: type: boolean - description: "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." + description: 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 is read-only; to update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). example: false - deprecated: true + readOnly: true status: $ref: '#/components/schemas/AttendeeStatus' registeredAt: @@ -24971,11 +25074,11 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/activity.json' + $ref: '#/components/schemas/AttendeeActivity' description: Collection of attendee activities. attendee-add-bulk: title: AttendeeAddBulk @@ -25653,20 +25756,6 @@ components: description: Check-out signature image S3 url type: string example: https://custom.t2.cvent.com/files/contact/signatures/checkoutSignature.jpg - attendee-status.json: - title: AttendeeStatus - enum: - - No Response - - Accepted - - Declined - - Visited - - Waitlisted - - Cancelled - - Pending Approval - - Denied Approval - type: string - description: This is used to denote the status of an attendee. - example: Accepted attendee-subscription-request: description: Request body for updating an attendee's email subscription status. type: object @@ -25802,6 +25891,21 @@ components: properties: id: $ref: '#/components/schemas/uuid-property' + AttendeeActivity: + title: AttendeeActivity + description: An attendee activity. + type: object + allOf: + - $ref: '#/components/schemas/ActivityCommon' + properties: + name: + type: string + description: Unique name corresponding to the attendee activity type. + example: Registered for Event + type: + $ref: '#/components/schemas/ActivityType' + data: + $ref: '#/components/schemas/ActivityData' AttendeeAdd: title: AttendeeAdd description: Model representing an attendee to be added to an event. The attendee's assigned status determines if this add action is a registration or an invite. @@ -25964,10 +26068,9 @@ components: description: The ID of the administrator contact whom registered this attendee. unsubscribed: type: boolean - description: "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." + description: 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 is read-only; to update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). example: false readOnly: true - deprecated: true admissionItem: type: object properties: @@ -27074,7 +27177,7 @@ components: - Qr description: Badge type example: Epc - banner-link-target.json: + BannerLinkTarget: title: BannerLinkTarget description: The target of the link clicked on the banner. type: object @@ -27130,31 +27233,6 @@ components: maxLength: 25 description: Postal code (also known as zipcode) of the address. example: '78727' - base-answer.json: - type: object - title: BaseAnswer - description: Base entity of a question answer. - properties: - id: - type: string - format: uuid - description: The unique identifier of the Answer - value: - type: string - description: Value of an answer. - example: my answer - base-question-response.json: - title: BaseQuestionResponse - description: Base entity for a question response. - type: object - properties: - question: - $ref: '#/components/schemas/question.json2/allOf/0' - answers: - type: array - items: - $ref: '#/components/schemas/base-answer.json' - description: List of answers. BaseAddress: title: Base Address description: Base Address Model @@ -27191,6 +27269,19 @@ components: maxLength: 25 description: Postal code (also known as zipcode) of the address. example: '78727' + BaseAnswer: + type: object + title: BaseAnswer + description: Base entity of a question answer. + properties: + id: + type: string + format: uuid + description: The unique identifier of the Answer + value: + type: string + description: Value of an answer. + example: my answer BaseChoice: title: BaseChoice type: object @@ -27220,15 +27311,41 @@ components: items: $ref: '#/components/schemas/ErrorResponseBase' description: Additional details of cascading error messages. + BaseQuestion: + title: BaseQuestion + type: object + description: The question that was answered. + properties: + id: + type: string + format: uuid + description: The unique identifier of the question. + example: 861b51ec-aa7e-475f-b38d-4c8e35c47d63 + text: + type: string + description: Question text. + example: How would you rate this session? + BaseQuestionResponse: + title: BaseQuestionResponse + description: Base entity for a question response. + type: object + properties: + question: + $ref: '#/components/schemas/BaseQuestion' + answers: + type: array + items: + $ref: '#/components/schemas/BaseAnswer' + description: List of answers. BidItemStatusType: title: Bid Item Status Type enum: - requested - delete_requested - deleted - - not_available + - not_offered type: string - description: The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + description: The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). example: requested BidStatusType: title: Bid Status Type @@ -27659,27 +27776,6 @@ components: description: Total cost of budget item including applicable tax and gratuity. example: 100.5 readOnly: true - budget-cost-detail.json1: - title: BudgetCostDetail - description: The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - properties: - category: - $ref: '#/components/schemas/budget-category.json' - subCategory: - $ref: '#/components/schemas/budget-sub-category.json' - units: - type: number - description: The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. - example: 5.2 - cost: - type: number - description: The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. - example: 100.5 - totalCost: - type: number - description: The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. - example: 100.5 - readOnly: true budget-cost-name.json: title: BudgetCostName type: string @@ -27694,22 +27790,6 @@ components: type: string description: Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. example: FIXED - budget-estimate.json: - title: BudgetEstimate - description: The estimated budget of the Meeting Request. - properties: - currency: - type: string - description: 'The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request.' - example: USD - costType: - $ref: '#/components/schemas/budget-cost-type.json' - costDetail: - type: array - title: Cost Detail - description: A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - items: - $ref: '#/components/schemas/budget-cost-detail.json1' budget-gratuity.json: title: BudgetGratuity description: Budget item gratuity details. @@ -28145,6 +28225,79 @@ components: format: uuid example: 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 description: Budget Version ID Information. + BudgetCategory: + title: BudgetCategory + description: Denotes the category assigned to the budget item. + type: object + required: + - id + properties: + id: + type: integer + description: Unique identifier of the budget category. + example: 3 + name: + type: string + description: Name of the budget category assigned to the budget item. + example: Travel + readOnly: true + BudgetCostDetail: + title: BudgetCostDetail + description: The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + properties: + category: + $ref: '#/components/schemas/BudgetCategory' + subCategory: + $ref: '#/components/schemas/BudgetSubCategory' + units: + type: number + description: The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. + example: 5.2 + cost: + type: number + description: The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. + example: 100.5 + totalCost: + type: number + description: The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. + example: 100.5 + readOnly: true + BudgetCostType: + title: BudgetCostType + enum: + - FIXED + - VARIABLE + type: string + description: Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + example: FIXED + BudgetEstimate: + title: BudgetEstimate + description: The estimated budget of the Meeting Request. + properties: + currency: + type: string + description: 'The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request.' + example: USD + costType: + $ref: '#/components/schemas/BudgetCostType' + costDetail: + type: array + title: Cost Detail + description: A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + items: + $ref: '#/components/schemas/BudgetCostDetail' + BudgetSubCategory: + title: BudgetSubCategory + type: object + description: This is used to denote the sub category for a budget. + properties: + id: + $ref: '#/components/schemas/uuid-property' + name: + type: string + description: Name of the budget subcategory assigned to the budget item. + readOnly: true + example: utilities bulk-attendee-link: title: AttendeeLinkBulk description: Collection of attendee links. @@ -28162,65 +28315,13 @@ components: description: The model representing an arbitrary list of JSON data loaded to bulk job. properties: data: - $ref: '#/components/schemas/bulk-data-limited-list.json' - bulk-data-limited-list.json: - title: BulkDataLimitedList - description: Collection of objects to be processed - type: array - maxItems: 1000 - items: - $ref: '#/components/schemas/bulk-data-property.json' - bulk-data-property.json: - title: BulkDataProperty - description: Data Record envelope - type: object - required: - - dataRecord - properties: - pathParams: - description: Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. - type: object - additionalProperties: - type: string - example: - id: 11111111-0dc3-487b-953e-86d6abbdf7d3 - queryParams: - description: Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. - type: object - additionalProperties: - type: string - example: - param1: param1Value - param2: param2Value - headers: - type: object - description: Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. - additionalProperties: - type: string - example: - header1: header1Value - header2: header2Value - dataRecord: - $ref: '#/components/schemas/bulk-data-record.json' - bulk-data-record.json: - title: BulkDataRecord - type: object - description: Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. - additionalProperties: - type: object - example: - event: - id: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - title: Day 1 Keynote Session - start: '2020-02-03T13:00:00.000Z' - end: '2020-02-07T17:00:00.000Z' - status: Active + $ref: '#/components/schemas/BulkDataLimitedList' bulk-data-upload-response: title: BulkDataUploadResponse description: The model representing the results of a bulk data upload properties: data: - $ref: '#/components/schemas/bulk-data-limited-list.json' + $ref: '#/components/schemas/BulkDataLimitedList' count: type: integer description: The number of successfully uploaded data records @@ -28235,39 +28336,11 @@ components: title: BulkJob description: The model representing a bulk job that can load data asynchronously. required: - - name - url - operation - - mode - - ttl type: object allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter + - $ref: '#/components/schemas/Audit' properties: id: type: string @@ -28351,169 +28424,14 @@ components: title: BulkJobWithData description: The model representing a bulk job that can load data asynchronously including the data required: - - name - url - operation - - mode - - ttl type: object allOf: - - title: BulkJob - description: The model representing a bulk job that can load data asynchronously. - required: - - name - - url - - operation - - mode - - ttl - type: object - allOf: - - $ref: '#/components/schemas/bulk-job/allOf/0' - properties: - id: - type: string - format: uuid - description: Bulk job identifier - example: 766d1986-9aaa-454f-86f5-d605c45b3131 - readOnly: true - description: - type: string - description: Description of the bulk job. - example: Q1 Contact Import - url: - type: string - description: URL of the destination public API being called. This can be the full path or the relative path to the entity. Variables in the URL should remain generic so that you can specify their value in each record with the `pathParams` field. - example: /contacts/{id} - operation: - enum: - - PUT - - POST - - PATCH - - DELETE - type: string - description: Operation to be performed in the destination API. - example: PUT - headers: - type: object - description: Headers to be passed on the destination API. Values must NOT be null. - additionalProperties: - type: string - example: - header1: header1Value - header2: header2Value - queryParams: - type: object - description: Query Params to be passed on to the destination API. Values must NOT be null. - additionalProperties: - type: string - example: - param1: param1Value - param2: param2Value - started: - type: string - format: date-time - description: The ISO 8601 zoned date time when the job started. - readOnly: true - example: '2017-01-02T02:00:00Z' - completed: - type: string - format: date-time - description: The ISO 8601 zoned date time when the job completed. - readOnly: true - example: '2017-01-02T02:30:00Z' - status: - enum: - - PENDING - - READY - - RUNNING - - CANCELED - - COMPLETED - - FAILED - type: string - description: The current status of the bulk job. - example: COMPLETED - readOnly: true - totalRecords: - type: integer - description: Total number of records uploaded for the bulk job. - example: 5000 - readOnly: true - successful: - type: integer - description: Total number of records that were successfully processed by the bulk job. - example: 4950 - readOnly: true - failed: - type: integer - description: Total number of records that were unsuccessfully processed by the bulk job. - example: 50 - readOnly: true - properties: - data: - $ref: '#/components/schemas/bulk-data-limited-list.json' - bulk-result.json: - title: BulkResult - description: This entity is used to represent a single item that is returned as part of a Bulk Job Result call. - allOf: - - title: BulkResponseItem - description: Represents a single item that is returned as part of a Bulk request call. - type: object - required: - - status - - data - properties: - data: - type: object - description: The data returned for a single item in the bulk request call. - example: - event_id: 1234 - attendee_count: 50 - additionalProperties: true - status: - type: integer - description: http status code representing processing status of a single item - example: 400 - message: - type: string - description: Quick description of what happened with processing - example: Example error message. - request: - type: object - description: The processed request tied to this response. This field is only sent when processing fails. - example: - operation: PUT - headers: - header1: header1Value - header2: header2Value - queryParams: - param1: param1Value - param2: param2Value - additionalProperties: true - additionalProperties: false + - $ref: '#/components/schemas/bulk-job' properties: - id: - type: integer - description: The bulk result identifier. - example: 1234 - readOnly: true - job: - type: object - properties: - id: - $ref: '#/components/schemas/uuid-property' - description: Unique identifier of the bulk job linked to this result. - example: - id: 766d1986-9aaa-454f-86f5-d605c45b3131 - readOnly: true - failed: - type: boolean - description: 'Indicator that specifies if the bulk result failed. ' - example: true data: - type: object - description: The response data for the bulk operation. - allOf: - - $ref: '#/components/schemas/bulk-data-property.json' + $ref: '#/components/schemas/BulkDataLimitedList' bulk-results-paginated-response: title: BulkResultsPaginationResponse description: |- @@ -28524,12 +28442,64 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/bulk-result.json' + $ref: '#/components/schemas/BulkResult' description: Collection of bulk result objects. + BulkDataLimitedList: + title: BulkDataLimitedList + description: Collection of objects to be processed + type: array + maxItems: 1000 + items: + $ref: '#/components/schemas/BulkDataProperty' + BulkDataProperty: + title: BulkDataProperty + description: Data Record envelope + type: object + required: + - dataRecord + properties: + pathParams: + description: Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. + type: object + additionalProperties: + type: string + example: + id: 11111111-0dc3-487b-953e-86d6abbdf7d3 + queryParams: + description: Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. + type: object + additionalProperties: + type: string + example: + param1: param1Value + param2: param2Value + headers: + type: object + description: Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. + additionalProperties: + type: string + example: + header1: header1Value + header2: header2Value + dataRecord: + $ref: '#/components/schemas/BulkDataRecord' + BulkDataRecord: + title: BulkDataRecord + type: object + description: Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. + additionalProperties: + type: object + example: + event: + id: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + title: Day 1 Keynote Session + start: '2020-02-03T13:00:00.000Z' + end: '2020-02-07T17:00:00.000Z' + status: Active BulkResponseItem: title: BulkResponseItem description: Represents a single item that is returned as part of a Bulk request call. @@ -28566,6 +28536,38 @@ components: param2: param2Value additionalProperties: true additionalProperties: false + BulkResult: + title: BulkResult + description: This entity is used to represent a single item that is returned as part of a Bulk Job Result call. + allOf: + - $ref: '#/components/schemas/BulkResponseItem' + properties: + id: + type: integer + description: The bulk result identifier. + example: 1234 + readOnly: true + job: + type: object + properties: + id: + $ref: '#/components/schemas/UUIDProperty' + description: Unique identifier of the bulk job linked to this result. + example: + id: 766d1986-9aaa-454f-86f5-d605c45b3131 + readOnly: true + failed: + type: boolean + description: |- + A `true` value indicates the target operation returned an HTTP error status code. + + **Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be `false` even when individual items within the response body indicate failure. For such operations, inspect the `data` field to determine which items succeeded or failed. + example: true + data: + type: object + description: The response data for the bulk operation. + allOf: + - $ref: '#/components/schemas/BulkDataProperty' business-type: title: Business Type enum: @@ -29195,6 +29197,35 @@ components: items: $ref: '#/components/schemas/chain' description: Collection of chains and their related details. + ChainScale: + title: Chain Scale + description: |- + A market segment classification of a venue chain based on Average Daily Rate and other factors. + + Values: + - `BLANK` — Blank + - `ECONOMYCHAINS` — Economy Chains + - `INDEPENDENTS` — Independents + - `LUXURY_CHAINS` — Luxury Chains + - `MIDSCALE_CHAINS` — Midscale Chains + - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + - `UPSCALE_CHAINS` — Upscale Chains + type: string + enum: + - BLANK + - ECONOMYCHAINS + - INDEPENDENTS + - LUXURY_CHAINS + - MIDSCALE_CHAINS + - MIDSCALE_WITH_FB_CHAINS + - MIDSCALE_WITHOUT_FB_CHAINS + - UPPER_MIDSCALE_CHAINS + - UPPER_UPSCALE_CHAINS + - UPSCALE_CHAINS + example: UPSCALE_CHAINS channel.json: title: Channel description: The channel details associated with the chat. @@ -29694,7 +29725,7 @@ components: - VIDEO_CENTER_MEMBER - RESPONDENT - NOT_SET - composite-value.json: + CompositeValue: title: CompositeValue description: |- The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. @@ -29704,15 +29735,15 @@ components: - type: array title: Meeting Room Requirement Set items: - $ref: '#/components/schemas/meeting-room-requirement.json' + $ref: '#/components/schemas/MeetingRoomRequirement' - type: array title: Sleeping Room Requirement Set items: - $ref: '#/components/schemas/sleeping-room-requirement.json' + $ref: '#/components/schemas/SleepingRoomRequirement' - type: array title: Budget Estimate Set items: - $ref: '#/components/schemas/budget-estimate.json' + $ref: '#/components/schemas/BudgetEstimate' readOnly: true connection-response: title: ConnectionResponse @@ -30040,32 +30071,6 @@ components: type: array items: $ref: '#/components/schemas/contact-update' - contact-common.json: - title: ContactFields - description: Details of a contact. - type: object - properties: - id: - type: string - format: uuid - description: Contact ID - firstName: - type: string - description: The first name of the contact. - maxLength: 30 - example: Henry - lastName: - type: string - description: The last name of the contact. - maxLength: 50 - example: Potterfield - email: - type: string - format: email - description: The email address of the contact. - minLength: 6 - maxLength: 80 - example: h.potterfield@test.com contact-field.json: title: Contact Field description: Contains contact data. For example, a User's email address. @@ -30523,6 +30528,32 @@ components: description: This entity is used to represent a single item that is posted for a contact create allOf: - $ref: '#/components/schemas/CreateContact' + ContactFields: + title: ContactFields + description: Details of a contact. + type: object + properties: + id: + type: string + format: uuid + description: Contact ID + firstName: + type: string + description: The first name of the contact. + maxLength: 30 + example: Henry + lastName: + type: string + description: The last name of the contact. + maxLength: 50 + example: Potterfield + email: + type: string + format: email + description: The email address of the contact. + minLength: 6 + maxLength: 80 + example: h.potterfield@test.com ContactGroupType: title: ContactGroupType enum: @@ -30754,6 +30785,268 @@ components: description: Indicates whether the contact type is active. example: true readOnly: true + Country: + title: Country + description: ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + type: string + enum: + - BLANK + - AD + - AE + - AF + - AG + - AI + - AL + - AM + - AN + - AO + - AQ + - AR + - AS + - AT + - AU + - AW + - AX + - AZ + - BA + - BB + - BD + - BE + - BF + - BG + - BH + - BI + - BJ + - BL + - BM + - BN + - BO + - BQ + - BR + - BS + - BT + - BV + - BW + - BY + - BZ + - CA + - CC + - CD + - CF + - CG + - CH + - CI + - CK + - CL + - CM + - CN + - CO + - CR + - CU + - CV + - CW + - CX + - CY + - CZ + - DE + - DJ + - DK + - DM + - DO + - DZ + - EC + - EE + - EG + - EH + - ER + - ES + - ET + - FI + - FJ + - FK + - FM + - FO + - FR + - GA + - GB + - GB_1 + - GB_2 + - GB_3 + - GB_4 + - GD + - GE + - GF + - GG + - GH + - GI + - GL + - GM + - GN + - GP + - GQ + - GR + - GS + - GT + - GU + - GW + - GY + - HK + - HM + - HN + - HR + - HT + - HU + - ID + - IE + - IL + - IM + - IN + - IO + - IQ + - IR + - IS + - IT + - JE + - JM + - JO + - JP + - KE + - KG + - KH + - KI + - KM + - KN + - KO + - KP + - KR + - KW + - KY + - KZ + - LA + - LB + - LC + - LI + - LK + - LR + - LS + - LT + - LU + - LV + - LY + - MA + - MC + - MD + - ME + - MF + - MG + - MH + - MK + - ML + - MM + - MN + - MO + - MP + - MQ + - MR + - MS + - MT + - MU + - MV + - MW + - MX + - MY + - MZ + - NA + - NC + - NE + - NF + - NG + - NI + - NL + - 'NO' + - NP + - NR + - NU + - NZ + - OM + - PA + - PE + - PF + - PG + - PH + - PK + - PL + - PM + - PN + - PR + - PS + - PT + - PW + - PY + - QA + - RE + - RO + - RS + - RU + - RW + - SA + - SB + - SC + - SD + - SE + - SG + - SH + - SI + - SJ + - SK + - SL + - SM + - SN + - SO + - SR + - SS + - ST + - SV + - SX + - SY + - SZ + - TC + - TD + - TF + - TG + - TH + - TJ + - TK + - TL + - TM + - TN + - TO + - TP + - TR + - TT + - TV + - TW + - TZ + - UA + - UG + - UM + - US + - UY + - UZ + - VA + - VC + - VE + - VG + - VI + - VN + - VU + - WF + - WS + - YE + - YT + - ZA + - ZM + - ZW country.json: title: Country description: ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. @@ -31449,6 +31742,178 @@ components: nullable: true writeOnly: true example: jdoe@example.com + Currency: + title: Currency + type: string + description: The ISO 4217 standard format currency code used for RFPs. + enum: + - USD + - CAD + - AUD + - EUR + - GBP + - HKD + - NZD + - AED + - NOK + - INR + - MXN + - SEK + - DKK + - MYR + - JPY + - SGD + - THB + - IDR + - KRW + - CNY + - TWD + - RUB + - CHF + - CZK + - HUF + - QAR + - ZAR + - RON + - HRK + - TRY + - BRL + - PHP + - SAR + - PLN + - ARS + - AWG + - AZN + - BSD + - BBD + - BMD + - CLP + - COP + - CRC + - DOP + - XCD + - ILS + - JMD + - LVL + - LTL + - MDL + - ANG + - OMR + - TTD + - UAH + - UYU + - RSD + - AFN + - AMD + - AOA + - BAM + - BDT + - BGN + - BHD + - BOB + - DZD + - EEK + - EGP + - FJD + - GTQ + - HNL + - ISK + - JOD + - KYD + - KZT + - LBP + - MAD + - NGN + - NIO + - ESP + - FRF + - PAB + - PEN + - PKR + - PYG + - SVC + - SYP + - VEF + - VND + - XPF + - GYD + - MOP + - PGK + - XOF + - XAF + - BZD + - BYR + - BWP + - BND + - BIF + - KHR + - CVE + - KMF + - CDF + - DJF + - ERN + - FKP + - GMD + - GEL + - GHS + - GIP + - GNF + - HTG + - KES + - KWD + - KGS + - LAK + - LRD + - MKD + - MGA + - MWK + - MVR + - MRO + - MUR + - MNT + - MZN + - MMK + - NAD + - NPR + - RWF + - SHP + - WST + - STD + - SLL + - SBD + - SOS + - LKR + - SRD + - SZL + - TOP + - TND + - UGX + - UZS + - VUV + - YER + - ZMK + - ZWD + - SR + - ETB + - GH + - GWP + - IQD + - IRR + - KPW + - LSL + - ROL + - SDG + - SKK + - TJS + - TMT + - TZS + - ALL + - BTN + - CUP + - LD + - SCR + - ZMW + - ZWL currency-conversion-rate: title: CurrencyConversionRate description: Currency conversion rate for a currency based on dates in an account. @@ -32587,6 +33052,27 @@ components: - DESKTOP - MOBILE - TABLET + Dimension: + title: Dimension + description: A dimension measurement in feet or meters. + type: object + properties: + value: + type: number + description: The numeric value of the dimension. + minimum: 0 + maximum: 99999.99 + example: 12.5 + unit: + type: string + description: The unit of measurement for the dimension. + enum: + - FEET + - METERS + example: FEET + required: + - value + - unit discount-agenda-items-paginated-response: title: Discount Agenda Items Paginated Response required: @@ -32854,6 +33340,18 @@ components: - Yards - Blocks example: Kilometers + DistanceMeasurementUnit: + title: Distance Measurement Unit + description: |- + Unit of measurement for distance. + + Values: + - `MILES` — Miles + - `KILOMETERS` — Kilometers + type: string + enum: + - MILES + - KILOMETERS DistributionListInfo: title: DistributionListInfo description: Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. @@ -32886,6 +33384,44 @@ components: description: Type of distribution list status. readOnly: true example: PENDING + Document: + title: document + description: The base model for the document metadata. + type: object + required: + - id + properties: + id: + description: Unique identifier of the document. + type: string + format: uuid + name: + type: string + maxLength: 255 + description: Name of the document. + example: Agenda + size: + type: integer + description: Size of the document in bytes + example: 204800 + uploaded: + type: string + format: date-time + description: The ISO-8601 formatted date and time when the document was uploaded. + example: '2024-06-15T13:45:30Z' + uploadedBy: + type: string + description: The user who uploaded the document. + example: John Doe + lastModified: + type: string + format: date-time + description: The ISO-8601 formatted date and time when this document was last updated. + example: '2024-10-12T03:00:00Z' + lastModifiedBy: + type: string + description: The user who last updated the document. + example: John Doe DocumentId: title: DocumentId description: The unique identifier for a document. @@ -33506,6 +34042,90 @@ components: format: uuid example: a150f1ee-6c54-4b01-90e6-d701748f0851 description: The unique ID of the email to be sent. + EmailActivity: + type: object + title: EmailActivity + description: An email activity. + properties: + type: + type: string + description: Type of the email. + example: Invitation Reminder + EmailBounced: + type: object + title: email.bounced + description: An email-bounced activity. + allOf: + - $ref: '#/components/schemas/EmailActivity' + properties: + reason: + type: string + description: Reason for the bounced email. + example: 5.x.x - delivery error + contact: + $ref: '#/components/schemas/ActivityContact' + bounced: + type: string + format: date-time + description: ISO 8601 date and time when an email bounced. + example: '2020-02-03T13:00:00.000Z' + smtpCode: + type: integer + description: The Simple Mail Transfer Protocol (SMTP) response status code. + example: 500 + dsnDiagnostic: + type: string + description: Delivery Status Notification diagnostic details. + example: smtp;500 ESS - global exclusion + optOut: + type: boolean + default: false + description: Used to denote if a recipient has opted-out of receiving emails. + example: false + EmailClicked: + type: object + title: email.clicked + description: An email-clicked activity. + allOf: + - $ref: '#/components/schemas/EmailActivity' + properties: + clicked: + type: string + format: date-time + description: ISO 8601 date and time when an email link was clicked. + example: '2020-02-03T13:00:00.000Z' + url: + type: string + description: The URL clicked in the email. + example: http://www.cvent.com + urlText: + type: string + description: The URL text of the link. + example: Click Here + EmailOpened: + type: object + title: email.opened + description: An email-opened activity. + allOf: + - $ref: '#/components/schemas/EmailActivity' + properties: + opened: + type: string + format: date-time + description: ISO 8601 date and time when an email was opened. + example: '2020-02-03T13:00:00.000Z' + EmailSent: + type: object + title: email.sent + description: An email-sent activity. + allOf: + - $ref: '#/components/schemas/EmailActivity' + properties: + sent: + type: string + format: date-time + description: ISO 8601 date and time when an email was sent. + example: '2020-02-03T13:00:00.000Z' EmailType1: title: Email Type description: The type of the email. @@ -33515,6 +34135,20 @@ components: type: string example: work default: work + EmailUndelivered: + type: object + title: email.undelivered + description: An email-undelivered activity. + allOf: + - $ref: '#/components/schemas/EmailActivity' + properties: + contact: + $ref: '#/components/schemas/ActivityContact' + undelivered: + type: string + format: date-time + description: ISO 8601 date and time when an email was undelivered. + example: '2020-02-03T13:00:00.000Z' EncodingProfile: title: EncodingProfile enum: @@ -33911,31 +34545,6 @@ components: format: uuid description: Unique identifier for the event linked with the RFP, if any. example: 50dc08af-24a9-4d01-84be-3d43133dc945 - event-activity-details.json: - title: Event Activity Detail - description: Details for an event activity. - type: object - properties: - id: - description: The identifier of the event. - type: string - format: uuid - example: d84855b0-eeda-41c4-8e7a-53e80364cb95 - title: - type: string - description: The title of the event. - example: Cvent Connect 2020 - readOnly: true - code: - type: string - description: The code of the event. - example: XRNGB4YY3CX - readOnly: true - timezone: - type: string - description: The timezone of the event. - example: America/New_York - readOnly: true event-async-response: title: EventAsyncResponse description: Asynchronous event operation job details. @@ -34476,7 +35085,7 @@ components: format: uuid example: 06ca5ae2-0dc3-487b-953e-86d6abbdf7d3 type: - $ref: '#/components/schemas/question-type.json2' + $ref: '#/components/schemas/question-type.json1' internalNote: type: string description: Optional description to provide additional context of the question. @@ -34497,47 +35106,6 @@ components: items: $ref: '#/components/schemas/event-question.json' description: Collection of event questions. - event-role-assignment.json: - title: EventRoleAssignment - description: An assignment of an event role to a user for an event. - type: object - properties: - id: - type: string - description: The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. - readOnly: true - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 - event: - description: The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. - type: object - properties: - id: - type: string - format: uuid - description: The unique ID of the event. - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - user: - description: The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - type: object - properties: - id: - type: string - format: uuid - description: The unique ID of the user. - example: 6807e044-993b-428c-aec8-7316f13c1b95 - eventRole: - $ref: '#/components/schemas/event-role.json' - assigned: - type: string - format: date-time - description: The ISO 8601 zoned date-time when the event role was assigned to the user. - readOnly: true - example: '2017-01-02T02:00:00Z' - assignedBy: - type: string - description: The identifier of the user who assigned the event role. - readOnly: true - example: hporter event-role-assignments-paginated-response: title: EventRoleAssignmentPaginatedResponse description: The response to a request to get a paginated list of event role assignments. This includes the paging object and the collection of event role assignments. @@ -34547,23 +35115,12 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array description: A collection of event role assignments. items: - $ref: '#/components/schemas/event-role-assignment.json' - event-role.json: - title: EventRole - description: An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - type: object - properties: - id: - type: string - format: uuid - description: The ID of the event role. - readOnly: true - example: 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc + $ref: '#/components/schemas/EventRoleAssignment' event-security-level.json: title: EventSecurityLevel description: Represents the security level used for event registrations. @@ -35035,6 +35592,137 @@ components: format: uuid example: 3db28cfc-db22-11eb-8d19-0242ac130003 description: Event id + EventActivity: + type: object + title: Event Activity + description: An email activity. + properties: + event: + type: object + description: The event in which this activity occurred. + properties: + id: + type: string + format: uuid + description: Event ID. + EventActivityDetail: + title: Event Activity Detail + description: Details for an event activity. + type: object + properties: + id: + description: The identifier of the event. + type: string + format: uuid + example: d84855b0-eeda-41c4-8e7a-53e80364cb95 + title: + type: string + description: The title of the event. + example: Cvent Connect 2020 + readOnly: true + code: + type: string + description: The code of the event. + example: XRNGB4YY3CX + readOnly: true + timezone: + type: string + description: The timezone of the event. + example: America/New_York + readOnly: true + EventAdClicked: + type: object + title: event.adClicked + description: Clicked an Event Ad. + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + platform: + type: string + description: The platform used by the user. + example: UserPlatform + ad: + $ref: '#/components/schemas/ActivityAd' + EventAdViewed: + type: object + title: event.adViewed + description: Viewed an Event Ad. + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + platform: + type: string + description: The platform used by the user. + example: UserPlatform + ad: + $ref: '#/components/schemas/ActivityAd' + EventAttendeeHubVisited: + type: object + title: event.attendeeHubVisited + description: An event attendee-hub-visited activity. + allOf: + - $ref: '#/components/schemas/ActivityEventWebsite' + properties: + pageName: + type: string + description: The name of the event website page before the attendee arrived in Attendee Hub. + example: event website visits + buttonText: + type: string + description: Text on the button. + example: Go to My Event 11 + EventAttendeeSubstituted: + type: object + title: event.attendeeSubstituted + description: An attendee-substituted activity. + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + oldContact: + $ref: '#/components/schemas/ContactFields' + newContact: + $ref: '#/components/schemas/ContactFields' + EventBannerLinkClicked: + type: object + title: event.bannerLinkClicked + description: The link on the banner clicked by an attendee. + allOf: + - $ref: '#/components/schemas/ActivityExhibitorBase' + properties: + banner: + type: object + description: The related banner + properties: + id: + type: string + format: uuid + description: Banner ID + target: + $ref: '#/components/schemas/BannerLinkTarget' + EventCheckedIn: + type: object + title: event.checkedIn + description: An email-checked-in activity. + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + checkedIn: + type: string + format: date-time + description: ISO 8601 date and time when an attendee checked in to an event. + example: '2020-02-03T13:00:00.000Z' + EventCheckedOut: + type: object + title: event.checkedOut + description: An email-checked-out activity. + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + checkOut: + type: string + format: date-time + description: ISO 8601 date and time when an attendee checked out from an event. + example: '2020-02-03T13:00:00.000Z' EventContactId: title: EventContactId description: A pair of event and contact id. @@ -35051,6 +35739,37 @@ components: type: string format: uuid description: ID of the contact. + EventCustomCardOpened: + type: object + title: event.customCardOpened + description: This is used to denote the attendee activity fetched when a custom card is opened by an attendee. + properties: + name: + type: string + description: The name of the custom card. + example: Join our mailing list. + url: + type: string + format: uri + description: The URL associated with the custom card. + example: https://cvent.com + type: + type: string + description: The type of the custom card. This value can be Link, Video, Appointment etc. + example: Video + multipleLinks: + type: boolean + description: True indicates the custom card contains multiple links. An attendee uses only one link at a time in a custom card. + example: false + EventFeedbackSubmitted: + title: event.feedbackSubmitted + description: An event-feedback-submitted activity. + type: object + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + survey: + $ref: '#/components/schemas/SurveyResponse' EventFormatType: title: EventFormatType description: Event format type. @@ -35071,6 +35790,22 @@ components: type: string format: uuid example: 78842378-5d83-11ee-8c99-0242ac120002 + EventInsurance: + title: Event Insurance + description: |- + Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `BLANK` — Indicates no selection, leaves the field blank + - `REQUIRED` — Required + - `MAY_BE_REQUIRED` — May Be Required + - `NOT_REQUIRED` — Not Required + type: string + enum: + - BLANK + - REQUIRED + - MAY_BE_REQUIRED + - NOT_REQUIRED EventLite: required: - id @@ -35110,6 +35845,127 @@ components: minimum: 0 maximum: 999999 example: 450 + EventPageVisitTracked: + type: object + title: event.pageVisitTracked + description: Contains Urchin Tracking Module (UTM) data. + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + source: + type: string + description: Identifies which site sent the traffic. + example: twitter + medium: + type: string + description: Identifies what type of link was used, such as cost per click or email. + example: social + campaign: + type: string + description: Identifies a specific product promotion or strategic campaign. + example: sale + term: + type: string + description: Identifies search terms. + example: social-media + content: + type: string + description: Identifies what specifically was clicked to bring the user to the site, such as a banner ad or a text link. + example: register-button + custom: + type: string + description: An additional tracking parameter which can be used to compliment the standard UTM parameters. + example: custom-param + additional: + type: object + description: Contains any additional non-standard UTM parameters. Key represents the custom parameters added by the planner. Value represents the corresponding value recorded about the page viewer. + additionalProperties: + type: string + example: + id: d89eaf5b-b2dc-4ffb-964e-affbb0942e65 + submitted: 'true' + EventRegistered: + type: object + title: Event Registered + description: An event-registered activity. + allOf: + - $ref: '#/components/schemas/EventActivity' + properties: + status: + $ref: '#/components/schemas/AttendeeStatus' + EventRegistrationAbandoned: + title: event.registrationAbandoned + description: An event registration-abandoned activity. + type: object + properties: + lastSavedRegistrationPageName: + type: string + description: The last page where an invitee left during the registration. + maxLength: 200 + example: Personal Information + lastActivity: + type: string + format: date-time + description: ISO 8601 date and time when an invitee left the registration process. + example: '2020-02-03T13:00:00.000Z' + contact: + type: object + description: Related contact. + allOf: + - $ref: '#/components/schemas/ActivityContact' + deprecated: true + EventRole: + title: EventRole + description: An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + type: object + properties: + id: + type: string + format: uuid + description: The ID of the event role. + readOnly: true + example: 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc + EventRoleAssignment: + title: EventRoleAssignment + description: An assignment of an event role to a user for an event. + type: object + properties: + id: + type: string + description: The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. + readOnly: true + example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 + event: + description: The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. + type: object + properties: + id: + type: string + format: uuid + description: The unique ID of the event. + example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + user: + description: The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + type: object + properties: + id: + type: string + format: uuid + description: The unique ID of the user. + example: 6807e044-993b-428c-aec8-7316f13c1b95 + eventRole: + $ref: '#/components/schemas/EventRole' + assigned: + type: string + format: date-time + description: The ISO 8601 zoned date-time when the event role was assigned to the user. + readOnly: true + example: '2017-01-02T02:00:00Z' + assignedBy: + type: string + description: The identifier of the user who assigned the event role. + readOnly: true + example: hporter EventType-1: title: EventType description: Event type. @@ -35137,6 +35993,33 @@ components: - TRAINING - WEDDING - OTHER + EventVideoPlayed: + type: object + title: event.videoPlayed + description: An event video-played activity. + allOf: + - $ref: '#/components/schemas/ActivityEventWebsite' + properties: + title: + type: string + description: The title of video. + example: We are Cvent! + pageName: + type: string + description: The name of the page. + example: Agenda + ExhibitLayoutType: + title: Exhibit Layout Type + description: The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + type: string + enum: + - BOOTH_10x10 + - BOOTH_8x10 + - ISLAND_EXHIBIT + - PENINSULA_EXHIBIT + - PERIMETER_EXHIBIT + - TABLETOP_EXHIBIT + example: BOOTH_10x10 Exhibitor: description: The Associated Exhibitor. title: Exhibitor @@ -35564,7 +36447,7 @@ components: type: string example: https://images.cvent.com/pt/fileLocation/url_456 readOnly: true - exhibitor.json: + Exhibitor1: type: object title: Exhibitor description: An exhibitor. @@ -35650,6 +36533,15 @@ components: format: uuid example: 534a465b-b4cb-471d-9498-4bf3917ad8bf description: ID of exhibitor category. + ExhibitorDocumentOpened: + title: exhibitor.documentOpened + description: An exhibitor document-opened activity. + type: object + allOf: + - $ref: '#/components/schemas/ActivityExhibitorBase' + properties: + document: + $ref: '#/components/schemas/ActivityExhibitorDocument' ExhibitorId: title: ExhibitorId description: A JSON Schema representation of an exhibitor ID. @@ -35669,6 +36561,57 @@ components: items: $ref: '#/components/schemas/exhibitor-response' description: Paginated list of exhibitors for an event. + ExhibitorSocialLinkOpened: + title: exhibitor.socialLinkOpened + description: An exhibitor social-link-opened activity. + type: object + allOf: + - $ref: '#/components/schemas/ActivityExhibitorBase' + properties: + sponsorshipLevel: + $ref: '#/components/schemas/ActivityExhibitorSponsorshipLevel' + socialNetwork: + type: string + description: The name of the social network. + example: LinkedIn + url: + type: string + format: uri + description: The link opened by the attendee. + example: https://www.linkedin.com/company/cvent/mycompany/ + ExhibitorViewed: + title: exhibitor.viewed + description: An exhibitor viewed activity. + type: object + allOf: + - $ref: '#/components/schemas/ActivityExhibitorBase' + properties: + sponsorshipLevel: + $ref: '#/components/schemas/ActivityExhibitorSponsorshipLevel' + navigationSource: + $ref: '#/components/schemas/ActivityExhibitorNavigationSource' + ExhibitorVirtualBoothJoined: + title: exhibitor.virtualBoothJoined + description: An exhibitor virtual-booth-joined activity. + type: object + allOf: + - $ref: '#/components/schemas/ActivityExhibitorBase' + properties: + sponsorshipLevel: + $ref: '#/components/schemas/ActivityExhibitorSponsorshipLevel' + solutionType: + type: string + description: The solution type used for the virtual booth. + example: CVC + ExhibitorWeblinkOpened: + title: exhibitor.weblinkOpened + description: An exhibitor weblink-opened activity. + type: object + allOf: + - $ref: '#/components/schemas/ActivityExhibitorBase' + properties: + weblink: + $ref: '#/components/schemas/ActivityExhibitorWeblink' existing-admission-item: title: ExistingAdmissionItem description: Represents an existing event admission item. @@ -36844,7 +37787,7 @@ components: type: string format: date-time description: Start time for simulive session - example: '2024-03-05T14:00:00Z' + example: 2024-03-05T014:00:00Z images: $ref: '#/components/schemas/video-images.json' source: @@ -37021,6 +37964,21 @@ components: readOnly: true example: 06d2bfce-1793-11ec-9621-0242ac130002 description: Exhibitor Answer id + existingMeetingRoom: + title: Existing Meeting Room + description: An existing venue meeting room with read-only generated properties. + required: + - id + type: object + allOf: + - $ref: '#/components/schemas/meetingRoom' + properties: + id: + type: string + format: uuid + description: The unique identifier for the meeting room. + readOnly: true + example: a1b2c3d4-e5f6-7890-abcd-ef1234567890 ExistingMember: title: Existing Member description: An existing member. @@ -37033,6 +37991,57 @@ components: description: The unique ID of the member. example: c764fb48-a62b-4c5f-b98f-01b5dae2c2ff format: uuid + existingVenueDetails: + title: ExistingVenueDetails + description: An existing venue details model with read-only generated properties. + type: object + required: + - id + - name + allOf: + - $ref: '#/components/schemas/venueDetails' + properties: + id: + type: string + format: uuid + description: Venue ID. + readOnly: true + example: a1b2c3d4-e5f6-7890-abcd-ef1234567890 + name: + type: string + description: Venue name. + readOnly: true + minLength: 1 + maxLength: 100 + example: Vienna Wolf Trap Hotel + metroArea: + type: string + description: Metro area name. Populated once the venue is approved. + readOnly: true + example: Washington DC Metro + existingVenueFacility: + title: ExistingVenueFacility + description: An existing venue facility model with read-only generated properties. + type: object + required: + - id + - name + allOf: + - $ref: '#/components/schemas/VenueFacility' + properties: + id: + type: string + format: uuid + description: Venue ID. + readOnly: true + example: e1c05096-e352-4f2e-af1c-a6e022d36b34 + name: + type: string + description: Venue name. + readOnly: true + minLength: 1 + maxLength: 100 + example: Vienna Wolf Trap Hotel ExistingVolumeDiscount: title: Existing Volume Discount description: Representation of an existing volume based discount. @@ -37115,24 +38124,6 @@ components: format: uuid description: The unique ID of the table. example: c9763ce5-b965-44ed-9c2b-b5657dfab012 - external-activities-additional-fields-metadata.json: - title: ExternalActivityAdditionalFieldsMetadata - description: Additional fields metadata for an external activity. - type: object - required: - - name - properties: - name: - type: string - description: The name of the additional field. - minLength: 1 - maxLength: 100 - example: facebook_social.media - description: - type: string - description: Description of the additional field. - maxLength: 250 - example: Contains data for facebook social media activity. external-activity: title: ExternalAttendeeActivity description: An external attendee activity. @@ -37142,35 +38133,7 @@ components: - data - name allOf: - - type: object - title: Activity Common - description: Common base entity for an activity. - required: - - attendee - - event - properties: - id: - type: string - format: uuid - description: The identifier of the attendee activity. - example: 9463c74e-18c6-401a-a710-ae0f485bf059 - readOnly: true - attendee: - $ref: '#/components/schemas/uuid.json' - event: - $ref: '#/components/schemas/event-activity-details.json' - time: - type: string - format: date-time - description: ISO 8601 date and time when this attendee activity occurred. - readOnly: true - example: '2019-08-24T14:15:22Z' - created: - type: string - format: date-time - description: ISO 8601 date and time when this record was created. - readOnly: true - example: '2019-08-24T14:15:22Z' + - $ref: '#/components/schemas/ActivityCommon' properties: name: type: string @@ -37179,49 +38142,9 @@ components: minLength: 1 maxLength: 100 type: - $ref: '#/components/schemas/external-activity-type.json' + $ref: '#/components/schemas/ExternalActivityType' data: - $ref: '#/components/schemas/external-activity-data.json' - external-activity-data.json: - title: ExternalActivityData - description: This is used to denote the type of the external attendee activity. - type: object - anyOf: - - title: event.external - allOf: - - title: External Activities Additional Fields - description: Additional fields for external activities. - required: - - id - - externalActivityDate - properties: - id: - description: The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - type: string - format: uuid - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - externalActivityDate: - type: string - format: date-time - description: The ISO 8601 zoned date time when the external activity was created. - example: '2019-08-24T14:15:22Z' - additionalFields: - type: object - description: Additional fields provided for the external attendee activity - additionalProperties: - type: string - example: - venue: tokyo - submitted: 'true' - - title: session.external - allOf: - - $ref: '#/components/schemas/external-activity-data.json/anyOf/0/allOf/0' - - title: appointment.external - allOf: - - $ref: '#/components/schemas/external-activity-data.json/anyOf/0/allOf/0' - - title: exhibitor.external - allOf: - - $ref: '#/components/schemas/external-activity-data.json/anyOf/0/allOf/0' + $ref: '#/components/schemas/ExternalActivityData' external-activity-metadata: title: ActivityMetadata description: Metadata for an activity. @@ -37230,32 +38153,7 @@ components: - type - name allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter + - $ref: '#/components/schemas/Audit' properties: id: type: string @@ -37264,7 +38162,7 @@ components: example: 9463c74e-18c6-401a-a710-ae0f485bf059 readOnly: true type: - $ref: '#/components/schemas/external-activity-type.json' + $ref: '#/components/schemas/ExternalActivityType' name: type: string description: Name of an external attendee activity. @@ -37280,7 +38178,7 @@ components: description: Metadata for the fields. type: array items: - $ref: '#/components/schemas/external-activities-additional-fields-metadata.json' + $ref: '#/components/schemas/ExternalActivityAdditionalFieldsMetadata' external-activity-metadata-paginated-response: title: ActivityMetadataPaginatedResponse description: The response from a request to get the list of activities metadata in an account. This includes the paging object as well as the collection of activities metadata in an account. @@ -37290,22 +38188,12 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: $ref: '#/components/schemas/external-activity-metadata' description: Collection of external attendee activities metadata in an account. - external-activity-type.json: - title: ExternalActivityType - description: This is used to denote the type of the external attendee activity. - enum: - - event.external - - session.external - - appointment.external - - exhibitor.external - type: string - example: event.external external-code-type.json: title: External Code Type enum: @@ -37317,6 +38205,76 @@ components: type: string description: Type of the external Code. example: amadeus + ExternalActivitiesAdditionalFields: + title: External Activities Additional Fields + description: Additional fields for external activities. + required: + - id + - externalActivityDate + properties: + id: + description: The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + type: string + format: uuid + example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + externalActivityDate: + type: string + format: date-time + description: The ISO 8601 zoned date time when the external activity was created. + example: '2019-08-24T14:15:22Z' + additionalFields: + type: object + description: Additional fields provided for the external attendee activity + additionalProperties: + type: string + example: + venue: tokyo + submitted: 'true' + ExternalActivityAdditionalFieldsMetadata: + title: ExternalActivityAdditionalFieldsMetadata + description: Additional fields metadata for an external activity. + type: object + required: + - name + properties: + name: + type: string + description: The name of the additional field. + minLength: 1 + maxLength: 100 + example: facebook_social.media + description: + type: string + description: Description of the additional field. + maxLength: 250 + example: Contains data for facebook social media activity. + ExternalActivityData: + title: ExternalActivityData + description: This is used to denote the type of the external attendee activity. + type: object + anyOf: + - title: event.external + allOf: + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' + - title: session.external + allOf: + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' + - title: appointment.external + allOf: + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' + - title: exhibitor.external + allOf: + - $ref: '#/components/schemas/ExternalActivitiesAdditionalFields' + ExternalActivityType: + title: ExternalActivityType + description: This is used to denote the type of the external attendee activity. + enum: + - event.external + - session.external + - appointment.external + - exhibitor.external + type: string + example: event.external ExternalReference: title: ExternalReference description: An external reference. @@ -38868,6 +39826,11 @@ components: $ref: '#/components/schemas/HubFonts' login: $ref: '#/components/schemas/HubLogin' + websiteTheming: + type: boolean + description: True indicates the Events+ hub is opted into the new website theming experience. False indicates the hub uses the legacy theming experience. + example: true + default: false HubBackground: title: HubBackground type: object @@ -39515,51 +40478,6 @@ components: example: 4e74f930-db22-11eb-8d19-0242ac130003 description: Lead id description: JSON schema for the Lead object - lead-object.json: - type: object - title: LeadObject - description: A Lead - properties: - id: - $ref: '#/components/schemas/uuid-property' - deviceId: - type: string - deprecated: true - description: The unique identifier of the device. - example: ID1 - deviceName: - type: string - deprecated: true - description: Name of the device. - example: Device 1 - boothStaff: - type: object - description: Booth staff for the lead. - allOf: - - type: object - title: ActivityBoothStaff - description: Booth staff for an activity. - properties: - id: - type: string - format: uuid - description: The unique identifier of the exhibitor booth staff. - firstName: - type: string - description: The first name of the booth staff that captured the lead. - example: John - lastName: - type: string - description: The last name of the booth staff that captured the lead. - example: Doe - email: - type: string - format: email - description: The email address of the booth staff that captured the lead. - minLength: 6 - maxLength: 80 - example: h.potterfield@test.com - deprecated: true lead-qualification-answers-list-response: title: Lead Qualification Answers List Response type: object @@ -39580,29 +40498,47 @@ components: items: $ref: '#/components/schemas/LeadQualificationQuestion' description: Collection of lead qualification questions. - lead-qualified-answer.json: - title: LeadQualifiedAnswer - description: A question answer. + LeadActivity: + title: Lead Activity + description: A lead activity type: object - allOf: - - $ref: '#/components/schemas/question.json2/allOf/0' properties: - type: - type: string - description: Data type of an answer. - example: simple - lead-qualified-question-response.json: - title: LeadQualifiedQuestionResponse - description: A Question response. + exhibitor: + $ref: '#/components/schemas/ActivityExhibitor' + lead: + $ref: '#/components/schemas/ActivityLead' + LeadInboundCreated: + title: lead.inboundCreated + description: A lead inbound-created activity. type: object properties: - question: - $ref: '#/components/schemas/question.json2' - answers: - type: array - description: List of answers. - items: - $ref: '#/components/schemas/lead-qualified-answer.json' + exhibitor: + $ref: '#/components/schemas/ActivityExhibitor' + lead: + $ref: '#/components/schemas/LeadObject' + LeadObject: + type: object + title: LeadObject + description: A Lead + properties: + id: + $ref: '#/components/schemas/UUIDProperty' + deviceId: + type: string + deprecated: true + description: The unique identifier of the device. + example: ID1 + deviceName: + type: string + deprecated: true + description: Name of the device. + example: Device 1 + boothStaff: + type: object + description: Booth staff for the lead. + allOf: + - $ref: '#/components/schemas/ActivityBoothStaff' + deprecated: true LeadQualificationAnswers: title: Lead Qualification Answers description: This JSON schema file represents lead qualification answers @@ -39675,6 +40611,41 @@ components: type: string description: text of the question example: Is there a business need? + LeadQualified: + title: lead.qualified + description: A qualified lead. + type: object + allOf: + - $ref: '#/components/schemas/LeadActivity' + properties: + responses: + type: array + items: + $ref: '#/components/schemas/LeadQualifiedQuestionResponse' + description: The list of responses provided by the attendee. + LeadQualifiedAnswer: + title: LeadQualifiedAnswer + description: A question answer. + type: object + allOf: + - $ref: '#/components/schemas/BaseQuestion' + properties: + type: + type: string + description: Data type of an answer. + example: simple + LeadQualifiedQuestionResponse: + title: LeadQualifiedQuestionResponse + description: A Question response. + type: object + properties: + question: + $ref: '#/components/schemas/Question2' + answers: + type: array + description: List of answers. + items: + $ref: '#/components/schemas/LeadQualifiedAnswer' leads-paginated-response: title: LeadsPaginatedResponse type: object @@ -39914,6 +40885,18 @@ components: items: $ref: '#/components/schemas/location.json' description: Collection of appointment locations and their associated details. + LocationType: + title: LocationType + description: Location classification for the venue. + type: string + enum: + - AIRPORT + - INTERSTATE + - RESORT + - SMALL_METRO_TOWN + - SUBURBAN + - URBAN + example: SUBURBAN Lookup: title: Lookup description: Lookup response object @@ -39979,32 +40962,7 @@ components: - meetingRequestForm type: object allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter + - $ref: '#/components/schemas/Audit' properties: id: type: string @@ -40016,7 +40974,7 @@ components: description: The name of the specific meeting request. example: Limited MR status: - $ref: '#/components/schemas/meeting-request-status.json' + $ref: '#/components/schemas/MeetingRequestStatus' statusNote: type: string description: The note about the status. @@ -40036,7 +40994,7 @@ components: questions: type: array items: - $ref: '#/components/schemas/meeting-request-question.json' + $ref: '#/components/schemas/MeetingRequestQuestion' description: The list of possible answers to a question. event: type: object @@ -40063,14 +41021,107 @@ components: description: Meeting requests to create. type: array items: - $ref: '#/components/schemas/meeting-request-create.json' + $ref: '#/components/schemas/MeetingRequestCreate' meeting-request-bulk-response: title: MeetingRequestBulkResponse description: Created meeting requests. type: array items: - $ref: '#/components/schemas/meeting-request-bulk-response-item.json' - meeting-request-bulk-response-item.json: + $ref: '#/components/schemas/MeetingRequestBulkResponseItem' + meeting-request-bulk-update: + title: MeetingRequestBulkUpdate + description: Meeting requests to update. + type: array + items: + $ref: '#/components/schemas/MeetingRequestUpdate' + meeting-request-document-paginated-response: + title: MeetingRequestDocumentPaginatedResponse + description: Paginated collection of meeting request documents. + required: + - data + - paging + type: object + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + items: + $ref: '#/components/schemas/MeetingRequestDocument' + description: Collection of meeting request object documents. + meeting-request-form: + title: MeetingRequestForm + description: A meeting request form. + required: + - id + - name + type: object + properties: + id: + type: string + description: The ID of the meeting request form. + readOnly: true + example: 9c97eb50-9f88-4972-a603-f617fc3258dd + name: + type: string + description: User-defined name of the meeting request form. + example: Request for Medical Meetups + statuses: + type: array + items: + type: string + example: Declined + description: User-defined list of statuses for the meeting request form. + active: + type: boolean + description: A boolean indicating a meeting request form's active status. When true, the meeting request form is available for new request submissions. When false, only updates can be made to existing requests for this form + example: true + questions: + type: array + items: + $ref: '#/components/schemas/MeetingRequestCustomField' + description: The list of questions that will need to be answered by someone creating a meeting request from this form. + meeting-request-form-paginated-response: + title: MeetingRequestFormResponse + description: The response from a request to get the list of meeting request forms. This includes the paging object as well as the collection of meeting request forms. + required: + - paging + - data + type: object + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + items: + $ref: '#/components/schemas/meeting-request-form' + description: Collection of meeting request form objects. + meeting-request-paginated-response: + title: MeetingRequestPaginatedResponse + description: Paginated collection of meeting requests. + required: + - data + - paging + type: object + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + items: + $ref: '#/components/schemas/meeting-request' + description: Collection of meeting request objects. + meeting-room.json: + type: object + title: MeetingRoom + description: The meeting room. + properties: + notes: + type: string + maxLength: 2500 + description: Planner note about the meeting room. + example: This meeting room has the best audio quality. + MeetingRequestBulkResponseItem: title: MeetingRequestBulkResponseItem description: Represents a single meeting request that's returned as part of a bulk request call. type: object @@ -40098,13 +41149,7 @@ components: - type: integer - type: boolean additionalProperties: false - meeting-request-bulk-update: - title: MeetingRequestBulkUpdate - description: Meeting requests to update. - type: array - items: - $ref: '#/components/schemas/meeting-request-update.json' - meeting-request-create.json: + MeetingRequestCreate: title: MeetingRequestCreate description: A meeting request to create. type: object @@ -40124,84 +41169,28 @@ components: description: Questions for the meeting request. type: array items: - $ref: '#/components/schemas/requested-meeting-request-question.json' - meeting-request-custom-field.json: + $ref: '#/components/schemas/MeetingRequestQuestion' + MeetingRequestCustomField: title: MeetingRequestCustomField description: Custom field for a meeting request. required: - id allOf: - - title: CustomField - description: A Custom Field - type: object - allOf: - - title: CustomFieldBase - description: Base schema for Custom Field - allows type to be customized by extending schemas - required: - - id - - value - type: object - properties: - id: - type: string - description: The unique ID representing this custom field. - format: uuid - name: - type: string - description: The actual text of the custom field. - example: What is your favorite color? - readOnly: true - value: - type: array - uniqueItems: true - items: - type: string - description: A question answer value - maxLength: 16000 - description: The set of answers or possible answers to a question. - example: - - Choice C - - Choice A - order: - type: integer - description: The order of this question in the bigger list of questions. - example: 1 - readOnly: true - properties: - type: - description: The type of data collected by a custom field. - type: string - allOf: - - title: CustomFieldType - enum: - - AutoIncrement - - ConsentQuestion - - Currency - - Decimal - - Date - - DateTime - - Email - - FileUpload - - FreeText - - General - - MultiChoice - - MultiSelect - - Number - - OpenEndedDateTime - - OpenEndedText - - SingleChoice - - SingleSelect - - USPhoneNumber - - Unknown - type: string - description: The type of data collected by a custom field. - example: General - - readOnly: true - example: MultiSelect + - $ref: '#/components/schemas/CustomField' properties: field: type: boolean - description: The actual text of the custom field. + description: True indicates the question is of the field type. + example: true + fieldName: + type: string + description: The fixed field name. + example: Event Theme Color + name: + type: string + description: The displayed field name which can be customized. + readOnly: true + example: What is your favorite color? hidden: type: boolean description: True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. @@ -40239,86 +41228,20 @@ components: type: array uniqueItems: true items: - $ref: '#/components/schemas/answer-type.json' - meeting-request-document-paginated-response: - title: MeetingRequestDocumentPaginatedResponse - description: Paginated collection of meeting request documents. - required: - - data - - paging - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/meeting-request-document.json' - description: Collection of meeting request object documents. - meeting-request-document-referenceLink.json: - title: MeetingRequestDocumentReferenceLink - description: A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - type: object - properties: - url: - type: string - format: uri - description: The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. - example: https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf - expiration: - type: string - format: date-time - description: The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. - example: '2025-12-31T23:59:59Z' - meeting-request-document.json: + $ref: '#/components/schemas/AnswerType1' + MeetingRequestDocument: title: MeetingRequestDocument description: Document attached to a meeting request that can be downloaded. type: object allOf: - - title: document - description: The base model for the document metadata. - type: object - required: - - id - properties: - id: - description: Unique identifier of the document. - type: string - format: uuid - name: - type: string - maxLength: 255 - description: Name of the document. - example: Agenda - size: - type: integer - description: Size of the document in bytes - example: 204800 - uploaded: - type: string - format: date-time - description: The ISO-8601 formatted date and time when the document was uploaded. - example: '2024-06-15T13:45:30Z' - uploadedBy: - type: string - description: The user who uploaded the document. - example: John Doe - lastModified: - type: string - format: date-time - description: The ISO-8601 formatted date and time when this document was last updated. - example: '2024-10-12T03:00:00Z' - lastModifiedBy: - type: string - description: The user who last updated the document. - example: John Doe + - $ref: '#/components/schemas/Document' - properties: mimeType: type: string description: The MIME type of the document example: application/pdf referenceLink: - $ref: '#/components/schemas/meeting-request-document-referenceLink.json' + $ref: '#/components/schemas/MeetingRequestDocumentReferenceLink' meetingRequest: type: object description: The meeting request this document is attached to. @@ -40327,69 +41250,22 @@ components: description: Meeting Request ID. type: string format: uuid - meeting-request-form: - title: MeetingRequestForm - description: A meeting request form. - required: - - id - - name + MeetingRequestDocumentReferenceLink: + title: MeetingRequestDocumentReferenceLink + description: A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. type: object properties: - id: + url: type: string - description: The ID of the meeting request form. - readOnly: true - example: 9c97eb50-9f88-4972-a603-f617fc3258dd - name: + format: uri + description: The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. + example: https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf + expiration: type: string - description: User-defined name of the meeting request form. - example: Request for Medical Meetups - statuses: - type: array - items: - type: string - example: Declined - description: User-defined list of statuses for the meeting request form. - active: - type: boolean - description: A boolean indicating a meeting request form's active status. When true, the meeting request form is available for new request submissions. When false, only updates can be made to existing requests for this form - example: true - questions: - type: array - items: - $ref: '#/components/schemas/meeting-request-custom-field.json' - description: The list of questions that will need to be answered by someone creating a meeting request from this form. - meeting-request-form-paginated-response: - title: MeetingRequestFormResponse - description: The response from a request to get the list of meeting request forms. This includes the paging object as well as the collection of meeting request forms. - required: - - paging - - data - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/meeting-request-form' - description: Collection of meeting request form objects. - meeting-request-paginated-response: - title: MeetingRequestPaginatedResponse - description: Paginated collection of meeting requests. - required: - - data - - paging - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/meeting-request' - description: Collection of meeting request objects. - meeting-request-question.json: + format: date-time + description: The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. + example: '2025-12-31T23:59:59Z' + MeetingRequestQuestion: title: MeetingRequestQuestion description: A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. required: @@ -40414,7 +41290,7 @@ components: example: What is your favorite color? readOnly: true type: - $ref: '#/components/schemas/question-type.json' + $ref: '#/components/schemas/QuestionType1' value: type: array uniqueItems: true @@ -40430,17 +41306,17 @@ components: **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. answerType: - $ref: '#/components/schemas/answer-type.json' + $ref: '#/components/schemas/AnswerType1' secondaryValue: - $ref: '#/components/schemas/secondary-value.json' + $ref: '#/components/schemas/SecondaryValue' compositeValue: - $ref: '#/components/schemas/composite-value.json' - meeting-request-status.json: + $ref: '#/components/schemas/CompositeValue' + MeetingRequestStatus: title: MeetingRequestStatus description: The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. type: string example: Submitted to Accounting - meeting-request-update.json: + MeetingRequestUpdate: title: MeetingRequestUpdate description: An updated meeting request. type: object @@ -40459,9 +41335,9 @@ components: description: Questions for the meeting request. type: array items: - $ref: '#/components/schemas/requested-meeting-request-question.json' + $ref: '#/components/schemas/MeetingRequestQuestion' status: - $ref: '#/components/schemas/meeting-request-status.json' + $ref: '#/components/schemas/MeetingRequestStatus' sourceId: type: string description: 'The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID.' @@ -40470,7 +41346,75 @@ components: type: string description: The note about the status. example: The status indicates that the request is submitted to accounting - meeting-room-agenda-item-type.json: + meetingRoom: + title: Meeting Room + description: A venue meeting room. + allOf: + - $ref: '#/components/schemas/Audit' + type: object + required: + - name + - dimensions + properties: + name: + type: string + description: The name of the meeting room. + minLength: 1 + maxLength: 100 + example: Grand Ballroom + description: + type: string + description: The detailed description of the meeting room. + maxLength: 2500 + example: Large conference space with natural lighting + dimensions: + type: object + description: Physical dimensions for the meeting room. + required: + - totalSpace + properties: + totalSpace: + $ref: '#/components/schemas/AreaMeasurement' + ceilingHeight: + $ref: '#/components/schemas/Dimension' + length: + $ref: '#/components/schemas/Dimension' + width: + $ref: '#/components/schemas/Dimension' + displayOrder: + type: integer + description: The position of this meeting room in the venue's room listing. + minimum: 1 + example: 1 + externalSourceId: + type: string + description: The provider's own identifier for this meeting room. + maxLength: 100 + example: EXT-123 + rates: + type: object + description: Rate information for move in/out and events. + properties: + moveIn: + $ref: '#/components/schemas/MeetingRoomRate' + moveOut: + $ref: '#/components/schemas/MeetingRoomRate' + event: + $ref: '#/components/schemas/MeetingRoomRate' + capacities: + $ref: '#/components/schemas/MeetingRoomCapacities' + amenities: + type: array + description: List of amenities available in the meeting room. + maxItems: 50 + items: + $ref: '#/components/schemas/MeetingRoomAmenity' + hiddenOnProfile: + type: boolean + description: True indicates the meeting room is hidden on the venue profile. + default: false + example: false + MeetingRoomAgendaItemType: title: MeetingRoomAgendaItemType description: Defines the agenda item types of a meeting room requirement. example: Breakout @@ -40495,7 +41439,117 @@ components: - Speaker Room - Storage Room - Teardown - meeting-room-requirement.json: + MeetingRoomAmenity: + title: Meeting Room Amenity + description: Available amenities for a meeting room. + type: string + example: PROJECTOR + enum: + - AUDIO_RECORDING + - BACKGROUND_MUSIC + - BLACKBOARD + - BUILT_IN_SCREEN + - CLOSED_CIRCUIT_VIDEO + - DRY_ERASE_BOARD + - DVD_PLAYER + - EASEL + - ELECTRIC_POINTER + - FLIPCHART_MARKERS + - INTERNET + - LECTERN + - MICROPHONE + - MONITOR_CART + - OUTDOOR_SPACE + - PERSONAL_COMPUTER + - POWERED_SPEAKER + - PRIVATE_SPACE + - PROJECTION_STAND + - PROJECTOR + - SEMI_PRIVATE_SPACE + - TELEVISION + - VHS_PLAYER + - VIDEO_CAMERA + - VIDEO_MONITOR + - VIDEO_RECORDING + - WHEELCHAIR_ACCESSIBLE + MeetingRoomCapacities: + title: Meeting Room Capacities + description: Capacity information for a meeting room, grouped by category. + type: object + properties: + exhibits: + type: array + description: Maximum number of exhibits per room setup. + maxItems: 6 + items: + $ref: '#/components/schemas/MeetingRoomExhibitCapacity' + seating: + type: array + description: Maximum number of attendees per seating style. + maxItems: 14 + items: + $ref: '#/components/schemas/MeetingRoomSeatingCapacity' + MeetingRoomExhibitCapacity: + title: Meeting Room Exhibit Capacity + description: Maximum number of exhibits for a specific exhibit layout type in a meeting room. + type: object + properties: + layoutType: + $ref: '#/components/schemas/ExhibitLayoutType' + maxExhibits: + type: integer + description: Maximum number of exhibits for this layout type. + minimum: 0 + maximum: 9999999 + example: 50 + required: + - layoutType + - maxExhibits + meetingRoomOverview: + title: Meeting Room Overview + description: An overview of a venue meeting room containing key identifiers and display properties. + type: object + required: + - id + - name + properties: + id: + type: string + format: uuid + description: The ID of the meeting room. + readOnly: true + example: b2c3d4e5-f6a7-8901-bcde-f12345678901 + name: + type: string + description: The display name of the meeting room. + example: Grand Ballroom + hiddenOnProfile: + type: boolean + description: True indicates the meeting room is hidden on the venue profile. + example: false + displayOrder: + type: integer + description: Position of this meeting room in the venue's room listing, with 1 being the first position. + minimum: 1 + example: 1 + MeetingRoomRate: + title: Meeting Room Rate + description: Meeting room rate with a value and application type. + type: object + properties: + value: + type: number + description: The monetary value of the rate. + minimum: 0 + maximum: 999999 + multipleOf: 0.01 + example: 500 + applicationType: + $ref: '#/components/schemas/RateApplicationType' + required: + - value + - applicationType + MeetingRoomRequirement: title: MeetingRoomRequirement description: The requirement of a meeting room on the specified date. required: @@ -40521,12 +41575,12 @@ components: type: array description: For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. items: - $ref: '#/components/schemas/meeting-room-agenda-item-type.json' + $ref: '#/components/schemas/MeetingRoomAgendaItemType' setupType: type: array description: For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. items: - $ref: '#/components/schemas/meeting-room-setup-type.json' + $ref: '#/components/schemas/MeetingRoomSetupType' roomSize: type: number description: The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. @@ -40543,7 +41597,23 @@ components: type: string description: The meeting room requirement note. example: Meeting room note. - meeting-room-setup-type.json: + MeetingRoomSeatingCapacity: + title: Meeting Room Seating Capacity + description: Maximum number of attendees for a specific seating style in a meeting room. + type: object + properties: + layoutType: + $ref: '#/components/schemas/SeatingLayoutType' + maxAttendees: + type: integer + description: Maximum number of attendees for this seating style. + minimum: 0 + maximum: 9999999 + example: 250 + required: + - layoutType + - maxAttendees + MeetingRoomSetupType: title: MeetingRoomSetupType description: Defines the setup types of a meeting room requirement. example: Classroom @@ -40574,16 +41644,22 @@ components: - Theater - T-Shaped - U-Shaped - meeting-room.json: + meetingRoomsOverviewResponse: + title: Meeting Rooms Overview Response + description: Paginated overview of meeting rooms for a venue. type: object - title: MeetingRoom - description: The meeting room. + required: + - data properties: - notes: - type: string - maxLength: 2500 - description: Planner note about the meeting room. - example: This meeting room has the best audio quality. + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + description: Overview of meeting rooms. + minItems: 0 + maxItems: 200 + items: + $ref: '#/components/schemas/meetingRoomOverview' member-profile: title: MemberProfile type: object @@ -41844,6 +42920,87 @@ components: example: GB minLength: 2 maxLength: 3 + patchMeetingRoom: + title: MeetingRoomPatch + description: Partial update payload for a venue meeting room. + type: object + properties: + name: + type: string + description: The name of the meeting room. + example: Grand Ballroom + minLength: 1 + maxLength: 100 + description: + type: string + nullable: true + description: The detailed description of the meeting room. + example: Large conference space with natural lighting + maxLength: 2500 + dimensions: + type: object + description: Physical dimensions for the meeting room. + properties: + totalSpace: + $ref: '#/components/schemas/AreaMeasurement' + ceilingHeight: + $ref: '#/components/schemas/Dimension' + length: + $ref: '#/components/schemas/Dimension' + width: + $ref: '#/components/schemas/Dimension' + displayOrder: + type: integer + description: The position of this meeting room in the venue's room listing. + example: 1 + minimum: 1 + externalSourceId: + type: string + nullable: true + description: The provider's own identifier for this meeting room. + example: EXT-RM-12345 + maxLength: 100 + rates: + type: object + nullable: true + description: Rate information for move in/out and events. + properties: + moveIn: + $ref: '#/components/schemas/MeetingRoomRate' + moveOut: + $ref: '#/components/schemas/MeetingRoomRate' + event: + $ref: '#/components/schemas/MeetingRoomRate' + capacities: + type: object + nullable: true + description: Capacity information for the meeting room, grouped by category. + properties: + exhibits: + type: array + nullable: true + description: Maximum number of exhibits per room setup. + maxItems: 6 + items: + $ref: '#/components/schemas/MeetingRoomExhibitCapacity' + seating: + type: array + nullable: true + description: Maximum number of attendees per seating style. + maxItems: 14 + items: + $ref: '#/components/schemas/MeetingRoomSeatingCapacity' + amenities: + type: array + nullable: true + description: List of amenities available in the meeting room. + maxItems: 50 + items: + $ref: '#/components/schemas/MeetingRoomAmenity' + hiddenOnProfile: + type: boolean + description: True indicates the meeting room is hidden on the venue profile. + example: false payment: title: Payment description: Payment for a budget item in an event. @@ -42842,7 +43999,7 @@ components: - percent_or_money type: string description: Value type of the policy - poll-response.json: + PollResponse: title: PollResponse description: This is used to denote the poll details. type: object @@ -42854,7 +44011,7 @@ components: responses: type: array items: - $ref: '#/components/schemas/base-question-response.json' + $ref: '#/components/schemas/BaseQuestionResponse' description: The list of question and answers for a poll. pricing-config.json: title: PricingConfig @@ -42896,51 +44053,7 @@ components: - Visa - Diners Club - Mastercard - process-form-question-type.json: - title: QuestionType - enum: - - CommentBox - - Currency - - Decimal - - DateTime - - Email - - General - - Number - - MultiSelect - - SingleSelect - - USPhoneNumber - - Unknown - type: string - description: Denotes the type of data collected by a question. - example: FreeText - readOnly: true - process-form-submission-question.json: - title: ProcessFormSubmissionQuestion - description: A question for a process form submission. - required: - - id - - value - properties: - id: - type: string - description: The unique ID representing this question. - format: uuid - example: f1ea56cd-6860-4f1a-baf7-973118384384 - name: - type: string - description: The actual text of the custom field. - example: What is your favorite color? - readOnly: true - type: - $ref: '#/components/schemas/process-form-question-type.json' - value: - type: array - uniqueItems: true - items: - type: string - example: Green - description: The set of answers to the question. - process-form-submission.json: + process-form-submission: title: ProcessFormSubmission description: Represents a process form submission in the context of a specific event. required: @@ -42948,7 +44061,7 @@ components: - event type: object allOf: - - $ref: '#/components/schemas/meeting-request/allOf/0' + - $ref: '#/components/schemas/Audit' properties: id: type: string @@ -42966,7 +44079,7 @@ components: description: The unique ID of the event. example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 process-form: - $ref: '#/components/schemas/process-form.json' + $ref: '#/components/schemas/ProcessForm' status: type: string description: The status of the process form submission. The status is planner defined and can be any string. @@ -42974,7 +44087,7 @@ components: questions: type: array items: - $ref: '#/components/schemas/process-form-submission-question.json' + $ref: '#/components/schemas/ProcessFormSubmissionQuestion' description: The list of possible answers to a question. process-form-submissions-paginated-response: title: ProcessFormSubmissionPaginatedResponse @@ -42985,13 +44098,13 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/process-form-submission.json' + $ref: '#/components/schemas/process-form-submission' description: Collection of process form submission objects. - process-form.json: + ProcessForm: title: ProcessForm description: |- An object that contains the process form ID. @@ -43005,6 +44118,32 @@ components: description: The ID of the process form. readOnly: true example: 9c97eb50-9f88-4972-a603-f617fc3258dd + ProcessFormSubmissionQuestion: + title: ProcessFormSubmissionQuestion + description: A question for a process form submission. + required: + - id + - value + properties: + id: + type: string + description: The unique ID representing this question. + format: uuid + example: f1ea56cd-6860-4f1a-baf7-973118384384 + name: + type: string + description: The actual text of the custom field. + example: What is your favorite color? + readOnly: true + type: + $ref: '#/components/schemas/QuestionType-11' + value: + type: array + uniqueItems: true + items: + type: string + example: Green + description: The set of answers to the question. Product: title: Product description: Represents a product. Products are items that can be purchased during registration. @@ -43889,17 +45028,6 @@ components: - American - French - Other - question-detail.json: - title: QuestionDetail - description: The question asked in a session. - type: object - properties: - id: - $ref: '#/components/schemas/uuid-property' - text: - type: string - description: Question text. - example: Is this a new session? question-id.json: title: Question description: An object that holds the ID of the question. @@ -43923,45 +45051,7 @@ components: items: $ref: '#/components/schemas/question' description: Collection of Questions. - question-response.json: - title: QuestionResponse - description: A Question response. - type: object - properties: - question: - $ref: '#/components/schemas/question.json2' - answers: - type: array - description: List of answers. - items: - $ref: '#/components/schemas/answer.json1' question-type.json: - title: QuestionType - enum: - - AutoIncrement - - BudgetEstimates - - ConsentQuestion - - Country - - Currency - - Decimal - - Date - - DateTime - - Email - - FileUpload - - FreeText - - General - - Number - - MeetingRoomRequirements - - MultiSelect - - SingleSelect - - SleepingRoomRequirements - - USPhoneNumber - - Unknown - type: string - description: Denotes the type of data collected by a question. - example: SingleSelect - readOnly: true - question-type.json1: title: QuestionType enum: - SingleChoice @@ -43986,7 +45076,7 @@ components: description: Question Type. example: SingleChoice readOnly: true - question-type.json2: + question-type.json1: title: Question Type description: This object represents the type of a question type: string @@ -44065,7 +45155,7 @@ components: description: Question Code example: 4l6x type: - $ref: '#/components/schemas/question-type.json1' + $ref: '#/components/schemas/question-type.json' choices: type: array description: List of choices for the question. @@ -44112,24 +45202,12 @@ components: $ref: '#/components/schemas/uuid.json' chapter: $ref: '#/components/schemas/uuid.json' - question.json2: + Question2: title: Question type: object description: The question that was answered. allOf: - - title: BaseQuestion - type: object - description: The question that was answered. - properties: - id: - type: string - format: uuid - description: The unique identifier of the question. - example: 861b51ec-aa7e-475f-b38d-4c8e35c47d63 - text: - type: string - description: Question text. - example: How would you rate this session? + - $ref: '#/components/schemas/BaseQuestion' properties: code: type: string @@ -44284,6 +45362,29 @@ components: type: integer description: The unique identifier of the custom answer format for the account. example: 104 + QuestionDetail: + title: QuestionDetail + description: The question asked in a session. + type: object + properties: + id: + $ref: '#/components/schemas/UUIDProperty' + text: + type: string + description: Question text. + example: Is this a new session? + QuestionResponse: + title: QuestionResponse + description: A Question response. + type: object + properties: + question: + $ref: '#/components/schemas/Question2' + answers: + type: array + description: List of answers. + items: + $ref: '#/components/schemas/Answer2' QuestionResponseDataType: title: Question Response Data Type enum: @@ -44377,6 +45478,75 @@ components: type: string description: The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. example: SingleChoice + QuestionType-11: + title: QuestionType + enum: + - CommentBox + - Currency + - Decimal + - DateTime + - Email + - General + - Number + - MultiSelect + - SingleSelect + - USPhoneNumber + - Unknown + type: string + description: Denotes the type of data collected by a question. + example: FreeText + readOnly: true + QuestionType1: + title: QuestionType + enum: + - AutoIncrement + - BudgetEstimates + - ConsentQuestion + - Country + - Currency + - Decimal + - Date + - DateTime + - Email + - FileUpload + - FreeText + - General + - Number + - MeetingRoomRequirements + - MultiSelect + - SingleSelect + - SleepingRoomRequirements + - USPhoneNumber + - Unknown + type: string + description: Denotes the type of data collected by a question. + example: SingleSelect + readOnly: true + RateApplicationType: + title: Rate Application Type + description: |- + How the rate is applied to the meeting room booking. + + Values: + - `COMPLIMENTARY` — Complimentary + - `INCLUDED` — Included + - `ONETIME_FEE` — One-Time Fee + - `PER_DAY` — Per Day + - `PER_HOUR` — Per Hour + - `PER_SQ_FT` — Per Square Foot + - `PER_SQ_MTR` — Per Square Meter + - `TOTAL` — Total + type: string + enum: + - COMPLIMENTARY + - INCLUDED + - ONETIME_FEE + - PER_DAY + - PER_HOUR + - PER_SQ_FT + - PER_SQ_MTR + - TOTAL + example: PER_DAY RateLevelType: title: Rate Level Type enum: @@ -44778,61 +45948,6 @@ components: description: The reporting field value. example: '12' readOnly: true - requested-meeting-request-question.json: - title: MeetingRequestQuestion - description: A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine how to format the `value` array. - required: - - id - - value - properties: - id: - type: string - description: |- - The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - format: uuid - example: f1ea56cd-6860-4f1a-baf7-973118384384 - name: - type: string - description: The display text of the question. - example: What is your favorite color? - readOnly: true - type: - $ref: '#/components/schemas/question-type.json' - value: - type: array - uniqueItems: true - items: - type: string - example: Green - description: |- - An array of non-null answers to the question. The format of each item depends on the question `type`. - - **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`). - - **Country/Region questions (`type: Country`):** Provide either the country name (for example, `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes). - - **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object. - - *Meeting Room Requirement example (one item in value array):* - `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"` - - *Sleeping Room Requirement example:* - `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"` - - *Budget Estimate example:* - `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` - answerType: - $ref: '#/components/schemas/answer-type.json' - compositeValue: - $ref: '#/components/schemas/composite-value.json' - secondaryValue: - $ref: '#/components/schemas/secondary-value.json' reservation-contact.json: title: ReservationContact description: Reservation contact details for this event. @@ -46859,6 +47974,26 @@ components: items: $ref: '#/components/schemas/existing-seating' description: A list of event seating + SeatingLayoutType: + title: Seating Layout Type + description: The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + type: string + enum: + - BANQUET + - CLASSROOM + - COCKTAIL_ROUNDS + - CONFERENCE + - CRESCENT_ROUNDS + - E_SHAPE + - HOLLOW_SQUARE + - MAXIMUM_CAPACITY + - PERIMETER_SEATING + - ROYAL_CONFERENCE + - TALK_SHOW + - THEATER + - T_SHAPE + - U_SHAPE + example: THEATER seats-paginated-response: title: SeatsPaginatedResponse description: The response from a request to get the event seat for the event. @@ -46881,7 +48016,7 @@ components: - Aisle - Window example: Window - secondary-value.json: + SecondaryValue: 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. type: string @@ -47718,6 +48853,27 @@ components: items: $ref: '#/components/schemas/custom-field.json2' description: Collection of custom fields. + SessionActivity: + title: Session Activity + description: A session activity. + type: object + properties: + session: + type: object + title: SessionActivity + description: The activity session. + properties: + id: + $ref: '#/components/schemas/UUIDProperty' + title: + type: string + description: The title of the session. + example: tech_session + code: + type: string + description: The code of the session. + example: XRNGB4YY3CX + readOnly: true SessionBase: title: SessionBase type: object @@ -47903,6 +49059,30 @@ components: type: integer description: The display order of session, set by planner for concurrent sessions example: 1 + SessionCheckedIn: + title: Session Checked In + description: A session checked-in activity. + type: object + allOf: + - $ref: '#/components/schemas/SessionActivity' + properties: + checkedIn: + type: string + format: date-time + description: ISO 8601 date and time when an attendee checked in to a session. + example: '2020-02-03T13:00:00.000Z' + SessionCheckedOut: + title: Session Checked Out + description: A session checked-Out activity. + type: object + allOf: + - $ref: '#/components/schemas/SessionActivity' + properties: + checkOut: + type: string + format: date-time + description: ISO 8601 date and time when an attendee checked out from a session. + example: '2020-02-03T13:00:00.000Z' SessionDocumentLite: type: object title: SessionDocumentLite @@ -47910,6 +49090,15 @@ components: properties: id: $ref: '#/components/schemas/DocumentId' + SessionFeedbackSubmitted: + type: object + title: session.feedbackSubmitted + description: A session feedback-submitted activity. + allOf: + - $ref: '#/components/schemas/SessionActivity' + properties: + survey: + $ref: '#/components/schemas/SurveyResponse' SessionId: title: SessionId description: The unique identifier for a session. @@ -47931,6 +49120,41 @@ components: properties: id: $ref: '#/components/schemas/SessionId' + SessionPollResponseSubmitted: + type: object + title: session.pollResponseSubmitted + description: The poll created for a session. + allOf: + - $ref: '#/components/schemas/SessionActivity' + properties: + poll: + $ref: '#/components/schemas/PollResponse' + SessionQuestionActivity: + type: object + title: session.questionActivity + description: This denotes the question asked in the session. + allOf: + - $ref: '#/components/schemas/SessionActivity' + properties: + question: + $ref: '#/components/schemas/QuestionDetail' + platform: + $ref: '#/components/schemas/UserPlatform' + votes: + type: integer + description: The number of votes for a question. + example: 0 + SessionQuestionAsked: + type: object + title: session.questionAsked + description: The question asked activity details for the session. + allOf: + - $ref: '#/components/schemas/SessionQuestionActivity' + properties: + anonymous: + type: boolean + description: True indicates the question was posted anonymously. + example: false sessions-attendance-response.json: title: SessionsAttendance description: Represents session attendance details. @@ -48098,36 +49322,6 @@ components: description: The nightly cost of rooms in this room block. example: 150 minimum: 0 - sleeping-room-requirement.json: - title: SleepingRoomRequirement - description: The requirements of a sleeping room on the specified date. - required: - - date - properties: - date: - type: string - description: The date for the sleeping room, in format of YYYY-MM-DD. - example: '2099-12-11' - any: - type: integer - description: The number of any sleeping rooms. - example: 10 - single: - type: integer - description: The number of 1 bed sleeping rooms. - example: 10 - double: - type: integer - description: The number of 2 beds sleeping rooms. - example: 10 - suite: - type: integer - description: The number of suite sleeping rooms. - example: 10 - staff: - type: integer - description: The number of sleeping rooms for staff. - example: 10 sleeping-room-type.json: type: string title: SleepingRoomType @@ -48207,6 +49401,36 @@ components: description: List of sleeping room blocks for this sleeping room type. items: $ref: '#/components/schemas/sleeping-room-block.json' + SleepingRoomRequirement: + title: SleepingRoomRequirement + description: The requirements of a sleeping room on the specified date. + required: + - date + properties: + date: + type: string + description: The date for the sleeping room, in format of YYYY-MM-DD. + example: '2099-12-11' + any: + type: integer + description: The number of any sleeping rooms. + example: 10 + single: + type: integer + description: The number of 1 bed sleeping rooms. + example: 10 + double: + type: integer + description: The number of 2 beds sleeping rooms. + example: 10 + suite: + type: integer + description: The number of suite sleeping rooms. + example: 10 + staff: + type: integer + description: The number of sleeping rooms for staff. + example: 10 SocialMediaLinks: title: SocialMediaLinks type: object @@ -48540,7 +49764,7 @@ components: items: $ref: '#/components/schemas/SpeakerSession' description: Collection of speaker sessions. - speaker.json: + Speaker1: type: object title: Speaker description: An activity speaker. @@ -48567,6 +49791,34 @@ components: description: The name of the speaker category maxLength: 50 example: Presenters + SpeakerFeedbackSubmitted: + type: object + title: speaker.feedbackSubmitted + description: A speaker feedback-submitted activity. + allOf: + - $ref: '#/components/schemas/SessionActivity' + properties: + speaker: + $ref: '#/components/schemas/Speaker1' + survey: + $ref: '#/components/schemas/SurveyResponse' + SpeakerFileDownloaded: + type: object + title: speaker.fileDownloaded + description: A speaker file-downloaded activity. + allOf: + - $ref: '#/components/schemas/ActivityEventWebsite' + properties: + name: + type: string + description: The name of the file. + example: Instructions + type: + type: string + description: The type of the file. + example: docx + speaker: + $ref: '#/components/schemas/Speaker1' SpeakerId: title: SpeakerId description: The unique identifier for a speaker. @@ -49958,291 +51210,1118 @@ components: - YOR - YT - ZET - status-summary.json: - description: Represents a summary of status associated with this proposal. - type: object - title: StatusSummary - properties: - reason: - type: string - example: Other - description: Reason provided by the planner for status update - comment: - type: string - example: Not as per requirement - description: Comment provided by the planner while updating the status of the proposal. - status.json: - title: Status - enum: - - Not Started - - In Progress - - Complete - type: string - description: In case of Event Survey this represents Survey Status and in case of Standard Survey this represents Chapter Status - example: In Progress - readOnly: true - supplier-summary.json: - description: Represents a summary of supplier information associated with current proposal. - type: object - title: SupplierSummary - properties: - supplier: - description: The supplier associated with current proposal. - oneOf: - - description: Represents a summary of venue information associated with current proposal. - type: object - title: VenueSummary - allOf: - - description: Represents a supplier object. - type: object - title: Supplier - properties: - type: - $ref: '#/components/schemas/supplier-type.json' - properties: - id: - type: string - description: The unique ID of the venue. - example: bedc1f8e-f68b-40cf-b901-487e407f637a - name: - type: string - description: The name of the venue. - example: Hotel Grand San Francisco. - discriminator: - propertyName: type - mapping: - VENUE: '#/components/schemas/supplier-summary.json/properties/supplier/oneOf/0' - supplier-type.json: - title: SupplierType - description: "The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event." - type: string - enum: - - VENUE - default: VENUE - SupplierAd: - title: SupplierAd - description: Supplier Advertisement. - type: object - properties: - code: - type: string - maxLength: 30 - description: Unique code generated for the supplier advertisement. - example: RXBMLPSP - SupplierAssociatedAds: - title: SupplierAssociatedAds - description: Ads clicked by planner while adding supplier on RFP. - type: object - properties: - firstClicked: - type: object - allOf: - - description: First advertisement for the supplier which planner clicked. - - $ref: '#/components/schemas/SupplierAd' - lastClicked: - type: object - allOf: - - description: Last advertisement for the supplier which planner clicked. - - $ref: '#/components/schemas/SupplierAd' - SupplierId: - title: SupplierId - type: string - format: uuid - description: The unique identifier of a supplier. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 - SupplierResponse: - title: SupplierResponse - description: Contains response from supplier on an RFP. - type: object - properties: - dateTime: - type: string - format: date-time - description: The ISO 8601 date time (in UTC) when the response was sent by supplier. - example: '2017-02-02T03:19:19.991Z' - reason: - $ref: '#/components/schemas/RfpResponseReason' - comment: - type: string - description: Comment for the response reason. - maxLength: 2500 - example: We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates. - SupplierType: - title: SupplierType - description: 'Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories.' - type: string - enum: - - CONVENTION_AND_CONFERENCE_CENTER - - CVB - - HOTEL - - OTHER - survey-author.json: - title: SurveyAuthor - description: Author of the survey - type: object - properties: - firstName: - type: string - description: First Name of Author - example: Vivek - lastName: - type: string - description: Last Name of Author - example: Singh - company: - type: string - description: Company Name - example: Cvent - title: - type: string - description: Designation - example: Sales Manager - email: - type: string - format: email - description: The email address of the author - minLength: 6 - maxLength: 80 - example: dummyemail@cvent.com - survey-response.json: - title: SurveyResponse - description: A survey response. - type: object - properties: - id: - type: string - format: uuid - description: The unique identifier of the survey. - responseMethod: - type: string - description: The method used to capture the survey response. - example: sample method - responses: - type: array - items: - $ref: '#/components/schemas/question-response.json' - description: The list of question and answers for a survey. - survey-status.json: - title: SurveyStatus - enum: - - Draft - - Active - - Closed - - Archived + StateProvince1: type: string - description: Survey Status - example: Active - readOnly: true - survey-type.json: - title: SurveyType + title: StateProvince + description: The state province code used for contact information. enum: - - Standalone - - Event - - Assessment - type: string - description: Describes the survey's type. `Standalone` indicates the survey exists independent of an event. `Event` indicates the survey is an event or session feedback survey. `Assessment` indicates the survey is associated with an event and is for assessing attendees. - example: Event - readOnly: true - survey.json: - title: Survey - type: object - description: "Parent survey detail object. It can be of two types namely: 'Event' and 'Standalone'" - allOf: - - title: SurveyCommon - description: Base model with common properties for a survey. - type: object - allOf: - - $ref: '#/components/schemas/response-common/allOf/0' - properties: - id: - type: string - format: uuid - description: Id of the survey or Id of the chapter in case of event survey - readOnly: true - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - title: - type: string - description: Title of the survey or Title of the chapter in case of event survey - example: Demo Survey - code: - type: string - description: Survey Code or Chapter Code in case of event survey - example: NDOU2RDQH5Q - timezone: - type: string - description: Timezone of the survey - maxLength: 29 - example: America/New_York - author: - $ref: '#/components/schemas/survey-author.json' - description: - type: string - description: Survey description - example: This is a test survey - closeAfter: - type: string - format: date-time - description: The survey will be closed after this ISO 8601 formatted date and time. - example: '2022-02-01T23:59:00.000Z' - properties: - responseCount: - description: Count of responses. - type: integer - minimum: 0 - example: 10 - status: - $ref: '#/components/schemas/survey-status.json' - type: - $ref: '#/components/schemas/survey-type.json' - activateDate: - type: string - format: date-time - description: The survey will be activated on this ISO 8601 formatted date and time. - example: '2022-02-01T23:59:00.000Z' - events: - type: array - uniqueItems: true - items: - $ref: '#/components/schemas/event.json3' - description: List of events with which this survey is linked. - SurveyContactId: - title: SurveyContactId - description: A pair of survey and contact id. - required: - - surveyId - - contactId - type: object - properties: - surveyId: - type: string - format: uuid - description: ID of the survey - contactId: - type: string - format: uuid - description: ID of the contact - surveys-paginated-response: - title: SurveysPaginatedResponse - description: The response from a request to get the list of surveys. This includes the paging object as well as the collection of surveys. - required: - - paging - - data - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/survey.json' - description: Collection of surveys. - SwitchBackTargetUsagePlan: - title: Switch Back Target Usage Plan - description: Object representing the target usage plan and the date when the current plan is scheduled to revert to it. This object is only present when a switch-back is scheduled. - type: object - required: - - name - - time + - BLANK + - AA + - AB + - ABD + - ABE + - ACT_AUS + - AE + - AGB + - AGY + - AK + - AL + - ANS + - ANT + - AP + - AR + - ARD + - ARM + - AS + - AT_1 + - AT_2 + - AT_3 + - AT_4 + - AT_5 + - AT_6 + - AT_7 + - AT_8 + - AT_9 + - AZ + - BAN + - BAS + - BBD + - BC + - BDF + - BE_BRU + - BEN + - BE_VAN + - BE_VBR + - BE_VLI + - BE_VOV + - BE_VWV + - BE_WBR + - BE_WHT + - BE_WLG + - BE_WLX + - BE_WNA + - BEX + - BFS + - BGE + - BGW + - BIR + - BKM + - BLA + - BLY + - BMH + - BNB + - BNE + - BNH + - BNS + - BOL + - BPL + - BR_AC + - BR_AL + - BR_AM + - BR_AP + - BR_BA + - BRC + - BR_CE + - BRD + - BR_DF + - BR_ES + - BR_GO + - BRK + - BR_MA + - BR_MG + - BR_MS + - BR_MT + - BR_PA + - BR_PB + - BR_PE + - BR_PI + - BR_PR + - BR_RJ + - BR_RN + - BR_RO + - BR_RR + - BR_RS + - BR_SC + - BR_SE + - BR_SP + - BR_TO + - BRY + - BST + - BUR + - CA + - CAM + - CAY + - CGN + - CGV + - CH_AG + - CH_AI + - CH_AR + - CH_BE + - CH_BL + - CH_BS + - CH_FR + - CH_GE + - CH_GL + - CH_GR + - CHI + - CH_JU + - CH_LU + - CH_NE + - CH_NW + - CH_OW + - CHS + - CH_SG + - CH_SH + - CH_SO + - CH_SZ + - CH_TG + - CH_TI + - CH_UR + - CH_VD + - CH_VS + - CH_ZG + - CH_ZH + - CKF + - CKT + - CLD + - CLK + - CLR + - CMA + - CMD + - CMN + - CN_11 + - CN_12 + - CN_13 + - CN_14 + - CN_15 + - CN_21 + - CN_22 + - CN_23 + - CN_31 + - CN_32 + - CN_33 + - CN_34 + - CN_35 + - CN_36 + - CN_37 + - CN_41 + - CN_42 + - CN_43 + - CN_44 + - CN_45 + - CN_46 + - CN_50 + - CN_51 + - CN_52 + - CN_53 + - CN_54 + - CN_61 + - CN_62 + - CN_63 + - CN_64 + - CN_65 + - CN_91 + - CN_92 + - CO + - CON + - COV + - CRF + - CRY + - CSR + - CT + - CWD + - CWY + - DAL + - DBY + - DC + - DE + - DEN + - DER + - DEV + - DGN + - DGY + - DK_015 + - DK_020 + - DK_025 + - DK_030 + - DK_035 + - DK_040 + - DK_042 + - DK_050 + - DK_055 + - DK_060 + - DK_065 + - DK_070 + - DK_076 + - DK_080 + - DK_101 + - DK_147 + - DK_81 + - DK_82 + - DK_83 + - DK_84 + - DK_85 + - DNC + - DND + - DOR + - DOW + - DRY + - DUD + - DUR + - EAL + - EAY + - EDH + - EDU + - ELN + - ELS + - ENF + - ERW + - ERY + - ESS + - ESX + - FAL + - FER + - FIF + - FL + - FLN + - FM + - GA + - GAT + - GB + - GLG + - GLN + - GLS + - GR_01 + - GR_03 + - GR_04 + - GR_05 + - GR_06 + - GR_07 + - GR_11 + - GR_12 + - GR_13 + - GR_14 + - GR_15 + - GR_16 + - GR_17 + - GR_21 + - GR_22 + - GR_23 + - GR_24 + - GR_31 + - GR_32 + - GR_33 + - GR_34 + - GR_41 + - GR_42 + - GR_43 + - GR_44 + - GR_51 + - GR_52 + - GR_53 + - GR_54 + - GR_55 + - GR_56 + - GR_57 + - GR_58 + - GR_59 + - GR_61 + - GR_62 + - GR_63 + - GR_64 + - GR_69 + - GR_71 + - GR_72 + - GR_73 + - GR_81 + - GR_82 + - GR_83 + - GR_84 + - GR_85 + - GR_91 + - GR_92 + - GR_93 + - GR_94 + - GR_A_1 + - GRE + - GTM + - GU + - GWN + - HAL + - HAM + - HAV + - HCK + - HEF + - HI + - HIL + - HLD + - HMF + - HNS + - HPL + - HRT + - HRW + - HRY + - IA + - ID + - IE_C + - IE_CE + - IE_CN + - IE_CW + - IE_D + - IE_DL + - IE_G + - IE_KE + - IE_KK + - IE_KY + - IE_LD + - IE_LH + - IE_LK + - IE_LM + - IE_LS + - IE_MH + - IE_MN + - IE_MO + - IE_OY + - IE_RN + - IE_SO + - IE_TA + - IE_WD + - IE_WH + - IE_WW + - IE_WX + - IL + - IN + - IN_AN + - IN_AP + - IN_AR + - IN_AS + - IN_BR + - IN_CH + - IN_CT + - IN_DD + - IN_DL + - IN_DN + - IN_GA + - IN_GJ + - IN_HP + - IN_HR + - IN_JH + - IN_JK + - IN_KA + - IN_KL + - IN_LD + - IN_MH + - IN_ML + - IN_MN + - IN_MP + - IN_MZ + - IN_NL + - IN_OR + - IN_PB + - IN_PY + - IN_RJ + - IN_SK + - IN_TG + - IN_TN + - IN_TR + - IN_UL + - IN_UP + - IN_WB + - IOA + - IOI + - IOL + - IOM + - IOS + - IOW + - IOY + - ISL + - IT_21 + - IT_23 + - IT_25 + - IT_32 + - IT_34 + - IT_36 + - IT_42 + - IT_45 + - IT_52 + - IT_55 + - IT_57 + - IT_62 + - IT_65 + - IT_67 + - IT_72 + - IT_75 + - IT_77 + - IT_78 + - IT_82 + - IT_88 + - IT_AG + - IT_AL + - IT_AN + - IT_AO + - IT_AP + - IT_AQ + - IT_AR + - IT_AT + - IT_AV + - IT_BA + - IT_BG + - IT_BI + - IT_BL + - IT_BN + - IT_BO + - IT_BR + - IT_BS + - IT_BT + - IT_BZ + - IT_CA + - IT_CB + - IT_CE + - IT_CH + - IT_CI + - IT_CL + - IT_CN + - IT_CO + - IT_CR + - IT_CS + - IT_CT + - IT_CZ + - IT_EN + - IT_FC + - IT_FE + - IT_FG + - IT_FI + - IT_FM + - IT_FR + - IT_GE + - IT_GO + - IT_GR + - IT_IM + - IT_IS + - IT_KR + - IT_LC + - IT_LE + - IT_LI + - IT_LO + - IT_LT + - IT_LU + - IT_MB + - IT_MC + - IT_ME + - IT_MI + - IT_MN + - IT_MO + - IT_MS + - IT_MT + - IT_NA + - IT_NO + - IT_NU + - IT_OG + - IT_OR + - IT_OT + - IT_PA + - IT_PC + - IT_PD + - IT_PE + - IT_PG + - IT_PI + - IT_PN + - IT_PO + - IT_PR + - IT_PT + - IT_PU + - IT_PV + - IT_PZ + - IT_RA + - IT_RC + - IT_RE + - IT_RG + - IT_RI + - IT_RM + - IT_RN + - IT_RO + - IT_SA + - IT_SI + - IT_SO + - IT_SP + - IT_SR + - IT_SS + - IT_SV + - IT_TA + - IT_TE + - IT_TN + - IT_TO + - IT_TP + - IT_TR + - IT_TS + - IT_TV + - IT_UD + - IT_VA + - IT_VB + - IT_VC + - IT_VE + - IT_VI + - IT_VR + - IT_VS + - IT_VT + - IT_VV + - IVK + - JP_01 + - JP_02 + - JP_03 + - JP_04 + - JP_05 + - JP_06 + - JP_07 + - JP_08 + - JP_09 + - JP_10 + - JP_11 + - JP_12 + - JP_13 + - JP_14 + - JP_15 + - JP_16 + - JP_17 + - JP_18 + - JP_19 + - JP_20 + - JP_21 + - JP_22 + - JP_23 + - JP_24 + - JP_25 + - JP_26 + - JP_27 + - JP_28 + - JP_29 + - JP_30 + - JP_31 + - JP_32 + - JP_33 + - JP_34 + - JP_35 + - JP_36 + - JP_37 + - JP_38 + - JP_39 + - JP_40 + - JP_41 + - JP_42 + - JP_43 + - JP_44 + - JP_45 + - JP_46 + - JP_47 + - KEC + - KEN + - KHL + - KIR + - KS + - KTT + - KWL + - KY + - LA + - LAN + - LBH + - LCE + - LDS + - LEC + - LEW + - LIN + - LIV + - LMV + - LND + - LRN + - LSB + - LU_D + - LU_G + - LU_L + - LUT + - MA + - MAN + - MB + - MD + - MDB + - MDS + - MDW + - ME + - MFT + - MGM + - MH + - MI + - MIK + - MLN + - MN + - MO + - MON + - MP + - MRT + - MRY + - MS + - MSY + - MT + - MTY + - MX_AGU + - MX_BCN + - MX_BCS + - MX_CAM + - MX_CHH + - MX_CHP + - MX_COA + - MX_COL + - MX_DIF + - MX_DUR + - MX_GRO + - MX_GUA + - MX_HID + - MX_JAL + - MX_MEX + - MX_MIC + - MX_MOR + - MX_NAY + - MX_NLE + - MX_OAX + - MX_PUE + - MX_QUE + - MX_ROO + - MX_SIN + - MX_SLP + - MX_SON + - MX_TAB + - MX_TAM + - MX_TLA + - MX_VER + - MX_YUC + - MX_ZAC + - MYL + - NAY + - NB + - NBL + - NC + - ND + - NDN + - NE + - NEL + - NET + - NFK + - NGM + - NH + - NJ + - NL + - NL_DR + - NL_FL + - NL_FR + - NL_GE + - NL_GR + - NLK + - NL_LI + - NLN + - NL_NB + - NL_NH + - NL_OV + - NL_UT + - NL_ZE + - NL_ZH + - NM + - NO_01 + - NO_02 + - NO_03 + - NO_04 + - NO_05 + - NO_06 + - NO_07 + - NO_08 + - NO_09 + - NO_10 + - NO_11 + - NO_12 + - NO_14 + - NO_15 + - NO_16 + - NO_17 + - NO_18 + - NO_19 + - NO_20 + - NO_21 + - NO_22 + - NRY + - NS + - NSM + - NSW_AUS + - NT + - NT_AUS + - NTA + - NTH + - NTL + - NTT + - NTY + - NU + - NV + - NWM + - NWP + - NY + - NYK + - NYM + - OH + - OK + - OLD + - OMH + - 'ON' + - OR + - ORK + - OXF + - PA + - PE + - PEM + - PKN + - PLY + - POL + - POR + - POW + - PR + - PTE + - PW + - QC + - QLD_AUS + - RCC + - RCH + - RCT + - RDB + - RDG + - RFW + - RI + - RIC + - ROT + - RUT + - SA_AUS + - SAW + - SAY + - SC + - SCB + - SD + - SFK + - SFT + - SGC + - SGM + - SHF + - SHN + - SHR + - SK + - SKP + - SLF + - SLG + - SLK + - SOL + - SOM + - SOS + - SRY + - STB + - STE + - STG + - STH + - STN + - STS + - STT + - STY + - SWA + - SWD + - SWK + - SYK + - TAM + - TAS_AUS + - TFW + - THR + - TN + - TOB + - TOF + - TRF + - TWH + - TWR + - TX + - TYR + - UT + - VA + - VGL + - VI + - VIC_AUS + - VT + - WA + - WA_AUS + - WAR + - WBK + - WDU + - WFT + - WGM + - WGN + - WI + - WIL + - WIS + - WKF + - WLL + - WLN + - WLV + - WMD + - WND + - WNM + - WOK + - WOR + - WRL + - WRT + - WRX + - WSM + - WSX + - WV + - WY + - WYK + - YOR + - YT + - ZET + status-summary.json: + description: Represents a summary of status associated with this proposal. + type: object + title: StatusSummary + properties: + reason: + type: string + example: Other + description: Reason provided by the planner for status update + comment: + type: string + example: Not as per requirement + description: Comment provided by the planner while updating the status of the proposal. + status.json: + title: Status + enum: + - Not Started + - In Progress + - Complete + type: string + description: In case of Event Survey this represents Survey Status and in case of Standard Survey this represents Chapter Status + example: In Progress + readOnly: true + supplier-summary.json: + description: Represents a summary of supplier information associated with current proposal. + type: object + title: SupplierSummary + properties: + supplier: + description: The supplier associated with current proposal. + oneOf: + - description: Represents a summary of venue information associated with current proposal. + type: object + title: VenueSummary + allOf: + - description: Represents a supplier object. + type: object + title: Supplier + properties: + type: + $ref: '#/components/schemas/supplier-type.json' + properties: + id: + type: string + description: The unique ID of the venue. + example: bedc1f8e-f68b-40cf-b901-487e407f637a + name: + type: string + description: The name of the venue. + example: Hotel Grand San Francisco. + discriminator: + propertyName: type + mapping: + VENUE: '#/components/schemas/supplier-summary.json/properties/supplier/oneOf/0' + supplier-type.json: + title: SupplierType + description: "The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event." + type: string + enum: + - VENUE + default: VENUE + SupplierAd: + title: SupplierAd + description: Supplier Advertisement. + type: object + properties: + code: + type: string + maxLength: 30 + description: Unique code generated for the supplier advertisement. + example: RXBMLPSP + SupplierAssociatedAds: + title: SupplierAssociatedAds + description: Ads clicked by planner while adding supplier on RFP. + type: object + properties: + firstClicked: + type: object + allOf: + - description: First advertisement for the supplier which planner clicked. + - $ref: '#/components/schemas/SupplierAd' + lastClicked: + type: object + allOf: + - description: Last advertisement for the supplier which planner clicked. + - $ref: '#/components/schemas/SupplierAd' + SupplierId: + title: SupplierId + type: string + format: uuid + description: The unique identifier of a supplier. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 + SupplierResponse: + title: SupplierResponse + description: Contains response from supplier on an RFP. + type: object + properties: + dateTime: + type: string + format: date-time + description: The ISO 8601 date time (in UTC) when the response was sent by supplier. + example: '2017-02-02T03:19:19.991Z' + reason: + $ref: '#/components/schemas/RfpResponseReason' + comment: + type: string + description: Comment for the response reason. + maxLength: 2500 + example: We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates. + SupplierType: + title: SupplierType + description: 'Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories.' + type: string + enum: + - CONVENTION_AND_CONFERENCE_CENTER + - CVB + - HOTEL + - OTHER + survey-author.json: + title: SurveyAuthor + description: Author of the survey + type: object + properties: + firstName: + type: string + description: First Name of Author + example: Vivek + lastName: + type: string + description: Last Name of Author + example: Singh + company: + type: string + description: Company Name + example: Cvent + title: + type: string + description: Designation + example: Sales Manager + email: + type: string + format: email + description: The email address of the author + minLength: 6 + maxLength: 80 + example: dummyemail@cvent.com + survey-status.json: + title: SurveyStatus + enum: + - Draft + - Active + - Closed + - Archived + type: string + description: Survey Status + example: Active + readOnly: true + survey-type.json: + title: SurveyType + enum: + - Standalone + - Event + - Assessment + type: string + description: Describes the survey's type. `Standalone` indicates the survey exists independent of an event. `Event` indicates the survey is an event or session feedback survey. `Assessment` indicates the survey is associated with an event and is for assessing attendees. + example: Event + readOnly: true + survey.json: + title: Survey + type: object + description: "Parent survey detail object. It can be of two types namely: 'Event' and 'Standalone'" + allOf: + - title: SurveyCommon + description: Base model with common properties for a survey. + type: object + allOf: + - $ref: '#/components/schemas/response-common/allOf/0' + properties: + id: + type: string + format: uuid + description: Id of the survey or Id of the chapter in case of event survey + readOnly: true + example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + title: + type: string + description: Title of the survey or Title of the chapter in case of event survey + example: Demo Survey + code: + type: string + description: Survey Code or Chapter Code in case of event survey + example: NDOU2RDQH5Q + timezone: + type: string + description: Timezone of the survey + maxLength: 29 + example: America/New_York + author: + $ref: '#/components/schemas/survey-author.json' + description: + type: string + description: Survey description + example: This is a test survey + closeAfter: + type: string + format: date-time + description: The survey will be closed after this ISO 8601 formatted date and time. + example: '2022-02-01T23:59:00.000Z' + properties: + responseCount: + description: Count of responses. + type: integer + minimum: 0 + example: 10 + status: + $ref: '#/components/schemas/survey-status.json' + type: + $ref: '#/components/schemas/survey-type.json' + activateDate: + type: string + format: date-time + description: The survey will be activated on this ISO 8601 formatted date and time. + example: '2022-02-01T23:59:00.000Z' + events: + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/event.json3' + description: List of events with which this survey is linked. + SurveyContactId: + title: SurveyContactId + description: A pair of survey and contact id. + required: + - surveyId + - contactId + type: object + properties: + surveyId: + type: string + format: uuid + description: ID of the survey + contactId: + type: string + format: uuid + description: ID of the contact + SurveyResponse: + title: SurveyResponse + description: A survey response. + type: object + properties: + id: + type: string + format: uuid + description: The unique identifier of the survey. + responseMethod: + type: string + description: The method used to capture the survey response. + example: sample method + responses: + type: array + items: + $ref: '#/components/schemas/QuestionResponse' + description: The list of question and answers for a survey. + surveys-paginated-response: + title: SurveysPaginatedResponse + description: The response from a request to get the list of surveys. This includes the paging object as well as the collection of surveys. + required: + - paging + - data + type: object + properties: + paging: + $ref: '#/components/schemas/paging.json' + data: + type: array + items: + $ref: '#/components/schemas/survey.json' + description: Collection of surveys. + SwitchBackTargetUsagePlan: + title: Switch Back Target Usage Plan + description: Object representing the target usage plan and the date when the current plan is scheduled to revert to it. This object is only present when a switch-back is scheduled. + type: object + required: + - name + - time properties: name: type: string @@ -52588,11 +54667,6 @@ components: $ref: '#/components/schemas/user-group.json' description: The list of user groups retrieved for the specified page. readOnly: true - user-platform.json: - title: UserPlatform - description: The platform used by the user. - type: string - example: Attendee Hub UserEnterpriseExtension: title: User Enterprise Extension description: Enterprise extension model for the user. @@ -52659,6 +54733,11 @@ components: items: $ref: '#/components/schemas/Group-1' description: The collection of schema resources. + UserPlatform: + title: UserPlatform + description: The platform used by the user. + type: string + example: Attendee Hub Users: title: Users description: A page in a paginated list of SCIM users. This would return the list of users. @@ -52914,6 +54993,641 @@ components: example: Holiday Inn address: $ref: '#/components/schemas/venue-address.json1' + venueDetails: + title: VenueDetails + description: Venue details model. + allOf: + - $ref: '#/components/schemas/Audit' + type: object + required: + - type + - mainPhoneNumber + - mainFaxNumber + - address + properties: + type: + $ref: '#/components/schemas/VenueType' + timeZone: + type: string + description: Time zone identifier for the venue. See the supported timezones reference for valid values. + example: America/New_York + externalDocs: + description: Supported Timezones + url: https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones + brand: + type: string + description: Venue brand. + maxLength: 100 + example: Quality Hotels + chainScale: + $ref: '#/components/schemas/ChainScale' + mainPhoneNumber: + type: string + description: Primary phone number for the venue. + minLength: 1 + maxLength: 30 + example: +1-703-555-0100 + mainFaxNumber: + type: string + description: Primary fax number for the venue. + minLength: 1 + maxLength: 30 + example: +1-703-555-0101 + salesPhoneNumber: + type: string + description: Sales phone number of the venue. + maxLength: 30 + example: +1-703-555-0102 + salesFaxNumber: + type: string + description: Sales fax number of the venue. + maxLength: 30 + example: +1-703-555-0103 + tollFreeNumber: + type: string + description: Toll-free number of the venue. + maxLength: 30 + example: 1-800-555-0100 + websiteAddress: + type: string + format: uri + description: Website address. + maxLength: 300 + example: https://www.example-hotel.com + currency: + $ref: '#/components/schemas/Currency' + openingDate: + type: string + description: Venue opening date as free-form text. + maxLength: 30 + example: Spring 2025 + description: + type: string + description: Venue description. + maxLength: 4000 + example: A modern conference venue in downtown. + additionalInformation: + type: string + description: Additional information about the venue. + maxLength: 2500 + example: Free parking available on-site. + cancellationPolicy: + type: string + description: Cancellation policy for bookings at the venue. + maxLength: 2500 + example: Full refund if cancelled 48 hours before event. + locationTypes: + type: array + description: Location classifications. + items: + $ref: '#/components/schemas/LocationType' + maxItems: 6 + address: + $ref: '#/components/schemas/AddressInfo' + venueDetailsOverview: + title: Venue Details Overview + description: An overview of venue details containing key identifiers and display properties. + type: object + required: + - id + - name + properties: + id: + type: string + format: uuid + description: Venue ID. + readOnly: true + example: b2c3d4e5-f6a7-8901-bcde-f12345678901 + name: + type: string + description: Venue name. + maxLength: 100 + example: Vienna Wolf Trap Hotel + venueDetailsPatch: + title: VenueDetailsPatch + description: Partial update payload for venue details. + type: object + properties: + type: + $ref: '#/components/schemas/VenueType' + timeZone: + type: string + description: Time zone identifier for the venue. See the supported timezones reference for valid values. + example: America/New_York + nullable: true + externalDocs: + description: Supported Timezones + url: https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones + brand: + type: string + nullable: true + description: Venue brand. Brands vary by venue type. + example: Quality Hotels + maxLength: 100 + chainScale: + type: string + allOf: + - $ref: '#/components/schemas/ChainScale' + nullable: true + mainPhoneNumber: + type: string + description: Primary phone number for the venue. + example: +1-703-555-0100 + minLength: 1 + maxLength: 30 + mainFaxNumber: + type: string + description: Primary fax number for the venue. + example: +1-703-555-0101 + minLength: 1 + maxLength: 30 + salesPhoneNumber: + type: string + nullable: true + description: Sales phone number of the venue. + example: +1-703-555-0102 + maxLength: 30 + salesFaxNumber: + type: string + nullable: true + description: Sales fax number of the venue. + example: +1-703-555-0103 + maxLength: 30 + tollFreeNumber: + type: string + nullable: true + description: Toll-free number of the venue. + example: 1-800-555-0100 + maxLength: 30 + websiteAddress: + type: string + nullable: true + format: uri + description: Website address. + maxLength: 300 + example: https://www.example-hotel.com + currency: + type: string + allOf: + - $ref: '#/components/schemas/Currency' + nullable: true + openingDate: + type: string + nullable: true + description: Venue opening date as free-form text. + example: Spring 2025 + maxLength: 30 + description: + type: string + nullable: true + description: Venue description. + example: A premier conference and event venue in the heart of Northern Virginia. + maxLength: 4000 + additionalInformation: + type: string + nullable: true + description: Additional information about the venue. + example: Complimentary parking available for all event attendees. + maxLength: 2500 + cancellationPolicy: + type: string + nullable: true + description: Cancellation policy for bookings at the venue. + example: 48-hour cancellation policy applies for all event bookings. + maxLength: 2500 + locationTypes: + type: array + nullable: true + description: Location classifications. + maxItems: 6 + items: + $ref: '#/components/schemas/LocationType' + address: + type: object + nullable: true + description: Venue address information. + properties: + streetAddress1: + type: string + nullable: true + description: Street address line 1. + example: 1234 Trap Road + maxLength: 40 + streetAddress2: + type: string + nullable: true + description: Street address line 2. + example: Suite 100 + maxLength: 40 + city: + type: string + description: City. + minLength: 1 + maxLength: 40 + example: Vienna + stateProvince: + $ref: '#/components/schemas/StateProvince1' + zipPostalCode: + type: string + nullable: true + description: ZIP or postal code. + example: '22182' + maxLength: 25 + country: + $ref: '#/components/schemas/Country' + directions: + type: string + nullable: true + description: Directions or instructions for getting to the venue. + example: Take I-66 West to Exit 67, then follow signs to Trap Road. + maxLength: 2500 + VenueFacility: + title: VenueFacility + description: Facility information for a venue. Field applicability varies by venue type; values supplied for fields that do not apply to the venue's type will be rejected. + type: object + allOf: + - $ref: '#/components/schemas/Audit' + properties: + numberOfMeetingRooms: + type: integer + description: Total number of meeting rooms at the venue. + minimum: 0 + maximum: 10000 + example: 25 + space: + type: object + description: Facility space measurements at the venue. + properties: + unitOfMeasurement: + $ref: '#/components/schemas/MeasurementUnit' + totalMeetingRoomSpace: + type: integer + description: Total meeting room space at the venue. + minimum: 0 + maximum: 99999999 + example: 50000 + totalExhibitSpace: + type: integer + description: Total exhibit space at the venue. + minimum: 0 + maximum: 99999999 + example: 75000 + sleeping: + type: object + description: Sleeping room inventory at the venue. + properties: + totalRooms: + type: integer + description: Total number of sleeping rooms at the venue. + minimum: 0 + maximum: 10000 + example: 350 + suites: + type: integer + description: Total number of suites at the venue. + minimum: 0 + maximum: 10000 + example: 20 + singleRooms: + type: integer + description: Total number of single-occupancy rooms at the venue. + minimum: 0 + maximum: 10000 + example: 200 + doubleRooms: + type: integer + description: Total number of double-occupancy rooms at the venue. + minimum: 0 + maximum: 10000 + example: 130 + singleRate: + type: object + description: Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + properties: + low: + type: number + description: Lowest published rate for a single-occupancy room. + minimum: 0 + maximum: 999999999 + example: 129.99 + high: + type: number + description: Highest published rate for a single-occupancy room. + minimum: 0 + maximum: 999999999 + example: 249.99 + doubleRate: + type: object + description: Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + properties: + low: + type: number + description: Lowest published rate for a double-occupancy room. + minimum: 0 + maximum: 999999999 + example: 149.99 + high: + type: number + description: Highest published rate for a double-occupancy room. + minimum: 0 + maximum: 999999999 + example: 299.99 + taxRate: + type: number + description: Tax rate applied at the venue, expressed as a percentage. + minimum: 0 + maximum: 999999999 + example: 8.5 + occupancyRate: + type: number + description: Occupancy rate at the venue, expressed as a percentage. + minimum: 0 + maximum: 999999999 + example: 75.5 + yearBuilt: + type: integer + description: Four-digit year the venue was built. + minimum: 0 + maximum: 9999 + example: 1998 + yearRenovated: + type: integer + description: Four-digit year the venue was last renovated. + minimum: 0 + maximum: 9999 + example: 2021 + proximityFromAirport: + type: object + description: Distance from the nearest airport. `unit` is required when `distance` is provided. + properties: + distance: + type: number + description: Distance from the nearest airport, expressed in `unit`. Up to four digits. + minimum: 0 + maximum: 9999 + example: 12.5 + unit: + $ref: '#/components/schemas/DistanceMeasurementUnit' + restrictions: + type: string + description: Free-form description of any facility restrictions at the venue. + maxLength: 2500 + example: No outside food or beverage permitted. Music must end by 11 PM. + maximumCapacity: + type: object + description: 'Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.' + properties: + seated: + type: integer + description: Maximum seated capacity at the venue. + minimum: 0 + maximum: 10000 + example: 500 + standing: + type: integer + description: Maximum standing capacity at the venue. + minimum: 0 + maximum: 10000 + example: 800 + eventInsurance: + $ref: '#/components/schemas/EventInsurance' + venueFacilityPatch: + title: VenueFacilityPatch + description: Partial update payload for venue facility information. Only fields present in the request body are updated; omitted fields remain unchanged. Set leaf fields to `null` to unset them. For grouped objects, update or clear each child field explicitly instead of setting the entire group to `null`. Field applicability varies by venue type; values supplied for fields that do not apply to the venue's type will be rejected. + type: object + properties: + numberOfMeetingRooms: + type: integer + nullable: true + description: Total number of meeting rooms at the venue. + minimum: 0 + maximum: 10000 + example: 25 + space: + type: object + description: Facility space measurements at the venue. + properties: + unitOfMeasurement: + type: string + allOf: + - $ref: '#/components/schemas/MeasurementUnit' + nullable: true + totalMeetingRoomSpace: + type: integer + nullable: true + description: Total meeting room space at the venue. + minimum: 0 + maximum: 99999999 + example: 50000 + totalExhibitSpace: + type: integer + nullable: true + description: Total exhibit space at the venue. + minimum: 0 + maximum: 99999999 + example: 75000 + sleeping: + type: object + description: Sleeping room inventory at the venue. + properties: + totalRooms: + type: integer + nullable: true + description: Total number of sleeping rooms at the venue. + minimum: 0 + maximum: 10000 + example: 350 + suites: + type: integer + nullable: true + description: Total number of suites at the venue. + minimum: 0 + maximum: 10000 + example: 20 + singleRooms: + type: integer + nullable: true + description: Total number of single-occupancy rooms at the venue. + minimum: 0 + maximum: 10000 + example: 200 + doubleRooms: + type: integer + nullable: true + description: Total number of double-occupancy rooms at the venue. + minimum: 0 + maximum: 10000 + example: 130 + singleRate: + type: object + description: Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + properties: + low: + type: number + nullable: true + description: Lowest published rate for a single-occupancy room. + minimum: 0 + maximum: 999999999 + example: 129.99 + high: + type: number + nullable: true + description: Highest published rate for a single-occupancy room. + minimum: 0 + maximum: 999999999 + example: 249.99 + doubleRate: + type: object + description: Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + properties: + low: + type: number + nullable: true + description: Lowest published rate for a double-occupancy room. + minimum: 0 + maximum: 999999999 + example: 149.99 + high: + type: number + nullable: true + description: Highest published rate for a double-occupancy room. + minimum: 0 + maximum: 999999999 + example: 299.99 + taxRate: + type: number + nullable: true + description: Tax rate applied at the venue, expressed as a percentage. + minimum: 0 + maximum: 999999999 + example: 8.5 + occupancyRate: + type: number + nullable: true + description: Occupancy rate at the venue, expressed as a percentage. + minimum: 0 + maximum: 999999999 + example: 75.5 + yearBuilt: + type: integer + nullable: true + description: Four-digit year the venue was built. + minimum: 0 + maximum: 9999 + example: 1998 + yearRenovated: + type: integer + nullable: true + description: Four-digit year the venue was last renovated. + minimum: 0 + maximum: 9999 + example: 2021 + proximityFromAirport: + type: object + description: Distance from the nearest airport. `unit` is required when `distance` is provided. + properties: + distance: + type: number + nullable: true + description: Distance from the nearest airport, expressed in `unit`. Up to four digits. + minimum: 0 + maximum: 9999 + example: 12.5 + unit: + type: string + allOf: + - $ref: '#/components/schemas/DistanceMeasurementUnit' + nullable: true + restrictions: + type: string + nullable: true + description: Free-form description of any facility restrictions at the venue. + maxLength: 2500 + example: No outside food or beverage permitted. Music must end by 11 PM. + maximumCapacity: + type: object + description: 'Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.' + properties: + seated: + type: integer + nullable: true + description: Maximum seated capacity at the venue. + minimum: 0 + maximum: 10000 + example: 500 + standing: + type: integer + nullable: true + description: Maximum standing capacity at the venue. + minimum: 0 + maximum: 10000 + example: 800 + eventInsurance: + type: string + allOf: + - $ref: '#/components/schemas/EventInsurance' + nullable: true + VenueID: + title: Venue ID + description: A unique identifier for a venue + type: string + format: uuid + example: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + VenueType: + title: Venue Type + description: |- + Type of venue. + + Values: + - `AQUARIUM_ZOO` — Aquarium/Zoo + - `ARENA_STADIUM` — Arena/Stadium + - `BANQUET_FACILITY` — Banquet Facility + - `BAR_CLUB` — Bar/Club + - `BLANK` — Blank + - `BOUTIQUE_HOTEL` — Boutique Hotel + - `CONFERENCE_CENTER` — Conference Center + - `CONVENTION_CENTER` — Convention Center + - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + - `CVB` — CVB + - `DMC` — Destination Management Company + - `EDUCATIONAL_FACILITY` — Educational Facility + - `ENTERTAINMENT_VENUE` — Entertainment Venue + - `EXPOSITION_CENTER` — Exposition Center + - `GALLERY_MUSEUM` — Gallery/Museum + - `GOLF_COURSE` — Golf Course + - `HOTEL` — Hotel + - `INTERNAL_VENUE` — Internal Venue + - `LUXURY_HOTEL` — Luxury Hotel + - `MOVIE_THEATRE` — Movie Theatre + - `RESORT` — Resort + - `RESTAURANT` — Restaurant + - `SPECIAL_EVENT_VENUE` — Special Event Venue + type: string + enum: + - AQUARIUM_ZOO + - ARENA_STADIUM + - BANQUET_FACILITY + - BAR_CLUB + - BLANK + - BOUTIQUE_HOTEL + - CONFERENCE_CENTER + - CONVENTION_CENTER + - CORPORATE_OFFICE_SPACE + - CVB + - DMC + - EDUCATIONAL_FACILITY + - ENTERTAINMENT_VENUE + - EXPOSITION_CENTER + - GALLERY_MUSEUM + - GOLF_COURSE + - HOTEL + - INTERNAL_VENUE + - LUXURY_HOTEL + - MOVIE_THEATRE + - RESORT + - RESTAURANT + - SPECIAL_EVENT_VENUE + example: HOTEL video: title: Video description: Event video. @@ -53929,6 +56643,8 @@ components: budget/transactions:write: Allows creation of card transactions. business-transient/bids:read: Allows the reading of BT Bid data business-transient/proposals:read: Allows the reading of BT Proposal data + business-travel/bids:read: Allows the reading of BT Bid data + business-travel/proposals:read: Allows the reading of BT Proposal data compliance/communications:read: Allows the reading of communication compliance compliance/communications:write: Allows the writing of communication compliance email/bounces:read: Allow the reading of email bounces. @@ -54091,6 +56807,11 @@ components: survey/survey-responses:read: Allows reading the event survey responses survey/survey-responses:write: Allows write operations on the event surveys respondent's responses survey/surveys:read: Allows the reading of event surveys + venue/meeting-room-overviews:read: Allows read access for overview of meeting room. + venue/meeting-rooms:write: Allows the creation and modification of meeting rooms. + venue/venue-details-overview:read: Allows read access for overview of venue details. + venue/venue-details:write: Allows the creation and modification of venue details. + venue/venue-facility:write: Allows the modification of venue facility information. OAuth2.clientCredentials: type: oauth2 description: OAuth2 Client Credentials Flow. @@ -54134,8 +56855,8 @@ components: budget/transactions:write: Allows creation of card transactions. bulk/bulk-jobs:read: Allows the reading of bulk job related entities bulk/bulk-jobs:write: Allows the creation, update and deletion of bulk job related entities - business-transient/bids:read: Allows the reading of BT Bid data - business-transient/proposals:read: Allows the reading of BT Proposal data + business-transient/bids:read: Allows the reading of Business Transient Bid data + business-transient/proposals:read: Allows the reading of Business Transient Proposal data business-transient/supplier-brands:read: Allows the reading of a supplier brand or a list of travel supplier brands. business-transient/supplier-chains:read: Allows the reading of a travel supplier chain or a list of travel supplier chains. business-transient/supplier-properties:read: Allows the reading of a travel supplier property or a list of travel supplier properties. @@ -54144,6 +56865,8 @@ components: business-transient/travel-program-questions:read: Allows the reading of business transient travel program question data. business-transient/travel-programs:read: Allows the reading of business transient travel program data. business-transient/travel-supplier-accounts:read: Allows the reading of business transient travel supplier account data. + business-travel/bids:read: Allows the reading of Business Travel Bid data + business-travel/proposals:read: Allows the reading of Business Travel Proposal data business-travel/travel-accounts:read: Allows the reading of business travel account data. business-travel/travel-program-questions:read: Allows the reading of business travel program question data. business-travel/travel-programs:read: Allows the reading of business travel program data. @@ -54326,6 +57049,11 @@ components: survey/survey-responses:read: Allows reading the event survey responses survey/survey-responses:write: Allows write operations on the event surveys respondent's responses survey/surveys:read: Allows the reading of event surveys + venue/meeting-room-overviews:read: Allows read access for overview of meeting room. + venue/meeting-rooms:write: Allows the creation and modification of meeting rooms. + venue/venue-details-overview:read: Allows read access for overview of venue details. + venue/venue-details:write: Allows the creation and modification of venue details. + venue/venue-facility:write: Allows the modification of venue facility information. CallbackApiKeyAuth: type: apiKey in: header @@ -54555,6 +57283,10 @@ tags: description: The [SCIM](https://www.simplecloud.info/) standard allows for easier cross-domain identity management. This API allows you to manage your account users and SCIM groups (representing Cvent user roles). - name: Users description: Operations for managing account users and user groups, including creation, retrieval, update, and deletion. Use these endpoints to administer user access and roles within your account. + - name: Venue Meeting Rooms + description: Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. + - name: Venue Profiles + description: Manage venue profile details including type, contact information, address, and other venue properties. - name: Video description: Videos can be added to Cvent events with renditions at various resolutions, audio files, reactions tracks, and text tracks. Attendee viewership is tracked to get insight into durations, devices used and venue where the video is watched. Use these APIs to view and manage videos, related text tracks, and audio files. Use these APIs also to get insight into video viewership. - name: Webcasts diff --git a/overlays/pagination_overlay.yaml b/overlays/pagination_overlay.yaml deleted file mode 100644 index 4072084e1..000000000 --- a/overlays/pagination_overlay.yaml +++ /dev/null @@ -1,653 +0,0 @@ -overlay: 1.0.0 -x-speakeasy-jsonpath: rfc9535 -info: - title: Pagination overlay - version: 0.0.0 -actions: - - target: $.paths["/events/surveys/responses"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - - Following are the comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - - The following fields are filterable: - * id (eq|ne) - * respondent.id (eq|ne) - * session.id (eq|ne) - * speaker.id (eq|ne) - * question.id (eq|ne) - * event.id (eq|ne) - schema: - type: string - example: id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' - - target: $.paths["/events/surveys/responses"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/budget-items/allocations"].get - update: - parameters: - - $ref: "#/components/parameters/id4" - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - 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: - * budgetVersion.id (eq) - * budgetItem.id (eq) - * category.id (eq|ne) - * subcategory.id (eq|ne) - * generalLedger.id (eq|ne) - * value (lt|le|gt|ge|eq) - - The following operators are available: - * and - * or - schema: - type: string - example: category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000 - - target: $.paths["/events/{id}/budget-items/allocations"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/event-travel/air-actuals"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - $ref: "#/components/parameters/expandAirActualQuestionAnswer" - - $ref: "#/components/parameters/sortForAirActual" - - $ref: "#/components/parameters/filter1" - - $ref: "#/components/parameters/id2" - - target: $.paths["/events/{id}/event-travel/air-actuals"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/event-travel/air-requests"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - $ref: "#/components/parameters/sortForAirRequest" - - $ref: "#/components/parameters/filter1" - - $ref: "#/components/parameters/id2" - - $ref: "#/components/parameters/expandAirRequestQuestionAnswer" - - target: $.paths["/events/{id}/event-travel/air-requests"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/event-travel/alternate-answers"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - $ref: "#/components/parameters/filter1" - - $ref: "#/components/parameters/id2" - - target: $.paths["/events/{id}/event-travel/alternate-answers"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/event-travel/hotel-requests"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - $ref: "#/components/parameters/expandHotelRequestQuestionAnswer" - - $ref: "#/components/parameters/sortForHotelRequest" - - $ref: "#/components/parameters/filter1" - - $ref: "#/components/parameters/id2" - - target: $.paths["/events/{id}/event-travel/hotel-requests"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/event-travel/housing-reservation-requests"].get - update: - parameters: - - $ref: "#/components/parameters/id2" - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - $ref: "#/components/parameters/filter1" - - target: $.paths["/events/{id}/event-travel/housing-reservation-requests"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/features"].get - update: - parameters: - - $ref: "#/components/parameters/id10" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - $ref: "#/components/parameters/locale1" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. - - The filter adheres to the pattern filter='field' comparisonType 'value'. - - - It has only one comparison types that can be used in filter expressions: - * equal: eq - - The following fields are filterable: - * enabled (eq) - schema: - type: string - example: enabled eq 'true' - - target: $.paths["/events/{id}/features"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/surveys"].get - update: - parameters: - - $ref: "#/components/parameters/id7" - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - In case user wants to filter on multiple session IDs, they can use 'or' operator. - - Following are the comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - - The following fields are filterable: - * id (eq|ne) [chapter id of the event survey] - * type (eq|ne) - * sessions (eq|ne) - schema: - type: string - example: id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions - eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq - '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3' - - target: $.paths["/events/{id}/surveys"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/surveys/{surveyId}/questions"].get - update: - parameters: - - $ref: "#/components/parameters/id7" - - $ref: "#/components/parameters/surveyId" - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - target: $.paths["/events/{id}/surveys/{surveyId}/questions"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/surveys/{surveyId}/responses"].get - update: - parameters: - - $ref: "#/components/parameters/id7" - - $ref: "#/components/parameters/surveyId" - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - - Following are the comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - - The following fields are filterable: - * id (eq|ne) - * respondent.id (eq|ne) - * session.id (eq|ne) - * speaker.id (eq|ne) - * question.id (eq|ne) - schema: - type: string - example: id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' - - target: $.paths["/events/{id}/surveys/{surveyId}/responses"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/events/{id}/weblinks"].get - update: - parameters: - - $ref: "#/components/parameters/id10" - - $ref: "#/components/parameters/token" - - $ref: "#/components/parameters/locale1" - - $ref: "#/components/parameters/limit-100" - - target: $.paths["/events/{id}/weblinks"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/large-choices"].get - update: - parameters: - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - - Following are the comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - - The following fields are filterable: - * id (eq|ne) - * question.id (eq|ne) - schema: - type: string - example: id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' - - target: $.paths["/large-choices"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/questions"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - - Following are the 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) - * survey.id (eq|ne) - * code (eq|ne) - * type (eq|ne) - * chapter.id (eq|ne) - * maxScore (eq|ne|gt|ge|lt|le) - schema: - type: string - example: id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' - - target: $.paths["/questions"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/responses"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - - Following are the comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - - The following fields are filterable: - * id (eq|ne) - * survey.id (eq) - * respondent.id (eq|ne) - * event.id (eq) - * session.id (eq) - * question.id (eq) - * chapter.id (eq) - * attempt (eq) - - Usage: - - 1. Use only survey.id to get responses for all questions in the survey. - - 2. Use only question.id to get responses for specific questions, which may belong to one - or more surveys. - - 3. Use only chapter.id to get responses for all questions in the chapter of a particular - survey. - - 4. Use only respondent.id to get responses for specific respondents. - - 5. chapter.id and survey.id cannot be used in combination with any other fields. - - 6. Multiple chapter.id or survey.id must be separated by 'OR'. For example: - filter=chapter.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or chapter.id eq - '1983f506-a4a5-4a05-b3f6-ff7f7afc58f1' - - 7. question.id can be used in combination with any other field by 'AND' operator only. - schema: - type: string - example: question.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or question.id eq - '1983f506-a4a5-4a05-b3f6-ff7f7afc58f1' - - target: $.paths["/responses"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/standard-surveys"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - - Following are the 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: - * status (eq|ne) - * created (eq|ne|gt|ge|lt|le) - * title (eq|ne) - * code (eq|ne) - schema: - type: string - example: status eq 'active' and created gt '2020-12-12T11:30:37.909Z' and title eq 'Survey Demo' and - code ne 'NFWHF5DW46A' - - target: $.paths["/standard-surveys"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/standard-surveys/responses"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - - Following are the comparison types that can be used in filter expressions: - * equal: eq - - The following fields are filterable: - * survey.id (eq) - * question.id (eq) - * respondent.id (eq) - - Following are the limits for the number of fields that can be passed in filter: - * survey.id (1) - * question.id (100) - * respondent.id (100) - - Usage: - * Use only survey.id to get responses for all questions in the survey. - * Use only question.id to get responses for specific questions, which may belong to different surveys or same survey. - * Use only respondent.id to get responses for specific respondents. - * Multiple question.id/respondent.id must be separated by 'or'. Eg, filter=question.id eq - '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or question.id eq '1983f506-a4a5-4a05-b3f6-ff7f7afc58f1' - * question.id can be used in combination with respondent.id by 'AND' operator only. - schema: - type: string - example: question.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or question.id eq - '1983f506-a4a5-4a05-b3f6-ff7f7afc58f1' - - target: $.paths["/standard-surveys/responses"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/standard-surveys/{surveyId}/email-templates"].get - update: - parameters: - - $ref: "#/components/parameters/surveyId" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - target: $.paths["/standard-surveys/{surveyId}/email-templates"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/standard-surveys/{surveyId}/questions"].get - update: - parameters: - - $ref: "#/components/parameters/surveyId" - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - target: $.paths["/standard-surveys/{surveyId}/questions"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken - - target: $.paths["/surveys"].get - update: - parameters: - - $ref: "#/components/parameters/after" - - $ref: "#/components/parameters/before" - - $ref: "#/components/parameters/limit" - - $ref: "#/components/parameters/token" - - name: filter - in: query - required: false - description: > - A filter query string narrows search results and supports the combination of logical and - comparison operators. The filter adheres to the pattern filter='field' comparisonType - 'value'. - - In case user wants to filter on multiple survey IDs, they can use 'or' operator. - - Following are the comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - - The following fields are filterable: - * id (eq|ne) - * type (eq|ne) - schema: - type: string - example: id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Standalone' - - target: $.paths["/surveys"].get - update: - x-speakeasy-pagination: - type: cursor - inputs: - - name: token - in: parameters - type: cursor - outputs: - nextCursor: $.paging.nextToken diff --git a/overlays/public_overlay.yaml b/overlays/public_overlay.yaml index 424b94ce0..3cf2fb8bb 100644 --- a/overlays/public_overlay.yaml +++ b/overlays/public_overlay.yaml @@ -99,9 +99,9 @@ actions: type: string description: The name of the venue. example: Hotel Grand San Francisco. - - target: $["components"]["schemas"]["sleeping-room-requirement.json"]["properties"]["double"] + - target: $["components"]["schemas"]["SleepingRoomRequirement"]["properties"]["double"] remove: true - - target: $["components"]["schemas"]["sleeping-room-requirement.json"]["properties"] + - target: $["components"]["schemas"]["SleepingRoomRequirement"]["properties"] update: doubleBeds: type: integer @@ -143,3 +143,69 @@ actions: - target: $["components"]["schemas"]["ErrorResponse2"] update: x-speakeasy-name-override: "ErrorResponse2" + # OAuth2 flow-split fix (API-6019): the July 22-23 published spec added the new + # business-travel/* scopes to seven travel operations as a SECOND OAuth2.clientCredentials + # entry instead of adding the scope to the existing entry. Two clientCredentials entries on + # one operation trips Speakeasy's "concurrent use of multiple OAuth2 built-in security flows + # is not currently supported" lint error and fails generation. These actions collapse each + # split back into a single clientCredentials entry carrying both scopes. + # Two-step per operation: remove the split security array first, then set the combined entry. + # A plain `update` on an array APPENDS rather than replaces (see the root-security override + # above), so the array must be removed before the single combined entry is set. + # Remove once the developer-portal published spec combines the scopes at the source. + - target: $["paths"]["/travel-accounts"]["get"]["security"] + remove: true + - target: $["paths"]["/travel-accounts"]["get"] + update: + security: + - OAuth2.clientCredentials: + - business-transient/travel-accounts:read + - business-travel/travel-accounts:read + - target: $["paths"]["/travel-accounts/{travelAccountId}"]["get"]["security"] + remove: true + - target: $["paths"]["/travel-accounts/{travelAccountId}"]["get"] + update: + security: + - OAuth2.clientCredentials: + - business-transient/travel-accounts:read + - business-travel/travel-accounts:read + - target: $["paths"]["/travel-programs"]["get"]["security"] + remove: true + - target: $["paths"]["/travel-programs"]["get"] + update: + security: + - OAuth2.clientCredentials: + - business-transient/travel-programs:read + - business-travel/travel-programs:read + - target: $["paths"]["/travel-programs/questions"]["get"]["security"] + remove: true + - target: $["paths"]["/travel-programs/questions"]["get"] + update: + security: + - OAuth2.clientCredentials: + - business-transient/travel-program-questions:read + - business-travel/travel-program-questions:read + - target: $["paths"]["/travel-programs/{programId}"]["get"]["security"] + remove: true + - target: $["paths"]["/travel-programs/{programId}"]["get"] + update: + security: + - OAuth2.clientCredentials: + - business-transient/travel-programs:read + - business-travel/travel-programs:read + - target: $["paths"]["/travel-programs/{programId}/questions"]["get"]["security"] + remove: true + - target: $["paths"]["/travel-programs/{programId}/questions"]["get"] + update: + security: + - OAuth2.clientCredentials: + - business-transient/travel-program-questions:read + - business-travel/travel-program-questions:read + - target: $["paths"]["/travel-programs/{programId}/questions/{questionId}"]["get"]["security"] + remove: true + - target: $["paths"]["/travel-programs/{programId}/questions/{questionId}"]["get"] + update: + security: + - OAuth2.clientCredentials: + - business-transient/travel-program-questions:read + - business-travel/travel-program-questions:read diff --git a/packages/csharp/.speakeasy/gen.lock b/packages/csharp/.speakeasy/gen.lock index 72116f9e2..da5cf464c 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: ce9ff8f3ccf7daaa0f3cdb2e11397d7b + docChecksum: 95caed5ecc22c9031fba79a830d632f6 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.5.2 - configChecksum: 333016476e8c2336898eda8cb902a162 + releaseVersion: 1.6.0 + configChecksum: cc8dc29fb620dc795f9c0b414f2e0213 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:cb0d7521e0afc8738b6c0c16e1bd54bf91201dff + last_write_checksum: sha1:2f5f0274c46d7cc256f19700894515b97bb0b07f pristine_git_object: 7a318ebe39215ade31d133b8f5920eb190ea74e3 USAGE.md: id: 3aed33ce6e6f @@ -54,7 +54,7 @@ trackedFiles: pristine_git_object: 9d9d2cb0300360310d0594405723f6b3c23ef99d docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md: id: d08cc9e72a35 - last_write_checksum: sha1:9d20ce966bb7eacf5a0f244ddfa316cfecb6e0d8 + last_write_checksum: sha1:1a2c798543793259cdf5bb1f4c223d0368797f86 pristine_git_object: 9f9e22ff2ad4cbf586938d2da46928ec7f3b6309 ? docs/Models/Components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.md : last_write_checksum: sha1:05a66b2e726c48c88c479ca48c69b3c921108e1d @@ -76,138 +76,66 @@ trackedFiles: pristine_git_object: c796cd3d5b953035f82fdc2452b99d988704f8d4 docs/Models/Components/Action.md: last_write_checksum: sha1:987caa3d5a68a6f27955aa3b172585dc9a810983 - docs/Models/Components/ActivityAdJson.md: - id: 9bb5e5f9295e - last_write_checksum: sha1:57696acbef8d107a58ed2ce727db5e00bd04e3be - pristine_git_object: 7f51eb9fe78dce36ce45290375ac94ef098af22b - docs/Models/Components/ActivityAppointmentJson.md: - id: 7c9130a04c51 - last_write_checksum: sha1:99c4617faef3ed023cb8c9197658b01b383f22da - pristine_git_object: cc0a1a4b2fa94b1f9486829458414eb1ade419a1 - docs/Models/Components/ActivityAppointmentJsonAppointmentEvent.md: - id: a89d2da6b984 - last_write_checksum: sha1:195effeae64124c379faf22b02cc23c571fb4b7e - pristine_git_object: 4e3deb7612ca9aebcc5de10449ecb399c84f90c0 - docs/Models/Components/ActivityBaseAppointmentJson.md: - id: 455c1af917d7 - last_write_checksum: sha1:656dfdf31f63fc443c6876e29f8f1998b2af28ec - pristine_git_object: 37684a869584c72a2c3df4d0b3d434beca21ca5a - docs/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.md: - id: 005677e3891f - last_write_checksum: sha1:e9b0a9ee92aa3888ccf71a3dc819679200628013 - pristine_git_object: 264912a837fcbadc7768f47f60857894a026918b + docs/Models/Components/ActivityAd.md: + last_write_checksum: sha1:ae197a9851eb3843ce4903ce7a0ea28430b9cff4 + docs/Models/Components/ActivityAppointment.md: + last_write_checksum: sha1:c217929b49820c319cd3753efbafa9fc1cd189e4 + docs/Models/Components/ActivityAppointmentAppointmentEvent.md: + last_write_checksum: sha1:78f500b7e2620024829dee7b318486b44345c145 + docs/Models/Components/ActivityBaseAppointment.md: + last_write_checksum: sha1:35b1beb722f20d9d7f1eb0b2f3c6adb4a1caddfa + docs/Models/Components/ActivityBaseAppointmentAppointmentEvent.md: + last_write_checksum: sha1:8149f08772f626fb9110fe34d19e516b0305b86c docs/Models/Components/ActivityBoothStaff.md: id: 71a2b7162ea3 - last_write_checksum: sha1:097ff5b9e823f66ec3d301abf91929c57b9fc454 + last_write_checksum: sha1:88b6c275a575c43b47715e2ffa130d6ea2983265 pristine_git_object: 7511988002ad9345c1ded320825149b3c095262e docs/Models/Components/ActivityContact.md: id: 2607945f9658 - last_write_checksum: sha1:570e2ac938e2fffaa1c36e8e80bdf13280282454 + last_write_checksum: sha1:6277fee8eba5e169b15537a840ae30c55aa2ca5c pristine_git_object: f52bd00b43ddee402881fe290b82396e16310ca5 - docs/Models/Components/ActivityContactJson.md: - id: eb81be1fff32 - last_write_checksum: sha1:9a4a8c92ad001fea4b9579336899ee5ecffb919e - pristine_git_object: 05b511b720e45628633e2d7477c00ef3b1465b75 - docs/Models/Components/ActivityDataJson.md: - id: 6a9fb8658c1e - last_write_checksum: sha1:3140868786ac8b8e7e511763fa267e02f9a6be82 - pristine_git_object: 83c0779bd1f0dd26c12ca051616cc4bbb48cef0b - docs/Models/Components/ActivityDataJsonAppointmentExternal.md: - id: 999f0a37de81 - last_write_checksum: sha1:e5e4b1bd16b561ee834d125e2fcc816ba36308b1 - pristine_git_object: a5e8934672b6eef9156be229f3f03045615cf58f - docs/Models/Components/ActivityDataJsonEvent1.md: - id: eb07a6504fe3 - last_write_checksum: sha1:01df0ee22f6b17b1d6c1ad67c37c48a67dacce4c - pristine_git_object: d89e2a144d7530a23ccb28dfca9b8d957ddf33cb - docs/Models/Components/ActivityDataJsonEvent10.md: - id: 085003e55ad7 - last_write_checksum: sha1:0c26a8d59953d4ba01fcb74a4fe223bd48539066 - pristine_git_object: b0201e1284ed2fad98d6e50b941b08c40f7b8dae - docs/Models/Components/ActivityDataJsonEvent11.md: - id: 472849c68ae3 - last_write_checksum: sha1:b67286f67d6b2e4b0034cdeedfffe3f45f442979 - pristine_git_object: e0dae07cb57a3aafeb5b3a151592288fbf16c484 - docs/Models/Components/ActivityDataJsonEvent2.md: - id: 2a0d55ab46eb - last_write_checksum: sha1:01df2f5d17e6463cde6b4fc22168d63ba2dff805 - pristine_git_object: 4ce8a3ad796fde753537389b87e8b68795c0d6e3 - docs/Models/Components/ActivityDataJsonEvent3.md: - id: ba5b7292645f - last_write_checksum: sha1:aec26f1f427416457de0242b9a795e626c08d381 - pristine_git_object: a20d504e6e4fe8bddbe8198bf8f740246d2c7844 - docs/Models/Components/ActivityDataJsonEvent4.md: - id: 5a831c5219b0 - last_write_checksum: sha1:76b6e534cdc70599fe8994d60df23afcb22d1849 - pristine_git_object: fb9a1af161a6ce3aaa5bc9ba90cee398c71670e8 - docs/Models/Components/ActivityDataJsonEvent5.md: - id: f09fcab9e079 - last_write_checksum: sha1:e2ba5b11d533fdbb25db37fdc044bb42e61b5189 - pristine_git_object: aa9aaaddf0fbab1f78e953c43b82f6d1535b2faf - docs/Models/Components/ActivityDataJsonEvent6.md: - id: 4ec5cd42f9dc - last_write_checksum: sha1:cc059dcc87aee89e794e8736350bc539a8ff144c - pristine_git_object: 16a388ed5e6fda69bf8892bd530843bf583c109f - docs/Models/Components/ActivityDataJsonEvent7.md: - id: d9bcf38fa2c4 - last_write_checksum: sha1:a05434b8aa6f661c020c66f3f6ad3dfbb1e39db7 - pristine_git_object: 2fb27580b1a6d49a702c261c193de76e016095e4 - docs/Models/Components/ActivityDataJsonEvent8.md: - id: 7805fa92f304 - last_write_checksum: sha1:ba4e53ed48e70726cc19741428e84f781d022927 - pristine_git_object: c2c75fba1a2bb154a53cc1a20fb537b3db7824f2 - docs/Models/Components/ActivityDataJsonEvent9.md: - id: 8612eb493dae - last_write_checksum: sha1:c1955a58d45cb846a7b7525aa11166857d1230e4 - pristine_git_object: dc72e7f4997b1886408629af52e59d33959b1527 - docs/Models/Components/ActivityDataJsonEventExternal.md: - id: f8e20823d881 - last_write_checksum: sha1:742ddb3d4165c9e39b6afa7138d87c0b9b4cf0f2 - pristine_git_object: eb4f27cd8d43b83b40786cb3d8d498a3aba232ef - docs/Models/Components/ActivityDataJsonExhibitorExternal.md: - id: cf77a701b84c - last_write_checksum: sha1:481f40b05b072664d5cbf99a326a4e9378aaec1e - pristine_git_object: e8f348c5ee2cca27963b4016856c74a40e1f20e2 - docs/Models/Components/ActivityDataJsonSessionExternal.md: - id: 20439eb82ca9 - last_write_checksum: sha1:d0fc17fde3e67236b9bb6cb4e1908162c429d8a0 - pristine_git_object: 603abae3f2c7ff1879ddbe0154be728e2648d026 - docs/Models/Components/ActivityExhibitorDocumentJson.md: - id: 283225b295fb - last_write_checksum: sha1:417acf0615298403070d304d5a20b12ddb0a7b29 - pristine_git_object: a2368edafed03e35c655cbed23ed792e8d09a06e - docs/Models/Components/ActivityExhibitorJson.md: - id: 362b18b436ed - last_write_checksum: sha1:5db3d8f691657d85cae3dcab85a272e50e1f0aae - pristine_git_object: 9c85670d495e497e9a4067e3099f4a43f94384aa - docs/Models/Components/ActivityExhibitorNavigationSourceJson.md: - id: dbcacec04624 - last_write_checksum: sha1:98b1ba6b17aefbb7cc442f685023685d42c7a76d - pristine_git_object: d7581e4c761ca4b252d2072a2616b3662a295f10 - docs/Models/Components/ActivityExhibitorSponsorshipLevelJson.md: - id: e70a7651a127 - last_write_checksum: sha1:7e892f73de65434f633f575a7354f5c457fae771 - pristine_git_object: 22c53fc1629032e55fa009d92643787b64ab2cb6 - docs/Models/Components/ActivityExhibitorWebLinkJson.md: - id: ee4ff5ab628c - last_write_checksum: sha1:79c9788e5d40d88f51dbcfd030b569cb0c692cb0 - pristine_git_object: db1f76eb4f4e612292173a8ddac9f6586f522176 - docs/Models/Components/ActivityJson.md: - id: b02111bc4495 - last_write_checksum: sha1:ee794b47103a7315f3020eeb2357fb0ce0a63310 - pristine_git_object: 405dcada0c7040d23e54b23792e2f20d65467b51 - docs/Models/Components/ActivityLeadJson.md: - id: 9863b3cafa60 - last_write_checksum: sha1:c4f1fa855b49d1f9e4889d814353c9b08ebde8e5 - pristine_git_object: 723d3c66ae80c7d662c4ed0a7fa30daa5316e5ae - docs/Models/Components/ActivityTypeJson.md: - id: f451f2986f15 - last_write_checksum: sha1:c7cb757f31ed12a1afd10c1527c0a0fb41f19145 - pristine_git_object: 6be439a6986179235e002be82b61879036965ae4 - docs/Models/Components/AdLocationJson.md: - id: 7ecdfbd380e9 - last_write_checksum: sha1:b0641e7e3f0449b4a5adc43fc62b5c59cecd66c7 - pristine_git_object: 671b9250962be5f83b1f91d69c788ee5c0fcf034 + docs/Models/Components/ActivityData.md: + last_write_checksum: sha1:2fd39ba06f367612f535ac9bbc6b1ad191422bbc + docs/Models/Components/ActivityDataAppointmentExternal.md: + last_write_checksum: sha1:89c355b1c0afb5258fa38e068ffd80b63cec975b + docs/Models/Components/ActivityDataEvent1.md: + last_write_checksum: sha1:5c44bb1c7127dbe546453dde6d46a1cb911bf781 + docs/Models/Components/ActivityDataEvent2.md: + last_write_checksum: sha1:ed1b6854d2dc8004e1a7a5e548d489d5dae52d67 + docs/Models/Components/ActivityDataEvent3.md: + last_write_checksum: sha1:af172edb439d37c3b45461ae6fb96bfd160f32a9 + docs/Models/Components/ActivityDataEvent4.md: + last_write_checksum: sha1:2434c451ded679aee8078dc8ca8808a357fd5f96 + docs/Models/Components/ActivityDataEvent5.md: + last_write_checksum: sha1:9b761a752dc82332e8a7fc1c96f804f9b4bb3da7 + docs/Models/Components/ActivityDataEvent6.md: + last_write_checksum: sha1:2f8cf4ad971c2b543c1526c2971ea6b1abf396b1 + docs/Models/Components/ActivityDataEvent7.md: + last_write_checksum: sha1:40e2b48a7ed588b32d7c274c77e7d90084b453ea + docs/Models/Components/ActivityDataEvent8.md: + last_write_checksum: sha1:d68ec019b74555d0ec0f6c0bb9f0b38f0460614f + docs/Models/Components/ActivityDataEventExternal.md: + last_write_checksum: sha1:5806239443e701aed751d32b6bbe54d22bdca7ca + docs/Models/Components/ActivityDataExhibitorExternal.md: + last_write_checksum: sha1:24abc2bbbcafca8f5e4c1c408f5cbb84dfba71c1 + docs/Models/Components/ActivityDataSessionExternal.md: + last_write_checksum: sha1:7a43b0883f70822286d540c8d02308ee22d5ea64 + docs/Models/Components/ActivityExhibitor.md: + last_write_checksum: sha1:1c9f70e37d74845b3680828d78154d47f579576d + docs/Models/Components/ActivityExhibitorDocument.md: + last_write_checksum: sha1:8af63488493a2ed110b57fd659448cd29a8ce7bf + docs/Models/Components/ActivityExhibitorNavigationSource.md: + last_write_checksum: sha1:478e4fd89a30f449aa0d5a35f76681c9fc648eca + docs/Models/Components/ActivityExhibitorSponsorshipLevel.md: + last_write_checksum: sha1:0564ac1ea3148927596467f46b010bb8ab484dbc + docs/Models/Components/ActivityExhibitorWeblink.md: + last_write_checksum: sha1:0ef4e241c208b19a7f3e0bcc770bf8fc6ef1000c + docs/Models/Components/ActivityLead.md: + last_write_checksum: sha1:45619b8649cd9d03c454c5bfda779fa4b634c385 + docs/Models/Components/ActivityType.md: + last_write_checksum: sha1:18eb3b1981fa072f4b414ea76bd31edf533a73fc + docs/Models/Components/AdLocation.md: + last_write_checksum: sha1:0406df87ed576fd9b6e0b71bfbd35c677c796688 docs/Models/Components/AddOnJson.md: id: 4307a6720e4b last_write_checksum: sha1:926c2e94d26c4f96087c223bb027df9e364e7560 @@ -242,6 +170,8 @@ trackedFiles: last_write_checksum: sha1:5678b5ad081c7302e85a5e975a0e5e7656358c96 docs/Models/Components/Address7.md: last_write_checksum: sha1:fbfc62ddadc0b78a0df4384782d9d6d6d98b6b20 + docs/Models/Components/AddressInfo.md: + last_write_checksum: sha1:82f511706319d1e22dab5a5696132b91a218a5ce docs/Models/Components/AddressInput.md: last_write_checksum: sha1:b1d109a712d0b7988c5db3bf0899dfee27bb70bb docs/Models/Components/AddressJson.md: @@ -344,30 +274,26 @@ trackedFiles: last_write_checksum: sha1:f6cd4013ff7e43df51f24eb583d69f6d78dccaf9 docs/Models/Components/Answer1.md: last_write_checksum: sha1:fdefa9780bb6eec0df7011c7f22d20231b946bb1 - docs/Models/Components/Answer2.md: - last_write_checksum: sha1:129600d495d218022018ab8da28c58c8e6d05cfd + docs/Models/Components/Answer21.md: + last_write_checksum: sha1:8fa1a90fb4df5e746d43c23ac60880dd01d24e36 + docs/Models/Components/Answer22.md: + last_write_checksum: sha1:dd34cd9a91f8c397c0e0df0b29cdb4f791e4c517 docs/Models/Components/Answer2Choice.md: last_write_checksum: sha1:56039852124b3ffe5019d70d853ac03d3e3e47e9 docs/Models/Components/AnswerJson.md: id: 24d53c811e00 - last_write_checksum: sha1:f957a26787e6fb2538caa630fb8396f56de69462 + last_write_checksum: sha1:817c9c4fee76561f8c56814a62ee701b58e8643c pristine_git_object: f1cbee8bd6317237f90d2b79f34da3d758b296b2 - docs/Models/Components/AnswerJson1.md: - id: 126f28897535 - last_write_checksum: sha1:9957e3491017a46ee4598a6e1444b16c9c2ffac8 - pristine_git_object: 00febe4e1c27bf7827a336c08a7c156493652dba docs/Models/Components/AnswerType.md: last_write_checksum: sha1:228cfd57b116f0358a04321f39861fb0b1c67d31 - docs/Models/Components/AnswerType1.md: - last_write_checksum: sha1:dbfe2b541d820946308fe6e232f2874758be7c33 + docs/Models/Components/AnswerType11.md: + last_write_checksum: sha1:ae6df7afc1708ccd992949a68622a5470638d53d + docs/Models/Components/AnswerType12.md: + last_write_checksum: sha1:cae76cc47f71902ff998796bff18ae208645db54 docs/Models/Components/AnswerTypeJson.md: id: 091a52dc5d12 - last_write_checksum: sha1:2557bdc53b15107376829bfdac08360d8eebf527 + last_write_checksum: sha1:677cde80e70b4334cc612078491c2e37fe3d4d6f pristine_git_object: 1b98af55de40d4e40df8e8ab6d64109bb49ba94a - docs/Models/Components/AnswerTypeJson1.md: - id: 2a965db3b1f7 - last_write_checksum: sha1:2172384c84b5ab7d5e300b51d0c2d211b5f58bc9 - pristine_git_object: bb06ead8ca269a17ba912b059eb590f75d509846 docs/Models/Components/Application.md: id: 538c092db2b8 last_write_checksum: sha1:1ff1e4c1171a095ad9b1934d24a7f8e94506a8cb @@ -376,7 +302,7 @@ trackedFiles: last_write_checksum: sha1:5a38b460afe048046bb5ec800c2250f14254f895 docs/Models/Components/AppointmentAccepted.md: id: a39607fc050d - last_write_checksum: sha1:851fe8afc624370e3529ae1e3c6e8bbc3739fd44 + last_write_checksum: sha1:c915add9d067ac254a787ddea803bc4d18cfcd26 pristine_git_object: a7fe4db326b1d3e352b145900c9f4132d5141afb docs/Models/Components/AppointmentAttendee.md: id: ea64b8260edb @@ -408,23 +334,23 @@ trackedFiles: pristine_git_object: 9a879c38f5e4b2cedededbffe398f0fe235e5c0d docs/Models/Components/AppointmentCancelled.md: id: 0bf60f055d9e - last_write_checksum: sha1:99030953209897b6e0ab12ed18a04b574ee42e7b + last_write_checksum: sha1:db2698b1fd6df0d9040e5b2ead4e9eed0d99e019 pristine_git_object: 6603932be6d84c99cc38c2eba0d11732ceb94765 docs/Models/Components/AppointmentCheckedIn.md: id: f1753477548f - last_write_checksum: sha1:5f7042ba2814a78a0399766851dc482d2c17fe8a + last_write_checksum: sha1:600c0458708271212a4909ac9c60eaed9accb046 pristine_git_object: 40a01dafd2726c2d93557609d5103825736cc1e6 docs/Models/Components/AppointmentCreated.md: id: ff806cf9eefe - last_write_checksum: sha1:8751af7870afc449fd44224b4951e689b0ba9acd + last_write_checksum: sha1:9c0b0ff908380fef7f371cef5efb949f443f532c pristine_git_object: 43648de8f38e7c5e1ce20a29c00e6639db2f3426 docs/Models/Components/AppointmentDeclined.md: id: 2092442cbc45 - last_write_checksum: sha1:373deb69b558d17b0f4ba51cb75134b34792f141 + last_write_checksum: sha1:c2a95255d68ab8f008a1c6d65298173369739c0b pristine_git_object: 52e9488cbd5652796d9e8abbbba8d281a2db79dc docs/Models/Components/AppointmentDenied.md: id: 6a17855569a7 - last_write_checksum: sha1:25f8a5043089ff0c39f9bb1b169b44808efb2c52 + last_write_checksum: sha1:dc9e29b60306648921320a79c2d4757f0583ebc7 pristine_git_object: 9f6619e7a1a7def5c5131ceafabc2c9b980de3b5 docs/Models/Components/AppointmentEvent.md: id: 3aa49d99e019 @@ -454,7 +380,7 @@ trackedFiles: pristine_git_object: 8bde086913d51fa900c25ed460c199348aca607d docs/Models/Components/AppointmentPaginatedResponse.md: id: 3b7197510ea3 - last_write_checksum: sha1:e55dee6d783f22bccd059788bfe65617e0e30e12 + last_write_checksum: sha1:d3046c97b4ae480cdad0ef12f50c29ff752028a6 pristine_git_object: 118bfbb226da55fb61ec172f653f5ceb30ff9e17 docs/Models/Components/AppointmentParticipantJson.md: id: 0c776c19d2a9 @@ -466,7 +392,7 @@ trackedFiles: pristine_git_object: b1bc0a7e362555936064c46b9f217bf8c0dc6bef docs/Models/Components/AppointmentRescheduled.md: id: f48845f5f94d - last_write_checksum: sha1:f202e2c7bf55ef785d58ec983b361e1efc8630b9 + last_write_checksum: sha1:6ba49d5525f2f0eb4aa272cefd082620d64b9fd3 pristine_git_object: cdb6ab1a61fd1a277f13d23dd05b6b9202a5d2ce docs/Models/Components/AppointmentStatusJson.md: id: 17e83b7fa4f7 @@ -490,6 +416,10 @@ trackedFiles: last_write_checksum: sha1:30a1375ee8f37ecaf27f7d428dbe4235e2c5662b docs/Models/Components/AppointmentWithQuestionsType.md: last_write_checksum: sha1:d1b45d4040d2c77ec95e46255f984d984414b0b5 + docs/Models/Components/AreaMeasurement.md: + last_write_checksum: sha1:3bc0739e85509bcf4cfdebbe70a06cea6c73b9dd + docs/Models/Components/AreaMeasurementUnit.md: + last_write_checksum: sha1:5a5c1546bff6644114e41fade40229fd05020adb docs/Models/Components/AssetLocation.md: last_write_checksum: sha1:b49f96621685e46b6e8dffe882086e71c3db4ad1 docs/Models/Components/AssetLocationInput.md: @@ -507,7 +437,7 @@ trackedFiles: docs/Models/Components/Attendee.md: last_write_checksum: sha1:54b8d0cae669a79e41094f5eac3fd3d0450b4171 docs/Models/Components/Attendee11.md: - last_write_checksum: sha1:6c1a74c99f2f8f2095eb96154cf3120752796a69 + last_write_checksum: sha1:b7a72d3afa6811889986aeb26dde2caf5c8b4b28 docs/Models/Components/Attendee12.md: last_write_checksum: sha1:1a4bd9992b0e9d11fa1e2325130d8e5a0b04efd8 docs/Models/Components/Attendee13.md: @@ -522,8 +452,10 @@ trackedFiles: last_write_checksum: sha1:510d6de3aa654b5408b0bf3e5c48b871ffd86d22 docs/Models/Components/AttendeeActivitiesPaginatedResponse.md: id: 8f50a4266de0 - last_write_checksum: sha1:4b29e8c1be39e738026a986e1b1cbfae58af416a + last_write_checksum: sha1:26166b77264bbb2fef5eb20d8ec2852ce7c0ca7c pristine_git_object: 5befdbe993136120347681a8d0df377cd083d0a1 + docs/Models/Components/AttendeeActivity.md: + last_write_checksum: sha1:86c88ec0aba9ef4db2f01cf7a663cbc12c10fb0d docs/Models/Components/AttendeeAdd.md: last_write_checksum: sha1:ecd8698244ce839ea7db510cbed8f8e6df53d187 docs/Models/Components/AttendeeAddAdministrator.md: @@ -540,7 +472,7 @@ trackedFiles: pristine_git_object: 40ce79e175c8f75ecd663a15370ae906e4139aec docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md: id: fdb289abf376 - last_write_checksum: sha1:d3bd0efbed781e1e53a496cea37358cd5de92d50 + last_write_checksum: sha1:282560bc7ad5d86680604555645676c64745b301 pristine_git_object: 7a15971e2d3ab1dd4119ab76904fb26455f6d126 docs/Models/Components/AttendeeAddBulkItemJson.md: last_write_checksum: sha1:7035902cdbe4d2fbf3860f0292c0bc6233005417 @@ -585,7 +517,7 @@ trackedFiles: docs/Models/Components/AttendeeAudienceSegmentAssociationsPaginatedResponse.md: last_write_checksum: sha1:e2576d547b78618e13999af2f0dc242849dab257 docs/Models/Components/AttendeeContactInfo.md: - last_write_checksum: sha1:d2f18c4f2e201735d3defa603f3b6138dbe5de90 + last_write_checksum: sha1:c99cfe45c50572cbcc6c621b080b22d951fe157f docs/Models/Components/AttendeeContactMembership.md: last_write_checksum: sha1:29c241e575eaff535eb3362c8ec596879328f952 docs/Models/Components/AttendeeContactType.md: @@ -698,10 +630,6 @@ trackedFiles: pristine_git_object: 35724c771fa6552c0892f01fa27a257c6f1000cf docs/Models/Components/AttendeeStatus.md: last_write_checksum: sha1:5b38dc7415c8c022907ce2634fac7a6f90f2c27d - docs/Models/Components/AttendeeStatusJson.md: - id: 17d5b718c3ae - last_write_checksum: sha1:dc2c725b28dda3960e3a2dbf3e2ce85d4ba54d73 - pristine_git_object: c92f39aa4f6c8bc43b46845eb0aef967117e0d9b docs/Models/Components/AttendeeSubscriptionRequest.md: last_write_checksum: sha1:b34c7adb692ee4ba517422d6924ad641c96cc873 docs/Models/Components/AttendeeSubscriptionResponse.md: @@ -876,26 +804,20 @@ trackedFiles: id: 3eb030bf1b6f last_write_checksum: sha1:fb2ca824a60cc1b8fb7033b4139c29f3ca9c77b8 pristine_git_object: ff927c9a3c27d9190fb2f5945725fd2b826cd6ad - docs/Models/Components/BannerLinkTargetJson.md: - id: 1baf50909dd6 - last_write_checksum: sha1:f5e65f07f4b44e8db6ae33d890f324ebae7777a2 - pristine_git_object: 99c56066da320f65191cc314ae4befcef8dfd906 - docs/Models/Components/BannerLinkTargetJsonType.md: - id: c2c3439617d7 - last_write_checksum: sha1:8397049f5a30e750af4f832958d4e2950b5cf7d6 - pristine_git_object: 86e0cdd06a7e776ce266e0054a0d71e0d99d00d0 + docs/Models/Components/BannerLinkTarget.md: + last_write_checksum: sha1:fd7be512e285d4ce09d359aa4a289e6d2c23ea85 + docs/Models/Components/BannerLinkTargetType.md: + last_write_checksum: sha1:a2c83fbb39b1f4462a1ef9f84b8c06f552dead83 docs/Models/Components/BaseAddressJson.md: last_write_checksum: sha1:80a46836d2874c3a99be437295dba3bd1dd7dca1 - docs/Models/Components/BaseAnswerJson.md: - id: d44ab4cf5ad5 - last_write_checksum: sha1:f81d1fafbeec7894e3417967ed2602270ca604d2 - pristine_git_object: a6123679a7bc19d208e64403823f1751963eb737 + docs/Models/Components/BaseAnswer.md: + last_write_checksum: sha1:bc235b56546c87b2abe9b3d6df85402437ba9a5e docs/Models/Components/BaseChoice.md: last_write_checksum: sha1:6b214f5c21f9a2c923e252a9a699df656ac07b26 - docs/Models/Components/BaseQuestionResponseJson.md: - id: 3f88d1edff81 - last_write_checksum: sha1:28ca1222d12643c08af2dbfa71df6cdbf9735742 - pristine_git_object: 3fd7670f684f094c25f21f520f5755759f1b9b7c + docs/Models/Components/BaseQuestion.md: + last_write_checksum: sha1:5dedfd58f205d07c9f375992124b1e21564e6245 + docs/Models/Components/BaseQuestionResponse.md: + last_write_checksum: sha1:2f0bcc99f8efa955802f11541abfc4dadf8b7ee8 docs/Models/Components/BasicAuthentication.md: id: 668cee2f6511 last_write_checksum: sha1:4f7d724c9dd7030b68dcc55e604ec89460bc7050 @@ -905,7 +827,7 @@ trackedFiles: last_write_checksum: sha1:d804ec34ea782770bf2d26f1a415534b01e45d5a pristine_git_object: 38573c95d84b2b4299aec8d72e28ef2be7da4087 docs/Models/Components/BidItemStatusType.md: - last_write_checksum: sha1:b673840e89e8c7ce5189961c918dcc4259ca60d2 + last_write_checksum: sha1:330ccea5b405c3f195cea6482612c21eebc57684 docs/Models/Components/BidStatusType.md: last_write_checksum: sha1:6664bbfe901b8a173246b28956df56c8f5e5d2a9 docs/Models/Components/BidStayType.md: @@ -986,6 +908,8 @@ trackedFiles: id: cf5d3c9603b5 last_write_checksum: sha1:0ab3e67ed8400e1ed72c14094dffcafaaf4576f2 pristine_git_object: 45b44801c56197b8329b97a0ec2bd67959aa56fa + docs/Models/Components/BudgetCategory.md: + last_write_checksum: sha1:9426343e3cf333fbbdd6e60d834a141611d42be0 docs/Models/Components/BudgetCategoryJson.md: id: 7e4f06139444 last_write_checksum: sha1:cbea31132c82cd12942efe873b777af2628ec378 @@ -998,26 +922,24 @@ trackedFiles: id: c6eeef6e8310 last_write_checksum: sha1:fee8e3aed224042d868aaca20abecda6c75b9cd4 pristine_git_object: 4e0e5ae0fa810eb1a703da8b0c9cd99723edc516 + docs/Models/Components/BudgetCostDetail.md: + last_write_checksum: sha1:176c89fa28759308db4f71d7a72b9102cc6a2bc0 docs/Models/Components/BudgetCostDetailJson.md: id: 141f429797f8 last_write_checksum: sha1:300012402a0a2cb97157c67445ec10f2c6813cf3 pristine_git_object: cafe3691e4b15db940bb6a6914dc5d92267dff29 - docs/Models/Components/BudgetCostDetailJson1.md: - id: dbe26fad1fed - last_write_checksum: sha1:174dac878923d3ec3654472b3316c9e5e90306c4 - pristine_git_object: 54b82c3061846fefbb7295dfc6dd03f21057056e docs/Models/Components/BudgetCostDetailJsonInput.md: id: e4141d56d142 last_write_checksum: sha1:08242e6dfa1cfbf53b4ce25740a639e9451a43e5 pristine_git_object: db063ddec178b65d4688a100002b5d61ec14365c + docs/Models/Components/BudgetCostType.md: + last_write_checksum: sha1:9fa77a2f7da35e6a6c94d50bc82c9734d45a79e6 docs/Models/Components/BudgetCostTypeJson.md: id: 4b4903a1542d last_write_checksum: sha1:c8b29daf326a2f2824da6b8783877f120246b719 pristine_git_object: 12bb3aeb15bac1abe1080e89876a31e1cf11d71c - docs/Models/Components/BudgetEstimateJson.md: - id: d6c8859a67c3 - last_write_checksum: sha1:9c0703750d0f070dcc86bd2212996d7550206a1b - pristine_git_object: 44eac809d62fe90bf2757947bfcdd70c309a53db + docs/Models/Components/BudgetEstimate.md: + last_write_checksum: sha1:f929ef11efba95b1af95238e9a58e041dd926667 docs/Models/Components/BudgetGratuityJson.md: id: fb201a4d82b3 last_write_checksum: sha1:a14bc62933f49abc3d77766ef637f3599a86e8e0 @@ -1074,6 +996,8 @@ trackedFiles: id: fe5dda81672c last_write_checksum: sha1:0a1a1943b4c40888277138edc66ce9a6a9d7c520 pristine_git_object: a2e2b1b047171f68dc94a4d03cc1156b50f82c4d + docs/Models/Components/BudgetSubCategory.md: + last_write_checksum: sha1:434829f56a9da1c0269c23b36ab4e10e953f4289 docs/Models/Components/BudgetSubCategoryJson.md: id: 98e4afdb0c25 last_write_checksum: sha1:d642de832378c5583b1961a9e8b3c1f6e9e9d1c2 @@ -1120,23 +1044,17 @@ trackedFiles: pristine_git_object: cf744f92559e7967e420e5490f07115179de3035 docs/Models/Components/BulkData.md: id: 6c84b85a8e35 - last_write_checksum: sha1:401e75df072f2799432648eb9ad8908c6b6abe30 + last_write_checksum: sha1:fc47823d3ff3e1641bc4d8c3b0924ba140fcea6d pristine_git_object: 9bd547ab196847e84f27068334edee9f419d5c63 docs/Models/Components/BulkDataProperty.md: id: bf43247a921a - last_write_checksum: sha1:d94de31e58e4af94104690fc578097bf651c0b89 + last_write_checksum: sha1:f362371a7e27b88dcc4248c5312a69abbf581556 pristine_git_object: 93018b98074a0d80655a2a8ae42009dd254cf07d - docs/Models/Components/BulkDataPropertyJson.md: - id: b8edb7d9f45e - last_write_checksum: sha1:d4d4eaf65ba7d26a7b10b6b51eed5079b3df4a59 - pristine_git_object: acec2d1b502c35f2f0e421593fb9d173242251cb - docs/Models/Components/BulkDataRecordJson.md: - id: 1ecae6401777 - last_write_checksum: sha1:7f1faea98564207f6232ebe9c20d818dd5f6e009 - pristine_git_object: 859ea840a34a6c16d97afe42c00c99ba689d831d + docs/Models/Components/BulkDataRecord.md: + last_write_checksum: sha1:76d5f988fafbfa35cd26361cdcbf365886dc326b docs/Models/Components/BulkDataUploadResponse.md: id: da7f10fed6f3 - last_write_checksum: sha1:6c9e7e95f85745be329c7afe802e838796fd9e49 + last_write_checksum: sha1:5965ee78f13d4da5ca72c7e24c5afa335953a838 pristine_git_object: f9e93aa9f4f322d12ab6396221d41e3ce94c05cf docs/Models/Components/BulkJob.md: id: f87af91d5a5c @@ -1152,11 +1070,11 @@ trackedFiles: pristine_git_object: 69dedb245a6f25cce6d6fbc654881482ec1fdfa7 docs/Models/Components/BulkJobWithData.md: id: b2dad2fda3c0 - last_write_checksum: sha1:f6ed016bab1417e4bc331433ec9009d214b151ed + last_write_checksum: sha1:97287a7e056b57244c09315ebddb6b304f4b004a pristine_git_object: 2d2fe65d804ea8044d00c9e5e5d0019005decd51 docs/Models/Components/BulkJobWithDataInput.md: id: a81bde3fca66 - last_write_checksum: sha1:5fdc576f34c4833d67a1830aa486d0119e14aa4d + last_write_checksum: sha1:c57bfad0774c3c07515d750e5fa7fd5c9e13261c pristine_git_object: f93c7530e8ccda04f239b0174a190055edb9b66c docs/Models/Components/BulkJobWithDataOperation.md: id: c0c475dcb668 @@ -1166,13 +1084,13 @@ trackedFiles: id: 837fcdd5033b last_write_checksum: sha1:c23d186a1aa78a70e039b89f44862455144b9ffe pristine_git_object: b0b7dbdbada379f3a17453feadeab69cbdeaf1cd - docs/Models/Components/BulkResultJson.md: - id: 6c1c176b5b3d - last_write_checksum: sha1:d4b16b42c32a97acea127587fb039e58a04e0d66 - pristine_git_object: 977bd952693d87bf77a0ac49081c446c7874d3e0 + docs/Models/Components/BulkResult.md: + last_write_checksum: sha1:f066ea88c9607699955e85926052abb33cf5458e + docs/Models/Components/BulkResultBulkDataProperty.md: + last_write_checksum: sha1:75182d7556010c35b785a1cee0357d14abe8c787 docs/Models/Components/BulkResultsPaginatedResponse.md: id: 66b9fe3205ca - last_write_checksum: sha1:880f876c1f7a78b69df2c61df907d7a12ddf85d6 + last_write_checksum: sha1:d489a8756d5aa6b0b26d755965604484cd92ec3a pristine_git_object: 5163c6806f30276eb6a04f3511c8fa215aebfbc6 docs/Models/Components/BusinessType.md: last_write_checksum: sha1:ba74c8675937e033d9c7f805ec76638d41895c12 @@ -1202,6 +1120,8 @@ trackedFiles: pristine_git_object: 48ed1cb480a2ba28110d10ab71f0e1fc0df1d12f docs/Models/Components/CancelledReason1.md: last_write_checksum: sha1:6f2d36c63d23d23e5d6f452a59af0ae35f2384f3 + docs/Models/Components/Capacities.md: + last_write_checksum: sha1:519bcf6b44b9fb77c20552d1488751add4690d0e docs/Models/Components/Capacity.md: last_write_checksum: sha1:06c2fe6b6d1b80f3929c0decfab0669906aa80a7 docs/Models/Components/CapacityJson.md: @@ -1249,7 +1169,7 @@ trackedFiles: last_write_checksum: sha1:eec1ffacc3772970576a0053f0038525dae224a2 pristine_git_object: 9d24262ec143c2464f69e1e79a5f10b0860f3a4d docs/Models/Components/CardTransactionJson.md: - last_write_checksum: sha1:a979387b903c25a30b17c3c5556860aba305464d + last_write_checksum: sha1:2e3c02b62eab83b0c383251a48792c50ad1bc10d docs/Models/Components/CardTransactionJsonBudgetItem.md: last_write_checksum: sha1:d90281b3fecafc97fb24fddf7757087eb1cae8f9 docs/Models/Components/CardTransactionJsonEvent.md: @@ -1290,6 +1210,8 @@ trackedFiles: id: 04b2270072e7 last_write_checksum: sha1:03cc5eadd9ae7b0b61fe5bd0bb83644e10aae8d9 pristine_git_object: ecbc4dfdb2b83b0c9dc4d54d7218a623903bea71 + docs/Models/Components/ChainScale.md: + last_write_checksum: sha1:8e753362f4972105a413b1d92446ff978dac4f7a docs/Models/Components/ChangePassword.md: id: 7f8ce01708b1 last_write_checksum: sha1:8dd5b455e6e5081d473551eb80ed30db00535e81 @@ -1370,10 +1292,8 @@ trackedFiles: last_write_checksum: sha1:ed1979655e12ba87345afb7297962059d10ec07f docs/Models/Components/ComplianceScope.md: last_write_checksum: sha1:745ebe0ecb4382b42159ec01fe3aac13442a0feb - docs/Models/Components/CompositeValueJson.md: - id: 84fe87e7ac46 - last_write_checksum: sha1:5ee3dc318c8201cbfaff56c18c9b3fb45a4dc1a9 - pristine_git_object: fd73c9a0f25f37442d584f4b02e1e23f850f71d9 + docs/Models/Components/CompositeValue.md: + last_write_checksum: sha1:15aa9287d07f73c5a02de6ba83a5ffa8d595bb8c docs/Models/Components/ConflictResolution.md: id: af1783aa736c last_write_checksum: sha1:e1dde65221945001b23f1b27911fb99da489c43a @@ -1398,10 +1318,6 @@ trackedFiles: last_write_checksum: sha1:748d188dbd0671629c6104f3c4d490f08df688a6 docs/Models/Components/ContactBulkResponseItemData.md: last_write_checksum: sha1:254d65dda9aebd5ed3534b920841027c1cc0f73a - docs/Models/Components/ContactCommonJson.md: - id: 5cff19f58fd4 - last_write_checksum: sha1:a3a10812ac81fdb562ab31d94694b397e75a2870 - pristine_git_object: 3abc5d0addb362aef18399222bb00224419e6140 docs/Models/Components/ContactCreate.md: last_write_checksum: sha1:42bec54c8ed518c76bffaa1d7af477905a4cf313 docs/Models/Components/ContactCreateEvent.md: @@ -1422,10 +1338,10 @@ trackedFiles: id: 0d161d548ffb last_write_checksum: sha1:249b148add02373c4ab8ab765892e4be6e68dcf0 pristine_git_object: b3a31b30e96092a404c32be64a88bde44c083243 - docs/Models/Components/ContactFields.md: - id: c892c80506f7 - last_write_checksum: sha1:8df7bfd90883946afb91772f518f0f82a6529302 - pristine_git_object: 2cb0858cd731cdc4786de456bbddf58b96ccddd8 + docs/Models/Components/ContactFields1.md: + last_write_checksum: sha1:b5d6afa72670e6401c9b4eddbea81387cfbec6e1 + docs/Models/Components/ContactFields2.md: + last_write_checksum: sha1:262c684924e27e2d22920c8dbd247651a5066958 docs/Models/Components/ContactFile.md: id: c995d5d3d70a last_write_checksum: sha1:7895b59067218ccc5cec554653e701c00e1cdc10 @@ -1526,6 +1442,8 @@ trackedFiles: id: 604df1d2db9e last_write_checksum: sha1:5f7dab854a9b7905e25d2c689cb388f334a43132 pristine_git_object: ff160872e733403f10d1f3d161261639b507669b + docs/Models/Components/Country.md: + last_write_checksum: sha1:3c16506506d28b9ee6374d499ec3b8933220f91c docs/Models/Components/CountryJson.md: id: bab1f2c22ac5 last_write_checksum: sha1:02a0cc6d9cb5e8e02ec2daafb8b5f4a3b6b330ad @@ -1592,6 +1510,8 @@ trackedFiles: id: 4ad0eb839d0b last_write_checksum: sha1:9b95b7f3bafb706216acd3904c2b25dbbff019f5 pristine_git_object: 22aac220827a43c77b585768c1c1005cdab2b763 + docs/Models/Components/Currency.md: + last_write_checksum: sha1:c571d62adfeea24ed8ee70c0ff9697f48dafcb19 docs/Models/Components/CurrencyConversionRate.md: id: 2d3278983977 last_write_checksum: sha1:ff53e1bdfdc2a92875d67c48533c3de4f3aa87dd @@ -1658,8 +1578,10 @@ trackedFiles: last_write_checksum: sha1:41b7510f6cb92015c3ce8e90efc25927f17540e6 docs/Models/Components/CustomFieldJsonCustomFieldType.md: last_write_checksum: sha1:c66807f58883288b73200099076edb186877acf5 - docs/Models/Components/CustomFieldSchema.md: - last_write_checksum: sha1:7c252dc6c764fad9a4102c49ffb9148ef874b35f + docs/Models/Components/CustomFieldSchema1.md: + last_write_checksum: sha1:32c26378ee55584f90218ddafcfaba7e15a181f0 + docs/Models/Components/CustomFieldSchema2.md: + last_write_checksum: sha1:165063c6c6fba3d66b672bd0ed2cb14dcc03a3f8 docs/Models/Components/CustomFieldSchemaCustomFieldType.md: last_write_checksum: sha1:fa9bae37ac2ed2d833c3aefc604450661c720fb0 docs/Models/Components/CustomFieldType2.md: @@ -1696,6 +1618,10 @@ trackedFiles: last_write_checksum: sha1:aafc558f288aafb9af585213a949f4abc6631b4a docs/Models/Components/DeviceType.md: last_write_checksum: sha1:a147ba37e1218e95cfc10ff6faa85cede884c71e + docs/Models/Components/Dimension.md: + last_write_checksum: sha1:f6246a0c4a44279a7e608d2cfa2af8a0f2019bdc + docs/Models/Components/DimensionUnit.md: + last_write_checksum: sha1:2b31bf62dbcfafcca163d8cb081792068cced55c docs/Models/Components/DiscountAgendaItemsPaginatedResponse.md: id: 68258fa9bccd last_write_checksum: sha1:e46aa1bcd675ac511b51b607c4db4834009b6ac6 @@ -1722,6 +1648,8 @@ trackedFiles: last_write_checksum: sha1:fb99e6c5512d65e0bb852f617824cd1fd2b22557 docs/Models/Components/DistanceJson.md: last_write_checksum: sha1:bb8bb0185e0918541c83df54a7a80bee247c3b07 + docs/Models/Components/DistanceMeasurementUnit.md: + last_write_checksum: sha1:1a3344b4f21df9f37e4406df2648bf1c75c8d7e0 docs/Models/Components/DistanceUnit.md: id: d9e56675a811 last_write_checksum: sha1:adb5634e902825992eaf475a959f174924d65c09 @@ -1766,7 +1694,7 @@ trackedFiles: last_write_checksum: sha1:0bb45042a86783b8c93e177fa31334604c47922a docs/Models/Components/EmailBounced.md: id: b749523071db - last_write_checksum: sha1:3e3b189a4734d29e35dd11179c41bafb639dbe66 + last_write_checksum: sha1:69a1fee62a36fb73e9501acd53bf76238ccdd647 pristine_git_object: f3b4ec4a2896653b35f6e56be8f54fc5e7f261bd docs/Models/Components/EmailClicked.md: id: 9029ca58481e @@ -1834,14 +1762,14 @@ trackedFiles: last_write_checksum: sha1:76a074ee698671d8a7a5802a163b9cbf72c42e51 docs/Models/Components/EmailUndelivered.md: id: f262524bb67d - last_write_checksum: sha1:baca9b6800b8da307ddbcea0773b25a0501056a6 + last_write_checksum: sha1:78a80dfdb0f38f44cb16625b7b8c65da999220ad pristine_git_object: 230536eb0a4fab7644525b98873b39896ee86193 docs/Models/Components/EncodingProfile.md: 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 + last_write_checksum: sha1:e14daf69b485e94652f38c71f6a6ddec105798a5 docs/Models/Components/ErrorResponse1.md: last_write_checksum: sha1:893316ee04b254020ebddab3d743efa467e1f969 docs/Models/Components/ErrorResponseBase.md: @@ -1868,21 +1796,17 @@ trackedFiles: last_write_checksum: sha1:5d769fb695c55c8356dd84e018ea4c0ef642ee68 docs/Models/Components/Event3.md: last_write_checksum: sha1:a63c4fa6d2556b16fa2e1361016cf194da0545ac - docs/Models/Components/EventActivityDetailsJson.md: - id: 6d1cce021ecb - last_write_checksum: sha1:6e741062c39cd74b6db884e0e473b2f51d15df3b - pristine_git_object: 2ddfcd9b47306281f1d402474391bcd88e49e9ed - docs/Models/Components/EventActivityDetailsJsonInput.md: - id: 862f2e247a1f - last_write_checksum: sha1:fce187fc6549698fe8618a23dcb6fbaacf6f3b97 - pristine_git_object: 49493a1a9d8f94cae5c151c045d02288fba0955a + docs/Models/Components/EventActivityDetail.md: + last_write_checksum: sha1:cb6efc5833123c2fb65119b2ffe845decaf447d3 + docs/Models/Components/EventActivityDetailInput.md: + last_write_checksum: sha1:d4d99beb6793571c1cbcf4580a044ba9dca16f8b docs/Models/Components/EventAdClicked.md: id: baaa948f16e6 - last_write_checksum: sha1:28a5497ba98354ebc574f2cfb6bed6797bae1e4e + last_write_checksum: sha1:bc40f5573b22d8d28eb7d146b27fb819f3c7e292 pristine_git_object: 54c6c2621466a5bd7d5c731875147b3f107852fa docs/Models/Components/EventAdViewed.md: id: db750561f142 - last_write_checksum: sha1:5158fabe8eafa0ce01c438761064e74a365ecdf5 + last_write_checksum: sha1:ae72b466cd040b1ed6f6c9edbae152edf4981b74 pristine_git_object: 2206ffbf7c6c0c34b177217be325c4808511ad79 docs/Models/Components/EventAsyncResponse.md: id: 1698ca4ed209 @@ -1910,11 +1834,13 @@ trackedFiles: pristine_git_object: ab15f9cd75105fcd7df6671195a50bde6794529a docs/Models/Components/EventAttendeeSubstituted.md: id: aad0ae5cb1f2 - last_write_checksum: sha1:f7fe96511d32c057b35753f0b8158160add530c2 + last_write_checksum: sha1:1e60511059aed4077464277dc597f8920506631f pristine_git_object: 4345c4093e91beef9c3659f557aa062a80a27d25 + docs/Models/Components/EventAttendeeSubstitutedEvent.md: + last_write_checksum: sha1:d657c1de2d0af3f822041f6fa078a1c8d5444327 docs/Models/Components/EventBannerLinkClicked.md: id: 33fd1f9bff11 - last_write_checksum: sha1:a9718408e9221ec23d09f7586eeb2b327d1ac574 + last_write_checksum: sha1:067fc6f704373e4858fe0abd69e54257857f4e53 pristine_git_object: 0701f459a0f9f8162976568b726ba1130c2a6a85 docs/Models/Components/EventBudgetCostDetailJson.md: id: 868cf164bc6a @@ -1934,11 +1860,11 @@ trackedFiles: pristine_git_object: 688984b3d3d6669af80ebc672e7383ce5bda4017 docs/Models/Components/EventCheckedIn.md: id: 5bb992e91d25 - last_write_checksum: sha1:efdded41346b1b4dafdcae6fa4139b4712a6fa12 + last_write_checksum: sha1:e9366ce11f4ac8360408538ca6cd5abeb25a9240 pristine_git_object: f26de13b42bf445a5ee19debae1fb3329468c3ef docs/Models/Components/EventCheckedOut.md: id: 978361e03ffc - last_write_checksum: sha1:05663ac0a4f211590cc1bfad141c73e336c5a9b8 + last_write_checksum: sha1:818b202abc9b5b2908d0ac4880c115386499ae58 pristine_git_object: 99f12f1ed21a762474acde6545763e5120be9aef docs/Models/Components/EventContactId.md: last_write_checksum: sha1:642ef022ca7316bc40d48bb5f118f3ac2648ca41 @@ -1988,8 +1914,10 @@ trackedFiles: pristine_git_object: d35cb83b513aa131da191ffc37d8f25d02411ce5 docs/Models/Components/EventFeedbackSubmitted.md: id: ad357f2bb451 - last_write_checksum: sha1:9641d62b93ce454c5912fae174a91bf89c98afaf + last_write_checksum: sha1:ea39ae55e8c5171b08401b4e0cab3c23d9b37eaa pristine_git_object: a2b6068cdd104a13694b671928be987bb7b8c90c + docs/Models/Components/EventFeedbackSubmittedEvent.md: + last_write_checksum: sha1:a3b26ce233f92231f01a452b88426b285732b340 docs/Models/Components/EventFormatJson.md: id: 07a87fd92664 last_write_checksum: sha1:7ed8fba6f39d046bbfd1f7efc544cf199cb72671 @@ -2002,6 +1930,8 @@ trackedFiles: id: 786ba880c24a last_write_checksum: sha1:a0ac32c130e90c9df189e79b7dcc26c68de2984e pristine_git_object: 8e06f2783f97a7acc147ccd28a966872c0e4ff9d + docs/Models/Components/EventInsurance.md: + last_write_checksum: sha1:c5b660bbb4efd182e77db5769f3f98e46e93c529 docs/Models/Components/EventJson.md: last_write_checksum: sha1:fda4c9ab969b75f5fba39c374b9762f683049bd1 docs/Models/Components/EventJson1.md: @@ -2024,14 +1954,16 @@ trackedFiles: pristine_git_object: b7d0380caeabe1086d994bf2e07dd3b23d54bba1 docs/Models/Components/EventNoShow.md: id: 7450197827ad - last_write_checksum: sha1:7723106852dc4a9c80b90ebf4ddc4832220e3881 + last_write_checksum: sha1:8bc3820da7a8cad6a4c684621c86bca5def7b8f6 pristine_git_object: 1c367d0113ed6863ddf0e0c179f8bd0581a3985d docs/Models/Components/EventOrganization1.md: last_write_checksum: sha1:2d2fccfc8aab622d55ef7fdcd5abe2aa3355d28f docs/Models/Components/EventPageVisitTracked.md: id: f3dd2583d7c4 - last_write_checksum: sha1:c04ed05fe26be82f9f8d23386fc4b78e63512762 + last_write_checksum: sha1:ae225444b0e0ca62758e26be430b9e0c6befb69b pristine_git_object: a2e95830ba3bb8ba52a9fee06a166c40e5858cce + docs/Models/Components/EventPageVisitTrackedEvent.md: + last_write_checksum: sha1:aeba252bbc0452d24c49a49ec3de506708de3bfe docs/Models/Components/EventPaginatedResponse.md: id: e4fd6a76c0e4 last_write_checksum: sha1:5ab078057e318fe87e5958c8316a7f61efa4ad37 @@ -2044,7 +1976,7 @@ trackedFiles: pristine_git_object: c8d3c04230adb6cb27f82a172e723d9ccd6d17f3 docs/Models/Components/EventQuestionJson.md: id: "065801763220" - last_write_checksum: sha1:11dcc60104d09b8fbd68083c73386012e875acd8 + last_write_checksum: sha1:9239b18d1ef007caa8a69ebb4927b11b2a052c23 pristine_git_object: bd5163402309fe87562fde33dc069f7c43439d47 docs/Models/Components/EventQuestionJsonAdmissionItem.md: id: 1f90abc22de8 @@ -2060,40 +1992,34 @@ trackedFiles: pristine_git_object: 71b41d73a20a8929957d23936f642afd16459972 docs/Models/Components/EventRegistered.md: id: 8bfef5a7c9fa - last_write_checksum: sha1:cf5461ab3880593d8e32eebc93021ccf98c34c10 + last_write_checksum: sha1:1e369e9829941365d66c3ed1a9c288d5e10ee4f4 pristine_git_object: b7f2a12fb06bb61c28bcd6fed04fd15e6197b89f docs/Models/Components/EventRegistrationAbandoned.md: id: d744e18da2ce - last_write_checksum: sha1:027594fa6f5fad801403809ce831ab799526dad1 + last_write_checksum: sha1:3ef8aa38856b694ff9f64d1a3e236b4166ae90a3 pristine_git_object: d0653260c93436e90a3db3d341286efc322ec76e + docs/Models/Components/EventRegistrationAbandonedActivityContact.md: + last_write_checksum: sha1:03753c8ae2d45f33e5725aad6f613eeb5845cca6 docs/Models/Components/EventRegistrationCancelled.md: id: bd44b9d91dce - last_write_checksum: sha1:f71c6e68d0ba54fa4f544ea48ab7f162c3cd0722 + last_write_checksum: sha1:f797c4534889ce163a995e434f8e899b653bdd62 pristine_git_object: 062491620e5598b75c71c2f43c63de6d36e0579e - docs/Models/Components/EventRoleAssignmentJson.md: - id: 9fc4bc3037bf - last_write_checksum: sha1:a84e897c066cfe385635c534b098361d2e98738d - pristine_git_object: 5d90a5a1a7c66b254ae14a08e95843393b968b1e - docs/Models/Components/EventRoleAssignmentJsonEvent.md: - id: ddfb136bc125 - last_write_checksum: sha1:ec8166ae57a2efbabacaf429c1ebe685dd380e2c - pristine_git_object: 236da7d0f5d5c4a1b47af9719b0163752a5df5d5 - docs/Models/Components/EventRoleAssignmentJsonUser.md: - id: 2c2cbe9775e2 - last_write_checksum: sha1:3f726666e6bc6fea22fb9704a55572c353d41020 - pristine_git_object: ae2a18d9a97b10a3ebb409e09514ba71b54e6204 + docs/Models/Components/EventRole.md: + last_write_checksum: sha1:3f7492d493f6dde0f8a9932f51cfcd9227a3b32a + docs/Models/Components/EventRoleAssignment.md: + last_write_checksum: sha1:25fc76d29b08948e86cf0994ee0f0c838aa3057d + docs/Models/Components/EventRoleAssignmentEvent.md: + last_write_checksum: sha1:fac7091fbfdcfccd6749f96c0d01bd984bfeea40 + docs/Models/Components/EventRoleAssignmentUser.md: + last_write_checksum: sha1:465ab9ccef8ed684583846dde2d20aff2f69c953 docs/Models/Components/EventRoleAssignmentsPaginatedResponse.md: id: f86f8934bcc5 - last_write_checksum: sha1:38b1c82eff2c6d5f7106221cec6ed9e7c79c06c4 + last_write_checksum: sha1:e9bec0e199e73b5d6e79e9d8cc70fb4af2dc0380 pristine_git_object: 05e544e271782b51460f953c3db59ef68b55616c docs/Models/Components/EventRoleExpand.md: id: 5370081c5380 last_write_checksum: sha1:3c5d6d44575108c403a4ad98d9eea47c170d5809 pristine_git_object: f96d3320dcf821d9d9ce59236eab048324a3c475 - docs/Models/Components/EventRoleJson.md: - id: f2b7f0efd13d - last_write_checksum: sha1:9c1aca419df0080166b955b3382b8cf55b467318 - pristine_git_object: 52f3e63ff41c09c8a3043614cc8a4e429218321c docs/Models/Components/EventSecurityLevelJson.md: id: 4a98faba6a4e last_write_checksum: sha1:1f0f1e8581400fcee192e829ae477878be925c64 @@ -2120,7 +2046,7 @@ trackedFiles: pristine_git_object: c808fabcb046c9d95bf4879ed8a8df8af5ec3143 docs/Models/Components/EventSurveyQuestionJson.md: id: 8b4fdeb88172 - last_write_checksum: sha1:8d21e25e4a1390642a2786560b8bd10434a04bfd + last_write_checksum: sha1:f55b2709b596546f6adf3d98842fa87ca662446f pristine_git_object: 7eaad50803b3d6fd1521b3f409d8898f7ab0f870 docs/Models/Components/EventSurveyQuestionsPaginatedResponse.md: id: 3afea1410f20 @@ -2200,7 +2126,7 @@ trackedFiles: pristine_git_object: 058244c3852acb34a78c3fa76b1356ed3d91b4aa docs/Models/Components/EventWaitlisted.md: id: 52e0680217b1 - last_write_checksum: sha1:88b9b640cd4f14d585f34e99eaa7ea3588669231 + last_write_checksum: sha1:0e7c931618e7c2bd3d737f828d2816adcbaeac2f pristine_git_object: 043e40a3b7562a464628ef05a40f6207e18fd604 docs/Models/Components/EventWeblinkJson.md: id: 78704859c92c @@ -2212,8 +2138,12 @@ trackedFiles: pristine_git_object: 5d4473d5089601f6fd2116f8b75451a4268a860d docs/Models/Components/EventWeblinksPaginatedResponsePaging.md: last_write_checksum: sha1:1f079516cf66040e0d5ba81323ba876025565a4e + docs/Models/Components/ExhibitLayoutType.md: + last_write_checksum: sha1:3d0909ba8e41a62ddefaafebd420606feee23e0f docs/Models/Components/Exhibitor.md: last_write_checksum: sha1:2d2c6c1adef46dd1d02608408f8a2c1d4fb70522 + docs/Models/Components/Exhibitor1.md: + last_write_checksum: sha1:abacdd2a16ff342c821a58172e958d23b9f34179 docs/Models/Components/ExhibitorAdminRequest.md: id: e815ec1dfd5b last_write_checksum: sha1:9d454755c453ad4819d2f402fea0da87e31fd0c1 @@ -2282,7 +2212,7 @@ trackedFiles: pristine_git_object: 97aa94fdccb4550897ddb0cedbf073bba70774ae docs/Models/Components/ExhibitorDocumentOpened.md: id: c48ba8bda437 - last_write_checksum: sha1:3d917672d79eff5b3eb88ae92fd68e336f087517 + last_write_checksum: sha1:682f5ddb225af03f8cf022bdb0fce3e5377cde1c pristine_git_object: 136c8160e5e503d261a4c2d19ed6a2511b9d3e7d docs/Models/Components/ExhibitorId.md: last_write_checksum: sha1:64b535705c23df5dc4ca43d3b834921523c1380b @@ -2290,10 +2220,6 @@ trackedFiles: id: 0841250061c3 last_write_checksum: sha1:ba1e985a407e8b85a9e23bfc311c2c5646d0245c pristine_git_object: 27170978c1ccefd7523f14e443f3e33504e0612f - docs/Models/Components/ExhibitorJson.md: - id: b91d8d82e546 - last_write_checksum: sha1:7189f71007e7544d3a3fe08b0fa4a9db028bb457 - pristine_git_object: 3e68a67609063aa93af3ed28e30afc79ba6dd2be docs/Models/Components/ExhibitorQuestionType.md: last_write_checksum: sha1:8202aa1a77af6b6a2e0e88e0e5f54b6f43b5862a docs/Models/Components/ExhibitorQuestionsResponse.md: @@ -2314,19 +2240,19 @@ trackedFiles: pristine_git_object: d3bfeb7494fa9d3673844926e7a2f1a456639187 docs/Models/Components/ExhibitorSocialLinkOpened.md: id: c4a7a3dac67f - last_write_checksum: sha1:cd122b53af2b298bc7a9ea162c1cdd43b144a564 + last_write_checksum: sha1:44fa25fd165ee6477edb04445c4e3c804272c728 pristine_git_object: fc97960662df5d8a5ebcdc3f566f1b9258ad080c docs/Models/Components/ExhibitorViewed.md: id: 4c2a8c8b1c76 - last_write_checksum: sha1:b4efca2bdcaa31a59d1b628b5afa092919358ec8 + last_write_checksum: sha1:2cffd7a04d15c38660d8fda04d09aee70886f5bb pristine_git_object: fabe8dcba8f52451aa94249492504aa156dbe5ce docs/Models/Components/ExhibitorVirtualBoothJoined.md: id: b7c11ca6a175 - last_write_checksum: sha1:894a121b9c219ca4cb9158c7e3d897882883e0a7 + last_write_checksum: sha1:e0438448d5234ca0a3e9d1e8c1010767a9a3a451 pristine_git_object: 06e91e228d35609a5ce7af382301af2e1b22fcd0 docs/Models/Components/ExhibitorWeblinkOpened.md: id: e177e8aa8ef2 - last_write_checksum: sha1:808fca98d8844bd9c77d08e1b97ee498015bf281 + last_write_checksum: sha1:4acc82d983c0e246da17509489ce6ecff8d42ecb pristine_git_object: afe1339e158c64a8407a4f26a57c69c2d58adbdc docs/Models/Components/ExhibitorsEventCopyOverride.md: id: 794fb4405583 @@ -2413,9 +2339,9 @@ trackedFiles: docs/Models/Components/ExistingELiteratureRequestDataForLead.md: last_write_checksum: sha1:c2ecf3f359f17ad7df2ba6003ee6350fd5cf3d23 docs/Models/Components/ExistingExhibitorAnswer.md: - last_write_checksum: sha1:eaa4971d7b051d11b63a720b5e07a923c48d6f1f + last_write_checksum: sha1:458c5865c335b6b730a5c94dbe54962bcbe418ee docs/Models/Components/ExistingExhibitorAnswerInput.md: - last_write_checksum: sha1:30d9c1d848ecf30e3a60fc5a77dee17db39b219d + last_write_checksum: sha1:fee8b83f043883a7ffc75bd99d6681c0463a0609 docs/Models/Components/ExistingExhibitorQuestion.md: id: 4c90a240a21f last_write_checksum: sha1:ec81f677196659e93177fe458f09f395abfc30a1 @@ -2426,8 +2352,16 @@ trackedFiles: pristine_git_object: c1db46c47bf395113dfc22abb12c7111802229e9 docs/Models/Components/ExistingHub.md: id: 4c2abd932332 - last_write_checksum: sha1:7ae2aa72b5a4a02315f3e4080b71300e3b5ea11d + last_write_checksum: sha1:cc98d80e210580d291c427deb38b14507751af53 pristine_git_object: 68f40c6d91b51cd2806664f3a5abd996cc751646 + docs/Models/Components/ExistingMeetingRoom.md: + last_write_checksum: sha1:3950c54762998d10f07aa3730348b9d4e15dd265 + docs/Models/Components/ExistingMeetingRoomDimensions.md: + last_write_checksum: sha1:276000a22e8037099ed97025fa49ff466a82e2cf + docs/Models/Components/ExistingMeetingRoomInput.md: + last_write_checksum: sha1:3b032a43aaaf6d0c64f7f0a42df747303961437d + docs/Models/Components/ExistingMeetingRoomRates.md: + last_write_checksum: sha1:8a6252503ae2b63432ba02fdc3d65f7c49eec531 docs/Models/Components/ExistingMember.md: last_write_checksum: sha1:fd87207a9c2960b7304c47992843360aad1ce3e1 docs/Models/Components/ExistingMemberLink.md: @@ -2504,6 +2438,26 @@ trackedFiles: id: fd9778f44795 last_write_checksum: sha1:9f32df0e958f347dcce6c18f739e3016a54119a2 pristine_git_object: c88c5713511a1f916274938bbc19516ebc9b173f + docs/Models/Components/ExistingVenueDetails.md: + last_write_checksum: sha1:ba4286d1c53bed9b00b165009f025cabba084640 + docs/Models/Components/ExistingVenueDetailsInput.md: + last_write_checksum: sha1:574a8b778c682a26a1337508a1865b0147a1e6fc + docs/Models/Components/ExistingVenueFacility.md: + last_write_checksum: sha1:4331b77d3dcf2c9397aed302a4c2ee5d62c9356a + docs/Models/Components/ExistingVenueFacilityDoubleRate.md: + last_write_checksum: sha1:3c8213a6741f9ac71c6edc939387bdb358cbbd16 + docs/Models/Components/ExistingVenueFacilityInput.md: + last_write_checksum: sha1:12d5d13e9837ca4eb9abe4340faa74969a0c7637 + docs/Models/Components/ExistingVenueFacilityMaximumCapacity.md: + last_write_checksum: sha1:8d8724c2ff8a148dd1a96d684c618a026fd29d55 + docs/Models/Components/ExistingVenueFacilityProximityFromAirport.md: + last_write_checksum: sha1:6c5d03eb64cc35a3c74c8288c2db0b4b70c8cb45 + docs/Models/Components/ExistingVenueFacilitySingleRate.md: + last_write_checksum: sha1:0c90b69ffbe8a2fcb54c847f99db018d2e8c9b3c + docs/Models/Components/ExistingVenueFacilitySleeping.md: + last_write_checksum: sha1:10c8dd3083ef501402c36462921a90ff64d15862 + docs/Models/Components/ExistingVenueFacilitySpace.md: + last_write_checksum: sha1:d1f336520c57c56d9f46654ca0630ae32219f1f9 docs/Models/Components/ExistingVideoResponse.md: id: 25f8deb6eac2 last_write_checksum: sha1:b9bac09e3978f20ac57ec27aac425eff71cfa24e @@ -2574,54 +2528,40 @@ trackedFiles: id: 838ca073650d last_write_checksum: sha1:94ee792acf3fb6d726f0dbaf6b4d0f0682423abf pristine_git_object: 716c2bad8a5b01a5d5a2053e93fc4a5cb4a8de83 - docs/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.md: - id: 130359b72f88 - last_write_checksum: sha1:c7d4c5702c4e4ac4e094b3f7c14170f6581365a0 - pristine_git_object: 56bdb688288e67630ae5e3e36d99d09f7866270e docs/Models/Components/ExternalActivity.md: id: c8821fbd2fc8 - last_write_checksum: sha1:98f77321ed664ac35a6aa6aa3a9de37ec3a218c1 + last_write_checksum: sha1:5b187e1d1a0642c135057b078ab60a55f1cfdc33 pristine_git_object: 1d7b0f1873e3118729d4b72c5e754c8c086ad6a0 - docs/Models/Components/ExternalActivityDataJson.md: - id: 1f5dca2f5a33 - last_write_checksum: sha1:43acf3097bde72322456419b104a4f1c441dfff3 - pristine_git_object: e7e0a0f5998779d8399818d1b207d90dc75eba4d - docs/Models/Components/ExternalActivityDataJsonAppointmentExternal.md: - id: 678ad5ed287c - last_write_checksum: sha1:a70c3a6ff2eae0b927068108c1abaa679c7ee3c9 - pristine_git_object: a673739003cb7eab43a56ccaa14cf7cf61b0851a - docs/Models/Components/ExternalActivityDataJsonEventExternal.md: - id: 283e4e807979 - last_write_checksum: sha1:ab80830b45f2897e410f8a1215fd925f3b3fc2a8 - pristine_git_object: 05507c5a28760bb4a993a781809d01db62a53584 - docs/Models/Components/ExternalActivityDataJsonExhibitorExternal.md: - id: 5673832141d5 - last_write_checksum: sha1:11b7956f0dee324a19c1324bd624b3bcdb68b27c - pristine_git_object: 6b3dd28066d0d68b6cf92dcd086d27a0dffc5ac5 - docs/Models/Components/ExternalActivityDataJsonSessionExternal.md: - id: 6087ee5cecca - last_write_checksum: sha1:d360b1899922b19234c94a2b3e2de93ccbeb6466 - pristine_git_object: 52be0cb6fbf160c0081fff684cc6d7f64b6df226 + docs/Models/Components/ExternalActivityAdditionalFieldsMetadata.md: + last_write_checksum: sha1:082b316c2384ea8d4c67e06924eafe242d769da8 + docs/Models/Components/ExternalActivityData.md: + last_write_checksum: sha1:853c2c49a81490c609f6537f507cc87076b7ceed + docs/Models/Components/ExternalActivityDataAppointmentExternal.md: + last_write_checksum: sha1:eca0c24cb8d3f2fd7ff4f2d22d11bb074c52f541 + docs/Models/Components/ExternalActivityDataEventExternal.md: + last_write_checksum: sha1:ef3ccc2dec29cead96a84217b7e71b73add9e0dc + docs/Models/Components/ExternalActivityDataExhibitorExternal.md: + last_write_checksum: sha1:877ca45e8ee331fc55247392bdd8d11299f55868 + docs/Models/Components/ExternalActivityDataSessionExternal.md: + last_write_checksum: sha1:4bd0571baa74301d43caacc65ea3e89361c9ae8e docs/Models/Components/ExternalActivityInput.md: id: 68da70ed4a9a - last_write_checksum: sha1:e6477d0e9cf5ecc75b96a16665813ea5566f75e2 + last_write_checksum: sha1:c5efce6a0109b5a25b810d68993242e53e91b14e pristine_git_object: 472ee0bdfe12a48cecfefd04e27e411a052966d6 docs/Models/Components/ExternalActivityMetadata.md: id: 55291b8c5de5 - last_write_checksum: sha1:f4c5b17754107f13e04ebc5b3f4375b284da8ecd + last_write_checksum: sha1:26db8bd6cbf11e7cb64ee6e10e6a7570d32b8ac7 pristine_git_object: 63917470f943b80efaf88bfc45c997dd238107e5 docs/Models/Components/ExternalActivityMetadataInput.md: id: aa447f04604c - last_write_checksum: sha1:d3aea3cd3935e952340ecccc1e6095d42a409f45 + last_write_checksum: sha1:f23b0a348835ac7eee2bc4d813add6cc84fbb868 pristine_git_object: 1a4092d30b96e07b231a23e6e2d60741119b8bca docs/Models/Components/ExternalActivityMetadataPaginatedResponse.md: id: 1663f4044de8 - last_write_checksum: sha1:7c042df45854d3606edfb108f4e94a81462aff32 + last_write_checksum: sha1:dc308fb89d394db9a0ae41fe9038045a5dee4e9c pristine_git_object: 1a19804fbb154fdadc679fef2ab6cbf70f21db55 - docs/Models/Components/ExternalActivityTypeJson.md: - id: db268186a0f5 - last_write_checksum: sha1:6bb00073f70259c6652bc8c652734b78aeea8cac - pristine_git_object: 37e550ea1464e968047e62696984ef8b31a21846 + docs/Models/Components/ExternalActivityType.md: + last_write_checksum: sha1:be5c5d2f754341ca8aacebb296d89623d94b9091 docs/Models/Components/ExternalCodeTypeJson.md: id: a2815ce418cb last_write_checksum: sha1:36e197fb7335988f6bf9cf99d426048543f69f22 @@ -2836,7 +2776,7 @@ trackedFiles: pristine_git_object: 80edd94438cbde9ad187ddd68754ca78d74c3a39 docs/Models/Components/HousingEventSummaryList.md: id: ffba20cda426 - last_write_checksum: sha1:8655f481971cd005286323b08124f5e426f37ccf + last_write_checksum: sha1:3945be662f572a42995ba8ec0a237e52d477c63f pristine_git_object: 9a64dd1dd40e12076aa8be2a5d0862f1d62b2a52 docs/Models/Components/HousingReservation.md: last_write_checksum: sha1:67e06e4503dcf2ee47e9c6fdb332eacc5185d408 @@ -2944,12 +2884,12 @@ trackedFiles: last_write_checksum: sha1:7e6e9da579275a0531131cc6ba3c8a7049a5b75a docs/Models/Components/LeadInboundCreated.md: id: 886b965c2894 - last_write_checksum: sha1:83f5e6db315179f3f85c3e84de06db705c1332f9 + last_write_checksum: sha1:58fdc2d170f5e24338764d6e5316db1b97c0c4dd pristine_git_object: 5159cab5e0002d214c10e486e434811d134d2cfa - docs/Models/Components/LeadObjectJson.md: - id: 6bfe8614dec3 - last_write_checksum: sha1:dba12fa517a1c3d7d8f07f7659abe2c3c79c52c4 - pristine_git_object: 7585072c57a7e779d34132ebe2be65f333eba454 + docs/Models/Components/LeadObject.md: + last_write_checksum: sha1:ed4ed03366a3a71e1a690be7d8a11e2ddce50432 + docs/Models/Components/LeadObjectActivityBoothStaff.md: + last_write_checksum: sha1:60f561025d0eaf58d8a40eadc7c7deb64460a782 docs/Models/Components/LeadQualificationAnswers.md: last_write_checksum: sha1:d016829eb75cd802686df0f4ba794118fc843b2a docs/Models/Components/LeadQualificationAnswersListResponse.md: @@ -2966,19 +2906,15 @@ trackedFiles: pristine_git_object: 3856014528aa2df32224c96127ccc11659dc3a3c docs/Models/Components/LeadQualified.md: id: eac798c68875 - last_write_checksum: sha1:6ef994b803159bf36d7998c9c6380fe8196384da + last_write_checksum: sha1:7c8166cadcfbf8e1a3a1854a1834c6c17a64c745 pristine_git_object: 2f81e0237a4e7ea2483c9727eafe52e1d95122d4 - docs/Models/Components/LeadQualifiedAnswerJson.md: - id: c3166a3fb8d5 - last_write_checksum: sha1:c63f518de7f294f92f8cc2823794e83dd2dd96ea - pristine_git_object: 316ae09c8dd9c1947c5c309266111c802776bec2 - docs/Models/Components/LeadQualifiedQuestionResponseJson.md: - id: 264037047ce3 - last_write_checksum: sha1:ac87713012c99ff0e0a9b3c9a870f50eb33a9803 - pristine_git_object: 4d98b8c8b75ad23488675c4e3847b6305f6f4d5d + docs/Models/Components/LeadQualifiedAnswer.md: + last_write_checksum: sha1:87984f1b2a13a1c517553176877b1272892b1497 + docs/Models/Components/LeadQualifiedQuestionResponse.md: + last_write_checksum: sha1:25d0b2bb27893d0d3b8ea0f3ebfe45d1e1ade3d4 docs/Models/Components/LeadScanned.md: id: 0b2b908bf016 - last_write_checksum: sha1:858894f6d4409b39e6d00cbafae9e1ed79996e56 + last_write_checksum: sha1:d46719fdf2ce9a8bc39200a0f8199c3c397a8871 pristine_git_object: b40c2664cc2919ccc8714e1aed884a47c9b1ebec docs/Models/Components/LeadSource.md: last_write_checksum: sha1:ad467070dd5597ae40d3f2b3466d9f652b1a294c @@ -3028,8 +2964,10 @@ trackedFiles: last_write_checksum: sha1:cc5b4c19619e02d7c7579fa7f9a1e6e2c763914b docs/Models/Components/LocationJson.md: id: 005bba86865d - last_write_checksum: sha1:75b83c1fd83c9ee3cd927ae8ec948a284fbccab1 + last_write_checksum: sha1:007ba5ba36ff08da2fbe3c8669f1a5a00ff79c3e pristine_git_object: ee636e007e555b3a9174b4fd2bd82dbb91594caa + docs/Models/Components/LocationType.md: + last_write_checksum: sha1:ae7016800c908b781c47165b18e350b39c3a594f docs/Models/Components/LocationsPaginatedResponse.md: id: a4b30504a989 last_write_checksum: sha1:fb195332e2b7b748f35524d4e15adaf418a1a304 @@ -3050,55 +2988,35 @@ trackedFiles: last_write_checksum: sha1:142db0bdfef9f0fe378bf02aebb17332b5e2d4b6 docs/Models/Components/MeetingRequest.md: id: 34f3430e06c3 - last_write_checksum: sha1:d05dad1e8fa2a8134c32e5cd0dfda1818f157bd7 + last_write_checksum: sha1:b2eb0fa3fac79ecab3195d5f99b23dc2d7fe357e pristine_git_object: dfbd0096e99851fd003e6c447e5676a61f5e5195 - docs/Models/Components/MeetingRequestBulkResponseItemJson.md: - id: 26093b41a4c3 - last_write_checksum: sha1:260058b32d3310f85bae501fd750ce83f862eaff - pristine_git_object: 8337dd2a4e0a21c41aa8eb621a0b96b21284298b - docs/Models/Components/MeetingRequestBulkResponseItemJsonRequest.md: - id: f0eed1270a24 - last_write_checksum: sha1:3d209b585ca7a5ad3eadedcf53c279659f06156f - pristine_git_object: c040bcfd7caa03f362458403ad4c600d86f085b7 - docs/Models/Components/MeetingRequestCreateJson.md: - id: 1b25926601e6 - last_write_checksum: sha1:83b19bd64ff1633724b568083df8b6f32916e9b5 - pristine_git_object: 70e1a3e3a559295d3f29ebcf5ae87596649a94e0 - docs/Models/Components/MeetingRequestCustomFieldJson.md: - id: a7562ea14dc1 - last_write_checksum: sha1:d5ca61e65b51f34940a16006dd7f957059ea0e8b - pristine_git_object: b74ab8a4a66d4fd62506912907434dd73358482c - docs/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.md: - id: 0992a4b10910 - last_write_checksum: sha1:c7f1f3daabc30da0d57025e99daf8661e42bdac1 - pristine_git_object: b56ab143efe238f262ba2c554abc1775891bfff0 - docs/Models/Components/MeetingRequestDocumentJson.md: - id: c38c4917e80b - last_write_checksum: sha1:1f027d9e6a8bab4deac08a0d25fb01c0ae1da3df - pristine_git_object: 2a27229dc033b0e04d70889a987cfb3279327ee8 - docs/Models/Components/MeetingRequestDocumentJsonMeetingRequest.md: - id: 53a5793d93ea - last_write_checksum: sha1:000eab69af18df2643e5f0dd67b98cd9d1a0e47f - pristine_git_object: 237b3c03a612230b3e4de88597c0350a57da5bd7 + docs/Models/Components/MeetingRequestBulkResponseItem.md: + last_write_checksum: sha1:5d9f4ba2a2c5e9410545a9f33adcc3eda097924a + docs/Models/Components/MeetingRequestBulkResponseItemRequest.md: + last_write_checksum: sha1:b79271a9d1180fe3f9a807ceef325d2dc22def53 + docs/Models/Components/MeetingRequestCreate.md: + last_write_checksum: sha1:c12627a08c32c5fa6b669cba2a21cd53eb7dd570 + docs/Models/Components/MeetingRequestDocument.md: + last_write_checksum: sha1:2f8f805e67972f7d0c0b3fb4a56ec6af6c96a432 + docs/Models/Components/MeetingRequestDocumentMeetingRequest.md: + last_write_checksum: sha1:ae98dbb3c169eb38fd10630be649d85e0d2afaca docs/Models/Components/MeetingRequestDocumentPaginatedResponse.md: id: 63f4402d9822 - last_write_checksum: sha1:c6c1cff991a5f8d0ffd9c6e7b691380b8f7832ec + last_write_checksum: sha1:8ad526eef1f1b958814cc95b2eb47c3a9062f741 pristine_git_object: 9833daf59881daa9c38cace22b9d914dc8dff5be - docs/Models/Components/MeetingRequestDocumentReferenceLinkJson.md: - id: 3eb890d587fa - last_write_checksum: sha1:df5b090ebda6da77311344c3cbcc4e3c40453f3d - pristine_git_object: 95197e79f7c6cef252866a6e319379d216279be6 + docs/Models/Components/MeetingRequestDocumentReferenceLink.md: + last_write_checksum: sha1:63ab4224e835ed01524a6b9c6a91e362be9fb055 docs/Models/Components/MeetingRequestEvent.md: id: 1dd4bbc3e30e last_write_checksum: sha1:63968aacd743c384b67f5d846f564eab28d33724 pristine_git_object: 622c988af9fd8ad3e8bc165a66e1381565be31ce docs/Models/Components/MeetingRequestForm.md: id: c21051ae85c7 - last_write_checksum: sha1:a2c1856ef67f22d3e7c4e4a3bd8a296941f09c98 + last_write_checksum: sha1:d29fcbb7b12971fdf6008f26455920d8d7413a13 pristine_git_object: efbf232d20cb5709a61d59929eba98badc308cda docs/Models/Components/MeetingRequestFormPaginatedResponse.md: id: ebfc4ea35af6 - last_write_checksum: sha1:cd72ee73f2f14dc4c4ca43c6805a421b9b9a2e8b + last_write_checksum: sha1:854051430fe0e755fc8862f0c4405f5bf926b6dd pristine_git_object: a4c6637473197b58e1f604c470d902ec7b5568d7 docs/Models/Components/MeetingRequestMeetingRequestForm.md: id: 3b878338b2e4 @@ -3106,32 +3024,44 @@ trackedFiles: pristine_git_object: 9642a9ee3633b401c48b6b94ab976c3743462525 docs/Models/Components/MeetingRequestPaginatedResponse.md: id: 1cf7d063b8d0 - last_write_checksum: sha1:3c1160a8f95d39467885e4bf180623dc77a20a2f + last_write_checksum: sha1:161c2af8e52892daecf223339bdd8635b98e31af pristine_git_object: 66fd19e52e1c1736316c58844bac6299935052ca - docs/Models/Components/MeetingRequestQuestionJson.md: - id: 5cc6e242e6d3 - last_write_checksum: sha1:d6fefa7c1ab1eb0941336fd5cd7184b49f88914d - pristine_git_object: b3943c14834b32bc05dd9eb8926766d2981e3350 - docs/Models/Components/MeetingRequestUpdateJson.md: - id: dfff04e34571 - last_write_checksum: sha1:04f790200abf4882d2299497a67c583d0996c858 - pristine_git_object: fa71b5b932a98f32d851e796e5f31eab12ab043f - docs/Models/Components/MeetingRoomAgendaItemTypeJson.md: - id: 6e5817d43544 - last_write_checksum: sha1:adc1f63441b49786a025fb0ce18f78a4b3504104 - pristine_git_object: 4da9119576a93d213b1ca89b3b2bc2fe5a6bccdc + docs/Models/Components/MeetingRequestQuestion.md: + last_write_checksum: sha1:1d85121e8015e22460e1d8ed37666938faa2a55e + docs/Models/Components/MeetingRequestQuestionInput.md: + last_write_checksum: sha1:3a74ccd0c50615ebb9e1aa6eb718bbb49d1ce4e9 + docs/Models/Components/MeetingRequestUpdate.md: + last_write_checksum: sha1:e45d220c77898184087d1e71cadb4a086f43eda3 + docs/Models/Components/MeetingRoom.md: + last_write_checksum: sha1:ea5c5dcf5f1ab4106dfeff574b6ecb88afec019d + docs/Models/Components/MeetingRoomAgendaItemType.md: + last_write_checksum: sha1:cabc43e73d824d6c9a025470af8d65e6adc1833b + docs/Models/Components/MeetingRoomAmenity.md: + last_write_checksum: sha1:d4b00a99d257ec467fc336aeb0c687b68e1eb1db + docs/Models/Components/MeetingRoomCapacities.md: + last_write_checksum: sha1:6bea4f9517d79597a72c2188dde805cae9fd97dc + docs/Models/Components/MeetingRoomDimensions.md: + last_write_checksum: sha1:d4db2f15267977aa1c72039af0695867dae9f379 + docs/Models/Components/MeetingRoomExhibitCapacity.md: + last_write_checksum: sha1:deef1f2daa2efe46ecf27484379ef0c262d9f514 docs/Models/Components/MeetingRoomJson.md: id: 7a9b2b5a7da6 last_write_checksum: sha1:c9ae9aec919c3bbea4a1a6ded9425e5a5d7927b2 pristine_git_object: e1315317d38e0916265dd28bd9f35d5d096252ea - docs/Models/Components/MeetingRoomRequirementJson.md: - id: 462489c4ba01 - last_write_checksum: sha1:4f43a217a92ddd012575ed63f30412a45a75a392 - pristine_git_object: f55552a18e00d5ef257f140701931e8e51f444bf - docs/Models/Components/MeetingRoomSetupTypeJson.md: - id: 28314ffb4754 - last_write_checksum: sha1:a0a3063171d9b3bf8b0d0f3c6e910b4c11e9c0a6 - pristine_git_object: f1c7d3265909cfb25eb2928871e1a18ec7cd0650 + docs/Models/Components/MeetingRoomOverview.md: + last_write_checksum: sha1:6ea0e5f2bedf77e0676cab957dc65b7fe4c21327 + docs/Models/Components/MeetingRoomRate.md: + last_write_checksum: sha1:4562864b1372c506a613fa9685861e76abda8188 + docs/Models/Components/MeetingRoomRates.md: + last_write_checksum: sha1:c45e883eb9b0e14ae893203aaf8889ba58d5595a + docs/Models/Components/MeetingRoomRequirement.md: + last_write_checksum: sha1:2485dcc30c9dfabde25efb72b04060a94a0da555 + docs/Models/Components/MeetingRoomSeatingCapacity.md: + last_write_checksum: sha1:836b3f0084047993574f4f03bffbb0e6d76ea679 + docs/Models/Components/MeetingRoomSetupType.md: + last_write_checksum: sha1:36ed64f7a3f6d00562e0cd4b734aac9bde1e303c + docs/Models/Components/MeetingRoomsOverviewResponse.md: + last_write_checksum: sha1:29345784601ee03f7d16483d27552f300e6361b1 docs/Models/Components/MembershipItemsPaginatedResponse.md: last_write_checksum: sha1:292d13c6f3ad112cc107ae04a21d0274865094bd docs/Models/Components/MembershipItemsPaginatedResponseData.md: @@ -3300,6 +3230,12 @@ trackedFiles: id: 747b7b64377c last_write_checksum: sha1:98347ec891cb0b23ed2f2f4a1dc7d4c5389eafec pristine_git_object: 68a1fb4b6cf24168e885d7eca837f0433ca9cd91 + docs/Models/Components/PatchMeetingRoom.md: + last_write_checksum: sha1:08daccecb878ba9485063c64ae5648ca20e31d83 + docs/Models/Components/PatchMeetingRoomDimensions.md: + last_write_checksum: sha1:3a5179b1f69b71111ea536c6a49697da0ce2538d + docs/Models/Components/PatchMeetingRoomRates.md: + last_write_checksum: sha1:64262af46369c5b2896e810439397a95c41cb657 docs/Models/Components/Payment.md: id: 52f805a36cbb last_write_checksum: sha1:f71d408347a000c3e68f871102b82def1d21dcb0 @@ -3428,41 +3364,27 @@ trackedFiles: pristine_git_object: f366ead90609e09c26aad778c6bf31f3c8de046d docs/Models/Components/PolicyValueType.md: last_write_checksum: sha1:56153d9df538053b1221165e68da0c371855dc59 - docs/Models/Components/PollResponseJson.md: - id: 00863ceafa0a - last_write_checksum: sha1:4512ba0863d23b233fbde7cfb53ddbc9a584e856 - pristine_git_object: 586519f766bf9d3e92a4cf35b1e638560ee411ff + docs/Models/Components/PollResponse.md: + last_write_checksum: sha1:80fc0d0d5b67fea89e6208e3494209624605ec36 docs/Models/Components/PricingConfigJson.md: id: b3c3f0625c75 last_write_checksum: sha1:f17ffbdb502433d440f414bb3935cb2b4fda6589 pristine_git_object: 5bc72afa58820dd32a6f2cfd4fa37952505e23e5 + docs/Models/Components/ProcessForm.md: + last_write_checksum: sha1:29ed4f810dbd45f126fa1141d7de589834e6906f docs/Models/Components/ProcessFormExpand.md: id: 57c5cf17c1cf last_write_checksum: sha1:f2b63f1a0cc5a39f6f9b4934d8b6c892b3b5c624 pristine_git_object: d53f378f09cc7b6b75bd13cc09295572280aa952 - docs/Models/Components/ProcessFormJson.md: - id: 6bdc28632f17 - last_write_checksum: sha1:796d0985799ad18acbcdc8268f867d489ddb7f81 - pristine_git_object: f70f9f42eb12db8ebe79ec1fb27be930234300be - docs/Models/Components/ProcessFormQuestionTypeJson.md: - id: af0bb1c4b1cc - last_write_checksum: sha1:95747ac6bd00bd23113119e0b5291eeaa0f600ea - pristine_git_object: e9323827c15e6bb9d1e107110d6329febe74f695 - docs/Models/Components/ProcessFormSubmissionJson.md: - id: 772118d5a503 - last_write_checksum: sha1:4bb1e0cfd52ebd9a322d1b6ea5d1b34587ba4ddb - pristine_git_object: 4d618f9022470f04ef55daf135a6f633c7d6fac1 - docs/Models/Components/ProcessFormSubmissionJsonEvent.md: - id: c55241d195ae - last_write_checksum: sha1:055928c5a2f300caba5867fdce3b6cac7fee74dd - pristine_git_object: dd1e83d07befb05c0e3535929f8a280488c663d1 - docs/Models/Components/ProcessFormSubmissionQuestionJson.md: - id: 0ac95aecdc6d - last_write_checksum: sha1:09ad37b2604f4e25d138b1471fcd32a5ace1fb2b - pristine_git_object: 9346f069b5cf38267403229f539f562216978bb8 + docs/Models/Components/ProcessFormSubmission.md: + last_write_checksum: sha1:e08b3b04b91040e13e72353e8002479e95a55d2b + docs/Models/Components/ProcessFormSubmissionEvent.md: + last_write_checksum: sha1:2a59cb339ec8fe6c0e602830e53a52107dbe6046 + docs/Models/Components/ProcessFormSubmissionQuestion.md: + last_write_checksum: sha1:9c7b47ffaecfe4def123ea6f8bf3d13beb30a741 docs/Models/Components/ProcessFormSubmissionsPaginatedResponse.md: id: c3f189bd0723 - last_write_checksum: sha1:05db94f61ac80e138e598d52cbf0a5aedbdc7f9a + last_write_checksum: sha1:7ca2acb698b3917b4e8b298776f69a6595c0c831 pristine_git_object: 6af717a8c504989476fad9ee145a817c3699edf7 docs/Models/Components/Product1.md: last_write_checksum: sha1:d9d052c0a220a16dc94a85c72dcba88671516e0d @@ -3604,12 +3526,12 @@ trackedFiles: id: 696d4285c18a last_write_checksum: sha1:86868edcbe08acecc7092dcb454eb903d66fd098 pristine_git_object: 180da1cb6747062669bb7f48e6b0b5614f490475 + docs/Models/Components/Question2.md: + last_write_checksum: sha1:162a72aa070b894ef273f953512adbed2ceffb82 docs/Models/Components/QuestionClassificationType.md: last_write_checksum: sha1:b69a983cd8e4fd7061ba37f182b9048340a251ff - docs/Models/Components/QuestionDetailJson.md: - id: 7973b8328a2f - last_write_checksum: sha1:8b3a2bf295463bbeb4f12a5ec1e79a6acf7536f9 - pristine_git_object: 0ae4c160b242cca0809ff974300f5b3443862c56 + docs/Models/Components/QuestionDetail.md: + last_write_checksum: sha1:8c6b0e1df389d9fb406ffe3d03e5e808daedad82 docs/Models/Components/QuestionIdJson.md: id: d6b2969074a4 last_write_checksum: sha1:90babf488a77edbc0764ea800ab7d1ee2aa97142 @@ -3618,40 +3540,34 @@ trackedFiles: last_write_checksum: sha1:4e910a5d1517fd48d4916d390cf330ac4afc1bad docs/Models/Components/QuestionJson1.md: id: 11919887dff5 - last_write_checksum: sha1:04bf6f8a357d9c5cfe2e4965f4b3a46f147d15a0 + last_write_checksum: sha1:152b6c79ff86309ac8cce4c9d17357805c9ac243 pristine_git_object: 7e436fd511c924fd0f6634988536341c00a508ff - docs/Models/Components/QuestionJson2.md: - id: bd5c97e35d21 - last_write_checksum: sha1:8b0e9daa311ee1f1fdc73f6a915cfe0809d3cd9e - pristine_git_object: 48cbe14482da5002f85245ff77a30bf0b6f4311c docs/Models/Components/QuestionPaginatedResponse.md: id: b15c62d39927 last_write_checksum: sha1:a4f731fa41ba217d1821d212e617b6f517cdea01 pristine_git_object: 9e0cd5ee2c60bb5d28a1bc9e9cf162205cbbc2d0 + docs/Models/Components/QuestionResponse.md: + last_write_checksum: sha1:61105ee97320e10ad9f663126430a0c6cc6c4add docs/Models/Components/QuestionResponseDataType.md: last_write_checksum: sha1:e8290ca431e00e9701682ad24fd9c831a12ee29e docs/Models/Components/QuestionResponseFormat.md: last_write_checksum: sha1:17c4be784cbda70e0a52a07314d97bbd378a4c69 - docs/Models/Components/QuestionResponseJson.md: - id: 8287d219f9f4 - last_write_checksum: sha1:dfa7aab87edd9e6fb6323ad739f48aaeecbfcb8f - pristine_git_object: 01fba7610613f3908208a5a62d5bfba59edc87ca docs/Models/Components/QuestionResponseType.md: last_write_checksum: sha1:0e5be9a50d3ecfc2821a6e65a77dada12595c2a9 docs/Models/Components/QuestionSection.md: last_write_checksum: sha1:6b7b676da6afca46ef8e722289a20391b522261a docs/Models/Components/QuestionType.md: last_write_checksum: sha1:a56e916c6167cf16d18c1a357b44a2f6876dc0e1 + docs/Models/Components/QuestionType1.md: + last_write_checksum: sha1:8b005f9c53a6000d10b14645587c4c8bca5a8d6d + docs/Models/Components/QuestionType11.md: + last_write_checksum: sha1:7163bdc20f425373783255050ec52d6e341a9275 docs/Models/Components/QuestionTypeJson.md: - last_write_checksum: sha1:7b95687d32f30a4da7aa2adc140fc912bda0965b + last_write_checksum: sha1:0ee0e7a3e15668d6b662963adc59cc8e06f9c7d7 docs/Models/Components/QuestionTypeJson1.md: id: b03f97943a9f - last_write_checksum: sha1:f1140da620215394b4d588a52d34eab69453654f + last_write_checksum: sha1:e3b58db54928a9fb5a7049f252d9e622d27692e5 pristine_git_object: 9fff60165a9881b9c9d9135690f07cf60db9b5e1 - docs/Models/Components/QuestionTypeJson2.md: - id: 4a1c0c26dff0 - last_write_checksum: sha1:53b666450d45b3b6c1c54d35cc90e929dadf6c94 - pristine_git_object: 0c1b6d559e08b4c01961520c8988a7b7bedc9219 docs/Models/Components/QuestionsPaginatedResponse.md: id: b4a3d5ce9358 last_write_checksum: sha1:c7f53e0c7a0aa6a7178e6109982660123e5ab17c @@ -3664,6 +3580,8 @@ trackedFiles: id: ddc8aee5ad5b last_write_checksum: sha1:64203b957b085622ea99afedec3c7722f9769419 pristine_git_object: 48d56b05368cefb7a589f0e5a4a5c7ffc3134e3c + docs/Models/Components/RateApplicationType.md: + last_write_checksum: sha1:30cbc72e6174c1582dcb186f2ffce50a30fede24 docs/Models/Components/RateLevelType.md: last_write_checksum: sha1:a40db0de7760a356fca28b63d5a17869b3d84ab9 docs/Models/Components/RateReviewStatusType.md: @@ -3764,12 +3682,8 @@ trackedFiles: pristine_git_object: 1ceb65ec248a9b1d7cbad451df96e29d97db53c2 docs/Models/Components/Request.md: id: 0360ec76fe2c - last_write_checksum: sha1:315f3665ca9bd9747f8e138bfd4a2e0e026ec184 + last_write_checksum: sha1:59de51c99225f58b27632b4f0afaeb05c645f80e pristine_git_object: 0ba1ac4c5ff1a858bf490f2114b1dc7c7f84d801 - docs/Models/Components/RequestedMeetingRequestQuestionJson.md: - id: 8372f3aa5be9 - last_write_checksum: sha1:e2ce894b220fb45abf935e30bfbb10d1fc1f1aaa - pristine_git_object: 73db5b8efd11c5ba7f229731feee9f2a399ff20e docs/Models/Components/RequesterSuffix.md: id: 5f98407aef16 last_write_checksum: sha1:2f8e723f3b4c2d0ad2239d11ed7f1f871c3c9a1e @@ -4032,6 +3946,8 @@ trackedFiles: id: 8d69045cbf5a last_write_checksum: sha1:54363128bcef1ff3dcb7e2ce1a4a3e960c5f6d9f pristine_git_object: 132864672c4158d1a188364aaf8b66dffbadd7cc + docs/Models/Components/SeatingLayoutType.md: + last_write_checksum: sha1:def535fecc42001e0cf682f271641d374b691bad docs/Models/Components/SeatingPaginatedResponse.md: id: 5bb27d2f4667 last_write_checksum: sha1:72022c779f552fe27927cbc3b49386c1465418f9 @@ -4102,14 +4018,6 @@ trackedFiles: id: f4338f7c60b3 last_write_checksum: sha1:44653055f7300d86d1bebfe7fd2134f84139f14e pristine_git_object: dd97262dc0f7cb39f49b682474a2e72d46b39309 - docs/Models/Components/SessionActivity10.md: - id: 05ca9e132492 - last_write_checksum: sha1:c9c47a5063861951bc133b2d087767e0489a2aea - pristine_git_object: 78aabb00ec4b2b229856a343a2af670377815968 - docs/Models/Components/SessionActivity11.md: - id: 84e2f566c0db - last_write_checksum: sha1:b1c49ed3d79549cc65e3853d43b79cd242d4dbaf - pristine_git_object: e42935f0a1c27a37171eb772bbbbc12a119dfef1 docs/Models/Components/SessionActivity2.md: id: "781345169e89" last_write_checksum: sha1:55f35f5b66410ef89862ad8f5e82c689ce40702e @@ -4134,14 +4042,6 @@ trackedFiles: id: b7beb5c6fa28 last_write_checksum: sha1:5ac075934a91b4e1f68a3ce1839e01cc1cba42ce pristine_git_object: 0fa90e5859c586f78358532007efbbeb4aa19ca0 - docs/Models/Components/SessionActivity8.md: - id: c8fdd6a3cd9b - last_write_checksum: sha1:be6af8f52b5e4e047ad88cf42c596b1978092142 - pristine_git_object: 72ba67812b2151f2d801b10f5b1a966a2ff6e950 - docs/Models/Components/SessionActivity9.md: - id: a77137a05598 - last_write_checksum: sha1:c5184c456913df292046b4239b62f5c16380e753 - pristine_git_object: 01c7a914ae02719f8b9aea749230d15c6c6ce688 docs/Models/Components/SessionCategory.md: id: ef6a98419bd3 last_write_checksum: sha1:54a63fd1837782b7906d4c296f49d77dbca340cf @@ -4186,8 +4086,10 @@ trackedFiles: pristine_git_object: c426636bab9a7d79e53a6c326ba795da1d5743be docs/Models/Components/SessionFeedbackSubmitted.md: id: 97f2de31112e - last_write_checksum: sha1:f84762580d5077b3a17fd1e562abeafdb879dac9 + last_write_checksum: sha1:b34d972a9440a4e09a074c039a2b7ac283282fda pristine_git_object: dda3bef0faadfc9c81a6615dcb8b2afc93c2ce2e + docs/Models/Components/SessionFeedbackSubmittedSessionActivity.md: + last_write_checksum: sha1:c15a342ed218b3e7db4a9ce402d0e0b74281068e docs/Models/Components/SessionFile.md: id: ebd6b1429e0e last_write_checksum: sha1:1ef45d90b74913de6a3ffeb1b216563c2fc43e3d @@ -4222,12 +4124,14 @@ trackedFiles: pristine_git_object: 2842aaf14dc60896b17c46ca4a7e2b529101bcc9 docs/Models/Components/SessionNoShow.md: id: a926ccf0b620 - last_write_checksum: sha1:fd25ee9ebe68b77a745010115d270be570577f76 + last_write_checksum: sha1:abb824dc8b1b973b07fa3aed2bcf1b22496423c7 pristine_git_object: cca57adb64a47ba9fe61581ca6a5cef2ced5ecd3 docs/Models/Components/SessionPollResponseSubmitted.md: id: f81602dc92a8 - last_write_checksum: sha1:e2e6e8b88413024024273c434ac788baf1021d67 + last_write_checksum: sha1:7bb0a2639f758f509f44830d2647c1ba53fc3dd1 pristine_git_object: 55a4d1f344d7d5e0c5985ebe17935e9fcc6b5184 + docs/Models/Components/SessionPollResponseSubmittedSessionActivity.md: + last_write_checksum: sha1:846993c44779f3af09629b1231469c636de1e263 docs/Models/Components/SessionQaActionTypeJson.md: id: 3064e7bfd23d last_write_checksum: sha1:5aae4c3f206f177a0bc1048cec15e4427ed4520b @@ -4238,11 +4142,13 @@ trackedFiles: pristine_git_object: c5b7033c8772676c3fbe5a87be83b2b744d4672f docs/Models/Components/SessionQuestionAsked.md: id: 101cbd2c9503 - last_write_checksum: sha1:f482cf2b3d8fc7c8ca9aaa7fbc206350febb09dd + last_write_checksum: sha1:dcdf95cc90ca5966e1fd00e5158b481650ebad91 pristine_git_object: 01dd770004886d1e7e124f5df077b918b45a1fa1 + docs/Models/Components/SessionQuestionAskedSessionActivity.md: + last_write_checksum: sha1:9471aa5e15134a113c13ffd20a9d979045ff0854 docs/Models/Components/SessionQuestionUpvoted.md: id: b9cf93ba5b8a - last_write_checksum: sha1:a1d7822c99a26f8d7b7c5657f658f4b6d5c54718 + last_write_checksum: sha1:31d512ca93a05f6865dcd63b984784f3015fe39a pristine_git_object: 6ccc9894567b71eacd93caab33f5b47aff252c48 docs/Models/Components/SessionSegment.md: id: aff33ef04af7 @@ -4266,7 +4172,7 @@ trackedFiles: last_write_checksum: sha1:3d6150130f77186359632e11e7dd7db6b152a814 docs/Models/Components/SessionUnenrolled.md: id: d1d783220fd4 - last_write_checksum: sha1:0970e4449a328c32f71583e8b1d9b352de5c4e90 + last_write_checksum: sha1:668a0e98ed717afd204e8b277487a03d50bb0795 pristine_git_object: 407e9546d97494fae241669b704467573dfbbae1 docs/Models/Components/SessionUpdate.md: id: c3074d9646ce @@ -4280,7 +4186,7 @@ trackedFiles: pristine_git_object: 06622c91286c85e67a3f7e21c79b65e3f2b74cbb docs/Models/Components/SessionWaitlisted.md: id: 1083add92c5a - last_write_checksum: sha1:20885e7ca795f95da235fb16cafab9abe57af830 + last_write_checksum: sha1:5c72f8cb9ad523782ae2a6a89ca5000731ad3b2a pristine_git_object: 124b77d4a3ad1f39e2033b92a7d99005ceb13aaa docs/Models/Components/SessionsAttendanceResponseJson.md: id: f311336d0fb3 @@ -4314,10 +4220,8 @@ trackedFiles: id: 64c53f4112c1 last_write_checksum: sha1:9e71878fca6e42bc03802262c595dc93b1c36598 pristine_git_object: b432c38e9c3fe02797154bc996d59c7a6ea694d6 - docs/Models/Components/SleepingRoomRequirementJson.md: - id: 7fa57002e2e0 - last_write_checksum: sha1:45e649d20451a5ed6332266b151669283df78a0e - pristine_git_object: 3d881b1a0039a0e43bc90989dd49cf1de782803a + docs/Models/Components/SleepingRoomRequirement.md: + last_write_checksum: sha1:d229863932b68947f8b9749814bfd6156ea00407 docs/Models/Components/SleepingRoomTypeJson.md: id: 85126f7f3ec4 last_write_checksum: sha1:57925943001201271758e9ed77949a5e1f469153 @@ -4344,6 +4248,8 @@ trackedFiles: id: 32d4d6d3ce16 last_write_checksum: sha1:5c191cf2bbba53ac86ff094ab6bccc6466c7af53 pristine_git_object: 2f82bc9c267436a4e4399c26f376dfd70176ac95 + docs/Models/Components/Speaker1.md: + last_write_checksum: sha1:fde12a5641dcd136c61127ecbb67da09d64fc090 docs/Models/Components/SpeakerCategory1.md: last_write_checksum: sha1:881cb41d5c540206587358f63e3466bc39d1a450 docs/Models/Components/SpeakerCategory2.md: @@ -4366,15 +4272,17 @@ trackedFiles: pristine_git_object: 6db41514f06cb39cf63f90c35a6fd7ea52d204b6 docs/Models/Components/SpeakerFeedbackSubmitted.md: id: b3a28da6ef21 - last_write_checksum: sha1:90e87a89310b402cd8ee8163dfc1cea67bb57e8c + last_write_checksum: sha1:8c6e3a088c3a956b48c29247c514087e0e35b20c pristine_git_object: c96521d1cd15b06d0f9eb5d163854afa5f1faaa4 + docs/Models/Components/SpeakerFeedbackSubmittedSessionActivity.md: + last_write_checksum: sha1:e50fcd8ab09a2ec1c7769bec4d4d09961565ad4e docs/Models/Components/SpeakerFile.md: id: d60ae0ef4668 last_write_checksum: sha1:01a7b8ba2a181114facbbd110ae4af4fba70710c pristine_git_object: a73a1fcee509b2e0aa7973a40144c7bad6af8407 docs/Models/Components/SpeakerFileDownloaded.md: id: 7064af0fec27 - last_write_checksum: sha1:b143841027e5489b64b2125f9b28e369c2954bfc + last_write_checksum: sha1:b2bb74095931a147d0c6720da03a3699f23448cc pristine_git_object: 89d4ffc78494a10fdee8a5197350549ca29617b9 docs/Models/Components/SpeakerFileFile.md: id: 7c56a4b92cae @@ -4384,10 +4292,6 @@ trackedFiles: id: 825b7d474ae8 last_write_checksum: sha1:588e278e53c6ea0ee92b6f5fe81d717ef8678581 pristine_git_object: c3232dea6a64a209ff1b6f48b643507a910645f2 - docs/Models/Components/SpeakerJson.md: - id: 1492a11c2fae - last_write_checksum: sha1:e0489e26a66f834ea281fc0c884802be60af65f1 - pristine_git_object: 5c573ba1a7b07bc41ecfae47dd8d9241da49afb2 docs/Models/Components/SpeakerLite.md: last_write_checksum: sha1:0d7cf45f2d986d475403f8a6940b0c0e3408b42b docs/Models/Components/SpeakerLite1.md: @@ -4472,7 +4376,7 @@ trackedFiles: pristine_git_object: 06cb63c9bf40c9ef7a978084e93880bb9bc2a606 docs/Models/Components/StandardSurveyQuestionJson.md: id: 5b14f983c090 - last_write_checksum: sha1:7cdd7700b8f6bdfc7d31e94cc366aa44b6eaf64b + last_write_checksum: sha1:fb786f605d172f6ff12a3e7cb844e59996227d43 pristine_git_object: dcb66e926cbdcab8d9a7bd04f1af60370883fc28 docs/Models/Components/StandardSurveyQuestionsPaginatedResponse.md: id: ec0d58b2a1a0 @@ -4522,6 +4426,8 @@ trackedFiles: id: a07f1395d447 last_write_checksum: sha1:18ece4b14bdd2c4d132c4fa3278940a335fded91 pristine_git_object: f68d289bdad80168f6ed0303a7dddac74c81031a + docs/Models/Components/StateProvince1.md: + last_write_checksum: sha1:1ee498cd141a63d6f26cc302aededb5bce63cdfc docs/Models/Components/StateProvinceJson.md: id: 7b1b8d85a559 last_write_checksum: sha1:0103a4623300b491eef0a5e87764c699815e0dba @@ -4568,10 +4474,8 @@ trackedFiles: id: f6539e70d313 last_write_checksum: sha1:3fc6ad594f0e649a5c45445bfaaf2efe4f56f766 pristine_git_object: 2b0ce1593fb6b24c036152f4274b122cd4497e58 - docs/Models/Components/SurveyResponseJson.md: - id: a47df21ec58d - last_write_checksum: sha1:b24caa87333de81bd5b48e8de052497f177f9055 - pristine_git_object: 5365f25c012ae8340b04372474b2e163a5f1b0a7 + docs/Models/Components/SurveyResponse.md: + last_write_checksum: sha1:27217a302a83143c88fb56ac99727ed15ed0572d docs/Models/Components/SurveyStatusJson.md: id: 3910415ddc8a last_write_checksum: sha1:9ce2d902e423234d0b4f21dd02785fe72e600757 @@ -4731,11 +4635,11 @@ trackedFiles: docs/Models/Components/TravelAccountType.md: last_write_checksum: sha1:a7af9a9c5959c3be082ba6c17a988ac63fcea7cb docs/Models/Components/TravelBidAmenity.md: - last_write_checksum: sha1:6118ef7a1e661c3677e85c115ad633dabe4f402b + last_write_checksum: sha1:2505b008a2bcfa8936aabf1f9e9a85a7052f8b01 docs/Models/Components/TravelBidComment.md: last_write_checksum: sha1:007e0798bc9447e8d2ea634b89457c49c3478a63 docs/Models/Components/TravelBidDiscount.md: - last_write_checksum: sha1:10d11e7b2b5748ae9f1635182facd7c98402b676 + last_write_checksum: sha1:521f82c4b580456b06caba8d1989f03e6f60ac4c docs/Models/Components/TravelBidDiscountPropertyRoom.md: last_write_checksum: sha1:58169a8d556b6f2f6a44323c43e6535b9dbf9c7a docs/Models/Components/TravelBidDisposition.md: @@ -4745,25 +4649,25 @@ trackedFiles: docs/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.md: last_write_checksum: sha1:90a1d08d7a55eda5372f81bead42916cc94d1349 docs/Models/Components/TravelBidFairSeason.md: - last_write_checksum: sha1:249ca365950b470bfbf3f645fb2c7744e258cae6 + last_write_checksum: sha1:1c858e6a216fe0e0b9420eea5fc755ef8f2293d2 docs/Models/Components/TravelBidFairSeasonRate.md: - last_write_checksum: sha1:86f2e82afe46ecf1012cb323645ef3b4b940dc84 + last_write_checksum: sha1:5caf8b771ca6e50107918ce79dd52ac4ddf0524b docs/Models/Components/TravelBidFairSeasonRatePropertyRoom.md: last_write_checksum: sha1:d43f900fae9f45f220a022654cabf1287e8a8d5f docs/Models/Components/TravelBidPolicy.md: - last_write_checksum: sha1:7940a88d59f1a060980c455893d702015f3f6bfb + last_write_checksum: sha1:88790c053e3db30170876f37dc3eb63cc489eae1 docs/Models/Components/TravelBidRoom.md: - last_write_checksum: sha1:c4bf9aa5aff88cd7ad8d20d3c8730b544301b493 + last_write_checksum: sha1:9c51be7773430eddec9e24223342f9d221fb9e37 docs/Models/Components/TravelBidRoomPropertyRoom.md: last_write_checksum: sha1:d8926ebb1f1d8114e7d0f58c87a9229e64c05075 docs/Models/Components/TravelBidSeason.md: - last_write_checksum: sha1:3d78cbaca153f379ce000e91a4de1b1c5fc34d3d + last_write_checksum: sha1:8b75941001a4cb2214a480df9d62b7cb1ca51320 docs/Models/Components/TravelBidSeasonRate.md: - last_write_checksum: sha1:a3af54fd1e14838e273c2e3acaa2114132073147 + last_write_checksum: sha1:115e2b238e729b2d5f9be0915ef82d6163f91ce9 docs/Models/Components/TravelBidSeasonRatePropertyRoom.md: last_write_checksum: sha1:a72615c744bab9a3ea1feba9f05c9fae17a624b2 docs/Models/Components/TravelBidTaxAndFee.md: - last_write_checksum: sha1:9bbae3d949f736e1f19b371a54dce5b7ac0c353d + last_write_checksum: sha1:a3d783241646cbb2b177faeb4e0b291955faee74 docs/Models/Components/TravelBidWeekendDays.md: last_write_checksum: sha1:2323eb7b6a9d1873e831a546e1611b53193a9457 docs/Models/Components/TravelDepartureArrivalJson.md: @@ -4948,6 +4852,36 @@ trackedFiles: id: d2bcca632de5 last_write_checksum: sha1:73365403438941a9551566e54da49b264b2d600f pristine_git_object: ba9bfc27393597fded4f8778b65e0217d5334f44 + docs/Models/Components/VenueDetailsOverview.md: + last_write_checksum: sha1:f4ee39ce1f17fa5a7fa23e38db3c3cfe0b205d6a + docs/Models/Components/VenueDetailsPatch.md: + last_write_checksum: sha1:767d7523a12ef99bfc31f17f9012428f5cc59ec1 + docs/Models/Components/VenueDetailsPatchAddress.md: + last_write_checksum: sha1:9e8f5954b3997b54cf05090a89f3a3b33c21124e + docs/Models/Components/VenueDetailsPatchChainScale.md: + last_write_checksum: sha1:893889af1cec106b945509356fad92cf699c2504 + docs/Models/Components/VenueDetailsPatchCurrency.md: + last_write_checksum: sha1:3505cfac32b313ecd9bbcb512930e89ebf422477 + docs/Models/Components/VenueFacilityPatch.md: + last_write_checksum: sha1:f479d14f2c096259cc41ffc3d18bc157cc9ad18d + docs/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.md: + last_write_checksum: sha1:5bff225e90fc4a8b0e54222f5866d0fef1b8be0c + docs/Models/Components/VenueFacilityPatchDoubleRate.md: + last_write_checksum: sha1:8cf147f8fc70310c35ea8046dd92fc048d43b92e + docs/Models/Components/VenueFacilityPatchEventInsurance.md: + last_write_checksum: sha1:c4a79efa89e8e5a1959b4183f7149045a515db1f + docs/Models/Components/VenueFacilityPatchMaximumCapacity.md: + last_write_checksum: sha1:46010929804c06bf21f4ff003cbbe5b1355271b8 + docs/Models/Components/VenueFacilityPatchMeasurementUnit.md: + last_write_checksum: sha1:cb1471c9e9938feb23838fff75847f454e386687 + docs/Models/Components/VenueFacilityPatchProximityFromAirport.md: + last_write_checksum: sha1:1b674bd41b62552b20aa190da74c654274cdb123 + docs/Models/Components/VenueFacilityPatchSingleRate.md: + last_write_checksum: sha1:72eb60d17059f301749c8f9e6efda517ec78ce10 + docs/Models/Components/VenueFacilityPatchSleeping.md: + last_write_checksum: sha1:374debc319aad99f2ddce8ef8b11618ba486cc01 + docs/Models/Components/VenueFacilityPatchSpace.md: + last_write_checksum: sha1:216c5e5b6317c89d839db94e48e43b3d947baefc docs/Models/Components/VenueJson.md: id: 2833fd3e2db6 last_write_checksum: sha1:0120b98c7bd36a6fff6ab759d550ee0a400b629f @@ -4964,6 +4898,8 @@ trackedFiles: id: 196d7a837ae5 last_write_checksum: sha1:ec2033e2e22917cc265958f34dfee4eace8a06b6 pristine_git_object: c2c5de9894128669389b37a3bec956f5a8ca5f03 + docs/Models/Components/VenueType.md: + last_write_checksum: sha1:c0c75109e29de2158e213e00465c0a7e6be2a0e6 docs/Models/Components/Version.md: id: ce182a615ba2 last_write_checksum: sha1:5f0510c6a9286b3b6655029f75fade98277c28a5 @@ -5090,36 +5026,28 @@ trackedFiles: pristine_git_object: f48ad1c64900036a70e862a14c0f5e2ec7fb1a23 docs/Models/Components/ZeroAllOf1.md: id: ba0e61189677 - last_write_checksum: sha1:726c019f6945a383edf0fe8c25da0b9b1e7f9f1e + last_write_checksum: sha1:91f6c4e8dabc06e60c3ac03a3ddced6dcbd2cd35 pristine_git_object: 5b3ac88d2fa90345700a2eaa7756a4c1e4b0a493 docs/Models/Components/ZeroAllOf2.md: id: a31a1cf8b3b1 - last_write_checksum: sha1:633caf29567775eb157909e3c1541ea5bbfd00da + last_write_checksum: sha1:684c622cd7ba2e02900d2e6eadd77246988975ed pristine_git_object: 81a175f7a5df429256e3680d593e1b728d2d5f94 docs/Models/Components/ZeroAllOf3.md: id: a42c67c76608 - last_write_checksum: sha1:f15de036eee0066161a699d3ed6c5c80bdc26ddc + last_write_checksum: sha1:6d9be5bbcc96783c743cbfa0ccc509b20169ad89 pristine_git_object: 15d666c4b8fe755cf26e5aca1beca9c9b1a3fa19 docs/Models/Components/ZeroAllOf4.md: id: c22a5f8e6a52 - last_write_checksum: sha1:29b41162a29b29462102407fb2d63dbe523d2e94 + last_write_checksum: sha1:988de987f9b4e714b1b09bdb83c1ece77c2036c4 pristine_git_object: c1d69a1ee84069197fe3184d4cbc2c2a5dc6bc40 docs/Models/Components/ZeroAllOf5.md: id: 813cf0802327 - last_write_checksum: sha1:2d92761b741aa6265bc430975987a466aa2e592c + last_write_checksum: sha1:6bec597f5929af9cb4088df4d2dd1978e88ddeea pristine_git_object: 25d23af0d9923eda03df4997e21fc4e8400497d1 docs/Models/Components/ZeroAllOf6.md: id: e5ed20de1d3d - last_write_checksum: sha1:dbb4e9ade4fc0e25006c678039e3bd4078cd1657 + last_write_checksum: sha1:b03c6ca2c6d5aa56e69a3253aafaacc2c20c4180 pristine_git_object: 42c20e6339a1120861a0f55df835d948eefad750 - docs/Models/Components/ZeroAllOf7.md: - id: 45e2985cc6e9 - last_write_checksum: sha1:1d2450cdc6770a3428715a2a810a741419fc4f1a - pristine_git_object: e26e5f6c13cf0826dc2834df612ed184416327f4 - docs/Models/Components/ZeroAllOf8.md: - id: 4e8a28a70225 - last_write_checksum: sha1:021ba5b54c37a797a68f4b023eee87301bb3edbd - pristine_git_object: 424bd7dd87bd3664d47b576e81090c2e3ef9bd6e docs/Models/Components/ZeroAnyOf.md: id: d35142c492dc last_write_checksum: sha1:ed331f95c735dc66a695ec50d220f7141e783b5f @@ -5139,13 +5067,13 @@ trackedFiles: last_write_checksum: sha1:32431b377e87d957078fbd4c9d0cb513adecdf19 pristine_git_object: 8950c46543563cafbe7b33498f73e019c74bd23f docs/Models/Errors/ErrorResponse.md: - last_write_checksum: sha1:60d5975bd057ffd181a31be0b9e56a1ad424321d + last_write_checksum: sha1:e14daf69b485e94652f38c71f6a6ddec105798a5 docs/Models/Errors/ErrorResponse1.md: last_write_checksum: sha1:893316ee04b254020ebddab3d743efa467e1f969 docs/Models/Errors/ErrorResponse2.md: last_write_checksum: sha1:e1020587798a98648dc535d45cf40616480082d5 docs/Models/Errors/SegmentsErrorResponse.md: - last_write_checksum: sha1:c2bfe94e458bb82fd97d8889de9c28b64d627870 + last_write_checksum: sha1:c1b500195d05b9719714bd619df1c768af647f03 docs/Models/Errors/ValidationCode.md: last_write_checksum: sha1:b1e0cd78d0ec98c72dd15cd65483f2c504db3603 docs/Models/Requests/AddContactToContactGroupRequest.md: @@ -5498,12 +5426,16 @@ trackedFiles: pristine_git_object: e24b76a6edd9634a76fbe81936499e3b6fd3f1ca docs/Models/Requests/CreateMeetingRequestRequest.md: id: 9594667b3c67 - last_write_checksum: sha1:beee6dafe55a36b0bad65ba0fd8eb559b60f488f + last_write_checksum: sha1:810f25676b976088f6dbc39c98e67c681af66617 pristine_git_object: fc66f8bef8d66295f2cf20a3435431d054405b4f docs/Models/Requests/CreateMeetingRequestResponse.md: id: b61e837790bc - last_write_checksum: sha1:24f0cd041970ab26f918c0a8ac784f9ea1161219 + last_write_checksum: sha1:d007dc957cede4b6cb39970de4a11314f2e002ae pristine_git_object: dda3b4564f4009cf4f70253d4d807c2dbfc3da7b + docs/Models/Requests/CreateMeetingRoomRequest.md: + last_write_checksum: sha1:6d9a83ff690132c03af329ee0b0d4fdfc21ddfa6 + docs/Models/Requests/CreateMeetingRoomResponse.md: + last_write_checksum: sha1:1433dcc0c17d420d330618ca13b14fc2acbefd6e docs/Models/Requests/CreatePaymentRequest.md: id: 5dc41e12b84d last_write_checksum: sha1:c9cf9a6b4b3682c774038fb0c1a3a369f829a428 @@ -5954,7 +5886,7 @@ trackedFiles: last_write_checksum: sha1:804017474363abda84bea0af4ed1cb149bc0a166 docs/Models/Requests/GetAirActualDetailRequest.md: id: 8e0a3f81414e - last_write_checksum: sha1:8e61e1622341c062b41fe4cb82944e423a7be30b + last_write_checksum: sha1:05f13e80669a31119facd56804701750813a0f66 pristine_git_object: 2cee237f7370c595c8272e62d940467262eaaf14 docs/Models/Requests/GetAirActualDetailResponse.md: id: 86b12a771b31 @@ -5962,7 +5894,7 @@ trackedFiles: pristine_git_object: 229eaa76cbc82decc8732aa9491c63d6caafc95b docs/Models/Requests/GetAirRequestsRequest.md: id: 92e07406b626 - last_write_checksum: sha1:426c2875aa514d48878c1b8cbbdb3ceb4b74d359 + last_write_checksum: sha1:9afc89cbbd59ba1276a382a81089b5fca6eb3fc9 pristine_git_object: 281c4255542041475a0a16b716911dee0cf8019d docs/Models/Requests/GetAirRequestsResponse.md: id: 63cf6f79f6a3 @@ -5977,7 +5909,7 @@ trackedFiles: last_write_checksum: sha1:7cce33b3e37a1a92a7bec9477b5963008b8836d1 pristine_git_object: 985d6754cf33dbfcd1deebb587596c206e8f885f docs/Models/Requests/GetAlternateTravelAnswersRequest.md: - last_write_checksum: sha1:79faa722b700f29fe32181992950c30794d51c9f + last_write_checksum: sha1:992fc699a3fd5a06f961bed7fb7cbd43f04a8bb5 docs/Models/Requests/GetAlternateTravelAnswersResponse.md: last_write_checksum: sha1:5e0a0980126e96eab416d97938b44fcfea48715e docs/Models/Requests/GetAppointmentAttendeeByIdRequest.md: @@ -6110,7 +6042,7 @@ trackedFiles: pristine_git_object: 0c96d8c69395bf82a44784b897eb080c2494f478 docs/Models/Requests/GetBudgetAllocationsRequest.md: id: e9f13c40c630 - last_write_checksum: sha1:60c82c532092cbb3e96a8dc74f58740486738f0d + last_write_checksum: sha1:08dd95264d33b0a66482f66508d0aca08c40a2b0 pristine_git_object: bd31e0aee61ff1d1bb68e65906a2738e3c957755 docs/Models/Requests/GetBudgetAllocationsResponse.md: id: f569a858c261 @@ -6330,7 +6262,7 @@ trackedFiles: pristine_git_object: c069f087e6760a521e93e26cc5ca094c709ba6b9 docs/Models/Requests/GetEventFeaturesRequest.md: id: 16d594240e8c - last_write_checksum: sha1:6ad57b4bc6f958671802df675dc4a00b2e0fa2b8 + last_write_checksum: sha1:1f09759c36333d9c7137fbc13f8b3c2af7a6cb1a pristine_git_object: 0f14c4cee17ba626e2b18f7ad1c094be93d552c7 docs/Models/Requests/GetEventFeaturesResponse.md: id: 01ad978ca62a @@ -6350,7 +6282,7 @@ trackedFiles: pristine_git_object: 032463872c16b02c11cfd2be361590e1b0ca89c1 docs/Models/Requests/GetEventSurveyQuestionsRequest.md: id: 97fb2b7a2f51 - last_write_checksum: sha1:790a82a22938a7a1bca79f2a69bee091f380950d + last_write_checksum: sha1:eba50c1b577f5adeb81dec872dddc3bbc0300a10 pristine_git_object: a647f9ed452fa78fcdd884abfa55464a119c3138 docs/Models/Requests/GetEventSurveyQuestionsResponse.md: id: fe4490f0662f @@ -6366,7 +6298,7 @@ trackedFiles: pristine_git_object: e635cb6fe77bfe524c5d929a2d3295bb05a4a8d8 docs/Models/Requests/GetEventSurveyResponsesRequest.md: id: ce6cab15ccb9 - last_write_checksum: sha1:b111e50ad65c0aa4e262e09ecd5f9eb84d97ad72 + last_write_checksum: sha1:2d898c5bce06fca8c04675302319097589b5cacb pristine_git_object: 6ed27146a531a3d9507e4bfde8b2dd01834bb9c2 docs/Models/Requests/GetEventSurveyResponsesResponse.md: id: 45aead854441 @@ -6374,7 +6306,7 @@ trackedFiles: pristine_git_object: 15dfa62e16611944212ab343bc155c3257d41ad0 docs/Models/Requests/GetEventSurveysRequest.md: id: 3ecd459e30cf - last_write_checksum: sha1:8cec705a293b651bd6bbbf8b04a82f5134005dd2 + last_write_checksum: sha1:b03c37547fc5f6be1d637198030d268c8273a85e pristine_git_object: f8259d1520df4e8c5a156fac6d89f205d857bd2a docs/Models/Requests/GetEventSurveysResponse.md: id: cc91d39ed3b9 @@ -6486,7 +6418,7 @@ trackedFiles: pristine_git_object: 148df7eedbe1ffcc6411d62370fc150e57071483 docs/Models/Requests/GetHotelRequestsRequest.md: id: 6dbca46fdff4 - last_write_checksum: sha1:1a68c99d641fbb041489b12e237888405759205c + last_write_checksum: sha1:6ef1b48f8c93e5b85e70a0106df579a63056137a pristine_git_object: 8fcce85920e9c00ebcacfc8c64aec3771396ffb2 docs/Models/Requests/GetHotelRequestsResponse.md: id: a66094f67eec @@ -6558,7 +6490,7 @@ trackedFiles: pristine_git_object: 15477f5368ce27243fba3d360ea4b56954e9eb39 docs/Models/Requests/GetHousingReservationRequestsRequest.md: id: e06ed406a21a - last_write_checksum: sha1:2917f20607e02262a9ec323d7bf876b1d48659bd + last_write_checksum: sha1:ac8702122338f6fcf7ce6c0a3355f609af72b772 pristine_git_object: b45dfdf0bbcec810ddfa505b467f1a3e555c5ba0 docs/Models/Requests/GetHousingReservationRequestsResponse.md: id: a98166c5824d @@ -6652,9 +6584,13 @@ trackedFiles: id: 119721fde6c2 last_write_checksum: sha1:2c6dce6b7c68d900e6a0fa2c56fb929621384dbd pristine_git_object: ae076307b2104fc712ed3fd3ceba2e94f87032f7 + docs/Models/Requests/GetMeetingRoomOverviewRequest.md: + last_write_checksum: sha1:e9333ff12993372c28fe5985bdb50c005ecb14a3 + docs/Models/Requests/GetMeetingRoomOverviewResponse.md: + last_write_checksum: sha1:4c51ebcb9ce474a4dbbf298b1ef7b83e302d1a66 docs/Models/Requests/GetOrderItemsRequest.md: id: a41806ab30f2 - last_write_checksum: sha1:c083d0e2d6153138d7791fde7d7b741a8c4672e6 + last_write_checksum: sha1:f7c784f5791d4f746853291135d0548c47ab8a0e pristine_git_object: baeea2ead8681e093bfe8b3eb1479efc193b4a53 docs/Models/Requests/GetOrderItemsResponse.md: id: 15435ae16ff0 @@ -6662,7 +6598,7 @@ trackedFiles: pristine_git_object: 1156091c74b6d8322078030ba4a052363a606c41 docs/Models/Requests/GetOrdersRequest.md: id: 63455677e14c - last_write_checksum: sha1:72d6323f1a846cff673a648fa3aeb5dc7e3b0f5c + last_write_checksum: sha1:ac551e69eec1a92e637ce6e5397a8938b1ef0556 pristine_git_object: fb43d6ce15a97834a356eaea48e140940cb9e8ec docs/Models/Requests/GetOrdersResponse.md: id: 101b3e002536 @@ -6910,7 +6846,7 @@ trackedFiles: pristine_git_object: 845a61b78dd03e413be8d3a382cac9d29fa5f357 docs/Models/Requests/GetStandardSurveyEmailTemplatesRequest.md: id: cdc6c2d7861b - last_write_checksum: sha1:bbb8dffde1dc47b49af8b85aa9a5ab0ef463cb1b + last_write_checksum: sha1:eac8b8fd2e8f51c4237c6fa9bb8e5fb3773be691 pristine_git_object: a2f5adac4d56df6d41fdf18ab3d4686b1c23b3aa docs/Models/Requests/GetStandardSurveyEmailTemplatesResponse.md: id: a42a44abba8c @@ -6918,7 +6854,7 @@ trackedFiles: pristine_git_object: 95ced6dc365d2b8a69c514c599bbdeaf77a769f8 docs/Models/Requests/GetStandardSurveyQuestionsRequest.md: id: 7e7075a38f7c - last_write_checksum: sha1:88f3141d2aec30222fb7523327a60947b5cfd902 + last_write_checksum: sha1:314f287efaad4039b79fb27b6d4d2c2cf74c0815 pristine_git_object: 874c49568630d3300c3d55883cd01c760b2203f4 docs/Models/Requests/GetStandardSurveyQuestionsResponse.md: id: bec9fecfe4e8 @@ -7072,6 +7008,10 @@ trackedFiles: id: d1e4416c3d2b last_write_checksum: sha1:7a176710d714109ba9d506cddd5a5767a7870d1e pristine_git_object: a511b88725d86767afb0be0f0286c4291a242fc0 + docs/Models/Requests/GetVenueDetailsOverviewRequest.md: + last_write_checksum: sha1:9dc65ab03453627f8ae908fc793fc65cc88865f1 + docs/Models/Requests/GetVenueDetailsOverviewResponse.md: + last_write_checksum: sha1:3d497166c550d8f2b9912e88bb56d57319f2b8eb docs/Models/Requests/GetVideoViewsRequest.md: id: 14adc10b0769 last_write_checksum: sha1:e4ad736d0ca1f541308a51daa42d99ebb90b6126 @@ -7206,7 +7146,7 @@ trackedFiles: pristine_git_object: 649ef8a999e30a452a69851936da0fc491e2786c docs/Models/Requests/ListAttendeesRequest.md: id: 5ed714be83ed - last_write_checksum: sha1:21a8b42f013d1154644d8251efca5cf18133ca84 + last_write_checksum: sha1:19f5ef72196bf8805b68b8223350e0add674f3be pristine_git_object: 8767adaa9f7cffbf7a453c57442db4080b057dec docs/Models/Requests/ListAttendeesResponse.md: id: 5adf17fb442f @@ -7262,7 +7202,7 @@ trackedFiles: pristine_git_object: 5c110b5835a73480287ba124a15dd974a80929b0 docs/Models/Requests/ListBulkJobResultRequest.md: id: 7ab415bbba87 - last_write_checksum: sha1:ef1431765471ebe0adc7810d893d768f4f2f6de7 + last_write_checksum: sha1:404534e86866e77142af52de6483f83e1d1304ed pristine_git_object: e8961043334217ed8981b949864f88761d28b5d5 docs/Models/Requests/ListBulkJobResultResponse.md: id: fb664b33d0a4 @@ -7394,7 +7334,7 @@ trackedFiles: last_write_checksum: sha1:2ddc7f570e352f44c38bf6890c6ff416b461e9fa docs/Models/Requests/ListEventWeblinksRequest.md: id: 44994d80351d - last_write_checksum: sha1:307930aa5bdd8a480da765e779c3ebc9175243c2 + last_write_checksum: sha1:34ffa488e3ce25cc3997f32f947fb9c1f2765f9e pristine_git_object: f21e07e27fc6233cad507567186fe7037dc06312 docs/Models/Requests/ListEventWeblinksResponse.md: id: 7ff51f3fe9ba @@ -7504,6 +7444,10 @@ trackedFiles: id: f2ca14155935 last_write_checksum: sha1:ee4c611722e8c00f7fb5ccbcba346d01b6936ba7 pristine_git_object: 505c2b80057b9143ae5ac8ad062ec990442269ea + docs/Models/Requests/ListMeetingRoomsOverviewsRequest.md: + last_write_checksum: sha1:a538ff45a59f9c802553812df623c277d86c71a6 + docs/Models/Requests/ListMeetingRoomsOverviewsResponse.md: + last_write_checksum: sha1:8594a706653e1e676ce7586d1f44fa018fbf0e53 docs/Models/Requests/ListMembershipItemsPostFilterRequest.md: last_write_checksum: sha1:473588c332e72ace57765d312dca7edfc990ffe8 docs/Models/Requests/ListMembershipItemsPostFilterResponse.md: @@ -7912,6 +7856,18 @@ trackedFiles: id: be01ca264d7e last_write_checksum: sha1:0c644c0731c3abc19ae055d57d6cf13362b26638 pristine_git_object: cfc8918cff6d94ad23b43890005d5e73bf68823e + docs/Models/Requests/PatchMeetingRoomRequest.md: + last_write_checksum: sha1:c74c6e576fa166af027a6093907eb3e93551f3e6 + docs/Models/Requests/PatchMeetingRoomResponse.md: + last_write_checksum: sha1:9fec29b058c98f88b954dc304acde40f49ae2506 + docs/Models/Requests/PatchVenueDetailsRequest.md: + last_write_checksum: sha1:141af9cfe7a7213ce0b20e27745883d5e68c5374 + docs/Models/Requests/PatchVenueDetailsResponse.md: + last_write_checksum: sha1:b55b2d2d3817cc1abd9b5d01f348e03558abc5c2 + docs/Models/Requests/PatchVenueFacilityRequest.md: + last_write_checksum: sha1:190032a1b105a30c5f796e2a8a60754a683b5097 + docs/Models/Requests/PatchVenueFacilityResponse.md: + last_write_checksum: sha1:6e59878aeb4f37cead0e554a2b472db589c44f63 docs/Models/Requests/PostBadgeRequest.md: id: 1943f1f59804 last_write_checksum: sha1:469a8a8a67fc92e6112a1bd8ba66f716bc93bf59 @@ -8362,12 +8318,16 @@ trackedFiles: pristine_git_object: 18c92e281bbd23f6456864a445961ab96abf1df6 docs/Models/Requests/UpdateMeetingRequestRequest.md: id: "332079331584" - last_write_checksum: sha1:a5cc79a105bda20dabd87cbb3bd6e538fe3bb809 + last_write_checksum: sha1:d46b91d5414ad2d1bb974bad9bbaf74c8deaf200 pristine_git_object: 7c2dbb63039e4778ef6e3b1337deb3e2ad5a6115 docs/Models/Requests/UpdateMeetingRequestResponse.md: id: af3641305532 - last_write_checksum: sha1:2b963aadfbfe9f7849019c0793782e9e5955faf5 + last_write_checksum: sha1:71d70b660bba5b4ad3c5be1e8cb3f902151abb83 pristine_git_object: acccb5978bea9b657314fa04345eb7912afa4bd1 + docs/Models/Requests/UpdateMeetingRoomRequest.md: + last_write_checksum: sha1:4c3c7d3d2b481f9e2f0b62e9730d1eff250c6f66 + docs/Models/Requests/UpdateMeetingRoomResponse.md: + last_write_checksum: sha1:08ed9f1de4369bef6bd3ec9e2e4af331a8f1d2fb docs/Models/Requests/UpdatePaymentRequest.md: id: c45f69aedea5 last_write_checksum: sha1:69238928e322be1c0161494713b10696e890b6e2 @@ -8488,6 +8448,14 @@ trackedFiles: id: 6fa52e73de43 last_write_checksum: sha1:ca300637a8614ecec1d367ea29e3ed709bcff1f2 pristine_git_object: 6c894b99cc7dca298e02dadc259341d9d308cb93 + docs/Models/Requests/UpdateVenueDetailsRequest.md: + last_write_checksum: sha1:758f6a22d37f1ca898f9fa1d523cbbaf2e204b26 + docs/Models/Requests/UpdateVenueDetailsResponse.md: + last_write_checksum: sha1:5cde06cc17942e88d15819bf14534072c16e8e5a + docs/Models/Requests/UpdateVenueFacilityRequest.md: + last_write_checksum: sha1:deaa325a896d13ef05b3ddb2627c0001b714c59e + docs/Models/Requests/UpdateVenueFacilityResponse.md: + last_write_checksum: sha1:ef286579fbe733c495387ea8cf2ad7d197b62ccd docs/Models/Requests/UpdateWebcastRequest.md: id: 97b5c924a190 last_write_checksum: sha1:33d848d4bb6c66eced47c8fb8348774e1f796b00 @@ -8514,11 +8482,11 @@ trackedFiles: pristine_git_object: 08cb1a25ddcbc42f372ec5f5b1cc8469803431bc docs/sdks/appointments/README.md: id: f122535fcc9f - last_write_checksum: sha1:0c6fc8f3c6932ff486635348d73072b0148d0ce6 + last_write_checksum: sha1:3163727f523cb4f88d16f925cd934349a7d43d97 pristine_git_object: 40505f4ea4c5a9f32dbd07df446b6215eadf4dec docs/sdks/attendeeactivities/README.md: id: ffb26672cefc - last_write_checksum: sha1:67d07ac36fedf639a87b78a9b9e90a35824b60dd + last_write_checksum: sha1:ae37788020b384df37bfaaecf917f1af93b4a378 pristine_git_object: 9a9ca331763782ff6989d1fe6a863b09aa26819d docs/sdks/attendeeinsights/README.md: id: e4a5b3af76fc @@ -8534,7 +8502,7 @@ trackedFiles: pristine_git_object: 309b429b5efc21e6dac3eda810410a5db0155fbb docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 - last_write_checksum: sha1:d5858b4e9246da45759fc0bbfc261552511d0d0f + last_write_checksum: sha1:13e2c7d50cd8909adb4b6d9ef75ac4ecbad0b3bb pristine_git_object: ca970b43ca92e0cb8eddf9d0f04a072fcdee273b docs/sdks/authentication/README.md: id: 45be241adfc3 @@ -8550,11 +8518,11 @@ trackedFiles: pristine_git_object: 95498659842985e2ec9b3e727b0d27e1bafb4f34 docs/sdks/budget/README.md: id: d80c75fe97ef - last_write_checksum: sha1:f074d418f348e293ebef47f07e6a1c5b9ff8bcf5 + last_write_checksum: sha1:d3d43142c153e2a2b783c28c9b31f8af44cdd86b pristine_git_object: 53a91b2b68035039b16cd37290f8d218462eab15 docs/sdks/bulk/README.md: id: fa4bd7a4682a - last_write_checksum: sha1:b7c7b2ef9e0cf1773792bb943ae24f4612184501 + last_write_checksum: sha1:aae4fcd3991e44579918d77aa2536c15dc97748e pristine_git_object: 4d706fcb345914cfb1fa370fcb0fec8fae121e10 docs/sdks/campaigns/README.md: id: 18dcc3c717ca @@ -8590,7 +8558,7 @@ trackedFiles: pristine_git_object: c30d58a39ef2ad8bc895a57f953124d4b748fe9f docs/sdks/eventfeatures/README.md: id: f5ab41640918 - last_write_checksum: sha1:20687b9b2363b08006e10aa14a2a116551a28007 + last_write_checksum: sha1:f8858cd67b45b4c8f7efe4c6672f727e88b7a7bf pristine_git_object: 608c053136f9612e6d3fa86e8ff492bf9a6b40d9 docs/sdks/eventrole/README.md: id: b10e2c12d0e8 @@ -8606,15 +8574,15 @@ trackedFiles: pristine_git_object: 5552dd2ba328f8dbf8dc09b9cb1ddae39ee4cc26 docs/sdks/eventtravel/README.md: id: d7533cadf8e6 - last_write_checksum: sha1:617b20b205e904b013f9f25c3db6e8a8c90c2165 + last_write_checksum: sha1:2528c3836d6539a12a190f05e60e219048a2ae8c pristine_git_object: 2c574599b73113a5907f3b8930afa57eff55b6a1 docs/sdks/exhibitor/README.md: id: cb0578099210 - last_write_checksum: sha1:c1b764037abb48caa7fb994e9e94ceb831b1384c + last_write_checksum: sha1:b0dd5aff3fdf087849e14734044b423ffb919ad4 pristine_git_object: 1074fee30b94d8183c83575f07b3da433ff94a28 docs/sdks/exhibitorcontent/README.md: id: 7cecd37f6b66 - last_write_checksum: sha1:a11fd0632119b292b39f5a206ce784111deece5c + last_write_checksum: sha1:2c7bdb7a7e2ff4ed0c1fe75f6fd6329975558efe pristine_git_object: 4dae9b04bb1569fa2a7606b625358fa1530e884b docs/sdks/exhibitorteam/README.md: id: f5b7c80d738e @@ -8642,7 +8610,7 @@ trackedFiles: pristine_git_object: e22b3188b967a497c5095aff8f03cab0310aaf43 docs/sdks/meetingrequest/README.md: id: 4d8d5f5fd977 - last_write_checksum: sha1:fcc33b36efe7a4e1494cc345023d0a471da575d7 + last_write_checksum: sha1:9a432d0a596b5b2aa84adf5776c4b93e561020e4 pristine_git_object: 2b7a21d84cc4510d71685da566e69b4eb2d138b3 docs/sdks/processform/README.md: id: 0d23c161e66c @@ -8678,7 +8646,7 @@ trackedFiles: pristine_git_object: 819fb5889b271959f7900ff5435a3be8f8154843 docs/sdks/surveys/README.md: id: b7f48111aedf - last_write_checksum: sha1:376658bc5204c47a828625b34fd8eed826e98a03 + last_write_checksum: sha1:6faccc65a9b6c0fa08e91f786d76fdc1bad9d303 pristine_git_object: ae2684f2a33f099beb12b907b03cb4954792ba45 docs/sdks/travelaccounts/README.md: id: 361add025274 @@ -8704,6 +8672,10 @@ trackedFiles: id: 50529a579425 last_write_checksum: sha1:e80105782c70088d5e6952b926273ffa62e378d6 pristine_git_object: 841ab56e8b0a3f4dc1b0143c61e0bf9a005a690c + docs/sdks/venuemeetingrooms/README.md: + last_write_checksum: sha1:dbafacef6b780b0af22e37f4f12bed7665694703 + docs/sdks/venueprofiles/README.md: + last_write_checksum: sha1:19998e140b57ac78e274137edda6e3f94cb17cac docs/sdks/video/README.md: id: 0b01dca84f9e last_write_checksum: sha1:509436113dd3c089cca52adfc8c60ed8c606f3d2 @@ -8718,7 +8690,7 @@ trackedFiles: pristine_git_object: ef3195af86a7d6ef1e34296c380fd52d85b696fd src/Cvent/SDK/Appointments.cs: id: e0ebdc9e2181 - last_write_checksum: sha1:f9ae888fa507cebf55984c5f36ed196510189aa0 + last_write_checksum: sha1:1a4a1b683d0586da1e7da731454aeeb92a879aa6 pristine_git_object: 6f5dc4d002c9657af0fadfced083a64502087469 src/Cvent/SDK/AttendeeActivities.cs: id: a940f266c449 @@ -8738,7 +8710,7 @@ trackedFiles: pristine_git_object: a3cd526a9a86ef8600b77fe5700ec9462a16157c src/Cvent/SDK/AudienceSegments.cs: id: 8ea605bfa719 - last_write_checksum: sha1:d4f3bebb1f6855ea2a8f19c049520f115dea9434 + last_write_checksum: sha1:8b1cd673f8447369893056ca243ff34cb183773a pristine_git_object: cd663f188cf769273acee47bf7512632946b0a54 src/Cvent/SDK/Authentication.cs: id: f90a858273bd @@ -8754,11 +8726,11 @@ trackedFiles: pristine_git_object: 992333e4b30b4492ce2d0930a5ff9eb03e1307b7 src/Cvent/SDK/Budget.cs: id: e352b9931ea6 - last_write_checksum: sha1:ae611c0acd6551b02e6511748d205ac5fd8f1c3d + last_write_checksum: sha1:7ae544a6c45ffbc08fced05e08897141ad4d3e8a pristine_git_object: f3d3768b336679e9ba7578ed51e14fe50a8365de src/Cvent/SDK/Bulk.cs: id: ac2ca01debc8 - last_write_checksum: sha1:899388bf42ee8524c70d22bd1a616a014622a75e + last_write_checksum: sha1:630c0f7ceec3a06b5964ddf42e2d27291a4917c3 pristine_git_object: 91dd13b7d76cfc0f4f7cc59a924879f8f92b1d9b src/Cvent/SDK/Campaigns.cs: id: f425e065b945 @@ -8782,11 +8754,11 @@ trackedFiles: pristine_git_object: 977cd7381c7598682830d6e4a64a85cb14130b98 src/Cvent/SDK/Cvent.SDK.csproj: id: 7a55759bc2f0 - last_write_checksum: sha1:14cdcef44f222f97f73bb186dfa639742cfce3da + last_write_checksum: sha1:d64cb49e1100af1f785fde2aee248b72962c011e pristine_git_object: 711013944bc0505858b0b7cf177f166071b47593 src/Cvent/SDK/CventSDK.cs: id: f7e1ad22cd8f - last_write_checksum: sha1:d293493e41a549cb1081df38c179f15b1528c8b4 + last_write_checksum: sha1:342fc0dd09886610185793ab2696b62e71ac8632 pristine_git_object: 73b691f7e3fc8c29322c3bac6169519066a92685 src/Cvent/SDK/Discounts.cs: id: 65ff3d7f6c89 @@ -8802,7 +8774,7 @@ trackedFiles: pristine_git_object: f21e3ce49c612dee119cc8ece20e979c15553e26 src/Cvent/SDK/EventFeatures.cs: id: 32572618f16c - last_write_checksum: sha1:a514161ecb6a9df85da23d336c66f1de2060802a + last_write_checksum: sha1:315268f79ec623635deddf58d8af59204c6b79ab pristine_git_object: 42ed1825b36d2872fa45c6d12f396c79f720c725 src/Cvent/SDK/EventRole.cs: id: 2517b38f0a52 @@ -8810,7 +8782,7 @@ trackedFiles: pristine_git_object: edfd34d648de349f3958e7fbea9e14f7b99aa8b3 src/Cvent/SDK/EventTravel.cs: id: d5493432a866 - last_write_checksum: sha1:4a27078b19f9fdee05fd571b532b1587a7bf6342 + last_write_checksum: sha1:b56e95ed0594a65fba25b4969e56a30295f0d538 pristine_git_object: a8b681cf4ef2300fc3896005e04884f778619289 src/Cvent/SDK/Events.cs: id: b96dbb23cc9b @@ -8826,7 +8798,7 @@ trackedFiles: pristine_git_object: 72e14329eb7c66548f48d2a2b185314a1c17b368 src/Cvent/SDK/ExhibitorContent.cs: id: bbd1732a6848 - last_write_checksum: sha1:836e1db04860367ad2fccdeef7c7db4eb8394aea + last_write_checksum: sha1:e81d1baf16291d5db3856ff5856ccfe274d350ae pristine_git_object: 24e681a649a1cff2588a43edda908c0f4e3a27a7 src/Cvent/SDK/ExhibitorTeam.cs: id: 4f989ed020c9 @@ -8846,7 +8818,7 @@ trackedFiles: pristine_git_object: 1937b5a9d23d666c998441dff6dfeb35f548e5a6 src/Cvent/SDK/Hooks/OAuth2Scopes.cs: id: ea272e98d50c - last_write_checksum: sha1:fa8990e76a99c3dc086f0df0b71b22ed96e90cc1 + last_write_checksum: sha1:327a6d033536bef067689056c9f61f72c11143d6 pristine_git_object: 55a8b501e50769ad517eb3b3fb5ed1cafcd038cc src/Cvent/SDK/Hooks/SDKHooks.cs: id: 0038e747490d @@ -8870,11 +8842,11 @@ trackedFiles: pristine_git_object: dfcfb0f9b1c88569e9f6110dbee82dc25ff538ee src/Cvent/SDK/MeetingRequest.cs: id: 5f343c314bf6 - last_write_checksum: sha1:6b456a3e8eb6eda26c8afe9fcf755d0b290416ae + last_write_checksum: sha1:9523e31a0b8c73d19a6779ca6f8e177e4950bcad pristine_git_object: ab4d871c869ae435b0148438a074c626d5bf7495 src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs: id: bfa3f73d3233 - last_write_checksum: sha1:f02686261b73e643b2a2a195cce7ff4fae787eac + last_write_checksum: sha1:b57dee81dd2f53036bad4281dd7b20d19f6d460c pristine_git_object: 5f2a0586c619c34598f23d894d7b8d20eeaab173 ? src/Cvent/SDK/Models/Components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.cs : last_write_checksum: sha1:ded18bff631de9270ed98af5e5f3453cf6766dbc @@ -8896,138 +8868,66 @@ trackedFiles: pristine_git_object: 464af42f0c8134f898ff68861303d589dfbc7556 src/Cvent/SDK/Models/Components/Action.cs: last_write_checksum: sha1:44d416d06cedf8d675d1c93a9562c2fd9f29f137 - src/Cvent/SDK/Models/Components/ActivityAdJson.cs: - id: 0d0b31605549 - last_write_checksum: sha1:a38b7baa576304234d33517acc79ded6a33ffade - pristine_git_object: 8a2971e8b07d58978133c409ae1478fa21758549 - src/Cvent/SDK/Models/Components/ActivityAppointmentJson.cs: - id: 3ae039e042c8 - last_write_checksum: sha1:d6c4b40f4fb2a69ae62f9b97a5b471cbff47977a - pristine_git_object: ad01eafb98bf72f0093626589568e824c336b98b - src/Cvent/SDK/Models/Components/ActivityAppointmentJsonAppointmentEvent.cs: - id: 1d85f77d2662 - last_write_checksum: sha1:24985a7deb04f33aad61e4fead3714dd352bf1be - pristine_git_object: c41bbd3d7f4c7cdc00930cec38cbab50e0123d6a - src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJson.cs: - id: 79a99aa164fd - last_write_checksum: sha1:1d50061a9ed40bac2546903720d41fc64a24183d - pristine_git_object: a77ef49c15798f41fbb588bb1a3d019de88ce331 - src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.cs: - id: fc9f7205c0de - last_write_checksum: sha1:57aeb3c53cbc06e45a5ae9fda81b2c3db22330a9 - pristine_git_object: 9c16bd0eae92ece8300a406f6350b1a5313f34d8 + src/Cvent/SDK/Models/Components/ActivityAd.cs: + last_write_checksum: sha1:a7b643dc2f68af60cc5e82fed1db2ca49dabaed5 + src/Cvent/SDK/Models/Components/ActivityAppointment.cs: + last_write_checksum: sha1:bc77cef854deb5883774b21b7b688113f0775913 + src/Cvent/SDK/Models/Components/ActivityAppointmentAppointmentEvent.cs: + last_write_checksum: sha1:c06f73bd016a3ddc16f13e66e345858412294aa7 + src/Cvent/SDK/Models/Components/ActivityBaseAppointment.cs: + last_write_checksum: sha1:e21edec7aa1a0782084e813e5d7ee11ed45ecc7b + src/Cvent/SDK/Models/Components/ActivityBaseAppointmentAppointmentEvent.cs: + last_write_checksum: sha1:d2c0c057a6f9515f83db5d082cef0f60fec744a8 src/Cvent/SDK/Models/Components/ActivityBoothStaff.cs: id: 1adf873a4a3c - last_write_checksum: sha1:2f08b3d5aa2ef0a786bbadfd4b432692f9a30f79 + last_write_checksum: sha1:28fbf8c0f1eb176c2550de9e405fd273dccfa0e4 pristine_git_object: fe589922bb7bfcefb385041f6ab17b8e2b83a5b8 src/Cvent/SDK/Models/Components/ActivityContact.cs: id: 4158f51f3a51 - last_write_checksum: sha1:46f607e2e7b8398404c72bd6fa4d4795f38d4146 + last_write_checksum: sha1:a047b5c98c92b275fb23d3186ba2b3c0aa98c58d pristine_git_object: b7b7c2e3b6d930e31dcad21b581fcc7c4fbc3dbe - src/Cvent/SDK/Models/Components/ActivityContactJson.cs: - id: 4eaeb24f0523 - last_write_checksum: sha1:38967cc87653176fc191dbd47b9ef75056ff1e02 - pristine_git_object: f7d32d1e96ff31c4befc750a92029f56d3f775bf - src/Cvent/SDK/Models/Components/ActivityDataJson.cs: - id: aaa947ea852b - last_write_checksum: sha1:314ab14b22140a0cf577c1fdc148f402d7c917ec - pristine_git_object: 24ae0e8f97f9e7bd2bc463f2739aab1042d8ded5 - src/Cvent/SDK/Models/Components/ActivityDataJsonAppointmentExternal.cs: - id: b971361e5c15 - last_write_checksum: sha1:fcbf6cf685e6511127e3ecae6f6294e98fc451b4 - pristine_git_object: 28b53170c0d4947e8276e9d9d5111db23653c9f8 - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent1.cs: - id: 140468cecbe3 - last_write_checksum: sha1:de56f95eeeb8b159fb347c0a9c15271449bb1819 - pristine_git_object: e3740ee6b89ed268fb2971ee84146d07406ce17c - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent10.cs: - id: 24f4427dcf31 - last_write_checksum: sha1:9680cdf4247157f58b847d5a29ead197618e1012 - pristine_git_object: f5a2fac06c0132fee8f87178f7868b5b52cf51eb - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent11.cs: - id: f1d1aed1b812 - last_write_checksum: sha1:cc22d8c3c280a1a2db883649631bcda7a8dfea84 - pristine_git_object: 01b690cd31782642128c7b30cb62f5e68bed7a02 - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent2.cs: - id: 1fc29f075853 - last_write_checksum: sha1:5d135ebc82654923d2ada2f8f3f6830d0a1874bc - pristine_git_object: e4476851fdd22ae4b7f4d65a5f693bd06ccab0a8 - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent3.cs: - id: aa8047e1c742 - last_write_checksum: sha1:a6594cd39cd0ed76b6adee4c558497b6d4058f32 - pristine_git_object: 742da87129d151d0168990dabc6af1f24b7037d9 - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent4.cs: - id: 9328514dc7fa - last_write_checksum: sha1:2383c5bb9fb32a2cf283561bf86bf93ac220ccab - pristine_git_object: 7627d6d3d80087eafc0df39df1141e1e936e6596 - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent5.cs: - id: 2f15b63d7e88 - last_write_checksum: sha1:76dbfedbb3df26a36c8153df6cc960e83058c38a - pristine_git_object: cf6e37c83fc9273fdfdc4cb62475292f921c90d6 - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent6.cs: - id: d8adc190848f - last_write_checksum: sha1:6daacd4c183417cf7fd82bc4781cfe2a057ac7d4 - pristine_git_object: dadcecedfb566a3b4a8bfcabd3e7f552ed834c36 - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent7.cs: - id: 12f810d3daa2 - last_write_checksum: sha1:982e8d79b277db171fe6713cb67a5294c9b8a0a4 - pristine_git_object: e0c6bbc278c74100c191f6f5760adad2941a53ff - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent8.cs: - id: 3cf2802f5856 - last_write_checksum: sha1:52974e7df2c26aeac176d557157ae1d5d8a81c16 - pristine_git_object: 2e2d46f25276a187b794740180c363a0990d285a - src/Cvent/SDK/Models/Components/ActivityDataJsonEvent9.cs: - id: c48f5fc1b162 - last_write_checksum: sha1:08e59c47aaf19b064cb392c286a835401718743a - pristine_git_object: 549fc7e75e1d02db0114e373e7e331acde049451 - src/Cvent/SDK/Models/Components/ActivityDataJsonEventExternal.cs: - id: 5e9203102829 - last_write_checksum: sha1:7f272bda3c941ad919cf4864ae313fee0b5c41fb - pristine_git_object: 1044b9154db4fa20e242bc719911aed0dc15e902 - src/Cvent/SDK/Models/Components/ActivityDataJsonExhibitorExternal.cs: - id: d7c5c01b9e45 - last_write_checksum: sha1:76dd5839f9dfdd556d9efcf0a7f6df8d561db624 - pristine_git_object: 59ea2e0d929625561f6c3f1cba35ffd8178b48e7 - src/Cvent/SDK/Models/Components/ActivityDataJsonSessionExternal.cs: - id: ef649d0514e4 - last_write_checksum: sha1:2acf553bd8d3ac5abeb0b16847bab31bb507c9b1 - pristine_git_object: ed51298572f0faa112d457850ff0f9edaf7b4b44 - src/Cvent/SDK/Models/Components/ActivityExhibitorDocumentJson.cs: - id: 5b435abc1717 - last_write_checksum: sha1:baf2777810cc6fe5cbb163e7be58ed0fa77a31f2 - pristine_git_object: 806e4e9ebafa8cb940c007ee36fe51e964aa8a26 - src/Cvent/SDK/Models/Components/ActivityExhibitorJson.cs: - id: cdf9ad9dbea5 - last_write_checksum: sha1:109fc0bda2759aca9595b610a54e9d5a5a7d6125 - pristine_git_object: 86af20c97d8477f531790490bfb6721250ccad18 - src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSourceJson.cs: - id: a2a04b60ef77 - last_write_checksum: sha1:0020b1ce8c7c611e296c8f0dc8c2823cb462ee77 - pristine_git_object: 9e0e3cd111d24286ada75e721fdc61f01cd6c145 - src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevelJson.cs: - id: fe23c8d10136 - last_write_checksum: sha1:0532a4ec591a0b90e6962aaa8846d3405a9b47c8 - pristine_git_object: 1ba1072c9daa1d4b9ccee1dbe935c18539fd24db - src/Cvent/SDK/Models/Components/ActivityExhibitorWebLinkJson.cs: - id: 33a57f6abe55 - last_write_checksum: sha1:de53b95e095f66058ce16765432c59bd16732451 - pristine_git_object: c038503280d4022612a90252197c341c0dffd6ad - src/Cvent/SDK/Models/Components/ActivityJson.cs: - id: 9b08a4fd9843 - last_write_checksum: sha1:aab9205bef499157bcf14f8f773fcab1398ba1df - pristine_git_object: a8b016f0bcc7c855937c93b04de86d7943073069 - src/Cvent/SDK/Models/Components/ActivityLeadJson.cs: - id: a6abb9224159 - last_write_checksum: sha1:597b3d6dcef49b83e77bbdbe325fc5cd1d4ed75b - pristine_git_object: f4c23aba6f8df71a0cbc82702ffd46c79ced0960 - src/Cvent/SDK/Models/Components/ActivityTypeJson.cs: - id: 1d31ef9f8d28 - last_write_checksum: sha1:0934c5116b9a96854da46c85b5291537a4429150 - pristine_git_object: c5d6e2f1b5c98128ccc230aecf87f3b147d6868d - src/Cvent/SDK/Models/Components/AdLocationJson.cs: - id: 111265ddcb74 - last_write_checksum: sha1:f8af32695154ae463aa68ccda7b70e7506433e13 - pristine_git_object: 2e869e4ccea9cf308caf96a6229f7af2e81dc48e + src/Cvent/SDK/Models/Components/ActivityData.cs: + last_write_checksum: sha1:3c2b014ddb3d22e13a5c3989c02cdc7ee4c8e1f2 + src/Cvent/SDK/Models/Components/ActivityDataAppointmentExternal.cs: + last_write_checksum: sha1:4c8adc9eda590613f1093da10312dd3864110e30 + src/Cvent/SDK/Models/Components/ActivityDataEvent1.cs: + last_write_checksum: sha1:879ffa35ece2c4a60438da206dd60b470d1122ff + src/Cvent/SDK/Models/Components/ActivityDataEvent2.cs: + last_write_checksum: sha1:2385af09a9d0508e147138b68adaaa1913900bad + src/Cvent/SDK/Models/Components/ActivityDataEvent3.cs: + last_write_checksum: sha1:21426509c7704e9a20387826c6cec3658f73c4d2 + src/Cvent/SDK/Models/Components/ActivityDataEvent4.cs: + last_write_checksum: sha1:3e96e7050cea7228841f46e440131efe7e5beeb7 + src/Cvent/SDK/Models/Components/ActivityDataEvent5.cs: + last_write_checksum: sha1:98c8b8e3b9682b8e3c09757729dff29a5ca48cd0 + src/Cvent/SDK/Models/Components/ActivityDataEvent6.cs: + last_write_checksum: sha1:fd3e1db7813a647a01aca26a2e46c4f30b379253 + src/Cvent/SDK/Models/Components/ActivityDataEvent7.cs: + last_write_checksum: sha1:83adbea76ad83926d9cce0e278aa3dfcc63f2a66 + src/Cvent/SDK/Models/Components/ActivityDataEvent8.cs: + last_write_checksum: sha1:13e7085007d4747a102201443a03bd894ef4c171 + src/Cvent/SDK/Models/Components/ActivityDataEventExternal.cs: + last_write_checksum: sha1:bb8da254a31068f7d34a748b48d0a61268df6d11 + src/Cvent/SDK/Models/Components/ActivityDataExhibitorExternal.cs: + last_write_checksum: sha1:b3884993936bc1dc369ca4f5f8d1122d848bf303 + src/Cvent/SDK/Models/Components/ActivityDataSessionExternal.cs: + last_write_checksum: sha1:67c13c94cf23391b878f28f0091b7f12d40cd050 + src/Cvent/SDK/Models/Components/ActivityExhibitor.cs: + last_write_checksum: sha1:f816a6601b5b36e90935cf751b532ed5000ab611 + src/Cvent/SDK/Models/Components/ActivityExhibitorDocument.cs: + last_write_checksum: sha1:eec440c8ae31382af1eaf8e45edd5fd43ea68822 + src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSource.cs: + last_write_checksum: sha1:0a91f20e20f72ca6908da5354e3bbb2d1aea57e8 + src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevel.cs: + last_write_checksum: sha1:2ce77f81e5a3af131916861a36852571b476d4a1 + src/Cvent/SDK/Models/Components/ActivityExhibitorWeblink.cs: + last_write_checksum: sha1:9340d51d36edc1c4057718808d563e94c7004b78 + src/Cvent/SDK/Models/Components/ActivityLead.cs: + last_write_checksum: sha1:d14aa428a186b4b1682af0e2668745058285ea3d + src/Cvent/SDK/Models/Components/ActivityType.cs: + last_write_checksum: sha1:ccc694bbdc1da246f81dc0d9cadea73da1e02721 + src/Cvent/SDK/Models/Components/AdLocation.cs: + last_write_checksum: sha1:900acd1c075a224707fd6fa69b9f3cb9f06be766 src/Cvent/SDK/Models/Components/AddOnJson.cs: id: 5fb5d7fcd38f last_write_checksum: sha1:4782486308844596efe2b2fcc656017bcb067b50 @@ -9062,6 +8962,8 @@ trackedFiles: last_write_checksum: sha1:e712f8b4b958830bc5de7e458572e3d6a73a297a src/Cvent/SDK/Models/Components/Address7.cs: last_write_checksum: sha1:2d5566cefbc6990fda639416bc7e221a4c47e681 + src/Cvent/SDK/Models/Components/AddressInfo.cs: + last_write_checksum: sha1:fc044367f04fdb6a03fef33919ba8ecb67c7bedf src/Cvent/SDK/Models/Components/AddressInput.cs: last_write_checksum: sha1:e6b041a60d71e90fa9106aef38bbfa0da4df066c src/Cvent/SDK/Models/Components/AddressJson.cs: @@ -9164,30 +9066,26 @@ trackedFiles: last_write_checksum: sha1:2a4d5799314aa0dc649c44b90144bbd6a3ee3b6c src/Cvent/SDK/Models/Components/Answer1.cs: last_write_checksum: sha1:99758143c515a154d476811dfbe751d3a9654f61 - src/Cvent/SDK/Models/Components/Answer2.cs: - last_write_checksum: sha1:e35c9a96700784ad12f7d8835ff10a64690b5c91 + src/Cvent/SDK/Models/Components/Answer21.cs: + last_write_checksum: sha1:2ff3e150a98a2403f00aa7525323455a37a8326e + src/Cvent/SDK/Models/Components/Answer22.cs: + last_write_checksum: sha1:471430ac0e1461ccb09c36fd87da48a4107cc2c9 src/Cvent/SDK/Models/Components/Answer2Choice.cs: last_write_checksum: sha1:b86cff087b859756261f54f9b037e903628b79ed src/Cvent/SDK/Models/Components/AnswerJson.cs: id: ad8cbb3dc646 - last_write_checksum: sha1:70a8c320cd439ffaebe5661f38f856dd40e3f845 + last_write_checksum: sha1:060ceef4fcf89869d421d5334a33bbc99fda85ae pristine_git_object: fa3eb20f09d75ab2c9cdd79322e735b9ffa02aa2 - src/Cvent/SDK/Models/Components/AnswerJson1.cs: - id: 97942f924cf3 - last_write_checksum: sha1:aae4287c77d6eab134f2ede3babc6a32199641a8 - pristine_git_object: ff6a3e1dec37565b119dd94d11b5b0054abed460 src/Cvent/SDK/Models/Components/AnswerType.cs: last_write_checksum: sha1:7981f31ef04efeb3189dc8965a7f3a6fe4b7770a - src/Cvent/SDK/Models/Components/AnswerType1.cs: - last_write_checksum: sha1:ffa849f8e677c9a5df1064e2ebe9bfaaa0a68827 + src/Cvent/SDK/Models/Components/AnswerType11.cs: + last_write_checksum: sha1:ebd9cbebe43098f89a23a084a7d81b1c37f16f73 + src/Cvent/SDK/Models/Components/AnswerType12.cs: + last_write_checksum: sha1:092a47de972a051e97cb39fa60f60e5b8fe52505 src/Cvent/SDK/Models/Components/AnswerTypeJson.cs: id: 8e81112f94dd - last_write_checksum: sha1:7da16310ec47e58d15dd499b64ada16b31405f6d + last_write_checksum: sha1:86faf98fee22c027ac1047dbef073dc0c034c31d pristine_git_object: 0f8bcc267e2674a6b27e8daeb37941251962af5d - src/Cvent/SDK/Models/Components/AnswerTypeJson1.cs: - id: 53d49d09bfc7 - last_write_checksum: sha1:64ec73878d89e23c2854e39f5114e7d054259b11 - pristine_git_object: 79a3c6efca85dc25614ee87c19b15e8189769a24 src/Cvent/SDK/Models/Components/Application.cs: id: 9cd37b1b4c59 last_write_checksum: sha1:d0b745fb6cbf528d185573ff74c00303f1779b01 @@ -9196,7 +9094,7 @@ trackedFiles: last_write_checksum: sha1:14d7f5e5f80940378fff2663ffa68d22374a86af src/Cvent/SDK/Models/Components/AppointmentAccepted.cs: id: 4baa27fe4fbb - last_write_checksum: sha1:0c902b236ed1b6826db5f4dab5ab7888c6ae6bd8 + last_write_checksum: sha1:75b2ca19bb0002361e591b4b2b9facab8462a509 pristine_git_object: 2e5d2757a79f2ef24ca1e1497cebfc5fd382acd8 src/Cvent/SDK/Models/Components/AppointmentAttendee.cs: id: f23f03432d5a @@ -9228,23 +9126,23 @@ trackedFiles: pristine_git_object: dc2b5b8169c218f8d16e80edd839ced7049e91c7 src/Cvent/SDK/Models/Components/AppointmentCancelled.cs: id: e89e340a3945 - last_write_checksum: sha1:dc226cc65eeea4c420e31eeba3da8beb57007a91 + last_write_checksum: sha1:cecd9a38362b82c0cf83b33f72bc2854f166bb3a pristine_git_object: 7a90b74b66b8a71b02968427cc9490b0bf527689 src/Cvent/SDK/Models/Components/AppointmentCheckedIn.cs: id: 46847df7c6ff - last_write_checksum: sha1:cb14140cfda7df49aca8ad97f3a2def4eeb119c7 + last_write_checksum: sha1:7f171b9a620fe69c5852a7cce09aded0188eadcb pristine_git_object: 82e64f3f51efaa5e81b6d2353e046a4308246f78 src/Cvent/SDK/Models/Components/AppointmentCreated.cs: id: 8bbe4cace7d6 - last_write_checksum: sha1:8bb8baa8767e1488e9d4b3dad9c5479caffa28dc + last_write_checksum: sha1:5ae2f557cebc5b411265c2e25575028d9410b3b4 pristine_git_object: 08ebb8ae40eeb2532294ef462a98b84997efce09 src/Cvent/SDK/Models/Components/AppointmentDeclined.cs: id: 3fb3ea6d473e - last_write_checksum: sha1:dcee8a7999ddd5ce817c77fa1b4bc93d3d61c859 + last_write_checksum: sha1:b0e0ab3c4fd2ba7ac84b416c720691e9f8a037e4 pristine_git_object: baca1b5cc24c0f18c150ffb96afc5b624bf60f0c src/Cvent/SDK/Models/Components/AppointmentDenied.cs: id: 37b1e0d884e1 - last_write_checksum: sha1:502122e1d916f6d843a482da4524e319c5e8ad48 + last_write_checksum: sha1:d0d6a4e13a13ae9be425483f67f18ccf0c332cae pristine_git_object: 24c6e2f2e1ae981cd5d94d8656ca226e74ae7155 src/Cvent/SDK/Models/Components/AppointmentEvent.cs: id: b6e82755039a @@ -9274,7 +9172,7 @@ trackedFiles: pristine_git_object: 37d8c1db90d4cd59d4f6cbd6124518c6fa1a5104 src/Cvent/SDK/Models/Components/AppointmentPaginatedResponse.cs: id: 2000ac8a5aea - last_write_checksum: sha1:a3a0c39d39cbbc90f438be96e2d48e2390279b21 + last_write_checksum: sha1:95fab1460c2edfec5cac4a95b04ae83a9266b871 pristine_git_object: 0ed49c4fb1a88aec35fbc38560a6b1f17c4ed992 src/Cvent/SDK/Models/Components/AppointmentParticipantJson.cs: id: 4c2e359c00d3 @@ -9286,7 +9184,7 @@ trackedFiles: pristine_git_object: 93eec485d34dea0d37512d68cd81c63581c947dc src/Cvent/SDK/Models/Components/AppointmentRescheduled.cs: id: c919ff69a53b - last_write_checksum: sha1:7f3b29a097d829d30282946bc44e6580e78340db + last_write_checksum: sha1:ad4a0548181274e20d93e3696d7a41c79e555f41 pristine_git_object: 212df06064cc447e603f5682acd2107fe07f4fbd src/Cvent/SDK/Models/Components/AppointmentStatusJson.cs: id: 1b7af060ecf7 @@ -9310,6 +9208,10 @@ trackedFiles: last_write_checksum: sha1:0840db56e4212ecbab9b76ff00f1bae3615b6652 src/Cvent/SDK/Models/Components/AppointmentWithQuestionsType.cs: last_write_checksum: sha1:5d95802259a5ec5dc86cd68aeae1a76e4703d962 + src/Cvent/SDK/Models/Components/AreaMeasurement.cs: + last_write_checksum: sha1:98f840cdceffdf88f0d6c641853a8e72a80f8bba + src/Cvent/SDK/Models/Components/AreaMeasurementUnit.cs: + last_write_checksum: sha1:85e102d05a4bf5307ea7109413fc79daef8fd88b src/Cvent/SDK/Models/Components/AssetLocation.cs: last_write_checksum: sha1:b9b7ed3c146f495d5238c6a4d75089efe158c667 src/Cvent/SDK/Models/Components/AssetLocationInput.cs: @@ -9327,7 +9229,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:9874ecff424037938a81165c77d7090aaea6a578 + last_write_checksum: sha1:b51f51141b520d46e9ddf41217a127596b207fe9 src/Cvent/SDK/Models/Components/Attendee12.cs: last_write_checksum: sha1:25c4d73dee550eb060c50a4054df720a470457b2 src/Cvent/SDK/Models/Components/Attendee13.cs: @@ -9342,8 +9244,10 @@ trackedFiles: last_write_checksum: sha1:d41c5a0a35673765af801af55de9e24abd2df751 src/Cvent/SDK/Models/Components/AttendeeActivitiesPaginatedResponse.cs: id: 6b0c3a3dd1ae - last_write_checksum: sha1:ba6b2316015091ba6db51d3436e5cae9700d647d + last_write_checksum: sha1:0371141905003e27beec87c95543ed6757fcc346 pristine_git_object: e6de0ebbb4e6406203710624273e62a98fa54dde + src/Cvent/SDK/Models/Components/AttendeeActivity.cs: + last_write_checksum: sha1:acd04cc261e50df488226136ad5f619a0dc3722d src/Cvent/SDK/Models/Components/AttendeeAdd.cs: last_write_checksum: sha1:c17cffede67bd272ba6784f0c8eefd6ce6ccbba9 src/Cvent/SDK/Models/Components/AttendeeAddAdministrator.cs: @@ -9360,7 +9264,7 @@ trackedFiles: pristine_git_object: 4901b021a5985921defa9defd33cf17950d85c1e src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs: id: c1030df0b9a5 - last_write_checksum: sha1:efeca3bba849ef07e7f958d221a47381da751cf7 + last_write_checksum: sha1:dded41944db3c0cdb6b1e6459cc47748ec68c278 pristine_git_object: c298381c7a75027663f84e4ab1ec0b778c1d60be src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJson.cs: last_write_checksum: sha1:572cc6035342eab798119f46628367b7a70f71f8 @@ -9405,7 +9309,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/AttendeeAudienceSegmentAssociationsPaginatedResponse.cs: last_write_checksum: sha1:33682762521dbe718f4ccc76379d02702d7c9d95 src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs: - last_write_checksum: sha1:b82a3572ee51c0251d4ce6f01780b4d7691696da + last_write_checksum: sha1:d0dc7cfa24b3179fff2eef53a19b3d5f3164f0c1 src/Cvent/SDK/Models/Components/AttendeeContactMembership.cs: last_write_checksum: sha1:148111409776bbb5cefab2c998f5d0e64665342a src/Cvent/SDK/Models/Components/AttendeeContactType.cs: @@ -9518,10 +9422,6 @@ trackedFiles: pristine_git_object: 0d5603d639b02a3a758e3e04c99403d811320321 src/Cvent/SDK/Models/Components/AttendeeStatus.cs: last_write_checksum: sha1:54de5cab455e75bf0581a14c864b25075c1d62ac - src/Cvent/SDK/Models/Components/AttendeeStatusJson.cs: - id: 6e8046635589 - last_write_checksum: sha1:75529c25ae4b3a6d73b4130300829e04d7b20597 - pristine_git_object: 6369fca14fdbec6c2f0e907ccbeb74f00b9857ad src/Cvent/SDK/Models/Components/AttendeeSubscriptionRequest.cs: last_write_checksum: sha1:57f9847130f87c04e3d443e8306111a650c066f5 src/Cvent/SDK/Models/Components/AttendeeSubscriptionResponse.cs: @@ -9696,26 +9596,20 @@ trackedFiles: id: 30dcffb91c11 last_write_checksum: sha1:d3bb1066c0ce2435b408f9fae43ff8cf612599c5 pristine_git_object: ca22b94cda908cf7f7cd55fd3f1df4a9b07cdbda - src/Cvent/SDK/Models/Components/BannerLinkTargetJson.cs: - id: b43f32353df0 - last_write_checksum: sha1:27dfa30b47ec2e3910cd78c05dcdeea0c5a9f2c0 - pristine_git_object: 522aa181f57f20f0e76849c858ba2674e1aabd4c - src/Cvent/SDK/Models/Components/BannerLinkTargetJsonType.cs: - id: ebeca2279e43 - last_write_checksum: sha1:6307d7e64a6d7d6e70c3f5a7e6ceadf7aa304551 - pristine_git_object: b7360684d892388cf9b35420bda559fae10f8915 + src/Cvent/SDK/Models/Components/BannerLinkTarget.cs: + last_write_checksum: sha1:1e01c46f3f83a61ad4ee598fae648788218bada5 + src/Cvent/SDK/Models/Components/BannerLinkTargetType.cs: + last_write_checksum: sha1:f1e42b306ba959d05bde8fefdb8dc05afa33b2da src/Cvent/SDK/Models/Components/BaseAddressJson.cs: last_write_checksum: sha1:90109cce289ea94dda1a38a1b8f14d368c2bb266 - src/Cvent/SDK/Models/Components/BaseAnswerJson.cs: - id: ed7bf500fe41 - last_write_checksum: sha1:99e0556e382edafc83099525a3fb1856e981a8f6 - pristine_git_object: 7fb61a2b0d7077651a8e819172a97c34d53e2bcc + src/Cvent/SDK/Models/Components/BaseAnswer.cs: + last_write_checksum: sha1:9cdd12168f30944bfa3224e31e2c3c6c52e0efac src/Cvent/SDK/Models/Components/BaseChoice.cs: last_write_checksum: sha1:5dd0e24fa6f4724d3b6d9d00dc4d44f106d59e18 - src/Cvent/SDK/Models/Components/BaseQuestionResponseJson.cs: - id: 87f6213c2631 - last_write_checksum: sha1:362802c7a38e336806b59176514a9a4a90531d0c - pristine_git_object: 4bf222f2b1763318837e9d9aed320977a356f70f + src/Cvent/SDK/Models/Components/BaseQuestion.cs: + last_write_checksum: sha1:60337af597e922cd01ac385dccb1ab8cf0f8a3b4 + src/Cvent/SDK/Models/Components/BaseQuestionResponse.cs: + last_write_checksum: sha1:6b2f1132ddd8ae8e6a432f266e983f07540add05 src/Cvent/SDK/Models/Components/BasicAuthentication.cs: id: f6610b633f94 last_write_checksum: sha1:99c8f7eabd70ff47e5ba9a29dfdf6c3a3da60f95 @@ -9725,7 +9619,7 @@ trackedFiles: last_write_checksum: sha1:f6c002b2a324da104c03f5929ad5917f94adb414 pristine_git_object: 9f674f6117c7ea9001ed8585b6ea9931de33dd59 src/Cvent/SDK/Models/Components/BidItemStatusType.cs: - last_write_checksum: sha1:11b82dacb546044db787323b44525b170ce6d152 + last_write_checksum: sha1:8daa4b03a87921b8847f3274f7b138ac5c69aabb src/Cvent/SDK/Models/Components/BidStatusType.cs: last_write_checksum: sha1:5289d5264d20930c2f4d979a435dfef038d609b2 src/Cvent/SDK/Models/Components/BidStayType.cs: @@ -9806,6 +9700,8 @@ trackedFiles: id: 8ff9292a8e29 last_write_checksum: sha1:1611d28d9820317bf4189adc01d144a51f84ffa8 pristine_git_object: 3a94324f05cb9cffcca2997790233c0a15bc350d + src/Cvent/SDK/Models/Components/BudgetCategory.cs: + last_write_checksum: sha1:92d9d6ed466e3581846573fdb7c3f2ff67185c77 src/Cvent/SDK/Models/Components/BudgetCategoryJson.cs: id: e8bd2860ddb8 last_write_checksum: sha1:9b0893c6a766d906b0d7f64e8ce85b61761b1f6b @@ -9818,26 +9714,24 @@ trackedFiles: id: 78d83139ac73 last_write_checksum: sha1:17590330397c5dfd77c9cb8752bbc459ac3731a1 pristine_git_object: de50c47ac0db7fbb33278758ec738b9f2a0bb2c6 + src/Cvent/SDK/Models/Components/BudgetCostDetail.cs: + last_write_checksum: sha1:fb61d23e80c176518421899f9a5d09bfed6b22eb src/Cvent/SDK/Models/Components/BudgetCostDetailJson.cs: id: a6f71ff4206b last_write_checksum: sha1:415fb8ec28a20a45565cea41bfa81b06637c25ed pristine_git_object: 21457b56bae95c9817e39b8b6887155918dc06dd - src/Cvent/SDK/Models/Components/BudgetCostDetailJson1.cs: - id: c29169e31adc - last_write_checksum: sha1:521872768c93918fdec1214f2e9fc2d20f3bb1dd - pristine_git_object: 93da7d67e67c459ef3e460ad44c78e49c4b8f090 src/Cvent/SDK/Models/Components/BudgetCostDetailJsonInput.cs: id: ab44f5eb611d last_write_checksum: sha1:9a02e99776fcced4a23b5fbb13f948ef22f5c75f pristine_git_object: 815e723dd87663e8c71891cb68ab4daf36fc7e63 + src/Cvent/SDK/Models/Components/BudgetCostType.cs: + last_write_checksum: sha1:7b160af9dd3a19720728da41be4777d9db66c0fb src/Cvent/SDK/Models/Components/BudgetCostTypeJson.cs: id: e9d416a9121e last_write_checksum: sha1:88fca4df76f74cb6aa7f91751ac6f64c62cc9f52 pristine_git_object: e97c5d8eb745341859ec17fbedd1e547ed04252c - src/Cvent/SDK/Models/Components/BudgetEstimateJson.cs: - id: 5d26ea318ac6 - last_write_checksum: sha1:e57e3e8c961069d0107f1ce67a7fcfce4b46155e - pristine_git_object: 2e1e48a8d1df4164a7446cbf45205a26ed42ccd3 + src/Cvent/SDK/Models/Components/BudgetEstimate.cs: + last_write_checksum: sha1:b893546ab7c58c95a4247496eebee8bfc1f9614a src/Cvent/SDK/Models/Components/BudgetGratuityJson.cs: id: 591fbb0bed73 last_write_checksum: sha1:90c0b8adde6faf12c0e0a2fbd8062e7a25a41708 @@ -9894,6 +9788,8 @@ trackedFiles: id: 32419ed5d69a last_write_checksum: sha1:3ecf6241e04d40ff4e03d1e5139951457c5d468c pristine_git_object: db422b0160e319916b066d15f1544c89687209c9 + src/Cvent/SDK/Models/Components/BudgetSubCategory.cs: + last_write_checksum: sha1:c7661fe67b172bf60caf9cad81fba555c4df7989 src/Cvent/SDK/Models/Components/BudgetSubCategoryJson.cs: id: e082e62c13c4 last_write_checksum: sha1:5c1e2ce29937eca53b5d8390bd8fb61a42513a81 @@ -9940,23 +9836,17 @@ trackedFiles: pristine_git_object: 750bd52f6429bfa1f3e153fc76f1072fa76515c0 src/Cvent/SDK/Models/Components/BulkData.cs: id: 93d089075a85 - last_write_checksum: sha1:1f42f36069d763251a92e74e8967b6cebda9da8c + last_write_checksum: sha1:1c427ce9e8c45d0ebeb9627f7847c99f2b932c04 pristine_git_object: 2410f841f67df33941178fb1a01dc9fd41ce5588 src/Cvent/SDK/Models/Components/BulkDataProperty.cs: id: a179aed80f7b - last_write_checksum: sha1:8e1d9f5c0e4b78cd1eb225238528f103aca61ed4 + last_write_checksum: sha1:e601c69c951fdfb7fba1808bc513b35b89c0bfa7 pristine_git_object: 8859a4ee01581d25df97ac74e7e4969ef9259e44 - src/Cvent/SDK/Models/Components/BulkDataPropertyJson.cs: - id: 1491cf2fc5f1 - last_write_checksum: sha1:b200c66797403f735419a096f65719f0ae2c5d37 - pristine_git_object: ba09875b817ebb4789c05214d7b4249ea403991e - src/Cvent/SDK/Models/Components/BulkDataRecordJson.cs: - id: e7ee7224ee4d - last_write_checksum: sha1:db4f80dc2ca500e8b8dfd0a7bcd087b45142e5ff - pristine_git_object: 94ed5c86305c215ccb047c903fe0258b105cc6d7 + src/Cvent/SDK/Models/Components/BulkDataRecord.cs: + last_write_checksum: sha1:0b2e561e14102ea2d46c843590f9b75718f58108 src/Cvent/SDK/Models/Components/BulkDataUploadResponse.cs: id: 6ce54b9487b6 - last_write_checksum: sha1:2ee20c5c615ad03795ad36ea5901853f07c10502 + last_write_checksum: sha1:5a66372d6354546be651f3480f7c954fad2dfa5a pristine_git_object: fa4d430aacb89bb404d9df8ee9c41992682e85bb src/Cvent/SDK/Models/Components/BulkJob.cs: id: 4a23616d15fe @@ -9972,11 +9862,11 @@ trackedFiles: pristine_git_object: 4c132b749df1c336e06a403b3d400640e0fdf167 src/Cvent/SDK/Models/Components/BulkJobWithData.cs: id: 6d5f60b02bed - last_write_checksum: sha1:3e870e19c78750837ff7e77197a69ad56d3478d5 + last_write_checksum: sha1:b4c97aba144438544730883d3f5b7e7d600716ba pristine_git_object: 5bf754b02dc9ac0c2b6f62fd3862b56d0494bc3d src/Cvent/SDK/Models/Components/BulkJobWithDataInput.cs: id: eeddcf0b4047 - last_write_checksum: sha1:925cc96ce2aec9f44308acb94b09cd31101c8db6 + last_write_checksum: sha1:06f6b17d900fe3650347faf1a2d4245e4dcb797e pristine_git_object: a7a328e25c7810fa7f52ce7a722d1286988cb8b3 src/Cvent/SDK/Models/Components/BulkJobWithDataOperation.cs: id: 5923032f6ead @@ -9986,13 +9876,13 @@ trackedFiles: id: f36d5ffd74e5 last_write_checksum: sha1:6f868f66dbd749f32211756a336b4ad428850b17 pristine_git_object: 18f0cb98693b508f520b5dfe6a3099709ce1f8bf - src/Cvent/SDK/Models/Components/BulkResultJson.cs: - id: a948a78d94b8 - last_write_checksum: sha1:a8a3244790495e10fea1f3aac20ed4771421238a - pristine_git_object: fa0aa71a962838e273ec2e9b15b33b9dc5e697d4 + src/Cvent/SDK/Models/Components/BulkResult.cs: + last_write_checksum: sha1:4d25bc6e602817611477b822d2adb6bdd5333d96 + src/Cvent/SDK/Models/Components/BulkResultBulkDataProperty.cs: + last_write_checksum: sha1:1ca3429d119ed69e8d65f4d241c09664e57c0891 src/Cvent/SDK/Models/Components/BulkResultsPaginatedResponse.cs: id: b24a1c22186f - last_write_checksum: sha1:43ac3487824571d183e6d825f0033c2fe9460da4 + last_write_checksum: sha1:4014319a12c641508461c032f37a6a8307499549 pristine_git_object: b41f69ffe2dedf9d2e6f7cf87c19389be70cdff0 src/Cvent/SDK/Models/Components/BusinessType.cs: last_write_checksum: sha1:ee0358f9237db285c7e6278635b29495bf50c16f @@ -10022,6 +9912,8 @@ trackedFiles: pristine_git_object: f36f80267b9fbd67674bf348ecff7a63bae3e256 src/Cvent/SDK/Models/Components/CancelledReason1.cs: last_write_checksum: sha1:f9c7146fd15d65ace185c2e592fd6dc0b66ea21e + src/Cvent/SDK/Models/Components/Capacities.cs: + last_write_checksum: sha1:e66eb4b8288a8e35be25c7448f53ad6f702de601 src/Cvent/SDK/Models/Components/Capacity.cs: last_write_checksum: sha1:df7efb3847103559873cc8192c6f983d41c874d8 src/Cvent/SDK/Models/Components/CapacityJson.cs: @@ -10069,7 +9961,7 @@ trackedFiles: last_write_checksum: sha1:b9042f48ed1d07d9b7f9d90989824f011501e074 pristine_git_object: 2c749871fe1ebdb5a72317a9aafc10c649965d78 src/Cvent/SDK/Models/Components/CardTransactionJson.cs: - last_write_checksum: sha1:d8c6122dcf5711a42d19717e7ce707993246517a + last_write_checksum: sha1:9bb3aca1bf9c8e572c51b4834c96d2123ae2c292 src/Cvent/SDK/Models/Components/CardTransactionJsonBudgetItem.cs: last_write_checksum: sha1:907ff4eee6146d9fb8d41f112a450a00329c481d src/Cvent/SDK/Models/Components/CardTransactionJsonEvent.cs: @@ -10110,6 +10002,8 @@ trackedFiles: id: ffa54f3b14e7 last_write_checksum: sha1:c73cfd15ebcd7f4e4b30fe369c2d522fc7a882b8 pristine_git_object: 59e1cf3e32911a5fcea2f7ee2913581937ac7968 + src/Cvent/SDK/Models/Components/ChainScale.cs: + last_write_checksum: sha1:16d577bbb3d290045ed27227fbe8465db912814d src/Cvent/SDK/Models/Components/ChangePassword.cs: id: 3ae805ccba3d last_write_checksum: sha1:dd4c0c949227102dde656ea7b79988f301f78bd1 @@ -10190,10 +10084,8 @@ trackedFiles: last_write_checksum: sha1:9caa68ed73174e826ac9c4644a023126b687ea1c src/Cvent/SDK/Models/Components/ComplianceScope.cs: last_write_checksum: sha1:da529d25616dac1d348045a9cf790f76a3b275e6 - src/Cvent/SDK/Models/Components/CompositeValueJson.cs: - id: d2fdd79333a7 - last_write_checksum: sha1:8da1105c5da6bc8e367719b9b0a6dfe3e3d86e2c - pristine_git_object: 2c01935430a8eac22457c89324ea75ddef3d75f3 + src/Cvent/SDK/Models/Components/CompositeValue.cs: + last_write_checksum: sha1:41ef877551ed78cfe171a320f555bb725e78822a src/Cvent/SDK/Models/Components/ConflictResolution.cs: id: e82d8f26c2c9 last_write_checksum: sha1:545c450ebb3dacdbadd715736c8b1a21044948ba @@ -10218,10 +10110,6 @@ trackedFiles: last_write_checksum: sha1:e775cb96360bae307ea8d5ee868e58157d62c8a1 src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs: last_write_checksum: sha1:9f9573d9bd417c8aac558b0caf3dbae752e57334 - src/Cvent/SDK/Models/Components/ContactCommonJson.cs: - id: 16b41ac55dcc - last_write_checksum: sha1:27fd698330fa52310d68113480332c7c3de5486d - pristine_git_object: c7bf41ca9ec10e66eb827b1f94db53de91f6f93c src/Cvent/SDK/Models/Components/ContactCreate.cs: last_write_checksum: sha1:e8d9ccda424b28b0cf90ed6ef20aa750fbbfc9ed src/Cvent/SDK/Models/Components/ContactCreateEvent.cs: @@ -10242,10 +10130,10 @@ trackedFiles: id: 8e7e2085012b last_write_checksum: sha1:9c4a9e2d205d9abb8d1a75c33aa0ae8b71e47a46 pristine_git_object: 7eac83a0d41fb79f634dde948369c1c62e2d1bc8 - src/Cvent/SDK/Models/Components/ContactFields.cs: - id: 4e4889bfe123 - last_write_checksum: sha1:f3bab00f72f40168d413753274bc98f37201ef78 - pristine_git_object: 83388dcec54df87d48cfb58a2edbf035fe443ca3 + src/Cvent/SDK/Models/Components/ContactFields1.cs: + last_write_checksum: sha1:a4bb42b27a071fdda481f87f32cbe291d3368d77 + src/Cvent/SDK/Models/Components/ContactFields2.cs: + last_write_checksum: sha1:92a5ef140f78f74a8c033f86accc8d64ff59cb86 src/Cvent/SDK/Models/Components/ContactFile.cs: id: 4164062cd137 last_write_checksum: sha1:9bde780f274a69c537d04303607ba088c71dae96 @@ -10346,6 +10234,8 @@ trackedFiles: id: e3f39083a701 last_write_checksum: sha1:3969449bb8b3ea41c13dcddd73589a6a7f9c79dc pristine_git_object: f8f3291c9c022bdf3c49529a17565a8faea4ba3f + src/Cvent/SDK/Models/Components/Country.cs: + last_write_checksum: sha1:43ac8f0dca642431f96a151aa8d18f8c27bcb51e src/Cvent/SDK/Models/Components/CountryJson.cs: id: 3357ba2b8724 last_write_checksum: sha1:e41ddd8b1c2ffca78d954788d9aceebf22ea6aad @@ -10412,6 +10302,8 @@ trackedFiles: id: 4faa3f6a2d1b last_write_checksum: sha1:94563b3159550ef22e27dec6c3344359027687d2 pristine_git_object: dbb75c938a358c357e860c909e69b3fb7311ece7 + src/Cvent/SDK/Models/Components/Currency.cs: + last_write_checksum: sha1:39703c591fb6f642c6ff1316b9ab4d48f73c9f00 src/Cvent/SDK/Models/Components/CurrencyConversionRate.cs: id: b34ab4b24730 last_write_checksum: sha1:01cf7baa7105ade281ed4bc66a90435d2b41ae37 @@ -10478,8 +10370,10 @@ trackedFiles: last_write_checksum: sha1:2381f5115fb201c02746583ccea11ea647df9c4c src/Cvent/SDK/Models/Components/CustomFieldJsonCustomFieldType.cs: last_write_checksum: sha1:2c223157d567dbd85625ef0694ca1d90379bbd1d - src/Cvent/SDK/Models/Components/CustomFieldSchema.cs: - last_write_checksum: sha1:42d256f41bbed5452ef5b721fbe860df5c03af36 + src/Cvent/SDK/Models/Components/CustomFieldSchema1.cs: + last_write_checksum: sha1:01b3ac685fbece11a90bba3c728805c6cdbf2548 + src/Cvent/SDK/Models/Components/CustomFieldSchema2.cs: + last_write_checksum: sha1:53d26eebfffeeb85135b4e7e3d69defe901d32a7 src/Cvent/SDK/Models/Components/CustomFieldSchemaCustomFieldType.cs: last_write_checksum: sha1:4b403b9d27d2f8a181b92c88dde5d6280c8db12e src/Cvent/SDK/Models/Components/CustomFieldType2.cs: @@ -10516,6 +10410,10 @@ trackedFiles: last_write_checksum: sha1:497fc71f2c2bb767944ee7ea67e71c6a238c4b97 src/Cvent/SDK/Models/Components/DeviceType.cs: last_write_checksum: sha1:9df34fcf189e59099f4e17b517be232121c6774c + src/Cvent/SDK/Models/Components/Dimension.cs: + last_write_checksum: sha1:e8b273ea71abb394b2c59afa6a90f76b18e77bff + src/Cvent/SDK/Models/Components/DimensionUnit.cs: + last_write_checksum: sha1:d7816a6884b5a09a6eaef9423e1bfd3bfc3cfe61 src/Cvent/SDK/Models/Components/DiscountAgendaItemsPaginatedResponse.cs: id: 6f9891bbb5e8 last_write_checksum: sha1:1814c6718b96ddd01eed295d607f7c736278f2a5 @@ -10542,6 +10440,8 @@ trackedFiles: last_write_checksum: sha1:5afd696adae454652a6cab40df5bd008e370ce2d src/Cvent/SDK/Models/Components/DistanceJson.cs: last_write_checksum: sha1:fa845892c4a5f8d6beec86b555ace5b923610952 + src/Cvent/SDK/Models/Components/DistanceMeasurementUnit.cs: + last_write_checksum: sha1:d4b7dc7e22bbd84e7a815651c7526fd5da6c9c38 src/Cvent/SDK/Models/Components/DistanceUnit.cs: id: cab1b23c7c4f last_write_checksum: sha1:d85b808aa492b5471649e69f533a0e1388de5308 @@ -10586,7 +10486,7 @@ trackedFiles: last_write_checksum: sha1:988a1a1eb778b265f4380f7769472e1e8e7517ad src/Cvent/SDK/Models/Components/EmailBounced.cs: id: e8eb119a31b1 - last_write_checksum: sha1:38c542162be9d2e1ef4e7d5baa0f2817d3da0d13 + last_write_checksum: sha1:f178df65bcdbce8656fae8610cc9811d89d6b48f pristine_git_object: d72e2e0122d1329a41d46c89d74d37438a09a1c4 src/Cvent/SDK/Models/Components/EmailClicked.cs: id: 99e0cb1840b8 @@ -10654,14 +10554,14 @@ trackedFiles: last_write_checksum: sha1:1322a9abc2ccdc9da50f9adf05e2351521e70543 src/Cvent/SDK/Models/Components/EmailUndelivered.cs: id: d4f44f9abdf8 - last_write_checksum: sha1:83cb7987bc33d7d267b71ad0bee1a2083631e02d + last_write_checksum: sha1:79516bee373d3713db0bd9da6dd09981fe7f0397 pristine_git_object: febe34b952b92aa4997dc14ab249957e5779be77 src/Cvent/SDK/Models/Components/EncodingProfile.cs: last_write_checksum: sha1:529f1fae761ef71aaaa860b03bfb82fa0898ebac src/Cvent/SDK/Models/Components/EntityType1.cs: last_write_checksum: sha1:3a2da8dc73c47b91c923b6bf6d0e4cae50e0ab87 src/Cvent/SDK/Models/Components/ErrorResponse.cs: - last_write_checksum: sha1:6fccce981fbfb5da10e363b4e58c0f29ce12f242 + last_write_checksum: sha1:7ec10cee794f567ed62f2de43e52785fd55c4f2f src/Cvent/SDK/Models/Components/ErrorResponse1.cs: last_write_checksum: sha1:092a91b8d443d2815656a39d6105d00399f052df src/Cvent/SDK/Models/Components/ErrorResponseBase.cs: @@ -10688,21 +10588,17 @@ trackedFiles: last_write_checksum: sha1:02bf3b6248216d93663bbb7dfc0d3d1d4237149d src/Cvent/SDK/Models/Components/Event3.cs: last_write_checksum: sha1:6b6a3464e547405763e427df517600850dcb7688 - src/Cvent/SDK/Models/Components/EventActivityDetailsJson.cs: - id: 6b2f1b56e3c0 - last_write_checksum: sha1:de430e4d1c65d115c9cafd5a0915048a1e7f9410 - pristine_git_object: b1a98e5e06a7f20345b0a131c94284ba38534aa0 - src/Cvent/SDK/Models/Components/EventActivityDetailsJsonInput.cs: - id: bf1ad4231bd6 - last_write_checksum: sha1:a620b8c8b6decdbf9fa9f4f9dd18c89e50b22624 - pristine_git_object: 7b37c237397140b72a3ef434aba52f64dd023002 + src/Cvent/SDK/Models/Components/EventActivityDetail.cs: + last_write_checksum: sha1:2d26623fe8b09899bdb3af54ccf5feabf50dde6c + src/Cvent/SDK/Models/Components/EventActivityDetailInput.cs: + last_write_checksum: sha1:c1f79c7afc9b603c74159042a3264b97bfc706fb src/Cvent/SDK/Models/Components/EventAdClicked.cs: id: 7167fad7015a - last_write_checksum: sha1:341202896c236b4f27dc871ac14d100dbdd39a87 + last_write_checksum: sha1:bc9d94b0d0c378594bb19b287a43b75f6e82bb4e pristine_git_object: b843fe395ed503ab2d2a3d87deb8c954833f553c src/Cvent/SDK/Models/Components/EventAdViewed.cs: id: 8af4f8403fcf - last_write_checksum: sha1:827bb867b1f7c707dca631eb0f6c1fa4e267d5b6 + last_write_checksum: sha1:273f03d0a1e22ac40433ad411a0d03910cbabb10 pristine_git_object: da8f78f53be3f1dfce6992619b6e08a3f76ed6de src/Cvent/SDK/Models/Components/EventAsyncResponse.cs: id: df0219e4f417 @@ -10730,11 +10626,13 @@ trackedFiles: pristine_git_object: e759bad4a86de1172260ca29efedd21ed80a06b3 src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs: id: 0fff5fd92c31 - last_write_checksum: sha1:7fe1c2f8edc5ac4e61757085bd7a99b550d138d6 + last_write_checksum: sha1:10df9f1a5688deacd794f34fb689168083bbcd8f pristine_git_object: 23189545e792e1e3618b62a36b8650d08d8b73f7 + src/Cvent/SDK/Models/Components/EventAttendeeSubstitutedEvent.cs: + last_write_checksum: sha1:e7429d35507d67f8cf2997f1e8d640e462e0e0bc src/Cvent/SDK/Models/Components/EventBannerLinkClicked.cs: id: ecb07c317851 - last_write_checksum: sha1:cf565a0a26644f388412a0857e0ba80599b01781 + last_write_checksum: sha1:af197ed7e2298d2c13afd168047976ebeaa1b9a8 pristine_git_object: e24796e68eeef0f78284bfc3d6f522033da9a2b2 src/Cvent/SDK/Models/Components/EventBudgetCostDetailJson.cs: id: e67d319c755e @@ -10754,11 +10652,11 @@ trackedFiles: pristine_git_object: 6f135638081aa7b1d0529ccf4de0b9bafe93a0fc src/Cvent/SDK/Models/Components/EventCheckedIn.cs: id: 65da41723508 - last_write_checksum: sha1:6bac1762dc32162cd50d392a874448d4d86e468a + last_write_checksum: sha1:540476cac6404e952f596d285a23ff742d961591 pristine_git_object: e998b9dafdc82b494a3010598c1af20a26c994d4 src/Cvent/SDK/Models/Components/EventCheckedOut.cs: id: 653a89a611cf - last_write_checksum: sha1:c73b0fb524c1b33c2fafc7da4daa88d99fe3bcd4 + last_write_checksum: sha1:9f6f31dbf631b51ce1ead09393124c7bd81fc8a1 pristine_git_object: e5adfeb4ee2604e023a2faed2a487c34664b7f9b src/Cvent/SDK/Models/Components/EventContactId.cs: last_write_checksum: sha1:2373638bd70734d3bdf2f5beb3bfc58739230eb2 @@ -10808,8 +10706,10 @@ trackedFiles: pristine_git_object: 203a8a33d4bd2f5b5381f2277452f648ef9aed35 src/Cvent/SDK/Models/Components/EventFeedbackSubmitted.cs: id: a14ad13f7199 - last_write_checksum: sha1:f11c676f259b65641034548c90f40ac8f1ca95ee + last_write_checksum: sha1:7992b0713a8338e863aafb526759cd753a494279 pristine_git_object: e7be38f241b67397281cc3fd15fa2a46f5d16cf6 + src/Cvent/SDK/Models/Components/EventFeedbackSubmittedEvent.cs: + last_write_checksum: sha1:83f211aa5ddbe864ca6145b0f6cc13b4ead1f404 src/Cvent/SDK/Models/Components/EventFormatJson.cs: id: b97a635fc2ff last_write_checksum: sha1:648d87d94683ccadbdc2911cf286d28e82fd3fbc @@ -10822,6 +10722,8 @@ trackedFiles: id: 7fe46952c48b last_write_checksum: sha1:1e14efb5b366d9689752d7fd58cf0c56be727afe pristine_git_object: 3b581221c6734962cc3acb1c4cd406cdaa5404d1 + src/Cvent/SDK/Models/Components/EventInsurance.cs: + last_write_checksum: sha1:f7d682ff39962a953b20b4d800927fc95fb92f7d src/Cvent/SDK/Models/Components/EventJson.cs: last_write_checksum: sha1:1fde40afc94011afdba755e04133054b39f67950 src/Cvent/SDK/Models/Components/EventJson1.cs: @@ -10844,14 +10746,16 @@ trackedFiles: pristine_git_object: 923ded4de2957d8dfd37cce37a46e508e1075c80 src/Cvent/SDK/Models/Components/EventNoShow.cs: id: 5d1025a5b5d1 - last_write_checksum: sha1:e8ced55db123bcd39e3877ad1e39bb2cbd066a03 + last_write_checksum: sha1:16433c1a9e8693c234a890e9be7188e66a26fcf7 pristine_git_object: 361015e3f9f03221f8ec08f57bc265e573969b0c src/Cvent/SDK/Models/Components/EventOrganization1.cs: last_write_checksum: sha1:7f214e6fcbd9a0057b8a49e75ef59644c8e4a742 src/Cvent/SDK/Models/Components/EventPageVisitTracked.cs: id: 5a6a659bfc22 - last_write_checksum: sha1:fb36e21a969ac3ec700332323fbc0cd9af41b792 + last_write_checksum: sha1:6207cd2865a96618efb3653bac5890ceea29e0c2 pristine_git_object: 5cb186a3daa4bfe194b88c65f3ca9272a9506e7b + src/Cvent/SDK/Models/Components/EventPageVisitTrackedEvent.cs: + last_write_checksum: sha1:94bb7d41d08a96e758c8a43278d5441bd7247af8 src/Cvent/SDK/Models/Components/EventPaginatedResponse.cs: id: 64eb540f91af last_write_checksum: sha1:e83cb42bd0f68819e7ded853371c0c77861c1df8 @@ -10864,7 +10768,7 @@ trackedFiles: pristine_git_object: 2b0124d5681c9f15340b1144bdd6807ed327c978 src/Cvent/SDK/Models/Components/EventQuestionJson.cs: id: d6cca10f9c01 - last_write_checksum: sha1:93c66a6fd966e7ea66fab7a08a4345796f9ac1d3 + last_write_checksum: sha1:989f0aaac62d5d9ea8c199defbaf51625ae4b8e9 pristine_git_object: 93d5e013b87807be22fadbfc3da5ff830135b9e6 src/Cvent/SDK/Models/Components/EventQuestionJsonAdmissionItem.cs: id: ec301cf3194a @@ -10880,40 +10784,34 @@ trackedFiles: pristine_git_object: 7a3483b66681bfa5d4ca8b1cfe85ce2d84793be2 src/Cvent/SDK/Models/Components/EventRegistered.cs: id: 7b9be6dccce0 - last_write_checksum: sha1:5b921c31bb4159482efe49a962ef5abae10bfdca + last_write_checksum: sha1:097ef64e5c1ce5d3a4d9db1a1f7c8ff989ff46c3 pristine_git_object: e2f3567518f5ebd16e80f9a404f6dd270b50d623 src/Cvent/SDK/Models/Components/EventRegistrationAbandoned.cs: id: d13c3db817f0 - last_write_checksum: sha1:a641590f0302d9372609cc74668509d92780518d + last_write_checksum: sha1:07848dad171f76adf6bdc2c59f7e2a6bd5721878 pristine_git_object: 6f257b9d6a6117b1cb43b548abc8c93e9839301a + src/Cvent/SDK/Models/Components/EventRegistrationAbandonedActivityContact.cs: + last_write_checksum: sha1:6c89f6150a9252e834c6d0edbf1991db1f92e51c src/Cvent/SDK/Models/Components/EventRegistrationCancelled.cs: id: d6f8cdff7844 - last_write_checksum: sha1:ac8c5e2189760b6395e09a2e5d8e62114cc12658 + last_write_checksum: sha1:834a3e5e96afeb143a54e9e25617855d09fdee63 pristine_git_object: 51099073ed23698a92c26947d521dc8dce143436 - src/Cvent/SDK/Models/Components/EventRoleAssignmentJson.cs: - id: c1d3374e35de - last_write_checksum: sha1:eb7891fc88e22d3c014e8502aecb6f5ffb6348b5 - pristine_git_object: 4cb63148a1dbcfc9a9f23c44d82b4342aadaa7bb - src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonEvent.cs: - id: a3ae529968d2 - last_write_checksum: sha1:87c70d62bac3e7ee97998b282647342164fd3984 - pristine_git_object: 9ed1967b63ae34ccef1b67ec3c7fba33df2233ce - src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonUser.cs: - id: 7c18298c613e - last_write_checksum: sha1:121cdd2d78875558a886c9edf10a9cfa776ffd07 - pristine_git_object: 888fc21f211e54933bb620089669b6fa2995669c + src/Cvent/SDK/Models/Components/EventRole.cs: + last_write_checksum: sha1:096bbbca9c13ebad350bedc2f763dace1a5bb147 + src/Cvent/SDK/Models/Components/EventRoleAssignment.cs: + last_write_checksum: sha1:c9358b41c460677a178033c668eca8c10b37b18e + src/Cvent/SDK/Models/Components/EventRoleAssignmentEvent.cs: + last_write_checksum: sha1:e03bca562ee31e494a7e5b7604f84b48bb804f2d + src/Cvent/SDK/Models/Components/EventRoleAssignmentUser.cs: + last_write_checksum: sha1:6b22479514dbfec362705ad7b1d73a9073b093cf src/Cvent/SDK/Models/Components/EventRoleAssignmentsPaginatedResponse.cs: id: db58a50c7942 - last_write_checksum: sha1:810f419f15c06a31ce4926ea0bff9ac149c9633f + last_write_checksum: sha1:fb33e75a3464a98d87f6e8d22a635077131f917b pristine_git_object: 316836c905571cdabe5b6905b66de95a3537db85 src/Cvent/SDK/Models/Components/EventRoleExpand.cs: id: be22b5131f7b last_write_checksum: sha1:e127881b77e0dcf137d7046a5ebb5a99876bdcc3 pristine_git_object: 3a1186def7910c2d69ef679b0ec964fe8bf52e37 - src/Cvent/SDK/Models/Components/EventRoleJson.cs: - id: 5a7aa3c7fce5 - last_write_checksum: sha1:897e172a3324dc98462a066f65c1ccfd075015e9 - pristine_git_object: 28a4fe469c58a589c38a27eaa5375a90e98c1bb8 src/Cvent/SDK/Models/Components/EventSecurityLevelJson.cs: id: b1ddd2e67de0 last_write_checksum: sha1:7517cf4762f2fdf087131d54f60fb9e717bd0fa0 @@ -10940,7 +10838,7 @@ trackedFiles: pristine_git_object: e6cc9528e07b9eee9ae21c5579a64611160e31ae src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs: id: c403f1c579c2 - last_write_checksum: sha1:9d6798361e8373d08d769aed7c57f1127ecc5523 + last_write_checksum: sha1:4727b15ddece0ea6ba832bce61bdec4ec6a2dfef pristine_git_object: 592ecf2945aee4d64b42e8b06bcae99f4a9173a4 src/Cvent/SDK/Models/Components/EventSurveyQuestionsPaginatedResponse.cs: id: 2104f002c5de @@ -11020,7 +10918,7 @@ trackedFiles: pristine_git_object: 4d3fe02df1592fcef4f48d7986a3e171e361fb7c src/Cvent/SDK/Models/Components/EventWaitlisted.cs: id: d49197ecc46e - last_write_checksum: sha1:a884adf1dc24aa350134f229357d1eea626d072a + last_write_checksum: sha1:a1ddc9ec68e7e4ccbc3768bea5728f530fbb6fa0 pristine_git_object: 348d7a75d2241fb2cda11be30ad15b4a22216f98 src/Cvent/SDK/Models/Components/EventWeblinkJson.cs: id: 92cedd29f4fa @@ -11032,8 +10930,12 @@ trackedFiles: pristine_git_object: e1aee4ed522a834516ca26b0e779a07ba883b23f src/Cvent/SDK/Models/Components/EventWeblinksPaginatedResponsePaging.cs: last_write_checksum: sha1:c85a7cb45cf88479d030f6d45aef7c7a882d40d8 + src/Cvent/SDK/Models/Components/ExhibitLayoutType.cs: + last_write_checksum: sha1:4609dc25ea0f352f256ddea24f023b6d62a15666 src/Cvent/SDK/Models/Components/Exhibitor.cs: last_write_checksum: sha1:707bc65440220e71e96b62ea3ea1cab080c23554 + src/Cvent/SDK/Models/Components/Exhibitor1.cs: + last_write_checksum: sha1:e923763a98b9de11f9c53540b4af796d437441a8 src/Cvent/SDK/Models/Components/ExhibitorAdminRequest.cs: id: dedfd8476d1f last_write_checksum: sha1:341aee22ee35efd776aa7f98d41a3ca715c8454e @@ -11102,7 +11004,7 @@ trackedFiles: pristine_git_object: cb43ecf5dc42d3ab42e9e264ac2b9dc636f33741 src/Cvent/SDK/Models/Components/ExhibitorDocumentOpened.cs: id: 1e2cdb87017d - last_write_checksum: sha1:d0f33471cdfc44fa498bfd5d616cf4e55ba1b9b7 + last_write_checksum: sha1:9ce8fc735484d9995a0342459f21b857020c8fef pristine_git_object: d521e4e2f6281b735870d8ebc8a48929e0783770 src/Cvent/SDK/Models/Components/ExhibitorId.cs: last_write_checksum: sha1:ef6bf67ffad383fc5c8d00a14092098a8a7134ce @@ -11110,10 +11012,6 @@ trackedFiles: id: 4fbd2ae2e860 last_write_checksum: sha1:ea9002b81449d4d5037a8d710636193220fab8b5 pristine_git_object: 1a8b9f4768d44a6deb72995076d1e50af95b6346 - src/Cvent/SDK/Models/Components/ExhibitorJson.cs: - id: bf9f320cfd18 - last_write_checksum: sha1:e5e96ed68084e21142bf7336a08f620063168b39 - pristine_git_object: bdd4d24fad4596261b7a337c1d5b465a2ef2713f src/Cvent/SDK/Models/Components/ExhibitorQuestionType.cs: last_write_checksum: sha1:f6c3bde449d26bb5cb1f851af9dde22405389aae src/Cvent/SDK/Models/Components/ExhibitorQuestionsResponse.cs: @@ -11134,19 +11032,19 @@ trackedFiles: pristine_git_object: f605aa98c00a95ba721969836335b16ece306e0a src/Cvent/SDK/Models/Components/ExhibitorSocialLinkOpened.cs: id: c37adb32bd51 - last_write_checksum: sha1:7353b04d42da858099210ef772dacf4f4ad02a22 + last_write_checksum: sha1:f87e3a3ac896f58b7a20b3803c4984e2139091b0 pristine_git_object: 19421b81911e434c18be71b569dc125d2d8e8ae2 src/Cvent/SDK/Models/Components/ExhibitorViewed.cs: id: cc7afc4e4828 - last_write_checksum: sha1:e5286b68b91ddb54816c7a7dd3e9ffa61c458479 + last_write_checksum: sha1:b93d233d0096558421f9a7e787db6762fbfc332d pristine_git_object: ece3632915f49193214c081b0859aa7932d76528 src/Cvent/SDK/Models/Components/ExhibitorVirtualBoothJoined.cs: id: f14c5e9f24ad - last_write_checksum: sha1:420dd181742a2e4e9a44c795767d823d81063b55 + last_write_checksum: sha1:d1a55bdbb23ce1327a5f22413c46966234634f71 pristine_git_object: d9e5be139363191f3c3831289afff7975d848cbb src/Cvent/SDK/Models/Components/ExhibitorWeblinkOpened.cs: id: ea1f26c6bdf8 - last_write_checksum: sha1:4f2b473fdc792df2e8644fcb56fe33c8722985e2 + last_write_checksum: sha1:8f82964815826436f0176be772e389810938bd19 pristine_git_object: 7f32d889e1e27ef1f33792a3e57d4502bf20fb2d src/Cvent/SDK/Models/Components/ExhibitorsEventCopyOverride.cs: id: a6b78e8cb124 @@ -11233,9 +11131,9 @@ trackedFiles: src/Cvent/SDK/Models/Components/ExistingELiteratureRequestDataForLead.cs: last_write_checksum: sha1:021a950d56077b9fff6cfb6a7653c5e4c0ead488 src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs: - last_write_checksum: sha1:7d58ec407cfd4062b72ced6a1fa21ea7114be9c8 + last_write_checksum: sha1:47ef22b676ebe8292ef2adec2e5f7a668d9d1b54 src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs: - last_write_checksum: sha1:1965f11ce8d11afcf71a5b36dcf171843bdc3f0f + last_write_checksum: sha1:d7cc325e618dfa03cb206291a73b91f85c20500b src/Cvent/SDK/Models/Components/ExistingExhibitorQuestion.cs: id: 2d3fdf89b04d last_write_checksum: sha1:9b232abc5aa6599023682bd203a0144837a46e9a @@ -11246,8 +11144,16 @@ trackedFiles: pristine_git_object: d2240e2220f930ff27a977e2b695971a7ad7e7db src/Cvent/SDK/Models/Components/ExistingHub.cs: id: 887e4731926c - last_write_checksum: sha1:e1ac4d96742dfc22f7544990f9b6f917e408da2f + last_write_checksum: sha1:01a074e861d81ff157c7b0d06f2a62e784e40910 pristine_git_object: 8dad8891371af62f9985920ec2ba691f284876d0 + src/Cvent/SDK/Models/Components/ExistingMeetingRoom.cs: + last_write_checksum: sha1:965c49df0f89093da87dddfc08627b076319da2a + src/Cvent/SDK/Models/Components/ExistingMeetingRoomDimensions.cs: + last_write_checksum: sha1:b987de411bc6f6bbaa4163926280cad1c877b135 + src/Cvent/SDK/Models/Components/ExistingMeetingRoomInput.cs: + last_write_checksum: sha1:9da5f95b619ac6d366de3802baa56f139455a272 + src/Cvent/SDK/Models/Components/ExistingMeetingRoomRates.cs: + last_write_checksum: sha1:0134e1ffcb46228125a6abae766c414cc4a0bdc6 src/Cvent/SDK/Models/Components/ExistingMember.cs: last_write_checksum: sha1:5f345d55568150a39d69f2b47a8f16568b3680a9 src/Cvent/SDK/Models/Components/ExistingMemberLink.cs: @@ -11324,6 +11230,26 @@ trackedFiles: id: 93aace9e468e last_write_checksum: sha1:b3bfc46b7c0edc67096e08744ad8fbdac8a874a4 pristine_git_object: 8447e628f3db64dfde0477784bfdf3f2d744f294 + src/Cvent/SDK/Models/Components/ExistingVenueDetails.cs: + last_write_checksum: sha1:f5ef3aa2cff6d3aa709ba6a4fff2fc0b82445228 + src/Cvent/SDK/Models/Components/ExistingVenueDetailsInput.cs: + last_write_checksum: sha1:786ee3a4b60aefdbbdf76147c3cc17500b3a4635 + src/Cvent/SDK/Models/Components/ExistingVenueFacility.cs: + last_write_checksum: sha1:573c80287c486e62f7e7d0f13994ee8feaa5b583 + src/Cvent/SDK/Models/Components/ExistingVenueFacilityDoubleRate.cs: + last_write_checksum: sha1:081494933265fc66911852e103069b267ca64b0f + src/Cvent/SDK/Models/Components/ExistingVenueFacilityInput.cs: + last_write_checksum: sha1:d7347eba954f4155686666882b7f3902591dfeb0 + src/Cvent/SDK/Models/Components/ExistingVenueFacilityMaximumCapacity.cs: + last_write_checksum: sha1:f737e805cf17b8cca58598b3aaf4c06d507bce26 + src/Cvent/SDK/Models/Components/ExistingVenueFacilityProximityFromAirport.cs: + last_write_checksum: sha1:c7736a7787ab5a4cee57ddf0e8d899c83ed1a555 + src/Cvent/SDK/Models/Components/ExistingVenueFacilitySingleRate.cs: + last_write_checksum: sha1:fe2d220e8adce6813ddd65285b7102c35aaf3e97 + src/Cvent/SDK/Models/Components/ExistingVenueFacilitySleeping.cs: + last_write_checksum: sha1:3c1b611617e152281bb2e591a75cb651fb5314a3 + src/Cvent/SDK/Models/Components/ExistingVenueFacilitySpace.cs: + last_write_checksum: sha1:8606c14716bd4ed0a3b0d3a16895c2f919b66e2f src/Cvent/SDK/Models/Components/ExistingVideoResponse.cs: id: d95fe9d5ade7 last_write_checksum: sha1:85753b7e367ff7b9375aa2a7ab644a0a9362b15c @@ -11394,54 +11320,40 @@ trackedFiles: id: 727365ed6dc7 last_write_checksum: sha1:986665d052efe3b11a58a74bdd7445bbcc8007cd pristine_git_object: 83a7069121a11b4d15a9d36b49bf6a77d51c4469 - src/Cvent/SDK/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.cs: - id: 8b8efff4440c - last_write_checksum: sha1:0ff7a15bdc3b0d99dcad18d3c75a6f98bfdcde7e - pristine_git_object: fbcee50915e6538fb13f67fd0104456e70fc4092 src/Cvent/SDK/Models/Components/ExternalActivity.cs: id: 82c82fee5af7 - last_write_checksum: sha1:9a754f941ad8a91906520bfce7071f97f74467b5 + last_write_checksum: sha1:e9adefd6904c58872d63a4ea6ead6d5bdf38d06d pristine_git_object: 93e801d46ab69bdc4ff64526325d47ded1cc5896 - src/Cvent/SDK/Models/Components/ExternalActivityDataJson.cs: - id: 3389f945888b - last_write_checksum: sha1:4de935b4ed8e26374e17194a69a86fe7dbe06a76 - pristine_git_object: d19dc5bec5a292b083c19c4e934f07d93b1c3bbd - src/Cvent/SDK/Models/Components/ExternalActivityDataJsonAppointmentExternal.cs: - id: 2ced9b6292a1 - last_write_checksum: sha1:bcfb50f6c34b32b52a0b4373a2cdd83262a184c2 - pristine_git_object: c0be254633dc60cec9eb4f40cc62b5730986409d - src/Cvent/SDK/Models/Components/ExternalActivityDataJsonEventExternal.cs: - id: 2ed1e3a39f4d - last_write_checksum: sha1:bc7dd68aa93c2d6d6d7e431ed130fec1ec6e0c66 - pristine_git_object: 7267790957d39c1db3471ca1599af21f8a8ed8ff - src/Cvent/SDK/Models/Components/ExternalActivityDataJsonExhibitorExternal.cs: - id: d4d31e0c85fe - last_write_checksum: sha1:a421d0c1fc0d3de0c1015d1452c52a966fa0faad - pristine_git_object: a4260544723917602a2b4407d20f25eba8519859 - src/Cvent/SDK/Models/Components/ExternalActivityDataJsonSessionExternal.cs: - id: 73bc8f6bd385 - last_write_checksum: sha1:dd9ac6e27890cc961fed033fa28cc7bf31d3214f - pristine_git_object: bd049e37a98fe513ae2beadfc2c383403f851402 + src/Cvent/SDK/Models/Components/ExternalActivityAdditionalFieldsMetadata.cs: + last_write_checksum: sha1:52427802c26ae54b7985a79650f74a861fddb54c + src/Cvent/SDK/Models/Components/ExternalActivityData.cs: + last_write_checksum: sha1:a475834a48342b0ba6ee966922b3d169dc905657 + src/Cvent/SDK/Models/Components/ExternalActivityDataAppointmentExternal.cs: + last_write_checksum: sha1:8a35a45f28c0ac42310e0c6065b62774a3201049 + src/Cvent/SDK/Models/Components/ExternalActivityDataEventExternal.cs: + last_write_checksum: sha1:edb23a93d1e6ecca1b8dd28cdff5c87185314178 + src/Cvent/SDK/Models/Components/ExternalActivityDataExhibitorExternal.cs: + last_write_checksum: sha1:56dc8bc6067d87c4183c6cfcf8f2a019849effca + src/Cvent/SDK/Models/Components/ExternalActivityDataSessionExternal.cs: + last_write_checksum: sha1:7a4a7cfd9c709212620d5140a61a9caf479813ab src/Cvent/SDK/Models/Components/ExternalActivityInput.cs: id: fe26cd1dd732 - last_write_checksum: sha1:a9699c2bf8a07834e11f49d5635fe18133276b65 + last_write_checksum: sha1:5c9a9dc0f7901be918643b5b5799888a908e134e pristine_git_object: 7e519b5e449785a5812f8503673aad5c65292661 src/Cvent/SDK/Models/Components/ExternalActivityMetadata.cs: id: 7ee3d1b16781 - last_write_checksum: sha1:32749f51a42d727ce54ee18a9e75951bed244dfe + last_write_checksum: sha1:7d0a5a408181d51d2a7e089068a09028a91825b3 pristine_git_object: 6f370e98e5f4db57a8aaa2469f16083333b8e985 src/Cvent/SDK/Models/Components/ExternalActivityMetadataInput.cs: id: aa0c69b57f67 - last_write_checksum: sha1:4f0df70537c773c10309beaf1ac383f64c0b97d4 + last_write_checksum: sha1:85adbe7265f4f6d6379e0fcf539095068f2a1b9d pristine_git_object: cb596153153f4b1a8ba33d03d93e16f1571bc80d src/Cvent/SDK/Models/Components/ExternalActivityMetadataPaginatedResponse.cs: id: b76ad9c666d6 - last_write_checksum: sha1:c97eb3eaae11cbd2659720799fb65028c79c9d95 + last_write_checksum: sha1:41389b5e6fadd03f19879b344249fb5134a36832 pristine_git_object: 13bab536f5e4c77c6c044d7cf03792be1aa6ad19 - src/Cvent/SDK/Models/Components/ExternalActivityTypeJson.cs: - id: 65dbfe2d81ba - last_write_checksum: sha1:606b0a74b42ff2d9bd611aeb7eeb4a5fa597281d - pristine_git_object: f9aeb21d238e9d226be24da0c2b759cedb4445cc + src/Cvent/SDK/Models/Components/ExternalActivityType.cs: + last_write_checksum: sha1:28f083576028c539b4fe79b1169989d914e0970b src/Cvent/SDK/Models/Components/ExternalCodeTypeJson.cs: id: d24333fe29e3 last_write_checksum: sha1:5011493e9f24dc55aea2cc2c8678a7bcfe70b65b @@ -11656,7 +11568,7 @@ trackedFiles: pristine_git_object: 064375264e3e0e6dcc688a5b93cd6e3766752bbf src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs: id: ccecbf0cc408 - last_write_checksum: sha1:b67a0177170254f83d3948f519e42288596e61c3 + last_write_checksum: sha1:10bc3d8158450b9f54c1388eb1773a78163ccb4b pristine_git_object: 0b62dfe562229f02634080af96e6c8c37b749a02 src/Cvent/SDK/Models/Components/HousingReservation.cs: last_write_checksum: sha1:1fc7b2726b3970c56b80115cda2888a020ddfb83 @@ -11764,12 +11676,12 @@ trackedFiles: last_write_checksum: sha1:9069c569143bed0abf09b876cf1a32d243243cc3 src/Cvent/SDK/Models/Components/LeadInboundCreated.cs: id: 2ba747df4b27 - last_write_checksum: sha1:1ffc9ce6e42b41c4dbdabb573c73150c0afe623b + last_write_checksum: sha1:e726a5d43492c9617a4675bc353afbc8e40a5163 pristine_git_object: fd81b74e00af61267cdfe1b3c4d5b114cef7d55c - src/Cvent/SDK/Models/Components/LeadObjectJson.cs: - id: 881baecf4876 - last_write_checksum: sha1:dbc8f836abe6e8c9d5e3a19ac17c578d015b2b81 - pristine_git_object: 4553427bb5bd8cf97a9fff6ae4a94d3ed7c1c747 + src/Cvent/SDK/Models/Components/LeadObject.cs: + last_write_checksum: sha1:4944afc6aa2145c6ae72c7258e7a47bbcdf0db71 + src/Cvent/SDK/Models/Components/LeadObjectActivityBoothStaff.cs: + last_write_checksum: sha1:eb7ef572add7cc355b24d150b9f974c5d159a0df src/Cvent/SDK/Models/Components/LeadQualificationAnswers.cs: last_write_checksum: sha1:bd9ae3cd69375953616873f086809ca6575309ed src/Cvent/SDK/Models/Components/LeadQualificationAnswersListResponse.cs: @@ -11786,19 +11698,15 @@ trackedFiles: pristine_git_object: 1839952e5dc4e883520f7a085a68717f1e90f58b src/Cvent/SDK/Models/Components/LeadQualified.cs: id: d88bf1379686 - last_write_checksum: sha1:d3273aa4e356ec5eea250fff818992dd524fe184 + last_write_checksum: sha1:9bd2dc919b0cfc272056fcd9adbd8c24e2f79ad8 pristine_git_object: 097def4d40e2bffa9d537d540f6d573d48102678 - src/Cvent/SDK/Models/Components/LeadQualifiedAnswerJson.cs: - id: fa2044a226f2 - last_write_checksum: sha1:1c6ba5621f32b96a33dea8d96ea5424e53749602 - pristine_git_object: 3f4e3e84aa86851532f24e2bcfae18432212a3e9 - src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs: - id: d9d4853e3f77 - last_write_checksum: sha1:734376498e01c0bda707cb978209d7ed0ef6ce2f - pristine_git_object: e38e7e42829bd7b7663d188fb2dbe7bec7639cec + src/Cvent/SDK/Models/Components/LeadQualifiedAnswer.cs: + last_write_checksum: sha1:adf5d8f44603eeda75a4fdd76024b7bffb3031de + src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponse.cs: + last_write_checksum: sha1:0612f8fd6348a8b20af52cf516bd9ba2433136ff src/Cvent/SDK/Models/Components/LeadScanned.cs: id: b1565d41297f - last_write_checksum: sha1:40caeb6a0e82765d3a6e8804d1e45aab858246b8 + last_write_checksum: sha1:a034477932a2c70bba1f29ad9130ac978f0f9404 pristine_git_object: 4221ff324bfb7116db7f6a8a6332b86abed2cce7 src/Cvent/SDK/Models/Components/LeadSource.cs: last_write_checksum: sha1:ad11bd2e7d049938f36d55fb4a8511c53d908d29 @@ -11848,8 +11756,10 @@ trackedFiles: last_write_checksum: sha1:767d51a994d004776bd6dd342c329d06b9fd7652 src/Cvent/SDK/Models/Components/LocationJson.cs: id: 3a2c54c4e0c5 - last_write_checksum: sha1:cb8cea2a13c5edd844d68323db2a913203d1ab1b + last_write_checksum: sha1:7e0c7c70c95e7f5076836572fc6f9fff8aed5b3f pristine_git_object: dd3afb67f916f91244aedfe10f0f961376682640 + src/Cvent/SDK/Models/Components/LocationType.cs: + last_write_checksum: sha1:7c8c322bb1243f75284ea8e1547135da86c52b1d src/Cvent/SDK/Models/Components/LocationsPaginatedResponse.cs: id: f106e48317f5 last_write_checksum: sha1:e784c2f300e5565a0f47270e5c7d10348a173d8c @@ -11870,55 +11780,35 @@ trackedFiles: last_write_checksum: sha1:473a2d832134a637de50476fadf27159cc2c9fa4 src/Cvent/SDK/Models/Components/MeetingRequest.cs: id: 2ff018e8734c - last_write_checksum: sha1:dc73180d01821b1e0c2beee1611e36acac13f722 + last_write_checksum: sha1:f68a30641d7a9d7eb1fd84f68a358053379c7766 pristine_git_object: 35533715783cc602c183f6fb7ef548fdd1bc4b68 - src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJson.cs: - id: 4ceb5a093533 - last_write_checksum: sha1:a99ba3029059866f5de422747ab9dfd5c4a82131 - pristine_git_object: 7f5e93de79264ec4dca6cb5e26a94eab7cd06573 - src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJsonRequest.cs: - id: da4a3708f987 - last_write_checksum: sha1:984c2cd9ea008fc47728fcda5c55608a6a1bc645 - pristine_git_object: 73bb95defbc843f4d491bbcb30ea614f993e1f74 - src/Cvent/SDK/Models/Components/MeetingRequestCreateJson.cs: - id: ec10a442153c - last_write_checksum: sha1:e3a6f897d2db5a8849323c758aebe786be573bfd - pristine_git_object: 5748b06dee16f213b8b7f06042cfa770de25e8d0 - src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJson.cs: - id: 1d80764c7058 - last_write_checksum: sha1:71a67ba3e2f0f46b5ccfe15141ea8385a7770abe - pristine_git_object: b0f682940ad5c2944729e8ae857c79ada825baf3 - src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.cs: - id: 5dcf1632fc8e - last_write_checksum: sha1:eb272d277a19657fb2a2e46f50d808d52e5182f7 - pristine_git_object: dc93974474b4620ca442b674cafb7fc30c9014dc - src/Cvent/SDK/Models/Components/MeetingRequestDocumentJson.cs: - id: eaf037fab50b - last_write_checksum: sha1:45335e64f3ad5a8bb46ed54190a632aaed57783f - pristine_git_object: 53f14c22fbb7880a54786a3eec097217eb65b6c2 - src/Cvent/SDK/Models/Components/MeetingRequestDocumentJsonMeetingRequest.cs: - id: ab881631973d - last_write_checksum: sha1:47bbc59480422ee24f5fe612d20a7974b935578e - pristine_git_object: 592ddd892f532897a0c2745d50efebc0174f70aa + src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItem.cs: + last_write_checksum: sha1:e89931439f3903067200616783b28c277adae74e + src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemRequest.cs: + last_write_checksum: sha1:960cbddb398fafaa5abe1c44e73d39f1aefe9964 + src/Cvent/SDK/Models/Components/MeetingRequestCreate.cs: + last_write_checksum: sha1:b22172ee421b77521d036bc845ee19d9fa6be1ff + src/Cvent/SDK/Models/Components/MeetingRequestDocument.cs: + last_write_checksum: sha1:c70bab30aeced6d70e5c86e7a1a3f84442cc9ac4 + src/Cvent/SDK/Models/Components/MeetingRequestDocumentMeetingRequest.cs: + last_write_checksum: sha1:8d26d66e493621a3ad5be9702ce031e5272b4cc0 src/Cvent/SDK/Models/Components/MeetingRequestDocumentPaginatedResponse.cs: id: f14242a3e1d9 - last_write_checksum: sha1:441ca9d615c4c3f49028ecf84151724d3c3c69c6 + last_write_checksum: sha1:ff74fd99e15872ac004bc5221d1309d445cce97c pristine_git_object: 350051db89447043dc3b19756c66ba712beb5852 - src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLinkJson.cs: - id: a8002faad8b8 - last_write_checksum: sha1:4af81c76bb32d72e1addde7298ef8318ae90555c - pristine_git_object: 513fab375133d70a9d92be718abf0c81dc4ec541 + src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLink.cs: + last_write_checksum: sha1:c5850c8975fd44f4ec326fb6bf5513ff83473b85 src/Cvent/SDK/Models/Components/MeetingRequestEvent.cs: id: e55522c80654 last_write_checksum: sha1:d3ca2a5e54d36a889cc4ab9a1263fc3ae24ee3cf pristine_git_object: d523c0ac7e6f17a386a8e361f4f00a953f8e856b src/Cvent/SDK/Models/Components/MeetingRequestForm.cs: id: 1085549e1cec - last_write_checksum: sha1:ff50221eb4da31defe5d95ebaa2885eb5be3f59b + last_write_checksum: sha1:d95cf4b83e165396f5e9dbda5674de4e041f3082 pristine_git_object: 1e3b0d59bad6b68ddcd99ac917cd25381bc00154 src/Cvent/SDK/Models/Components/MeetingRequestFormPaginatedResponse.cs: id: 775b0311caf2 - last_write_checksum: sha1:ec4d867483483058a545d407c44ffba66eeb99c1 + last_write_checksum: sha1:927864263117a8143a45a98dec47d2fdafa2a5c6 pristine_git_object: e06533a65ec02a99680a9736e5760b549a66874a src/Cvent/SDK/Models/Components/MeetingRequestMeetingRequestForm.cs: id: 85cd8350a732 @@ -11926,32 +11816,44 @@ trackedFiles: pristine_git_object: 8414ad3f431147b3d329cf4484ac08e78efa2a31 src/Cvent/SDK/Models/Components/MeetingRequestPaginatedResponse.cs: id: a08ac004d8b2 - last_write_checksum: sha1:81be1498267fc0ff1b5a1f7f1058c50f70dbacf6 + last_write_checksum: sha1:ee50cf6c608130af42fc16347b1cb7b6ac09aa29 pristine_git_object: c34afc7e78fd167cd56530859cf8de4edd9ccb7e - src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs: - id: 3110877c3f6b - last_write_checksum: sha1:c44dafb40759b5e8dfc808db17d3c05e86862473 - pristine_git_object: 23c7f604d3066b01a6a99415f86afac6f00f1788 - src/Cvent/SDK/Models/Components/MeetingRequestUpdateJson.cs: - id: 5f011e0e4779 - last_write_checksum: sha1:dd911f4c13e9d800adaeba46f9b85d65850eb4a8 - pristine_git_object: 2b7eb51b4d2f5db32bba42d67e36fd2182c0de5e - src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemTypeJson.cs: - id: c3d37ec075d6 - last_write_checksum: sha1:f33c1cfcd1bc77c45db975e27b207c1b66e17c13 - pristine_git_object: 7435ede5d3a9ca3f8678b76c65db11b3d8d3bca5 + src/Cvent/SDK/Models/Components/MeetingRequestQuestion.cs: + last_write_checksum: sha1:edee2c45025f08dd7f83c26648c522be1bb89fb5 + src/Cvent/SDK/Models/Components/MeetingRequestQuestionInput.cs: + last_write_checksum: sha1:9993791b0b30c9d4de56793ec5d0584881e517ae + src/Cvent/SDK/Models/Components/MeetingRequestUpdate.cs: + last_write_checksum: sha1:09d82ef1ccb0dd21a942626d36b3ccc5ed41557e + src/Cvent/SDK/Models/Components/MeetingRoom.cs: + last_write_checksum: sha1:67eea6229db57fa13b8106e6b15884d9978cd982 + src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemType.cs: + last_write_checksum: sha1:0baa0990ba38f86c89516ddfcf7c713831bd62f2 + src/Cvent/SDK/Models/Components/MeetingRoomAmenity.cs: + last_write_checksum: sha1:82e84157272aefa45321aa81ec5ddca4c280e377 + src/Cvent/SDK/Models/Components/MeetingRoomCapacities.cs: + last_write_checksum: sha1:0c20d4081afece17bc89ccf575aba3958b2d5a1d + src/Cvent/SDK/Models/Components/MeetingRoomDimensions.cs: + last_write_checksum: sha1:0fc0fb1d496d0a383c28652bfc42ac05f6140c85 + src/Cvent/SDK/Models/Components/MeetingRoomExhibitCapacity.cs: + last_write_checksum: sha1:c53ca47e65db13a31b371c17043daa6440448feb src/Cvent/SDK/Models/Components/MeetingRoomJson.cs: id: 5e815b7d9b2d last_write_checksum: sha1:4e13678145134c8133cc6deb2a19a25c6799a128 pristine_git_object: 4923cd568a222909a0c1b5f86568239f12a1a643 - src/Cvent/SDK/Models/Components/MeetingRoomRequirementJson.cs: - id: 10c195cff090 - last_write_checksum: sha1:ee79f222122a50922dac4e0fc9546281d2b768a7 - pristine_git_object: 968b086d58ff016c61ae1e98fca1c8671b5b8791 - src/Cvent/SDK/Models/Components/MeetingRoomSetupTypeJson.cs: - id: 13cbab70772d - last_write_checksum: sha1:c7b7a5c77e3c7e3a707d32d299f651ef0a897e03 - pristine_git_object: f048eff095671d1bf5b107af94389d5484db5e53 + src/Cvent/SDK/Models/Components/MeetingRoomOverview.cs: + last_write_checksum: sha1:3101fc102dde2ff69c80156ddb67c6e34e3fcde6 + src/Cvent/SDK/Models/Components/MeetingRoomRate.cs: + last_write_checksum: sha1:1b739f8acd99b836b399c0badf0eedb9b8ce26c5 + src/Cvent/SDK/Models/Components/MeetingRoomRates.cs: + last_write_checksum: sha1:21cb30621861932dcc95918073e36a0e6528c56c + src/Cvent/SDK/Models/Components/MeetingRoomRequirement.cs: + last_write_checksum: sha1:97a3ed50ebe78a3aab2b59710d31fe9df2822d9b + src/Cvent/SDK/Models/Components/MeetingRoomSeatingCapacity.cs: + last_write_checksum: sha1:dfc1462eade5c9876dee7e4c892d2620696cc9b9 + src/Cvent/SDK/Models/Components/MeetingRoomSetupType.cs: + last_write_checksum: sha1:6fe578819171c924752740db84db22536918a43e + src/Cvent/SDK/Models/Components/MeetingRoomsOverviewResponse.cs: + last_write_checksum: sha1:309df74533df6eb6f92aa5032082729ee3127d73 src/Cvent/SDK/Models/Components/MembershipItemsPaginatedResponse.cs: last_write_checksum: sha1:df57d2607578936ca0a518b916249296691e14ce src/Cvent/SDK/Models/Components/MembershipItemsPaginatedResponseData.cs: @@ -12120,6 +12022,12 @@ trackedFiles: id: d2e3c379e0ee last_write_checksum: sha1:66fa16d2cff8279140a3d73aee486634957a7ef0 pristine_git_object: a71b9d876089b6ff70b1423c74956303e6a106fc + src/Cvent/SDK/Models/Components/PatchMeetingRoom.cs: + last_write_checksum: sha1:d74ba3687ed9ab59561831213b90843ae93bfbfc + src/Cvent/SDK/Models/Components/PatchMeetingRoomDimensions.cs: + last_write_checksum: sha1:232003933a33e4f62287a3c34e4adf7a2141c824 + src/Cvent/SDK/Models/Components/PatchMeetingRoomRates.cs: + last_write_checksum: sha1:4dd3e6527b3b5a4919e047e0631c5957826b23e0 src/Cvent/SDK/Models/Components/Payment.cs: id: 79cf4d4cd764 last_write_checksum: sha1:2bdf5a9a2e1a8738ba88d1ee65bb198a9396bc3b @@ -12248,41 +12156,27 @@ trackedFiles: pristine_git_object: db95e535617265cad44217a1b3901f5d965175ef src/Cvent/SDK/Models/Components/PolicyValueType.cs: last_write_checksum: sha1:402da505148489bc8b683629b2c15259b906d92e - src/Cvent/SDK/Models/Components/PollResponseJson.cs: - id: 9cb78bfff65c - last_write_checksum: sha1:18258b6a318bffb28fbf0277d28f1f67a1de2f4e - pristine_git_object: 436bc9a83e15054049a397b775caf558064ec672 + src/Cvent/SDK/Models/Components/PollResponse.cs: + last_write_checksum: sha1:92ef37042ef18f76a16f0a6663fcbc07bf77745d src/Cvent/SDK/Models/Components/PricingConfigJson.cs: id: a4fe6759f0cc last_write_checksum: sha1:01248a392c5df0533946547eef2826cd56bda39d pristine_git_object: fbdc87bf18bee017f10e9cd9524ea2b955352760 + src/Cvent/SDK/Models/Components/ProcessForm.cs: + last_write_checksum: sha1:fb7dbc94bd6ec049052e3beae22762adae0a49b1 src/Cvent/SDK/Models/Components/ProcessFormExpand.cs: id: 9b7fe61c444c last_write_checksum: sha1:a3f5aeb6067986ae9907148bcd4291eb81cf7d98 pristine_git_object: 51723578d0f4f318fc8f595e548d4556eb55d493 - src/Cvent/SDK/Models/Components/ProcessFormJson.cs: - id: af6ebf2ad16c - last_write_checksum: sha1:79847bb6c514e9ba6c913c0ca6f3b75eaf16b956 - pristine_git_object: 4bb81cb183b7620afa3e04b7fb08c565fa34b60e - src/Cvent/SDK/Models/Components/ProcessFormQuestionTypeJson.cs: - id: 6aa0d43837f1 - last_write_checksum: sha1:6228932b2e8e1d5779865f525208622c0826d64b - pristine_git_object: fa97e1e5c0736eac02baae6983e5dafbdfa92ea1 - src/Cvent/SDK/Models/Components/ProcessFormSubmissionJson.cs: - id: 8477f4ea70dd - last_write_checksum: sha1:b918c9200b814b8b4f31e4ae119aa3df94fe904d - pristine_git_object: 91c135090c417c91e8efdd9865f4ca8e42cc47bd - src/Cvent/SDK/Models/Components/ProcessFormSubmissionJsonEvent.cs: - id: 363bf8b59277 - last_write_checksum: sha1:3177a4d0936156b3ff29721e5e29eedf9013319d - pristine_git_object: 4f021f5c08e9a61a350b38861d0dc6ade702ad3a - src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestionJson.cs: - id: e00db2f35ac5 - last_write_checksum: sha1:a90a9fa20c4c829557d518484a14ccec1f605f3c - pristine_git_object: f0a5b6db601b37160f94ae31fcbfe32e7f2a9612 + src/Cvent/SDK/Models/Components/ProcessFormSubmission.cs: + last_write_checksum: sha1:7f783a04cdb5aa9c219dca07abca671dd9fbb4f8 + src/Cvent/SDK/Models/Components/ProcessFormSubmissionEvent.cs: + last_write_checksum: sha1:b4c256bd244d171529b06f7ead445bfa48fbf10b + src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestion.cs: + last_write_checksum: sha1:1b1bc5e3fa34bde5b58d275468f932161f3d90a4 src/Cvent/SDK/Models/Components/ProcessFormSubmissionsPaginatedResponse.cs: id: 23e789abb545 - last_write_checksum: sha1:c460db8a4d72b45377220d14a3ebb5e74ac36395 + last_write_checksum: sha1:0b6e9fdf22ea921f697f9bc4a25622b088b700c2 pristine_git_object: 14f5b6b564b111c8da30321fcb29f238826635ae src/Cvent/SDK/Models/Components/Product1.cs: last_write_checksum: sha1:f54f206cc63d3b29e06fe24326680f543f13fa07 @@ -12424,12 +12318,12 @@ trackedFiles: id: cc8a0b64520e last_write_checksum: sha1:9ca7986f50837cf140803fbaa8b2a3a7b0bb32d7 pristine_git_object: 8d3c33fe4847cedbd50f4431954094e2a62fb65b + src/Cvent/SDK/Models/Components/Question2.cs: + last_write_checksum: sha1:1f5720102d2954e5b18e6a37cc197336fc38d6a3 src/Cvent/SDK/Models/Components/QuestionClassificationType.cs: last_write_checksum: sha1:e3c3846ed3c626964cc500ff1388d19f071bdfdc - src/Cvent/SDK/Models/Components/QuestionDetailJson.cs: - id: 3624c886f35e - last_write_checksum: sha1:3efad77bba09243a69f678d435d5f3b5b20ff27f - pristine_git_object: a58c587d01a3a2e579b083ee716d5ffb1cb56283 + src/Cvent/SDK/Models/Components/QuestionDetail.cs: + last_write_checksum: sha1:5d8813d2f3ec3fd763df7da63b8656fbd997bde2 src/Cvent/SDK/Models/Components/QuestionIdJson.cs: id: aae349173edf last_write_checksum: sha1:df07e643d75a0a950057fdd43e563ef4537cdb4f @@ -12438,40 +12332,34 @@ trackedFiles: last_write_checksum: sha1:9a744265bee4765c1356d65c6401c5f36f9e5857 src/Cvent/SDK/Models/Components/QuestionJson1.cs: id: 0c8c974db2c1 - last_write_checksum: sha1:81fb625991af13db2a8b1059417c9d1acc47f631 + last_write_checksum: sha1:378739e0db6c83fc994aa37a08cb9d39bd572d60 pristine_git_object: 99250e31668a5d45b7f20b8d30c27cad7238ed65 - src/Cvent/SDK/Models/Components/QuestionJson2.cs: - id: 19e158124d27 - last_write_checksum: sha1:4ff7b9814cb07a04898b494e622e68022724f907 - pristine_git_object: e0cca70630059f54599089a684b0f0d9009d27a2 src/Cvent/SDK/Models/Components/QuestionPaginatedResponse.cs: id: 44969f7a41f4 last_write_checksum: sha1:b85601ef4691e2950bfffc662aa036761112dfc3 pristine_git_object: 803c4cccfee6508d49b2108de4bddc243e06690d + src/Cvent/SDK/Models/Components/QuestionResponse.cs: + last_write_checksum: sha1:7119508f7afdd94e4493cf472c9ece9753cf23ab src/Cvent/SDK/Models/Components/QuestionResponseDataType.cs: last_write_checksum: sha1:49e09bda1a74e27e4224d2ca304e4251785ab2ae src/Cvent/SDK/Models/Components/QuestionResponseFormat.cs: last_write_checksum: sha1:485fd3c71adf1ee803c5b44f637a2ece77748f45 - src/Cvent/SDK/Models/Components/QuestionResponseJson.cs: - id: bbb93ec8630b - last_write_checksum: sha1:4ae3eb2431a1dbac4abda49600d9cf686de7ecbe - pristine_git_object: 9961efb09a1f755900778e586c586008fc9646ae src/Cvent/SDK/Models/Components/QuestionResponseType.cs: last_write_checksum: sha1:258477a1654bcd2a36e632bf7f15b91040bbf047 src/Cvent/SDK/Models/Components/QuestionSection.cs: last_write_checksum: sha1:3a2587b0362affe532e8636c5bd1db4171cbce38 src/Cvent/SDK/Models/Components/QuestionType.cs: last_write_checksum: sha1:a97d8a6865fb4b4f96013388dbe7172f2380b1c4 + src/Cvent/SDK/Models/Components/QuestionType1.cs: + last_write_checksum: sha1:236a6ffc6a2a669fddf452ca91fc0cac0746dd2f + src/Cvent/SDK/Models/Components/QuestionType11.cs: + last_write_checksum: sha1:5e836ed900573154ad550f632f7e8d3a35c60f6f src/Cvent/SDK/Models/Components/QuestionTypeJson.cs: - last_write_checksum: sha1:f8c40e9796c3d64addf2d1c45decf9e113421e87 + last_write_checksum: sha1:dca0767fd376773c338aa5b755ebe06181c1dafd src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs: id: 8a4b77b026ca - last_write_checksum: sha1:72f54bde22dd83a45b4ebe25351c7725de003a73 + last_write_checksum: sha1:1b45d5ed1d14fe4a925ce57e4aa4434fd40bc6b6 pristine_git_object: 709936b484a25dd3b4b136272a0a153b984065c2 - src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs: - id: 7d0e325d1b6c - last_write_checksum: sha1:15b6e3c558e5d134b029b781fd6b6e946dc6f5b9 - pristine_git_object: c3b5a8f253b4c78f50dbc6796c96340185856a06 src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse.cs: id: b38bea7454bf last_write_checksum: sha1:d1c0bd3f7bc6a4e749d92fd79477b430b07eb9c8 @@ -12484,6 +12372,8 @@ trackedFiles: id: 7400c0ed57f9 last_write_checksum: sha1:771644f548c9efb98d6e96d9ce79103c1ceb597c pristine_git_object: fafe1dbd5f16fae6f46284adf3c17a4062c74096 + src/Cvent/SDK/Models/Components/RateApplicationType.cs: + last_write_checksum: sha1:bc4335d0530efc80876e3d5a48ffde3e63d3a41f src/Cvent/SDK/Models/Components/RateLevelType.cs: last_write_checksum: sha1:d6d47c7175fa4109ad795ca8eced12e15e3f5a2d src/Cvent/SDK/Models/Components/RateReviewStatusType.cs: @@ -12584,12 +12474,8 @@ trackedFiles: pristine_git_object: f26aadb7c79148dec9f768bb5b749f15721a32fe src/Cvent/SDK/Models/Components/Request.cs: id: de408cbf686b - last_write_checksum: sha1:edf0a05c18beb09cfb303997260b1a4babd4ad59 + last_write_checksum: sha1:4ee905d8c2038fedb308a5142e6c7cda27fa62bb pristine_git_object: 1311d2625c64938575268c9e2cc0fefd34621b30 - src/Cvent/SDK/Models/Components/RequestedMeetingRequestQuestionJson.cs: - id: 008ff5758231 - last_write_checksum: sha1:1076b00ace581ce53cee20b847a64543617e80d8 - pristine_git_object: dd76b28a2b1634eef2c6bfbf8794725e35067409 src/Cvent/SDK/Models/Components/RequesterSuffix.cs: id: 489987417da1 last_write_checksum: sha1:d17bc1d9d5367e8abbb53454c8e8f6e1e8223f49 @@ -12852,6 +12738,8 @@ trackedFiles: id: 6c6954ce2a0b last_write_checksum: sha1:799bac88fa0a5a02b20fdc8e836fbab1c802198a pristine_git_object: a3ffa6b3afce4441165786c7a41f7a11eecc05cf + src/Cvent/SDK/Models/Components/SeatingLayoutType.cs: + last_write_checksum: sha1:8237cdd477f25777c6334d5d36c518bade67fb1f src/Cvent/SDK/Models/Components/SeatingPaginatedResponse.cs: id: 355eab000091 last_write_checksum: sha1:2cd3726d303d0df18b971efeda78443651d729d2 @@ -12922,14 +12810,6 @@ trackedFiles: id: e08e86ea9cb5 last_write_checksum: sha1:c280dbd710a84283298033b6305a9529111d81e6 pristine_git_object: a274c663ff6696c46f2d01d4f7ab31f67d62cedc - src/Cvent/SDK/Models/Components/SessionActivity10.cs: - id: 3ea61fa7f225 - last_write_checksum: sha1:f01fd05b3969d84c8bedfc8d338c9135f53319d5 - pristine_git_object: d7cb77597da79504d060bb9e531ca602d8969e42 - src/Cvent/SDK/Models/Components/SessionActivity11.cs: - id: b41d10438b2f - last_write_checksum: sha1:e532ca1499bcceb1cf79d5380957ccc1f3633880 - pristine_git_object: 9a9c3d84de49f3c3191b4d65d10dd425bc050d96 src/Cvent/SDK/Models/Components/SessionActivity2.cs: id: 602bbf8da552 last_write_checksum: sha1:c7049fc8a7607e9535241e37d99f5d5031c7fe31 @@ -12954,14 +12834,6 @@ trackedFiles: id: 49cc0ad3676e last_write_checksum: sha1:8e6d1c258807037a4cc63223aebec174954873f9 pristine_git_object: 5e8438a64670e1d005eb0098989464365eff3d70 - src/Cvent/SDK/Models/Components/SessionActivity8.cs: - id: 3b2568a331dd - last_write_checksum: sha1:5adc4537801b87a50ba6861055cbb9321ae25176 - pristine_git_object: 6e1a13f0938f73d0314dabf5a50b7ddc877daa37 - src/Cvent/SDK/Models/Components/SessionActivity9.cs: - id: 001f8ddd6f22 - last_write_checksum: sha1:ee5b3e09ac90841d17e8d221419dca616ed6e232 - pristine_git_object: 82abdbacc2b78b252550570f53a2358626618be6 src/Cvent/SDK/Models/Components/SessionCategory.cs: id: ba5fa95ce45c last_write_checksum: sha1:c1399c538b67207d03c7cc013f40f361ff47122a @@ -13006,8 +12878,10 @@ trackedFiles: pristine_git_object: 3584a600ecb6fc4a008cccda1a003adb0123084c src/Cvent/SDK/Models/Components/SessionFeedbackSubmitted.cs: id: e2dd020aa08f - last_write_checksum: sha1:7245077cc6a6df35430620343569a41c0f8165f0 + last_write_checksum: sha1:f8245404fe9c9b104b32cc37f5fba8bf52c57e82 pristine_git_object: eaf96fc9e78c7ad967c867675477b5bc3e8cfec3 + src/Cvent/SDK/Models/Components/SessionFeedbackSubmittedSessionActivity.cs: + last_write_checksum: sha1:73f22ea76dc0f6ae7b9006705d8fda0610867f44 src/Cvent/SDK/Models/Components/SessionFile.cs: id: b521d9cae0cd last_write_checksum: sha1:a39e5d323c56e73e72e60700265e1491f05147a5 @@ -13042,12 +12916,14 @@ trackedFiles: pristine_git_object: 241efd2c8d44fe7daaee12d45e1dda8a1fb74f3f src/Cvent/SDK/Models/Components/SessionNoShow.cs: id: 7e8f8801b1cc - last_write_checksum: sha1:c582822e51d10acf599c2f6396e9a4a015af15db + last_write_checksum: sha1:b51a44d0fe1b38850d9303ac6a67b45d75616c9b pristine_git_object: 8927c338b7ad166dbde1aa2146241b0f4f933bb3 src/Cvent/SDK/Models/Components/SessionPollResponseSubmitted.cs: id: fa4ca7985a11 - last_write_checksum: sha1:d46baf67a702da8c5e0c594b636f8263a00edfa2 + last_write_checksum: sha1:3f81887aef99ae58955ee61285d11ea0d8f8aac5 pristine_git_object: fa55059eeae908ccddbea3b93dd143948ca11f4d + src/Cvent/SDK/Models/Components/SessionPollResponseSubmittedSessionActivity.cs: + last_write_checksum: sha1:807852fd401c2abf1f490b5cd4f88e3064556a44 src/Cvent/SDK/Models/Components/SessionQaActionTypeJson.cs: id: e34050c65dbb last_write_checksum: sha1:9e84f66350fc920d3622bb4ef26e41561fb846f5 @@ -13058,11 +12934,13 @@ trackedFiles: pristine_git_object: e229f104727d0ed5623d4524782b77da595579c1 src/Cvent/SDK/Models/Components/SessionQuestionAsked.cs: id: 8494a682305c - last_write_checksum: sha1:f62c97c4306cc779f50c849d1ec688a8a4ab55a3 + last_write_checksum: sha1:41c388a4adba026e06d60156c41a7d87774be956 pristine_git_object: 458eb856bbe6e8cbd0087101d5ca1c511fcb2c2f + src/Cvent/SDK/Models/Components/SessionQuestionAskedSessionActivity.cs: + last_write_checksum: sha1:fa3d12bc93abe5bc4e71df337d81a5574a599be5 src/Cvent/SDK/Models/Components/SessionQuestionUpvoted.cs: id: ca2dec7dcd3b - last_write_checksum: sha1:a425168d48678f97a5e6f24ec3ee847ecfb07e11 + last_write_checksum: sha1:229f9bbe9056c4954b69420c042f876628ae9b7d pristine_git_object: 587871efb8f1a5ba5866d7659de56a9fa8adacb8 src/Cvent/SDK/Models/Components/SessionSegment.cs: id: f2eec1034249 @@ -13086,7 +12964,7 @@ trackedFiles: last_write_checksum: sha1:c220f7c60acc55af218c4cdc5722da774decf26d src/Cvent/SDK/Models/Components/SessionUnenrolled.cs: id: 064558a2e146 - last_write_checksum: sha1:4e64c561010bbcba6620115999dd9b267d768a6a + last_write_checksum: sha1:18f7184971c6ba6f6e53e876e17aa4d1ac6ad31c pristine_git_object: e5811c9eab558f3b9b8a84a294021a93888fcd07 src/Cvent/SDK/Models/Components/SessionUpdate.cs: id: ff1add15aac3 @@ -13100,7 +12978,7 @@ trackedFiles: pristine_git_object: 0e028c521deacd7378c2ea2c5fd64a16260646d5 src/Cvent/SDK/Models/Components/SessionWaitlisted.cs: id: be5e8a52aeea - last_write_checksum: sha1:11c48bb685cff8d83d78679e65698cc684843c9d + last_write_checksum: sha1:10954fe701762d86a652154038c320e574af3d05 pristine_git_object: fc05c965d7118034fc4ed7aac0ebe6ccd20c2ea3 src/Cvent/SDK/Models/Components/SessionsAttendanceResponseJson.cs: id: b478988a6a23 @@ -13134,10 +13012,8 @@ trackedFiles: id: 5314b8009879 last_write_checksum: sha1:53fdf65f0cb4d0ed632bf796feed83649d721508 pristine_git_object: b5c522be5910694ace5785645b5761f97faa885d - src/Cvent/SDK/Models/Components/SleepingRoomRequirementJson.cs: - id: f4d58318bff1 - last_write_checksum: sha1:efc7459751a3c0fba8f831c8a22e30eb7fba17d8 - pristine_git_object: dd2a71fd7c99be5454404eae811c197f07aa161b + src/Cvent/SDK/Models/Components/SleepingRoomRequirement.cs: + last_write_checksum: sha1:21977b42dd198a02d4dc55c2f221c091e9e38804 src/Cvent/SDK/Models/Components/SleepingRoomTypeJson.cs: id: 56b479fac49c last_write_checksum: sha1:9ab23bea3c6fb19dac327619a57073b9cfd714d4 @@ -13164,6 +13040,8 @@ trackedFiles: id: 41528590b836 last_write_checksum: sha1:45337d5faebd6289dfe10ed339e26ebcc25f8488 pristine_git_object: 4094b772a940b8e651fb452ae917965741399eeb + src/Cvent/SDK/Models/Components/Speaker1.cs: + last_write_checksum: sha1:6341a1e14415319fcc817745e37b258b936f008b src/Cvent/SDK/Models/Components/SpeakerCategory1.cs: last_write_checksum: sha1:a26f92e0af8f60c9fefb17b3c3e76d01fcf2872b src/Cvent/SDK/Models/Components/SpeakerCategory2.cs: @@ -13186,15 +13064,17 @@ trackedFiles: pristine_git_object: 4d55649398c664c90e2561cae1056d96142b3f4c src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmitted.cs: id: 76c2b16c6154 - last_write_checksum: sha1:2bb58f067e3ad538799269be02a97d82b7792853 + last_write_checksum: sha1:d90bf68f8144dea388ed1e6fdea9b0537eef9e90 pristine_git_object: 291a3da4556a723c743d0b038f17d00439564728 + src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmittedSessionActivity.cs: + last_write_checksum: sha1:d877da2380bf12b935a80da40f357fc7cfc91a26 src/Cvent/SDK/Models/Components/SpeakerFile.cs: id: e0f4478295c7 last_write_checksum: sha1:576121bc9c8497c46b18a2ae153de0237fe3b1fd pristine_git_object: fdcefe31789835b64bcc1b57e9b90f92516f78c3 src/Cvent/SDK/Models/Components/SpeakerFileDownloaded.cs: id: a20df32e0b36 - last_write_checksum: sha1:03b0552448cc91a219fa0a1a448e0c3384290d36 + last_write_checksum: sha1:f0567e3afc0b641c4919d9fc40e319fbdd021781 pristine_git_object: 2b827702d0ac2b63fc696c615f1bb2d7a74a0bd8 src/Cvent/SDK/Models/Components/SpeakerFileFile.cs: id: 91457c362fd5 @@ -13204,10 +13084,6 @@ trackedFiles: id: 4f6eedf9ef43 last_write_checksum: sha1:8e00e4f095abe02aeb33d5d0d837b79050821f17 pristine_git_object: 4543027e5d64bad73cfd0f262be49d06beb8fa89 - src/Cvent/SDK/Models/Components/SpeakerJson.cs: - id: f12ef9c1f3d2 - last_write_checksum: sha1:3d8fb1d919dd11da6e6cb72a1a6a203ec4621bee - pristine_git_object: 5a10c3a17cb4a9f6764c8236603217473b174fcd src/Cvent/SDK/Models/Components/SpeakerLite.cs: last_write_checksum: sha1:2a6f05086cfddf2db9bbfe7396db763ce46cc4a7 src/Cvent/SDK/Models/Components/SpeakerLite1.cs: @@ -13292,7 +13168,7 @@ trackedFiles: pristine_git_object: ebe2e80b8829e56568ed657f9e82f7db5d611734 src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs: id: 2660bf0a864f - last_write_checksum: sha1:8d555dcd307e5aeb2e442fc95dfb9c8370ac6fab + last_write_checksum: sha1:5f1e672cea47ad5fa5f587963f25453667b69eb3 pristine_git_object: 2dfe42af0c050c0bcee91088dc449e351c310a92 src/Cvent/SDK/Models/Components/StandardSurveyQuestionsPaginatedResponse.cs: id: 08a9f02951a9 @@ -13342,6 +13218,8 @@ trackedFiles: id: 3769a804e678 last_write_checksum: sha1:6a6ca74a47f21e51c4acfe8ca125e3bac0637ef9 pristine_git_object: cc9be93204d57966666f3cd614ec8f03b7766aa2 + src/Cvent/SDK/Models/Components/StateProvince1.cs: + last_write_checksum: sha1:1a152a798b74050e8a43adc135702d98bb933177 src/Cvent/SDK/Models/Components/StateProvinceJson.cs: id: 748a12a1e208 last_write_checksum: sha1:3a3f66a2a4d57afe7cd891fc5ea4dc12ea7c625d @@ -13388,10 +13266,8 @@ trackedFiles: id: 0453b7f475e7 last_write_checksum: sha1:445722a11e8c02b7a3ec56b6e607d751ddeaa62c pristine_git_object: ff8eb76b2bf2516dfb881a1f253389ee3317b95e - src/Cvent/SDK/Models/Components/SurveyResponseJson.cs: - id: 1078e8c3ca1e - last_write_checksum: sha1:e100d39f11b2fe7bdcbac63af01c3bf46311bf9b - pristine_git_object: 35c2b29df9c7b4bc331650fb971f58cabf785566 + src/Cvent/SDK/Models/Components/SurveyResponse.cs: + last_write_checksum: sha1:43d7e2dc10cb566e3341dca7c866ed16fdb22bf4 src/Cvent/SDK/Models/Components/SurveyStatusJson.cs: id: 42020df24d5a last_write_checksum: sha1:18b74bd60fafc9b0973c263f13e2b6c6abad3f91 @@ -13551,11 +13427,11 @@ trackedFiles: src/Cvent/SDK/Models/Components/TravelAccountType.cs: last_write_checksum: sha1:ee0e928b1f6004b85f0a937f9c3109600afb400d src/Cvent/SDK/Models/Components/TravelBidAmenity.cs: - last_write_checksum: sha1:2ad369591cbce27220ed3a45346ee34a9ef35e4f + last_write_checksum: sha1:6f9b1c89aff4804510d6c00f7ba9e3f10a9a955d src/Cvent/SDK/Models/Components/TravelBidComment.cs: last_write_checksum: sha1:3f34b8832e8436f153a609bfbf19144e486cf9a8 src/Cvent/SDK/Models/Components/TravelBidDiscount.cs: - last_write_checksum: sha1:1a97a00ce3a8bac8db37433d799109bd751ac14b + last_write_checksum: sha1:88f0a13276215ccdba58e67155e921dc45f97b38 src/Cvent/SDK/Models/Components/TravelBidDiscountPropertyRoom.cs: last_write_checksum: sha1:fc4dbc271c718e581cb5a6bee6e72a77fa89012a src/Cvent/SDK/Models/Components/TravelBidDisposition.cs: @@ -13565,25 +13441,25 @@ trackedFiles: src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.cs: last_write_checksum: sha1:95b4ca65a177c52ef87ebfb551bd90bf2fff780e src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs: - last_write_checksum: sha1:0a1031e17bde44650af0f01368d07cd65ff96835 + last_write_checksum: sha1:7f05478b3ca7295fe1b00f0886c8b28d3b6fd2a4 src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs: - last_write_checksum: sha1:aaa88ec683f8901b009c8dffa3687d0efbb3f262 + last_write_checksum: sha1:58c87e4ec1b0f1393db8ff3221523607920a3d48 src/Cvent/SDK/Models/Components/TravelBidFairSeasonRatePropertyRoom.cs: last_write_checksum: sha1:4b555dc98de5406b3fa3a50bd5f194426f43f695 src/Cvent/SDK/Models/Components/TravelBidPolicy.cs: - last_write_checksum: sha1:e69653ba2442ee6cd53fe319d0c9569681949cf7 + last_write_checksum: sha1:df3524144f2d4ccbc38782d0124ba238480da4fd src/Cvent/SDK/Models/Components/TravelBidRoom.cs: - last_write_checksum: sha1:d70647f3c6fe2453812f705d94e444eac440da4f + last_write_checksum: sha1:e95b3e31286e19a26ee8d4703e2b317dcaec6595 src/Cvent/SDK/Models/Components/TravelBidRoomPropertyRoom.cs: last_write_checksum: sha1:d8d7dfb066605a2a7c26e1af6cf409274723bedf src/Cvent/SDK/Models/Components/TravelBidSeason.cs: - last_write_checksum: sha1:817d83818b565b1393b25dec1455918917734429 + last_write_checksum: sha1:751d2bd12187c6692b32174b501ffc5b0eeae811 src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs: - last_write_checksum: sha1:decbe2833ef2ebfd5d972554d28324cf273d8ecb + last_write_checksum: sha1:8e58e673cc743e307ac8f29defb42ed8019d331b src/Cvent/SDK/Models/Components/TravelBidSeasonRatePropertyRoom.cs: last_write_checksum: sha1:57e24092e0bc16673112dbba936b568fc655317b src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs: - last_write_checksum: sha1:f97ba55fecd99c3ea3db92fa506432b2ca99adcd + last_write_checksum: sha1:2de18dedefbbe48cdd9e885bffd95dacf7e49811 src/Cvent/SDK/Models/Components/TravelBidWeekendDays.cs: last_write_checksum: sha1:72f07b4bd9e5672e03969fe2a612eeebb6b37b08 src/Cvent/SDK/Models/Components/TravelDepartureArrivalJson.cs: @@ -13768,6 +13644,36 @@ trackedFiles: id: 35150c404ed3 last_write_checksum: sha1:a0c9a9c88dcd5efea2304b46339f858d0b6f295b pristine_git_object: 204e35024f8814d92a0c28599ea09f364ae7f8b6 + src/Cvent/SDK/Models/Components/VenueDetailsOverview.cs: + last_write_checksum: sha1:266472c83bd5e385e7c62548f69ceca44d8037b5 + src/Cvent/SDK/Models/Components/VenueDetailsPatch.cs: + last_write_checksum: sha1:f1081c34428ec1576b8317716750b524d149d103 + src/Cvent/SDK/Models/Components/VenueDetailsPatchAddress.cs: + last_write_checksum: sha1:b6fcf278b16b4798c260afe19602a0a21bc062c8 + src/Cvent/SDK/Models/Components/VenueDetailsPatchChainScale.cs: + last_write_checksum: sha1:6aaf9c4f8bff4096fb1afee3990a05150d36a406 + src/Cvent/SDK/Models/Components/VenueDetailsPatchCurrency.cs: + last_write_checksum: sha1:ec052143747d34e0dd13d76bab94de8fecee0063 + src/Cvent/SDK/Models/Components/VenueFacilityPatch.cs: + last_write_checksum: sha1:87b3ea08207aa02272dd6b5d29be20f20e02d12c + src/Cvent/SDK/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.cs: + last_write_checksum: sha1:ea673da3833bbefbf51bcc7c1b64e64a9dfee805 + src/Cvent/SDK/Models/Components/VenueFacilityPatchDoubleRate.cs: + last_write_checksum: sha1:1ee9a0b01a9579a0f0627401ecd3c4271938bd80 + src/Cvent/SDK/Models/Components/VenueFacilityPatchEventInsurance.cs: + last_write_checksum: sha1:b861f01118aa058144505c54199ebdc8e6a5a9bf + src/Cvent/SDK/Models/Components/VenueFacilityPatchMaximumCapacity.cs: + last_write_checksum: sha1:4fa441187c0a3844b01957ce807fe0e43f5f1bc5 + src/Cvent/SDK/Models/Components/VenueFacilityPatchMeasurementUnit.cs: + last_write_checksum: sha1:1f0c3985227889348df8cefd6bd496c430f5e46b + src/Cvent/SDK/Models/Components/VenueFacilityPatchProximityFromAirport.cs: + last_write_checksum: sha1:1f72cd14ddd9505afe5400a74431975d00e04a18 + src/Cvent/SDK/Models/Components/VenueFacilityPatchSingleRate.cs: + last_write_checksum: sha1:069a9f0ed28fd9a66d3baf73b7b3c790847c8da3 + src/Cvent/SDK/Models/Components/VenueFacilityPatchSleeping.cs: + last_write_checksum: sha1:023f5f5c96687a1c535bd97159e03a2052d665e2 + src/Cvent/SDK/Models/Components/VenueFacilityPatchSpace.cs: + last_write_checksum: sha1:59e138a7dd4926b27d83e1f28dc0b8e576543a7e src/Cvent/SDK/Models/Components/VenueJson.cs: id: 816a835beac2 last_write_checksum: sha1:c7027ee0cbc1bfd2ff560affc8b3d9200e8f2c6c @@ -13784,6 +13690,8 @@ trackedFiles: id: 94b09b531c04 last_write_checksum: sha1:f1cf6c9f03bd906f8df40e975e79ebd3e1ed440c pristine_git_object: d684fd5745bfe5cf4e4f578b8aa6d8ead72e9bd9 + src/Cvent/SDK/Models/Components/VenueType.cs: + last_write_checksum: sha1:fcc9213e0e96f9354f951d1a29c8d7964e30bfb7 src/Cvent/SDK/Models/Components/Version.cs: id: 8eedf29527d6 last_write_checksum: sha1:5d299d1d917e62b906a4183b7fa4c33e9208b52e @@ -13910,36 +13818,28 @@ trackedFiles: pristine_git_object: 0dbd5c221c48227838a298f23f83391cd4ecea53 src/Cvent/SDK/Models/Components/ZeroAllOf1.cs: id: 9a87754165f7 - last_write_checksum: sha1:159c1a0743fea8fc94eb299e61afc20b53143ae8 + last_write_checksum: sha1:ca4c5e575a6ec2e1b52198c53ae1751057a7c2e1 pristine_git_object: f196142bc9d35827de0b30fd2d981ee4c238adaa src/Cvent/SDK/Models/Components/ZeroAllOf2.cs: id: 0300846a0581 - last_write_checksum: sha1:7ab9bc735e2bbfc39b845cf706b96604f19ee754 + last_write_checksum: sha1:3c6eb7cd06b6344464962dadd02d6f2be4916e9c pristine_git_object: bd69160d45701105c2e38b1a69e2a6c4b98e15e6 src/Cvent/SDK/Models/Components/ZeroAllOf3.cs: id: efa01786e49d - last_write_checksum: sha1:5b3272efdf36dc65181329340e02a2544952271a + last_write_checksum: sha1:238118741f720ee1a3bc990013c8633e2bb3e6f9 pristine_git_object: 65a7bad31d51aba486cbd7bdffee2ac78b51d8f4 src/Cvent/SDK/Models/Components/ZeroAllOf4.cs: id: 56266601d666 - last_write_checksum: sha1:108c0b52293ffa5cfae2738e14c4711caf161a7f + last_write_checksum: sha1:694ef1bf0e6a8793531e2dec21381c776800d6d8 pristine_git_object: cffa4d9659dd646278e0c08971606bd97ad69336 src/Cvent/SDK/Models/Components/ZeroAllOf5.cs: id: 0983f233e148 - last_write_checksum: sha1:34f9764608c91478d28d1898a218573c1690045c + last_write_checksum: sha1:870b67df524144b4894522c4f5c7f68f275baff4 pristine_git_object: 54ea2559c69a6b170870b41a7d4f417443c30a62 src/Cvent/SDK/Models/Components/ZeroAllOf6.cs: id: 72772f477926 - last_write_checksum: sha1:d44d3551c9ea6925637a204a257e7396b5556e63 + last_write_checksum: sha1:05d6e2afa29cd567c9689562df5d580735a0cce6 pristine_git_object: aa6ed4ddbc271037dc30caf4a3b173f080e019d3 - src/Cvent/SDK/Models/Components/ZeroAllOf7.cs: - id: 58d60f4f8670 - last_write_checksum: sha1:fc9613409f3f44cc9159cbfa136303124cea36c4 - pristine_git_object: 003435e1ed88d013ccd45e3a71613cbbe638c2f9 - src/Cvent/SDK/Models/Components/ZeroAllOf8.cs: - id: 04801f5be6bf - last_write_checksum: sha1:c489606f351e0d5f25e1b1d155bd2250c158f28f - pristine_git_object: 1715c2fad45c1ead2335e42d068b8cbb4564511d src/Cvent/SDK/Models/Components/ZeroAnyOf.cs: id: 010dc785fd32 last_write_checksum: sha1:a9fb674c004e1221ccee278c6388c2047d527794 @@ -13967,7 +13867,7 @@ trackedFiles: last_write_checksum: sha1:786914b6edac01cd6879a23ae42dd0da359cce37 pristine_git_object: 6b9b0655f2fcb10a27aaa856c75a2d7070dfc272 src/Cvent/SDK/Models/Errors/ErrorResponse.cs: - last_write_checksum: sha1:6ad27eae3400e838702d70b345df8d0e2a8c8bb7 + last_write_checksum: sha1:81b51399348ee39528f1778c675ca08af7537d47 src/Cvent/SDK/Models/Errors/ErrorResponse1.cs: last_write_checksum: sha1:6ac194e97e21b6be7e6ee2e395a12254f2e4005b src/Cvent/SDK/Models/Errors/ErrorResponse2.cs: @@ -13977,7 +13877,7 @@ trackedFiles: last_write_checksum: sha1:92bb031902ace1de9c920e4d478146fb938764d4 pristine_git_object: 916d4c108979831df087f30230be7835f636acaf src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs: - last_write_checksum: sha1:58d60c4b14134786beb969f20d7b68c39ae88e0d + last_write_checksum: sha1:5c3880dc57b0fe60daf09a2bc6ea5f252d9f6ec2 src/Cvent/SDK/Models/Errors/ValidationCode.cs: last_write_checksum: sha1:3fa07b56fbf395f66c19cfc8c61fca12e56136d0 src/Cvent/SDK/Models/Requests/AddContactToContactGroupRequest.cs: @@ -14330,12 +14230,16 @@ trackedFiles: pristine_git_object: 661dfa96020434fef75c620c71d1e005cd7e8d7a src/Cvent/SDK/Models/Requests/CreateMeetingRequestRequest.cs: id: 927a3562838e - last_write_checksum: sha1:d169980cb11b9537ee3c46074e1d593fcb79a36a + last_write_checksum: sha1:261b4e7671711dc9ea51c160fdabfcb8cff5bebd pristine_git_object: f3ef0934d5373d6696b29b568fb3af11fbb602bf src/Cvent/SDK/Models/Requests/CreateMeetingRequestResponse.cs: id: 2795af6c9515 - last_write_checksum: sha1:64116e9fb9fecec2e1e1d1244059802eb8febe79 + last_write_checksum: sha1:877e17865a89e41588757a015e81299a09730c32 pristine_git_object: 016ca8834a137c574f2681af1c5f66a95b8ed794 + src/Cvent/SDK/Models/Requests/CreateMeetingRoomRequest.cs: + last_write_checksum: sha1:4a924d6c8df0e8e2aa38adcae22b1618b82976ad + src/Cvent/SDK/Models/Requests/CreateMeetingRoomResponse.cs: + last_write_checksum: sha1:5dc3288fca67630cffb51a42dca65d11e04edaba src/Cvent/SDK/Models/Requests/CreatePaymentRequest.cs: id: df3c818e07dc last_write_checksum: sha1:2f0f32363bc7d0ccada71150133f64b193e058fa @@ -14786,7 +14690,7 @@ trackedFiles: last_write_checksum: sha1:c125e37a0db7d74658e2d0ae0b2f6c73a0844480 src/Cvent/SDK/Models/Requests/GetAirActualDetailRequest.cs: id: edb0b96bd695 - last_write_checksum: sha1:c4b36c5eab642b76ec22cfbd71e2ea96ec9e1645 + last_write_checksum: sha1:26ecb5cf3617adeae68b37a450aa420abf041f24 pristine_git_object: 2bec3ee479ba1292a1d1709d2b48796d74ef95e6 src/Cvent/SDK/Models/Requests/GetAirActualDetailResponse.cs: id: 788e62c8b540 @@ -14794,7 +14698,7 @@ trackedFiles: pristine_git_object: 968babefc75df87896ac7d1ffb3fbeb0da96ace6 src/Cvent/SDK/Models/Requests/GetAirRequestsRequest.cs: id: 7ad9d782f655 - last_write_checksum: sha1:6f72ed0b0e65da12cefacc9c285ef084f24d2f95 + last_write_checksum: sha1:1371a6ffe8711fe40610ac75db03170291ccc4a1 pristine_git_object: d7a7199f5c53134018918c3787364c4b5eb624d6 src/Cvent/SDK/Models/Requests/GetAirRequestsResponse.cs: id: b63761589c6f @@ -14809,7 +14713,7 @@ trackedFiles: last_write_checksum: sha1:9854f3b8186b1ebb2e4bbb97a0ef5c3079dd2825 pristine_git_object: 5c0131cf8afe504dd599e961274f1758fbf3e302 src/Cvent/SDK/Models/Requests/GetAlternateTravelAnswersRequest.cs: - last_write_checksum: sha1:bb6dc3804b9376ce64bd56fb8df714fbf0967d3f + last_write_checksum: sha1:829272428c2dd129df2e799b37df48a9b3cea894 src/Cvent/SDK/Models/Requests/GetAlternateTravelAnswersResponse.cs: last_write_checksum: sha1:1e84bb4fa8d1d130a0b98c1b95e4df6377e49691 src/Cvent/SDK/Models/Requests/GetAppointmentAttendeeByIdRequest.cs: @@ -14942,7 +14846,7 @@ trackedFiles: pristine_git_object: 0ca90a5629f23cfc9f82e843e2b0e9aa30d4d933 src/Cvent/SDK/Models/Requests/GetBudgetAllocationsRequest.cs: id: d1f6553524df - last_write_checksum: sha1:41b3f0551177f21443f378c9d2becff94697b820 + last_write_checksum: sha1:66b43e68e1e84d5984a380bda59fba14babd7556 pristine_git_object: ae0dca8affb9b91deca90ac493b6cc4b98892cbd src/Cvent/SDK/Models/Requests/GetBudgetAllocationsResponse.cs: id: 5fdead22e612 @@ -15162,7 +15066,7 @@ trackedFiles: pristine_git_object: 1e442987a786ea9e077a12e48f96c0736d4772be src/Cvent/SDK/Models/Requests/GetEventFeaturesRequest.cs: id: 9777280b83d6 - last_write_checksum: sha1:209603a4ba443fd63be74672246b1e33aae8cf15 + last_write_checksum: sha1:e9b49d23d7bf366991ea61d1514dc2fee53dfadf pristine_git_object: ded835ccecbcb3dd759e8160e0ae9f6927238587 src/Cvent/SDK/Models/Requests/GetEventFeaturesResponse.cs: id: 1bc8aaef71d1 @@ -15182,7 +15086,7 @@ trackedFiles: pristine_git_object: 31d34dd23e0c23e65f586d1a9d225a0aa6f79cd9 src/Cvent/SDK/Models/Requests/GetEventSurveyQuestionsRequest.cs: id: 38e1a6b26482 - last_write_checksum: sha1:a1c33b52a8e8dbe46f93b0a95a764b1a8755b2cc + last_write_checksum: sha1:6445fca1add4a18cb7bff65974e2c6114fb22317 pristine_git_object: 5ab9edc66c7ad3c5d1f114b40221e832e5427f3a src/Cvent/SDK/Models/Requests/GetEventSurveyQuestionsResponse.cs: id: d1a510796896 @@ -15198,7 +15102,7 @@ trackedFiles: pristine_git_object: 779eb42d4d9845f0e2c5ab14292cc6c2bbabbbfb src/Cvent/SDK/Models/Requests/GetEventSurveyResponsesRequest.cs: id: 97a112fa3c5d - last_write_checksum: sha1:e81cb1365a98630ce5ea39c73d974c31e624e642 + last_write_checksum: sha1:ac14347bb49dd421ebacced2f3e23ae3422ad186 pristine_git_object: 01f9169621e015ee539c33582848f1fa597af0e4 src/Cvent/SDK/Models/Requests/GetEventSurveyResponsesResponse.cs: id: 5ff830b03b48 @@ -15206,7 +15110,7 @@ trackedFiles: pristine_git_object: c364f840f69afff3788c5f149946a9415d35286f src/Cvent/SDK/Models/Requests/GetEventSurveysRequest.cs: id: 2ef0f1492a6e - last_write_checksum: sha1:05642af9bcf39f145c285f65e03b5aa967039bdd + last_write_checksum: sha1:50b69c7086a6c3cfa8d05056d92f651502686d6a pristine_git_object: 75169a0d2d92937ed019381ac8851bcc130326a9 src/Cvent/SDK/Models/Requests/GetEventSurveysResponse.cs: id: 348cf81b52ed @@ -15318,7 +15222,7 @@ trackedFiles: pristine_git_object: 3baee83d093aa30bf740a8682cf06526fc649455 src/Cvent/SDK/Models/Requests/GetHotelRequestsRequest.cs: id: 67690318fe86 - last_write_checksum: sha1:5f417e1ea0e568b632c448b35427cb9734adf8af + last_write_checksum: sha1:0394509cd16264a5333a7d8b91b9548ff071a494 pristine_git_object: 555cba18d154f05af25fc1352f50cc8dc6630fa2 src/Cvent/SDK/Models/Requests/GetHotelRequestsResponse.cs: id: 330cc75a626c @@ -15390,7 +15294,7 @@ trackedFiles: pristine_git_object: 464f7ce7c9b93a557ae462b1426171090760558c src/Cvent/SDK/Models/Requests/GetHousingReservationRequestsRequest.cs: id: 5dd9c1db4172 - last_write_checksum: sha1:42c6f663f3b1375df33e79951b3981f39ace8272 + last_write_checksum: sha1:b029b8e0097443b548aa59e97394a5e3c86857eb pristine_git_object: f7cf6b6f8e7b12984d8d0b59b85fb95702d252df src/Cvent/SDK/Models/Requests/GetHousingReservationRequestsResponse.cs: id: 1d17ae1a2e4c @@ -15484,9 +15388,13 @@ trackedFiles: id: fa01411572f0 last_write_checksum: sha1:c03db457353543490d7b8a842b883749f91b607d pristine_git_object: 753806caac32c5d70d19fb9f85ed0abfbe40238c + src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewRequest.cs: + last_write_checksum: sha1:8366150d9acd7d0fe018e44dc65c4e443ceaeafc + src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewResponse.cs: + last_write_checksum: sha1:f7a6553ef66c126107957054d6335ad6e3a4e3ce src/Cvent/SDK/Models/Requests/GetOrderItemsRequest.cs: id: 85efc730faa5 - last_write_checksum: sha1:8e253f884353005f12ed5ac89415658d905d4034 + last_write_checksum: sha1:4666f43e5ad8a268a09ba4d6dabfbc24ac2b817b pristine_git_object: db26aa35d0a44c6bb056c9778d8584f6b4f7bc3a src/Cvent/SDK/Models/Requests/GetOrderItemsResponse.cs: id: d2689a626aab @@ -15494,7 +15402,7 @@ trackedFiles: pristine_git_object: 323332983fc231efcb15330563de5b5f1c0cb30c src/Cvent/SDK/Models/Requests/GetOrdersRequest.cs: id: 16910f1ae126 - last_write_checksum: sha1:26de8246aad8efb0d69b5fdcf18475f78ee9b3ad + last_write_checksum: sha1:dbd747b8959da826097d24540bd91fc730ca3f1c pristine_git_object: d9a5dbe0e280de03d66d29be80791eb25e6b7d05 src/Cvent/SDK/Models/Requests/GetOrdersResponse.cs: id: dedf369b65bd @@ -15742,7 +15650,7 @@ trackedFiles: pristine_git_object: 2aff4ecf42a75e8cd898064ff3977923ff6d8871 src/Cvent/SDK/Models/Requests/GetStandardSurveyEmailTemplatesRequest.cs: id: 320d96820fb3 - last_write_checksum: sha1:51500d1ff2f2fdcdf2af96dd0e92f3c593b34918 + last_write_checksum: sha1:bf22bd94ba8876b44c3147e252272f89ca0ba157 pristine_git_object: c69149524d77d2b0161a5cf062a7513b295d94c8 src/Cvent/SDK/Models/Requests/GetStandardSurveyEmailTemplatesResponse.cs: id: 5266317969bd @@ -15750,7 +15658,7 @@ trackedFiles: pristine_git_object: 7f4e3e78d475b00bad1405f0a56c12c91f326cab src/Cvent/SDK/Models/Requests/GetStandardSurveyQuestionsRequest.cs: id: bc4e993c3403 - last_write_checksum: sha1:5b922104f3b2d707accc03108582ecf52e46502c + last_write_checksum: sha1:1499206eb583db32c7e78fccc673b2c107323a7a pristine_git_object: 8699980f2016c912a2f993cee1279720f25db89a src/Cvent/SDK/Models/Requests/GetStandardSurveyQuestionsResponse.cs: id: f0c74abab91a @@ -15904,6 +15812,10 @@ trackedFiles: id: 90c3d3328b9e last_write_checksum: sha1:77619087b3adffe81d213b98fa1e358a35e12bbf pristine_git_object: 939beae2f24c66480a6f7821d9a0f726f5e2c32c + src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewRequest.cs: + last_write_checksum: sha1:631d3508d2178da951d21fc23ec0c67eab350289 + src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewResponse.cs: + last_write_checksum: sha1:6de545ffe4974725709e226e23c1589f2cdffae3 src/Cvent/SDK/Models/Requests/GetVideoViewsRequest.cs: id: b2f0d27eae9c last_write_checksum: sha1:3e65e6a60c0b1a0a54cc49bff1d37d887a74d906 @@ -16038,7 +15950,7 @@ trackedFiles: pristine_git_object: 50f6e5f8f0488073e4d2aa28d1c743c0e378c799 src/Cvent/SDK/Models/Requests/ListAttendeesRequest.cs: id: df1f0065558e - last_write_checksum: sha1:0dec883bb74722bfa3e1e025c1871b42468c9b73 + last_write_checksum: sha1:b9f89308733426a4d564331bcd9b166b94c9ad45 pristine_git_object: ec412151b8bfd8df94c36dad4b3911072dbad1dc src/Cvent/SDK/Models/Requests/ListAttendeesResponse.cs: id: 11bc43f21fd6 @@ -16094,7 +16006,7 @@ trackedFiles: pristine_git_object: 36bfb5b8190023f7b443329708aa1758717b33df src/Cvent/SDK/Models/Requests/ListBulkJobResultRequest.cs: id: 78f53ac9f15e - last_write_checksum: sha1:1ff9f2b300494e3316275348841f868deee00782 + last_write_checksum: sha1:d1cfb28dfa519b42ba0f24e37f28d5cd2dcf6041 pristine_git_object: d4cad6906be1ff380a565d4160d6c767b911c112 src/Cvent/SDK/Models/Requests/ListBulkJobResultResponse.cs: id: 61ce401d2313 @@ -16226,7 +16138,7 @@ trackedFiles: last_write_checksum: sha1:54b79c6e20d577d920d301b0cb764ad1bc94f666 src/Cvent/SDK/Models/Requests/ListEventWeblinksRequest.cs: id: 9578d46b24cb - last_write_checksum: sha1:ceda069d697d8c8617cfeaa3df9bb39d94752d1e + last_write_checksum: sha1:1b34344ae7141aca9db3027d9fb98e87bea1f74e pristine_git_object: 128817f0a20f4d1b31a8c8ff53c453fbeed43b32 src/Cvent/SDK/Models/Requests/ListEventWeblinksResponse.cs: id: f0de3a3d637c @@ -16336,6 +16248,10 @@ trackedFiles: id: 96338801b5c8 last_write_checksum: sha1:dc03d49775650c59a765c3fed1d95b93806071ab pristine_git_object: 4cf99fc4392333450f63a637ffc0031b9b5fa5f6 + src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsRequest.cs: + last_write_checksum: sha1:4fea0da7fc5d71fd5c19a3c7b36247af66f92f37 + src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsResponse.cs: + last_write_checksum: sha1:651513db0cf76a4d971d9363920d652a212acb31 src/Cvent/SDK/Models/Requests/ListMembershipItemsPostFilterRequest.cs: last_write_checksum: sha1:1d74c8b95a61c9afd54b59fef41dc831689c8e68 src/Cvent/SDK/Models/Requests/ListMembershipItemsPostFilterResponse.cs: @@ -16744,6 +16660,18 @@ trackedFiles: id: 8664e03c73c4 last_write_checksum: sha1:d305f82259dd60080243e10ac6ae42b2578c5c49 pristine_git_object: f641b54093c1b925b9c70eb3e47be58fa4781eaf + src/Cvent/SDK/Models/Requests/PatchMeetingRoomRequest.cs: + last_write_checksum: sha1:a0ce5088114fde99f0eadf684a53a78f042d83cb + src/Cvent/SDK/Models/Requests/PatchMeetingRoomResponse.cs: + last_write_checksum: sha1:1bca63833ad9f6636f116f6eef607c2b3671888b + src/Cvent/SDK/Models/Requests/PatchVenueDetailsRequest.cs: + last_write_checksum: sha1:5e211e85442464ffa662a4bd01f3b56b9e15e823 + src/Cvent/SDK/Models/Requests/PatchVenueDetailsResponse.cs: + last_write_checksum: sha1:887bc2c23666e09ef1177fdea2f80eb773e3e87d + src/Cvent/SDK/Models/Requests/PatchVenueFacilityRequest.cs: + last_write_checksum: sha1:748e222ba78eff6a11913faabcec098f4c4270af + src/Cvent/SDK/Models/Requests/PatchVenueFacilityResponse.cs: + last_write_checksum: sha1:21e6661b4675512211799683874615e089e49a96 src/Cvent/SDK/Models/Requests/PostBadgeRequest.cs: id: 51f2cd5b64e2 last_write_checksum: sha1:82edaaa2725feef5d098b035aecd710049427886 @@ -17194,12 +17122,16 @@ trackedFiles: pristine_git_object: fda93ab1a1da0639df300ed6e8d547814820cfa6 src/Cvent/SDK/Models/Requests/UpdateMeetingRequestRequest.cs: id: 3ce07ca8b7a1 - last_write_checksum: sha1:2065c824ede61285a060774d1dcfe02dc24b6ee6 + last_write_checksum: sha1:821fa648ca4a477defe2b92ed94ac142da117ca8 pristine_git_object: 20022fe3679ba2cbd991b52a039bf31769f261e5 src/Cvent/SDK/Models/Requests/UpdateMeetingRequestResponse.cs: id: e35c0350a5ea - last_write_checksum: sha1:46b52c0e77a2ba96555147a0b3b88d12dbdf778e + last_write_checksum: sha1:9e352bcd6472fe808e16d53c503086cff2aca7e5 pristine_git_object: abcba87d7b70e8d0e94fbec0c67165338fcc802a + src/Cvent/SDK/Models/Requests/UpdateMeetingRoomRequest.cs: + last_write_checksum: sha1:b4d9436816f4dce7e70d77ff1b9354833914eeb5 + src/Cvent/SDK/Models/Requests/UpdateMeetingRoomResponse.cs: + last_write_checksum: sha1:8fba38f0fe5b9b5e34b7bf7639af9130f4443e12 src/Cvent/SDK/Models/Requests/UpdatePaymentRequest.cs: id: d26a2a4d6321 last_write_checksum: sha1:edd1e131ab554dcb241cfa953387264ec736e2a5 @@ -17320,6 +17252,14 @@ trackedFiles: id: 77e8f028ac65 last_write_checksum: sha1:45df933ebf103fbda2a95253ac02364dac9e486f pristine_git_object: ad9ffcf9dd69f4ce34731b8e7f5b1fe170f2edf4 + src/Cvent/SDK/Models/Requests/UpdateVenueDetailsRequest.cs: + last_write_checksum: sha1:dd8c969f034bd2ae37c2b61656ea2b1a26c74a7b + src/Cvent/SDK/Models/Requests/UpdateVenueDetailsResponse.cs: + last_write_checksum: sha1:31c98b5fd1b74ceb49968733acc98de08d242d8c + src/Cvent/SDK/Models/Requests/UpdateVenueFacilityRequest.cs: + last_write_checksum: sha1:cdf901cb24020d03cfaab08f928f3c597b313c3d + src/Cvent/SDK/Models/Requests/UpdateVenueFacilityResponse.cs: + last_write_checksum: sha1:4d94cd0ab8fe7165c7afd1f2b89ed1350f9500a4 src/Cvent/SDK/Models/Requests/UpdateWebcastRequest.cs: id: 833d44f0c646 last_write_checksum: sha1:d8b64377ebfa0500e15b9896e670a3afbdc52690 @@ -17362,7 +17302,7 @@ trackedFiles: last_write_checksum: sha1:a82d3b5c66346b08e9412b70e0c08ff88b6061ad src/Cvent/SDK/SDKConfig.cs: id: 7ad7086454a8 - last_write_checksum: sha1:cdf7802821334e37bef9cb48254144de43ad34de + last_write_checksum: sha1:58bb873f93f89ac58bea3dbfd13a9d48b11d2204 pristine_git_object: 796c23cd551fbe87f613d89d60ed25ac5fe0c54b src/Cvent/SDK/Seating.cs: id: 01c249fc2746 @@ -17382,7 +17322,7 @@ trackedFiles: pristine_git_object: 62b8ecac78252d0ddbf04e1b73995f1009a50756 src/Cvent/SDK/Surveys.cs: id: 5ac9a3db2276 - last_write_checksum: sha1:fc59cef6a5bb9b2dc025f05f2ec84e216815cdfc + last_write_checksum: sha1:d72b11535b649a18c578eaeb5b6e1d80fd6fb8b6 pristine_git_object: 9d6474ebb10263553e076c5fca597acb9b079883 src/Cvent/SDK/TravelAccounts.cs: id: 61741a8e012d @@ -17390,7 +17330,7 @@ trackedFiles: pristine_git_object: 72a96dbfd10e9549f7ead3bc04e6820a8d40db5d src/Cvent/SDK/TravelRFPs.cs: id: 997ae89b25f5 - last_write_checksum: sha1:a5344c5cdc268ed05ca881a5d87663199e5f1ab2 + last_write_checksum: sha1:81265d3effe330c6c9ee6c2d0512f985597b219a pristine_git_object: 05d1627ed93fecba64acb478906f82d108f7e85a src/Cvent/SDK/TravelSuppliers.cs: id: dd9df70f50c4 @@ -17418,7 +17358,7 @@ trackedFiles: pristine_git_object: a75f770b33edd25c0fa4d4a77ab523da12d269ba src/Cvent/SDK/Utils/Constants.cs: id: 231d94d8a5dc - last_write_checksum: sha1:e667f60c968096fb0721d7abc5fbb7faa7e47338 + last_write_checksum: sha1:4e4ce3dba9706d4ba1995402164cf2ba3aa743b8 pristine_git_object: 0a54932893793a10e459afbc15920803cff3ed1e src/Cvent/SDK/Utils/CventSDKHttpClient.cs: id: 374fee4fdbaf @@ -17484,6 +17424,10 @@ trackedFiles: id: 23a9f520e9f5 last_write_checksum: sha1:2c2d12d9f11afbe19008a7c61babf040637b75bf pristine_git_object: a4c7a9bac8aee370790ba0d8c90746ab448ec11e + src/Cvent/SDK/VenueMeetingRooms.cs: + last_write_checksum: sha1:f79198351e10f8124a1c63afb604723bb17f85e6 + src/Cvent/SDK/VenueProfiles.cs: + last_write_checksum: sha1:28a4a8599c9adc1f3f47d873ad9b5b8968ac3d30 src/Cvent/SDK/Video.cs: id: e5dec39ceec8 last_write_checksum: sha1:dcd2c82b7bf5c422ccfc5a385304db42c12cae5c @@ -18414,7 +18358,7 @@ examples: expand: ["answers.question", "registrationType"] responses: "200": - application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "8e8665e7-ca97-4610-90dc-3527c766faf9", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "8e8665e7-ca97-4610-90dc-3527c766faf9", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "unsubscribed": false, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateAttendee: @@ -18426,7 +18370,7 @@ examples: application/json: {"event": {"id": "0a955598-376e-43d4-a796-91d6d5f41e3f"}, "contact": {"id": "ea66a709-2a93-4fa0-8b83-cf4f62df9dc3"}, "invitationList": {"id": "06da38f9-12da-4cb6-a581-7a5954f8e0e2"}, "referenceId": "refid-marketingwebsite", "note": "Would like to sit near the front of the room for sessions.", "administrator": {"id": "7949c335-b5b2-46cf-8f5d-f6b21795df51"}, "admissionItem": {"id": "7949c335-b5b2-46cf-8f5d-f6b21795df51"}, "visibility": "Private", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "sendEmail": false, "status": "Accepted"} responses: "200": - application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "d1b5785a-f370-4935-ab5c-d8b318a79002", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "d1b5785a-f370-4935-ab5c-d8b318a79002", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "unsubscribed": false, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateInternalInfoAnswers: @@ -22994,6 +22938,127 @@ examples: application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"id": "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueDetails: + speakeasy-default-update-venue-details: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A modern conference venue in downtown.", "additionalInformation": "Free parking available on-site.", "cancellationPolicy": "Full refund if cancelled 48 hours before event.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "country": "LA", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A modern conference venue in downtown.", "additionalInformation": "Free parking available on-site.", "cancellationPolicy": "Full refund if cancelled 48 hours before event.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "country": "LA", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Vienna Wolf Trap Hotel", "metroArea": "Washington DC Metro"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchVenueDetails: + speakeasy-default-patch-venue-details: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/merge-patch+json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A premier conference and event venue in the heart of Northern Virginia.", "additionalInformation": "Complimentary parking available for all event attendees.", "cancellationPolicy": "48-hour cancellation policy applies for all event bookings.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + responses: + "200": + application/json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A premier conference and event venue in the heart of Northern Virginia.", "additionalInformation": "Complimentary parking available for all event attendees.", "cancellationPolicy": "48-hour cancellation policy applies for all event bookings.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getVenueDetailsOverview: + speakeasy-default-get-venue-details-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + responses: + "200": + application/json: {"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "name": "Vienna Wolf Trap Hotel"} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueFacility: + speakeasy-default-update-venue-facility: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}, "id": "e1c05096-e352-4f2e-af1c-a6e022d36b34", "name": "Vienna Wolf Trap Hotel"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchVenueFacility: + speakeasy-default-patch-venue-facility: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/merge-patch+json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + responses: + "200": + application/json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + createMeetingRoom: + speakeasy-default-create-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "201": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listMeetingRoomsOverviews: + speakeasy-default-list-meeting-rooms-overviews: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + filter: "hiddenOnProfile eq 'false'" + responses: + "200": + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": []} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateMeetingRoom: + speakeasy-default-update-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "2344f9ab-537e-412f-ad6d-264fedbf17a6" + requestBody: + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchMeetingRoom: + speakeasy-default-patch-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "2a12f958-0ac4-4665-9210-449812da553a" + requestBody: + application/merge-patch+json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-RM-12345", "rates": null, "capacities": null, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "200": + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-RM-12345", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getMeetingRoomOverview: + speakeasy-default-get-meeting-room-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "081078e3-8a73-49c6-b757-a3d52dbc2cc8" + responses: + "200": + application/json: {"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "name": "Grand Ballroom", "hiddenOnProfile": false, "displayOrder": 1} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} examplesVersion: 1.0.2 generatedTests: getAccountUserGroups: "2026-02-27T14:14:25-04:00" @@ -23385,3 +23450,13 @@ generatedTests: listEventVouchers: "2026-06-24T15:38:54-04:00" listEventVouchersPostFilter: "2026-06-24T15:38:54-04:00" listEventVoucherAttendees: "2026-06-24T15:38:54-04:00" + updateVenueDetails: "2026-07-28T10:02:09-06:00" + patchVenueDetails: "2026-07-28T10:02:09-06:00" + getVenueDetailsOverview: "2026-07-28T10:02:09-06:00" + updateVenueFacility: "2026-07-28T10:02:09-06:00" + patchVenueFacility: "2026-07-28T10:02:09-06:00" + createMeetingRoom: "2026-07-28T10:02:09-06:00" + listMeetingRoomsOverviews: "2026-07-28T10:02:09-06:00" + updateMeetingRoom: "2026-07-28T10:02:09-06:00" + patchMeetingRoom: "2026-07-28T10:02:09-06:00" + getMeetingRoomOverview: "2026-07-28T10:02:09-06:00" diff --git a/packages/csharp/.speakeasy/gen.yaml b/packages/csharp/.speakeasy/gen.yaml index 7a11cb9e2..5883a3d99 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.2 + version: 1.6.0 additionalDependencies: [] author: Cvent baseErrorName: CventSDKException diff --git a/packages/csharp/.speakeasy/tests.arazzo.yaml b/packages/csharp/.speakeasy/tests.arazzo.yaml index 29b788fd9..f0fd091d7 100644 --- a/packages/csharp/.speakeasy/tests.arazzo.yaml +++ b/packages/csharp/.speakeasy/tests.arazzo.yaml @@ -1759,7 +1759,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"8e8665e7-ca97-4610-90dc-3527c766faf9","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"8e8665e7-ca97-4610-90dc-3527c766faf9","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"unsubscribed":false,"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} type: simple x-speakeasy-test-group: Attendees x-speakeasy-test-rebuild: true @@ -1799,7 +1799,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"d1b5785a-f370-4935-ab5c-d8b318a79002","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"d1b5785a-f370-4935-ab5c-d8b318a79002","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"unsubscribed":false,"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} type: simple x-speakeasy-test-group: Attendees x-speakeasy-test-rebuild: true @@ -10816,3 +10816,403 @@ workflows: type: simple x-speakeasy-test-group: Events x-speakeasy-test-rebuild: true + - workflowId: updateVenueDetails + steps: + - stepId: test + operationId: updateVenueDetails + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + additionalInformation: Free parking available on-site. + address: + city: Vienna + country: LA + directions: Take I-66 West to Exit 67, then follow signs to Trap Road. + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + brand: Quality Hotels + cancellationPolicy: Full refund if cancelled 48 hours before event. + chainScale: UPSCALE_CHAINS + description: A modern conference venue in downtown. + locationTypes: + - SUBURBAN + mainFaxNumber: +1-703-555-0101 + mainPhoneNumber: +1-703-555-0100 + openingDate: Spring 2025 + salesFaxNumber: +1-703-555-0103 + salesPhoneNumber: +1-703-555-0102 + timeZone: America/New_York + tollFreeNumber: 1-800-555-0100 + type: HOTEL + websiteAddress: https://www.example-hotel.com + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","type":"HOTEL","timeZone":"America/New_York","brand":"Quality Hotels","chainScale":"UPSCALE_CHAINS","mainPhoneNumber":"+1-703-555-0100","mainFaxNumber":"+1-703-555-0101","salesPhoneNumber":"+1-703-555-0102","salesFaxNumber":"+1-703-555-0103","tollFreeNumber":"1-800-555-0100","websiteAddress":"https://www.example-hotel.com","openingDate":"Spring 2025","description":"A modern conference venue in downtown.","additionalInformation":"Free parking available on-site.","cancellationPolicy":"Full refund if cancelled 48 hours before event.","locationTypes":["SUBURBAN"],"address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182","country":"LA","directions":"Take I-66 West to Exit 67, then follow signs to Trap Road."},"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","name":"Vienna Wolf Trap Hotel","metroArea":"Washington DC Metro"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: patchVenueDetails + steps: + - stepId: test + operationId: patchVenueDetails + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/merge-patch+json + payload: + additionalInformation: Complimentary parking available for all event attendees. + address: + city: Vienna + directions: Take I-66 West to Exit 67, then follow signs to Trap Road. + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + brand: Quality Hotels + cancellationPolicy: 48-hour cancellation policy applies for all event bookings. + chainScale: UPSCALE_CHAINS + description: A premier conference and event venue in the heart of Northern Virginia. + locationTypes: + - SUBURBAN + mainFaxNumber: +1-703-555-0101 + mainPhoneNumber: +1-703-555-0100 + openingDate: Spring 2025 + salesFaxNumber: +1-703-555-0103 + salesPhoneNumber: +1-703-555-0102 + timeZone: America/New_York + tollFreeNumber: 1-800-555-0100 + type: HOTEL + websiteAddress: https://www.example-hotel.com + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"type":"HOTEL","timeZone":"America/New_York","brand":"Quality Hotels","chainScale":"UPSCALE_CHAINS","mainPhoneNumber":"+1-703-555-0100","mainFaxNumber":"+1-703-555-0101","salesPhoneNumber":"+1-703-555-0102","salesFaxNumber":"+1-703-555-0103","tollFreeNumber":"1-800-555-0100","websiteAddress":"https://www.example-hotel.com","openingDate":"Spring 2025","description":"A premier conference and event venue in the heart of Northern Virginia.","additionalInformation":"Complimentary parking available for all event attendees.","cancellationPolicy":"48-hour cancellation policy applies for all event bookings.","locationTypes":["SUBURBAN"],"address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182","directions":"Take I-66 West to Exit 67, then follow signs to Trap Road."}} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: getVenueDetailsOverview + steps: + - stepId: test + operationId: getVenueDetailsOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"b2c3d4e5-f6a7-8901-bcde-f12345678901","name":"Vienna Wolf Trap Hotel"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: updateVenueFacility + steps: + - stepId: test + operationId: updateVenueFacility + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + doubleRate: + high: 299.99 + low: 149.99 + maximumCapacity: + seated: 500 + standing: 800 + numberOfMeetingRooms: 25 + occupancyRate: 75.5 + proximityFromAirport: + distance: 12.5 + restrictions: No outside food or beverage permitted. Music must end by 11 PM. + singleRate: + high: 249.99 + low: 129.99 + sleeping: + doubleRooms: 130 + singleRooms: 200 + suites: 20 + totalRooms: 350 + space: + totalExhibitSpace: 75000 + totalMeetingRoomSpace: 50000 + taxRate: 8.5 + yearBuilt: 1998 + yearRenovated: 2021 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","numberOfMeetingRooms":25,"space":{"totalMeetingRoomSpace":50000,"totalExhibitSpace":75000},"sleeping":{"totalRooms":350,"suites":20,"singleRooms":200,"doubleRooms":130},"singleRate":{"low":129.99,"high":249.99},"doubleRate":{"low":149.99,"high":299.99},"taxRate":8.5,"occupancyRate":75.5,"yearBuilt":1998,"yearRenovated":2021,"proximityFromAirport":{"distance":12.5},"restrictions":"No outside food or beverage permitted. Music must end by 11 PM.","maximumCapacity":{"seated":500,"standing":800},"id":"e1c05096-e352-4f2e-af1c-a6e022d36b34","name":"Vienna Wolf Trap Hotel"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: patchVenueFacility + steps: + - stepId: test + operationId: patchVenueFacility + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/merge-patch+json + payload: + doubleRate: + high: 299.99 + low: 149.99 + maximumCapacity: + seated: 500 + standing: 800 + numberOfMeetingRooms: 25 + occupancyRate: 75.5 + proximityFromAirport: + distance: 12.5 + restrictions: No outside food or beverage permitted. Music must end by 11 PM. + singleRate: + high: 249.99 + low: 129.99 + sleeping: + doubleRooms: 130 + singleRooms: 200 + suites: 20 + totalRooms: 350 + space: + totalExhibitSpace: 75000 + totalMeetingRoomSpace: 50000 + taxRate: 8.5 + yearBuilt: 1998 + yearRenovated: 2021 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"numberOfMeetingRooms":25,"space":{"totalMeetingRoomSpace":50000,"totalExhibitSpace":75000},"sleeping":{"totalRooms":350,"suites":20,"singleRooms":200,"doubleRooms":130},"singleRate":{"low":129.99,"high":249.99},"doubleRate":{"low":149.99,"high":299.99},"taxRate":8.5,"occupancyRate":75.5,"yearBuilt":1998,"yearRenovated":2021,"proximityFromAirport":{"distance":12.5},"restrictions":"No outside food or beverage permitted. Music must end by 11 PM.","maximumCapacity":{"seated":500,"standing":800}} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: createMeetingRoom + steps: + - stepId: test + operationId: createMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + amenities: + - PROJECTOR + capacities: + exhibits: + - layoutType: BOOTH_10x10 + maxExhibits: 50 + seating: + - layoutType: THEATER + maxAttendees: 250 + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-123 + hiddenOnProfile: false + name: Grand Ballroom + rates: + event: + applicationType: PER_DAY + value: 500 + moveIn: + applicationType: PER_DAY + value: 500 + moveOut: + applicationType: PER_DAY + value: 500 + successCriteria: + - condition: $statusCode == 201 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-123","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false,"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: listMeetingRoomsOverviews + steps: + - stepId: test + operationId: listMeetingRoomsOverviews + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: filter + in: query + value: hiddenOnProfile eq 'false' + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[]} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: updateMeetingRoom + steps: + - stepId: test + operationId: updateMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 2344f9ab-537e-412f-ad6d-264fedbf17a6 + requestBody: + contentType: application/json + payload: + amenities: + - PROJECTOR + capacities: + exhibits: + - layoutType: BOOTH_10x10 + maxExhibits: 50 + seating: + - layoutType: THEATER + maxAttendees: 250 + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-123 + hiddenOnProfile: false + name: Grand Ballroom + rates: + event: + applicationType: PER_DAY + value: 500 + moveIn: + applicationType: PER_DAY + value: 500 + moveOut: + applicationType: PER_DAY + value: 500 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-123","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false,"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: patchMeetingRoom + steps: + - stepId: test + operationId: patchMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 2a12f958-0ac4-4665-9210-449812da553a + requestBody: + contentType: application/merge-patch+json + payload: + amenities: + - PROJECTOR + capacities: null + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-RM-12345 + hiddenOnProfile: false + name: Grand Ballroom + rates: null + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-RM-12345","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: getMeetingRoomOverview + steps: + - stepId: test + operationId: getMeetingRoomOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 081078e3-8a73-49c6-b757-a3d52dbc2cc8 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"b2c3d4e5-f6a7-8901-bcde-f12345678901","name":"Grand Ballroom","hiddenOnProfile":false,"displayOrder":1} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true diff --git a/packages/csharp/NUGET.md b/packages/csharp/NUGET.md index 6b1f9b9ef..fa9718a18 100644 --- a/packages/csharp/NUGET.md +++ b/packages/csharp/NUGET.md @@ -325,10 +325,10 @@ catch (System.Net.Http.HttpRequestException ex) * [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`. * Inheriting from [`CventSDKException`](./src/Cvent/SDK/Models/Errors/CventSDKException.cs): - * [`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.* + * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.cs): The error response. Applicable to 11 of 458 methods.* + * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 9 of 458 methods.* + * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 458 methods.* + * [`BadRequestException`](./src/Cvent/SDK/Models/Errors/BadRequestException.cs): A bad token response. Status code `400`. Applicable to 1 of 458 methods.* * [`ResponseValidationError`](./src/Cvent/SDK/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type. \* Refer to the [relevant documentation](#available-resources-and-operations) to determine whether an exception applies to a specific operation. diff --git a/packages/csharp/README.md b/packages/csharp/README.md index bd62e3ba1..9bdb5abf2 100644 --- a/packages/csharp/README.md +++ b/packages/csharp/README.md @@ -744,6 +744,22 @@ var res = await sdk.Authentication.Oauth2TokenAsync( * [AddUserToAccountUserGroup](docs/sdks/users/README.md#addusertoaccountusergroup) - Associate User to Group * [DeleteUserFromAccountUserGroup](docs/sdks/users/README.md#deleteuserfromaccountusergroup) - Delete User from Group +### [VenueMeetingRooms](docs/sdks/venuemeetingrooms/README.md) + +* [CreateMeetingRoom](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room +* [ListMeetingRoomsOverviews](docs/sdks/venuemeetingrooms/README.md#listmeetingroomsoverviews) - List Meeting Rooms Overviews +* [UpdateMeetingRoom](docs/sdks/venuemeetingrooms/README.md#updatemeetingroom) - Update Meeting Room +* [PatchMeetingRoom](docs/sdks/venuemeetingrooms/README.md#patchmeetingroom) - Patch Meeting Room +* [GetMeetingRoomOverview](docs/sdks/venuemeetingrooms/README.md#getmeetingroomoverview) - Get Meeting Room Overview + +### [VenueProfiles](docs/sdks/venueprofiles/README.md) + +* [UpdateVenueDetails](docs/sdks/venueprofiles/README.md#updatevenuedetails) - Update Venue Details +* [PatchVenueDetails](docs/sdks/venueprofiles/README.md#patchvenuedetails) - Patch Venue Details +* [GetVenueDetailsOverview](docs/sdks/venueprofiles/README.md#getvenuedetailsoverview) - Get Venue Details Overview +* [UpdateVenueFacility](docs/sdks/venueprofiles/README.md#updatevenuefacility) - Update Venue Facility +* [PatchVenueFacility](docs/sdks/venueprofiles/README.md#patchvenuefacility) - Patch Venue Facility + ### [Video](docs/sdks/video/README.md) * [ListVideos](docs/sdks/video/README.md#listvideos) - List Videos @@ -988,10 +1004,10 @@ catch (System.Net.Http.HttpRequestException ex) * [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`. * Inheriting from [`CventSDKException`](./src/Cvent/SDK/Models/Errors/CventSDKException.cs): - * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 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.* + * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.cs): The error response. Applicable to 11 of 458 methods.* + * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 9 of 458 methods.* + * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 458 methods.* + * [`BadRequestException`](./src/Cvent/SDK/Models/Errors/BadRequestException.cs): A bad token response. Status code `400`. Applicable to 1 of 458 methods.* * [`ResponseValidationError`](./src/Cvent/SDK/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type. diff --git a/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md b/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md index 9f9e22ff2..a9f473149 100644 --- a/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md +++ b/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | | `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `ContactFields` | [ContactFields](../../Models/Components/ContactFields.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file +| `ContactFields` | [ContactFields2](../../Models/Components/ContactFields2.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityAd.md b/packages/csharp/docs/Models/Components/ActivityAd.md new file mode 100644 index 000000000..80d3985dd --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityAd.md @@ -0,0 +1,14 @@ +# ActivityAd + +The details of the advertisement. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the ad. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | The name of the ad. | New Year Sale | +| `Product` | *string* | :heavy_minus_sign: | The product for which ad is created | ATTENDEE_HUB | +| `Location` | [AdLocation](../../Models/Components/AdLocation.md) | :heavy_minus_sign: | The placement of the ad within the specific product. | Home Page | +| `Attribution` | [Attribution](../../Models/Components/Attribution.md) | :heavy_minus_sign: | The entity to which the ad is associated. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityAdJson.md b/packages/csharp/docs/Models/Components/ActivityAdJson.md deleted file mode 100644 index 7f51eb9fe..000000000 --- a/packages/csharp/docs/Models/Components/ActivityAdJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# ActivityAdJson - -The details of the advertisement. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the ad. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Name` | *string* | :heavy_minus_sign: | The name of the ad. | New Year Sale | -| `Product` | *string* | :heavy_minus_sign: | The product for which ad is created | ATTENDEE_HUB | -| `Location` | [AdLocationJson](../../Models/Components/AdLocationJson.md) | :heavy_minus_sign: | The placement of the ad within the specific product. | Home Page | -| `Attribution` | [Attribution](../../Models/Components/Attribution.md) | :heavy_minus_sign: | The entity to which the ad is associated. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityAppointment.md b/packages/csharp/docs/Models/Components/ActivityAppointment.md new file mode 100644 index 000000000..8c52708e6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityAppointment.md @@ -0,0 +1,15 @@ +# ActivityAppointment + +An activity appointment. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | +| `Code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | +| `AppointmentEvent` | [ActivityAppointmentAppointmentEvent](../../Models/Components/ActivityAppointmentAppointmentEvent.md) | :heavy_minus_sign: | N/A | | +| `Start` | [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 an appointment starts. | 2020-02-03T13:00:00.000Z | +| `End` | [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 an appointment ends. | 2020-02-03T14:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityAppointmentAppointmentEvent.md b/packages/csharp/docs/Models/Components/ActivityAppointmentAppointmentEvent.md new file mode 100644 index 000000000..c50d47b61 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityAppointmentAppointmentEvent.md @@ -0,0 +1,9 @@ +# ActivityAppointmentAppointmentEvent + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | +| `Code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityAppointmentJson.md b/packages/csharp/docs/Models/Components/ActivityAppointmentJson.md deleted file mode 100644 index cc0a1a4b2..000000000 --- a/packages/csharp/docs/Models/Components/ActivityAppointmentJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# ActivityAppointmentJson - -An activity appointment. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | -| `Code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | -| `AppointmentEvent` | [ActivityAppointmentJsonAppointmentEvent](../../Models/Components/ActivityAppointmentJsonAppointmentEvent.md) | :heavy_minus_sign: | N/A | | -| `Start` | [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 an appointment starts. | 2020-02-03T13:00:00.000Z | -| `End` | [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 an appointment ends. | 2020-02-03T14:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityAppointmentJsonAppointmentEvent.md b/packages/csharp/docs/Models/Components/ActivityAppointmentJsonAppointmentEvent.md deleted file mode 100644 index 4e3deb761..000000000 --- a/packages/csharp/docs/Models/Components/ActivityAppointmentJsonAppointmentEvent.md +++ /dev/null @@ -1,9 +0,0 @@ -# ActivityAppointmentJsonAppointmentEvent - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | -| `Code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityBaseAppointment.md b/packages/csharp/docs/Models/Components/ActivityBaseAppointment.md new file mode 100644 index 000000000..5d7b66b83 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityBaseAppointment.md @@ -0,0 +1,13 @@ +# ActivityBaseAppointment + +Base entity of an activity appointment. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | +| `Code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | +| `AppointmentEvent` | [ActivityBaseAppointmentAppointmentEvent](../../Models/Components/ActivityBaseAppointmentAppointmentEvent.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityBaseAppointmentAppointmentEvent.md b/packages/csharp/docs/Models/Components/ActivityBaseAppointmentAppointmentEvent.md new file mode 100644 index 000000000..beb07097a --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityBaseAppointmentAppointmentEvent.md @@ -0,0 +1,9 @@ +# ActivityBaseAppointmentAppointmentEvent + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | +| `Code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityBaseAppointmentJson.md b/packages/csharp/docs/Models/Components/ActivityBaseAppointmentJson.md deleted file mode 100644 index 37684a869..000000000 --- a/packages/csharp/docs/Models/Components/ActivityBaseAppointmentJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityBaseAppointmentJson - -Base entity of an activity appointment. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | -| `Code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | -| `AppointmentEvent` | [ActivityBaseAppointmentJsonAppointmentEvent](../../Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.md b/packages/csharp/docs/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.md deleted file mode 100644 index 264912a83..000000000 --- a/packages/csharp/docs/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.md +++ /dev/null @@ -1,9 +0,0 @@ -# ActivityBaseAppointmentJsonAppointmentEvent - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | -| `Code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityBoothStaff.md b/packages/csharp/docs/Models/Components/ActivityBoothStaff.md index 751198800..2d2ef841c 100644 --- a/packages/csharp/docs/Models/Components/ActivityBoothStaff.md +++ b/packages/csharp/docs/Models/Components/ActivityBoothStaff.md @@ -1,8 +1,6 @@ -# ~~ActivityBoothStaff~~ +# ActivityBoothStaff -Booth staff for the lead. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. +Booth staff for an activity. ## Fields diff --git a/packages/csharp/docs/Models/Components/ActivityContact.md b/packages/csharp/docs/Models/Components/ActivityContact.md index f52bd00b4..cd4023570 100644 --- a/packages/csharp/docs/Models/Components/ActivityContact.md +++ b/packages/csharp/docs/Models/Components/ActivityContact.md @@ -1,8 +1,6 @@ -# ~~ActivityContact~~ +# ActivityContact -Related contact. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. +An activity contact. ## Fields diff --git a/packages/csharp/docs/Models/Components/ActivityContactJson.md b/packages/csharp/docs/Models/Components/ActivityContactJson.md deleted file mode 100644 index 05b511b72..000000000 --- a/packages/csharp/docs/Models/Components/ActivityContactJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityContactJson - -An activity contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `FirstName` | *string* | :heavy_minus_sign: | The first name of the attendee. | Henry | -| `LastName` | *string* | :heavy_minus_sign: | The last name of the attendee. | Potterfield | -| `Email` | *string* | :heavy_minus_sign: | The email address of the attendee. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityData.md b/packages/csharp/docs/Models/Components/ActivityData.md new file mode 100644 index 000000000..834893218 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityData.md @@ -0,0 +1,318 @@ +# ActivityData + +This is used to denote the type of the attendee activity + + +## Supported Types + +### AppointmentAccepted + +```csharp +ActivityData.CreateAppointmentAccepted(/* values here */); +``` + +### AppointmentCancelled + +```csharp +ActivityData.CreateAppointmentCancelled(/* values here */); +``` + +### AppointmentCheckedIn + +```csharp +ActivityData.CreateAppointmentCheckedIn(/* values here */); +``` + +### AppointmentCreated + +```csharp +ActivityData.CreateAppointmentCreated(/* values here */); +``` + +### AppointmentDeclined + +```csharp +ActivityData.CreateAppointmentDeclined(/* values here */); +``` + +### AppointmentDenied + +```csharp +ActivityData.CreateAppointmentDenied(/* values here */); +``` + +### AppointmentRescheduled + +```csharp +ActivityData.CreateAppointmentRescheduled(/* values here */); +``` + +### EmailBounced + +```csharp +ActivityData.CreateEmailBounced(/* values here */); +``` + +### EmailClicked + +```csharp +ActivityData.CreateEmailClicked(/* values here */); +``` + +### EmailOpened + +```csharp +ActivityData.CreateEmailOpened(/* values here */); +``` + +### EmailSent + +```csharp +ActivityData.CreateEmailSent(/* values here */); +``` + +### EmailUndelivered + +```csharp +ActivityData.CreateEmailUndelivered(/* values here */); +``` + +### EventAttendeeHubVisited + +```csharp +ActivityData.CreateEventAttendeeHubVisited(/* values here */); +``` + +### EventAttendeeSubstituted + +```csharp +ActivityData.CreateEventAttendeeSubstituted(/* values here */); +``` + +### EventBannerLinkClicked + +```csharp +ActivityData.CreateEventBannerLinkClicked(/* values here */); +``` + +### EventCheckedIn + +```csharp +ActivityData.CreateEventCheckedIn(/* values here */); +``` + +### EventCheckedOut + +```csharp +ActivityData.CreateEventCheckedOut(/* values here */); +``` + +### EventCustomCardOpened + +```csharp +ActivityData.CreateEventCustomCardOpened(/* values here */); +``` + +### EventFeedbackSubmitted + +```csharp +ActivityData.CreateEventFeedbackSubmitted(/* values here */); +``` + +### EventNoShow + +```csharp +ActivityData.CreateEventNoShow(/* values here */); +``` + +### EventPageVisitTracked + +```csharp +ActivityData.CreateEventPageVisitTracked(/* values here */); +``` + +### EventRegistered + +```csharp +ActivityData.CreateEventRegistered(/* values here */); +``` + +### EventRegistrationAbandoned + +```csharp +ActivityData.CreateEventRegistrationAbandoned(/* values here */); +``` + +### EventRegistrationCancelled + +```csharp +ActivityData.CreateEventRegistrationCancelled(/* values here */); +``` + +### EventVideoPlayed + +```csharp +ActivityData.CreateEventVideoPlayed(/* values here */); +``` + +### EventWaitlisted + +```csharp +ActivityData.CreateEventWaitlisted(/* values here */); +``` + +### ExhibitorDocumentOpened + +```csharp +ActivityData.CreateExhibitorDocumentOpened(/* values here */); +``` + +### ExhibitorSocialLinkOpened + +```csharp +ActivityData.CreateExhibitorSocialLinkOpened(/* values here */); +``` + +### ExhibitorViewed + +```csharp +ActivityData.CreateExhibitorViewed(/* values here */); +``` + +### ExhibitorVirtualBoothJoined + +```csharp +ActivityData.CreateExhibitorVirtualBoothJoined(/* values here */); +``` + +### ExhibitorWeblinkOpened + +```csharp +ActivityData.CreateExhibitorWeblinkOpened(/* values here */); +``` + +### LeadInboundCreated + +```csharp +ActivityData.CreateLeadInboundCreated(/* values here */); +``` + +### LeadQualified + +```csharp +ActivityData.CreateLeadQualified(/* values here */); +``` + +### LeadScanned + +```csharp +ActivityData.CreateLeadScanned(/* values here */); +``` + +### SessionCheckedIn + +```csharp +ActivityData.CreateSessionCheckedIn(/* values here */); +``` + +### SessionCheckedOut + +```csharp +ActivityData.CreateSessionCheckedOut(/* values here */); +``` + +### SessionEnrolled + +```csharp +ActivityData.CreateSessionEnrolled(/* values here */); +``` + +### SessionFeedbackSubmitted + +```csharp +ActivityData.CreateSessionFeedbackSubmitted(/* values here */); +``` + +### SessionNoShow + +```csharp +ActivityData.CreateSessionNoShow(/* values here */); +``` + +### SessionPollResponseSubmitted + +```csharp +ActivityData.CreateSessionPollResponseSubmitted(/* values here */); +``` + +### SessionQuestionAsked + +```csharp +ActivityData.CreateSessionQuestionAsked(/* values here */); +``` + +### SessionQuestionUpvoted + +```csharp +ActivityData.CreateSessionQuestionUpvoted(/* values here */); +``` + +### SessionUnenrolled + +```csharp +ActivityData.CreateSessionUnenrolled(/* values here */); +``` + +### SessionWaitlisted + +```csharp +ActivityData.CreateSessionWaitlisted(/* values here */); +``` + +### SpeakerFeedbackSubmitted + +```csharp +ActivityData.CreateSpeakerFeedbackSubmitted(/* values here */); +``` + +### SpeakerFileDownloaded + +```csharp +ActivityData.CreateSpeakerFileDownloaded(/* values here */); +``` + +### ActivityDataAppointmentExternal + +```csharp +ActivityData.CreateActivityDataAppointmentExternal(/* values here */); +``` + +### ActivityDataEventExternal + +```csharp +ActivityData.CreateActivityDataEventExternal(/* values here */); +``` + +### ActivityDataExhibitorExternal + +```csharp +ActivityData.CreateActivityDataExhibitorExternal(/* values here */); +``` + +### ActivityDataSessionExternal + +```csharp +ActivityData.CreateActivityDataSessionExternal(/* values here */); +``` + +### EventAdViewed + +```csharp +ActivityData.CreateEventAdViewed(/* values here */); +``` + +### EventAdClicked + +```csharp +ActivityData.CreateEventAdClicked(/* values here */); +``` diff --git a/packages/csharp/docs/Models/Components/ActivityDataAppointmentExternal.md b/packages/csharp/docs/Models/Components/ActivityDataAppointmentExternal.md new file mode 100644 index 000000000..52a9d3594 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataAppointmentExternal.md @@ -0,0 +1,12 @@ +# ActivityDataAppointmentExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent1.md b/packages/csharp/docs/Models/Components/ActivityDataEvent1.md new file mode 100644 index 000000000..c4898bdc7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent1.md @@ -0,0 +1,10 @@ +# ActivityDataEvent1 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent2.md b/packages/csharp/docs/Models/Components/ActivityDataEvent2.md new file mode 100644 index 000000000..13b68e4df --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent2.md @@ -0,0 +1,10 @@ +# ActivityDataEvent2 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent3.md b/packages/csharp/docs/Models/Components/ActivityDataEvent3.md new file mode 100644 index 000000000..c931be556 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent3.md @@ -0,0 +1,10 @@ +# ActivityDataEvent3 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent4.md b/packages/csharp/docs/Models/Components/ActivityDataEvent4.md new file mode 100644 index 000000000..84465c599 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent4.md @@ -0,0 +1,10 @@ +# ActivityDataEvent4 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent5.md b/packages/csharp/docs/Models/Components/ActivityDataEvent5.md new file mode 100644 index 000000000..870f94247 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent5.md @@ -0,0 +1,10 @@ +# ActivityDataEvent5 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent6.md b/packages/csharp/docs/Models/Components/ActivityDataEvent6.md new file mode 100644 index 000000000..417709a5c --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent6.md @@ -0,0 +1,10 @@ +# ActivityDataEvent6 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent7.md b/packages/csharp/docs/Models/Components/ActivityDataEvent7.md new file mode 100644 index 000000000..c16042e5e --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent7.md @@ -0,0 +1,10 @@ +# ActivityDataEvent7 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEvent8.md b/packages/csharp/docs/Models/Components/ActivityDataEvent8.md new file mode 100644 index 000000000..f74a89395 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEvent8.md @@ -0,0 +1,10 @@ +# ActivityDataEvent8 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataEventExternal.md b/packages/csharp/docs/Models/Components/ActivityDataEventExternal.md new file mode 100644 index 000000000..d01849fbe --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataEventExternal.md @@ -0,0 +1,12 @@ +# ActivityDataEventExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataExhibitorExternal.md b/packages/csharp/docs/Models/Components/ActivityDataExhibitorExternal.md new file mode 100644 index 000000000..c2c17fbac --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataExhibitorExternal.md @@ -0,0 +1,12 @@ +# ActivityDataExhibitorExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJson.md b/packages/csharp/docs/Models/Components/ActivityDataJson.md deleted file mode 100644 index 83c0779bd..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJson.md +++ /dev/null @@ -1,318 +0,0 @@ -# ActivityDataJson - -This is used to denote the type of the attendee activity - - -## Supported Types - -### AppointmentAccepted - -```csharp -ActivityDataJson.CreateAppointmentAccepted(/* values here */); -``` - -### AppointmentCancelled - -```csharp -ActivityDataJson.CreateAppointmentCancelled(/* values here */); -``` - -### AppointmentCheckedIn - -```csharp -ActivityDataJson.CreateAppointmentCheckedIn(/* values here */); -``` - -### AppointmentCreated - -```csharp -ActivityDataJson.CreateAppointmentCreated(/* values here */); -``` - -### AppointmentDeclined - -```csharp -ActivityDataJson.CreateAppointmentDeclined(/* values here */); -``` - -### AppointmentDenied - -```csharp -ActivityDataJson.CreateAppointmentDenied(/* values here */); -``` - -### AppointmentRescheduled - -```csharp -ActivityDataJson.CreateAppointmentRescheduled(/* values here */); -``` - -### EmailBounced - -```csharp -ActivityDataJson.CreateEmailBounced(/* values here */); -``` - -### EmailClicked - -```csharp -ActivityDataJson.CreateEmailClicked(/* values here */); -``` - -### EmailOpened - -```csharp -ActivityDataJson.CreateEmailOpened(/* values here */); -``` - -### EmailSent - -```csharp -ActivityDataJson.CreateEmailSent(/* values here */); -``` - -### EmailUndelivered - -```csharp -ActivityDataJson.CreateEmailUndelivered(/* values here */); -``` - -### EventAttendeeHubVisited - -```csharp -ActivityDataJson.CreateEventAttendeeHubVisited(/* values here */); -``` - -### EventAttendeeSubstituted - -```csharp -ActivityDataJson.CreateEventAttendeeSubstituted(/* values here */); -``` - -### EventBannerLinkClicked - -```csharp -ActivityDataJson.CreateEventBannerLinkClicked(/* values here */); -``` - -### EventCheckedIn - -```csharp -ActivityDataJson.CreateEventCheckedIn(/* values here */); -``` - -### EventCheckedOut - -```csharp -ActivityDataJson.CreateEventCheckedOut(/* values here */); -``` - -### EventCustomCardOpened - -```csharp -ActivityDataJson.CreateEventCustomCardOpened(/* values here */); -``` - -### EventFeedbackSubmitted - -```csharp -ActivityDataJson.CreateEventFeedbackSubmitted(/* values here */); -``` - -### EventNoShow - -```csharp -ActivityDataJson.CreateEventNoShow(/* values here */); -``` - -### EventPageVisitTracked - -```csharp -ActivityDataJson.CreateEventPageVisitTracked(/* values here */); -``` - -### EventRegistered - -```csharp -ActivityDataJson.CreateEventRegistered(/* values here */); -``` - -### EventRegistrationAbandoned - -```csharp -ActivityDataJson.CreateEventRegistrationAbandoned(/* values here */); -``` - -### EventRegistrationCancelled - -```csharp -ActivityDataJson.CreateEventRegistrationCancelled(/* values here */); -``` - -### EventVideoPlayed - -```csharp -ActivityDataJson.CreateEventVideoPlayed(/* values here */); -``` - -### EventWaitlisted - -```csharp -ActivityDataJson.CreateEventWaitlisted(/* values here */); -``` - -### ExhibitorDocumentOpened - -```csharp -ActivityDataJson.CreateExhibitorDocumentOpened(/* values here */); -``` - -### ExhibitorSocialLinkOpened - -```csharp -ActivityDataJson.CreateExhibitorSocialLinkOpened(/* values here */); -``` - -### ExhibitorViewed - -```csharp -ActivityDataJson.CreateExhibitorViewed(/* values here */); -``` - -### ExhibitorVirtualBoothJoined - -```csharp -ActivityDataJson.CreateExhibitorVirtualBoothJoined(/* values here */); -``` - -### ExhibitorWeblinkOpened - -```csharp -ActivityDataJson.CreateExhibitorWeblinkOpened(/* values here */); -``` - -### LeadInboundCreated - -```csharp -ActivityDataJson.CreateLeadInboundCreated(/* values here */); -``` - -### LeadQualified - -```csharp -ActivityDataJson.CreateLeadQualified(/* values here */); -``` - -### LeadScanned - -```csharp -ActivityDataJson.CreateLeadScanned(/* values here */); -``` - -### SessionCheckedIn - -```csharp -ActivityDataJson.CreateSessionCheckedIn(/* values here */); -``` - -### SessionCheckedOut - -```csharp -ActivityDataJson.CreateSessionCheckedOut(/* values here */); -``` - -### SessionEnrolled - -```csharp -ActivityDataJson.CreateSessionEnrolled(/* values here */); -``` - -### SessionFeedbackSubmitted - -```csharp -ActivityDataJson.CreateSessionFeedbackSubmitted(/* values here */); -``` - -### SessionNoShow - -```csharp -ActivityDataJson.CreateSessionNoShow(/* values here */); -``` - -### SessionPollResponseSubmitted - -```csharp -ActivityDataJson.CreateSessionPollResponseSubmitted(/* values here */); -``` - -### SessionQuestionAsked - -```csharp -ActivityDataJson.CreateSessionQuestionAsked(/* values here */); -``` - -### SessionQuestionUpvoted - -```csharp -ActivityDataJson.CreateSessionQuestionUpvoted(/* values here */); -``` - -### SessionUnenrolled - -```csharp -ActivityDataJson.CreateSessionUnenrolled(/* values here */); -``` - -### SessionWaitlisted - -```csharp -ActivityDataJson.CreateSessionWaitlisted(/* values here */); -``` - -### SpeakerFeedbackSubmitted - -```csharp -ActivityDataJson.CreateSpeakerFeedbackSubmitted(/* values here */); -``` - -### SpeakerFileDownloaded - -```csharp -ActivityDataJson.CreateSpeakerFileDownloaded(/* values here */); -``` - -### ActivityDataJsonAppointmentExternal - -```csharp -ActivityDataJson.CreateActivityDataJsonAppointmentExternal(/* values here */); -``` - -### ActivityDataJsonEventExternal - -```csharp -ActivityDataJson.CreateActivityDataJsonEventExternal(/* values here */); -``` - -### ActivityDataJsonExhibitorExternal - -```csharp -ActivityDataJson.CreateActivityDataJsonExhibitorExternal(/* values here */); -``` - -### ActivityDataJsonSessionExternal - -```csharp -ActivityDataJson.CreateActivityDataJsonSessionExternal(/* values here */); -``` - -### EventAdViewed - -```csharp -ActivityDataJson.CreateEventAdViewed(/* values here */); -``` - -### EventAdClicked - -```csharp -ActivityDataJson.CreateEventAdClicked(/* values here */); -``` diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonAppointmentExternal.md b/packages/csharp/docs/Models/Components/ActivityDataJsonAppointmentExternal.md deleted file mode 100644 index a5e893467..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonAppointmentExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonAppointmentExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent1.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent1.md deleted file mode 100644 index d89e2a144..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent1.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent1 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent10.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent10.md deleted file mode 100644 index b0201e128..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent10.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent10 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent11.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent11.md deleted file mode 100644 index e0dae07cb..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent11.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent11 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent2.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent2.md deleted file mode 100644 index 4ce8a3ad7..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent2.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent2 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent3.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent3.md deleted file mode 100644 index a20d504e6..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent3.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent3 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent4.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent4.md deleted file mode 100644 index fb9a1af16..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent4.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent4 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent5.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent5.md deleted file mode 100644 index aa9aaaddf..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent5.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent5 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent6.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent6.md deleted file mode 100644 index 16a388ed5..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent6.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent6 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent7.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent7.md deleted file mode 100644 index 2fb27580b..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent7.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent7 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent8.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent8.md deleted file mode 100644 index c2c75fba1..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent8.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent8 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent9.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEvent9.md deleted file mode 100644 index dc72e7f49..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEvent9.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent9 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonEventExternal.md b/packages/csharp/docs/Models/Components/ActivityDataJsonEventExternal.md deleted file mode 100644 index eb4f27cd8..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonEventExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonEventExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonExhibitorExternal.md b/packages/csharp/docs/Models/Components/ActivityDataJsonExhibitorExternal.md deleted file mode 100644 index e8f348c5e..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonExhibitorExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonExhibitorExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataJsonSessionExternal.md b/packages/csharp/docs/Models/Components/ActivityDataJsonSessionExternal.md deleted file mode 100644 index 603abae3f..000000000 --- a/packages/csharp/docs/Models/Components/ActivityDataJsonSessionExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonSessionExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityDataSessionExternal.md b/packages/csharp/docs/Models/Components/ActivityDataSessionExternal.md new file mode 100644 index 000000000..af7c40349 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityDataSessionExternal.md @@ -0,0 +1,12 @@ +# ActivityDataSessionExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitor.md b/packages/csharp/docs/Models/Components/ActivityExhibitor.md new file mode 100644 index 000000000..377a6b709 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityExhibitor.md @@ -0,0 +1,13 @@ +# ActivityExhibitor + +An activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | | +| `Code` | *string* | :heavy_minus_sign: | Unique code of an exhibitor at a booth. | CODE_UPDATE_1 | +| `MarketingCode` | *string* | :heavy_minus_sign: | The marketing code of an exhibitor. | MARKETING_CODE_1 | +| `Name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | Example Company | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorDocument.md b/packages/csharp/docs/Models/Components/ActivityExhibitorDocument.md new file mode 100644 index 000000000..e21259780 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityExhibitorDocument.md @@ -0,0 +1,13 @@ +# ActivityExhibitorDocument + +Document for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the document. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Title` | *string* | :heavy_minus_sign: | The title of the document. | FAQs | +| `Format` | *string* | :heavy_minus_sign: | The format of the document eg. doc, docx, gif, jpg, pdf, etc. | pdf | +| `Downloaded` | *bool* | :heavy_minus_sign: | If the document is downloaded. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorDocumentJson.md b/packages/csharp/docs/Models/Components/ActivityExhibitorDocumentJson.md deleted file mode 100644 index a2368edaf..000000000 --- a/packages/csharp/docs/Models/Components/ActivityExhibitorDocumentJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityExhibitorDocumentJson - -Document for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the document. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Title` | *string* | :heavy_minus_sign: | The title of the document. | FAQs | -| `Format` | *string* | :heavy_minus_sign: | The format of the document eg. doc, docx, gif, jpg, pdf, etc. | pdf | -| `Downloaded` | *bool* | :heavy_minus_sign: | If the document is downloaded. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorJson.md b/packages/csharp/docs/Models/Components/ActivityExhibitorJson.md deleted file mode 100644 index 9c85670d4..000000000 --- a/packages/csharp/docs/Models/Components/ActivityExhibitorJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityExhibitorJson - -An activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | | -| `Code` | *string* | :heavy_minus_sign: | Unique code of an exhibitor at a booth. | CODE_UPDATE_1 | -| `MarketingCode` | *string* | :heavy_minus_sign: | The marketing code of an exhibitor. | MARKETING_CODE_1 | -| `Name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | Example Company | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorNavigationSource.md b/packages/csharp/docs/Models/Components/ActivityExhibitorNavigationSource.md new file mode 100644 index 000000000..676106e06 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityExhibitorNavigationSource.md @@ -0,0 +1,11 @@ +# ActivityExhibitorNavigationSource + +Navigation source for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `Type` | *string* | :heavy_minus_sign: | The source type in the attendee hub from where the user navigated to the exhibitor booth. | Sponsored Session | +| `Name` | *string* | :heavy_minus_sign: | The source name in the attendee hub from where the user navigated to the exhibitor booth. | Session name | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorNavigationSourceJson.md b/packages/csharp/docs/Models/Components/ActivityExhibitorNavigationSourceJson.md deleted file mode 100644 index d7581e4c7..000000000 --- a/packages/csharp/docs/Models/Components/ActivityExhibitorNavigationSourceJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActivityExhibitorNavigationSourceJson - -Navigation source for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `Type` | *string* | :heavy_minus_sign: | The source type in the attendee hub from where the user navigated to the exhibitor booth. | Sponsored Session | -| `Name` | *string* | :heavy_minus_sign: | The source name in the attendee hub from where the user navigated to the exhibitor booth. | Session name | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorSponsorshipLevel.md b/packages/csharp/docs/Models/Components/ActivityExhibitorSponsorshipLevel.md new file mode 100644 index 000000000..b1b53287b --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityExhibitorSponsorshipLevel.md @@ -0,0 +1,11 @@ +# ActivityExhibitorSponsorshipLevel + +Sponsorship level for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the sponsorship level. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | The name of the sponsorship level. | Gold | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorSponsorshipLevelJson.md b/packages/csharp/docs/Models/Components/ActivityExhibitorSponsorshipLevelJson.md deleted file mode 100644 index 22c53fc16..000000000 --- a/packages/csharp/docs/Models/Components/ActivityExhibitorSponsorshipLevelJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActivityExhibitorSponsorshipLevelJson - -Sponsorship level for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the sponsorship level. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Name` | *string* | :heavy_minus_sign: | The name of the sponsorship level. | Gold | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorWebLinkJson.md b/packages/csharp/docs/Models/Components/ActivityExhibitorWebLinkJson.md deleted file mode 100644 index db1f76eb4..000000000 --- a/packages/csharp/docs/Models/Components/ActivityExhibitorWebLinkJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActivityExhibitorWebLinkJson - -A web-link for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the weblink. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Name` | *string* | :heavy_minus_sign: | The name of the weblink. | Cvent's website | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityExhibitorWeblink.md b/packages/csharp/docs/Models/Components/ActivityExhibitorWeblink.md new file mode 100644 index 000000000..61f1b6016 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityExhibitorWeblink.md @@ -0,0 +1,11 @@ +# ActivityExhibitorWeblink + +A web-link for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the weblink. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | The name of the weblink. | Cvent's website | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityJson.md b/packages/csharp/docs/Models/Components/ActivityJson.md deleted file mode 100644 index 405dcada0..000000000 --- a/packages/csharp/docs/Models/Components/ActivityJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityJson - -An attendee activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `Attendee` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `Event` | [EventActivityDetailsJson](../../Models/Components/EventActivityDetailsJson.md) | :heavy_check_mark: | Details for an event activity. | | -| `Time` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | -| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | -| `Name` | *string* | :heavy_minus_sign: | Unique name corresponding to the attendee activity type. | Registered for Event | -| `Type` | [ActivityTypeJson](../../Models/Components/ActivityTypeJson.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity. | event.registered | -| `Data` | [ActivityDataJson](../../Models/Components/ActivityDataJson.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityLead.md b/packages/csharp/docs/Models/Components/ActivityLead.md new file mode 100644 index 000000000..7c774e675 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityLead.md @@ -0,0 +1,13 @@ +# ActivityLead + +An activity lead. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Activity Lead ID | | +| `DeviceId` | *string* | :heavy_minus_sign: | The unique identifier of the device. | 123 | +| `DeviceName` | *string* | :heavy_minus_sign: | Name of the device. | Jack's iPhone | +| `BoothStaff` | [ActivityBoothStaff](../../Models/Components/ActivityBoothStaff.md) | :heavy_minus_sign: | Booth staff for an activity. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityLeadJson.md b/packages/csharp/docs/Models/Components/ActivityLeadJson.md deleted file mode 100644 index 200499596..000000000 --- a/packages/csharp/docs/Models/Components/ActivityLeadJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityLeadJson - -An activity lead. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Activity Lead ID | | -| `DeviceId` | *string* | :heavy_minus_sign: | The unique identifier of the device. | 123 | -| `DeviceName` | *string* | :heavy_minus_sign: | Name of the device. | Jack's iPhone | -| `BoothStaff` | [ZeroAllOf4](../../Models/Components/ZeroAllOf4.md) | :heavy_minus_sign: | Booth staff for an activity. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityType.md b/packages/csharp/docs/Models/Components/ActivityType.md new file mode 100644 index 000000000..8a272f376 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ActivityType.md @@ -0,0 +1,69 @@ +# ActivityType + +This is used to denote the type of the attendee activity. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ActivityType.AppointmentAccepted; +``` + + +## Values + +| Name | Value | +| ------------------------------ | ------------------------------ | +| `AppointmentAccepted` | appointment.accepted | +| `AppointmentCancelled` | appointment.cancelled | +| `AppointmentCheckedIn` | appointment.checkedIn | +| `AppointmentCreated` | appointment.created | +| `AppointmentDeclined` | appointment.declined | +| `AppointmentDenied` | appointment.denied | +| `AppointmentRescheduled` | appointment.rescheduled | +| `EmailBounced` | email.bounced | +| `EmailClicked` | email.clicked | +| `EmailOpened` | email.opened | +| `EmailSent` | email.sent | +| `EmailUndelivered` | email.undelivered | +| `EventAttendeeHubVisited` | event.attendeeHubVisited | +| `EventAttendeeSubstituted` | event.attendeeSubstituted | +| `EventBannerLinkClicked` | event.bannerLinkClicked | +| `EventCheckedIn` | event.checkedIn | +| `EventCheckedOut` | event.checkedOut | +| `EventCustomCardOpened` | event.customCardOpened | +| `EventFeedbackSubmitted` | event.feedbackSubmitted | +| `EventNoShow` | event.noShow | +| `EventPageVisitTracked` | event.pageVisitTracked | +| `EventRegistered` | event.registered | +| `EventRegistrationAbandoned` | event.registrationAbandoned | +| `EventRegistrationCancelled` | event.registrationCancelled | +| `EventVideoPlayed` | event.videoPlayed | +| `EventWaitlisted` | event.waitlisted | +| `ExhibitorDocumentOpened` | exhibitor.documentOpened | +| `ExhibitorSocialLinkOpened` | exhibitor.socialLinkOpened | +| `ExhibitorViewed` | exhibitor.viewed | +| `ExhibitorVirtualBoothJoined` | exhibitor.virtualBoothJoined | +| `ExhibitorWeblinkOpened` | exhibitor.weblinkOpened | +| `LeadInboundCreated` | lead.inboundCreated | +| `LeadQualified` | lead.qualified | +| `LeadScanned` | lead.scanned | +| `SessionCheckedIn` | session.checkedIn | +| `SessionCheckedOut` | session.checkedOut | +| `SessionEnrolled` | session.enrolled | +| `SessionFeedbackSubmitted` | session.feedbackSubmitted | +| `SessionNoShow` | session.noShow | +| `SessionPollResponseSubmitted` | session.pollResponseSubmitted | +| `SessionQuestionAsked` | session.questionAsked | +| `SessionQuestionUpvoted` | session.questionUpvoted | +| `SessionUnenrolled` | session.unenrolled | +| `SessionWaitlisted` | session.waitlisted | +| `SpeakerFeedbackSubmitted` | speaker.feedbackSubmitted | +| `SpeakerFileDownloaded` | speaker.fileDownloaded | +| `AppointmentExternal` | appointment.external | +| `EventExternal` | event.external | +| `ExhibitorExternal` | exhibitor.external | +| `SessionExternal` | session.external | +| `EventAdViewed` | event.adViewed | +| `EventAdClicked` | event.adClicked | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ActivityTypeJson.md b/packages/csharp/docs/Models/Components/ActivityTypeJson.md deleted file mode 100644 index 46cd37657..000000000 --- a/packages/csharp/docs/Models/Components/ActivityTypeJson.md +++ /dev/null @@ -1,69 +0,0 @@ -# ActivityTypeJson - -This is used to denote the type of the attendee activity. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ActivityTypeJson.AppointmentAccepted; -``` - - -## Values - -| Name | Value | -| ------------------------------ | ------------------------------ | -| `AppointmentAccepted` | appointment.accepted | -| `AppointmentCancelled` | appointment.cancelled | -| `AppointmentCheckedIn` | appointment.checkedIn | -| `AppointmentCreated` | appointment.created | -| `AppointmentDeclined` | appointment.declined | -| `AppointmentDenied` | appointment.denied | -| `AppointmentRescheduled` | appointment.rescheduled | -| `EmailBounced` | email.bounced | -| `EmailClicked` | email.clicked | -| `EmailOpened` | email.opened | -| `EmailSent` | email.sent | -| `EmailUndelivered` | email.undelivered | -| `EventAttendeeHubVisited` | event.attendeeHubVisited | -| `EventAttendeeSubstituted` | event.attendeeSubstituted | -| `EventBannerLinkClicked` | event.bannerLinkClicked | -| `EventCheckedIn` | event.checkedIn | -| `EventCheckedOut` | event.checkedOut | -| `EventCustomCardOpened` | event.customCardOpened | -| `EventFeedbackSubmitted` | event.feedbackSubmitted | -| `EventNoShow` | event.noShow | -| `EventPageVisitTracked` | event.pageVisitTracked | -| `EventRegistered` | event.registered | -| `EventRegistrationAbandoned` | event.registrationAbandoned | -| `EventRegistrationCancelled` | event.registrationCancelled | -| `EventVideoPlayed` | event.videoPlayed | -| `EventWaitlisted` | event.waitlisted | -| `ExhibitorDocumentOpened` | exhibitor.documentOpened | -| `ExhibitorSocialLinkOpened` | exhibitor.socialLinkOpened | -| `ExhibitorViewed` | exhibitor.viewed | -| `ExhibitorVirtualBoothJoined` | exhibitor.virtualBoothJoined | -| `ExhibitorWeblinkOpened` | exhibitor.weblinkOpened | -| `LeadInboundCreated` | lead.inboundCreated | -| `LeadQualified` | lead.qualified | -| `LeadScanned` | lead.scanned | -| `SessionCheckedIn` | session.checkedIn | -| `SessionCheckedOut` | session.checkedOut | -| `SessionEnrolled` | session.enrolled | -| `SessionFeedbackSubmitted` | session.feedbackSubmitted | -| `SessionNoShow` | session.noShow | -| `SessionPollResponseSubmitted` | session.pollResponseSubmitted | -| `SessionQuestionAsked` | session.questionAsked | -| `SessionQuestionUpvoted` | session.questionUpvoted | -| `SessionUnenrolled` | session.unenrolled | -| `SessionWaitlisted` | session.waitlisted | -| `SpeakerFeedbackSubmitted` | speaker.feedbackSubmitted | -| `SpeakerFileDownloaded` | speaker.fileDownloaded | -| `AppointmentExternal` | appointment.external | -| `EventExternal` | event.external | -| `ExhibitorExternal` | exhibitor.external | -| `SessionExternal` | session.external | -| `EventAdViewed` | event.adViewed | -| `EventAdClicked` | event.adClicked | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdLocation.md b/packages/csharp/docs/Models/Components/AdLocation.md new file mode 100644 index 000000000..13314fa13 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AdLocation.md @@ -0,0 +1,20 @@ +# AdLocation + +The placement of the ad within the specific product. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AdLocation.HomePage; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `HomePage` | Home Page | +| `ExhibitorList` | Exhibitor List | +| `SessionList` | Session List | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdLocationJson.md b/packages/csharp/docs/Models/Components/AdLocationJson.md deleted file mode 100644 index a245106ae..000000000 --- a/packages/csharp/docs/Models/Components/AdLocationJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# AdLocationJson - -The placement of the ad within the specific product. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AdLocationJson.HomePage; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `HomePage` | Home Page | -| `ExhibitorList` | Exhibitor List | -| `SessionList` | Session List | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressInfo.md b/packages/csharp/docs/Models/Components/AddressInfo.md new file mode 100644 index 000000000..83020767b --- /dev/null +++ b/packages/csharp/docs/Models/Components/AddressInfo.md @@ -0,0 +1,16 @@ +# AddressInfo + +Venue address information. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `StreetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `StreetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `City` | *string* | :heavy_check_mark: | City. | Vienna | +| `StateProvince` | [StateProvince1](../../Models/Components/StateProvince1.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `ZipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `Country` | [Country](../../Models/Components/Country.md) | :heavy_check_mark: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `Directions` | *string* | :heavy_minus_sign: | Directions or instructions for getting to the venue. | Take I-66 West to Exit 67, then follow signs to Trap Road. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Answer2.md b/packages/csharp/docs/Models/Components/Answer2.md deleted file mode 100644 index 24545af3b..000000000 --- a/packages/csharp/docs/Models/Components/Answer2.md +++ /dev/null @@ -1,12 +0,0 @@ -# Answer2 - -A JSON schema representing an answer object. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Type` | [AnswerType1](../../Models/Components/AnswerType1.md) | :heavy_check_mark: | Type of answer | Choice | -| `Value` | *string* | :heavy_minus_sign: | Answered value like: Choice text, text answer input etc. | Choice A | -| `Choice` | [Answer2Choice](../../Models/Components/Answer2Choice.md) | :heavy_minus_sign: | The choice that was selected. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Answer21.md b/packages/csharp/docs/Models/Components/Answer21.md new file mode 100644 index 000000000..312673163 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Answer21.md @@ -0,0 +1,12 @@ +# Answer21 + +A question answer. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| ~~`Type`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. | simple | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Answer22.md b/packages/csharp/docs/Models/Components/Answer22.md new file mode 100644 index 000000000..9381a11ee --- /dev/null +++ b/packages/csharp/docs/Models/Components/Answer22.md @@ -0,0 +1,12 @@ +# Answer22 + +A JSON schema representing an answer object. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `Type` | [AnswerType11](../../Models/Components/AnswerType11.md) | :heavy_check_mark: | Type of answer | Choice | +| `Value` | *string* | :heavy_minus_sign: | Answered value like: Choice text, text answer input etc. | Choice A | +| `Choice` | [Answer2Choice](../../Models/Components/Answer2Choice.md) | :heavy_minus_sign: | The choice that was selected. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AnswerJson.md b/packages/csharp/docs/Models/Components/AnswerJson.md index 2cf269f85..6e82325ee 100644 --- a/packages/csharp/docs/Models/Components/AnswerJson.md +++ b/packages/csharp/docs/Models/Components/AnswerJson.md @@ -7,7 +7,7 @@ A survey answer. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Type` | [AnswerTypeJson1](../../Models/Components/AnswerTypeJson1.md) | :heavy_check_mark: | Type of answer | ChoiceText | +| `Type` | [AnswerTypeJson](../../Models/Components/AnswerTypeJson.md) | :heavy_check_mark: | Type of answer | ChoiceText | | `Value` | *string* | :heavy_minus_sign: | Value property is used to send information like string, number and date in case of following types of answers only: ChoiceText, Text, Comment, Other. In case of Rank Order question, rank should be put into value. Refer to questions resource to get choice label or category label from their respective ids. | 1 | | `Choice` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `Category` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/csharp/docs/Models/Components/AnswerJson1.md b/packages/csharp/docs/Models/Components/AnswerJson1.md deleted file mode 100644 index 87423fca7..000000000 --- a/packages/csharp/docs/Models/Components/AnswerJson1.md +++ /dev/null @@ -1,12 +0,0 @@ -# AnswerJson1 - -A question answer. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| ~~`Type`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. | simple | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AnswerType1.md b/packages/csharp/docs/Models/Components/AnswerType1.md deleted file mode 100644 index 81cd17074..000000000 --- a/packages/csharp/docs/Models/Components/AnswerType1.md +++ /dev/null @@ -1,21 +0,0 @@ -# AnswerType1 - -Type of answer - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AnswerType1.Choice; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `Choice` | Choice | -| `Text` | Text | -| `Other` | Other | -| `Na` | NA | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AnswerType11.md b/packages/csharp/docs/Models/Components/AnswerType11.md new file mode 100644 index 000000000..ee1e197da --- /dev/null +++ b/packages/csharp/docs/Models/Components/AnswerType11.md @@ -0,0 +1,21 @@ +# AnswerType11 + +Type of answer + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AnswerType11.Choice; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Choice` | Choice | +| `Text` | Text | +| `Other` | Other | +| `Na` | NA | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AnswerType12.md b/packages/csharp/docs/Models/Components/AnswerType12.md new file mode 100644 index 000000000..11bf061ec --- /dev/null +++ b/packages/csharp/docs/Models/Components/AnswerType12.md @@ -0,0 +1,25 @@ +# AnswerType12 + +Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + +Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + +Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + +In all other cases, `answerType` is not expected to be set. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AnswerType12.Other; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `Other` | Other | +| `Na` | NA | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AnswerTypeJson.md b/packages/csharp/docs/Models/Components/AnswerTypeJson.md index 40ee88ee6..ff6e786e9 100644 --- a/packages/csharp/docs/Models/Components/AnswerTypeJson.md +++ b/packages/csharp/docs/Models/Components/AnswerTypeJson.md @@ -1,25 +1,24 @@ # AnswerTypeJson -Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - -Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - -Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - -In all other cases, `answerType` is not expected to be set. +Type of answer ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = AnswerTypeJson.Other; +var value = AnswerTypeJson.Choice; ``` ## Values -| Name | Value | -| ------- | ------- | -| `Other` | Other | -| `Na` | NA | \ No newline at end of file +| Name | Value | +| ------------ | ------------ | +| `Choice` | Choice | +| `Text` | Text | +| `ChoiceText` | ChoiceText | +| `Comment` | Comment | +| `Other` | Other | +| `Na` | NA | +| `File` | File | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AnswerTypeJson1.md b/packages/csharp/docs/Models/Components/AnswerTypeJson1.md deleted file mode 100644 index e45deeb32..000000000 --- a/packages/csharp/docs/Models/Components/AnswerTypeJson1.md +++ /dev/null @@ -1,24 +0,0 @@ -# AnswerTypeJson1 - -Type of answer - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AnswerTypeJson1.Choice; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Choice` | Choice | -| `Text` | Text | -| `ChoiceText` | ChoiceText | -| `Comment` | Comment | -| `Other` | Other | -| `Na` | NA | -| `File` | File | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentAccepted.md b/packages/csharp/docs/Models/Components/AppointmentAccepted.md index a7fe4db32..326926789 100644 --- a/packages/csharp/docs/Models/Components/AppointmentAccepted.md +++ b/packages/csharp/docs/Models/Components/AppointmentAccepted.md @@ -5,7 +5,7 @@ Appointment activity ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Appointment` | [ActivityAppointmentJson](../../Models/Components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Appointment` | [ActivityAppointment](../../Models/Components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentCancelled.md b/packages/csharp/docs/Models/Components/AppointmentCancelled.md index 6603932be..ecd661457 100644 --- a/packages/csharp/docs/Models/Components/AppointmentCancelled.md +++ b/packages/csharp/docs/Models/Components/AppointmentCancelled.md @@ -5,7 +5,7 @@ Appointment activity ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Appointment` | [ActivityAppointmentJson](../../Models/Components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Appointment` | [ActivityAppointment](../../Models/Components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentCheckedIn.md b/packages/csharp/docs/Models/Components/AppointmentCheckedIn.md index 40a01dafd..1b9f92171 100644 --- a/packages/csharp/docs/Models/Components/AppointmentCheckedIn.md +++ b/packages/csharp/docs/Models/Components/AppointmentCheckedIn.md @@ -7,6 +7,6 @@ Appointment checked-in activity. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Appointment` | [ActivityAppointmentJson](../../Models/Components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | | +| `Appointment` | [ActivityAppointment](../../Models/Components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | | | `CheckedIn` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked in to the appointment. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentCreated.md b/packages/csharp/docs/Models/Components/AppointmentCreated.md index 43648de8f..cf8b4c75c 100644 --- a/packages/csharp/docs/Models/Components/AppointmentCreated.md +++ b/packages/csharp/docs/Models/Components/AppointmentCreated.md @@ -5,7 +5,7 @@ Appointment created activity. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Appointment` | [ActivityAppointmentJson](../../Models/Components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Appointment` | [ActivityAppointment](../../Models/Components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentDeclined.md b/packages/csharp/docs/Models/Components/AppointmentDeclined.md index 52e9488cb..8f7fd8e41 100644 --- a/packages/csharp/docs/Models/Components/AppointmentDeclined.md +++ b/packages/csharp/docs/Models/Components/AppointmentDeclined.md @@ -5,7 +5,7 @@ Appointment activity ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Appointment` | [ActivityAppointmentJson](../../Models/Components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Appointment` | [ActivityAppointment](../../Models/Components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentDenied.md b/packages/csharp/docs/Models/Components/AppointmentDenied.md index 9f6619e7a..88e3847b9 100644 --- a/packages/csharp/docs/Models/Components/AppointmentDenied.md +++ b/packages/csharp/docs/Models/Components/AppointmentDenied.md @@ -5,7 +5,7 @@ Appointment denied activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Appointment` | [ActivityBaseAppointmentJson](../../Models/Components/ActivityBaseAppointmentJson.md) | :heavy_minus_sign: | Base entity of an activity appointment. | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `Appointment` | [ActivityBaseAppointment](../../Models/Components/ActivityBaseAppointment.md) | :heavy_minus_sign: | Base entity of an activity appointment. | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentPaginatedResponse.md b/packages/csharp/docs/Models/Components/AppointmentPaginatedResponse.md index b49a02b44..b16be0763 100644 --- a/packages/csharp/docs/Models/Components/AppointmentPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/AppointmentPaginatedResponse.md @@ -8,4 +8,4 @@ The response for a request of appointments, including the paging object. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[ZeroAllOf3](../../Models/Components/ZeroAllOf3.md)> | :heavy_check_mark: | Collection of appointments and their related details. | \ No newline at end of file +| `Data` | List<[ZeroAllOf2](../../Models/Components/ZeroAllOf2.md)> | :heavy_check_mark: | Collection of appointments and their related details. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentRescheduled.md b/packages/csharp/docs/Models/Components/AppointmentRescheduled.md index cdb6ab1a6..4543e6395 100644 --- a/packages/csharp/docs/Models/Components/AppointmentRescheduled.md +++ b/packages/csharp/docs/Models/Components/AppointmentRescheduled.md @@ -5,7 +5,7 @@ Appointment created activity. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Appointment` | [ActivityAppointmentJson](../../Models/Components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Appointment` | [ActivityAppointment](../../Models/Components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AreaMeasurement.md b/packages/csharp/docs/Models/Components/AreaMeasurement.md new file mode 100644 index 000000000..56c188457 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AreaMeasurement.md @@ -0,0 +1,11 @@ +# AreaMeasurement + +Measurement of area in square feet or square meters. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Value` | *double* | :heavy_check_mark: | The numeric value of the area measurement. | 1500 | +| `Unit` | [AreaMeasurementUnit](../../Models/Components/AreaMeasurementUnit.md) | :heavy_check_mark: | The unit of measurement for the area. | SQUARE_FEET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AreaMeasurementUnit.md b/packages/csharp/docs/Models/Components/AreaMeasurementUnit.md new file mode 100644 index 000000000..f4b618e44 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AreaMeasurementUnit.md @@ -0,0 +1,19 @@ +# AreaMeasurementUnit + +The unit of measurement for the area. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AreaMeasurementUnit.SquareFeet; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `SquareFeet` | SQUARE_FEET | +| `SquareMeters` | SQUARE_METERS | \ 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 ba76740e6..9d5f514cb 100644 --- a/packages/csharp/docs/Models/Components/Attendee11.md +++ b/packages/csharp/docs/Models/Components/Attendee11.md @@ -32,14 +32,14 @@ An event attendee. | `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 | +| `Unsubscribed` | *bool* | :heavy_minus_sign: | 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 is read-only; to update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). | 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. | | +| ~~`Questions`~~ | List<[CustomFieldSchema1](../../Models/Components/CustomFieldSchema1.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 | diff --git a/packages/csharp/docs/Models/Components/AttendeeActivitiesPaginatedResponse.md b/packages/csharp/docs/Models/Components/AttendeeActivitiesPaginatedResponse.md index 5befdbe99..02b9cdf96 100644 --- a/packages/csharp/docs/Models/Components/AttendeeActivitiesPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/AttendeeActivitiesPaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of attendee activities. This include ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[ActivityJson](../../Models/Components/ActivityJson.md)> | :heavy_check_mark: | Collection of attendee activities. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[AttendeeActivity](../../Models/Components/AttendeeActivity.md)> | :heavy_check_mark: | Collection of attendee activities. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeActivity.md b/packages/csharp/docs/Models/Components/AttendeeActivity.md new file mode 100644 index 000000000..9babc202c --- /dev/null +++ b/packages/csharp/docs/Models/Components/AttendeeActivity.md @@ -0,0 +1,17 @@ +# AttendeeActivity + +An attendee activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | +| `Attendee` | [Uuid](../../Models/Components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `Event` | [EventActivityDetail](../../Models/Components/EventActivityDetail.md) | :heavy_check_mark: | Details for an event activity. | | +| `Time` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | +| `Name` | *string* | :heavy_minus_sign: | Unique name corresponding to the attendee activity type. | Registered for Event | +| `Type` | [ActivityType](../../Models/Components/ActivityType.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity. | event.registered | +| `Data` | [ActivityData](../../Models/Components/ActivityData.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md index 7a15971e2..b94c1641e 100644 --- a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md +++ b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md @@ -11,4 +11,4 @@ Represents an error response for the checkin APIs with additional details of cas | `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | | `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | | `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `Details` | List<[ZeroAllOf7](../../Models/Components/ZeroAllOf7.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| `Details` | List<[ZeroAllOf5](../../Models/Components/ZeroAllOf5.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeContactInfo.md b/packages/csharp/docs/Models/Components/AttendeeContactInfo.md index 6236e1836..de740c369 100644 --- a/packages/csharp/docs/Models/Components/AttendeeContactInfo.md +++ b/packages/csharp/docs/Models/Components/AttendeeContactInfo.md @@ -32,7 +32,7 @@ Information about attendee contact added to an event. | `WorkPhone` | *string* | :heavy_minus_sign: | Work phone number | 555-555-5555 | | `WorkFax` | *string* | :heavy_minus_sign: | Work FAX number | 555-555-5555 | | `OptOut` | [OptOut](../../Models/Components/OptOut.md) | :heavy_minus_sign: | Opt-out choices. | | -| `CustomFields` | List<[CustomFieldSchema](../../Models/Components/CustomFieldSchema.md)> | :heavy_minus_sign: | Collection of custom fields. | | +| `CustomFields` | List<[CustomFieldSchema1](../../Models/Components/CustomFieldSchema1.md)> | :heavy_minus_sign: | Collection of custom fields. | | | `SourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name has part of the ID | system-a-00000000-0000-0000-0000-000000000000 | | `MobilePhone` | *string* | :heavy_minus_sign: | Mobile phone number | 555-555-5555 | | `Compliance` | List<[Models.Components.Compliance](../../Models/Components/Compliance.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | diff --git a/packages/csharp/docs/Models/Components/AttendeeStatusJson.md b/packages/csharp/docs/Models/Components/AttendeeStatusJson.md deleted file mode 100644 index d2b7c55bc..000000000 --- a/packages/csharp/docs/Models/Components/AttendeeStatusJson.md +++ /dev/null @@ -1,25 +0,0 @@ -# AttendeeStatusJson - -This is used to denote the status of an attendee. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AttendeeStatusJson.NoResponse; -``` - - -## Values - -| Name | Value | -| ----------------- | ----------------- | -| `NoResponse` | No Response | -| `Accepted` | Accepted | -| `Declined` | Declined | -| `Visited` | Visited | -| `Waitlisted` | Waitlisted | -| `Cancelled` | Cancelled | -| `PendingApproval` | Pending Approval | -| `DeniedApproval` | Denied Approval | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BannerLinkTarget.md b/packages/csharp/docs/Models/Components/BannerLinkTarget.md new file mode 100644 index 000000000..bb5590cdf --- /dev/null +++ b/packages/csharp/docs/Models/Components/BannerLinkTarget.md @@ -0,0 +1,11 @@ +# BannerLinkTarget + +The target of the link clicked on the banner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Type` | [BannerLinkTargetType](../../Models/Components/BannerLinkTargetType.md) | :heavy_minus_sign: | The type of target associated with the banner link. | | +| `Details` | *string* | :heavy_minus_sign: | The details of the target associated with the banner link. | https://www.cvent.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BannerLinkTargetJson.md b/packages/csharp/docs/Models/Components/BannerLinkTargetJson.md deleted file mode 100644 index 99c56066d..000000000 --- a/packages/csharp/docs/Models/Components/BannerLinkTargetJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# BannerLinkTargetJson - -The target of the link clicked on the banner. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `Type` | [BannerLinkTargetJsonType](../../Models/Components/BannerLinkTargetJsonType.md) | :heavy_minus_sign: | The type of target associated with the banner link. | | -| `Details` | *string* | :heavy_minus_sign: | The details of the target associated with the banner link. | https://www.cvent.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BannerLinkTargetJsonType.md b/packages/csharp/docs/Models/Components/BannerLinkTargetJsonType.md deleted file mode 100644 index 217adf5c6..000000000 --- a/packages/csharp/docs/Models/Components/BannerLinkTargetJsonType.md +++ /dev/null @@ -1,24 +0,0 @@ -# BannerLinkTargetJsonType - -The type of target associated with the banner link. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = BannerLinkTargetJsonType.AttendeeHubPage; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `AttendeeHubPage` | Attendee Hub Page | -| `DiscussionTopic` | Discussion Topic | -| `ExternalUrl` | External Url | -| `FloorPlanDetails` | Floor Plan Details | -| `SessionDetails` | Session Details | -| `SpeakerDetails` | Speaker Details | -| `VirtualBooth` | Virtual Booth | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BannerLinkTargetType.md b/packages/csharp/docs/Models/Components/BannerLinkTargetType.md new file mode 100644 index 000000000..542a2790c --- /dev/null +++ b/packages/csharp/docs/Models/Components/BannerLinkTargetType.md @@ -0,0 +1,24 @@ +# BannerLinkTargetType + +The type of target associated with the banner link. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = BannerLinkTargetType.AttendeeHubPage; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `AttendeeHubPage` | Attendee Hub Page | +| `DiscussionTopic` | Discussion Topic | +| `ExternalUrl` | External Url | +| `FloorPlanDetails` | Floor Plan Details | +| `SessionDetails` | Session Details | +| `SpeakerDetails` | Speaker Details | +| `VirtualBooth` | Virtual Booth | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BaseAnswer.md b/packages/csharp/docs/Models/Components/BaseAnswer.md new file mode 100644 index 000000000..1fbcf427e --- /dev/null +++ b/packages/csharp/docs/Models/Components/BaseAnswer.md @@ -0,0 +1,11 @@ +# BaseAnswer + +Base entity of a question answer. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the Answer | | +| `Value` | *string* | :heavy_minus_sign: | Value of an answer. | my answer | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BaseAnswerJson.md b/packages/csharp/docs/Models/Components/BaseAnswerJson.md deleted file mode 100644 index a6123679a..000000000 --- a/packages/csharp/docs/Models/Components/BaseAnswerJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# BaseAnswerJson - -Base entity of a question answer. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the Answer | | -| `Value` | *string* | :heavy_minus_sign: | Value of an answer. | my answer | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BaseQuestion.md b/packages/csharp/docs/Models/Components/BaseQuestion.md new file mode 100644 index 000000000..6705f935a --- /dev/null +++ b/packages/csharp/docs/Models/Components/BaseQuestion.md @@ -0,0 +1,11 @@ +# BaseQuestion + +The question that was answered. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BaseQuestionResponse.md b/packages/csharp/docs/Models/Components/BaseQuestionResponse.md new file mode 100644 index 000000000..eea42e43f --- /dev/null +++ b/packages/csharp/docs/Models/Components/BaseQuestionResponse.md @@ -0,0 +1,11 @@ +# BaseQuestionResponse + +Base entity for a question response. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `Question` | [BaseQuestion](../../Models/Components/BaseQuestion.md) | :heavy_minus_sign: | The question that was answered. | +| `Answers` | List<[BaseAnswer](../../Models/Components/BaseAnswer.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BaseQuestionResponseJson.md b/packages/csharp/docs/Models/Components/BaseQuestionResponseJson.md deleted file mode 100644 index 28c32bd80..000000000 --- a/packages/csharp/docs/Models/Components/BaseQuestionResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# BaseQuestionResponseJson - -Base entity for a question response. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `Question` | [ZeroAllOf5](../../Models/Components/ZeroAllOf5.md) | :heavy_minus_sign: | The question that was answered. | -| `Answers` | List<[BaseAnswerJson](../../Models/Components/BaseAnswerJson.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BidItemStatusType.md b/packages/csharp/docs/Models/Components/BidItemStatusType.md index f52fcd724..6f4bddd62 100644 --- a/packages/csharp/docs/Models/Components/BidItemStatusType.md +++ b/packages/csharp/docs/Models/Components/BidItemStatusType.md @@ -1,6 +1,6 @@ # BidItemStatusType -The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. +The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). ## Example Usage @@ -18,4 +18,4 @@ var value = BidItemStatusType.Requested; | `Requested` | requested | | `DeleteRequested` | delete_requested | | `Deleted` | deleted | -| `NotAvailable` | not_available | \ No newline at end of file +| `NotOffered` | not_offered | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BudgetCategory.md b/packages/csharp/docs/Models/Components/BudgetCategory.md new file mode 100644 index 000000000..d91042ea0 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BudgetCategory.md @@ -0,0 +1,11 @@ +# BudgetCategory + +Denotes the category assigned to the budget item. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `Id` | *long* | :heavy_check_mark: | Unique identifier of the budget category. | 3 | +| `Name` | *string* | :heavy_minus_sign: | Name of the budget category assigned to the budget item. | Travel | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BudgetCostDetail.md b/packages/csharp/docs/Models/Components/BudgetCostDetail.md new file mode 100644 index 000000000..08ffc46f0 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BudgetCostDetail.md @@ -0,0 +1,14 @@ +# BudgetCostDetail + +The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Category` | [BudgetCategory](../../Models/Components/BudgetCategory.md) | :heavy_minus_sign: | Denotes the category assigned to the budget item. | | +| `SubCategory` | [BudgetSubCategory](../../Models/Components/BudgetSubCategory.md) | :heavy_minus_sign: | This is used to denote the sub category for a budget. | | +| `Units` | *double* | :heavy_minus_sign: | The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. | 5.2 | +| `Cost` | *double* | :heavy_minus_sign: | The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. | 100.5 | +| `TotalCost` | *double* | :heavy_minus_sign: | The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. | 100.5 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BudgetCostDetailJson1.md b/packages/csharp/docs/Models/Components/BudgetCostDetailJson1.md deleted file mode 100644 index 54b82c306..000000000 --- a/packages/csharp/docs/Models/Components/BudgetCostDetailJson1.md +++ /dev/null @@ -1,14 +0,0 @@ -# BudgetCostDetailJson1 - -The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Category` | [BudgetCategoryJson](../../Models/Components/BudgetCategoryJson.md) | :heavy_minus_sign: | Denotes the category assigned to the budget item. | | -| `SubCategory` | [BudgetSubCategoryJson](../../Models/Components/BudgetSubCategoryJson.md) | :heavy_minus_sign: | This is used to denote the sub category for a budget. | | -| `Units` | *double* | :heavy_minus_sign: | The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. | 5.2 | -| `Cost` | *double* | :heavy_minus_sign: | The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. | 100.5 | -| `TotalCost` | *double* | :heavy_minus_sign: | The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. | 100.5 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BudgetCostType.md b/packages/csharp/docs/Models/Components/BudgetCostType.md new file mode 100644 index 000000000..5939eb227 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BudgetCostType.md @@ -0,0 +1,19 @@ +# BudgetCostType + +Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = BudgetCostType.Fixed; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Fixed` | FIXED | +| `Variable` | VARIABLE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BudgetEstimate.md b/packages/csharp/docs/Models/Components/BudgetEstimate.md new file mode 100644 index 000000000..57f6a9339 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BudgetEstimate.md @@ -0,0 +1,12 @@ +# BudgetEstimate + +The estimated budget of the Meeting Request. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Currency` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. | USD | +| `CostType` | [BudgetCostType](../../Models/Components/BudgetCostType.md) | :heavy_minus_sign: | Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. | FIXED | +| `CostDetail` | List<[BudgetCostDetail](../../Models/Components/BudgetCostDetail.md)> | :heavy_minus_sign: | A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BudgetEstimateJson.md b/packages/csharp/docs/Models/Components/BudgetEstimateJson.md deleted file mode 100644 index 44eac809d..000000000 --- a/packages/csharp/docs/Models/Components/BudgetEstimateJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# BudgetEstimateJson - -The estimated budget of the Meeting Request. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Currency` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. | USD | -| `CostType` | [BudgetCostTypeJson](../../Models/Components/BudgetCostTypeJson.md) | :heavy_minus_sign: | Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. | FIXED | -| `CostDetail` | List<[BudgetCostDetailJson1](../../Models/Components/BudgetCostDetailJson1.md)> | :heavy_minus_sign: | A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BudgetSubCategory.md b/packages/csharp/docs/Models/Components/BudgetSubCategory.md new file mode 100644 index 000000000..08fd0fe1e --- /dev/null +++ b/packages/csharp/docs/Models/Components/BudgetSubCategory.md @@ -0,0 +1,11 @@ +# BudgetSubCategory + +This is used to denote the sub category for a budget. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | Name of the budget subcategory assigned to the budget item. | utilities | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkData.md b/packages/csharp/docs/Models/Components/BulkData.md index 9bd547ab1..2b1be8e51 100644 --- a/packages/csharp/docs/Models/Components/BulkData.md +++ b/packages/csharp/docs/Models/Components/BulkData.md @@ -5,6 +5,6 @@ The model representing an arbitrary list of JSON data loaded to bulk job. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Data` | List<[BulkDataPropertyJson](../../Models/Components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Data` | List<[BulkDataProperty](../../Models/Components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkDataProperty.md b/packages/csharp/docs/Models/Components/BulkDataProperty.md index 93018b980..59b88b902 100644 --- a/packages/csharp/docs/Models/Components/BulkDataProperty.md +++ b/packages/csharp/docs/Models/Components/BulkDataProperty.md @@ -1,6 +1,6 @@ # BulkDataProperty -The response data for the bulk operation. +Data Record envelope ## Fields @@ -10,4 +10,4 @@ The response data for the bulk operation. | `PathParams` | Dictionary | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
"id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
} | | `QueryParams` | Dictionary | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | | `Headers` | Dictionary | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | -| `DataRecord` | Dictionary | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file +| `DataRecord` | Dictionary | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkDataPropertyJson.md b/packages/csharp/docs/Models/Components/BulkDataPropertyJson.md deleted file mode 100644 index acec2d1b5..000000000 --- a/packages/csharp/docs/Models/Components/BulkDataPropertyJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# BulkDataPropertyJson - -Data Record envelope - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `PathParams` | Dictionary | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
"id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
} | -| `QueryParams` | Dictionary | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | -| `Headers` | Dictionary | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | -| `DataRecord` | Dictionary | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkDataRecord.md b/packages/csharp/docs/Models/Components/BulkDataRecord.md new file mode 100644 index 000000000..23cccee61 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BulkDataRecord.md @@ -0,0 +1,7 @@ +# BulkDataRecord + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkDataRecordJson.md b/packages/csharp/docs/Models/Components/BulkDataRecordJson.md deleted file mode 100644 index 859ea840a..000000000 --- a/packages/csharp/docs/Models/Components/BulkDataRecordJson.md +++ /dev/null @@ -1,7 +0,0 @@ -# BulkDataRecordJson - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkDataUploadResponse.md b/packages/csharp/docs/Models/Components/BulkDataUploadResponse.md index f9e93aa9f..34c3144f9 100644 --- a/packages/csharp/docs/Models/Components/BulkDataUploadResponse.md +++ b/packages/csharp/docs/Models/Components/BulkDataUploadResponse.md @@ -5,7 +5,7 @@ The model representing the results of a bulk data upload ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Data` | List<[BulkDataPropertyJson](../../Models/Components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | | -| `Count` | *long* | :heavy_minus_sign: | The number of successfully uploaded data records | 100 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Data` | List<[BulkDataProperty](../../Models/Components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | | +| `Count` | *long* | :heavy_minus_sign: | The number of successfully uploaded data records | 100 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkJobWithData.md b/packages/csharp/docs/Models/Components/BulkJobWithData.md index 2d2fe65d8..439553e3f 100644 --- a/packages/csharp/docs/Models/Components/BulkJobWithData.md +++ b/packages/csharp/docs/Models/Components/BulkJobWithData.md @@ -23,4 +23,4 @@ The model representing a bulk job that can load data asynchronously including th | `TotalRecords` | *long* | :heavy_minus_sign: | Total number of records uploaded for the bulk job. | 5000 | | `Successful` | *long* | :heavy_minus_sign: | Total number of records that were successfully processed by the bulk job. | 4950 | | `Failed` | *long* | :heavy_minus_sign: | Total number of records that were unsuccessfully processed by the bulk job. | 50 | -| `Data` | List<[BulkDataPropertyJson](../../Models/Components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file +| `Data` | List<[BulkDataProperty](../../Models/Components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkJobWithDataInput.md b/packages/csharp/docs/Models/Components/BulkJobWithDataInput.md index f93c7530e..ba3bf68ac 100644 --- a/packages/csharp/docs/Models/Components/BulkJobWithDataInput.md +++ b/packages/csharp/docs/Models/Components/BulkJobWithDataInput.md @@ -12,4 +12,4 @@ The model representing a bulk job that can load data asynchronously including th | `Operation` | [BulkJobWithDataOperation](../../Models/Components/BulkJobWithDataOperation.md) | :heavy_check_mark: | Operation to be performed in the destination API. | PUT | | `Headers` | Dictionary | :heavy_minus_sign: | Headers to be passed on the destination API. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | | `QueryParams` | Dictionary | :heavy_minus_sign: | Query Params to be passed on to the destination API. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | -| `Data` | List<[BulkDataPropertyJson](../../Models/Components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file +| `Data` | List<[BulkDataProperty](../../Models/Components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkResult.md b/packages/csharp/docs/Models/Components/BulkResult.md new file mode 100644 index 000000000..6b50f88a3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BulkResult.md @@ -0,0 +1,16 @@ +# BulkResult + +This entity is used to represent a single item that is returned as part of a Bulk Job Result call. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Data` | [BulkResultBulkDataProperty](../../Models/Components/BulkResultBulkDataProperty.md) | :heavy_check_mark: | The response data for the bulk operation. | | +| `Status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | +| `Message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | +| `Request` | Dictionary | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | +| `Id` | *long* | :heavy_minus_sign: | The bulk result identifier. | 1234 | +| `Job` | [Job](../../Models/Components/Job.md) | :heavy_minus_sign: | Unique identifier of the bulk job linked to this result. | {
"id": "766d1986-9aaa-454f-86f5-d605c45b3131"
} | +| `Failed` | *bool* | :heavy_minus_sign: | A `true` value indicates the target operation returned an HTTP error status code.

**Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be `false` even when individual items within the response body indicate failure. For such operations, inspect the `data` field to determine which items succeeded or failed. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkResultBulkDataProperty.md b/packages/csharp/docs/Models/Components/BulkResultBulkDataProperty.md new file mode 100644 index 000000000..1f057a7dc --- /dev/null +++ b/packages/csharp/docs/Models/Components/BulkResultBulkDataProperty.md @@ -0,0 +1,13 @@ +# BulkResultBulkDataProperty + +The response data for the bulk operation. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `PathParams` | Dictionary | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
"id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
} | +| `QueryParams` | Dictionary | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | +| `Headers` | Dictionary | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | +| `DataRecord` | Dictionary | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkResultJson.md b/packages/csharp/docs/Models/Components/BulkResultJson.md deleted file mode 100644 index 977bd9526..000000000 --- a/packages/csharp/docs/Models/Components/BulkResultJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# BulkResultJson - -This entity is used to represent a single item that is returned as part of a Bulk Job Result call. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Data` | [BulkDataProperty](../../Models/Components/BulkDataProperty.md) | :heavy_check_mark: | The response data for the bulk operation. | | -| `Status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | -| `Message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | -| `Request` | Dictionary | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | -| `Id` | *long* | :heavy_minus_sign: | The bulk result identifier. | 1234 | -| `Job` | [Job](../../Models/Components/Job.md) | :heavy_minus_sign: | Unique identifier of the bulk job linked to this result. | {
"id": "766d1986-9aaa-454f-86f5-d605c45b3131"
} | -| `Failed` | *bool* | :heavy_minus_sign: | Indicator that specifies if the bulk result failed. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BulkResultsPaginatedResponse.md b/packages/csharp/docs/Models/Components/BulkResultsPaginatedResponse.md index 5163c6806..bcb1fdb9c 100644 --- a/packages/csharp/docs/Models/Components/BulkResultsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/BulkResultsPaginatedResponse.md @@ -6,7 +6,7 @@ as the collection of bulk results. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[BulkResultJson](../../Models/Components/BulkResultJson.md)> | :heavy_check_mark: | Collection of bulk result objects. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[BulkResult](../../Models/Components/BulkResult.md)> | :heavy_check_mark: | Collection of bulk result objects. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Capacities.md b/packages/csharp/docs/Models/Components/Capacities.md new file mode 100644 index 000000000..7f18cbc0d --- /dev/null +++ b/packages/csharp/docs/Models/Components/Capacities.md @@ -0,0 +1,11 @@ +# Capacities + +Capacity information for the meeting room, grouped by category. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `Exhibits` | List<[MeetingRoomExhibitCapacity](../../Models/Components/MeetingRoomExhibitCapacity.md)> | :heavy_minus_sign: | Maximum number of exhibits per room setup. | +| `Seating` | List<[MeetingRoomSeatingCapacity](../../Models/Components/MeetingRoomSeatingCapacity.md)> | :heavy_minus_sign: | Maximum number of attendees per seating style. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CardTransactionJson.md b/packages/csharp/docs/Models/Components/CardTransactionJson.md index cc0261803..3173cab83 100644 --- a/packages/csharp/docs/Models/Components/CardTransactionJson.md +++ b/packages/csharp/docs/Models/Components/CardTransactionJson.md @@ -16,5 +16,5 @@ Card transaction associated with an event. | `Currency` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code used of transaction currency. | USD | | `Merchant` | *string* | :heavy_minus_sign: | Merchant name. | Test Merchant | | `Reconciliation` | [TransactionReconciliation](../../Models/Components/TransactionReconciliation.md) | :heavy_minus_sign: | N/A | | -| `Reconciliations` | List<[ZeroAllOf6](../../Models/Components/ZeroAllOf6.md)> | :heavy_minus_sign: | The list of reconciled item. | | +| `Reconciliations` | List<[ZeroAllOf4](../../Models/Components/ZeroAllOf4.md)> | :heavy_minus_sign: | The list of reconciled item. | | | `Descriptions` | List<*string*> | :heavy_minus_sign: | The list of transaction description. | [
"Electricity bill",
"Event ticket",
"Miscellaneous charge",
"Purchase car",
"Accommodation charge"
] | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChainScale.md b/packages/csharp/docs/Models/Components/ChainScale.md new file mode 100644 index 000000000..f72f24a82 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ChainScale.md @@ -0,0 +1,39 @@ +# ChainScale + +A market segment classification of a venue chain based on Average Daily Rate and other factors. + +Values: +- `BLANK` — Blank +- `ECONOMYCHAINS` — Economy Chains +- `INDEPENDENTS` — Independents +- `LUXURY_CHAINS` — Luxury Chains +- `MIDSCALE_CHAINS` — Midscale Chains +- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains +- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains +- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains +- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains +- `UPSCALE_CHAINS` — Upscale Chains + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ChainScale.Blank; +``` + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `Blank` | BLANK | +| `Economychains` | ECONOMYCHAINS | +| `Independents` | INDEPENDENTS | +| `LuxuryChains` | LUXURY_CHAINS | +| `MidscaleChains` | MIDSCALE_CHAINS | +| `MidscaleWithFbChains` | MIDSCALE_WITH_FB_CHAINS | +| `MidscaleWithoutFbChains` | MIDSCALE_WITHOUT_FB_CHAINS | +| `UpperMidscaleChains` | UPPER_MIDSCALE_CHAINS | +| `UpperUpscaleChains` | UPPER_UPSCALE_CHAINS | +| `UpscaleChains` | UPSCALE_CHAINS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CompositeValue.md b/packages/csharp/docs/Models/Components/CompositeValue.md new file mode 100644 index 000000000..d39bdc4ac --- /dev/null +++ b/packages/csharp/docs/Models/Components/CompositeValue.md @@ -0,0 +1,26 @@ +# CompositeValue + +The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. + +The structure of the array depends on the question `type`. + + +## Supported Types + +### ArrayOfMeetingRoomRequirement + +```csharp +CompositeValue.CreateArrayOfMeetingRoomRequirement(/* values here */); +``` + +### ArrayOfSleepingRoomRequirement + +```csharp +CompositeValue.CreateArrayOfSleepingRoomRequirement(/* values here */); +``` + +### ArrayOfBudgetEstimate + +```csharp +CompositeValue.CreateArrayOfBudgetEstimate(/* values here */); +``` diff --git a/packages/csharp/docs/Models/Components/CompositeValueJson.md b/packages/csharp/docs/Models/Components/CompositeValueJson.md deleted file mode 100644 index 0d6508208..000000000 --- a/packages/csharp/docs/Models/Components/CompositeValueJson.md +++ /dev/null @@ -1,26 +0,0 @@ -# CompositeValueJson - -The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. - -The structure of the array depends on the question `type`. - - -## Supported Types - -### ArrayOfMeetingRoomRequirementJson - -```csharp -CompositeValueJson.CreateArrayOfMeetingRoomRequirementJson(/* values here */); -``` - -### ArrayOfSleepingRoomRequirementJson - -```csharp -CompositeValueJson.CreateArrayOfSleepingRoomRequirementJson(/* values here */); -``` - -### ArrayOfBudgetEstimateJson - -```csharp -CompositeValueJson.CreateArrayOfBudgetEstimateJson(/* values here */); -``` diff --git a/packages/csharp/docs/Models/Components/ContactCommonJson.md b/packages/csharp/docs/Models/Components/ContactCommonJson.md deleted file mode 100644 index 3abc5d0ad..000000000 --- a/packages/csharp/docs/Models/Components/ContactCommonJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ContactCommonJson - -Details of a contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Contact ID | | -| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactFields.md b/packages/csharp/docs/Models/Components/ContactFields.md deleted file mode 100644 index 2cb0858cd..000000000 --- a/packages/csharp/docs/Models/Components/ContactFields.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactFields - -An array of standard contact fields supported by Cvent. - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `Data` | List<[ContactFieldJson](../../Models/Components/ContactFieldJson.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactFields1.md b/packages/csharp/docs/Models/Components/ContactFields1.md new file mode 100644 index 000000000..e3dbcd7b1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactFields1.md @@ -0,0 +1,13 @@ +# ContactFields1 + +Details of a contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Contact ID | | +| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactFields2.md b/packages/csharp/docs/Models/Components/ContactFields2.md new file mode 100644 index 000000000..33fbcd39f --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactFields2.md @@ -0,0 +1,10 @@ +# ContactFields2 + +An array of standard contact fields supported by Cvent. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Data` | List<[ContactFieldJson](../../Models/Components/ContactFieldJson.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Country.md b/packages/csharp/docs/Models/Components/Country.md new file mode 100644 index 000000000..2b19e2474 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Country.md @@ -0,0 +1,274 @@ +# Country + +ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = Country.Blank; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `Blank` | BLANK | +| `Ad` | AD | +| `Ae` | AE | +| `Af` | AF | +| `Ag` | AG | +| `Ai` | AI | +| `Al` | AL | +| `Am` | AM | +| `An` | AN | +| `Ao` | AO | +| `Aq` | AQ | +| `Ar` | AR | +| `As` | AS | +| `At` | AT | +| `Au` | AU | +| `Aw` | AW | +| `Ax` | AX | +| `Az` | AZ | +| `Ba` | BA | +| `Bb` | BB | +| `Bd` | BD | +| `Be` | BE | +| `Bf` | BF | +| `Bg` | BG | +| `Bh` | BH | +| `Bi` | BI | +| `Bj` | BJ | +| `Bl` | BL | +| `Bm` | BM | +| `Bn` | BN | +| `Bo` | BO | +| `Bq` | BQ | +| `Br` | BR | +| `Bs` | BS | +| `Bt` | BT | +| `Bv` | BV | +| `Bw` | BW | +| `By` | BY | +| `Bz` | BZ | +| `Ca` | CA | +| `Cc` | CC | +| `Cd` | CD | +| `Cf` | CF | +| `Cg` | CG | +| `Ch` | CH | +| `Ci` | CI | +| `Ck` | CK | +| `Cl` | CL | +| `Cm` | CM | +| `Cn` | CN | +| `Co` | CO | +| `Cr` | CR | +| `Cu` | CU | +| `Cv` | CV | +| `Cw` | CW | +| `Cx` | CX | +| `Cy` | CY | +| `Cz` | CZ | +| `De` | DE | +| `Dj` | DJ | +| `Dk` | DK | +| `Dm` | DM | +| `Do` | DO | +| `Dz` | DZ | +| `Ec` | EC | +| `Ee` | EE | +| `Eg` | EG | +| `Eh` | EH | +| `Er` | ER | +| `Es` | ES | +| `Et` | ET | +| `Fi` | FI | +| `Fj` | FJ | +| `Fk` | FK | +| `Fm` | FM | +| `Fo` | FO | +| `Fr` | FR | +| `Ga` | GA | +| `Gb` | GB | +| `Gb1` | GB_1 | +| `Gb2` | GB_2 | +| `Gb3` | GB_3 | +| `Gb4` | GB_4 | +| `Gd` | GD | +| `Ge` | GE | +| `Gf` | GF | +| `Gg` | GG | +| `Gh` | GH | +| `Gi` | GI | +| `Gl` | GL | +| `Gm` | GM | +| `Gn` | GN | +| `Gp` | GP | +| `Gq` | GQ | +| `Gr` | GR | +| `Gs` | GS | +| `Gt` | GT | +| `Gu` | GU | +| `Gw` | GW | +| `Gy` | GY | +| `Hk` | HK | +| `Hm` | HM | +| `Hn` | HN | +| `Hr` | HR | +| `Ht` | HT | +| `Hu` | HU | +| `Id` | ID | +| `Ie` | IE | +| `Il` | IL | +| `Im` | IM | +| `In` | IN | +| `Io` | IO | +| `Iq` | IQ | +| `Ir` | IR | +| `Is` | IS | +| `It` | IT | +| `Je` | JE | +| `Jm` | JM | +| `Jo` | JO | +| `Jp` | JP | +| `Ke` | KE | +| `Kg` | KG | +| `Kh` | KH | +| `Ki` | KI | +| `Km` | KM | +| `Kn` | KN | +| `Ko` | KO | +| `Kp` | KP | +| `Kr` | KR | +| `Kw` | KW | +| `Ky` | KY | +| `Kz` | KZ | +| `La` | LA | +| `Lb` | LB | +| `Lc` | LC | +| `Li` | LI | +| `Lk` | LK | +| `Lr` | LR | +| `Ls` | LS | +| `Lt` | LT | +| `Lu` | LU | +| `Lv` | LV | +| `Ly` | LY | +| `Ma` | MA | +| `Mc` | MC | +| `Md` | MD | +| `Me` | ME | +| `Mf` | MF | +| `Mg` | MG | +| `Mh` | MH | +| `Mk` | MK | +| `Ml` | ML | +| `Mm` | MM | +| `Mn` | MN | +| `Mo` | MO | +| `Mp` | MP | +| `Mq` | MQ | +| `Mr` | MR | +| `Ms` | MS | +| `Mt` | MT | +| `Mu` | MU | +| `Mv` | MV | +| `Mw` | MW | +| `Mx` | MX | +| `My` | MY | +| `Mz` | MZ | +| `Na` | NA | +| `Nc` | NC | +| `Ne` | NE | +| `Nf` | NF | +| `Ng` | NG | +| `Ni` | NI | +| `Nl` | NL | +| `No` | NO | +| `Np` | NP | +| `Nr` | NR | +| `Nu` | NU | +| `Nz` | NZ | +| `Om` | OM | +| `Pa` | PA | +| `Pe` | PE | +| `Pf` | PF | +| `Pg` | PG | +| `Ph` | PH | +| `Pk` | PK | +| `Pl` | PL | +| `Pm` | PM | +| `Pn` | PN | +| `Pr` | PR | +| `Ps` | PS | +| `Pt` | PT | +| `Pw` | PW | +| `Py` | PY | +| `Qa` | QA | +| `Re` | RE | +| `Ro` | RO | +| `Rs` | RS | +| `Ru` | RU | +| `Rw` | RW | +| `Sa` | SA | +| `Sb` | SB | +| `Sc` | SC | +| `Sd` | SD | +| `Se` | SE | +| `Sg` | SG | +| `Sh` | SH | +| `Si` | SI | +| `Sj` | SJ | +| `Sk` | SK | +| `Sl` | SL | +| `Sm` | SM | +| `Sn` | SN | +| `So` | SO | +| `Sr` | SR | +| `Ss` | SS | +| `St` | ST | +| `Sv` | SV | +| `Sx` | SX | +| `Sy` | SY | +| `Sz` | SZ | +| `Tc` | TC | +| `Td` | TD | +| `Tf` | TF | +| `Tg` | TG | +| `Th` | TH | +| `Tj` | TJ | +| `Tk` | TK | +| `Tl` | TL | +| `Tm` | TM | +| `Tn` | TN | +| `To` | TO | +| `Tp` | TP | +| `Tr` | TR | +| `Tt` | TT | +| `Tv` | TV | +| `Tw` | TW | +| `Tz` | TZ | +| `Ua` | UA | +| `Ug` | UG | +| `Um` | UM | +| `Us` | US | +| `Uy` | UY | +| `Uz` | UZ | +| `Va` | VA | +| `Vc` | VC | +| `Ve` | VE | +| `Vg` | VG | +| `Vi` | VI | +| `Vn` | VN | +| `Vu` | VU | +| `Wf` | WF | +| `Ws` | WS | +| `Ye` | YE | +| `Yt` | YT | +| `Za` | ZA | +| `Zm` | ZM | +| `Zw` | ZW | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Currency.md b/packages/csharp/docs/Models/Components/Currency.md new file mode 100644 index 000000000..93834b0ef --- /dev/null +++ b/packages/csharp/docs/Models/Components/Currency.md @@ -0,0 +1,184 @@ +# Currency + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = Currency.Usd; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `Usd` | USD | +| `Cad` | CAD | +| `Aud` | AUD | +| `Eur` | EUR | +| `Gbp` | GBP | +| `Hkd` | HKD | +| `Nzd` | NZD | +| `Aed` | AED | +| `Nok` | NOK | +| `Inr` | INR | +| `Mxn` | MXN | +| `Sek` | SEK | +| `Dkk` | DKK | +| `Myr` | MYR | +| `Jpy` | JPY | +| `Sgd` | SGD | +| `Thb` | THB | +| `Idr` | IDR | +| `Krw` | KRW | +| `Cny` | CNY | +| `Twd` | TWD | +| `Rub` | RUB | +| `Chf` | CHF | +| `Czk` | CZK | +| `Huf` | HUF | +| `Qar` | QAR | +| `Zar` | ZAR | +| `Ron` | RON | +| `Hrk` | HRK | +| `Try` | TRY | +| `Brl` | BRL | +| `Php` | PHP | +| `Sar` | SAR | +| `Pln` | PLN | +| `Ars` | ARS | +| `Awg` | AWG | +| `Azn` | AZN | +| `Bsd` | BSD | +| `Bbd` | BBD | +| `Bmd` | BMD | +| `Clp` | CLP | +| `Cop` | COP | +| `Crc` | CRC | +| `Dop` | DOP | +| `Xcd` | XCD | +| `Ils` | ILS | +| `Jmd` | JMD | +| `Lvl` | LVL | +| `Ltl` | LTL | +| `Mdl` | MDL | +| `Ang` | ANG | +| `Omr` | OMR | +| `Ttd` | TTD | +| `Uah` | UAH | +| `Uyu` | UYU | +| `Rsd` | RSD | +| `Afn` | AFN | +| `Amd` | AMD | +| `Aoa` | AOA | +| `Bam` | BAM | +| `Bdt` | BDT | +| `Bgn` | BGN | +| `Bhd` | BHD | +| `Bob` | BOB | +| `Dzd` | DZD | +| `Eek` | EEK | +| `Egp` | EGP | +| `Fjd` | FJD | +| `Gtq` | GTQ | +| `Hnl` | HNL | +| `Isk` | ISK | +| `Jod` | JOD | +| `Kyd` | KYD | +| `Kzt` | KZT | +| `Lbp` | LBP | +| `Mad` | MAD | +| `Ngn` | NGN | +| `Nio` | NIO | +| `Esp` | ESP | +| `Frf` | FRF | +| `Pab` | PAB | +| `Pen` | PEN | +| `Pkr` | PKR | +| `Pyg` | PYG | +| `Svc` | SVC | +| `Syp` | SYP | +| `Vef` | VEF | +| `Vnd` | VND | +| `Xpf` | XPF | +| `Gyd` | GYD | +| `Mop` | MOP | +| `Pgk` | PGK | +| `Xof` | XOF | +| `Xaf` | XAF | +| `Bzd` | BZD | +| `Byr` | BYR | +| `Bwp` | BWP | +| `Bnd` | BND | +| `Bif` | BIF | +| `Khr` | KHR | +| `Cve` | CVE | +| `Kmf` | KMF | +| `Cdf` | CDF | +| `Djf` | DJF | +| `Ern` | ERN | +| `Fkp` | FKP | +| `Gmd` | GMD | +| `Gel` | GEL | +| `Ghs` | GHS | +| `Gip` | GIP | +| `Gnf` | GNF | +| `Htg` | HTG | +| `Kes` | KES | +| `Kwd` | KWD | +| `Kgs` | KGS | +| `Lak` | LAK | +| `Lrd` | LRD | +| `Mkd` | MKD | +| `Mga` | MGA | +| `Mwk` | MWK | +| `Mvr` | MVR | +| `Mro` | MRO | +| `Mur` | MUR | +| `Mnt` | MNT | +| `Mzn` | MZN | +| `Mmk` | MMK | +| `Nad` | NAD | +| `Npr` | NPR | +| `Rwf` | RWF | +| `Shp` | SHP | +| `Wst` | WST | +| `Std` | STD | +| `Sll` | SLL | +| `Sbd` | SBD | +| `Sos` | SOS | +| `Lkr` | LKR | +| `Srd` | SRD | +| `Szl` | SZL | +| `Top` | TOP | +| `Tnd` | TND | +| `Ugx` | UGX | +| `Uzs` | UZS | +| `Vuv` | VUV | +| `Yer` | YER | +| `Zmk` | ZMK | +| `Zwd` | ZWD | +| `Sr` | SR | +| `Etb` | ETB | +| `Gh` | GH | +| `Gwp` | GWP | +| `Iqd` | IQD | +| `Irr` | IRR | +| `Kpw` | KPW | +| `Lsl` | LSL | +| `Rol` | ROL | +| `Sdg` | SDG | +| `Skk` | SKK | +| `Tjs` | TJS | +| `Tmt` | TMT | +| `Tzs` | TZS | +| `All` | ALL | +| `Btn` | BTN | +| `Cup` | CUP | +| `Ld` | LD | +| `Scr` | SCR | +| `Zmw` | ZMW | +| `Zwl` | ZWL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldSchema.md b/packages/csharp/docs/Models/Components/CustomFieldSchema.md deleted file mode 100644 index 15bb55bf8..000000000 --- a/packages/csharp/docs/Models/Components/CustomFieldSchema.md +++ /dev/null @@ -1,14 +0,0 @@ -# CustomFieldSchema - -A Custom Field - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `Type` | [CustomFieldSchemaCustomFieldType](../../Models/Components/CustomFieldSchemaCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldSchema1.md b/packages/csharp/docs/Models/Components/CustomFieldSchema1.md new file mode 100644 index 000000000..e5980d322 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CustomFieldSchema1.md @@ -0,0 +1,14 @@ +# CustomFieldSchema1 + +A Custom Field + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `Type` | [CustomFieldSchemaCustomFieldType](../../Models/Components/CustomFieldSchemaCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldSchema2.md b/packages/csharp/docs/Models/Components/CustomFieldSchema2.md new file mode 100644 index 000000000..f526388f3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CustomFieldSchema2.md @@ -0,0 +1,25 @@ +# CustomFieldSchema2 + +Custom field for a meeting request. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `Name` | *string* | :heavy_minus_sign: | The displayed field name which can be customized. | What is your favorite color? | +| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `Type` | [CustomFieldSchemaCustomFieldType](../../Models/Components/CustomFieldSchemaCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | +| `Field` | *bool* | :heavy_minus_sign: | True indicates the question is of the field type. | true | +| `FieldName` | *string* | :heavy_minus_sign: | The fixed field name. | Event Theme Color | +| `Hidden` | *bool* | :heavy_minus_sign: | True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. | false | +| `Required` | *bool* | :heavy_minus_sign: | True indicates the given question must be answered. | true | +| `MinLength` | *double* | :heavy_minus_sign: | The minimum length of a text field. | 0 | +| `MaxLength` | *double* | :heavy_minus_sign: | The maximum length of a text field. | 100 | +| `MinChoice` | *double* | :heavy_minus_sign: | The minimum number of choices required for a multi-choice field. | 0 | +| `MaxChoice` | *double* | :heavy_minus_sign: | The maximum number of choices allowed for a multi-choice field. | 10 | +| `MinDate` | *string* | :heavy_minus_sign: | The ISO 8601 minimum date value for a date field. | 1970-12-23 | +| `MaxDate` | *string* | :heavy_minus_sign: | The ISO 8601 maximum date value for a date field. | 2100-12-31 | +| `AnswerTypes` | List<[AnswerType12](../../Models/Components/AnswerType12.md)> | :heavy_minus_sign: | List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Dimension.md b/packages/csharp/docs/Models/Components/Dimension.md new file mode 100644 index 000000000..5659c3e67 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Dimension.md @@ -0,0 +1,11 @@ +# Dimension + +A dimension measurement in feet or meters. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `Value` | *double* | :heavy_check_mark: | The numeric value of the dimension. | 12.5 | +| `Unit` | [DimensionUnit](../../Models/Components/DimensionUnit.md) | :heavy_check_mark: | The unit of measurement for the dimension. | FEET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DimensionUnit.md b/packages/csharp/docs/Models/Components/DimensionUnit.md new file mode 100644 index 000000000..4bce2e092 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DimensionUnit.md @@ -0,0 +1,19 @@ +# DimensionUnit + +The unit of measurement for the dimension. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DimensionUnit.Feet; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Feet` | FEET | +| `Meters` | METERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistanceMeasurementUnit.md b/packages/csharp/docs/Models/Components/DistanceMeasurementUnit.md new file mode 100644 index 000000000..98ff134c0 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DistanceMeasurementUnit.md @@ -0,0 +1,23 @@ +# DistanceMeasurementUnit + +Unit of measurement for distance. + +Values: +- `MILES` — Miles +- `KILOMETERS` — Kilometers + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DistanceMeasurementUnit.Miles; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Miles` | MILES | +| `Kilometers` | KILOMETERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailBounced.md b/packages/csharp/docs/Models/Components/EmailBounced.md index f3b4ec4a2..5ec2d2cfe 100644 --- a/packages/csharp/docs/Models/Components/EmailBounced.md +++ b/packages/csharp/docs/Models/Components/EmailBounced.md @@ -9,7 +9,7 @@ An email-bounced activity. | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `Type` | *string* | :heavy_minus_sign: | Type of the email. | Invitation Reminder | | `Reason` | *string* | :heavy_minus_sign: | Reason for the bounced email. | 5.x.x - delivery error | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | | | `Bounced` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when an email bounced. | 2020-02-03T13:00:00.000Z | | `SmtpCode` | *long* | :heavy_minus_sign: | The Simple Mail Transfer Protocol (SMTP) response status code. | 500 | | `DsnDiagnostic` | *string* | :heavy_minus_sign: | Delivery Status Notification diagnostic details. | smtp;500 ESS - global exclusion | diff --git a/packages/csharp/docs/Models/Components/EmailUndelivered.md b/packages/csharp/docs/Models/Components/EmailUndelivered.md index 230536eb0..2c51780d2 100644 --- a/packages/csharp/docs/Models/Components/EmailUndelivered.md +++ b/packages/csharp/docs/Models/Components/EmailUndelivered.md @@ -8,5 +8,5 @@ An email-undelivered activity. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `Type` | *string* | :heavy_minus_sign: | Type of the email. | Invitation Reminder | -| `Contact` | [ActivityContactJson](../../Models/Components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | | +| `Contact` | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | | | `Undelivered` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when an email was undelivered. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ErrorResponse.md b/packages/csharp/docs/Models/Components/ErrorResponse.md index 0441459d5..ded3236a9 100644 --- a/packages/csharp/docs/Models/Components/ErrorResponse.md +++ b/packages/csharp/docs/Models/Components/ErrorResponse.md @@ -10,4 +10,4 @@ Represents an error response with additional details of cascading error messages | `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 +| `Details` | List<[ZeroAllOf3](../../Models/Components/ZeroAllOf3.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventActivityDetail.md b/packages/csharp/docs/Models/Components/EventActivityDetail.md new file mode 100644 index 000000000..806851182 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventActivityDetail.md @@ -0,0 +1,13 @@ +# EventActivityDetail + +Details for an event activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | +| `Title` | *string* | :heavy_minus_sign: | The title of the event. | Cvent Connect 2020 | +| `Code` | *string* | :heavy_minus_sign: | The code of the event. | XRNGB4YY3CX | +| `Timezone` | *string* | :heavy_minus_sign: | The timezone of the event. | America/New_York | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventActivityDetailInput.md b/packages/csharp/docs/Models/Components/EventActivityDetailInput.md new file mode 100644 index 000000000..29ca72ef2 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventActivityDetailInput.md @@ -0,0 +1,10 @@ +# EventActivityDetailInput + +Details for an event activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventActivityDetailsJson.md b/packages/csharp/docs/Models/Components/EventActivityDetailsJson.md deleted file mode 100644 index 2ddfcd9b4..000000000 --- a/packages/csharp/docs/Models/Components/EventActivityDetailsJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# EventActivityDetailsJson - -Details for an event activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | -| `Title` | *string* | :heavy_minus_sign: | The title of the event. | Cvent Connect 2020 | -| `Code` | *string* | :heavy_minus_sign: | The code of the event. | XRNGB4YY3CX | -| `Timezone` | *string* | :heavy_minus_sign: | The timezone of the event. | America/New_York | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventActivityDetailsJsonInput.md b/packages/csharp/docs/Models/Components/EventActivityDetailsJsonInput.md deleted file mode 100644 index 49493a1a9..000000000 --- a/packages/csharp/docs/Models/Components/EventActivityDetailsJsonInput.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventActivityDetailsJsonInput - -Details for an event activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventAdClicked.md b/packages/csharp/docs/Models/Components/EventAdClicked.md index 54c6c2621..4ae7736ea 100644 --- a/packages/csharp/docs/Models/Components/EventAdClicked.md +++ b/packages/csharp/docs/Models/Components/EventAdClicked.md @@ -5,8 +5,8 @@ Clicked an Event Ad. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent11](../../Models/Components/ActivityDataJsonEvent11.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | -| `Ad` | [ActivityAdJson](../../Models/Components/ActivityAdJson.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Event` | [ActivityDataEvent8](../../Models/Components/ActivityDataEvent8.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | +| `Ad` | [ActivityAd](../../Models/Components/ActivityAd.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventAdViewed.md b/packages/csharp/docs/Models/Components/EventAdViewed.md index 2206ffbf7..659816ba8 100644 --- a/packages/csharp/docs/Models/Components/EventAdViewed.md +++ b/packages/csharp/docs/Models/Components/EventAdViewed.md @@ -5,8 +5,8 @@ Viewed an Event Ad. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent10](../../Models/Components/ActivityDataJsonEvent10.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | -| `Ad` | [ActivityAdJson](../../Models/Components/ActivityAdJson.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Event` | [ActivityDataEvent7](../../Models/Components/ActivityDataEvent7.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | +| `Ad` | [ActivityAd](../../Models/Components/ActivityAd.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md b/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md index 4345c4093..6fb8722c5 100644 --- a/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md +++ b/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md @@ -5,8 +5,8 @@ An attendee-substituted activity. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent1](../../Models/Components/ActivityDataJsonEvent1.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `OldContact` | [ContactCommonJson](../../Models/Components/ContactCommonJson.md) | :heavy_minus_sign: | Details of a contact. | -| `NewContact` | [ContactCommonJson](../../Models/Components/ContactCommonJson.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `Event` | [EventAttendeeSubstitutedEvent](../../Models/Components/EventAttendeeSubstitutedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | +| `OldContact` | [ContactFields1](../../Models/Components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | +| `NewContact` | [ContactFields1](../../Models/Components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventAttendeeSubstitutedEvent.md b/packages/csharp/docs/Models/Components/EventAttendeeSubstitutedEvent.md new file mode 100644 index 000000000..ae0a9b1f3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventAttendeeSubstitutedEvent.md @@ -0,0 +1,10 @@ +# EventAttendeeSubstitutedEvent + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventBannerLinkClicked.md b/packages/csharp/docs/Models/Components/EventBannerLinkClicked.md index d4c3a4d01..849e5363b 100644 --- a/packages/csharp/docs/Models/Components/EventBannerLinkClicked.md +++ b/packages/csharp/docs/Models/Components/EventBannerLinkClicked.md @@ -5,9 +5,9 @@ The link on the banner clicked by an attendee. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `Exhibitor` | [ExhibitorJson](../../Models/Components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `Banner` | [Banner](../../Models/Components/Banner.md) | :heavy_minus_sign: | The related banner | | -| `Target` | [BannerLinkTargetJson](../../Models/Components/BannerLinkTargetJson.md) | :heavy_minus_sign: | The target of the link clicked on the banner. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `Exhibitor` | [Exhibitor1](../../Models/Components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `Banner` | [Banner](../../Models/Components/Banner.md) | :heavy_minus_sign: | The related banner | | +| `Target` | [BannerLinkTarget](../../Models/Components/BannerLinkTarget.md) | :heavy_minus_sign: | The target of the link clicked on the banner. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventCheckedIn.md b/packages/csharp/docs/Models/Components/EventCheckedIn.md index f26de13b4..ad8bde6c8 100644 --- a/packages/csharp/docs/Models/Components/EventCheckedIn.md +++ b/packages/csharp/docs/Models/Components/EventCheckedIn.md @@ -7,5 +7,5 @@ An email-checked-in activity. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent2](../../Models/Components/ActivityDataJsonEvent2.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Event` | [ActivityDataEvent1](../../Models/Components/ActivityDataEvent1.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `CheckedIn` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked in to an event. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventCheckedOut.md b/packages/csharp/docs/Models/Components/EventCheckedOut.md index 99f12f1ed..14132e303 100644 --- a/packages/csharp/docs/Models/Components/EventCheckedOut.md +++ b/packages/csharp/docs/Models/Components/EventCheckedOut.md @@ -7,5 +7,5 @@ An email-checked-out activity. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent3](../../Models/Components/ActivityDataJsonEvent3.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Event` | [ActivityDataEvent2](../../Models/Components/ActivityDataEvent2.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `CheckOut` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked out from an event. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventFeedbackSubmitted.md b/packages/csharp/docs/Models/Components/EventFeedbackSubmitted.md index a2b6068cd..a024821d2 100644 --- a/packages/csharp/docs/Models/Components/EventFeedbackSubmitted.md +++ b/packages/csharp/docs/Models/Components/EventFeedbackSubmitted.md @@ -5,7 +5,7 @@ An event-feedback-submitted activity. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent4](../../Models/Components/ActivityDataJsonEvent4.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `Survey` | [SurveyResponseJson](../../Models/Components/SurveyResponseJson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Event` | [EventFeedbackSubmittedEvent](../../Models/Components/EventFeedbackSubmittedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | +| `Survey` | [SurveyResponse](../../Models/Components/SurveyResponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventFeedbackSubmittedEvent.md b/packages/csharp/docs/Models/Components/EventFeedbackSubmittedEvent.md new file mode 100644 index 000000000..533f08328 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventFeedbackSubmittedEvent.md @@ -0,0 +1,10 @@ +# EventFeedbackSubmittedEvent + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventInsurance.md b/packages/csharp/docs/Models/Components/EventInsurance.md new file mode 100644 index 000000000..058a99ae6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventInsurance.md @@ -0,0 +1,27 @@ +# EventInsurance + +Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +Values: +- `BLANK` — Indicates no selection, leaves the field blank +- `REQUIRED` — Required +- `MAY_BE_REQUIRED` — May Be Required +- `NOT_REQUIRED` — Not Required + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = EventInsurance.Blank; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `Blank` | BLANK | +| `Required` | REQUIRED | +| `MayBeRequired` | MAY_BE_REQUIRED | +| `NotRequired` | NOT_REQUIRED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventNoShow.md b/packages/csharp/docs/Models/Components/EventNoShow.md index 1c367d011..3b06170f4 100644 --- a/packages/csharp/docs/Models/Components/EventNoShow.md +++ b/packages/csharp/docs/Models/Components/EventNoShow.md @@ -5,6 +5,6 @@ An email activity. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent5](../../Models/Components/ActivityDataJsonEvent5.md) | :heavy_minus_sign: | The event in which this activity occurred. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Event` | [ActivityDataEvent3](../../Models/Components/ActivityDataEvent3.md) | :heavy_minus_sign: | The event in which this activity occurred. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventPageVisitTracked.md b/packages/csharp/docs/Models/Components/EventPageVisitTracked.md index a2e95830b..9bc4c35f3 100644 --- a/packages/csharp/docs/Models/Components/EventPageVisitTracked.md +++ b/packages/csharp/docs/Models/Components/EventPageVisitTracked.md @@ -7,7 +7,7 @@ Contains Urchin Tracking Module (UTM) data. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent6](../../Models/Components/ActivityDataJsonEvent6.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Event` | [EventPageVisitTrackedEvent](../../Models/Components/EventPageVisitTrackedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `Source` | *string* | :heavy_minus_sign: | Identifies which site sent the traffic. | twitter | | `Medium` | *string* | :heavy_minus_sign: | Identifies what type of link was used, such as cost per click or email. | social | | `Campaign` | *string* | :heavy_minus_sign: | Identifies a specific product promotion or strategic campaign. | sale | diff --git a/packages/csharp/docs/Models/Components/EventPageVisitTrackedEvent.md b/packages/csharp/docs/Models/Components/EventPageVisitTrackedEvent.md new file mode 100644 index 000000000..7234dddca --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventPageVisitTrackedEvent.md @@ -0,0 +1,10 @@ +# EventPageVisitTrackedEvent + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventQuestionJson.md b/packages/csharp/docs/Models/Components/EventQuestionJson.md index 5095e4c04..6418673cd 100644 --- a/packages/csharp/docs/Models/Components/EventQuestionJson.md +++ b/packages/csharp/docs/Models/Components/EventQuestionJson.md @@ -18,5 +18,5 @@ Represents a question associated with an event. | `Tag` | *string* | :heavy_minus_sign: | Tag of the question. It allows comparison of similar questions across multiple events. | All Admission Items | | `Session` | [EventQuestionJsonSession](../../Models/Components/EventQuestionJsonSession.md) | :heavy_minus_sign: | Represents the session associated to the question, if any. Blank if no session is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | | `AdmissionItem` | [EventQuestionJsonAdmissionItem](../../Models/Components/EventQuestionJsonAdmissionItem.md) | :heavy_minus_sign: | Represents the admission item associated to the question, if any. Blank if no admission item is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | -| `Type` | [QuestionTypeJson2](../../Models/Components/QuestionTypeJson2.md) | :heavy_minus_sign: | This object represents the type of a question | | +| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | This object represents the type of a question | | | `InternalNote` | *string* | :heavy_minus_sign: | Optional description to provide additional context of the question. | This question is for the event registration form. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRegistered.md b/packages/csharp/docs/Models/Components/EventRegistered.md index b7f2a12fb..ffbe68fd4 100644 --- a/packages/csharp/docs/Models/Components/EventRegistered.md +++ b/packages/csharp/docs/Models/Components/EventRegistered.md @@ -5,7 +5,7 @@ An event-registered activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent7](../../Models/Components/ActivityDataJsonEvent7.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `Status` | [AttendeeStatusJson](../../Models/Components/AttendeeStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Event` | [ActivityDataEvent4](../../Models/Components/ActivityDataEvent4.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Status` | [AttendeeStatus](../../Models/Components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRegistrationAbandoned.md b/packages/csharp/docs/Models/Components/EventRegistrationAbandoned.md index d0653260c..0b54fb463 100644 --- a/packages/csharp/docs/Models/Components/EventRegistrationAbandoned.md +++ b/packages/csharp/docs/Models/Components/EventRegistrationAbandoned.md @@ -9,4 +9,4 @@ An event registration-abandoned activity. | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | `LastSavedRegistrationPageName` | *string* | :heavy_minus_sign: | The last page where an invitee left during the registration. | Personal Information | | `LastActivity` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when an invitee left the registration process. | 2020-02-03T13:00:00.000Z | -| ~~`Contact`~~ | [ActivityContact](../../Models/Components/ActivityContact.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Related contact. | | \ No newline at end of file +| ~~`Contact`~~ | [EventRegistrationAbandonedActivityContact](../../Models/Components/EventRegistrationAbandonedActivityContact.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Related contact. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRegistrationAbandonedActivityContact.md b/packages/csharp/docs/Models/Components/EventRegistrationAbandonedActivityContact.md new file mode 100644 index 000000000..518286b17 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventRegistrationAbandonedActivityContact.md @@ -0,0 +1,14 @@ +# ~~EventRegistrationAbandonedActivityContact~~ + +Related contact. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `FirstName` | *string* | :heavy_minus_sign: | The first name of the attendee. | Henry | +| `LastName` | *string* | :heavy_minus_sign: | The last name of the attendee. | Potterfield | +| `Email` | *string* | :heavy_minus_sign: | The email address of the attendee. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRegistrationCancelled.md b/packages/csharp/docs/Models/Components/EventRegistrationCancelled.md index 062491620..cccf638eb 100644 --- a/packages/csharp/docs/Models/Components/EventRegistrationCancelled.md +++ b/packages/csharp/docs/Models/Components/EventRegistrationCancelled.md @@ -5,7 +5,7 @@ An event-registered activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent8](../../Models/Components/ActivityDataJsonEvent8.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `Status` | [AttendeeStatusJson](../../Models/Components/AttendeeStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Event` | [ActivityDataEvent5](../../Models/Components/ActivityDataEvent5.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Status` | [AttendeeStatus](../../Models/Components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRole.md b/packages/csharp/docs/Models/Components/EventRole.md new file mode 100644 index 000000000..2ca33f01f --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventRole.md @@ -0,0 +1,10 @@ +# EventRole + +An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The ID of the event role. | 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleAssignment.md b/packages/csharp/docs/Models/Components/EventRoleAssignment.md new file mode 100644 index 000000000..085410a94 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventRoleAssignment.md @@ -0,0 +1,15 @@ +# EventRoleAssignment + +An assignment of an event role to a user for an event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 | +| `Event` | [EventRoleAssignmentEvent](../../Models/Components/EventRoleAssignmentEvent.md) | :heavy_minus_sign: | The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. | | +| `User` | [EventRoleAssignmentUser](../../Models/Components/EventRoleAssignmentUser.md) | :heavy_minus_sign: | The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. | | +| `EventRole` | [Models.Components.EventRole](../../Models/Components/EventRole.md) | :heavy_minus_sign: | An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. | | +| `Assigned` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date-time when the event role was assigned to the user. | 2017-01-02T02:00:00Z | +| `AssignedBy` | *string* | :heavy_minus_sign: | The identifier of the user who assigned the event role. | hporter | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleAssignmentEvent.md b/packages/csharp/docs/Models/Components/EventRoleAssignmentEvent.md new file mode 100644 index 000000000..bd6bf19b1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventRoleAssignmentEvent.md @@ -0,0 +1,10 @@ +# EventRoleAssignmentEvent + +The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleAssignmentJson.md b/packages/csharp/docs/Models/Components/EventRoleAssignmentJson.md deleted file mode 100644 index 5d90a5a1a..000000000 --- a/packages/csharp/docs/Models/Components/EventRoleAssignmentJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# EventRoleAssignmentJson - -An assignment of an event role to a user for an event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 | -| `Event` | [EventRoleAssignmentJsonEvent](../../Models/Components/EventRoleAssignmentJsonEvent.md) | :heavy_minus_sign: | The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. | | -| `User` | [EventRoleAssignmentJsonUser](../../Models/Components/EventRoleAssignmentJsonUser.md) | :heavy_minus_sign: | The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. | | -| `EventRole` | [EventRoleJson](../../Models/Components/EventRoleJson.md) | :heavy_minus_sign: | An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. | | -| `Assigned` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date-time when the event role was assigned to the user. | 2017-01-02T02:00:00Z | -| `AssignedBy` | *string* | :heavy_minus_sign: | The identifier of the user who assigned the event role. | hporter | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleAssignmentJsonEvent.md b/packages/csharp/docs/Models/Components/EventRoleAssignmentJsonEvent.md deleted file mode 100644 index 236da7d0f..000000000 --- a/packages/csharp/docs/Models/Components/EventRoleAssignmentJsonEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventRoleAssignmentJsonEvent - -The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleAssignmentJsonUser.md b/packages/csharp/docs/Models/Components/EventRoleAssignmentJsonUser.md deleted file mode 100644 index ae2a18d9a..000000000 --- a/packages/csharp/docs/Models/Components/EventRoleAssignmentJsonUser.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventRoleAssignmentJsonUser - -The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the user. | 6807e044-993b-428c-aec8-7316f13c1b95 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleAssignmentUser.md b/packages/csharp/docs/Models/Components/EventRoleAssignmentUser.md new file mode 100644 index 000000000..149f2a869 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventRoleAssignmentUser.md @@ -0,0 +1,10 @@ +# EventRoleAssignmentUser + +The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the user. | 6807e044-993b-428c-aec8-7316f13c1b95 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleAssignmentsPaginatedResponse.md b/packages/csharp/docs/Models/Components/EventRoleAssignmentsPaginatedResponse.md index 05e544e27..29abe6601 100644 --- a/packages/csharp/docs/Models/Components/EventRoleAssignmentsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/EventRoleAssignmentsPaginatedResponse.md @@ -5,7 +5,7 @@ The response to a request to get a paginated list of event role assignments. Thi ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[EventRoleAssignmentJson](../../Models/Components/EventRoleAssignmentJson.md)> | :heavy_check_mark: | A collection of event role assignments. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[EventRoleAssignment](../../Models/Components/EventRoleAssignment.md)> | :heavy_check_mark: | A collection of event role assignments. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventRoleJson.md b/packages/csharp/docs/Models/Components/EventRoleJson.md deleted file mode 100644 index 52f3e63ff..000000000 --- a/packages/csharp/docs/Models/Components/EventRoleJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventRoleJson - -An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The ID of the event role. | 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md b/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md index 31b3303e3..e6cc347f0 100644 --- a/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md +++ b/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md @@ -16,7 +16,7 @@ An event survey question. | `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `HtmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `Code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `Type` | [QuestionTypeJson](../../Models/Components/QuestionTypeJson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `Choices` | List<[ChoiceJson1](../../Models/Components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | | `Categories` | List<[CategoryJson1](../../Models/Components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | | `SubCategories` | List<[TextFieldJson](../../Models/Components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/csharp/docs/Models/Components/EventWaitlisted.md b/packages/csharp/docs/Models/Components/EventWaitlisted.md index 043e40a3b..b82443812 100644 --- a/packages/csharp/docs/Models/Components/EventWaitlisted.md +++ b/packages/csharp/docs/Models/Components/EventWaitlisted.md @@ -5,7 +5,7 @@ An event-registered activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `Event` | [ActivityDataJsonEvent9](../../Models/Components/ActivityDataJsonEvent9.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `Status` | [AttendeeStatusJson](../../Models/Components/AttendeeStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Event` | [ActivityDataEvent6](../../Models/Components/ActivityDataEvent6.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `Status` | [AttendeeStatus](../../Models/Components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitLayoutType.md b/packages/csharp/docs/Models/Components/ExhibitLayoutType.md new file mode 100644 index 000000000..11651dd8e --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExhibitLayoutType.md @@ -0,0 +1,23 @@ +# ExhibitLayoutType + +The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ExhibitLayoutType.Booth10x10; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `Booth10x10` | BOOTH_10x10 | +| `Booth8x10` | BOOTH_8x10 | +| `IslandExhibit` | ISLAND_EXHIBIT | +| `PeninsulaExhibit` | PENINSULA_EXHIBIT | +| `PerimeterExhibit` | PERIMETER_EXHIBIT | +| `TabletopExhibit` | TABLETOP_EXHIBIT | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Exhibitor1.md b/packages/csharp/docs/Models/Components/Exhibitor1.md new file mode 100644 index 000000000..b82840196 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Exhibitor1.md @@ -0,0 +1,13 @@ +# Exhibitor1 + +An exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | AutoExpo | +| `Featured` | *bool* | :heavy_minus_sign: | If the exhibitor is featured. | true | +| `EventSponsor` | *bool* | :heavy_minus_sign: | If the exhibitor is an event sponsor. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitorDocumentOpened.md b/packages/csharp/docs/Models/Components/ExhibitorDocumentOpened.md index e849342f3..4bc4e5dac 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorDocumentOpened.md +++ b/packages/csharp/docs/Models/Components/ExhibitorDocumentOpened.md @@ -5,8 +5,8 @@ An exhibitor document-opened activity. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `Exhibitor` | [ExhibitorJson](../../Models/Components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `Document` | [ActivityExhibitorDocumentJson](../../Models/Components/ActivityExhibitorDocumentJson.md) | :heavy_minus_sign: | Document for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `Exhibitor` | [Exhibitor1](../../Models/Components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `Document` | [ActivityExhibitorDocument](../../Models/Components/ActivityExhibitorDocument.md) | :heavy_minus_sign: | Document for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitorJson.md b/packages/csharp/docs/Models/Components/ExhibitorJson.md deleted file mode 100644 index 6c2b4166a..000000000 --- a/packages/csharp/docs/Models/Components/ExhibitorJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ExhibitorJson - -An exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | AutoExpo | -| `Featured` | *bool* | :heavy_minus_sign: | If the exhibitor is featured. | true | -| `EventSponsor` | *bool* | :heavy_minus_sign: | If the exhibitor is an event sponsor. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitorSocialLinkOpened.md b/packages/csharp/docs/Models/Components/ExhibitorSocialLinkOpened.md index da2122258..7fbed9811 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorSocialLinkOpened.md +++ b/packages/csharp/docs/Models/Components/ExhibitorSocialLinkOpened.md @@ -5,10 +5,10 @@ An exhibitor social-link-opened activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `Exhibitor` | [ExhibitorJson](../../Models/Components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `SponsorshipLevel` | [ActivityExhibitorSponsorshipLevelJson](../../Models/Components/ActivityExhibitorSponsorshipLevelJson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `SocialNetwork` | *string* | :heavy_minus_sign: | The name of the social network. | LinkedIn | -| `Url` | *string* | :heavy_minus_sign: | The link opened by the attendee. | https://www.linkedin.com/company/cvent/mycompany/ | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `Exhibitor` | [Exhibitor1](../../Models/Components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `SponsorshipLevel` | [ActivityExhibitorSponsorshipLevel](../../Models/Components/ActivityExhibitorSponsorshipLevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `SocialNetwork` | *string* | :heavy_minus_sign: | The name of the social network. | LinkedIn | +| `Url` | *string* | :heavy_minus_sign: | The link opened by the attendee. | https://www.linkedin.com/company/cvent/mycompany/ | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitorViewed.md b/packages/csharp/docs/Models/Components/ExhibitorViewed.md index ad8358d80..4fa648fb9 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorViewed.md +++ b/packages/csharp/docs/Models/Components/ExhibitorViewed.md @@ -5,9 +5,9 @@ An exhibitor viewed activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `Exhibitor` | [ExhibitorJson](../../Models/Components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `SponsorshipLevel` | [ActivityExhibitorSponsorshipLevelJson](../../Models/Components/ActivityExhibitorSponsorshipLevelJson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `NavigationSource` | [ActivityExhibitorNavigationSourceJson](../../Models/Components/ActivityExhibitorNavigationSourceJson.md) | :heavy_minus_sign: | Navigation source for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `Exhibitor` | [Exhibitor1](../../Models/Components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `SponsorshipLevel` | [ActivityExhibitorSponsorshipLevel](../../Models/Components/ActivityExhibitorSponsorshipLevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `NavigationSource` | [ActivityExhibitorNavigationSource](../../Models/Components/ActivityExhibitorNavigationSource.md) | :heavy_minus_sign: | Navigation source for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitorVirtualBoothJoined.md b/packages/csharp/docs/Models/Components/ExhibitorVirtualBoothJoined.md index d64714a6c..aa0f86a07 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorVirtualBoothJoined.md +++ b/packages/csharp/docs/Models/Components/ExhibitorVirtualBoothJoined.md @@ -5,9 +5,9 @@ An exhibitor virtual-booth-joined activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `Exhibitor` | [ExhibitorJson](../../Models/Components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `SponsorshipLevel` | [ActivityExhibitorSponsorshipLevelJson](../../Models/Components/ActivityExhibitorSponsorshipLevelJson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `SolutionType` | *string* | :heavy_minus_sign: | The solution type used for the virtual booth. | CVC | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `Exhibitor` | [Exhibitor1](../../Models/Components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `SponsorshipLevel` | [ActivityExhibitorSponsorshipLevel](../../Models/Components/ActivityExhibitorSponsorshipLevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `SolutionType` | *string* | :heavy_minus_sign: | The solution type used for the virtual booth. | CVC | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitorWeblinkOpened.md b/packages/csharp/docs/Models/Components/ExhibitorWeblinkOpened.md index 3d020557f..0de9b8d56 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorWeblinkOpened.md +++ b/packages/csharp/docs/Models/Components/ExhibitorWeblinkOpened.md @@ -5,8 +5,8 @@ An exhibitor weblink-opened activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `Exhibitor` | [ExhibitorJson](../../Models/Components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `Weblink` | [ActivityExhibitorWebLinkJson](../../Models/Components/ActivityExhibitorWebLinkJson.md) | :heavy_minus_sign: | A web-link for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `Exhibitor` | [Exhibitor1](../../Models/Components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `Weblink` | [ActivityExhibitorWeblink](../../Models/Components/ActivityExhibitorWeblink.md) | :heavy_minus_sign: | A web-link for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md index 3f799d8d9..8c751b3a8 100644 --- a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md +++ b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md @@ -14,5 +14,5 @@ Existing Exhibitor Answer schema | `Question` | [Uuid](../../Models/Components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | | `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | -| `Answers` | List<[Answer2](../../Models/Components/Answer2.md)> | :heavy_check_mark: | List of answers | | +| `Answers` | List<[Answer22](../../Models/Components/Answer22.md)> | :heavy_check_mark: | List of answers | | | `Id` | *string* | :heavy_check_mark: | Exhibitor Answer id | 06d2bfce-1793-11ec-9621-0242ac130002 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md index c4640d1cd..6a06b9ee5 100644 --- a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md +++ b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md @@ -10,4 +10,4 @@ Existing Exhibitor Answer schema | `Question` | [Uuid](../../Models/Components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | -| `Answers` | List<[Answer2](../../Models/Components/Answer2.md)> | :heavy_check_mark: | List of answers | \ No newline at end of file +| `Answers` | List<[Answer22](../../Models/Components/Answer22.md)> | :heavy_check_mark: | List of answers | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingHub.md b/packages/csharp/docs/Models/Components/ExistingHub.md index e299d32c7..fb63f624a 100644 --- a/packages/csharp/docs/Models/Components/ExistingHub.md +++ b/packages/csharp/docs/Models/Components/ExistingHub.md @@ -27,5 +27,6 @@ Represents an existing Events+ hub. | `UtmOverride` | [UTMOverride](../../Models/Components/UTMOverride.md) | :heavy_minus_sign: | 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. | use-custom-parameter | | `Fonts` | [HubFonts](../../Models/Components/HubFonts.md) | :heavy_minus_sign: | The fonts of the Events+ hub. | | | `Login` | [HubLogin](../../Models/Components/HubLogin.md) | :heavy_minus_sign: | Fields relating to the login process for the Events+ hub. | | +| `WebsiteTheming` | *bool* | :heavy_minus_sign: | True indicates the Events+ hub is opted into the new website theming experience. False indicates the hub uses the legacy theming experience. | true | | `Id` | *string* | :heavy_minus_sign: | The unique ID of an Events+ Hub. | 1e7e0f38-d73c-4326-9f93-422086b91304 | | `Status` | [HubStatusProperty](../../Models/Components/HubStatusProperty.md) | :heavy_minus_sign: | The current Events+ Hub status. Inactive: The Events+ Hub is inactive and unavailable to members. Active: Members can access the Events+ Hub. Deleted: The Events+ Hub has been deleted and is unavailable to members or planners. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingMeetingRoom.md b/packages/csharp/docs/Models/Components/ExistingMeetingRoom.md new file mode 100644 index 000000000..32e133795 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingMeetingRoom.md @@ -0,0 +1,23 @@ +# ExistingMeetingRoom + +An existing venue meeting room with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `Name` | *string* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `Description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `Dimensions` | [ExistingMeetingRoomDimensions](../../Models/Components/ExistingMeetingRoomDimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `DisplayOrder` | *long* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `ExternalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `Rates` | [ExistingMeetingRoomRates](../../Models/Components/ExistingMeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `Capacities` | [MeetingRoomCapacities](../../Models/Components/MeetingRoomCapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `Amenities` | List<[MeetingRoomAmenity](../../Models/Components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `HiddenOnProfile` | *bool* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | +| `Id` | *string* | :heavy_check_mark: | The unique identifier for the meeting room. | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingMeetingRoomDimensions.md b/packages/csharp/docs/Models/Components/ExistingMeetingRoomDimensions.md new file mode 100644 index 000000000..b6017772e --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingMeetingRoomDimensions.md @@ -0,0 +1,13 @@ +# ExistingMeetingRoomDimensions + +Physical dimensions for the meeting room. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `TotalSpace` | [AreaMeasurement](../../Models/Components/AreaMeasurement.md) | :heavy_check_mark: | Measurement of area in square feet or square meters. | +| `CeilingHeight` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `Length` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `Width` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingMeetingRoomInput.md b/packages/csharp/docs/Models/Components/ExistingMeetingRoomInput.md new file mode 100644 index 000000000..731d7b611 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingMeetingRoomInput.md @@ -0,0 +1,18 @@ +# ExistingMeetingRoomInput + +An existing venue meeting room with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `Name` | *string* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `Description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `Dimensions` | [ExistingMeetingRoomDimensions](../../Models/Components/ExistingMeetingRoomDimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `DisplayOrder` | *long* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `ExternalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `Rates` | [ExistingMeetingRoomRates](../../Models/Components/ExistingMeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `Capacities` | [MeetingRoomCapacities](../../Models/Components/MeetingRoomCapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `Amenities` | List<[MeetingRoomAmenity](../../Models/Components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `HiddenOnProfile` | *bool* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingMeetingRoomRates.md b/packages/csharp/docs/Models/Components/ExistingMeetingRoomRates.md new file mode 100644 index 000000000..f646a323d --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingMeetingRoomRates.md @@ -0,0 +1,12 @@ +# ExistingMeetingRoomRates + +Rate information for move in/out and events. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `MoveIn` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `MoveOut` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `Event` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueDetails.md b/packages/csharp/docs/Models/Components/ExistingVenueDetails.md new file mode 100644 index 000000000..485e7b63d --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueDetails.md @@ -0,0 +1,33 @@ +# ExistingVenueDetails + +An existing venue details model with read-only generated properties. + + +## 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 | +| `Type` | [VenueType](../../Models/Components/VenueType.md) | :heavy_check_mark: | Type of venue.

Values:
- `AQUARIUM_ZOO` — Aquarium/Zoo
- `ARENA_STADIUM` — Arena/Stadium
- `BANQUET_FACILITY` — Banquet Facility
- `BAR_CLUB` — Bar/Club
- `BLANK` — Blank
- `BOUTIQUE_HOTEL` — Boutique Hotel
- `CONFERENCE_CENTER` — Conference Center
- `CONVENTION_CENTER` — Convention Center
- `CORPORATE_OFFICE_SPACE` — Corporate Office Space
- `CVB` — CVB
- `DMC` — Destination Management Company
- `EDUCATIONAL_FACILITY` — Educational Facility
- `ENTERTAINMENT_VENUE` — Entertainment Venue
- `EXPOSITION_CENTER` — Exposition Center
- `GALLERY_MUSEUM` — Gallery/Museum
- `GOLF_COURSE` — Golf Course
- `HOTEL` — Hotel
- `INTERNAL_VENUE` — Internal Venue
- `LUXURY_HOTEL` — Luxury Hotel
- `MOVIE_THEATRE` — Movie Theatre
- `RESORT` — Resort
- `RESTAURANT` — Restaurant
- `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `TimeZone` | *string* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

[Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `Brand` | *string* | :heavy_minus_sign: | Venue brand. | Quality Hotels | +| `ChainScale` | [ChainScale](../../Models/Components/ChainScale.md) | :heavy_minus_sign: | A market segment classification of a venue chain based on Average Daily Rate and other factors.

Values:
- `BLANK` — Blank
- `ECONOMYCHAINS` — Economy Chains
- `INDEPENDENTS` — Independents
- `LUXURY_CHAINS` — Luxury Chains
- `MIDSCALE_CHAINS` — Midscale Chains
- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
- `UPSCALE_CHAINS` — Upscale Chains | UPSCALE_CHAINS | +| `MainPhoneNumber` | *string* | :heavy_check_mark: | Primary phone number for the venue. | +1-703-555-0100 | +| `MainFaxNumber` | *string* | :heavy_check_mark: | Primary fax number for the venue. | +1-703-555-0101 | +| `SalesPhoneNumber` | *string* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `SalesFaxNumber` | *string* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `TollFreeNumber` | *string* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `WebsiteAddress` | *string* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `Currency` | [Currency](../../Models/Components/Currency.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `OpeningDate` | *string* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `Description` | *string* | :heavy_minus_sign: | Venue description. | A modern conference venue in downtown. | +| `AdditionalInformation` | *string* | :heavy_minus_sign: | Additional information about the venue. | Free parking available on-site. | +| `CancellationPolicy` | *string* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | Full refund if cancelled 48 hours before event. | +| `LocationTypes` | List<[LocationType](../../Models/Components/LocationType.md)> | :heavy_minus_sign: | Location classifications. | | +| `Address` | [AddressInfo](../../Models/Components/AddressInfo.md) | :heavy_check_mark: | Venue address information. | | +| `Id` | *string* | :heavy_check_mark: | Venue ID. | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `Name` | *string* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | +| `MetroArea` | *string* | :heavy_minus_sign: | Metro area name. Populated once the venue is approved. | Washington DC Metro | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueDetailsInput.md b/packages/csharp/docs/Models/Components/ExistingVenueDetailsInput.md new file mode 100644 index 000000000..785c88665 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueDetailsInput.md @@ -0,0 +1,26 @@ +# ExistingVenueDetailsInput + +An existing venue details model with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Type` | [VenueType](../../Models/Components/VenueType.md) | :heavy_check_mark: | Type of venue.

Values:
- `AQUARIUM_ZOO` — Aquarium/Zoo
- `ARENA_STADIUM` — Arena/Stadium
- `BANQUET_FACILITY` — Banquet Facility
- `BAR_CLUB` — Bar/Club
- `BLANK` — Blank
- `BOUTIQUE_HOTEL` — Boutique Hotel
- `CONFERENCE_CENTER` — Conference Center
- `CONVENTION_CENTER` — Convention Center
- `CORPORATE_OFFICE_SPACE` — Corporate Office Space
- `CVB` — CVB
- `DMC` — Destination Management Company
- `EDUCATIONAL_FACILITY` — Educational Facility
- `ENTERTAINMENT_VENUE` — Entertainment Venue
- `EXPOSITION_CENTER` — Exposition Center
- `GALLERY_MUSEUM` — Gallery/Museum
- `GOLF_COURSE` — Golf Course
- `HOTEL` — Hotel
- `INTERNAL_VENUE` — Internal Venue
- `LUXURY_HOTEL` — Luxury Hotel
- `MOVIE_THEATRE` — Movie Theatre
- `RESORT` — Resort
- `RESTAURANT` — Restaurant
- `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `TimeZone` | *string* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

[Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `Brand` | *string* | :heavy_minus_sign: | Venue brand. | Quality Hotels | +| `ChainScale` | [ChainScale](../../Models/Components/ChainScale.md) | :heavy_minus_sign: | A market segment classification of a venue chain based on Average Daily Rate and other factors.

Values:
- `BLANK` — Blank
- `ECONOMYCHAINS` — Economy Chains
- `INDEPENDENTS` — Independents
- `LUXURY_CHAINS` — Luxury Chains
- `MIDSCALE_CHAINS` — Midscale Chains
- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
- `UPSCALE_CHAINS` — Upscale Chains | UPSCALE_CHAINS | +| `MainPhoneNumber` | *string* | :heavy_check_mark: | Primary phone number for the venue. | +1-703-555-0100 | +| `MainFaxNumber` | *string* | :heavy_check_mark: | Primary fax number for the venue. | +1-703-555-0101 | +| `SalesPhoneNumber` | *string* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `SalesFaxNumber` | *string* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `TollFreeNumber` | *string* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `WebsiteAddress` | *string* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `Currency` | [Currency](../../Models/Components/Currency.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `OpeningDate` | *string* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `Description` | *string* | :heavy_minus_sign: | Venue description. | A modern conference venue in downtown. | +| `AdditionalInformation` | *string* | :heavy_minus_sign: | Additional information about the venue. | Free parking available on-site. | +| `CancellationPolicy` | *string* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | Full refund if cancelled 48 hours before event. | +| `LocationTypes` | List<[LocationType](../../Models/Components/LocationType.md)> | :heavy_minus_sign: | Location classifications. | | +| `Address` | [AddressInfo](../../Models/Components/AddressInfo.md) | :heavy_check_mark: | Venue address information. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacility.md b/packages/csharp/docs/Models/Components/ExistingVenueFacility.md new file mode 100644 index 000000000..9dd6b36c9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacility.md @@ -0,0 +1,28 @@ +# ExistingVenueFacility + +An existing venue facility model with read-only generated properties. + + +## 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 | +| `NumberOfMeetingRooms` | *long* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `Space` | [ExistingVenueFacilitySpace](../../Models/Components/ExistingVenueFacilitySpace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `Sleeping` | [ExistingVenueFacilitySleeping](../../Models/Components/ExistingVenueFacilitySleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `SingleRate` | [ExistingVenueFacilitySingleRate](../../Models/Components/ExistingVenueFacilitySingleRate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `DoubleRate` | [ExistingVenueFacilityDoubleRate](../../Models/Components/ExistingVenueFacilityDoubleRate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `TaxRate` | *double* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `OccupancyRate` | *double* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `YearBuilt` | *long* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `YearRenovated` | *long* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `ProximityFromAirport` | [ExistingVenueFacilityProximityFromAirport](../../Models/Components/ExistingVenueFacilityProximityFromAirport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `Restrictions` | *string* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `MaximumCapacity` | [ExistingVenueFacilityMaximumCapacity](../../Models/Components/ExistingVenueFacilityMaximumCapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `EventInsurance` | [EventInsurance](../../Models/Components/EventInsurance.md) | :heavy_minus_sign: | Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BLANK` — Indicates no selection, leaves the field blank
- `REQUIRED` — Required
- `MAY_BE_REQUIRED` — May Be Required
- `NOT_REQUIRED` — Not Required | | +| `Id` | *string* | :heavy_check_mark: | Venue ID. | e1c05096-e352-4f2e-af1c-a6e022d36b34 | +| `Name` | *string* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacilityDoubleRate.md b/packages/csharp/docs/Models/Components/ExistingVenueFacilityDoubleRate.md new file mode 100644 index 000000000..eb171498c --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacilityDoubleRate.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilityDoubleRate + +Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `Low` | *double* | :heavy_minus_sign: | Lowest published rate for a double-occupancy room. | 149.99 | +| `High` | *double* | :heavy_minus_sign: | Highest published rate for a double-occupancy room. | 299.99 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacilityInput.md b/packages/csharp/docs/Models/Components/ExistingVenueFacilityInput.md new file mode 100644 index 000000000..9ba2d3685 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacilityInput.md @@ -0,0 +1,22 @@ +# ExistingVenueFacilityInput + +An existing venue facility model with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `NumberOfMeetingRooms` | *long* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `Space` | [ExistingVenueFacilitySpace](../../Models/Components/ExistingVenueFacilitySpace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `Sleeping` | [ExistingVenueFacilitySleeping](../../Models/Components/ExistingVenueFacilitySleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `SingleRate` | [ExistingVenueFacilitySingleRate](../../Models/Components/ExistingVenueFacilitySingleRate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `DoubleRate` | [ExistingVenueFacilityDoubleRate](../../Models/Components/ExistingVenueFacilityDoubleRate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `TaxRate` | *double* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `OccupancyRate` | *double* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `YearBuilt` | *long* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `YearRenovated` | *long* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `ProximityFromAirport` | [ExistingVenueFacilityProximityFromAirport](../../Models/Components/ExistingVenueFacilityProximityFromAirport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `Restrictions` | *string* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `MaximumCapacity` | [ExistingVenueFacilityMaximumCapacity](../../Models/Components/ExistingVenueFacilityMaximumCapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `EventInsurance` | [EventInsurance](../../Models/Components/EventInsurance.md) | :heavy_minus_sign: | Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BLANK` — Indicates no selection, leaves the field blank
- `REQUIRED` — Required
- `MAY_BE_REQUIRED` — May Be Required
- `NOT_REQUIRED` — Not Required | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacilityMaximumCapacity.md b/packages/csharp/docs/Models/Components/ExistingVenueFacilityMaximumCapacity.md new file mode 100644 index 000000000..9404e9b3f --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacilityMaximumCapacity.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilityMaximumCapacity + +Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `Seated` | *long* | :heavy_minus_sign: | Maximum seated capacity at the venue. | 500 | +| `Standing` | *long* | :heavy_minus_sign: | Maximum standing capacity at the venue. | 800 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacilityProximityFromAirport.md b/packages/csharp/docs/Models/Components/ExistingVenueFacilityProximityFromAirport.md new file mode 100644 index 000000000..ed0369fcb --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacilityProximityFromAirport.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilityProximityFromAirport + +Distance from the nearest airport. `unit` is required when `distance` is provided. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `Distance` | *double* | :heavy_minus_sign: | Distance from the nearest airport, expressed in `unit`. Up to four digits. | 12.5 | +| `Unit` | [DistanceMeasurementUnit](../../Models/Components/DistanceMeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for distance.

Values:
- `MILES` — Miles
- `KILOMETERS` — Kilometers | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacilitySingleRate.md b/packages/csharp/docs/Models/Components/ExistingVenueFacilitySingleRate.md new file mode 100644 index 000000000..985e438d7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacilitySingleRate.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilitySingleRate + +Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `Low` | *double* | :heavy_minus_sign: | Lowest published rate for a single-occupancy room. | 129.99 | +| `High` | *double* | :heavy_minus_sign: | Highest published rate for a single-occupancy room. | 249.99 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacilitySleeping.md b/packages/csharp/docs/Models/Components/ExistingVenueFacilitySleeping.md new file mode 100644 index 000000000..e4ce10c8a --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacilitySleeping.md @@ -0,0 +1,13 @@ +# ExistingVenueFacilitySleeping + +Sleeping room inventory at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `TotalRooms` | *long* | :heavy_minus_sign: | Total number of sleeping rooms at the venue. | 350 | +| `Suites` | *long* | :heavy_minus_sign: | Total number of suites at the venue. | 20 | +| `SingleRooms` | *long* | :heavy_minus_sign: | Total number of single-occupancy rooms at the venue. | 200 | +| `DoubleRooms` | *long* | :heavy_minus_sign: | Total number of double-occupancy rooms at the venue. | 130 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueFacilitySpace.md b/packages/csharp/docs/Models/Components/ExistingVenueFacilitySpace.md new file mode 100644 index 000000000..757aa4f3d --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueFacilitySpace.md @@ -0,0 +1,12 @@ +# ExistingVenueFacilitySpace + +Facility space measurements at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `UnitOfMeasurement` | [MeasurementUnit](../../Models/Components/MeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | +| `TotalMeetingRoomSpace` | *long* | :heavy_minus_sign: | Total meeting room space at the venue. | 50000 | +| `TotalExhibitSpace` | *long* | :heavy_minus_sign: | Total exhibit space at the venue. | 75000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.md b/packages/csharp/docs/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.md deleted file mode 100644 index 56bdb6882..000000000 --- a/packages/csharp/docs/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ExternalActivitiesAdditionalFieldsMetadataJson - -Additional fields metadata for an external activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `Name` | *string* | :heavy_check_mark: | The name of the additional field. | facebook_social.media | -| `Description` | *string* | :heavy_minus_sign: | Description of the additional field. | Contains data for facebook social media activity. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivity.md b/packages/csharp/docs/Models/Components/ExternalActivity.md index 1d7b0f187..244c163de 100644 --- a/packages/csharp/docs/Models/Components/ExternalActivity.md +++ b/packages/csharp/docs/Models/Components/ExternalActivity.md @@ -8,10 +8,10 @@ An external attendee activity. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `Id` | *string* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `Attendee` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `Event` | [EventActivityDetailsJson](../../Models/Components/EventActivityDetailsJson.md) | :heavy_check_mark: | Details for an event activity. | | +| `Attendee` | [Uuid](../../Models/Components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `Event` | [EventActivityDetail](../../Models/Components/EventActivityDetail.md) | :heavy_check_mark: | Details for an event activity. | | | `Time` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | | `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | | `Name` | *string* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | -| `Type` | [ExternalActivityTypeJson](../../Models/Components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `Data` | [ExternalActivityDataJson](../../Models/Components/ExternalActivityDataJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file +| `Type` | [ExternalActivityType](../../Models/Components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `Data` | [ExternalActivityData](../../Models/Components/ExternalActivityData.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityAdditionalFieldsMetadata.md b/packages/csharp/docs/Models/Components/ExternalActivityAdditionalFieldsMetadata.md new file mode 100644 index 000000000..bbc5a3afa --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExternalActivityAdditionalFieldsMetadata.md @@ -0,0 +1,11 @@ +# ExternalActivityAdditionalFieldsMetadata + +Additional fields metadata for an external activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `Name` | *string* | :heavy_check_mark: | The name of the additional field. | facebook_social.media | +| `Description` | *string* | :heavy_minus_sign: | Description of the additional field. | Contains data for facebook social media activity. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityData.md b/packages/csharp/docs/Models/Components/ExternalActivityData.md new file mode 100644 index 000000000..2b8d18457 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExternalActivityData.md @@ -0,0 +1,30 @@ +# ExternalActivityData + +This is used to denote the type of the external attendee activity. + + +## Supported Types + +### ExternalActivityDataEventExternal + +```csharp +ExternalActivityData.CreateExternalActivityDataEventExternal(/* values here */); +``` + +### ExternalActivityDataSessionExternal + +```csharp +ExternalActivityData.CreateExternalActivityDataSessionExternal(/* values here */); +``` + +### ExternalActivityDataAppointmentExternal + +```csharp +ExternalActivityData.CreateExternalActivityDataAppointmentExternal(/* values here */); +``` + +### ExternalActivityDataExhibitorExternal + +```csharp +ExternalActivityData.CreateExternalActivityDataExhibitorExternal(/* values here */); +``` diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataAppointmentExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataAppointmentExternal.md new file mode 100644 index 000000000..cf059eee3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExternalActivityDataAppointmentExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataAppointmentExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataEventExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataEventExternal.md new file mode 100644 index 000000000..0702161ae --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExternalActivityDataEventExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataEventExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataExhibitorExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataExhibitorExternal.md new file mode 100644 index 000000000..430fbe8dd --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExternalActivityDataExhibitorExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataExhibitorExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataJson.md b/packages/csharp/docs/Models/Components/ExternalActivityDataJson.md deleted file mode 100644 index e7e0a0f59..000000000 --- a/packages/csharp/docs/Models/Components/ExternalActivityDataJson.md +++ /dev/null @@ -1,30 +0,0 @@ -# ExternalActivityDataJson - -This is used to denote the type of the external attendee activity. - - -## Supported Types - -### ExternalActivityDataJsonEventExternal - -```csharp -ExternalActivityDataJson.CreateExternalActivityDataJsonEventExternal(/* values here */); -``` - -### ExternalActivityDataJsonSessionExternal - -```csharp -ExternalActivityDataJson.CreateExternalActivityDataJsonSessionExternal(/* values here */); -``` - -### ExternalActivityDataJsonAppointmentExternal - -```csharp -ExternalActivityDataJson.CreateExternalActivityDataJsonAppointmentExternal(/* values here */); -``` - -### ExternalActivityDataJsonExhibitorExternal - -```csharp -ExternalActivityDataJson.CreateExternalActivityDataJsonExhibitorExternal(/* values here */); -``` diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonAppointmentExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataJsonAppointmentExternal.md deleted file mode 100644 index a67373900..000000000 --- a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonAppointmentExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonAppointmentExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonEventExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataJsonEventExternal.md deleted file mode 100644 index 05507c5a2..000000000 --- a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonEventExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonEventExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonExhibitorExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataJsonExhibitorExternal.md deleted file mode 100644 index 6b3dd2806..000000000 --- a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonExhibitorExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonExhibitorExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonSessionExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataJsonSessionExternal.md deleted file mode 100644 index 52be0cb6f..000000000 --- a/packages/csharp/docs/Models/Components/ExternalActivityDataJsonSessionExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonSessionExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityDataSessionExternal.md b/packages/csharp/docs/Models/Components/ExternalActivityDataSessionExternal.md new file mode 100644 index 000000000..0f50d3313 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExternalActivityDataSessionExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataSessionExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `ExternalActivityDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `AdditionalFields` | Dictionary | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityInput.md b/packages/csharp/docs/Models/Components/ExternalActivityInput.md index 472ee0bdf..6ac2725f9 100644 --- a/packages/csharp/docs/Models/Components/ExternalActivityInput.md +++ b/packages/csharp/docs/Models/Components/ExternalActivityInput.md @@ -5,10 +5,10 @@ An external attendee activity. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `Attendee` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `Event` | [EventActivityDetailsJsonInput](../../Models/Components/EventActivityDetailsJsonInput.md) | :heavy_check_mark: | Details for an event activity. | | -| `Name` | *string* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | -| `Type` | [ExternalActivityTypeJson](../../Models/Components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `Data` | [ExternalActivityDataJson](../../Models/Components/ExternalActivityDataJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `Attendee` | [Uuid](../../Models/Components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `Event` | [EventActivityDetailInput](../../Models/Components/EventActivityDetailInput.md) | :heavy_check_mark: | Details for an event activity. | | +| `Name` | *string* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | +| `Type` | [ExternalActivityType](../../Models/Components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `Data` | [ExternalActivityData](../../Models/Components/ExternalActivityData.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityMetadata.md b/packages/csharp/docs/Models/Components/ExternalActivityMetadata.md index 63917470f..de8772d5b 100644 --- a/packages/csharp/docs/Models/Components/ExternalActivityMetadata.md +++ b/packages/csharp/docs/Models/Components/ExternalActivityMetadata.md @@ -5,14 +5,14 @@ Metadata for an activity. ## 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 identifier of external attendee activity metadata. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `Type` | [ExternalActivityTypeJson](../../Models/Components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `Name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | -| `Description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | -| `Fields` | List<[ExternalActivitiesAdditionalFieldsMetadataJson](../../Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ 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 identifier of external attendee activity metadata. | 9463c74e-18c6-401a-a710-ae0f485bf059 | +| `Type` | [ExternalActivityType](../../Models/Components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `Name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | +| `Description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | +| `Fields` | List<[ExternalActivityAdditionalFieldsMetadata](../../Models/Components/ExternalActivityAdditionalFieldsMetadata.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityMetadataInput.md b/packages/csharp/docs/Models/Components/ExternalActivityMetadataInput.md index 1a4092d30..87110c49d 100644 --- a/packages/csharp/docs/Models/Components/ExternalActivityMetadataInput.md +++ b/packages/csharp/docs/Models/Components/ExternalActivityMetadataInput.md @@ -5,9 +5,9 @@ Metadata for an activity. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `Type` | [ExternalActivityTypeJson](../../Models/Components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `Name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | -| `Description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | -| `Fields` | List<[ExternalActivitiesAdditionalFieldsMetadataJson](../../Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `Type` | [ExternalActivityType](../../Models/Components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `Name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | +| `Description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | +| `Fields` | List<[ExternalActivityAdditionalFieldsMetadata](../../Models/Components/ExternalActivityAdditionalFieldsMetadata.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityMetadataPaginatedResponse.md b/packages/csharp/docs/Models/Components/ExternalActivityMetadataPaginatedResponse.md index 1a19804fb..ddd87820d 100644 --- a/packages/csharp/docs/Models/Components/ExternalActivityMetadataPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ExternalActivityMetadataPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of activities metadata in an account | 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<[ExternalActivityMetadata](../../Models/Components/ExternalActivityMetadata.md)> | :heavy_check_mark: | Collection of external attendee activities metadata in an account. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityType.md b/packages/csharp/docs/Models/Components/ExternalActivityType.md new file mode 100644 index 000000000..ae26bdb74 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExternalActivityType.md @@ -0,0 +1,21 @@ +# ExternalActivityType + +This is used to denote the type of the external attendee activity. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ExternalActivityType.EventExternal; +``` + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `EventExternal` | event.external | +| `SessionExternal` | session.external | +| `AppointmentExternal` | appointment.external | +| `ExhibitorExternal` | exhibitor.external | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExternalActivityTypeJson.md b/packages/csharp/docs/Models/Components/ExternalActivityTypeJson.md deleted file mode 100644 index 57b8bb17f..000000000 --- a/packages/csharp/docs/Models/Components/ExternalActivityTypeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ExternalActivityTypeJson - -This is used to denote the type of the external attendee activity. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ExternalActivityTypeJson.EventExternal; -``` - - -## Values - -| Name | Value | -| --------------------- | --------------------- | -| `EventExternal` | event.external | -| `SessionExternal` | session.external | -| `AppointmentExternal` | appointment.external | -| `ExhibitorExternal` | exhibitor.external | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/HousingEventSummaryList.md b/packages/csharp/docs/Models/Components/HousingEventSummaryList.md index 9a64dd1dd..24eac78bf 100644 --- a/packages/csharp/docs/Models/Components/HousingEventSummaryList.md +++ b/packages/csharp/docs/Models/Components/HousingEventSummaryList.md @@ -8,4 +8,4 @@ List of housing events with key information, providing a summarized view of each | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[ZeroAllOf8](../../Models/Components/ZeroAllOf8.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file +| `Data` | List<[ZeroAllOf6](../../Models/Components/ZeroAllOf6.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadInboundCreated.md b/packages/csharp/docs/Models/Components/LeadInboundCreated.md index 5159cab5e..b337dc52e 100644 --- a/packages/csharp/docs/Models/Components/LeadInboundCreated.md +++ b/packages/csharp/docs/Models/Components/LeadInboundCreated.md @@ -5,7 +5,7 @@ A lead inbound-created activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Exhibitor` | [ActivityExhibitorJson](../../Models/Components/ActivityExhibitorJson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `Lead` | [LeadObjectJson](../../Models/Components/LeadObjectJson.md) | :heavy_minus_sign: | A Lead | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `Exhibitor` | [ActivityExhibitor](../../Models/Components/ActivityExhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `Lead` | [LeadObject](../../Models/Components/LeadObject.md) | :heavy_minus_sign: | A Lead | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadObject.md b/packages/csharp/docs/Models/Components/LeadObject.md new file mode 100644 index 000000000..8df74c09a --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadObject.md @@ -0,0 +1,13 @@ +# LeadObject + +A Lead + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| ~~`DeviceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique identifier of the device. | ID1 | +| ~~`DeviceName`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Name of the device. | Device 1 | +| ~~`BoothStaff`~~ | [LeadObjectActivityBoothStaff](../../Models/Components/LeadObjectActivityBoothStaff.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Booth staff for the lead. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadObjectActivityBoothStaff.md b/packages/csharp/docs/Models/Components/LeadObjectActivityBoothStaff.md new file mode 100644 index 000000000..8b239311f --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadObjectActivityBoothStaff.md @@ -0,0 +1,15 @@ +# ~~LeadObjectActivityBoothStaff~~ + +Booth staff for the lead. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor booth staff. | | +| `FirstName` | *string* | :heavy_minus_sign: | The first name of the booth staff that captured the lead. | John | +| `LastName` | *string* | :heavy_minus_sign: | The last name of the booth staff that captured the lead. | Doe | +| `Email` | *string* | :heavy_minus_sign: | The email address of the booth staff that captured the lead. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadObjectJson.md b/packages/csharp/docs/Models/Components/LeadObjectJson.md deleted file mode 100644 index 7585072c5..000000000 --- a/packages/csharp/docs/Models/Components/LeadObjectJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# LeadObjectJson - -A Lead - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| ~~`DeviceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique identifier of the device. | ID1 | -| ~~`DeviceName`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Name of the device. | Device 1 | -| ~~`BoothStaff`~~ | [ActivityBoothStaff](../../Models/Components/ActivityBoothStaff.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Booth staff for the lead. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadQualified.md b/packages/csharp/docs/Models/Components/LeadQualified.md index 2f81e0237..7fa121b1c 100644 --- a/packages/csharp/docs/Models/Components/LeadQualified.md +++ b/packages/csharp/docs/Models/Components/LeadQualified.md @@ -5,8 +5,8 @@ A qualified lead. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `Exhibitor` | [ActivityExhibitorJson](../../Models/Components/ActivityExhibitorJson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `Lead` | [ActivityLeadJson](../../Models/Components/ActivityLeadJson.md) | :heavy_minus_sign: | An activity lead. | -| `Responses` | List<[LeadQualifiedQuestionResponseJson](../../Models/Components/LeadQualifiedQuestionResponseJson.md)> | :heavy_minus_sign: | The list of responses provided by the attendee. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `Exhibitor` | [ActivityExhibitor](../../Models/Components/ActivityExhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `Lead` | [ActivityLead](../../Models/Components/ActivityLead.md) | :heavy_minus_sign: | An activity lead. | +| `Responses` | List<[LeadQualifiedQuestionResponse](../../Models/Components/LeadQualifiedQuestionResponse.md)> | :heavy_minus_sign: | The list of responses provided by the attendee. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadQualifiedAnswer.md b/packages/csharp/docs/Models/Components/LeadQualifiedAnswer.md new file mode 100644 index 000000000..e430fce34 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadQualifiedAnswer.md @@ -0,0 +1,12 @@ +# LeadQualifiedAnswer + +A question answer. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `Type` | *string* | :heavy_minus_sign: | Data type of an answer. | simple | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadQualifiedAnswerJson.md b/packages/csharp/docs/Models/Components/LeadQualifiedAnswerJson.md deleted file mode 100644 index 316ae09c8..000000000 --- a/packages/csharp/docs/Models/Components/LeadQualifiedAnswerJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# LeadQualifiedAnswerJson - -A question answer. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `Type` | *string* | :heavy_minus_sign: | Data type of an answer. | simple | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponse.md b/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponse.md new file mode 100644 index 000000000..cc52cb063 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponse.md @@ -0,0 +1,11 @@ +# LeadQualifiedQuestionResponse + +A Question response. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `Question` | [Question2](../../Models/Components/Question2.md) | :heavy_minus_sign: | The question that was answered. | +| `Answers` | List<[LeadQualifiedAnswer](../../Models/Components/LeadQualifiedAnswer.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponseJson.md b/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponseJson.md deleted file mode 100644 index 6932e0a9d..000000000 --- a/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# LeadQualifiedQuestionResponseJson - -A Question response. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `Question` | [QuestionJson2](../../Models/Components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | -| `Answers` | List<[LeadQualifiedAnswerJson](../../Models/Components/LeadQualifiedAnswerJson.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadScanned.md b/packages/csharp/docs/Models/Components/LeadScanned.md index b40c2664c..3674eb8e5 100644 --- a/packages/csharp/docs/Models/Components/LeadScanned.md +++ b/packages/csharp/docs/Models/Components/LeadScanned.md @@ -5,7 +5,7 @@ A lead activity ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Exhibitor` | [ActivityExhibitorJson](../../Models/Components/ActivityExhibitorJson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `Lead` | [ActivityLeadJson](../../Models/Components/ActivityLeadJson.md) | :heavy_minus_sign: | An activity lead. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `Exhibitor` | [ActivityExhibitor](../../Models/Components/ActivityExhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `Lead` | [ActivityLead](../../Models/Components/ActivityLead.md) | :heavy_minus_sign: | An activity lead. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LocationJson.md b/packages/csharp/docs/Models/Components/LocationJson.md index ee636e007..a1fc0c67f 100644 --- a/packages/csharp/docs/Models/Components/LocationJson.md +++ b/packages/csharp/docs/Models/Components/LocationJson.md @@ -9,5 +9,5 @@ Details of a location. | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | `Id` | *string* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | | `Name` | *string* | :heavy_check_mark: | The name of the location. | Conference Room B | -| `ParentLocation` | [ZeroAllOf2](../../Models/Components/ZeroAllOf2.md) | :heavy_minus_sign: | Details of a location. | | +| `ParentLocation` | [ZeroAllOf1](../../Models/Components/ZeroAllOf1.md) | :heavy_minus_sign: | Details of a location. | | | `Capacity` | *long* | :heavy_minus_sign: | The number of attendees that can be accommodated in this location. -1 indicates unlimited capacity. | 5 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LocationType.md b/packages/csharp/docs/Models/Components/LocationType.md new file mode 100644 index 000000000..c84366c7e --- /dev/null +++ b/packages/csharp/docs/Models/Components/LocationType.md @@ -0,0 +1,23 @@ +# LocationType + +Location classification for the venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = LocationType.Airport; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `Airport` | AIRPORT | +| `Interstate` | INTERSTATE | +| `Resort` | RESORT | +| `SmallMetroTown` | SMALL_METRO_TOWN | +| `Suburban` | SUBURBAN | +| `Urban` | URBAN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequest.md b/packages/csharp/docs/Models/Components/MeetingRequest.md index dfbd0096e..f77ddc7d9 100644 --- a/packages/csharp/docs/Models/Components/MeetingRequest.md +++ b/packages/csharp/docs/Models/Components/MeetingRequest.md @@ -16,7 +16,7 @@ A meeting request. | `Status` | *string* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | | `StatusNote` | *string* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | | `MeetingRequestForm` | [MeetingRequestMeetingRequestForm](../../Models/Components/MeetingRequestMeetingRequestForm.md) | :heavy_check_mark: | The meeting request form the request is associated with. | | -| `Questions` | List<[MeetingRequestQuestionJson](../../Models/Components/MeetingRequestQuestionJson.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | +| `Questions` | List<[MeetingRequestQuestion](../../Models/Components/MeetingRequestQuestion.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | | `Event` | [MeetingRequestEvent](../../Models/Components/MeetingRequestEvent.md) | :heavy_minus_sign: | The event the request is associated with. | | | `SourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | | `Code` | *string* | :heavy_minus_sign: | The meeting request code for reference. | VPNH3JGMTND | diff --git a/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItem.md b/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItem.md new file mode 100644 index 000000000..7c103d4fb --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItem.md @@ -0,0 +1,13 @@ +# MeetingRequestBulkResponseItem + +Represents a single meeting request that's returned as part of a bulk request call. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `Data` | [Models.Components.MeetingRequest](../../Models/Components/MeetingRequest.md) | :heavy_check_mark: | A meeting request. | | +| `Status` | *long* | :heavy_check_mark: | HTTP status code representing the processing status of a single item. | 200 | +| `Message` | *string* | :heavy_minus_sign: | Quick description of what happened during processing. | Successful | +| `Request` | [Request](../../Models/Components/Request.md) | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | Example request information. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemJson.md b/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemJson.md deleted file mode 100644 index 8337dd2a4..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# MeetingRequestBulkResponseItemJson - -Represents a single meeting request that's returned as part of a bulk request call. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `Data` | [Models.Components.MeetingRequest](../../Models/Components/MeetingRequest.md) | :heavy_check_mark: | A meeting request. | | -| `Status` | *long* | :heavy_check_mark: | HTTP status code representing the processing status of a single item. | 200 | -| `Message` | *string* | :heavy_minus_sign: | Quick description of what happened during processing. | Successful | -| `Request` | [Request](../../Models/Components/Request.md) | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | Example request information. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemJsonRequest.md b/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemJsonRequest.md deleted file mode 100644 index c040bcfd7..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemJsonRequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# MeetingRequestBulkResponseItemJsonRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemRequest.md b/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemRequest.md new file mode 100644 index 000000000..1683e0d7c --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestBulkResponseItemRequest.md @@ -0,0 +1,7 @@ +# MeetingRequestBulkResponseItemRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestCreate.md b/packages/csharp/docs/Models/Components/MeetingRequestCreate.md new file mode 100644 index 000000000..ec153ba5d --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestCreate.md @@ -0,0 +1,12 @@ +# MeetingRequestCreate + +A meeting request to create. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Name` | *string* | :heavy_check_mark: | The name of the specific meeting request. | ####test | +| `SourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | +| `Questions` | List<[MeetingRequestQuestionInput](../../Models/Components/MeetingRequestQuestionInput.md)> | :heavy_check_mark: | Questions for the meeting request. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestCreateJson.md b/packages/csharp/docs/Models/Components/MeetingRequestCreateJson.md deleted file mode 100644 index 70e1a3e3a..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestCreateJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# MeetingRequestCreateJson - -A meeting request to create. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Name` | *string* | :heavy_check_mark: | The name of the specific meeting request. | ####test | -| `SourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | -| `Questions` | List<[RequestedMeetingRequestQuestionJson](../../Models/Components/RequestedMeetingRequestQuestionJson.md)> | :heavy_check_mark: | Questions for the meeting request. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestCustomFieldJson.md b/packages/csharp/docs/Models/Components/MeetingRequestCustomFieldJson.md deleted file mode 100644 index e470dce9f..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestCustomFieldJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# MeetingRequestCustomFieldJson - -Custom field for a meeting request. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `Type` | [MeetingRequestCustomFieldJsonCustomFieldType](../../Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | -| `Field` | *bool* | :heavy_minus_sign: | The actual text of the custom field. | | -| `Hidden` | *bool* | :heavy_minus_sign: | True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. | false | -| `Required` | *bool* | :heavy_minus_sign: | True indicates the given question must be answered. | true | -| `MinLength` | *double* | :heavy_minus_sign: | The minimum length of a text field. | 0 | -| `MaxLength` | *double* | :heavy_minus_sign: | The maximum length of a text field. | 100 | -| `MinChoice` | *double* | :heavy_minus_sign: | The minimum number of choices required for a multi-choice field. | 0 | -| `MaxChoice` | *double* | :heavy_minus_sign: | The maximum number of choices allowed for a multi-choice field. | 10 | -| `MinDate` | *string* | :heavy_minus_sign: | The ISO 8601 minimum date value for a date field. | 1970-12-23 | -| `MaxDate` | *string* | :heavy_minus_sign: | The ISO 8601 maximum date value for a date field. | 2100-12-31 | -| `AnswerTypes` | List<[AnswerTypeJson](../../Models/Components/AnswerTypeJson.md)> | :heavy_minus_sign: | List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.md b/packages/csharp/docs/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.md deleted file mode 100644 index 5baa32651..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.md +++ /dev/null @@ -1,36 +0,0 @@ -# MeetingRequestCustomFieldJsonCustomFieldType - -The type of data collected by a custom field. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = MeetingRequestCustomFieldJsonCustomFieldType.AutoIncrement; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `AutoIncrement` | AutoIncrement | -| `ConsentQuestion` | ConsentQuestion | -| `Currency` | Currency | -| `Decimal` | Decimal | -| `Date` | Date | -| `DateTime` | DateTime | -| `Email` | Email | -| `FileUpload` | FileUpload | -| `FreeText` | FreeText | -| `General` | General | -| `MultiChoice` | MultiChoice | -| `MultiSelect` | MultiSelect | -| `Number` | Number | -| `OpenEndedDateTime` | OpenEndedDateTime | -| `OpenEndedText` | OpenEndedText | -| `SingleChoice` | SingleChoice | -| `SingleSelect` | SingleSelect | -| `USPhoneNumber` | USPhoneNumber | -| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestDocument.md b/packages/csharp/docs/Models/Components/MeetingRequestDocument.md new file mode 100644 index 000000000..59b0defbf --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestDocument.md @@ -0,0 +1,19 @@ +# MeetingRequestDocument + +Document attached to a meeting request that can be downloaded. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique identifier of the document. | | +| `Name` | *string* | :heavy_minus_sign: | Name of the document. | Agenda | +| `Size` | *long* | :heavy_minus_sign: | Size of the document in bytes | 204800 | +| `Uploaded` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO-8601 formatted date and time when the document was uploaded. | 2024-06-15T13:45:30Z | +| `UploadedBy` | *string* | :heavy_minus_sign: | The user who uploaded the document. | John Doe | +| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO-8601 formatted date and time when this document was last updated. | 2024-10-12T03:00:00Z | +| `LastModifiedBy` | *string* | :heavy_minus_sign: | The user who last updated the document. | John Doe | +| `MimeType` | *string* | :heavy_minus_sign: | The MIME type of the document | application/pdf | +| `ReferenceLink` | [MeetingRequestDocumentReferenceLink](../../Models/Components/MeetingRequestDocumentReferenceLink.md) | :heavy_minus_sign: | A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. | | +| `MeetingRequest` | [MeetingRequestDocumentMeetingRequest](../../Models/Components/MeetingRequestDocumentMeetingRequest.md) | :heavy_minus_sign: | The meeting request this document is attached to. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestDocumentJson.md b/packages/csharp/docs/Models/Components/MeetingRequestDocumentJson.md deleted file mode 100644 index 2a27229dc..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestDocumentJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# MeetingRequestDocumentJson - -Document attached to a meeting request that can be downloaded. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | Unique identifier of the document. | | -| `Name` | *string* | :heavy_minus_sign: | Name of the document. | Agenda | -| `Size` | *long* | :heavy_minus_sign: | Size of the document in bytes | 204800 | -| `Uploaded` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO-8601 formatted date and time when the document was uploaded. | 2024-06-15T13:45:30Z | -| `UploadedBy` | *string* | :heavy_minus_sign: | The user who uploaded the document. | John Doe | -| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO-8601 formatted date and time when this document was last updated. | 2024-10-12T03:00:00Z | -| `LastModifiedBy` | *string* | :heavy_minus_sign: | The user who last updated the document. | John Doe | -| `MimeType` | *string* | :heavy_minus_sign: | The MIME type of the document | application/pdf | -| `ReferenceLink` | [MeetingRequestDocumentReferenceLinkJson](../../Models/Components/MeetingRequestDocumentReferenceLinkJson.md) | :heavy_minus_sign: | A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. | | -| `MeetingRequest` | [MeetingRequestDocumentJsonMeetingRequest](../../Models/Components/MeetingRequestDocumentJsonMeetingRequest.md) | :heavy_minus_sign: | The meeting request this document is attached to. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestDocumentJsonMeetingRequest.md b/packages/csharp/docs/Models/Components/MeetingRequestDocumentJsonMeetingRequest.md deleted file mode 100644 index 237b3c03a..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestDocumentJsonMeetingRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# MeetingRequestDocumentJsonMeetingRequest - -The meeting request this document is attached to. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `Id` | *string* | :heavy_minus_sign: | Meeting Request ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestDocumentMeetingRequest.md b/packages/csharp/docs/Models/Components/MeetingRequestDocumentMeetingRequest.md new file mode 100644 index 000000000..a380b8f7a --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestDocumentMeetingRequest.md @@ -0,0 +1,10 @@ +# MeetingRequestDocumentMeetingRequest + +The meeting request this document is attached to. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `Id` | *string* | :heavy_minus_sign: | Meeting Request ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestDocumentPaginatedResponse.md b/packages/csharp/docs/Models/Components/MeetingRequestDocumentPaginatedResponse.md index 9833daf59..8ca7b339a 100644 --- a/packages/csharp/docs/Models/Components/MeetingRequestDocumentPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/MeetingRequestDocumentPaginatedResponse.md @@ -5,7 +5,7 @@ Paginated collection of meeting request documents. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[MeetingRequestDocumentJson](../../Models/Components/MeetingRequestDocumentJson.md)> | :heavy_check_mark: | Collection of meeting request object documents. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[MeetingRequestDocument](../../Models/Components/MeetingRequestDocument.md)> | :heavy_check_mark: | Collection of meeting request object documents. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestDocumentReferenceLink.md b/packages/csharp/docs/Models/Components/MeetingRequestDocumentReferenceLink.md new file mode 100644 index 000000000..31a234b4e --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestDocumentReferenceLink.md @@ -0,0 +1,11 @@ +# MeetingRequestDocumentReferenceLink + +A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Url` | *string* | :heavy_minus_sign: | The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. | https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf | +| `Expiration` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. | 2025-12-31T23:59:59Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestDocumentReferenceLinkJson.md b/packages/csharp/docs/Models/Components/MeetingRequestDocumentReferenceLinkJson.md deleted file mode 100644 index 95197e79f..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestDocumentReferenceLinkJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# MeetingRequestDocumentReferenceLinkJson - -A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Url` | *string* | :heavy_minus_sign: | The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. | https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf | -| `Expiration` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. | 2025-12-31T23:59:59Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestForm.md b/packages/csharp/docs/Models/Components/MeetingRequestForm.md index efbf232d2..9fe78774b 100644 --- a/packages/csharp/docs/Models/Components/MeetingRequestForm.md +++ b/packages/csharp/docs/Models/Components/MeetingRequestForm.md @@ -11,4 +11,4 @@ A meeting request form. | `Name` | *string* | :heavy_check_mark: | User-defined name of the meeting request form. | Request for Medical Meetups | | `Statuses` | List<*string*> | :heavy_minus_sign: | User-defined list of statuses for the meeting request form. | | | `Active` | *bool* | :heavy_minus_sign: | A boolean indicating a meeting request form's active status. When true, the meeting request form is available for new request submissions. When false, only updates can be made to existing requests for this form | true | -| `Questions` | List<[MeetingRequestCustomFieldJson](../../Models/Components/MeetingRequestCustomFieldJson.md)> | :heavy_minus_sign: | The list of questions that will need to be answered by someone creating a meeting request from this form. | | \ No newline at end of file +| `Questions` | List<[CustomFieldSchema2](../../Models/Components/CustomFieldSchema2.md)> | :heavy_minus_sign: | The list of questions that will need to be answered by someone creating a meeting request from this form. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestFormPaginatedResponse.md b/packages/csharp/docs/Models/Components/MeetingRequestFormPaginatedResponse.md index a4c663747..225e72589 100644 --- a/packages/csharp/docs/Models/Components/MeetingRequestFormPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/MeetingRequestFormPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of meeting request forms. This inclu | 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<[MeetingRequestForm](../../Models/Components/MeetingRequestForm.md)> | :heavy_check_mark: | Collection of meeting request form objects. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestPaginatedResponse.md b/packages/csharp/docs/Models/Components/MeetingRequestPaginatedResponse.md index 66fd19e52..2ad059b2b 100644 --- a/packages/csharp/docs/Models/Components/MeetingRequestPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/MeetingRequestPaginatedResponse.md @@ -7,5 +7,5 @@ Paginated collection of meeting requests. | 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<[Models.Components.MeetingRequest](../../Models/Components/MeetingRequest.md)> | :heavy_check_mark: | Collection of meeting request objects. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestQuestion.md b/packages/csharp/docs/Models/Components/MeetingRequestQuestion.md new file mode 100644 index 000000000..ba27e70fb --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestQuestion.md @@ -0,0 +1,16 @@ +# MeetingRequestQuestion + +A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `Name` | *string* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | +| `Type` | [QuestionType1](../../Models/Components/QuestionType1.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | +| `Value` | List<*string*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

In all other cases, `answerType` is not expected to be set. | Other | +| `SecondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | +| `CompositeValue` | [CompositeValue](../../Models/Components/CompositeValue.md) | :heavy_minus_sign: | The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.

The structure of the array depends on the question `type`. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestQuestionInput.md b/packages/csharp/docs/Models/Components/MeetingRequestQuestionInput.md new file mode 100644 index 000000000..32306b44b --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestQuestionInput.md @@ -0,0 +1,13 @@ +# MeetingRequestQuestionInput + +A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `Value` | List<*string*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

In all other cases, `answerType` is not expected to be set. | Other | +| `SecondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestQuestionJson.md b/packages/csharp/docs/Models/Components/MeetingRequestQuestionJson.md deleted file mode 100644 index de68c8647..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestQuestionJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# MeetingRequestQuestionJson - -A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `Name` | *string* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | -| `Type` | [QuestionTypeJson](../../Models/Components/QuestionTypeJson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | -| `Value` | List<*string*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

In all other cases, `answerType` is not expected to be set. | Other | -| `SecondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | -| `CompositeValue` | [CompositeValueJson](../../Models/Components/CompositeValueJson.md) | :heavy_minus_sign: | The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.

The structure of the array depends on the question `type`. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestUpdate.md b/packages/csharp/docs/Models/Components/MeetingRequestUpdate.md new file mode 100644 index 000000000..6dc28e140 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRequestUpdate.md @@ -0,0 +1,15 @@ +# MeetingRequestUpdate + +An updated meeting request. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The ID of a meeting request. | 017f1149-0f3a-4531-b1aa-6f66a6cb04f3 | +| `Name` | *string* | :heavy_minus_sign: | The name of the specific meeting request. | Limited MR | +| `Questions` | List<[MeetingRequestQuestionInput](../../Models/Components/MeetingRequestQuestionInput.md)> | :heavy_minus_sign: | Questions for the meeting request. | | +| `Status` | *string* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | +| `SourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | +| `StatusNote` | *string* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestUpdateJson.md b/packages/csharp/docs/Models/Components/MeetingRequestUpdateJson.md deleted file mode 100644 index fa71b5b93..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRequestUpdateJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# MeetingRequestUpdateJson - -An updated meeting request. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The ID of a meeting request. | 017f1149-0f3a-4531-b1aa-6f66a6cb04f3 | -| `Name` | *string* | :heavy_minus_sign: | The name of the specific meeting request. | Limited MR | -| `Questions` | List<[RequestedMeetingRequestQuestionJson](../../Models/Components/RequestedMeetingRequestQuestionJson.md)> | :heavy_minus_sign: | Questions for the meeting request. | | -| `Status` | *string* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | -| `SourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | -| `StatusNote` | *string* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoom.md b/packages/csharp/docs/Models/Components/MeetingRoom.md new file mode 100644 index 000000000..8ebf0e317 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoom.md @@ -0,0 +1,18 @@ +# MeetingRoom + +A venue meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `Name` | *string* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `Description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `Dimensions` | [MeetingRoomDimensions](../../Models/Components/MeetingRoomDimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `DisplayOrder` | *long* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `ExternalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `Rates` | [MeetingRoomRates](../../Models/Components/MeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `Capacities` | [MeetingRoomCapacities](../../Models/Components/MeetingRoomCapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `Amenities` | List<[MeetingRoomAmenity](../../Models/Components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `HiddenOnProfile` | *bool* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomAgendaItemType.md b/packages/csharp/docs/Models/Components/MeetingRoomAgendaItemType.md new file mode 100644 index 000000000..64447d465 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomAgendaItemType.md @@ -0,0 +1,36 @@ +# MeetingRoomAgendaItemType + +Defines the agenda item types of a meeting room requirement. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = MeetingRoomAgendaItemType.Break; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `Break` | Break | +| `Breakfast` | Breakfast | +| `Breakout` | Breakout | +| `Dinner` | Dinner | +| `Exhibit` | Exhibit | +| `GeneralSession` | General Session | +| `HospitalityDesk` | Hospitality Desk | +| `HospitalitySuite` | Hospitality Suite | +| `Lunch` | Lunch | +| `Meeting` | Meeting | +| `Office` | Office | +| `Other` | Other | +| `Reception` | Reception | +| `Registration` | Registration | +| `Setup` | Setup | +| `Snack` | Snack | +| `SpeakerRoom` | Speaker Room | +| `StorageRoom` | Storage Room | +| `Teardown` | Teardown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomAgendaItemTypeJson.md b/packages/csharp/docs/Models/Components/MeetingRoomAgendaItemTypeJson.md deleted file mode 100644 index e1418ae66..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRoomAgendaItemTypeJson.md +++ /dev/null @@ -1,36 +0,0 @@ -# MeetingRoomAgendaItemTypeJson - -Defines the agenda item types of a meeting room requirement. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = MeetingRoomAgendaItemTypeJson.Break; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `Break` | Break | -| `Breakfast` | Breakfast | -| `Breakout` | Breakout | -| `Dinner` | Dinner | -| `Exhibit` | Exhibit | -| `GeneralSession` | General Session | -| `HospitalityDesk` | Hospitality Desk | -| `HospitalitySuite` | Hospitality Suite | -| `Lunch` | Lunch | -| `Meeting` | Meeting | -| `Office` | Office | -| `Other` | Other | -| `Reception` | Reception | -| `Registration` | Registration | -| `Setup` | Setup | -| `Snack` | Snack | -| `SpeakerRoom` | Speaker Room | -| `StorageRoom` | Storage Room | -| `Teardown` | Teardown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomAmenity.md b/packages/csharp/docs/Models/Components/MeetingRoomAmenity.md new file mode 100644 index 000000000..8bd918e76 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomAmenity.md @@ -0,0 +1,44 @@ +# MeetingRoomAmenity + +Available amenities for a meeting room. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = MeetingRoomAmenity.AudioRecording; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `AudioRecording` | AUDIO_RECORDING | +| `BackgroundMusic` | BACKGROUND_MUSIC | +| `Blackboard` | BLACKBOARD | +| `BuiltInScreen` | BUILT_IN_SCREEN | +| `ClosedCircuitVideo` | CLOSED_CIRCUIT_VIDEO | +| `DryEraseBoard` | DRY_ERASE_BOARD | +| `DvdPlayer` | DVD_PLAYER | +| `Easel` | EASEL | +| `ElectricPointer` | ELECTRIC_POINTER | +| `FlipchartMarkers` | FLIPCHART_MARKERS | +| `Internet` | INTERNET | +| `Lectern` | LECTERN | +| `Microphone` | MICROPHONE | +| `MonitorCart` | MONITOR_CART | +| `OutdoorSpace` | OUTDOOR_SPACE | +| `PersonalComputer` | PERSONAL_COMPUTER | +| `PoweredSpeaker` | POWERED_SPEAKER | +| `PrivateSpace` | PRIVATE_SPACE | +| `ProjectionStand` | PROJECTION_STAND | +| `Projector` | PROJECTOR | +| `SemiPrivateSpace` | SEMI_PRIVATE_SPACE | +| `Television` | TELEVISION | +| `VhsPlayer` | VHS_PLAYER | +| `VideoCamera` | VIDEO_CAMERA | +| `VideoMonitor` | VIDEO_MONITOR | +| `VideoRecording` | VIDEO_RECORDING | +| `WheelchairAccessible` | WHEELCHAIR_ACCESSIBLE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomCapacities.md b/packages/csharp/docs/Models/Components/MeetingRoomCapacities.md new file mode 100644 index 000000000..9143f632d --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomCapacities.md @@ -0,0 +1,11 @@ +# MeetingRoomCapacities + +Capacity information for a meeting room, grouped by category. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `Exhibits` | List<[MeetingRoomExhibitCapacity](../../Models/Components/MeetingRoomExhibitCapacity.md)> | :heavy_minus_sign: | Maximum number of exhibits per room setup. | +| `Seating` | List<[MeetingRoomSeatingCapacity](../../Models/Components/MeetingRoomSeatingCapacity.md)> | :heavy_minus_sign: | Maximum number of attendees per seating style. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomDimensions.md b/packages/csharp/docs/Models/Components/MeetingRoomDimensions.md new file mode 100644 index 000000000..e2ed137db --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomDimensions.md @@ -0,0 +1,13 @@ +# MeetingRoomDimensions + +Physical dimensions for the meeting room. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `TotalSpace` | [AreaMeasurement](../../Models/Components/AreaMeasurement.md) | :heavy_check_mark: | Measurement of area in square feet or square meters. | +| `CeilingHeight` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `Length` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `Width` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomExhibitCapacity.md b/packages/csharp/docs/Models/Components/MeetingRoomExhibitCapacity.md new file mode 100644 index 000000000..c524b300e --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomExhibitCapacity.md @@ -0,0 +1,11 @@ +# MeetingRoomExhibitCapacity + +Maximum number of exhibits for a specific exhibit layout type in a meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `LayoutType` | [ExhibitLayoutType](../../Models/Components/ExhibitLayoutType.md) | :heavy_check_mark: | The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. | BOOTH_10x10 | +| `MaxExhibits` | *long* | :heavy_check_mark: | Maximum number of exhibits for this layout type. | 50 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomOverview.md b/packages/csharp/docs/Models/Components/MeetingRoomOverview.md new file mode 100644 index 000000000..cb2d21972 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomOverview.md @@ -0,0 +1,13 @@ +# MeetingRoomOverview + +An overview of a venue meeting room containing key identifiers and display properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The ID of the meeting room. | b2c3d4e5-f6a7-8901-bcde-f12345678901 | +| `Name` | *string* | :heavy_check_mark: | The display name of the meeting room. | Grand Ballroom | +| `HiddenOnProfile` | *bool* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | +| `DisplayOrder` | *long* | :heavy_minus_sign: | Position of this meeting room in the venue's room listing, with 1 being the first position. | 1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomRate.md b/packages/csharp/docs/Models/Components/MeetingRoomRate.md new file mode 100644 index 000000000..4473809ff --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomRate.md @@ -0,0 +1,11 @@ +# MeetingRoomRate + +Meeting room rate with a value and application type. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Value` | *double* | :heavy_check_mark: | The monetary value of the rate. | 500 | +| `ApplicationType` | [RateApplicationType](../../Models/Components/RateApplicationType.md) | :heavy_check_mark: | How the rate is applied to the meeting room booking.

Values:
- `COMPLIMENTARY` — Complimentary
- `INCLUDED` — Included
- `ONETIME_FEE` — One-Time Fee
- `PER_DAY` — Per Day
- `PER_HOUR` — Per Hour
- `PER_SQ_FT` — Per Square Foot
- `PER_SQ_MTR` — Per Square Meter
- `TOTAL` — Total | PER_DAY | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomRates.md b/packages/csharp/docs/Models/Components/MeetingRoomRates.md new file mode 100644 index 000000000..0b3cedd17 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomRates.md @@ -0,0 +1,12 @@ +# MeetingRoomRates + +Rate information for move in/out and events. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `MoveIn` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `MoveOut` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `Event` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomRequirement.md b/packages/csharp/docs/Models/Components/MeetingRoomRequirement.md new file mode 100644 index 000000000..51c649581 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomRequirement.md @@ -0,0 +1,19 @@ +# MeetingRoomRequirement + +The requirement of a meeting room on the specified date. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Date` | *string* | :heavy_check_mark: | The date for the meeting room, in format of YYYY-MM-DD. | 2099-12-11 | +| `StartTime` | *string* | :heavy_minus_sign: | The start time for the meeting room, in format of HH:MM:SS. | 09:30:00 | +| `EndTime` | *string* | :heavy_minus_sign: | The end time for the meeting room, in format of HH:MM:SS. | 14:45:00 | +| `AgendaItem` | *string* | :heavy_minus_sign: | The agenda item for the meeting room. | Meeting Room Agenda point 1. | +| `AgendaItemType` | List<[MeetingRoomAgendaItemType](../../Models/Components/MeetingRoomAgendaItemType.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. | | +| `SetupType` | List<[MeetingRoomSetupType](../../Models/Components/MeetingRoomSetupType.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. | | +| `RoomSize` | *double* | :heavy_minus_sign: | The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. | 100 | +| `NumberOfPeople` | *long* | :heavy_minus_sign: | The number of people for the meeting room. | 250 | +| `TwentyFourHourHold` | *bool* | :heavy_minus_sign: | True indicates the meeting room is held for 24 hours. | false | +| `Note` | *string* | :heavy_minus_sign: | The meeting room requirement note. | Meeting room note. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomRequirementJson.md b/packages/csharp/docs/Models/Components/MeetingRoomRequirementJson.md deleted file mode 100644 index f55552a18..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRoomRequirementJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# MeetingRoomRequirementJson - -The requirement of a meeting room on the specified date. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Date` | *string* | :heavy_check_mark: | The date for the meeting room, in format of YYYY-MM-DD. | 2099-12-11 | -| `StartTime` | *string* | :heavy_minus_sign: | The start time for the meeting room, in format of HH:MM:SS. | 09:30:00 | -| `EndTime` | *string* | :heavy_minus_sign: | The end time for the meeting room, in format of HH:MM:SS. | 14:45:00 | -| `AgendaItem` | *string* | :heavy_minus_sign: | The agenda item for the meeting room. | Meeting Room Agenda point 1. | -| `AgendaItemType` | List<[MeetingRoomAgendaItemTypeJson](../../Models/Components/MeetingRoomAgendaItemTypeJson.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. | | -| `SetupType` | List<[MeetingRoomSetupTypeJson](../../Models/Components/MeetingRoomSetupTypeJson.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. | | -| `RoomSize` | *double* | :heavy_minus_sign: | The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. | 100 | -| `NumberOfPeople` | *long* | :heavy_minus_sign: | The number of people for the meeting room. | 250 | -| `TwentyFourHourHold` | *bool* | :heavy_minus_sign: | True indicates the meeting room is held for 24 hours. | false | -| `Note` | *string* | :heavy_minus_sign: | The meeting room requirement note. | Meeting room note. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomSeatingCapacity.md b/packages/csharp/docs/Models/Components/MeetingRoomSeatingCapacity.md new file mode 100644 index 000000000..1b6c71e28 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomSeatingCapacity.md @@ -0,0 +1,11 @@ +# MeetingRoomSeatingCapacity + +Maximum number of attendees for a specific seating style in a meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `LayoutType` | [SeatingLayoutType](../../Models/Components/SeatingLayoutType.md) | :heavy_check_mark: | The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. | THEATER | +| `MaxAttendees` | *long* | :heavy_check_mark: | Maximum number of attendees for this seating style. | 250 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomSetupType.md b/packages/csharp/docs/Models/Components/MeetingRoomSetupType.md new file mode 100644 index 000000000..9aa8dc0ea --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomSetupType.md @@ -0,0 +1,42 @@ +# MeetingRoomSetupType + +Defines the setup types of a meeting room requirement. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = MeetingRoomSetupType.Tenx10; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `Tenx10` | 10x10 | +| `Eightx10` | 8x10 | +| `Buffet` | Buffet | +| `Cabaret` | Cabaret | +| `Chevron` | Chevron | +| `Classroom` | Classroom | +| `Conference` | Conference | +| `CrescentRounds` | Crescent Rounds | +| `Flow` | Flow | +| `Herringbone` | Herringbone | +| `HollowSquare` | Hollow Square | +| `Island` | Island | +| `Other` | Other | +| `Peninsula` | Peninsula | +| `Plated` | Plated | +| `Reception` | Reception | +| `Rounds` | Rounds | +| `RoundsOf10` | Rounds of 10 | +| `RoundsOf6` | Rounds of 6 | +| `RoundsOf8` | Rounds of 8 | +| `SchoolRoom` | School Room | +| `Tabletop` | Tabletop | +| `Theater` | Theater | +| `TShaped` | T-Shaped | +| `UShaped` | U-Shaped | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomSetupTypeJson.md b/packages/csharp/docs/Models/Components/MeetingRoomSetupTypeJson.md deleted file mode 100644 index ecdb33c9d..000000000 --- a/packages/csharp/docs/Models/Components/MeetingRoomSetupTypeJson.md +++ /dev/null @@ -1,42 +0,0 @@ -# MeetingRoomSetupTypeJson - -Defines the setup types of a meeting room requirement. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = MeetingRoomSetupTypeJson.Tenx10; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `Tenx10` | 10x10 | -| `Eightx10` | 8x10 | -| `Buffet` | Buffet | -| `Cabaret` | Cabaret | -| `Chevron` | Chevron | -| `Classroom` | Classroom | -| `Conference` | Conference | -| `CrescentRounds` | Crescent Rounds | -| `Flow` | Flow | -| `Herringbone` | Herringbone | -| `HollowSquare` | Hollow Square | -| `Island` | Island | -| `Other` | Other | -| `Peninsula` | Peninsula | -| `Plated` | Plated | -| `Reception` | Reception | -| `Rounds` | Rounds | -| `RoundsOf10` | Rounds of 10 | -| `RoundsOf6` | Rounds of 6 | -| `RoundsOf8` | Rounds of 8 | -| `SchoolRoom` | School Room | -| `Tabletop` | Tabletop | -| `Theater` | Theater | -| `TShaped` | T-Shaped | -| `UShaped` | U-Shaped | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRoomsOverviewResponse.md b/packages/csharp/docs/Models/Components/MeetingRoomsOverviewResponse.md new file mode 100644 index 000000000..afd901919 --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeetingRoomsOverviewResponse.md @@ -0,0 +1,11 @@ +# MeetingRoomsOverviewResponse + +Paginated overview of meeting rooms for a venue. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[MeetingRoomOverview](../../Models/Components/MeetingRoomOverview.md)> | :heavy_check_mark: | Overview of meeting rooms. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PatchMeetingRoom.md b/packages/csharp/docs/Models/Components/PatchMeetingRoom.md new file mode 100644 index 000000000..a4b8d08f3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/PatchMeetingRoom.md @@ -0,0 +1,18 @@ +# PatchMeetingRoom + +Partial update payload for a venue meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `Name` | *string* | :heavy_minus_sign: | The name of the meeting room. | Grand Ballroom | +| `Description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `Dimensions` | [PatchMeetingRoomDimensions](../../Models/Components/PatchMeetingRoomDimensions.md) | :heavy_minus_sign: | Physical dimensions for the meeting room. | | +| `DisplayOrder` | *long* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `ExternalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-RM-12345 | +| `Rates` | [PatchMeetingRoomRates](../../Models/Components/PatchMeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `Capacities` | [Capacities](../../Models/Components/Capacities.md) | :heavy_minus_sign: | Capacity information for the meeting room, grouped by category. | | +| `Amenities` | List<[MeetingRoomAmenity](../../Models/Components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `HiddenOnProfile` | *bool* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PatchMeetingRoomDimensions.md b/packages/csharp/docs/Models/Components/PatchMeetingRoomDimensions.md new file mode 100644 index 000000000..46f7d33dd --- /dev/null +++ b/packages/csharp/docs/Models/Components/PatchMeetingRoomDimensions.md @@ -0,0 +1,13 @@ +# PatchMeetingRoomDimensions + +Physical dimensions for the meeting room. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `TotalSpace` | [AreaMeasurement](../../Models/Components/AreaMeasurement.md) | :heavy_minus_sign: | Measurement of area in square feet or square meters. | +| `CeilingHeight` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `Length` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `Width` | [Dimension](../../Models/Components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PatchMeetingRoomRates.md b/packages/csharp/docs/Models/Components/PatchMeetingRoomRates.md new file mode 100644 index 000000000..4a3a840a7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/PatchMeetingRoomRates.md @@ -0,0 +1,12 @@ +# PatchMeetingRoomRates + +Rate information for move in/out and events. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `MoveIn` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `MoveOut` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `Event` | [MeetingRoomRate](../../Models/Components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PollResponse.md b/packages/csharp/docs/Models/Components/PollResponse.md new file mode 100644 index 000000000..bc3a9f288 --- /dev/null +++ b/packages/csharp/docs/Models/Components/PollResponse.md @@ -0,0 +1,11 @@ +# PollResponse + +This is used to denote the poll details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `Name` | *string* | :heavy_minus_sign: | The name of the poll. | Do you like the session? | +| `Responses` | List<[BaseQuestionResponse](../../Models/Components/BaseQuestionResponse.md)> | :heavy_minus_sign: | The list of question and answers for a poll. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PollResponseJson.md b/packages/csharp/docs/Models/Components/PollResponseJson.md deleted file mode 100644 index 586519f76..000000000 --- a/packages/csharp/docs/Models/Components/PollResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# PollResponseJson - -This is used to denote the poll details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Name` | *string* | :heavy_minus_sign: | The name of the poll. | Do you like the session? | -| `Responses` | List<[BaseQuestionResponseJson](../../Models/Components/BaseQuestionResponseJson.md)> | :heavy_minus_sign: | The list of question and answers for a poll. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessForm.md b/packages/csharp/docs/Models/Components/ProcessForm.md new file mode 100644 index 000000000..fd4056845 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ProcessForm.md @@ -0,0 +1,12 @@ +# ProcessForm + +An object that contains the process form ID. + +This is an **expandable** object and if requested will contain the name of a process form object. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The ID of the process form. | 9c97eb50-9f88-4972-a603-f617fc3258dd | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormJson.md b/packages/csharp/docs/Models/Components/ProcessFormJson.md deleted file mode 100644 index f70f9f42e..000000000 --- a/packages/csharp/docs/Models/Components/ProcessFormJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# ProcessFormJson - -An object that contains the process form ID. - -This is an **expandable** object and if requested will contain the name of a process form object. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The ID of the process form. | 9c97eb50-9f88-4972-a603-f617fc3258dd | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormQuestionTypeJson.md b/packages/csharp/docs/Models/Components/ProcessFormQuestionTypeJson.md deleted file mode 100644 index a787847a4..000000000 --- a/packages/csharp/docs/Models/Components/ProcessFormQuestionTypeJson.md +++ /dev/null @@ -1,28 +0,0 @@ -# ProcessFormQuestionTypeJson - -Denotes the type of data collected by a question. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ProcessFormQuestionTypeJson.CommentBox; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `CommentBox` | CommentBox | -| `Currency` | Currency | -| `Decimal` | Decimal | -| `DateTime` | DateTime | -| `Email` | Email | -| `General` | General | -| `Number` | Number | -| `MultiSelect` | MultiSelect | -| `SingleSelect` | SingleSelect | -| `USPhoneNumber` | USPhoneNumber | -| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormSubmission.md b/packages/csharp/docs/Models/Components/ProcessFormSubmission.md new file mode 100644 index 000000000..b8bc7c245 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ProcessFormSubmission.md @@ -0,0 +1,18 @@ +# ProcessFormSubmission + +Represents a process form submission in the context of a specific event. + + +## 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_check_mark: | The unique ID representing the process form submission. | f66a6cb0-4531-0f3a-cb1a-64f3017f1149 | +| `Event` | [ProcessFormSubmissionEvent](../../Models/Components/ProcessFormSubmissionEvent.md) | :heavy_check_mark: | The event which the process form submission is associated with. | | +| `ProcessForm` | [Models.Components.ProcessForm](../../Models/Components/ProcessForm.md) | :heavy_minus_sign: | An object that contains the process form ID.

This is an **expandable** object and if requested will contain the name of a process form object. | | +| `Status` | *string* | :heavy_minus_sign: | The status of the process form submission. The status is planner defined and can be any string. | initialized | +| `Questions` | List<[ProcessFormSubmissionQuestion](../../Models/Components/ProcessFormSubmissionQuestion.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormSubmissionEvent.md b/packages/csharp/docs/Models/Components/ProcessFormSubmissionEvent.md new file mode 100644 index 000000000..133b5fb77 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ProcessFormSubmissionEvent.md @@ -0,0 +1,10 @@ +# ProcessFormSubmissionEvent + +The event which the process form submission is associated with. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormSubmissionJson.md b/packages/csharp/docs/Models/Components/ProcessFormSubmissionJson.md deleted file mode 100644 index e7108f9f0..000000000 --- a/packages/csharp/docs/Models/Components/ProcessFormSubmissionJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# ProcessFormSubmissionJson - -Represents a process form submission in the context of a specific event. - - -## 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_check_mark: | The unique ID representing the process form submission. | f66a6cb0-4531-0f3a-cb1a-64f3017f1149 | -| `Event` | [ProcessFormSubmissionJsonEvent](../../Models/Components/ProcessFormSubmissionJsonEvent.md) | :heavy_check_mark: | The event which the process form submission is associated with. | | -| `ProcessForm` | [ProcessFormJson](../../Models/Components/ProcessFormJson.md) | :heavy_minus_sign: | An object that contains the process form ID.

This is an **expandable** object and if requested will contain the name of a process form object. | | -| `Status` | *string* | :heavy_minus_sign: | The status of the process form submission. The status is planner defined and can be any string. | initialized | -| `Questions` | List<[ProcessFormSubmissionQuestionJson](../../Models/Components/ProcessFormSubmissionQuestionJson.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormSubmissionJsonEvent.md b/packages/csharp/docs/Models/Components/ProcessFormSubmissionJsonEvent.md deleted file mode 100644 index dd1e83d07..000000000 --- a/packages/csharp/docs/Models/Components/ProcessFormSubmissionJsonEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# ProcessFormSubmissionJsonEvent - -The event which the process form submission is associated with. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormSubmissionQuestion.md b/packages/csharp/docs/Models/Components/ProcessFormSubmissionQuestion.md new file mode 100644 index 000000000..ba01202d4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ProcessFormSubmissionQuestion.md @@ -0,0 +1,13 @@ +# ProcessFormSubmissionQuestion + +A question for a process form submission. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID representing this question. | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `Type` | [QuestionType11](../../Models/Components/QuestionType11.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | FreeText | +| `Value` | List<*string*> | :heavy_check_mark: | The set of answers to the question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormSubmissionQuestionJson.md b/packages/csharp/docs/Models/Components/ProcessFormSubmissionQuestionJson.md deleted file mode 100644 index 9346f069b..000000000 --- a/packages/csharp/docs/Models/Components/ProcessFormSubmissionQuestionJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ProcessFormSubmissionQuestionJson - -A question for a process form submission. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID representing this question. | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `Type` | [ProcessFormQuestionTypeJson](../../Models/Components/ProcessFormQuestionTypeJson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | FreeText | -| `Value` | List<*string*> | :heavy_check_mark: | The set of answers to the question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProcessFormSubmissionsPaginatedResponse.md b/packages/csharp/docs/Models/Components/ProcessFormSubmissionsPaginatedResponse.md index 6af717a8c..4d1f89a17 100644 --- a/packages/csharp/docs/Models/Components/ProcessFormSubmissionsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ProcessFormSubmissionsPaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of process form submissions. This in ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[ProcessFormSubmissionJson](../../Models/Components/ProcessFormSubmissionJson.md)> | :heavy_check_mark: | Collection of process form submission objects. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[ProcessFormSubmission](../../Models/Components/ProcessFormSubmission.md)> | :heavy_check_mark: | Collection of process form submission objects. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Question2.md b/packages/csharp/docs/Models/Components/Question2.md new file mode 100644 index 000000000..7b9d01192 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Question2.md @@ -0,0 +1,12 @@ +# Question2 + +The question that was answered. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `Code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionDetail.md b/packages/csharp/docs/Models/Components/QuestionDetail.md new file mode 100644 index 000000000..33f2b9589 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionDetail.md @@ -0,0 +1,11 @@ +# QuestionDetail + +The question asked in a session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Text` | *string* | :heavy_minus_sign: | Question text. | Is this a new session? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionDetailJson.md b/packages/csharp/docs/Models/Components/QuestionDetailJson.md deleted file mode 100644 index 0ae4c160b..000000000 --- a/packages/csharp/docs/Models/Components/QuestionDetailJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# QuestionDetailJson - -The question asked in a session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Text` | *string* | :heavy_minus_sign: | Question text. | Is this a new session? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionJson1.md b/packages/csharp/docs/Models/Components/QuestionJson1.md index 2f9e62481..42160d8b9 100644 --- a/packages/csharp/docs/Models/Components/QuestionJson1.md +++ b/packages/csharp/docs/Models/Components/QuestionJson1.md @@ -16,7 +16,7 @@ A survey question. | `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `HtmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `Code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `Type` | [QuestionTypeJson](../../Models/Components/QuestionTypeJson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `Choices` | List<[ChoiceJson1](../../Models/Components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | | `Categories` | List<[CategoryJson1](../../Models/Components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | | `SubCategories` | List<[TextFieldJson](../../Models/Components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/csharp/docs/Models/Components/QuestionJson2.md b/packages/csharp/docs/Models/Components/QuestionJson2.md deleted file mode 100644 index b415fd8ba..000000000 --- a/packages/csharp/docs/Models/Components/QuestionJson2.md +++ /dev/null @@ -1,12 +0,0 @@ -# QuestionJson2 - -The question that was answered. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `Code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponse.md b/packages/csharp/docs/Models/Components/QuestionResponse.md new file mode 100644 index 000000000..c73d17857 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionResponse.md @@ -0,0 +1,11 @@ +# QuestionResponse + +A Question response. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `Question` | [Question2](../../Models/Components/Question2.md) | :heavy_minus_sign: | The question that was answered. | +| `Answers` | List<[Answer21](../../Models/Components/Answer21.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseJson.md b/packages/csharp/docs/Models/Components/QuestionResponseJson.md deleted file mode 100644 index d8fb7fb30..000000000 --- a/packages/csharp/docs/Models/Components/QuestionResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# QuestionResponseJson - -A Question response. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `Question` | [QuestionJson2](../../Models/Components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | -| `Answers` | List<[AnswerJson1](../../Models/Components/AnswerJson1.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionType1.md b/packages/csharp/docs/Models/Components/QuestionType1.md new file mode 100644 index 000000000..2b9dfbf83 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionType1.md @@ -0,0 +1,36 @@ +# QuestionType1 + +Denotes the type of data collected by a question. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionType1.AutoIncrement; +``` + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `AutoIncrement` | AutoIncrement | +| `BudgetEstimates` | BudgetEstimates | +| `ConsentQuestion` | ConsentQuestion | +| `Country` | Country | +| `Currency` | Currency | +| `Decimal` | Decimal | +| `Date` | Date | +| `DateTime` | DateTime | +| `Email` | Email | +| `FileUpload` | FileUpload | +| `FreeText` | FreeText | +| `General` | General | +| `Number` | Number | +| `MeetingRoomRequirements` | MeetingRoomRequirements | +| `MultiSelect` | MultiSelect | +| `SingleSelect` | SingleSelect | +| `SleepingRoomRequirements` | SleepingRoomRequirements | +| `USPhoneNumber` | USPhoneNumber | +| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionType11.md b/packages/csharp/docs/Models/Components/QuestionType11.md new file mode 100644 index 000000000..87adf1f1a --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionType11.md @@ -0,0 +1,28 @@ +# QuestionType11 + +Denotes the type of data collected by a question. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionType11.CommentBox; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `CommentBox` | CommentBox | +| `Currency` | Currency | +| `Decimal` | Decimal | +| `DateTime` | DateTime | +| `Email` | Email | +| `General` | General | +| `Number` | Number | +| `MultiSelect` | MultiSelect | +| `SingleSelect` | SingleSelect | +| `USPhoneNumber` | USPhoneNumber | +| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionTypeJson.md b/packages/csharp/docs/Models/Components/QuestionTypeJson.md index 20fa17c76..5b035c43e 100644 --- a/packages/csharp/docs/Models/Components/QuestionTypeJson.md +++ b/packages/csharp/docs/Models/Components/QuestionTypeJson.md @@ -1,36 +1,35 @@ # QuestionTypeJson -Denotes the type of data collected by a question. +Question Type. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = QuestionTypeJson.AutoIncrement; +var value = QuestionTypeJson.SingleChoice; ``` ## Values -| Name | Value | -| -------------------------- | -------------------------- | -| `AutoIncrement` | AutoIncrement | -| `BudgetEstimates` | BudgetEstimates | -| `ConsentQuestion` | ConsentQuestion | -| `Country` | Country | -| `Currency` | Currency | -| `Decimal` | Decimal | -| `Date` | Date | -| `DateTime` | DateTime | -| `Email` | Email | -| `FileUpload` | FileUpload | -| `FreeText` | FreeText | -| `General` | General | -| `Number` | Number | -| `MeetingRoomRequirements` | MeetingRoomRequirements | -| `MultiSelect` | MultiSelect | -| `SingleSelect` | SingleSelect | -| `SleepingRoomRequirements` | SleepingRoomRequirements | -| `USPhoneNumber` | USPhoneNumber | -| `Unknown` | Unknown | \ No newline at end of file +| Name | Value | +| -------------------- | -------------------- | +| `SingleChoice` | SingleChoice | +| `MultiChoice` | MultiChoice | +| `MatrixSingleChoice` | MatrixSingleChoice | +| `MatrixMultiChoice` | MatrixMultiChoice | +| `MatrixSideBySide` | MatrixSideBySide | +| `MatrixSpreadSheet` | MatrixSpreadSheet | +| `DateTime` | DateTime | +| `Number` | Number | +| `Text` | Text | +| `CommentBox` | CommentBox | +| `Form` | Form | +| `RankOrder` | RankOrder | +| `FileUpload` | FileUpload | +| `NetPromoter` | NetPromoter | +| `Rating` | Rating | +| `MatrixRating` | MatrixRating | +| `NumberAllocation` | NumberAllocation | +| `LargeChoices` | LargeChoices | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionTypeJson1.md b/packages/csharp/docs/Models/Components/QuestionTypeJson1.md index b121a4caf..4002b670f 100644 --- a/packages/csharp/docs/Models/Components/QuestionTypeJson1.md +++ b/packages/csharp/docs/Models/Components/QuestionTypeJson1.md @@ -1,6 +1,6 @@ # QuestionTypeJson1 -Question Type. +This object represents the type of a question ## Example Usage @@ -13,23 +13,14 @@ var value = QuestionTypeJson1.SingleChoice; ## Values -| Name | Value | -| -------------------- | -------------------- | -| `SingleChoice` | SingleChoice | -| `MultiChoice` | MultiChoice | -| `MatrixSingleChoice` | MatrixSingleChoice | -| `MatrixMultiChoice` | MatrixMultiChoice | -| `MatrixSideBySide` | MatrixSideBySide | -| `MatrixSpreadSheet` | MatrixSpreadSheet | -| `DateTime` | DateTime | -| `Number` | Number | -| `Text` | Text | -| `CommentBox` | CommentBox | -| `Form` | Form | -| `RankOrder` | RankOrder | -| `FileUpload` | FileUpload | -| `NetPromoter` | NetPromoter | -| `Rating` | Rating | -| `MatrixRating` | MatrixRating | -| `NumberAllocation` | NumberAllocation | -| `LargeChoices` | LargeChoices | \ No newline at end of file +| Name | Value | +| ------------------------- | ------------------------- | +| `SingleChoice` | SingleChoice | +| `MultiChoice` | MultiChoice | +| `OpenEndedDateTime` | OpenEndedDateTime | +| `OpenEndedTextOneLine` | OpenEndedTextOneLine | +| `OpenEndedTextCommentBox` | OpenEndedTextCommentBox | +| `OpenEndedNumeric` | OpenEndedNumeric | +| `FileUpload` | FileUpload | +| `MatrixSinglePerRow` | MatrixSinglePerRow | +| `MatrixMultiPerRow` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionTypeJson2.md b/packages/csharp/docs/Models/Components/QuestionTypeJson2.md deleted file mode 100644 index 645427a88..000000000 --- a/packages/csharp/docs/Models/Components/QuestionTypeJson2.md +++ /dev/null @@ -1,26 +0,0 @@ -# QuestionTypeJson2 - -This object represents the type of a question - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = QuestionTypeJson2.SingleChoice; -``` - - -## Values - -| Name | Value | -| ------------------------- | ------------------------- | -| `SingleChoice` | SingleChoice | -| `MultiChoice` | MultiChoice | -| `OpenEndedDateTime` | OpenEndedDateTime | -| `OpenEndedTextOneLine` | OpenEndedTextOneLine | -| `OpenEndedTextCommentBox` | OpenEndedTextCommentBox | -| `OpenEndedNumeric` | OpenEndedNumeric | -| `FileUpload` | FileUpload | -| `MatrixSinglePerRow` | MatrixSinglePerRow | -| `MatrixMultiPerRow` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RateApplicationType.md b/packages/csharp/docs/Models/Components/RateApplicationType.md new file mode 100644 index 000000000..cac589700 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RateApplicationType.md @@ -0,0 +1,35 @@ +# RateApplicationType + +How the rate is applied to the meeting room booking. + +Values: +- `COMPLIMENTARY` — Complimentary +- `INCLUDED` — Included +- `ONETIME_FEE` — One-Time Fee +- `PER_DAY` — Per Day +- `PER_HOUR` — Per Hour +- `PER_SQ_FT` — Per Square Foot +- `PER_SQ_MTR` — Per Square Meter +- `TOTAL` — Total + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RateApplicationType.Complimentary; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `Complimentary` | COMPLIMENTARY | +| `Included` | INCLUDED | +| `OnetimeFee` | ONETIME_FEE | +| `PerDay` | PER_DAY | +| `PerHour` | PER_HOUR | +| `PerSqFt` | PER_SQ_FT | +| `PerSqMtr` | PER_SQ_MTR | +| `Total` | TOTAL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Request.md b/packages/csharp/docs/Models/Components/Request.md index 0ba1ac4c5..fcbb423f4 100644 --- a/packages/csharp/docs/Models/Components/Request.md +++ b/packages/csharp/docs/Models/Components/Request.md @@ -5,10 +5,10 @@ The processed request tied to this response. This field is only sent when proces ## Supported Types -### MeetingRequestBulkResponseItemJsonRequest +### MeetingRequestBulkResponseItemRequest ```csharp -Request.CreateMeetingRequestBulkResponseItemJsonRequest(/* values here */); +Request.CreateMeetingRequestBulkResponseItemRequest(/* values here */); ``` ### Str diff --git a/packages/csharp/docs/Models/Components/RequestedMeetingRequestQuestionJson.md b/packages/csharp/docs/Models/Components/RequestedMeetingRequestQuestionJson.md deleted file mode 100644 index 7a1c6d838..000000000 --- a/packages/csharp/docs/Models/Components/RequestedMeetingRequestQuestionJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# RequestedMeetingRequestQuestionJson - -A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine how to format the `value` array. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `Value` | List<*string*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

**Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`).

**Country/Region questions (`type: Country`):** Provide either the country name (for example, `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes).

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object.

*Meeting Room Requirement example (one item in value array):*
`"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"`

*Sleeping Room Requirement example:*
`"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"`

*Budget Estimate example:*
`"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` | | -| `AnswerType` | [AnswerTypeJson](../../Models/Components/AnswerTypeJson.md) | :heavy_minus_sign: | Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.

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

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

In all other cases, `answerType` is not expected to be set. | Other | -| `SecondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SeatingLayoutType.md b/packages/csharp/docs/Models/Components/SeatingLayoutType.md new file mode 100644 index 000000000..75e50d3dc --- /dev/null +++ b/packages/csharp/docs/Models/Components/SeatingLayoutType.md @@ -0,0 +1,31 @@ +# SeatingLayoutType + +The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = SeatingLayoutType.Banquet; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `Banquet` | BANQUET | +| `Classroom` | CLASSROOM | +| `CocktailRounds` | COCKTAIL_ROUNDS | +| `Conference` | CONFERENCE | +| `CrescentRounds` | CRESCENT_ROUNDS | +| `EShape` | E_SHAPE | +| `HollowSquare` | HOLLOW_SQUARE | +| `MaximumCapacity` | MAXIMUM_CAPACITY | +| `PerimeterSeating` | PERIMETER_SEATING | +| `RoyalConference` | ROYAL_CONFERENCE | +| `TalkShow` | TALK_SHOW | +| `Theater` | THEATER | +| `TShape` | T_SHAPE | +| `UShape` | U_SHAPE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionActivity10.md b/packages/csharp/docs/Models/Components/SessionActivity10.md deleted file mode 100644 index 78aabb00e..000000000 --- a/packages/csharp/docs/Models/Components/SessionActivity10.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity10 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionActivity11.md b/packages/csharp/docs/Models/Components/SessionActivity11.md deleted file mode 100644 index e42935f0a..000000000 --- a/packages/csharp/docs/Models/Components/SessionActivity11.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity11 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionActivity8.md b/packages/csharp/docs/Models/Components/SessionActivity8.md deleted file mode 100644 index 72ba67812..000000000 --- a/packages/csharp/docs/Models/Components/SessionActivity8.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity8 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionActivity9.md b/packages/csharp/docs/Models/Components/SessionActivity9.md deleted file mode 100644 index 01c7a914a..000000000 --- a/packages/csharp/docs/Models/Components/SessionActivity9.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity9 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionFeedbackSubmitted.md b/packages/csharp/docs/Models/Components/SessionFeedbackSubmitted.md index dda3bef0f..a4017621a 100644 --- a/packages/csharp/docs/Models/Components/SessionFeedbackSubmitted.md +++ b/packages/csharp/docs/Models/Components/SessionFeedbackSubmitted.md @@ -5,7 +5,7 @@ A session feedback-submitted activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Session` | [SessionActivity4](../../Models/Components/SessionActivity4.md) | :heavy_minus_sign: | The activity session. | -| `Survey` | [SurveyResponseJson](../../Models/Components/SurveyResponseJson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `Session` | [SessionFeedbackSubmittedSessionActivity](../../Models/Components/SessionFeedbackSubmittedSessionActivity.md) | :heavy_minus_sign: | The activity session. | +| `Survey` | [SurveyResponse](../../Models/Components/SurveyResponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionFeedbackSubmittedSessionActivity.md b/packages/csharp/docs/Models/Components/SessionFeedbackSubmittedSessionActivity.md new file mode 100644 index 000000000..6b859b5eb --- /dev/null +++ b/packages/csharp/docs/Models/Components/SessionFeedbackSubmittedSessionActivity.md @@ -0,0 +1,12 @@ +# SessionFeedbackSubmittedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionNoShow.md b/packages/csharp/docs/Models/Components/SessionNoShow.md index cca57adb6..f46862156 100644 --- a/packages/csharp/docs/Models/Components/SessionNoShow.md +++ b/packages/csharp/docs/Models/Components/SessionNoShow.md @@ -7,4 +7,4 @@ A session activity. | Field | Type | Required | Description | | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Session` | [SessionActivity5](../../Models/Components/SessionActivity5.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| `Session` | [SessionActivity4](../../Models/Components/SessionActivity4.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionPollResponseSubmitted.md b/packages/csharp/docs/Models/Components/SessionPollResponseSubmitted.md index 55a4d1f34..244fda246 100644 --- a/packages/csharp/docs/Models/Components/SessionPollResponseSubmitted.md +++ b/packages/csharp/docs/Models/Components/SessionPollResponseSubmitted.md @@ -5,7 +5,7 @@ The poll created for a session. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Session` | [SessionActivity6](../../Models/Components/SessionActivity6.md) | :heavy_minus_sign: | The activity session. | -| `Poll` | [PollResponseJson](../../Models/Components/PollResponseJson.md) | :heavy_minus_sign: | This is used to denote the poll details. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `Session` | [SessionPollResponseSubmittedSessionActivity](../../Models/Components/SessionPollResponseSubmittedSessionActivity.md) | :heavy_minus_sign: | The activity session. | +| `Poll` | [PollResponse](../../Models/Components/PollResponse.md) | :heavy_minus_sign: | This is used to denote the poll details. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionPollResponseSubmittedSessionActivity.md b/packages/csharp/docs/Models/Components/SessionPollResponseSubmittedSessionActivity.md new file mode 100644 index 000000000..bf0cd9e54 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SessionPollResponseSubmittedSessionActivity.md @@ -0,0 +1,12 @@ +# SessionPollResponseSubmittedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionQuestionAsked.md b/packages/csharp/docs/Models/Components/SessionQuestionAsked.md index 01dd77000..6df21a932 100644 --- a/packages/csharp/docs/Models/Components/SessionQuestionAsked.md +++ b/packages/csharp/docs/Models/Components/SessionQuestionAsked.md @@ -5,10 +5,10 @@ The question asked activity details for the session. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Session` | [SessionActivity7](../../Models/Components/SessionActivity7.md) | :heavy_minus_sign: | The activity session. | | -| `Question` | [QuestionDetailJson](../../Models/Components/QuestionDetailJson.md) | :heavy_minus_sign: | The question asked in a session. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `Votes` | *long* | :heavy_minus_sign: | The number of votes for a question. | 0 | -| `Anonymous` | *bool* | :heavy_minus_sign: | True indicates the question was posted anonymously. | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `Session` | [SessionQuestionAskedSessionActivity](../../Models/Components/SessionQuestionAskedSessionActivity.md) | :heavy_minus_sign: | The activity session. | | +| `Question` | [QuestionDetail](../../Models/Components/QuestionDetail.md) | :heavy_minus_sign: | The question asked in a session. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `Votes` | *long* | :heavy_minus_sign: | The number of votes for a question. | 0 | +| `Anonymous` | *bool* | :heavy_minus_sign: | True indicates the question was posted anonymously. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionQuestionAskedSessionActivity.md b/packages/csharp/docs/Models/Components/SessionQuestionAskedSessionActivity.md new file mode 100644 index 000000000..986524473 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SessionQuestionAskedSessionActivity.md @@ -0,0 +1,12 @@ +# SessionQuestionAskedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionQuestionUpvoted.md b/packages/csharp/docs/Models/Components/SessionQuestionUpvoted.md index 6ccc98945..7183c8f69 100644 --- a/packages/csharp/docs/Models/Components/SessionQuestionUpvoted.md +++ b/packages/csharp/docs/Models/Components/SessionQuestionUpvoted.md @@ -5,9 +5,9 @@ This denotes the question asked in the session. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Session` | [SessionActivity8](../../Models/Components/SessionActivity8.md) | :heavy_minus_sign: | The activity session. | | -| `Question` | [QuestionDetailJson](../../Models/Components/QuestionDetailJson.md) | :heavy_minus_sign: | The question asked in a session. | | -| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `Votes` | *long* | :heavy_minus_sign: | The number of votes for a question. | 0 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `Session` | [SessionActivity5](../../Models/Components/SessionActivity5.md) | :heavy_minus_sign: | The activity session. | | +| `Question` | [QuestionDetail](../../Models/Components/QuestionDetail.md) | :heavy_minus_sign: | The question asked in a session. | | +| `Platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `Votes` | *long* | :heavy_minus_sign: | The number of votes for a question. | 0 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionUnenrolled.md b/packages/csharp/docs/Models/Components/SessionUnenrolled.md index 407e9546d..cddb1bfd7 100644 --- a/packages/csharp/docs/Models/Components/SessionUnenrolled.md +++ b/packages/csharp/docs/Models/Components/SessionUnenrolled.md @@ -7,4 +7,4 @@ A session activity. | Field | Type | Required | Description | | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Session` | [SessionActivity9](../../Models/Components/SessionActivity9.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| `Session` | [SessionActivity6](../../Models/Components/SessionActivity6.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionWaitlisted.md b/packages/csharp/docs/Models/Components/SessionWaitlisted.md index 124b77d4a..86f96a39c 100644 --- a/packages/csharp/docs/Models/Components/SessionWaitlisted.md +++ b/packages/csharp/docs/Models/Components/SessionWaitlisted.md @@ -5,6 +5,6 @@ A session activity. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `Session` | [SessionActivity10](../../Models/Components/SessionActivity10.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `Session` | [SessionActivity7](../../Models/Components/SessionActivity7.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SleepingRoomRequirement.md b/packages/csharp/docs/Models/Components/SleepingRoomRequirement.md new file mode 100644 index 000000000..39b6b7379 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SleepingRoomRequirement.md @@ -0,0 +1,15 @@ +# SleepingRoomRequirement + +The requirements of a sleeping room on the specified date. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `Date` | *string* | :heavy_check_mark: | The date for the sleeping room, in format of YYYY-MM-DD. | 2099-12-11 | +| `Any` | *long* | :heavy_minus_sign: | The number of any sleeping rooms. | 10 | +| `Single` | *long* | :heavy_minus_sign: | The number of 1 bed sleeping rooms. | 10 | +| `Suite` | *long* | :heavy_minus_sign: | The number of suite sleeping rooms. | 10 | +| `Staff` | *long* | :heavy_minus_sign: | The number of sleeping rooms for staff. | 10 | +| `DoubleBeds` | *long* | :heavy_minus_sign: | The number of 2 beds sleeping rooms. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SleepingRoomRequirementJson.md b/packages/csharp/docs/Models/Components/SleepingRoomRequirementJson.md deleted file mode 100644 index 3d881b1a0..000000000 --- a/packages/csharp/docs/Models/Components/SleepingRoomRequirementJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# SleepingRoomRequirementJson - -The requirements of a sleeping room on the specified date. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `Date` | *string* | :heavy_check_mark: | The date for the sleeping room, in format of YYYY-MM-DD. | 2099-12-11 | -| `Any` | *long* | :heavy_minus_sign: | The number of any sleeping rooms. | 10 | -| `Single` | *long* | :heavy_minus_sign: | The number of 1 bed sleeping rooms. | 10 | -| `Suite` | *long* | :heavy_minus_sign: | The number of suite sleeping rooms. | 10 | -| `Staff` | *long* | :heavy_minus_sign: | The number of sleeping rooms for staff. | 10 | -| `DoubleBeds` | *long* | :heavy_minus_sign: | The number of 2 beds sleeping rooms. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Speaker1.md b/packages/csharp/docs/Models/Components/Speaker1.md new file mode 100644 index 000000000..fa43e491e --- /dev/null +++ b/packages/csharp/docs/Models/Components/Speaker1.md @@ -0,0 +1,11 @@ +# Speaker1 + +An activity speaker. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the speaker. | | +| `Name` | *string* | :heavy_minus_sign: | Name of the speaker. | Henry Ford | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerFeedbackSubmitted.md b/packages/csharp/docs/Models/Components/SpeakerFeedbackSubmitted.md index c96521d1c..7388a808a 100644 --- a/packages/csharp/docs/Models/Components/SpeakerFeedbackSubmitted.md +++ b/packages/csharp/docs/Models/Components/SpeakerFeedbackSubmitted.md @@ -5,8 +5,8 @@ A speaker feedback-submitted activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Session` | [SessionActivity11](../../Models/Components/SessionActivity11.md) | :heavy_minus_sign: | The activity session. | -| `Speaker` | [SpeakerJson](../../Models/Components/SpeakerJson.md) | :heavy_minus_sign: | An activity speaker. | -| `Survey` | [SurveyResponseJson](../../Models/Components/SurveyResponseJson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `Session` | [SpeakerFeedbackSubmittedSessionActivity](../../Models/Components/SpeakerFeedbackSubmittedSessionActivity.md) | :heavy_minus_sign: | The activity session. | +| `Speaker` | [Speaker1](../../Models/Components/Speaker1.md) | :heavy_minus_sign: | An activity speaker. | +| `Survey` | [SurveyResponse](../../Models/Components/SurveyResponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerFeedbackSubmittedSessionActivity.md b/packages/csharp/docs/Models/Components/SpeakerFeedbackSubmittedSessionActivity.md new file mode 100644 index 000000000..f1dbf7a83 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SpeakerFeedbackSubmittedSessionActivity.md @@ -0,0 +1,12 @@ +# SpeakerFeedbackSubmittedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `Code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerFileDownloaded.md b/packages/csharp/docs/Models/Components/SpeakerFileDownloaded.md index 89d4ffc78..ec2940d6d 100644 --- a/packages/csharp/docs/Models/Components/SpeakerFileDownloaded.md +++ b/packages/csharp/docs/Models/Components/SpeakerFileDownloaded.md @@ -5,10 +5,10 @@ A speaker file-downloaded activity. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `Browser` | *string* | :heavy_minus_sign: | The name of the web browser. | firefox | -| `OperatingSystem` | *string* | :heavy_minus_sign: | The name of the operating system. | windows | -| `Name` | *string* | :heavy_minus_sign: | The name of the file. | Instructions | -| `Type` | *string* | :heavy_minus_sign: | The type of the file. | docx | -| `Speaker` | [SpeakerJson](../../Models/Components/SpeakerJson.md) | :heavy_minus_sign: | An activity speaker. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `Browser` | *string* | :heavy_minus_sign: | The name of the web browser. | firefox | +| `OperatingSystem` | *string* | :heavy_minus_sign: | The name of the operating system. | windows | +| `Name` | *string* | :heavy_minus_sign: | The name of the file. | Instructions | +| `Type` | *string* | :heavy_minus_sign: | The type of the file. | docx | +| `Speaker` | [Speaker1](../../Models/Components/Speaker1.md) | :heavy_minus_sign: | An activity speaker. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerJson.md b/packages/csharp/docs/Models/Components/SpeakerJson.md deleted file mode 100644 index 5c573ba1a..000000000 --- a/packages/csharp/docs/Models/Components/SpeakerJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# SpeakerJson - -An activity speaker. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the speaker. | | -| `Name` | *string* | :heavy_minus_sign: | Name of the speaker. | Henry Ford | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md b/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md index 64cba74c4..174d4e1eb 100644 --- a/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md +++ b/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md @@ -16,7 +16,7 @@ A standard survey question. | `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `HtmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `Code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `Type` | [QuestionTypeJson](../../Models/Components/QuestionTypeJson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `Choices` | List<[ChoiceJson1](../../Models/Components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | | `Categories` | List<[CategoryJson1](../../Models/Components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | | `SubCategories` | List<[TextFieldJson](../../Models/Components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/csharp/docs/Models/Components/StateProvince1.md b/packages/csharp/docs/Models/Components/StateProvince1.md new file mode 100644 index 000000000..e7b10334e --- /dev/null +++ b/packages/csharp/docs/Models/Components/StateProvince1.md @@ -0,0 +1,839 @@ +# StateProvince1 + +The state province code used for contact information. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = StateProvince1.Blank; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Blank` | BLANK | +| `Aa` | AA | +| `Ab` | AB | +| `Abd` | ABD | +| `Abe` | ABE | +| `ActAus` | ACT_AUS | +| `Ae` | AE | +| `Agb` | AGB | +| `Agy` | AGY | +| `Ak` | AK | +| `Al` | AL | +| `Ans` | ANS | +| `Ant` | ANT | +| `Ap` | AP | +| `Ar` | AR | +| `Ard` | ARD | +| `Arm` | ARM | +| `As` | AS | +| `At1` | AT_1 | +| `At2` | AT_2 | +| `At3` | AT_3 | +| `At4` | AT_4 | +| `At5` | AT_5 | +| `At6` | AT_6 | +| `At7` | AT_7 | +| `At8` | AT_8 | +| `At9` | AT_9 | +| `Az` | AZ | +| `Ban` | BAN | +| `Bas` | BAS | +| `Bbd` | BBD | +| `Bc` | BC | +| `Bdf` | BDF | +| `BeBru` | BE_BRU | +| `Ben` | BEN | +| `BeVan` | BE_VAN | +| `BeVbr` | BE_VBR | +| `BeVli` | BE_VLI | +| `BeVov` | BE_VOV | +| `BeVwv` | BE_VWV | +| `BeWbr` | BE_WBR | +| `BeWht` | BE_WHT | +| `BeWlg` | BE_WLG | +| `BeWlx` | BE_WLX | +| `BeWna` | BE_WNA | +| `Bex` | BEX | +| `Bfs` | BFS | +| `Bge` | BGE | +| `Bgw` | BGW | +| `Bir` | BIR | +| `Bkm` | BKM | +| `Bla` | BLA | +| `Bly` | BLY | +| `Bmh` | BMH | +| `Bnb` | BNB | +| `Bne` | BNE | +| `Bnh` | BNH | +| `Bns` | BNS | +| `Bol` | BOL | +| `Bpl` | BPL | +| `BrAc` | BR_AC | +| `BrAl` | BR_AL | +| `BrAm` | BR_AM | +| `BrAp` | BR_AP | +| `BrBa` | BR_BA | +| `Brc` | BRC | +| `BrCe` | BR_CE | +| `Brd` | BRD | +| `BrDf` | BR_DF | +| `BrEs` | BR_ES | +| `BrGo` | BR_GO | +| `Brk` | BRK | +| `BrMa` | BR_MA | +| `BrMg` | BR_MG | +| `BrMs` | BR_MS | +| `BrMt` | BR_MT | +| `BrPa` | BR_PA | +| `BrPb` | BR_PB | +| `BrPe` | BR_PE | +| `BrPi` | BR_PI | +| `BrPr` | BR_PR | +| `BrRj` | BR_RJ | +| `BrRn` | BR_RN | +| `BrRo` | BR_RO | +| `BrRr` | BR_RR | +| `BrRs` | BR_RS | +| `BrSc` | BR_SC | +| `BrSe` | BR_SE | +| `BrSp` | BR_SP | +| `BrTo` | BR_TO | +| `Bry` | BRY | +| `Bst` | BST | +| `Bur` | BUR | +| `Ca` | CA | +| `Cam` | CAM | +| `Cay` | CAY | +| `Cgn` | CGN | +| `Cgv` | CGV | +| `ChAg` | CH_AG | +| `ChAi` | CH_AI | +| `ChAr` | CH_AR | +| `ChBe` | CH_BE | +| `ChBl` | CH_BL | +| `ChBs` | CH_BS | +| `ChFr` | CH_FR | +| `ChGe` | CH_GE | +| `ChGl` | CH_GL | +| `ChGr` | CH_GR | +| `Chi` | CHI | +| `ChJu` | CH_JU | +| `ChLu` | CH_LU | +| `ChNe` | CH_NE | +| `ChNw` | CH_NW | +| `ChOw` | CH_OW | +| `Chs` | CHS | +| `ChSg` | CH_SG | +| `ChSh` | CH_SH | +| `ChSo` | CH_SO | +| `ChSz` | CH_SZ | +| `ChTg` | CH_TG | +| `ChTi` | CH_TI | +| `ChUr` | CH_UR | +| `ChVd` | CH_VD | +| `ChVs` | CH_VS | +| `ChZg` | CH_ZG | +| `ChZh` | CH_ZH | +| `Ckf` | CKF | +| `Ckt` | CKT | +| `Cld` | CLD | +| `Clk` | CLK | +| `Clr` | CLR | +| `Cma` | CMA | +| `Cmd` | CMD | +| `Cmn` | CMN | +| `Cn11` | CN_11 | +| `Cn12` | CN_12 | +| `Cn13` | CN_13 | +| `Cn14` | CN_14 | +| `Cn15` | CN_15 | +| `Cn21` | CN_21 | +| `Cn22` | CN_22 | +| `Cn23` | CN_23 | +| `Cn31` | CN_31 | +| `Cn32` | CN_32 | +| `Cn33` | CN_33 | +| `Cn34` | CN_34 | +| `Cn35` | CN_35 | +| `Cn36` | CN_36 | +| `Cn37` | CN_37 | +| `Cn41` | CN_41 | +| `Cn42` | CN_42 | +| `Cn43` | CN_43 | +| `Cn44` | CN_44 | +| `Cn45` | CN_45 | +| `Cn46` | CN_46 | +| `Cn50` | CN_50 | +| `Cn51` | CN_51 | +| `Cn52` | CN_52 | +| `Cn53` | CN_53 | +| `Cn54` | CN_54 | +| `Cn61` | CN_61 | +| `Cn62` | CN_62 | +| `Cn63` | CN_63 | +| `Cn64` | CN_64 | +| `Cn65` | CN_65 | +| `Cn91` | CN_91 | +| `Cn92` | CN_92 | +| `Co` | CO | +| `Con` | CON | +| `Cov` | COV | +| `Crf` | CRF | +| `Cry` | CRY | +| `Csr` | CSR | +| `Ct` | CT | +| `Cwd` | CWD | +| `Cwy` | CWY | +| `Dal` | DAL | +| `Dby` | DBY | +| `Dc` | DC | +| `De` | DE | +| `Den` | DEN | +| `Der` | DER | +| `Dev` | DEV | +| `Dgn` | DGN | +| `Dgy` | DGY | +| `Dk015` | DK_015 | +| `Dk020` | DK_020 | +| `Dk025` | DK_025 | +| `Dk030` | DK_030 | +| `Dk035` | DK_035 | +| `Dk040` | DK_040 | +| `Dk042` | DK_042 | +| `Dk050` | DK_050 | +| `Dk055` | DK_055 | +| `Dk060` | DK_060 | +| `Dk065` | DK_065 | +| `Dk070` | DK_070 | +| `Dk076` | DK_076 | +| `Dk080` | DK_080 | +| `Dk101` | DK_101 | +| `Dk147` | DK_147 | +| `Dk81` | DK_81 | +| `Dk82` | DK_82 | +| `Dk83` | DK_83 | +| `Dk84` | DK_84 | +| `Dk85` | DK_85 | +| `Dnc` | DNC | +| `Dnd` | DND | +| `Dor` | DOR | +| `Dow` | DOW | +| `Dry` | DRY | +| `Dud` | DUD | +| `Dur` | DUR | +| `Eal` | EAL | +| `Eay` | EAY | +| `Edh` | EDH | +| `Edu` | EDU | +| `Eln` | ELN | +| `Els` | ELS | +| `Enf` | ENF | +| `Erw` | ERW | +| `Ery` | ERY | +| `Ess` | ESS | +| `Esx` | ESX | +| `Fal` | FAL | +| `Fer` | FER | +| `Fif` | FIF | +| `Fl` | FL | +| `Fln` | FLN | +| `Fm` | FM | +| `Ga` | GA | +| `Gat` | GAT | +| `Gb` | GB | +| `Glg` | GLG | +| `Gln` | GLN | +| `Gls` | GLS | +| `Gr01` | GR_01 | +| `Gr03` | GR_03 | +| `Gr04` | GR_04 | +| `Gr05` | GR_05 | +| `Gr06` | GR_06 | +| `Gr07` | GR_07 | +| `Gr11` | GR_11 | +| `Gr12` | GR_12 | +| `Gr13` | GR_13 | +| `Gr14` | GR_14 | +| `Gr15` | GR_15 | +| `Gr16` | GR_16 | +| `Gr17` | GR_17 | +| `Gr21` | GR_21 | +| `Gr22` | GR_22 | +| `Gr23` | GR_23 | +| `Gr24` | GR_24 | +| `Gr31` | GR_31 | +| `Gr32` | GR_32 | +| `Gr33` | GR_33 | +| `Gr34` | GR_34 | +| `Gr41` | GR_41 | +| `Gr42` | GR_42 | +| `Gr43` | GR_43 | +| `Gr44` | GR_44 | +| `Gr51` | GR_51 | +| `Gr52` | GR_52 | +| `Gr53` | GR_53 | +| `Gr54` | GR_54 | +| `Gr55` | GR_55 | +| `Gr56` | GR_56 | +| `Gr57` | GR_57 | +| `Gr58` | GR_58 | +| `Gr59` | GR_59 | +| `Gr61` | GR_61 | +| `Gr62` | GR_62 | +| `Gr63` | GR_63 | +| `Gr64` | GR_64 | +| `Gr69` | GR_69 | +| `Gr71` | GR_71 | +| `Gr72` | GR_72 | +| `Gr73` | GR_73 | +| `Gr81` | GR_81 | +| `Gr82` | GR_82 | +| `Gr83` | GR_83 | +| `Gr84` | GR_84 | +| `Gr85` | GR_85 | +| `Gr91` | GR_91 | +| `Gr92` | GR_92 | +| `Gr93` | GR_93 | +| `Gr94` | GR_94 | +| `GrA1` | GR_A_1 | +| `Gre` | GRE | +| `Gtm` | GTM | +| `Gu` | GU | +| `Gwn` | GWN | +| `Hal` | HAL | +| `Ham` | HAM | +| `Hav` | HAV | +| `Hck` | HCK | +| `Hef` | HEF | +| `Hi` | HI | +| `Hil` | HIL | +| `Hld` | HLD | +| `Hmf` | HMF | +| `Hns` | HNS | +| `Hpl` | HPL | +| `Hrt` | HRT | +| `Hrw` | HRW | +| `Hry` | HRY | +| `Ia` | IA | +| `Id` | ID | +| `IeC` | IE_C | +| `IeCe` | IE_CE | +| `IeCn` | IE_CN | +| `IeCw` | IE_CW | +| `IeD` | IE_D | +| `IeDl` | IE_DL | +| `IeG` | IE_G | +| `IeKe` | IE_KE | +| `IeKk` | IE_KK | +| `IeKy` | IE_KY | +| `IeLd` | IE_LD | +| `IeLh` | IE_LH | +| `IeLk` | IE_LK | +| `IeLm` | IE_LM | +| `IeLs` | IE_LS | +| `IeMh` | IE_MH | +| `IeMn` | IE_MN | +| `IeMo` | IE_MO | +| `IeOy` | IE_OY | +| `IeRn` | IE_RN | +| `IeSo` | IE_SO | +| `IeTa` | IE_TA | +| `IeWd` | IE_WD | +| `IeWh` | IE_WH | +| `IeWw` | IE_WW | +| `IeWx` | IE_WX | +| `Il` | IL | +| `In` | IN | +| `InAn` | IN_AN | +| `InAp` | IN_AP | +| `InAr` | IN_AR | +| `InAs` | IN_AS | +| `InBr` | IN_BR | +| `InCh` | IN_CH | +| `InCt` | IN_CT | +| `InDd` | IN_DD | +| `InDl` | IN_DL | +| `InDn` | IN_DN | +| `InGa` | IN_GA | +| `InGj` | IN_GJ | +| `InHp` | IN_HP | +| `InHr` | IN_HR | +| `InJh` | IN_JH | +| `InJk` | IN_JK | +| `InKa` | IN_KA | +| `InKl` | IN_KL | +| `InLd` | IN_LD | +| `InMh` | IN_MH | +| `InMl` | IN_ML | +| `InMn` | IN_MN | +| `InMp` | IN_MP | +| `InMz` | IN_MZ | +| `InNl` | IN_NL | +| `InOr` | IN_OR | +| `InPb` | IN_PB | +| `InPy` | IN_PY | +| `InRj` | IN_RJ | +| `InSk` | IN_SK | +| `InTg` | IN_TG | +| `InTn` | IN_TN | +| `InTr` | IN_TR | +| `InUl` | IN_UL | +| `InUp` | IN_UP | +| `InWb` | IN_WB | +| `Ioa` | IOA | +| `Ioi` | IOI | +| `Iol` | IOL | +| `Iom` | IOM | +| `Ios` | IOS | +| `Iow` | IOW | +| `Ioy` | IOY | +| `Isl` | ISL | +| `It21` | IT_21 | +| `It23` | IT_23 | +| `It25` | IT_25 | +| `It32` | IT_32 | +| `It34` | IT_34 | +| `It36` | IT_36 | +| `It42` | IT_42 | +| `It45` | IT_45 | +| `It52` | IT_52 | +| `It55` | IT_55 | +| `It57` | IT_57 | +| `It62` | IT_62 | +| `It65` | IT_65 | +| `It67` | IT_67 | +| `It72` | IT_72 | +| `It75` | IT_75 | +| `It77` | IT_77 | +| `It78` | IT_78 | +| `It82` | IT_82 | +| `It88` | IT_88 | +| `ItAg` | IT_AG | +| `ItAl` | IT_AL | +| `ItAn` | IT_AN | +| `ItAo` | IT_AO | +| `ItAp` | IT_AP | +| `ItAq` | IT_AQ | +| `ItAr` | IT_AR | +| `ItAt` | IT_AT | +| `ItAv` | IT_AV | +| `ItBa` | IT_BA | +| `ItBg` | IT_BG | +| `ItBi` | IT_BI | +| `ItBl` | IT_BL | +| `ItBn` | IT_BN | +| `ItBo` | IT_BO | +| `ItBr` | IT_BR | +| `ItBs` | IT_BS | +| `ItBt` | IT_BT | +| `ItBz` | IT_BZ | +| `ItCa` | IT_CA | +| `ItCb` | IT_CB | +| `ItCe` | IT_CE | +| `ItCh` | IT_CH | +| `ItCi` | IT_CI | +| `ItCl` | IT_CL | +| `ItCn` | IT_CN | +| `ItCo` | IT_CO | +| `ItCr` | IT_CR | +| `ItCs` | IT_CS | +| `ItCt` | IT_CT | +| `ItCz` | IT_CZ | +| `ItEn` | IT_EN | +| `ItFc` | IT_FC | +| `ItFe` | IT_FE | +| `ItFg` | IT_FG | +| `ItFi` | IT_FI | +| `ItFm` | IT_FM | +| `ItFr` | IT_FR | +| `ItGe` | IT_GE | +| `ItGo` | IT_GO | +| `ItGr` | IT_GR | +| `ItIm` | IT_IM | +| `ItIs` | IT_IS | +| `ItKr` | IT_KR | +| `ItLc` | IT_LC | +| `ItLe` | IT_LE | +| `ItLi` | IT_LI | +| `ItLo` | IT_LO | +| `ItLt` | IT_LT | +| `ItLu` | IT_LU | +| `ItMb` | IT_MB | +| `ItMc` | IT_MC | +| `ItMe` | IT_ME | +| `ItMi` | IT_MI | +| `ItMn` | IT_MN | +| `ItMo` | IT_MO | +| `ItMs` | IT_MS | +| `ItMt` | IT_MT | +| `ItNa` | IT_NA | +| `ItNo` | IT_NO | +| `ItNu` | IT_NU | +| `ItOg` | IT_OG | +| `ItOr` | IT_OR | +| `ItOt` | IT_OT | +| `ItPa` | IT_PA | +| `ItPc` | IT_PC | +| `ItPd` | IT_PD | +| `ItPe` | IT_PE | +| `ItPg` | IT_PG | +| `ItPi` | IT_PI | +| `ItPn` | IT_PN | +| `ItPo` | IT_PO | +| `ItPr` | IT_PR | +| `ItPt` | IT_PT | +| `ItPu` | IT_PU | +| `ItPv` | IT_PV | +| `ItPz` | IT_PZ | +| `ItRa` | IT_RA | +| `ItRc` | IT_RC | +| `ItRe` | IT_RE | +| `ItRg` | IT_RG | +| `ItRi` | IT_RI | +| `ItRm` | IT_RM | +| `ItRn` | IT_RN | +| `ItRo` | IT_RO | +| `ItSa` | IT_SA | +| `ItSi` | IT_SI | +| `ItSo` | IT_SO | +| `ItSp` | IT_SP | +| `ItSr` | IT_SR | +| `ItSs` | IT_SS | +| `ItSv` | IT_SV | +| `ItTa` | IT_TA | +| `ItTe` | IT_TE | +| `ItTn` | IT_TN | +| `ItTo` | IT_TO | +| `ItTp` | IT_TP | +| `ItTr` | IT_TR | +| `ItTs` | IT_TS | +| `ItTv` | IT_TV | +| `ItUd` | IT_UD | +| `ItVa` | IT_VA | +| `ItVb` | IT_VB | +| `ItVc` | IT_VC | +| `ItVe` | IT_VE | +| `ItVi` | IT_VI | +| `ItVr` | IT_VR | +| `ItVs` | IT_VS | +| `ItVt` | IT_VT | +| `ItVv` | IT_VV | +| `Ivk` | IVK | +| `Jp01` | JP_01 | +| `Jp02` | JP_02 | +| `Jp03` | JP_03 | +| `Jp04` | JP_04 | +| `Jp05` | JP_05 | +| `Jp06` | JP_06 | +| `Jp07` | JP_07 | +| `Jp08` | JP_08 | +| `Jp09` | JP_09 | +| `Jp10` | JP_10 | +| `Jp11` | JP_11 | +| `Jp12` | JP_12 | +| `Jp13` | JP_13 | +| `Jp14` | JP_14 | +| `Jp15` | JP_15 | +| `Jp16` | JP_16 | +| `Jp17` | JP_17 | +| `Jp18` | JP_18 | +| `Jp19` | JP_19 | +| `Jp20` | JP_20 | +| `Jp21` | JP_21 | +| `Jp22` | JP_22 | +| `Jp23` | JP_23 | +| `Jp24` | JP_24 | +| `Jp25` | JP_25 | +| `Jp26` | JP_26 | +| `Jp27` | JP_27 | +| `Jp28` | JP_28 | +| `Jp29` | JP_29 | +| `Jp30` | JP_30 | +| `Jp31` | JP_31 | +| `Jp32` | JP_32 | +| `Jp33` | JP_33 | +| `Jp34` | JP_34 | +| `Jp35` | JP_35 | +| `Jp36` | JP_36 | +| `Jp37` | JP_37 | +| `Jp38` | JP_38 | +| `Jp39` | JP_39 | +| `Jp40` | JP_40 | +| `Jp41` | JP_41 | +| `Jp42` | JP_42 | +| `Jp43` | JP_43 | +| `Jp44` | JP_44 | +| `Jp45` | JP_45 | +| `Jp46` | JP_46 | +| `Jp47` | JP_47 | +| `Kec` | KEC | +| `Ken` | KEN | +| `Khl` | KHL | +| `Kir` | KIR | +| `Ks` | KS | +| `Ktt` | KTT | +| `Kwl` | KWL | +| `Ky` | KY | +| `La` | LA | +| `Lan` | LAN | +| `Lbh` | LBH | +| `Lce` | LCE | +| `Lds` | LDS | +| `Lec` | LEC | +| `Lew` | LEW | +| `Lin` | LIN | +| `Liv` | LIV | +| `Lmv` | LMV | +| `Lnd` | LND | +| `Lrn` | LRN | +| `Lsb` | LSB | +| `LuD` | LU_D | +| `LuG` | LU_G | +| `LuL` | LU_L | +| `Lut` | LUT | +| `Ma` | MA | +| `Man` | MAN | +| `Mb` | MB | +| `Md` | MD | +| `Mdb` | MDB | +| `Mds` | MDS | +| `Mdw` | MDW | +| `Me` | ME | +| `Mft` | MFT | +| `Mgm` | MGM | +| `Mh` | MH | +| `Mi` | MI | +| `Mik` | MIK | +| `Mln` | MLN | +| `Mn` | MN | +| `Mo` | MO | +| `Mon` | MON | +| `Mp` | MP | +| `Mrt` | MRT | +| `Mry` | MRY | +| `Ms` | MS | +| `Msy` | MSY | +| `Mt` | MT | +| `Mty` | MTY | +| `MxAgu` | MX_AGU | +| `MxBcn` | MX_BCN | +| `MxBcs` | MX_BCS | +| `MxCam` | MX_CAM | +| `MxChh` | MX_CHH | +| `MxChp` | MX_CHP | +| `MxCoa` | MX_COA | +| `MxCol` | MX_COL | +| `MxDif` | MX_DIF | +| `MxDur` | MX_DUR | +| `MxGro` | MX_GRO | +| `MxGua` | MX_GUA | +| `MxHid` | MX_HID | +| `MxJal` | MX_JAL | +| `MxMex` | MX_MEX | +| `MxMic` | MX_MIC | +| `MxMor` | MX_MOR | +| `MxNay` | MX_NAY | +| `MxNle` | MX_NLE | +| `MxOax` | MX_OAX | +| `MxPue` | MX_PUE | +| `MxQue` | MX_QUE | +| `MxRoo` | MX_ROO | +| `MxSin` | MX_SIN | +| `MxSlp` | MX_SLP | +| `MxSon` | MX_SON | +| `MxTab` | MX_TAB | +| `MxTam` | MX_TAM | +| `MxTla` | MX_TLA | +| `MxVer` | MX_VER | +| `MxYuc` | MX_YUC | +| `MxZac` | MX_ZAC | +| `Myl` | MYL | +| `Nay` | NAY | +| `Nb` | NB | +| `Nbl` | NBL | +| `Nc` | NC | +| `Nd` | ND | +| `Ndn` | NDN | +| `Ne` | NE | +| `Nel` | NEL | +| `Net` | NET | +| `Nfk` | NFK | +| `Ngm` | NGM | +| `Nh` | NH | +| `Nj` | NJ | +| `Nl` | NL | +| `NlDr` | NL_DR | +| `NlFl` | NL_FL | +| `NlFr` | NL_FR | +| `NlGe` | NL_GE | +| `NlGr` | NL_GR | +| `Nlk` | NLK | +| `NlLi` | NL_LI | +| `Nln` | NLN | +| `NlNb` | NL_NB | +| `NlNh` | NL_NH | +| `NlOv` | NL_OV | +| `NlUt` | NL_UT | +| `NlZe` | NL_ZE | +| `NlZh` | NL_ZH | +| `Nm` | NM | +| `No01` | NO_01 | +| `No02` | NO_02 | +| `No03` | NO_03 | +| `No04` | NO_04 | +| `No05` | NO_05 | +| `No06` | NO_06 | +| `No07` | NO_07 | +| `No08` | NO_08 | +| `No09` | NO_09 | +| `No10` | NO_10 | +| `No11` | NO_11 | +| `No12` | NO_12 | +| `No14` | NO_14 | +| `No15` | NO_15 | +| `No16` | NO_16 | +| `No17` | NO_17 | +| `No18` | NO_18 | +| `No19` | NO_19 | +| `No20` | NO_20 | +| `No21` | NO_21 | +| `No22` | NO_22 | +| `Nry` | NRY | +| `Ns` | NS | +| `Nsm` | NSM | +| `NswAus` | NSW_AUS | +| `Nt` | NT | +| `NtAus` | NT_AUS | +| `Nta` | NTA | +| `Nth` | NTH | +| `Ntl` | NTL | +| `Ntt` | NTT | +| `Nty` | NTY | +| `Nu` | NU | +| `Nv` | NV | +| `Nwm` | NWM | +| `Nwp` | NWP | +| `Ny` | NY | +| `Nyk` | NYK | +| `Nym` | NYM | +| `Oh` | OH | +| `Ok` | OK | +| `Old` | OLD | +| `Omh` | OMH | +| `On` | ON | +| `Or` | OR | +| `Ork` | ORK | +| `Oxf` | OXF | +| `Pa` | PA | +| `Pe` | PE | +| `Pem` | PEM | +| `Pkn` | PKN | +| `Ply` | PLY | +| `Pol` | POL | +| `Por` | POR | +| `Pow` | POW | +| `Pr` | PR | +| `Pte` | PTE | +| `Pw` | PW | +| `Qc` | QC | +| `QldAus` | QLD_AUS | +| `Rcc` | RCC | +| `Rch` | RCH | +| `Rct` | RCT | +| `Rdb` | RDB | +| `Rdg` | RDG | +| `Rfw` | RFW | +| `Ri` | RI | +| `Ric` | RIC | +| `Rot` | ROT | +| `Rut` | RUT | +| `SaAus` | SA_AUS | +| `Saw` | SAW | +| `Say` | SAY | +| `Sc` | SC | +| `Scb` | SCB | +| `Sd` | SD | +| `Sfk` | SFK | +| `Sft` | SFT | +| `Sgc` | SGC | +| `Sgm` | SGM | +| `Shf` | SHF | +| `Shn` | SHN | +| `Shr` | SHR | +| `Sk` | SK | +| `Skp` | SKP | +| `Slf` | SLF | +| `Slg` | SLG | +| `Slk` | SLK | +| `Sol` | SOL | +| `Som` | SOM | +| `Sos` | SOS | +| `Sry` | SRY | +| `Stb` | STB | +| `Ste` | STE | +| `Stg` | STG | +| `Sth` | STH | +| `Stn` | STN | +| `Sts` | STS | +| `Stt` | STT | +| `Sty` | STY | +| `Swa` | SWA | +| `Swd` | SWD | +| `Swk` | SWK | +| `Syk` | SYK | +| `Tam` | TAM | +| `TasAus` | TAS_AUS | +| `Tfw` | TFW | +| `Thr` | THR | +| `Tn` | TN | +| `Tob` | TOB | +| `Tof` | TOF | +| `Trf` | TRF | +| `Twh` | TWH | +| `Twr` | TWR | +| `Tx` | TX | +| `Tyr` | TYR | +| `Ut` | UT | +| `Va` | VA | +| `Vgl` | VGL | +| `Vi` | VI | +| `VicAus` | VIC_AUS | +| `Vt` | VT | +| `Wa` | WA | +| `WaAus` | WA_AUS | +| `War` | WAR | +| `Wbk` | WBK | +| `Wdu` | WDU | +| `Wft` | WFT | +| `Wgm` | WGM | +| `Wgn` | WGN | +| `Wi` | WI | +| `Wil` | WIL | +| `Wis` | WIS | +| `Wkf` | WKF | +| `Wll` | WLL | +| `Wln` | WLN | +| `Wlv` | WLV | +| `Wmd` | WMD | +| `Wnd` | WND | +| `Wnm` | WNM | +| `Wok` | WOK | +| `Wor` | WOR | +| `Wrl` | WRL | +| `Wrt` | WRT | +| `Wrx` | WRX | +| `Wsm` | WSM | +| `Wsx` | WSX | +| `Wv` | WV | +| `Wy` | WY | +| `Wyk` | WYK | +| `Yor` | YOR | +| `Yt` | YT | +| `Zet` | ZET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SurveyResponse.md b/packages/csharp/docs/Models/Components/SurveyResponse.md new file mode 100644 index 000000000..93b36a0c1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SurveyResponse.md @@ -0,0 +1,12 @@ +# SurveyResponse + +A survey response. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the survey. | | +| `ResponseMethod` | *string* | :heavy_minus_sign: | The method used to capture the survey response. | sample method | +| `Responses` | List<[QuestionResponse](../../Models/Components/QuestionResponse.md)> | :heavy_minus_sign: | The list of question and answers for a survey. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SurveyResponseJson.md b/packages/csharp/docs/Models/Components/SurveyResponseJson.md deleted file mode 100644 index 5365f25c0..000000000 --- a/packages/csharp/docs/Models/Components/SurveyResponseJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# SurveyResponseJson - -A survey response. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the survey. | | -| `ResponseMethod` | *string* | :heavy_minus_sign: | The method used to capture the survey response. | sample method | -| `Responses` | List<[QuestionResponseJson](../../Models/Components/QuestionResponseJson.md)> | :heavy_minus_sign: | The list of question and answers for a survey. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidAmenity.md b/packages/csharp/docs/Models/Components/TravelBidAmenity.md index 3987f524a..8b606940e 100644 --- a/packages/csharp/docs/Models/Components/TravelBidAmenity.md +++ b/packages/csharp/docs/Models/Components/TravelBidAmenity.md @@ -5,14 +5,14 @@ Amenity details for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Type` | [AmenityType](../../Models/Components/AmenityType.md) | :heavy_minus_sign: | Amenity type | amenity | -| `Code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | -| `Category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | -| `Included` | *bool* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | -| `Price` | *double* | :heavy_minus_sign: | The price of the amenity. | 100 | -| `DiscountAmount` | *double* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | -| `InternalCost` | *double* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | -| `Description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Type` | [AmenityType](../../Models/Components/AmenityType.md) | :heavy_minus_sign: | Amenity type | amenity | +| `Code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | +| `Category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | +| `Included` | *bool* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | +| `Price` | *double* | :heavy_minus_sign: | The price of the amenity. | 100 | +| `DiscountAmount` | *double* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | +| `InternalCost` | *double* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | +| `Description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDiscount.md b/packages/csharp/docs/Models/Components/TravelBidDiscount.md index 5e6160b87..9460052e3 100644 --- a/packages/csharp/docs/Models/Components/TravelBidDiscount.md +++ b/packages/csharp/docs/Models/Components/TravelBidDiscount.md @@ -5,8 +5,8 @@ Discount for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidDiscountPropertyRoom](../../Models/Components/TravelBidDiscountPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `Discount` | *long* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `PropertyRoom` | [TravelBidDiscountPropertyRoom](../../Models/Components/TravelBidDiscountPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `Discount` | *long* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeason.md b/packages/csharp/docs/Models/Components/TravelBidFairSeason.md index d55ca1f81..227cff229 100644 --- a/packages/csharp/docs/Models/Components/TravelBidFairSeason.md +++ b/packages/csharp/docs/Models/Components/TravelBidFairSeason.md @@ -5,13 +5,13 @@ The fair season for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Type` | [FairSeasonType](../../Models/Components/FairSeasonType.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | -| `Name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | -| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | -| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | -| `MinLengthOfStay` | *long* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | -| `ReleasePeriod` | *long* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | -| `Rates` | List<[TravelBidFairSeasonRate](../../Models/Components/TravelBidFairSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Type` | [FairSeasonType](../../Models/Components/FairSeasonType.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | +| `Name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | +| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | +| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | +| `MinLengthOfStay` | *long* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | +| `ReleasePeriod` | *long* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | +| `Rates` | List<[TravelBidFairSeasonRate](../../Models/Components/TravelBidFairSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md index c3e1ec3c2..73e518932 100644 --- a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md +++ b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md @@ -5,12 +5,12 @@ The negotiated rates for a property room during the fair season. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidFairSeasonRatePropertyRoom](../../Models/Components/TravelBidFairSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `SingleRate` | *double* | :heavy_minus_sign: | The single room rate. | 100 | -| `DoubleRate` | *double* | :heavy_minus_sign: | The double room rate. | 101 | -| `TripleRate` | *double* | :heavy_minus_sign: | The triple room rate. | 102 | -| `QuadRate` | *double* | :heavy_minus_sign: | The quadruple room rate. | 103 | -| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `PropertyRoom` | [TravelBidFairSeasonRatePropertyRoom](../../Models/Components/TravelBidFairSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `SingleRate` | *double* | :heavy_minus_sign: | The single room rate. | 100 | +| `DoubleRate` | *double* | :heavy_minus_sign: | The double room rate. | 101 | +| `TripleRate` | *double* | :heavy_minus_sign: | The triple room rate. | 102 | +| `QuadRate` | *double* | :heavy_minus_sign: | The quadruple room rate. | 103 | +| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidPolicy.md b/packages/csharp/docs/Models/Components/TravelBidPolicy.md index 2b9c158ed..892041777 100644 --- a/packages/csharp/docs/Models/Components/TravelBidPolicy.md +++ b/packages/csharp/docs/Models/Components/TravelBidPolicy.md @@ -5,12 +5,12 @@ A policy that is associated with a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | -| `Category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | -| `Value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | -| `ValueType` | [PolicyValueType](../../Models/Components/PolicyValueType.md) | :heavy_minus_sign: | Value type of the policy | | -| `Included` | *bool* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | -| `Description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | +| `Category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | +| `Value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | +| `ValueType` | [PolicyValueType](../../Models/Components/PolicyValueType.md) | :heavy_minus_sign: | Value type of the policy | | +| `Included` | *bool* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | +| `Description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidRoom.md b/packages/csharp/docs/Models/Components/TravelBidRoom.md index cda661d0c..1c61bceda 100644 --- a/packages/csharp/docs/Models/Components/TravelBidRoom.md +++ b/packages/csharp/docs/Models/Components/TravelBidRoom.md @@ -5,9 +5,9 @@ A room in a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidRoomPropertyRoom](../../Models/Components/TravelBidRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `Allocation` | *long* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | -| `Order` | *long* | :heavy_minus_sign: | The order of the room in the bid. | 1 | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `PropertyRoom` | [TravelBidRoomPropertyRoom](../../Models/Components/TravelBidRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `Allocation` | *long* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | +| `Order` | *long* | :heavy_minus_sign: | The order of the room in the bid. | 1 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeason.md b/packages/csharp/docs/Models/Components/TravelBidSeason.md index 375f72d99..4cda198ab 100644 --- a/packages/csharp/docs/Models/Components/TravelBidSeason.md +++ b/packages/csharp/docs/Models/Components/TravelBidSeason.md @@ -5,13 +5,13 @@ Season details for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | -| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | -| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | -| `ReleasePeriod` | *long* | :heavy_minus_sign: | Number of release periods. | 1 | -| `WeekendReleasePeriod` | *long* | :heavy_minus_sign: | Number of weekend release periods. | 2 | -| `Rates` | List<[TravelBidSeasonRate](../../Models/Components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the season. | | -| `WeekendRates` | List<[TravelBidSeasonRate](../../Models/Components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | +| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | +| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | +| `ReleasePeriod` | *long* | :heavy_minus_sign: | Number of release periods. | 1 | +| `WeekendReleasePeriod` | *long* | :heavy_minus_sign: | Number of weekend release periods. | 2 | +| `Rates` | List<[TravelBidSeasonRate](../../Models/Components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the season. | | +| `WeekendRates` | List<[TravelBidSeasonRate](../../Models/Components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeasonRate.md b/packages/csharp/docs/Models/Components/TravelBidSeasonRate.md index 342cf1ff9..61e0e7f46 100644 --- a/packages/csharp/docs/Models/Components/TravelBidSeasonRate.md +++ b/packages/csharp/docs/Models/Components/TravelBidSeasonRate.md @@ -5,14 +5,14 @@ The negotiated rates for a property room during a specific season. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidSeasonRatePropertyRoom](../../Models/Components/TravelBidSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `SingleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | -| `DoubleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | -| `TripleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | -| `QuadRate` | *double* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | -| `NlraSingleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | -| `NlraDoubleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | -| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `PropertyRoom` | [TravelBidSeasonRatePropertyRoom](../../Models/Components/TravelBidSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `SingleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | +| `DoubleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | +| `TripleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | +| `QuadRate` | *double* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | +| `NlraSingleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | +| `NlraDoubleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | +| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ 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 132b31b46..de370c69b 100644 --- a/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md +++ b/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md @@ -5,11 +5,11 @@ A tax or fee associated with a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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. | | -| `Notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | -| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `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. | | +| `Notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueDetailsOverview.md b/packages/csharp/docs/Models/Components/VenueDetailsOverview.md new file mode 100644 index 000000000..af6654b7c --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueDetailsOverview.md @@ -0,0 +1,11 @@ +# VenueDetailsOverview + +An overview of venue details containing key identifiers and display properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Venue ID. | b2c3d4e5-f6a7-8901-bcde-f12345678901 | +| `Name` | *string* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueDetailsPatch.md b/packages/csharp/docs/Models/Components/VenueDetailsPatch.md new file mode 100644 index 000000000..30dcb41c9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueDetailsPatch.md @@ -0,0 +1,26 @@ +# VenueDetailsPatch + +Partial update payload for venue details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Type` | [VenueType](../../Models/Components/VenueType.md) | :heavy_minus_sign: | Type of venue.

Values:
- `AQUARIUM_ZOO` — Aquarium/Zoo
- `ARENA_STADIUM` — Arena/Stadium
- `BANQUET_FACILITY` — Banquet Facility
- `BAR_CLUB` — Bar/Club
- `BLANK` — Blank
- `BOUTIQUE_HOTEL` — Boutique Hotel
- `CONFERENCE_CENTER` — Conference Center
- `CONVENTION_CENTER` — Convention Center
- `CORPORATE_OFFICE_SPACE` — Corporate Office Space
- `CVB` — CVB
- `DMC` — Destination Management Company
- `EDUCATIONAL_FACILITY` — Educational Facility
- `ENTERTAINMENT_VENUE` — Entertainment Venue
- `EXPOSITION_CENTER` — Exposition Center
- `GALLERY_MUSEUM` — Gallery/Museum
- `GOLF_COURSE` — Golf Course
- `HOTEL` — Hotel
- `INTERNAL_VENUE` — Internal Venue
- `LUXURY_HOTEL` — Luxury Hotel
- `MOVIE_THEATRE` — Movie Theatre
- `RESORT` — Resort
- `RESTAURANT` — Restaurant
- `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `TimeZone` | *string* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

[Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `Brand` | *string* | :heavy_minus_sign: | Venue brand. Brands vary by venue type. | Quality Hotels | +| `ChainScale` | [VenueDetailsPatchChainScale](../../Models/Components/VenueDetailsPatchChainScale.md) | :heavy_minus_sign: | N/A | UPSCALE_CHAINS | +| `MainPhoneNumber` | *string* | :heavy_minus_sign: | Primary phone number for the venue. | +1-703-555-0100 | +| `MainFaxNumber` | *string* | :heavy_minus_sign: | Primary fax number for the venue. | +1-703-555-0101 | +| `SalesPhoneNumber` | *string* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `SalesFaxNumber` | *string* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `TollFreeNumber` | *string* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `WebsiteAddress` | *string* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `Currency` | [VenueDetailsPatchCurrency](../../Models/Components/VenueDetailsPatchCurrency.md) | :heavy_minus_sign: | N/A | | +| `OpeningDate` | *string* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `Description` | *string* | :heavy_minus_sign: | Venue description. | A premier conference and event venue in the heart of Northern Virginia. | +| `AdditionalInformation` | *string* | :heavy_minus_sign: | Additional information about the venue. | Complimentary parking available for all event attendees. | +| `CancellationPolicy` | *string* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | 48-hour cancellation policy applies for all event bookings. | +| `LocationTypes` | List<[LocationType](../../Models/Components/LocationType.md)> | :heavy_minus_sign: | Location classifications. | | +| `Address` | [VenueDetailsPatchAddress](../../Models/Components/VenueDetailsPatchAddress.md) | :heavy_minus_sign: | Venue address information. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueDetailsPatchAddress.md b/packages/csharp/docs/Models/Components/VenueDetailsPatchAddress.md new file mode 100644 index 000000000..c24ff675b --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueDetailsPatchAddress.md @@ -0,0 +1,16 @@ +# VenueDetailsPatchAddress + +Venue address information. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `StreetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `StreetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `City` | *string* | :heavy_minus_sign: | City. | Vienna | +| `StateProvince` | [StateProvince1](../../Models/Components/StateProvince1.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `ZipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `Country` | [Country](../../Models/Components/Country.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `Directions` | *string* | :heavy_minus_sign: | Directions or instructions for getting to the venue. | Take I-66 West to Exit 67, then follow signs to Trap Road. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueDetailsPatchChainScale.md b/packages/csharp/docs/Models/Components/VenueDetailsPatchChainScale.md new file mode 100644 index 000000000..47509dcf0 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueDetailsPatchChainScale.md @@ -0,0 +1,39 @@ +# VenueDetailsPatchChainScale + +A market segment classification of a venue chain based on Average Daily Rate and other factors. + +Values: +- `BLANK` — Blank +- `ECONOMYCHAINS` — Economy Chains +- `INDEPENDENTS` — Independents +- `LUXURY_CHAINS` — Luxury Chains +- `MIDSCALE_CHAINS` — Midscale Chains +- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains +- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains +- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains +- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains +- `UPSCALE_CHAINS` — Upscale Chains + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueDetailsPatchChainScale.Blank; +``` + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `Blank` | BLANK | +| `Economychains` | ECONOMYCHAINS | +| `Independents` | INDEPENDENTS | +| `LuxuryChains` | LUXURY_CHAINS | +| `MidscaleChains` | MIDSCALE_CHAINS | +| `MidscaleWithFbChains` | MIDSCALE_WITH_FB_CHAINS | +| `MidscaleWithoutFbChains` | MIDSCALE_WITHOUT_FB_CHAINS | +| `UpperMidscaleChains` | UPPER_MIDSCALE_CHAINS | +| `UpperUpscaleChains` | UPPER_UPSCALE_CHAINS | +| `UpscaleChains` | UPSCALE_CHAINS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueDetailsPatchCurrency.md b/packages/csharp/docs/Models/Components/VenueDetailsPatchCurrency.md new file mode 100644 index 000000000..c12429573 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueDetailsPatchCurrency.md @@ -0,0 +1,184 @@ +# VenueDetailsPatchCurrency + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueDetailsPatchCurrency.Usd; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `Usd` | USD | +| `Cad` | CAD | +| `Aud` | AUD | +| `Eur` | EUR | +| `Gbp` | GBP | +| `Hkd` | HKD | +| `Nzd` | NZD | +| `Aed` | AED | +| `Nok` | NOK | +| `Inr` | INR | +| `Mxn` | MXN | +| `Sek` | SEK | +| `Dkk` | DKK | +| `Myr` | MYR | +| `Jpy` | JPY | +| `Sgd` | SGD | +| `Thb` | THB | +| `Idr` | IDR | +| `Krw` | KRW | +| `Cny` | CNY | +| `Twd` | TWD | +| `Rub` | RUB | +| `Chf` | CHF | +| `Czk` | CZK | +| `Huf` | HUF | +| `Qar` | QAR | +| `Zar` | ZAR | +| `Ron` | RON | +| `Hrk` | HRK | +| `Try` | TRY | +| `Brl` | BRL | +| `Php` | PHP | +| `Sar` | SAR | +| `Pln` | PLN | +| `Ars` | ARS | +| `Awg` | AWG | +| `Azn` | AZN | +| `Bsd` | BSD | +| `Bbd` | BBD | +| `Bmd` | BMD | +| `Clp` | CLP | +| `Cop` | COP | +| `Crc` | CRC | +| `Dop` | DOP | +| `Xcd` | XCD | +| `Ils` | ILS | +| `Jmd` | JMD | +| `Lvl` | LVL | +| `Ltl` | LTL | +| `Mdl` | MDL | +| `Ang` | ANG | +| `Omr` | OMR | +| `Ttd` | TTD | +| `Uah` | UAH | +| `Uyu` | UYU | +| `Rsd` | RSD | +| `Afn` | AFN | +| `Amd` | AMD | +| `Aoa` | AOA | +| `Bam` | BAM | +| `Bdt` | BDT | +| `Bgn` | BGN | +| `Bhd` | BHD | +| `Bob` | BOB | +| `Dzd` | DZD | +| `Eek` | EEK | +| `Egp` | EGP | +| `Fjd` | FJD | +| `Gtq` | GTQ | +| `Hnl` | HNL | +| `Isk` | ISK | +| `Jod` | JOD | +| `Kyd` | KYD | +| `Kzt` | KZT | +| `Lbp` | LBP | +| `Mad` | MAD | +| `Ngn` | NGN | +| `Nio` | NIO | +| `Esp` | ESP | +| `Frf` | FRF | +| `Pab` | PAB | +| `Pen` | PEN | +| `Pkr` | PKR | +| `Pyg` | PYG | +| `Svc` | SVC | +| `Syp` | SYP | +| `Vef` | VEF | +| `Vnd` | VND | +| `Xpf` | XPF | +| `Gyd` | GYD | +| `Mop` | MOP | +| `Pgk` | PGK | +| `Xof` | XOF | +| `Xaf` | XAF | +| `Bzd` | BZD | +| `Byr` | BYR | +| `Bwp` | BWP | +| `Bnd` | BND | +| `Bif` | BIF | +| `Khr` | KHR | +| `Cve` | CVE | +| `Kmf` | KMF | +| `Cdf` | CDF | +| `Djf` | DJF | +| `Ern` | ERN | +| `Fkp` | FKP | +| `Gmd` | GMD | +| `Gel` | GEL | +| `Ghs` | GHS | +| `Gip` | GIP | +| `Gnf` | GNF | +| `Htg` | HTG | +| `Kes` | KES | +| `Kwd` | KWD | +| `Kgs` | KGS | +| `Lak` | LAK | +| `Lrd` | LRD | +| `Mkd` | MKD | +| `Mga` | MGA | +| `Mwk` | MWK | +| `Mvr` | MVR | +| `Mro` | MRO | +| `Mur` | MUR | +| `Mnt` | MNT | +| `Mzn` | MZN | +| `Mmk` | MMK | +| `Nad` | NAD | +| `Npr` | NPR | +| `Rwf` | RWF | +| `Shp` | SHP | +| `Wst` | WST | +| `Std` | STD | +| `Sll` | SLL | +| `Sbd` | SBD | +| `Sos` | SOS | +| `Lkr` | LKR | +| `Srd` | SRD | +| `Szl` | SZL | +| `Top` | TOP | +| `Tnd` | TND | +| `Ugx` | UGX | +| `Uzs` | UZS | +| `Vuv` | VUV | +| `Yer` | YER | +| `Zmk` | ZMK | +| `Zwd` | ZWD | +| `Sr` | SR | +| `Etb` | ETB | +| `Gh` | GH | +| `Gwp` | GWP | +| `Iqd` | IQD | +| `Irr` | IRR | +| `Kpw` | KPW | +| `Lsl` | LSL | +| `Rol` | ROL | +| `Sdg` | SDG | +| `Skk` | SKK | +| `Tjs` | TJS | +| `Tmt` | TMT | +| `Tzs` | TZS | +| `All` | ALL | +| `Btn` | BTN | +| `Cup` | CUP | +| `Ld` | LD | +| `Scr` | SCR | +| `Zmw` | ZMW | +| `Zwl` | ZWL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatch.md b/packages/csharp/docs/Models/Components/VenueFacilityPatch.md new file mode 100644 index 000000000..1112ff495 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatch.md @@ -0,0 +1,22 @@ +# VenueFacilityPatch + +Partial update payload for venue facility information. Only fields present in the request body are updated; omitted fields remain unchanged. Set leaf fields to `null` to unset them. For grouped objects, update or clear each child field explicitly instead of setting the entire group to `null`. Field applicability varies by venue type; values supplied for fields that do not apply to the venue's type will be rejected. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `NumberOfMeetingRooms` | *long* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `Space` | [VenueFacilityPatchSpace](../../Models/Components/VenueFacilityPatchSpace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `Sleeping` | [VenueFacilityPatchSleeping](../../Models/Components/VenueFacilityPatchSleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `SingleRate` | [VenueFacilityPatchSingleRate](../../Models/Components/VenueFacilityPatchSingleRate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `DoubleRate` | [VenueFacilityPatchDoubleRate](../../Models/Components/VenueFacilityPatchDoubleRate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `TaxRate` | *double* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `OccupancyRate` | *double* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `YearBuilt` | *long* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `YearRenovated` | *long* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `ProximityFromAirport` | [VenueFacilityPatchProximityFromAirport](../../Models/Components/VenueFacilityPatchProximityFromAirport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `Restrictions` | *string* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `MaximumCapacity` | [VenueFacilityPatchMaximumCapacity](../../Models/Components/VenueFacilityPatchMaximumCapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `EventInsurance` | [VenueFacilityPatchEventInsurance](../../Models/Components/VenueFacilityPatchEventInsurance.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.md new file mode 100644 index 000000000..7011fa678 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.md @@ -0,0 +1,23 @@ +# VenueFacilityPatchDistanceMeasurementUnit + +Unit of measurement for distance. + +Values: +- `MILES` — Miles +- `KILOMETERS` — Kilometers + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueFacilityPatchDistanceMeasurementUnit.Miles; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Miles` | MILES | +| `Kilometers` | KILOMETERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchDoubleRate.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchDoubleRate.md new file mode 100644 index 000000000..150bd6d7a --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchDoubleRate.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchDoubleRate + +Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `Low` | *double* | :heavy_minus_sign: | Lowest published rate for a double-occupancy room. | 149.99 | +| `High` | *double* | :heavy_minus_sign: | Highest published rate for a double-occupancy room. | 299.99 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchEventInsurance.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchEventInsurance.md new file mode 100644 index 000000000..5470f72cb --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchEventInsurance.md @@ -0,0 +1,27 @@ +# VenueFacilityPatchEventInsurance + +Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +Values: +- `BLANK` — Indicates no selection, leaves the field blank +- `REQUIRED` — Required +- `MAY_BE_REQUIRED` — May Be Required +- `NOT_REQUIRED` — Not Required + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueFacilityPatchEventInsurance.Blank; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `Blank` | BLANK | +| `Required` | REQUIRED | +| `MayBeRequired` | MAY_BE_REQUIRED | +| `NotRequired` | NOT_REQUIRED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchMaximumCapacity.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchMaximumCapacity.md new file mode 100644 index 000000000..8e7cb7796 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchMaximumCapacity.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchMaximumCapacity + +Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `Seated` | *long* | :heavy_minus_sign: | Maximum seated capacity at the venue. | 500 | +| `Standing` | *long* | :heavy_minus_sign: | Maximum standing capacity at the venue. | 800 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchMeasurementUnit.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchMeasurementUnit.md new file mode 100644 index 000000000..7e4dc514b --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchMeasurementUnit.md @@ -0,0 +1,23 @@ +# VenueFacilityPatchMeasurementUnit + +Unit of measurement for area or space. + +Values: +- `SQUARE_FEET` — Square Feet +- `SQUARE_METERS` — Square Meters + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueFacilityPatchMeasurementUnit.SquareFeet; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `SquareFeet` | SQUARE_FEET | +| `SquareMeters` | SQUARE_METERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchProximityFromAirport.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchProximityFromAirport.md new file mode 100644 index 000000000..df924245b --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchProximityFromAirport.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchProximityFromAirport + +Distance from the nearest airport. `unit` is required when `distance` is provided. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `Distance` | *double* | :heavy_minus_sign: | Distance from the nearest airport, expressed in `unit`. Up to four digits. | 12.5 | +| `Unit` | [VenueFacilityPatchDistanceMeasurementUnit](../../Models/Components/VenueFacilityPatchDistanceMeasurementUnit.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchSingleRate.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchSingleRate.md new file mode 100644 index 000000000..614cb432b --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchSingleRate.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchSingleRate + +Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `Low` | *double* | :heavy_minus_sign: | Lowest published rate for a single-occupancy room. | 129.99 | +| `High` | *double* | :heavy_minus_sign: | Highest published rate for a single-occupancy room. | 249.99 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchSleeping.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchSleeping.md new file mode 100644 index 000000000..7419a345d --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchSleeping.md @@ -0,0 +1,13 @@ +# VenueFacilityPatchSleeping + +Sleeping room inventory at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `TotalRooms` | *long* | :heavy_minus_sign: | Total number of sleeping rooms at the venue. | 350 | +| `Suites` | *long* | :heavy_minus_sign: | Total number of suites at the venue. | 20 | +| `SingleRooms` | *long* | :heavy_minus_sign: | Total number of single-occupancy rooms at the venue. | 200 | +| `DoubleRooms` | *long* | :heavy_minus_sign: | Total number of double-occupancy rooms at the venue. | 130 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueFacilityPatchSpace.md b/packages/csharp/docs/Models/Components/VenueFacilityPatchSpace.md new file mode 100644 index 000000000..0ebf5c406 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueFacilityPatchSpace.md @@ -0,0 +1,12 @@ +# VenueFacilityPatchSpace + +Facility space measurements at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `UnitOfMeasurement` | [VenueFacilityPatchMeasurementUnit](../../Models/Components/VenueFacilityPatchMeasurementUnit.md) | :heavy_minus_sign: | N/A | | +| `TotalMeetingRoomSpace` | *long* | :heavy_minus_sign: | Total meeting room space at the venue. | 50000 | +| `TotalExhibitSpace` | *long* | :heavy_minus_sign: | Total exhibit space at the venue. | 75000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueType.md b/packages/csharp/docs/Models/Components/VenueType.md new file mode 100644 index 000000000..46dc89139 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueType.md @@ -0,0 +1,65 @@ +# VenueType + +Type of venue. + +Values: +- `AQUARIUM_ZOO` — Aquarium/Zoo +- `ARENA_STADIUM` — Arena/Stadium +- `BANQUET_FACILITY` — Banquet Facility +- `BAR_CLUB` — Bar/Club +- `BLANK` — Blank +- `BOUTIQUE_HOTEL` — Boutique Hotel +- `CONFERENCE_CENTER` — Conference Center +- `CONVENTION_CENTER` — Convention Center +- `CORPORATE_OFFICE_SPACE` — Corporate Office Space +- `CVB` — CVB +- `DMC` — Destination Management Company +- `EDUCATIONAL_FACILITY` — Educational Facility +- `ENTERTAINMENT_VENUE` — Entertainment Venue +- `EXPOSITION_CENTER` — Exposition Center +- `GALLERY_MUSEUM` — Gallery/Museum +- `GOLF_COURSE` — Golf Course +- `HOTEL` — Hotel +- `INTERNAL_VENUE` — Internal Venue +- `LUXURY_HOTEL` — Luxury Hotel +- `MOVIE_THEATRE` — Movie Theatre +- `RESORT` — Resort +- `RESTAURANT` — Restaurant +- `SPECIAL_EVENT_VENUE` — Special Event Venue + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueType.AquariumZoo; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `AquariumZoo` | AQUARIUM_ZOO | +| `ArenaStadium` | ARENA_STADIUM | +| `BanquetFacility` | BANQUET_FACILITY | +| `BarClub` | BAR_CLUB | +| `Blank` | BLANK | +| `BoutiqueHotel` | BOUTIQUE_HOTEL | +| `ConferenceCenter` | CONFERENCE_CENTER | +| `ConventionCenter` | CONVENTION_CENTER | +| `CorporateOfficeSpace` | CORPORATE_OFFICE_SPACE | +| `Cvb` | CVB | +| `Dmc` | DMC | +| `EducationalFacility` | EDUCATIONAL_FACILITY | +| `EntertainmentVenue` | ENTERTAINMENT_VENUE | +| `ExpositionCenter` | EXPOSITION_CENTER | +| `GalleryMuseum` | GALLERY_MUSEUM | +| `GolfCourse` | GOLF_COURSE | +| `Hotel` | HOTEL | +| `InternalVenue` | INTERNAL_VENUE | +| `LuxuryHotel` | LUXURY_HOTEL | +| `MovieTheatre` | MOVIE_THEATRE | +| `Resort` | RESORT | +| `Restaurant` | RESTAURANT | +| `SpecialEventVenue` | SPECIAL_EVENT_VENUE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf1.md b/packages/csharp/docs/Models/Components/ZeroAllOf1.md index 5b3ac88d2..182f927f3 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf1.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf1.md @@ -1,12 +1,11 @@ # ZeroAllOf1 -Represents an error response with no additional details. +Details of a location. ## 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 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | +| `Name` | *string* | :heavy_check_mark: | The name of the location. | Conference Room B | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf2.md b/packages/csharp/docs/Models/Components/ZeroAllOf2.md index 81a175f7a..3cc48b50d 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf2.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf2.md @@ -1,11 +1,28 @@ # ZeroAllOf2 -Details of a location. +Details of an event appointment. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | -| `Name` | *string* | :heavy_check_mark: | The name of the location. | Conference Room B | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID representing the appointment. | 0046e875-79a5-4851-8332-da105d58088a | +| `Code` | *string* | :heavy_minus_sign: | The unique appointment code in Cvent or unique reference id of an appointment in the external systems. | APPT-0001 | +| `Name` | *string* | :heavy_check_mark: | The name of the appointment. | Meeting with Cvent | +| `Description` | *string* | :heavy_minus_sign: | The description of the appointment. | Discuss about marketing. | +| `Start` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted start date/time of the appointment. | 2019-04-12T15:20:00.000Z | +| `End` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted end date/time of the appointment. | 2019-04-12T15:30:00.000Z | +| `Status` | [AppointmentStatusJson](../../Models/Components/AppointmentStatusJson.md) | :heavy_minus_sign: | Denotes the status of an appointment. | CONFIRMED | +| `Location` | [LocationAllOf](../../Models/Components/LocationAllOf.md) | :heavy_minus_sign: | The location of the appointment. | | +| `Type` | [TypeAllOf](../../Models/Components/TypeAllOf.md) | :heavy_check_mark: | The type of the appointment. | | +| `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 | +| `AppointmentEvent` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| `Participants` | List<[AppointmentParticipantJson](../../Models/Components/AppointmentParticipantJson.md)> | :heavy_minus_sign: | Collection of attendees participating in this appointment, and their related details. | | +| `AutoAcceptAttendees` | *bool* | :heavy_minus_sign: | True indicates participants will be automatically marked as accepted for the appointment. | false | +| `EnforceScheduleRules` | *bool* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | +| ~~`Modified`~~ | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | +| `Deleted` | *bool* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf3.md b/packages/csharp/docs/Models/Components/ZeroAllOf3.md index f4aae2d23..54de33503 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf3.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf3.md @@ -1,28 +1,12 @@ # ZeroAllOf3 -Details of an event appointment. +Represents an error response with no additional details. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID representing the appointment. | 0046e875-79a5-4851-8332-da105d58088a | -| `Code` | *string* | :heavy_minus_sign: | The unique appointment code in Cvent or unique reference id of an appointment in the external systems. | APPT-0001 | -| `Name` | *string* | :heavy_check_mark: | The name of the appointment. | Meeting with Cvent | -| `Description` | *string* | :heavy_minus_sign: | The description of the appointment. | Discuss about marketing. | -| `Start` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted start date/time of the appointment. | 2019-04-12T15:20:00.000Z | -| `End` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted end date/time of the appointment. | 2019-04-12T15:30:00.000Z | -| `Status` | [AppointmentStatusJson](../../Models/Components/AppointmentStatusJson.md) | :heavy_minus_sign: | Denotes the status of an appointment. | CONFIRMED | -| `Location` | [LocationAllOf](../../Models/Components/LocationAllOf.md) | :heavy_minus_sign: | The location of the appointment. | | -| `Type` | [TypeAllOf](../../Models/Components/TypeAllOf.md) | :heavy_check_mark: | The type of the appointment. | | -| `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 | -| `AppointmentEvent` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `Participants` | List<[AppointmentParticipantJson](../../Models/Components/AppointmentParticipantJson.md)> | :heavy_minus_sign: | Collection of attendees participating in this appointment, and their related details. | | -| `AutoAcceptAttendees` | *bool* | :heavy_minus_sign: | True indicates participants will be automatically marked as accepted for the appointment. | false | -| `EnforceScheduleRules` | *bool* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | -| ~~`Modified`~~ | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | -| `Deleted` | *bool* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf4.md b/packages/csharp/docs/Models/Components/ZeroAllOf4.md index 6bcf6e7b3..03217adf5 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf4.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf4.md @@ -1,13 +1,14 @@ # ZeroAllOf4 -Booth staff for an activity. +A transaction reconciliation record. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor booth staff. | | -| `FirstName` | *string* | :heavy_minus_sign: | The first name of the booth staff that captured the lead. | John | -| `LastName` | *string* | :heavy_minus_sign: | The last name of the booth staff that captured the lead. | Doe | -| `Email` | *string* | :heavy_minus_sign: | The email address of the booth staff that captured the lead. | h.potterfield@test.com | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `BudgetItem` | [BudgetItemAllOf](../../Models/Components/BudgetItemAllOf.md) | :heavy_minus_sign: | The identifier of reconciled budget item. | | +| `Status` | [ReconciliationStatusJson](../../Models/Components/ReconciliationStatusJson.md) | :heavy_minus_sign: | This is used to denote the reconciliation status for a transaction. | Reconciled | +| `Amount` | *double* | :heavy_minus_sign: | Reconciliation amount. | 100.5 | +| `ReconciledBy` | *string* | :heavy_minus_sign: | Reconciled by user. | Test User | +| `ReconciledDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date and time for Reconciled date. | 2020-02-07T09:37:50Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf5.md b/packages/csharp/docs/Models/Components/ZeroAllOf5.md index b5e928f91..f40ec1866 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf5.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf5.md @@ -1,11 +1,13 @@ # ZeroAllOf5 -The question that was answered. +Represents an error response for the checkin APIs that includes a unique id. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | +| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf6.md b/packages/csharp/docs/Models/Components/ZeroAllOf6.md index b9b9a8656..2210f3559 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf6.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf6.md @@ -1,14 +1,17 @@ # ZeroAllOf6 -A transaction reconciliation record. +Information about housing event with key information, providing a summarized view. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `BudgetItem` | [BudgetItemAllOf](../../Models/Components/BudgetItemAllOf.md) | :heavy_minus_sign: | The identifier of reconciled budget item. | | -| `Status` | [ReconciliationStatusJson](../../Models/Components/ReconciliationStatusJson.md) | :heavy_minus_sign: | This is used to denote the reconciliation status for a transaction. | Reconciled | -| `Amount` | *double* | :heavy_minus_sign: | Reconciliation amount. | 100.5 | -| `ReconciledBy` | *string* | :heavy_minus_sign: | Reconciled by user. | Test User | -| `ReconciledDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date and time for Reconciled date. | 2020-02-07T09:37:50Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | +| `Name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | +| `Start` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | +| `End` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | +| `CutOff` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | +| `TimeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | +| `Venue` | [VenueJson1](../../Models/Components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | +| `Status` | [HousingEventStatusesJson](../../Models/Components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf7.md b/packages/csharp/docs/Models/Components/ZeroAllOf7.md deleted file mode 100644 index e26e5f6c1..000000000 --- a/packages/csharp/docs/Models/Components/ZeroAllOf7.md +++ /dev/null @@ -1,13 +0,0 @@ -# ZeroAllOf7 - -Represents an error response for the checkin APIs that includes a unique id. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | -| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf8.md b/packages/csharp/docs/Models/Components/ZeroAllOf8.md deleted file mode 100644 index 424bd7dd8..000000000 --- a/packages/csharp/docs/Models/Components/ZeroAllOf8.md +++ /dev/null @@ -1,17 +0,0 @@ -# ZeroAllOf8 - -Information about housing event with key information, providing a summarized view. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | -| `Name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | -| `Start` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | -| `End` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | -| `CutOff` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | -| `TimeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | -| `Venue` | [VenueJson1](../../Models/Components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | -| `Status` | [HousingEventStatusesJson](../../Models/Components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/ErrorResponse.md b/packages/csharp/docs/Models/Errors/ErrorResponse.md index 0441459d5..ded3236a9 100644 --- a/packages/csharp/docs/Models/Errors/ErrorResponse.md +++ b/packages/csharp/docs/Models/Errors/ErrorResponse.md @@ -10,4 +10,4 @@ Represents an error response with additional details of cascading error messages | `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 +| `Details` | List<[ZeroAllOf3](../../Models/Components/ZeroAllOf3.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/SegmentsErrorResponse.md b/packages/csharp/docs/Models/Errors/SegmentsErrorResponse.md index 7a19a9ec8..a98f580ee 100644 --- a/packages/csharp/docs/Models/Errors/SegmentsErrorResponse.md +++ b/packages/csharp/docs/Models/Errors/SegmentsErrorResponse.md @@ -10,5 +10,5 @@ Segments error response details. | `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. | | +| `Details` | List<[ZeroAllOf3](../../Models/Components/ZeroAllOf3.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | | `ValidationCode` | [ValidationCode](../../Models/Errors/ValidationCode.md) | :heavy_minus_sign: | Business validation code for bad requests. | SEGMENTS_PER_EVENT_LIMIT_REACHED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateMeetingRequestRequest.md b/packages/csharp/docs/Models/Requests/CreateMeetingRequestRequest.md index fc66f8bef..31deb6b47 100644 --- a/packages/csharp/docs/Models/Requests/CreateMeetingRequestRequest.md +++ b/packages/csharp/docs/Models/Requests/CreateMeetingRequestRequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `SkipRequiredQuestionValidation` | *bool* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | -| `RequestBody` | List<[MeetingRequestCreateJson](../../Models/Components/MeetingRequestCreateJson.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be created per call. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `SkipRequiredQuestionValidation` | *bool* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | +| `RequestBody` | List<[MeetingRequestCreate](../../Models/Components/MeetingRequestCreate.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be created per call. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateMeetingRequestResponse.md b/packages/csharp/docs/Models/Requests/CreateMeetingRequestResponse.md index dda3b4564..bf05b4e9d 100644 --- a/packages/csharp/docs/Models/Requests/CreateMeetingRequestResponse.md +++ b/packages/csharp/docs/Models/Requests/CreateMeetingRequestResponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `MeetingRequestBulkResponse` | List<[MeetingRequestBulkResponseItemJson](../../Models/Components/MeetingRequestBulkResponseItemJson.md)> | :heavy_minus_sign: | Meeting request(s) were successfully created. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `MeetingRequestBulkResponse` | List<[MeetingRequestBulkResponseItem](../../Models/Components/MeetingRequestBulkResponseItem.md)> | :heavy_minus_sign: | Meeting request(s) were successfully created. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateMeetingRoomRequest.md b/packages/csharp/docs/Models/Requests/CreateMeetingRoomRequest.md new file mode 100644 index 000000000..7be875285 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/CreateMeetingRoomRequest.md @@ -0,0 +1,9 @@ +# CreateMeetingRoomRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `MeetingRoom` | [MeetingRoom](../../Models/Components/MeetingRoom.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateMeetingRoomResponse.md b/packages/csharp/docs/Models/Requests/CreateMeetingRoomResponse.md new file mode 100644 index 000000000..328d22cf7 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/CreateMeetingRoomResponse.md @@ -0,0 +1,10 @@ +# CreateMeetingRoomResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingMeetingRoom` | [ExistingMeetingRoom](../../Models/Components/ExistingMeetingRoom.md) | :heavy_minus_sign: | Meeting room created successfully. | +| `Headers` | Dictionary> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetAirActualDetailRequest.md b/packages/csharp/docs/Models/Requests/GetAirActualDetailRequest.md index 3a928d126..94dc0b262 100644 --- a/packages/csharp/docs/Models/Requests/GetAirActualDetailRequest.md +++ b/packages/csharp/docs/Models/Requests/GetAirActualDetailRequest.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `Expand` | List<[ExpandAirActualQuestionAnswer](../../Models/Components/ExpandAirActualQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* airActualDetails.airActualAnswers.question (List Event Questions)
| airActualDetails.airActualAnswers.question | | `Sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

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

The following fields are sortable:
* airActualDetails.name
* airActualDetails.lastModified
where i <= limit
| airActualDetails.name:DESC,airActualDetails.lastModified:ASC | -| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetAirRequestsRequest.md b/packages/csharp/docs/Models/Requests/GetAirRequestsRequest.md index 9986e4bd7..b416dba36 100644 --- a/packages/csharp/docs/Models/Requests/GetAirRequestsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetAirRequestsRequest.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `Sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

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

The following fields are sortable:
* airRequestDetails.requesterFirstName
* airRequestDetails.requesterLastName
* airRequestDetails.lastModified
| airRequestDetails.requesterFirstName:DESC,airRequestDetails.requesterLastName:ASC | | `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `Expand` | List<[ExpandAirRequestQuestionAnswer](../../Models/Components/ExpandAirRequestQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* airRequestDetails.airRequestAnswers.question (List Event Questions)
| airRequestDetails.airRequestAnswers.question | -| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `Expand` | List<[ExpandAirRequestQuestionAnswer](../../Models/Components/ExpandAirRequestQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* airRequestDetails.airRequestAnswers.question (List Event Questions)
| airRequestDetails.airRequestAnswers.question | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetAlternateTravelAnswersRequest.md b/packages/csharp/docs/Models/Requests/GetAlternateTravelAnswersRequest.md index 2f3615d86..30a85ae5e 100644 --- a/packages/csharp/docs/Models/Requests/GetAlternateTravelAnswersRequest.md +++ b/packages/csharp/docs/Models/Requests/GetAlternateTravelAnswersRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetBudgetAllocationsRequest.md b/packages/csharp/docs/Models/Requests/GetBudgetAllocationsRequest.md index bcb54d32a..f844752ad 100644 --- a/packages/csharp/docs/Models/Requests/GetBudgetAllocationsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetBudgetAllocationsRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|:-----------------\|:-----------------------------\|
\| budgetVersion.id \| `eq` \|
\| budgetItem.id \| `eq` \|
\| category.id \| `eq`, `ne` \|
\| subcategory.id \| `eq`, `ne` \|
\| generalLedger.id \| `eq`, `ne` \|
\| value \| `lt`, `le`, `gt`, `ge`, `eq` \|

The following logical operators are supported for combining filters:
* and
* or
| category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000 | -| `Id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
\|:-----------------\|:-----------------------------\|
\| budgetVersion.id \| `eq` \|
\| budgetItem.id \| `eq` \|
\| category.id \| `eq`, `ne` \|
\| subcategory.id \| `eq`, `ne` \|
\| generalLedger.id \| `eq`, `ne` \|
\| value \| `lt`, `le`, `gt`, `ge`, `eq` \|

The following logical operators are supported for combining filters:
* and
* or
| category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetEventFeaturesRequest.md b/packages/csharp/docs/Models/Requests/GetEventFeaturesRequest.md index 8f7dadc36..b5c4ee1ca 100644 --- a/packages/csharp/docs/Models/Requests/GetEventFeaturesRequest.md +++ b/packages/csharp/docs/Models/Requests/GetEventFeaturesRequest.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `Locale` | *string* | :heavy_minus_sign: | Locale code in IETF Language tag format. Indicates desired locale of return values. | en-US | -| `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 \|
\|---------\|-----------\|
\| enabled \| `eq` \|
| enabled eq 'true' | -| `Id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
\|---------\|-----------\|
\| enabled \| `eq` \|
| enabled eq 'true' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetEventSurveyQuestionsRequest.md b/packages/csharp/docs/Models/Requests/GetEventSurveyQuestionsRequest.md index 7936a6325..a647f9ed4 100644 --- a/packages/csharp/docs/Models/Requests/GetEventSurveyQuestionsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetEventSurveyQuestionsRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | -| `Id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetEventSurveyResponsesRequest.md b/packages/csharp/docs/Models/Requests/GetEventSurveyResponsesRequest.md index a8665727d..02aa967e7 100644 --- a/packages/csharp/docs/Models/Requests/GetEventSurveyResponsesRequest.md +++ b/packages/csharp/docs/Models/Requests/GetEventSurveyResponsesRequest.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|---------------\|-------------\|
\| id \| `eq`, `ne` \|
\| respondent.id \| `eq`, `ne` \|
\| session.id \| `eq`, `ne` \|
\| speaker.id \| `eq`, `ne` \|
\| question.id \| `eq`, `ne` \|
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | -| `Id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
\|---------------\|-------------\|
\| id \| `eq`, `ne` \|
\| respondent.id \| `eq`, `ne` \|
\| session.id \| `eq`, `ne` \|
\| speaker.id \| `eq`, `ne` \|
\| question.id \| `eq`, `ne` \|
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetEventSurveysRequest.md b/packages/csharp/docs/Models/Requests/GetEventSurveysRequest.md index 146ca3856..c5fae0ef6 100644 --- a/packages/csharp/docs/Models/Requests/GetEventSurveysRequest.md +++ b/packages/csharp/docs/Models/Requests/GetEventSurveysRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|----------\|-------------\|--------------------------------\|
\| id \| `eq`, `ne` \| chapter ID of the event survey \|
\| type \| `eq`, `ne` \| \|
\| sessions \| `eq`, `ne` \| \|

The following logical operators are supported for combining filters:
* `and`
* `or`
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | -| `Id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|----------\|-------------\|--------------------------------\|
\| id \| `eq`, `ne` \| chapter ID of the event survey \|
\| type \| `eq`, `ne` \| \|
\| sessions \| `eq`, `ne` \| \|

The following logical operators are supported for combining filters:
* `and`
* `or`
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetHotelRequestsRequest.md b/packages/csharp/docs/Models/Requests/GetHotelRequestsRequest.md index 0edf85ec2..5808737e5 100644 --- a/packages/csharp/docs/Models/Requests/GetHotelRequestsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetHotelRequestsRequest.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `Expand` | List<[ExpandHotelRequestQuestionAnswer](../../Models/Components/ExpandHotelRequestQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* hotelRequestDetails.hotelRequestAnswers.question (List Event Questions)
| hotelRequestDetails.hotelRequestAnswers.question | | `Sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

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

The following fields are sortable:
* hotelRequestDetails.requesterFirstName
* hotelRequestDetails.requesterLastName
* hotelRequestDetails.lastModified
| hotelRequestDetails.requesterFirstName:DESC,hotelRequestDetails.requesterLastName:ASC | -| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetHousingReservationRequestsRequest.md b/packages/csharp/docs/Models/Requests/GetHousingReservationRequestsRequest.md index 8e83dc616..68f3b95f7 100644 --- a/packages/csharp/docs/Models/Requests/GetHousingReservationRequestsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetHousingReservationRequestsRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `Id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetMeetingRoomOverviewRequest.md b/packages/csharp/docs/Models/Requests/GetMeetingRoomOverviewRequest.md new file mode 100644 index 000000000..fdca54584 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetMeetingRoomOverviewRequest.md @@ -0,0 +1,9 @@ +# GetMeetingRoomOverviewRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `MeetingRoomId` | *string* | :heavy_check_mark: | Unique identifier for a meeting room. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetMeetingRoomOverviewResponse.md b/packages/csharp/docs/Models/Requests/GetMeetingRoomOverviewResponse.md new file mode 100644 index 000000000..fd356b02d --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetMeetingRoomOverviewResponse.md @@ -0,0 +1,9 @@ +# GetMeetingRoomOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `MeetingRoomOverview` | [MeetingRoomOverview](../../Models/Components/MeetingRoomOverview.md) | :heavy_minus_sign: | Successfully retrieved the meeting room overview. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetOrderItemsRequest.md b/packages/csharp/docs/Models/Requests/GetOrderItemsRequest.md index c768a6ae0..55792b727 100644 --- a/packages/csharp/docs/Models/Requests/GetOrderItemsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetOrderItemsRequest.md @@ -11,4 +11,4 @@ | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|--------------\|------------------------------------\|
\| id \| `eq`, `ne` \|
\| attendee.id \| `eq`, `ne` \|
\| event.id \| `eq`, `ne` \|
\| order.id \| `eq`, `ne` \|
\| product.id \| `eq`, `ne` \|
\| product.type \| `eq`, `ne` \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (product.id eq '65322e75-076f-4070-a6e6-3315c581728d' OR product.id eq 'e1874067-a5ed-4111-ac8a-63de9aa18929') | -| `Deleted` | *bool* | :heavy_minus_sign: | This sets whether or not to fetch deleted order items in the response. If set to true, the response will include records for the deleted order items.
| | \ No newline at end of file +| `Deleted` | *bool* | :heavy_minus_sign: | When `true`, includes soft-deleted records in the response. Defaults to `false`. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetOrdersRequest.md b/packages/csharp/docs/Models/Requests/GetOrdersRequest.md index 126d0f435..814c3ec67 100644 --- a/packages/csharp/docs/Models/Requests/GetOrdersRequest.md +++ b/packages/csharp/docs/Models/Requests/GetOrdersRequest.md @@ -11,4 +11,4 @@ | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|--------------\|------------------------------------\|
\| id \| `eq`, `ne` \|
\| attendee.id \| `eq`, `ne` \|
\| event.id \| `eq`, `ne` \|
\| type \| `eq`, `ne` \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (type eq 'Online Charge' OR type eq 'Online Refund') | -| `Deleted` | *bool* | :heavy_minus_sign: | This sets whether or not to fetch deleted orders in the response. If set to true, the response will include records for the deleted orders.
| | \ No newline at end of file +| `Deleted` | *bool* | :heavy_minus_sign: | When `true`, includes soft-deleted records in the response. Defaults to `false`. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetStandardSurveyEmailTemplatesRequest.md b/packages/csharp/docs/Models/Requests/GetStandardSurveyEmailTemplatesRequest.md index ace98fe1d..a2f5adac4 100644 --- a/packages/csharp/docs/Models/Requests/GetStandardSurveyEmailTemplatesRequest.md +++ b/packages/csharp/docs/Models/Requests/GetStandardSurveyEmailTemplatesRequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | -| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetStandardSurveyQuestionsRequest.md b/packages/csharp/docs/Models/Requests/GetStandardSurveyQuestionsRequest.md index 1b0dac0a4..874c49568 100644 --- a/packages/csharp/docs/Models/Requests/GetStandardSurveyQuestionsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetStandardSurveyQuestionsRequest.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | -| `SurveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetVenueDetailsOverviewRequest.md b/packages/csharp/docs/Models/Requests/GetVenueDetailsOverviewRequest.md new file mode 100644 index 000000000..e225c2056 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetVenueDetailsOverviewRequest.md @@ -0,0 +1,8 @@ +# GetVenueDetailsOverviewRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetVenueDetailsOverviewResponse.md b/packages/csharp/docs/Models/Requests/GetVenueDetailsOverviewResponse.md new file mode 100644 index 000000000..105630c86 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetVenueDetailsOverviewResponse.md @@ -0,0 +1,9 @@ +# GetVenueDetailsOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `VenueDetailsOverview` | [VenueDetailsOverview](../../Models/Components/VenueDetailsOverview.md) | :heavy_minus_sign: | Successfully retrieved the venue details overview. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListAttendeesRequest.md b/packages/csharp/docs/Models/Requests/ListAttendeesRequest.md index 1043cb33a..6398b524e 100644 --- a/packages/csharp/docs/Models/Requests/ListAttendeesRequest.md +++ b/packages/csharp/docs/Models/Requests/ListAttendeesRequest.md @@ -3,13 +3,13 @@ ## 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 | -| `Expand` | List<[Expand](../../Models/Components/Expand.md)> | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
The expanded entity is retrieved and displayed inline for each specified expand value.

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

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

The respective scopes for each expansion are required.

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

The following fields are sortable:
* contact.firstName
* contact.lastName
* contact.title
* contact.company
* registeredAt
* checkIn
| contact.company:DESC,contact.title:ASC | -| `IncludeDeletedGuests` | *bool* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
The `deletedGuest` filter has no effect unless this parameter is `true`.
| | -| `Filter` | *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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------\|
\| event.id \| `eq`, `ne` \| \|
\| id \| `eq`, `ne` \| \|
\| confirmationNumber \| `eq`, `ne` \| \|
\| checkedIn \| `eq`, `ne` \| \|
\| checkIn \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| checkOut \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationPath.id \| `eq`, `ne` \| \|
\| invitationList.id \| `eq`, `ne` \| \|
\| registrationType.id \| `eq`, `ne`, `is null`, `is not null`, `is empty`, `is not empty` \| \|
\| referenceId \| `eq`, `ne` \| \|
\| externalReference.type \| `eq` \| \|
\| externalReference.id \| `eq` \| \|
\| externalReference.referenceId \| `eq` \| \|
\| note \| `eq`, `ne` \| \|
\| guest \| `eq`, `ne` \| \|
\| group.leader \| `eq`, `ne` \| \|
\| group.id \| `eq`, `ne` \| \|
\| unsubscribed \| `eq`, `ne` \| **DEPRECATED**: Please use PUT /attendees/{id}/email-subscriptions instead \|
\| registeredAt \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| invitedBy \| `eq`, `ne` \| \|
\| responseMethod \| `eq`, `ne` \| \|
\| status \| `eq`, `ne` \| \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated when any field in the response has changed. Used by the 'before' and 'after' filters. \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| contact.id \| `eq`, `ne` \| \|
\| visibility \| `eq`, `ne` \| \|
\| contact.title \| `eq`, `ne`, `sw` \| \|
\| contact.company \| `eq`, `ne`, `sw` \| \|
\| contact.firstName \| `eq`, `ne`, `sw` \| \|
\| contact.lastName \| `eq`, `ne`, `sw` \| \|
\| answers.question.{question id} \| `eq`, `ne` \| \|
\| contact.email \| `eq`, `ne`, `sw` \| \|
\| attendeeLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated only when some field other than contact.* has changed. Not used by the 'before' and 'after' filters. \|
\| appointmentGroup.id \| `eq`, `ne` \| \|
\| contact.deleted \| `eq`, `ne` \| \|
\| primaryId \| `eq`, `ne` \| \|
\| deletedGuest \| `eq`, `ne` \| Filter returns guests marked as deleted. This filter works only when the query parameter `includeDeletedGuests` is `true`. \|
| contact.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or checkedIn eq 'true' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `Expand` | List<[Expand](../../Models/Components/Expand.md)> | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
The expanded entity is retrieved and displayed inline for each specified expand value.

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

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

The respective scopes for each expansion are required.

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

The following fields are sortable:
* contact.firstName
* contact.lastName
* contact.title
* contact.company
* registeredAt
* checkIn
| contact.company:DESC,contact.title:ASC | +| `IncludeDeletedGuests` | *bool* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
The `deletedGuest` filter has no effect unless this parameter is `true`.
| | +| `Filter` | *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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------\|
\| event.id \| `eq`, `ne` \| \|
\| id \| `eq`, `ne` \| \|
\| confirmationNumber \| `eq`, `ne` \| \|
\| checkedIn \| `eq`, `ne` \| \|
\| checkIn \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| checkOut \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationPath.id \| `eq`, `ne` \| \|
\| invitationList.id \| `eq`, `ne` \| \|
\| registrationType.id \| `eq`, `ne`, `is null`, `is not null`, `is empty`, `is not empty` \| \|
\| referenceId \| `eq`, `ne` \| \|
\| externalReference.type \| `eq` \| \|
\| externalReference.id \| `eq` \| \|
\| externalReference.referenceId \| `eq` \| \|
\| note \| `eq`, `ne` \| \|
\| guest \| `eq`, `ne` \| \|
\| group.leader \| `eq`, `ne` \| \|
\| group.id \| `eq`, `ne` \| \|
\| unsubscribed \| `eq`, `ne` \| Read-only. To update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) \|
\| registeredAt \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| invitedBy \| `eq`, `ne` \| \|
\| responseMethod \| `eq`, `ne` \| \|
\| status \| `eq`, `ne` \| \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated when any field in the response has changed. Used by the 'before' and 'after' filters. \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| contact.id \| `eq`, `ne` \| \|
\| visibility \| `eq`, `ne` \| \|
\| contact.title \| `eq`, `ne`, `sw` \| \|
\| contact.company \| `eq`, `ne`, `sw` \| \|
\| contact.firstName \| `eq`, `ne`, `sw` \| \|
\| contact.lastName \| `eq`, `ne`, `sw` \| \|
\| answers.question.{question id} \| `eq`, `ne` \| \|
\| contact.email \| `eq`, `ne`, `sw` \| \|
\| attendeeLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated only when some field other than contact.* has changed. Not used by the 'before' and 'after' filters. \|
\| appointmentGroup.id \| `eq`, `ne` \| \|
\| contact.deleted \| `eq`, `ne` \| \|
\| primaryId \| `eq`, `ne` \| \|
\| deletedGuest \| `eq`, `ne` \| Filter returns guests marked as deleted. This filter works only when the query parameter `includeDeletedGuests` is `true`. \|
| contact.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or checkedIn eq 'true' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListBulkJobResultRequest.md b/packages/csharp/docs/Models/Requests/ListBulkJobResultRequest.md index e89610433..f712fcbc3 100644 --- a/packages/csharp/docs/Models/Requests/ListBulkJobResultRequest.md +++ b/packages/csharp/docs/Models/Requests/ListBulkJobResultRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | A uuid path parameter. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | -| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `Filter` | *string* | :heavy_minus_sign: | A filter query string narrows search results and supports the combination of logical and comparison operators.
The filter adheres to the pattern filter='field' comparisonType 'value'.

These are the comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne

The following fields are filterable:
* failed (eq\|ne)
| failed eq "true" | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | A uuid path parameter. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `Filter` | *string* | :heavy_minus_sign: | A filter query string narrows search results and supports the combination of logical and comparison operators.
The filter adheres to the pattern filter='field' comparisonType 'value'.

These are the comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne

The following fields are filterable:
* failed (eq\|ne)

**Note:** this filters for the top-level HTTP status of the target operation.
For operations that return 207 (Multi-Status), filter results may not capture all failed records.
Inspect individual record statuses in the `data` field for a complete picture.
| failed eq "true" | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListEventWeblinksRequest.md b/packages/csharp/docs/Models/Requests/ListEventWeblinksRequest.md index e7bfb52a5..f21e07e27 100644 --- a/packages/csharp/docs/Models/Requests/ListEventWeblinksRequest.md +++ b/packages/csharp/docs/Models/Requests/ListEventWeblinksRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `Locale` | *string* | :heavy_minus_sign: | Locale code in IETF Language tag format. Indicates desired locale of return values. | en-US | -| `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | | -| `Id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListMeetingRoomsOverviewsRequest.md b/packages/csharp/docs/Models/Requests/ListMeetingRoomsOverviewsRequest.md new file mode 100644 index 000000000..c16d1a1ab --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListMeetingRoomsOverviewsRequest.md @@ -0,0 +1,11 @@ +# ListMeetingRoomsOverviewsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous request. This must be a valid UUID v4 if provided. This will override any other pageable parameters provided. | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results to data that matches your criteria. See [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details. Supported fields and operators are listed below:

* `hiddenOnProfile` (`eq`)
| hiddenOnProfile eq 'false' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListMeetingRoomsOverviewsResponse.md b/packages/csharp/docs/Models/Requests/ListMeetingRoomsOverviewsResponse.md new file mode 100644 index 000000000..e79dd2712 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListMeetingRoomsOverviewsResponse.md @@ -0,0 +1,9 @@ +# ListMeetingRoomsOverviewsResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `MeetingRoomsOverviewResponse` | [MeetingRoomsOverviewResponse](../../Models/Components/MeetingRoomsOverviewResponse.md) | :heavy_minus_sign: | Successfully retrieved overview of meeting rooms. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchMeetingRoomRequest.md b/packages/csharp/docs/Models/Requests/PatchMeetingRoomRequest.md new file mode 100644 index 000000000..fefc0eb11 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchMeetingRoomRequest.md @@ -0,0 +1,10 @@ +# PatchMeetingRoomRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `MeetingRoomId` | *string* | :heavy_check_mark: | Unique identifier for a meeting room. | | +| `PatchMeetingRoom` | [PatchMeetingRoom](../../Models/Components/PatchMeetingRoom.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchMeetingRoomResponse.md b/packages/csharp/docs/Models/Requests/PatchMeetingRoomResponse.md new file mode 100644 index 000000000..d758ca4e0 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchMeetingRoomResponse.md @@ -0,0 +1,9 @@ +# PatchMeetingRoomResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `PatchMeetingRoom` | [PatchMeetingRoom](../../Models/Components/PatchMeetingRoom.md) | :heavy_minus_sign: | Successfully updated the meeting room. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchVenueDetailsRequest.md b/packages/csharp/docs/Models/Requests/PatchVenueDetailsRequest.md new file mode 100644 index 000000000..cde762a40 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchVenueDetailsRequest.md @@ -0,0 +1,9 @@ +# PatchVenueDetailsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `VenueDetailsPatch` | [VenueDetailsPatch](../../Models/Components/VenueDetailsPatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchVenueDetailsResponse.md b/packages/csharp/docs/Models/Requests/PatchVenueDetailsResponse.md new file mode 100644 index 000000000..3eb6b7dda --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchVenueDetailsResponse.md @@ -0,0 +1,9 @@ +# PatchVenueDetailsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `VenueDetailsPatch` | [VenueDetailsPatch](../../Models/Components/VenueDetailsPatch.md) | :heavy_minus_sign: | Successfully updated the venue details. The response contains only the fields that were provided in the request payload. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchVenueFacilityRequest.md b/packages/csharp/docs/Models/Requests/PatchVenueFacilityRequest.md new file mode 100644 index 000000000..63a200f2d --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchVenueFacilityRequest.md @@ -0,0 +1,9 @@ +# PatchVenueFacilityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `VenueFacilityPatch` | [VenueFacilityPatch](../../Models/Components/VenueFacilityPatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchVenueFacilityResponse.md b/packages/csharp/docs/Models/Requests/PatchVenueFacilityResponse.md new file mode 100644 index 000000000..9f76a1d9a --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchVenueFacilityResponse.md @@ -0,0 +1,9 @@ +# PatchVenueFacilityResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `VenueFacilityPatch` | [VenueFacilityPatch](../../Models/Components/VenueFacilityPatch.md) | :heavy_minus_sign: | Successfully updated the venue facility information. The response contains only the fields that were provided in the request payload. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateMeetingRequestRequest.md b/packages/csharp/docs/Models/Requests/UpdateMeetingRequestRequest.md index 7c2dbb630..79caffd68 100644 --- a/packages/csharp/docs/Models/Requests/UpdateMeetingRequestRequest.md +++ b/packages/csharp/docs/Models/Requests/UpdateMeetingRequestRequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `SkipRequiredQuestionValidation` | *bool* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | -| `RequestBody` | List<[MeetingRequestUpdateJson](../../Models/Components/MeetingRequestUpdateJson.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be updated per call. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `SkipRequiredQuestionValidation` | *bool* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | +| `RequestBody` | List<[MeetingRequestUpdate](../../Models/Components/MeetingRequestUpdate.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be updated per call. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateMeetingRequestResponse.md b/packages/csharp/docs/Models/Requests/UpdateMeetingRequestResponse.md index acccb5978..f33b7ad07 100644 --- a/packages/csharp/docs/Models/Requests/UpdateMeetingRequestResponse.md +++ b/packages/csharp/docs/Models/Requests/UpdateMeetingRequestResponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `MeetingRequestBulkResponse` | List<[MeetingRequestBulkResponseItemJson](../../Models/Components/MeetingRequestBulkResponseItemJson.md)> | :heavy_minus_sign: | Meeting request was successfully updated. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `MeetingRequestBulkResponse` | List<[MeetingRequestBulkResponseItem](../../Models/Components/MeetingRequestBulkResponseItem.md)> | :heavy_minus_sign: | Meeting request was successfully updated. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateMeetingRoomRequest.md b/packages/csharp/docs/Models/Requests/UpdateMeetingRoomRequest.md new file mode 100644 index 000000000..2879f9f68 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateMeetingRoomRequest.md @@ -0,0 +1,10 @@ +# UpdateMeetingRoomRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `MeetingRoomId` | *string* | :heavy_check_mark: | Unique identifier for a meeting room. | | +| `ExistingMeetingRoom` | [ExistingMeetingRoomInput](../../Models/Components/ExistingMeetingRoomInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateMeetingRoomResponse.md b/packages/csharp/docs/Models/Requests/UpdateMeetingRoomResponse.md new file mode 100644 index 000000000..20139a128 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateMeetingRoomResponse.md @@ -0,0 +1,9 @@ +# UpdateMeetingRoomResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingMeetingRoom` | [ExistingMeetingRoom](../../Models/Components/ExistingMeetingRoom.md) | :heavy_minus_sign: | Successfully updated the meeting room. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateVenueDetailsRequest.md b/packages/csharp/docs/Models/Requests/UpdateVenueDetailsRequest.md new file mode 100644 index 000000000..5bd1b19d4 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateVenueDetailsRequest.md @@ -0,0 +1,9 @@ +# UpdateVenueDetailsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `ExistingVenueDetails` | [ExistingVenueDetailsInput](../../Models/Components/ExistingVenueDetailsInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateVenueDetailsResponse.md b/packages/csharp/docs/Models/Requests/UpdateVenueDetailsResponse.md new file mode 100644 index 000000000..dbd5f3cb1 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateVenueDetailsResponse.md @@ -0,0 +1,9 @@ +# UpdateVenueDetailsResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingVenueDetails` | [ExistingVenueDetails](../../Models/Components/ExistingVenueDetails.md) | :heavy_minus_sign: | Successfully updated the venue details. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateVenueFacilityRequest.md b/packages/csharp/docs/Models/Requests/UpdateVenueFacilityRequest.md new file mode 100644 index 000000000..db0a53485 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateVenueFacilityRequest.md @@ -0,0 +1,9 @@ +# UpdateVenueFacilityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `ExistingVenueFacility` | [ExistingVenueFacilityInput](../../Models/Components/ExistingVenueFacilityInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateVenueFacilityResponse.md b/packages/csharp/docs/Models/Requests/UpdateVenueFacilityResponse.md new file mode 100644 index 000000000..8e40dc453 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateVenueFacilityResponse.md @@ -0,0 +1,9 @@ +# UpdateVenueFacilityResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingVenueFacility` | [ExistingVenueFacility](../../Models/Components/ExistingVenueFacility.md) | :heavy_minus_sign: | Successfully updated the venue facility information. | \ 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 8f50f8f8a..318a3895a 100644 --- a/packages/csharp/docs/sdks/appointments/README.md +++ b/packages/csharp/docs/sdks/appointments/README.md @@ -546,8 +546,7 @@ var res = await sdk.Appointments.CreateAppointmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## UpdateAppointment @@ -618,8 +617,7 @@ var res = await sdk.Appointments.UpdateAppointmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CancelAppointment diff --git a/packages/csharp/docs/sdks/attendeeactivities/README.md b/packages/csharp/docs/sdks/attendeeactivities/README.md index 8344d9a16..975fb1854 100644 --- a/packages/csharp/docs/sdks/attendeeactivities/README.md +++ b/packages/csharp/docs/sdks/attendeeactivities/README.md @@ -112,16 +112,16 @@ var sdk = new CventSDK(security: new Security() { }); ExternalActivityInput req = new ExternalActivityInput() { - Attendee = new UuidJson() { + Attendee = new Uuid() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, - Event = new EventActivityDetailsJsonInput() { + Event = new EventActivityDetailInput() { Id = "d84855b0-eeda-41c4-8e7a-53e80364cb95", }, Name = "Registered for Event", - Type = ExternalActivityTypeJson.EventExternal, - Data = ExternalActivityDataJson.CreateExternalActivityDataJsonEventExternal( - new ExternalActivityDataJsonEventExternal() { + Type = ExternalActivityType.EventExternal, + Data = ExternalActivityData.CreateExternalActivityDataEventExternal( + new ExternalActivityDataEventExternal() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", ExternalActivityDate = System.DateTime.Parse("2019-08-24T14:15:22Z").ToUniversalTime(), AdditionalFields = new Dictionary() { @@ -239,11 +239,11 @@ var sdk = new CventSDK(security: new Security() { }); ExternalActivityMetadataInput req = new ExternalActivityMetadataInput() { - Type = ExternalActivityTypeJson.EventExternal, + Type = ExternalActivityType.EventExternal, Name = "social.media", Description = "This external activity contains data of social activities for an attendee.", - Fields = new List() { - new ExternalActivitiesAdditionalFieldsMetadataJson() { + Fields = new List() { + new ExternalActivityAdditionalFieldsMetadata() { Name = "facebook_social.media", Description = "Contains data for facebook social media activity.", }, @@ -350,11 +350,11 @@ var sdk = new CventSDK(security: new Security() { UpdateExternalAttendeeActivityMetadataRequest req = new UpdateExternalAttendeeActivityMetadataRequest() { Id = "9463c74e-18c6-401a-a710-ae0f485bf059", ExternalActivityMetadata = new ExternalActivityMetadataInput() { - Type = ExternalActivityTypeJson.EventExternal, + Type = ExternalActivityType.EventExternal, Name = "social.media", Description = "This external activity contains data of social activities for an attendee.", - Fields = new List() { - new ExternalActivitiesAdditionalFieldsMetadataJson() { + Fields = new List() { + new ExternalActivityAdditionalFieldsMetadata() { Name = "facebook_social.media", Description = "Contains data for facebook social media activity.", }, diff --git a/packages/csharp/docs/sdks/audiencesegments/README.md b/packages/csharp/docs/sdks/audiencesegments/README.md index 7b0b1a883..c6c0e862c 100644 --- a/packages/csharp/docs/sdks/audiencesegments/README.md +++ b/packages/csharp/docs/sdks/audiencesegments/README.md @@ -242,8 +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.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## ListAudienceSegments @@ -481,8 +480,7 @@ var res = await sdk.AudienceSegments.UpdateAudienceSegmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DeleteAudienceSegment @@ -646,8 +644,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.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DisassociateAttendeeFromAudienceSegment diff --git a/packages/csharp/docs/sdks/budget/README.md b/packages/csharp/docs/sdks/budget/README.md index d550cab08..375a8b2ba 100644 --- a/packages/csharp/docs/sdks/budget/README.md +++ b/packages/csharp/docs/sdks/budget/README.md @@ -844,11 +844,11 @@ var sdk = new CventSDK(security: new Security() { }); GetBudgetAllocationsRequest req = new GetBudgetAllocationsRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", Filter = "category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetBudgetAllocationsResponse? res = await sdk.Budget.GetBudgetAllocationsAsync(req); diff --git a/packages/csharp/docs/sdks/bulk/README.md b/packages/csharp/docs/sdks/bulk/README.md index b696b61de..4ba70ec25 100644 --- a/packages/csharp/docs/sdks/bulk/README.md +++ b/packages/csharp/docs/sdks/bulk/README.md @@ -68,8 +68,8 @@ BulkJobWithDataInput req = new BulkJobWithDataInput() { { "param1", "param1Value" }, { "param2", "param2Value" }, }, - Data = new List() { - new BulkDataPropertyJson() { + Data = new List() { + new BulkDataProperty() { PathParams = new Dictionary() { { "id", "11111111-0dc3-487b-953e-86d6abbdf7d3" }, }, @@ -81,12 +81,12 @@ BulkJobWithDataInput req = new BulkJobWithDataInput() { { "header1", "header1Value" }, { "header2", "header2Value" }, }, - DataRecord = new Dictionary() { - { "event", new BulkDataRecordJson() {} }, - { "title", new BulkDataRecordJson() {} }, - { "start", new BulkDataRecordJson() {} }, - { "end", new BulkDataRecordJson() {} }, - { "status", new BulkDataRecordJson() {} }, + DataRecord = new Dictionary() { + { "event", new BulkDataRecord() {} }, + { "title", new BulkDataRecord() {} }, + { "start", new BulkDataRecord() {} }, + { "end", new BulkDataRecord() {} }, + { "status", new BulkDataRecord() {} }, }, }, }, @@ -240,8 +240,8 @@ var sdk = new CventSDK(security: new Security() { UploadBulkJobDataRequest req = new UploadBulkJobDataRequest() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", BulkData = new BulkData() { - Data = new List() { - new BulkDataPropertyJson() { + Data = new List() { + new BulkDataProperty() { PathParams = new Dictionary() { { "id", "11111111-0dc3-487b-953e-86d6abbdf7d3" }, }, @@ -253,12 +253,12 @@ UploadBulkJobDataRequest req = new UploadBulkJobDataRequest() { { "header1", "header1Value" }, { "header2", "header2Value" }, }, - DataRecord = new Dictionary() { - { "event", new BulkDataRecordJson() {} }, - { "title", new BulkDataRecordJson() {} }, - { "start", new BulkDataRecordJson() {} }, - { "end", new BulkDataRecordJson() {} }, - { "status", new BulkDataRecordJson() {} }, + DataRecord = new Dictionary() { + { "event", new BulkDataRecord() {} }, + { "title", new BulkDataRecord() {} }, + { "start", new BulkDataRecord() {} }, + { "end", new BulkDataRecord() {} }, + { "status", new BulkDataRecord() {} }, }, }, }, @@ -290,7 +290,14 @@ var res = await sdk.Bulk.UploadBulkJobDataAsync(req); ## ListBulkJobResult -Used to list the results of a bulk Job. +Used to list the results of a bulk job. + +**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation +is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record +reflects only whether the target operation returned an HTTP error — it does not capture partial item-level +failures within the multi-status response body. For these operations, inspect each result record's `data` field +to determine which items succeeded or failed. + ### Example Usage diff --git a/packages/csharp/docs/sdks/eventfeatures/README.md b/packages/csharp/docs/sdks/eventfeatures/README.md index 0c9474d32..53cefdc0c 100644 --- a/packages/csharp/docs/sdks/eventfeatures/README.md +++ b/packages/csharp/docs/sdks/eventfeatures/README.md @@ -36,10 +36,10 @@ var sdk = new CventSDK(security: new Security() { }); GetEventFeaturesRequest req = new GetEventFeaturesRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", Locale = "en-US", Filter = "enabled eq 'true'", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetEventFeaturesResponse? res = await sdk.EventFeatures.GetEventFeaturesAsync(req); @@ -218,9 +218,9 @@ var sdk = new CventSDK(security: new Security() { }); ListEventWeblinksRequest req = new ListEventWeblinksRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", Locale = "en-US", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ListEventWeblinksResponse? res = await sdk.EventFeatures.ListEventWeblinksAsync(req); diff --git a/packages/csharp/docs/sdks/eventtravel/README.md b/packages/csharp/docs/sdks/eventtravel/README.md index ce9238120..da1387562 100644 --- a/packages/csharp/docs/sdks/eventtravel/README.md +++ b/packages/csharp/docs/sdks/eventtravel/README.md @@ -36,6 +36,7 @@ var sdk = new CventSDK(security: new Security() { }); GetAirActualDetailRequest req = new GetAirActualDetailRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -44,7 +45,6 @@ GetAirActualDetailRequest req = new GetAirActualDetailRequest() { }, Sort = "airActualDetails.name:DESC,airActualDetails.lastModified:ASC", Filter = "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetAirActualDetailResponse? res = await sdk.EventTravel.GetAirActualDetailAsync(req); @@ -98,6 +98,7 @@ var sdk = new CventSDK(security: new Security() { }); GetAirRequestsRequest req = new GetAirRequestsRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -106,7 +107,6 @@ GetAirRequestsRequest req = new GetAirRequestsRequest() { Expand = new List() { ExpandAirRequestQuestionAnswer.AirRequestDetailsAirRequestAnswersQuestion, }, - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetAirRequestsResponse? res = await sdk.EventTravel.GetAirRequestsAsync(req); @@ -159,11 +159,11 @@ var sdk = new CventSDK(security: new Security() { }); GetAlternateTravelAnswersRequest req = new GetAlternateTravelAnswersRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", Filter = "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetAlternateTravelAnswersResponse? res = await sdk.EventTravel.GetAlternateTravelAnswersAsync(req); @@ -217,6 +217,7 @@ var sdk = new CventSDK(security: new Security() { }); GetHotelRequestsRequest req = new GetHotelRequestsRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -225,7 +226,6 @@ GetHotelRequestsRequest req = new GetHotelRequestsRequest() { }, Sort = "hotelRequestDetails.requesterFirstName:DESC,hotelRequestDetails.requesterLastName:ASC", Filter = "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetHotelRequestsResponse? res = await sdk.EventTravel.GetHotelRequestsAsync(req); @@ -278,11 +278,11 @@ var sdk = new CventSDK(security: new Security() { }); GetHousingReservationRequestsRequest req = new GetHousingReservationRequestsRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", Filter = "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetHousingReservationRequestsResponse? res = await sdk.EventTravel.GetHousingReservationRequestsAsync(req); diff --git a/packages/csharp/docs/sdks/exhibitor/README.md b/packages/csharp/docs/sdks/exhibitor/README.md index 6ff97ed34..18725ad5b 100644 --- a/packages/csharp/docs/sdks/exhibitor/README.md +++ b/packages/csharp/docs/sdks/exhibitor/README.md @@ -1133,9 +1133,9 @@ UpdateExhibitorAnswersRequest req = new UpdateExhibitorAnswersRequest() { Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { Id = "4888db54-db22-11eb-8d19-0242ac130003", }, - Answers = new List() { - new Answer2() { - Type = AnswerType1.Choice, + Answers = new List() { + new Answer22() { + Type = AnswerType11.Choice, Value = "Choice A", }, }, diff --git a/packages/csharp/docs/sdks/exhibitorcontent/README.md b/packages/csharp/docs/sdks/exhibitorcontent/README.md index 1ab4b9bd8..c612ff4f1 100644 --- a/packages/csharp/docs/sdks/exhibitorcontent/README.md +++ b/packages/csharp/docs/sdks/exhibitorcontent/README.md @@ -180,8 +180,7 @@ var res = await sdk.ExhibitorContent.UpdateExhibitorFileAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DisassociateExhibitorFile @@ -346,8 +345,7 @@ var res = await sdk.ExhibitorContent.CreateExhibitorWeblinkAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetExhibitorWeblink @@ -462,8 +460,7 @@ var res = await sdk.ExhibitorContent.UpdateExhibitorWeblinkAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DeleteExhibitorWeblink diff --git a/packages/csharp/docs/sdks/meetingrequest/README.md b/packages/csharp/docs/sdks/meetingrequest/README.md index 2da7efceb..8dfdb48bd 100644 --- a/packages/csharp/docs/sdks/meetingrequest/README.md +++ b/packages/csharp/docs/sdks/meetingrequest/README.md @@ -168,8 +168,7 @@ var res = await sdk.MeetingRequest.GetMRFByIdAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse | 422 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CreateMeetingRequest @@ -201,12 +200,12 @@ var sdk = new CventSDK(security: new Security() { CreateMeetingRequestRequest req = new CreateMeetingRequestRequest() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - RequestBody = new List() { - new MeetingRequestCreateJson() { + RequestBody = new List() { + new MeetingRequestCreate() { Name = "####test", SourceId = "sourceId12", - Questions = new List() { - new RequestedMeetingRequestQuestionJson() { + Questions = new List() { + new MeetingRequestQuestionInput() { Id = "f1ea56cd-6860-4f1a-baf7-973118384384", Value = new List() { "Green", @@ -268,7 +267,7 @@ var sdk = new CventSDK(security: new Security() { UpdateMeetingRequestRequest req = new UpdateMeetingRequestRequest() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - RequestBody = new List() {}, + RequestBody = new List() {}, }; var res = await sdk.MeetingRequest.UpdateMeetingRequestAsync(req); diff --git a/packages/csharp/docs/sdks/surveys/README.md b/packages/csharp/docs/sdks/surveys/README.md index 84567a4b7..3708718c2 100644 --- a/packages/csharp/docs/sdks/surveys/README.md +++ b/packages/csharp/docs/sdks/surveys/README.md @@ -109,11 +109,11 @@ var sdk = new CventSDK(security: new Security() { }); GetEventSurveysRequest req = new GetEventSurveysRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", Filter = "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetEventSurveysResponse? res = await sdk.Surveys.GetEventSurveysAsync(req); @@ -166,11 +166,11 @@ var sdk = new CventSDK(security: new Security() { }); GetEventSurveyQuestionsRequest req = new GetEventSurveyQuestionsRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + SurveyId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - SurveyId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetEventSurveyQuestionsResponse? res = await sdk.Surveys.GetEventSurveyQuestionsAsync(req); @@ -405,7 +405,7 @@ CreateEventSurveyResponsesRequest req = new CreateEventSurveyResponsesRequest() }, Answers = new List() { new AnswerJson() { - Type = AnswerTypeJson1.ChoiceText, + Type = AnswerTypeJson.ChoiceText, Value = "1", Choice = new UuidJson() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", @@ -478,12 +478,12 @@ var sdk = new CventSDK(security: new Security() { }); GetEventSurveyResponsesRequest req = new GetEventSurveyResponsesRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + SurveyId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", Filter = "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - SurveyId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetEventSurveyResponsesResponse? res = await sdk.Surveys.GetEventSurveyResponsesAsync(req); @@ -868,8 +868,8 @@ var sdk = new CventSDK(security: new Security() { }); GetStandardSurveyEmailTemplatesRequest req = new GetStandardSurveyEmailTemplatesRequest() { - Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", SurveyId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", }; GetStandardSurveyEmailTemplatesResponse? res = await sdk.Surveys.GetStandardSurveyEmailTemplatesAsync(req); @@ -922,10 +922,10 @@ var sdk = new CventSDK(security: new Security() { }); GetStandardSurveyQuestionsRequest req = new GetStandardSurveyQuestionsRequest() { + SurveyId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - SurveyId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; GetStandardSurveyQuestionsResponse? res = await sdk.Surveys.GetStandardSurveyQuestionsAsync(req); @@ -1277,7 +1277,7 @@ UpdateStandardSurveyResponsesRequest req = new UpdateStandardSurveyResponsesRequ }, Answers = new List() { new AnswerJson() { - Type = AnswerTypeJson1.ChoiceText, + Type = AnswerTypeJson.ChoiceText, Value = "1", Choice = new UuidJson() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", diff --git a/packages/csharp/docs/sdks/venuemeetingrooms/README.md b/packages/csharp/docs/sdks/venuemeetingrooms/README.md new file mode 100644 index 000000000..8bbdeceba --- /dev/null +++ b/packages/csharp/docs/sdks/venuemeetingrooms/README.md @@ -0,0 +1,402 @@ +# VenueMeetingRooms + +## Overview + +Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. + +### Available Operations + +* [CreateMeetingRoom](#createmeetingroom) - Create Meeting Room +* [ListMeetingRoomsOverviews](#listmeetingroomsoverviews) - List Meeting Rooms Overviews +* [UpdateMeetingRoom](#updatemeetingroom) - Update Meeting Room +* [PatchMeetingRoom](#patchmeetingroom) - Patch Meeting Room +* [GetMeetingRoomOverview](#getmeetingroomoverview) - Get Meeting Room Overview + +## CreateMeetingRoom + +Create a new meeting room for the specified venue. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System.Collections.Generic; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +CreateMeetingRoomRequest req = new CreateMeetingRoomRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + MeetingRoom = new MeetingRoom() { + Name = "Grand Ballroom", + Description = "Large conference space with natural lighting", + Dimensions = new MeetingRoomDimensions() { + TotalSpace = new AreaMeasurement() { + Value = 1500D, + Unit = AreaMeasurementUnit.SquareFeet, + }, + CeilingHeight = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + Length = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + Width = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + }, + DisplayOrder = 1, + ExternalSourceId = "EXT-123", + Rates = new MeetingRoomRates() { + MoveIn = new MeetingRoomRate() { + Value = 500D, + ApplicationType = RateApplicationType.PerDay, + }, + MoveOut = new MeetingRoomRate() { + Value = 500D, + ApplicationType = RateApplicationType.PerDay, + }, + Event = new MeetingRoomRate() { + Value = 500D, + ApplicationType = RateApplicationType.PerDay, + }, + }, + Capacities = new MeetingRoomCapacities() { + Exhibits = new List() { + new MeetingRoomExhibitCapacity() { + LayoutType = ExhibitLayoutType.Booth10x10, + MaxExhibits = 50, + }, + }, + Seating = new List() { + new MeetingRoomSeatingCapacity() { + LayoutType = SeatingLayoutType.Theater, + MaxAttendees = 250, + }, + }, + }, + Amenities = new List() { + MeetingRoomAmenity.Projector, + }, + }, +}; + +var res = await sdk.VenueMeetingRooms.CreateMeetingRoomAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [CreateMeetingRoomRequest](../../Models/Requests/CreateMeetingRoomRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[CreateMeetingRoomResponse](../../Models/Requests/CreateMeetingRoomResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## ListMeetingRoomsOverviews + +Retrieve a paginated list of meeting room overviews for the specified venue. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +ListMeetingRoomsOverviewsRequest req = new ListMeetingRoomsOverviewsRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + Filter = "hiddenOnProfile eq 'false'", +}; + +var res = await sdk.VenueMeetingRooms.ListMeetingRoomsOverviewsAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `request` | [ListMeetingRoomsOverviewsRequest](../../Models/Requests/ListMeetingRoomsOverviewsRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListMeetingRoomsOverviewsResponse](../../Models/Requests/ListMeetingRoomsOverviewsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## UpdateMeetingRoom + +Update a meeting room for the specified venue, replacing the existing meeting room data. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System.Collections.Generic; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +UpdateMeetingRoomRequest req = new UpdateMeetingRoomRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + MeetingRoomId = "2344f9ab-537e-412f-ad6d-264fedbf17a6", + ExistingMeetingRoom = new ExistingMeetingRoomInput() { + Name = "Grand Ballroom", + Description = "Large conference space with natural lighting", + Dimensions = new ExistingMeetingRoomDimensions() { + TotalSpace = new AreaMeasurement() { + Value = 1500D, + Unit = AreaMeasurementUnit.SquareFeet, + }, + CeilingHeight = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + Length = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + Width = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + }, + DisplayOrder = 1, + ExternalSourceId = "EXT-123", + Rates = new ExistingMeetingRoomRates() { + MoveIn = new MeetingRoomRate() { + Value = 500D, + ApplicationType = RateApplicationType.PerDay, + }, + MoveOut = new MeetingRoomRate() { + Value = 500D, + ApplicationType = RateApplicationType.PerDay, + }, + Event = new MeetingRoomRate() { + Value = 500D, + ApplicationType = RateApplicationType.PerDay, + }, + }, + Capacities = new MeetingRoomCapacities() { + Exhibits = new List() { + new MeetingRoomExhibitCapacity() { + LayoutType = ExhibitLayoutType.Booth10x10, + MaxExhibits = 50, + }, + }, + Seating = new List() { + new MeetingRoomSeatingCapacity() { + LayoutType = SeatingLayoutType.Theater, + MaxAttendees = 250, + }, + }, + }, + Amenities = new List() { + MeetingRoomAmenity.Projector, + }, + }, +}; + +var res = await sdk.VenueMeetingRooms.UpdateMeetingRoomAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [UpdateMeetingRoomRequest](../../Models/Requests/UpdateMeetingRoomRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateMeetingRoomResponse](../../Models/Requests/UpdateMeetingRoomResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## PatchMeetingRoom + +Partially update a meeting room for the specified venue. + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged. +- All changes are applied atomically. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System.Collections.Generic; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +PatchMeetingRoomRequest req = new PatchMeetingRoomRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + MeetingRoomId = "2a12f958-0ac4-4665-9210-449812da553a", + PatchMeetingRoom = new PatchMeetingRoom() { + Name = "Grand Ballroom", + Description = "Large conference space with natural lighting", + Dimensions = new PatchMeetingRoomDimensions() { + TotalSpace = new AreaMeasurement() { + Value = 1500D, + Unit = AreaMeasurementUnit.SquareFeet, + }, + CeilingHeight = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + Length = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + Width = new Dimension() { + Value = 12.5D, + Unit = DimensionUnit.Feet, + }, + }, + DisplayOrder = 1, + ExternalSourceId = "EXT-RM-12345", + Rates = null, + Capacities = null, + Amenities = new List() { + MeetingRoomAmenity.Projector, + }, + HiddenOnProfile = false, + }, +}; + +var res = await sdk.VenueMeetingRooms.PatchMeetingRoomAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [PatchMeetingRoomRequest](../../Models/Requests/PatchMeetingRoomRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchMeetingRoomResponse](../../Models/Requests/PatchMeetingRoomResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## GetMeetingRoomOverview + +Retrieve an overview of a specific meeting room for the specified venue. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +GetMeetingRoomOverviewRequest req = new GetMeetingRoomOverviewRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + MeetingRoomId = "081078e3-8a73-49c6-b757-a3d52dbc2cc8", +}; + +var res = await sdk.VenueMeetingRooms.GetMeetingRoomOverviewAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `request` | [GetMeetingRoomOverviewRequest](../../Models/Requests/GetMeetingRoomOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetMeetingRoomOverviewResponse](../../Models/Requests/GetMeetingRoomOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 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/venueprofiles/README.md b/packages/csharp/docs/sdks/venueprofiles/README.md new file mode 100644 index 000000000..70b9b7c0e --- /dev/null +++ b/packages/csharp/docs/sdks/venueprofiles/README.md @@ -0,0 +1,392 @@ +# VenueProfiles + +## Overview + +Manage venue profile details including type, contact information, address, and other venue properties. + +### Available Operations + +* [UpdateVenueDetails](#updatevenuedetails) - Update Venue Details +* [PatchVenueDetails](#patchvenuedetails) - Patch Venue Details +* [GetVenueDetailsOverview](#getvenuedetailsoverview) - Get Venue Details Overview +* [UpdateVenueFacility](#updatevenuefacility) - Update Venue Facility +* [PatchVenueFacility](#patchvenuefacility) - Patch Venue Facility + +## UpdateVenueDetails + +Update venue details for the specified venue, replacing the existing venue details data. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System.Collections.Generic; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +UpdateVenueDetailsRequest req = new UpdateVenueDetailsRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + ExistingVenueDetails = new ExistingVenueDetailsInput() { + Type = VenueType.Hotel, + TimeZone = "America/New_York", + Brand = "Quality Hotels", + ChainScale = ChainScale.UpscaleChains, + MainPhoneNumber = "+1-703-555-0100", + MainFaxNumber = "+1-703-555-0101", + SalesPhoneNumber = "+1-703-555-0102", + SalesFaxNumber = "+1-703-555-0103", + TollFreeNumber = "1-800-555-0100", + WebsiteAddress = "https://www.example-hotel.com", + OpeningDate = "Spring 2025", + Description = "A modern conference venue in downtown.", + AdditionalInformation = "Free parking available on-site.", + CancellationPolicy = "Full refund if cancelled 48 hours before event.", + LocationTypes = new List() { + LocationType.Suburban, + }, + Address = new AddressInfo() { + StreetAddress1 = "1234 Trap Road", + StreetAddress2 = "Suite 100", + City = "Vienna", + ZipPostalCode = "22182", + Country = Country.La, + Directions = "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, +}; + +var res = await sdk.VenueProfiles.UpdateVenueDetailsAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [UpdateVenueDetailsRequest](../../Models/Requests/UpdateVenueDetailsRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateVenueDetailsResponse](../../Models/Requests/UpdateVenueDetailsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## PatchVenueDetails + +Partially updates the specified venue's details using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- If any part of the patch fails, the entire request will fail. + +**Array Handling:** +- Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. +- If an array property is not included in the payload, no updates are made to that field. +- If an empty array is sent, it replaces the existing array with an empty array. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System.Collections.Generic; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +PatchVenueDetailsRequest req = new PatchVenueDetailsRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + VenueDetailsPatch = new VenueDetailsPatch() { + Type = VenueType.Hotel, + TimeZone = "America/New_York", + Brand = "Quality Hotels", + ChainScale = VenueDetailsPatchChainScale.UpscaleChains, + MainPhoneNumber = "+1-703-555-0100", + MainFaxNumber = "+1-703-555-0101", + SalesPhoneNumber = "+1-703-555-0102", + SalesFaxNumber = "+1-703-555-0103", + TollFreeNumber = "1-800-555-0100", + WebsiteAddress = "https://www.example-hotel.com", + OpeningDate = "Spring 2025", + Description = "A premier conference and event venue in the heart of Northern Virginia.", + AdditionalInformation = "Complimentary parking available for all event attendees.", + CancellationPolicy = "48-hour cancellation policy applies for all event bookings.", + LocationTypes = new List() { + LocationType.Suburban, + }, + Address = new VenueDetailsPatchAddress() { + StreetAddress1 = "1234 Trap Road", + StreetAddress2 = "Suite 100", + City = "Vienna", + ZipPostalCode = "22182", + Directions = "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, +}; + +var res = await sdk.VenueProfiles.PatchVenueDetailsAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [PatchVenueDetailsRequest](../../Models/Requests/PatchVenueDetailsRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchVenueDetailsResponse](../../Models/Requests/PatchVenueDetailsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## GetVenueDetailsOverview + +Retrieve an overview of venue details for the specified venue. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +GetVenueDetailsOverviewRequest req = new GetVenueDetailsOverviewRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", +}; + +var res = await sdk.VenueProfiles.GetVenueDetailsOverviewAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `request` | [GetVenueDetailsOverviewRequest](../../Models/Requests/GetVenueDetailsOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetVenueDetailsOverviewResponse](../../Models/Requests/GetVenueDetailsOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## UpdateVenueFacility + +Update the facility information for the specified venue, replacing all existing values with those provided in the request body. + +Field applicability varies by venue type: +- Most facility information fields do not apply to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +UpdateVenueFacilityRequest req = new UpdateVenueFacilityRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + ExistingVenueFacility = new ExistingVenueFacilityInput() { + NumberOfMeetingRooms = 25, + Space = new ExistingVenueFacilitySpace() { + TotalMeetingRoomSpace = 50000, + TotalExhibitSpace = 75000, + }, + Sleeping = new ExistingVenueFacilitySleeping() { + TotalRooms = 350, + Suites = 20, + SingleRooms = 200, + DoubleRooms = 130, + }, + SingleRate = new ExistingVenueFacilitySingleRate() { + Low = 129.99D, + High = 249.99D, + }, + DoubleRate = new ExistingVenueFacilityDoubleRate() { + Low = 149.99D, + High = 299.99D, + }, + TaxRate = 8.5D, + OccupancyRate = 75.5D, + YearBuilt = 1998, + YearRenovated = 2021, + ProximityFromAirport = new ExistingVenueFacilityProximityFromAirport() { + Distance = 12.5D, + }, + Restrictions = "No outside food or beverage permitted. Music must end by 11 PM.", + MaximumCapacity = new ExistingVenueFacilityMaximumCapacity() { + Seated = 500, + Standing = 800, + }, + }, +}; + +var res = await sdk.VenueProfiles.UpdateVenueFacilityAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `request` | [UpdateVenueFacilityRequest](../../Models/Requests/UpdateVenueFacilityRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateVenueFacilityResponse](../../Models/Requests/UpdateVenueFacilityResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## PatchVenueFacility + +Partially update the facility information for the specified venue using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- If any part of the patch fails, the entire request will fail. +- `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + +Field applicability varies by venue type: +- Most facility information fields do not apply to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +PatchVenueFacilityRequest req = new PatchVenueFacilityRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + VenueFacilityPatch = new VenueFacilityPatch() { + NumberOfMeetingRooms = 25, + Space = new VenueFacilityPatchSpace() { + TotalMeetingRoomSpace = 50000, + TotalExhibitSpace = 75000, + }, + Sleeping = new VenueFacilityPatchSleeping() { + TotalRooms = 350, + Suites = 20, + SingleRooms = 200, + DoubleRooms = 130, + }, + SingleRate = new VenueFacilityPatchSingleRate() { + Low = 129.99D, + High = 249.99D, + }, + DoubleRate = new VenueFacilityPatchDoubleRate() { + Low = 149.99D, + High = 299.99D, + }, + TaxRate = 8.5D, + OccupancyRate = 75.5D, + YearBuilt = 1998, + YearRenovated = 2021, + ProximityFromAirport = new VenueFacilityPatchProximityFromAirport() { + Distance = 12.5D, + }, + Restrictions = "No outside food or beverage permitted. Music must end by 11 PM.", + MaximumCapacity = new VenueFacilityPatchMaximumCapacity() { + Seated = 500, + Standing = 800, + }, + }, +}; + +var res = await sdk.VenueProfiles.PatchVenueFacilityAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [PatchVenueFacilityRequest](../../Models/Requests/PatchVenueFacilityRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchVenueFacilityResponse](../../Models/Requests/PatchVenueFacilityResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | \ 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 26bcc8e5a..2dea14609 100644 --- a/packages/csharp/src/Cvent/SDK/Appointments.cs +++ b/packages/csharp/src/Cvent/SDK/Appointments.cs @@ -212,8 +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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CreateAppointmentAsync( Models.Requests.CreateAppointmentRequest request, @@ -233,8 +232,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task UpdateAppointmentAsync( Models.Requests.UpdateAppointmentRequest request, @@ -1881,8 +1879,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CreateAppointmentAsync( Models.Requests.CreateAppointmentRequest request, @@ -2010,27 +2007,7 @@ public async Task CreateAppointmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -2075,8 +2052,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task UpdateAppointmentAsync( Models.Requests.UpdateAppointmentRequest request, @@ -2204,27 +2180,7 @@ public async Task UpdateAppointmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/AudienceSegments.cs b/packages/csharp/src/Cvent/SDK/AudienceSegments.cs index 78dd15a05..e5088921c 100644 --- a/packages/csharp/src/Cvent/SDK/AudienceSegments.cs +++ b/packages/csharp/src/Cvent/SDK/AudienceSegments.cs @@ -107,8 +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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CreateAudienceSegmentAsync( AudienceSegmentCreate request, @@ -195,8 +194,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task UpdateAudienceSegmentAsync( UpdateAudienceSegmentRequest request, @@ -257,8 +255,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task AssociateAttendeeToSegmentAsync( AssociateAttendeeToSegmentRequest request, @@ -871,8 +868,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CreateAudienceSegmentAsync( AudienceSegmentCreate request, @@ -1020,27 +1016,7 @@ public async Task CreateAudienceSegmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 401, 403, 429 }.Contains(responseStatusCode)) + else if (new List { 401, 403, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1665,8 +1641,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task UpdateAudienceSegmentAsync( UpdateAudienceSegmentRequest request, @@ -1794,27 +1769,7 @@ public async Task UpdateAudienceSegmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -2209,8 +2164,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task AssociateAttendeeToSegmentAsync( AssociateAttendeeToSegmentRequest request, @@ -2334,27 +2288,7 @@ public async Task AssociateAttendeeToSegment throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/Budget.cs b/packages/csharp/src/Cvent/SDK/Budget.cs index bac78517f..bf4072a58 100644 --- a/packages/csharp/src/Cvent/SDK/Budget.cs +++ b/packages/csharp/src/Cvent/SDK/Budget.cs @@ -2996,12 +2996,12 @@ public async Task GetBudgetAllocationsAsync( } var newRequest = new GetBudgetAllocationsRequest { + Id = request.Id, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, - Filter = request.Filter, - Id = request.Id + Filter = request.Filter }; return await GetBudgetAllocationsAsync( diff --git a/packages/csharp/src/Cvent/SDK/Bulk.cs b/packages/csharp/src/Cvent/SDK/Bulk.cs index 13cdce850..eaedd38d5 100644 --- a/packages/csharp/src/Cvent/SDK/Bulk.cs +++ b/packages/csharp/src/Cvent/SDK/Bulk.cs @@ -136,7 +136,13 @@ public Task UploadBulkJobDataAsync( /// List Bulk Job Result. /// /// - /// Used to list the results of a bulk Job. + /// Used to list the results of a bulk job.
+ ///
+ /// **Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation
+ /// is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record
+ /// reflects only whether the target operation returned an HTTP error — it does not capture partial item-level
+ /// failures within the multi-status response body. For these operations, inspect each result record's `data` field
+ /// to determine which items succeeded or failed. ///
/// A parameter. /// The retry configuration to use for this operation. @@ -934,7 +940,13 @@ public async Task UploadBulkJobDataAsync( /// List Bulk Job Result. /// /// - /// Used to list the results of a bulk Job. + /// Used to list the results of a bulk job.
+ ///
+ /// **Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation
+ /// is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record
+ /// reflects only whether the target operation returned an HTTP error — it does not capture partial item-level
+ /// failures within the multi-status response body. For these operations, inspect each result record's `data` field
+ /// to determine which items succeeded or failed. ///
/// A parameter. /// The retry configuration to use for this operation. diff --git a/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj b/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj index 73c8b9e45..7c29a3b4f 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.2 + 1.6.0 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 7f0284ce4..73d1a91e0 100644 --- a/packages/csharp/src/Cvent/SDK/CventSDK.cs +++ b/packages/csharp/src/Cvent/SDK/CventSDK.cs @@ -380,6 +380,16 @@ public interface ICventSDK /// public IUsage Usage { get; } + /// + /// Manage venue profile details including type, contact information, address, and other venue properties. + /// + public IVenueProfiles VenueProfiles { get; } + + /// + /// Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. + /// + public IVenueMeetingRooms VenueMeetingRooms { get; } + /// /// Videos can be added to Cvent events with renditions at various resolutions, audio files, reactions tracks, and text tracks. Attendee viewership is tracked to get insight into durations, devices used and venue where the video is watched. Use these APIs to view and manage videos, related text tracks, and audio files. Use these APIs also to get insight into video viewership. /// @@ -604,6 +614,14 @@ public class CventSDK : ICventSDK /// public IUsage Usage { get; private set; } /// + /// The VenueProfiles sub-SDK. + /// + public IVenueProfiles VenueProfiles { get; private set; } + /// + /// The VenueMeetingRooms sub-SDK. + /// + public IVenueMeetingRooms VenueMeetingRooms { get; private set; } + /// /// The Video sub-SDK. /// public IVideo Video { get; private set; } @@ -721,6 +739,10 @@ public CventSDK(SDKConfig config) Usage = new Usage(SDKConfiguration); + VenueProfiles = new VenueProfiles(SDKConfiguration); + + VenueMeetingRooms = new VenueMeetingRooms(SDKConfiguration); + Video = new Video(SDKConfiguration); Webcasts = new Webcasts(SDKConfiguration); @@ -882,6 +904,10 @@ public CventSDK( Usage = new Usage(SDKConfiguration); + VenueProfiles = new VenueProfiles(SDKConfiguration); + + VenueMeetingRooms = new VenueMeetingRooms(SDKConfiguration); + Video = new Video(SDKConfiguration); Webcasts = new Webcasts(SDKConfiguration); diff --git a/packages/csharp/src/Cvent/SDK/EventFeatures.cs b/packages/csharp/src/Cvent/SDK/EventFeatures.cs index fb41a90d3..e11fec6df 100644 --- a/packages/csharp/src/Cvent/SDK/EventFeatures.cs +++ b/packages/csharp/src/Cvent/SDK/EventFeatures.cs @@ -249,11 +249,11 @@ public async Task GetEventFeaturesAsync( } var newRequest = new GetEventFeaturesRequest { + Id = request.Id, Limit = request.Limit, Token = nextCursor, Locale = request.Locale, - Filter = request.Filter, - Id = request.Id + Filter = request.Filter }; return await GetEventFeaturesAsync( @@ -775,10 +775,10 @@ public async Task ListEventWeblinksAsync( } var newRequest = new ListEventWeblinksRequest { + Id = request.Id, Token = nextCursor, Locale = request.Locale, - Limit = request.Limit, - Id = request.Id + Limit = request.Limit }; return await ListEventWeblinksAsync( diff --git a/packages/csharp/src/Cvent/SDK/EventTravel.cs b/packages/csharp/src/Cvent/SDK/EventTravel.cs index 2bdb43f72..92031983e 100644 --- a/packages/csharp/src/Cvent/SDK/EventTravel.cs +++ b/packages/csharp/src/Cvent/SDK/EventTravel.cs @@ -263,14 +263,14 @@ public async Task GetAirActualDetailAsync( } var newRequest = new GetAirActualDetailRequest { + Id = request.Id, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, Expand = request.Expand, Sort = request.Sort, - Filter = request.Filter, - Id = request.Id + Filter = request.Filter }; return await GetAirActualDetailAsync( @@ -463,14 +463,14 @@ public async Task GetAirRequestsAsync( } var newRequest = new GetAirRequestsRequest { + Id = request.Id, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, Sort = request.Sort, Filter = request.Filter, - Expand = request.Expand, - Id = request.Id + Expand = request.Expand }; return await GetAirRequestsAsync( @@ -663,12 +663,12 @@ public async Task GetAlternateTravelAnswersAs } var newRequest = new GetAlternateTravelAnswersRequest { + Id = request.Id, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, - Filter = request.Filter, - Id = request.Id + Filter = request.Filter }; return await GetAlternateTravelAnswersAsync( @@ -861,14 +861,14 @@ public async Task GetHotelRequestsAsync( } var newRequest = new GetHotelRequestsRequest { + Id = request.Id, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, Expand = request.Expand, Sort = request.Sort, - Filter = request.Filter, - Id = request.Id + Filter = request.Filter }; return await GetHotelRequestsAsync( @@ -1061,12 +1061,12 @@ public async Task GetHousingReservationRe } var newRequest = new GetHousingReservationRequestsRequest { + Id = request.Id, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, - Filter = request.Filter, - Id = request.Id + Filter = request.Filter }; return await GetHousingReservationRequestsAsync( diff --git a/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs b/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs index 3fa7321b8..c128a7cf2 100644 --- a/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs +++ b/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs @@ -80,8 +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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task UpdateExhibitorFileAsync( UpdateExhibitorFileRequest request, @@ -141,8 +140,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CreateExhibitorWeblinkAsync( CreateExhibitorWeblinkRequest request, @@ -182,8 +180,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task UpdateExhibitorWeblinkAsync( UpdateExhibitorWeblinkRequest request, @@ -574,8 +571,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task UpdateExhibitorFileAsync( UpdateExhibitorFileRequest request, @@ -703,27 +699,7 @@ public async Task UpdateExhibitorFileAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1084,8 +1060,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CreateExhibitorWeblinkAsync( CreateExhibitorWeblinkRequest request, @@ -1213,27 +1188,7 @@ public async Task CreateExhibitorWeblinkAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1445,8 +1400,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task UpdateExhibitorWeblinkAsync( UpdateExhibitorWeblinkRequest request, @@ -1574,27 +1528,7 @@ public async Task UpdateExhibitorWeblinkAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs b/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs index af6ccc4c6..7484485a1 100644 --- a/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs +++ b/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs @@ -200,6 +200,16 @@ public enum OAuth2AuthorizationCodeOAuth2Scope /// [JsonProperty("business-transient/proposals:read")] BusinessTransientProposalsRead, + /// + /// Allows the reading of BT Bid data. + /// + [JsonProperty("business-travel/bids:read")] BusinessTravelBidsRead, + + /// + /// Allows the reading of BT Proposal data. + /// + [JsonProperty("business-travel/proposals:read")] BusinessTravelProposalsRead, + /// /// Allows the reading of communication compliance. /// @@ -1009,6 +1019,31 @@ public enum OAuth2AuthorizationCodeOAuth2Scope /// Allows the reading of event surveys. /// [JsonProperty("survey/surveys:read")] SurveySurveysRead, + + /// + /// Allows read access for overview of meeting room. + /// + [JsonProperty("venue/meeting-room-overviews:read")] VenueMeetingRoomOverviewsRead, + + /// + /// Allows the creation and modification of meeting rooms. + /// + [JsonProperty("venue/meeting-rooms:write")] VenueMeetingRoomsWrite, + + /// + /// Allows read access for overview of venue details. + /// + [JsonProperty("venue/venue-details-overview:read")] VenueVenueDetailsOverviewRead, + + /// + /// Allows the creation and modification of venue details. + /// + [JsonProperty("venue/venue-details:write")] VenueVenueDetailsWrite, + + /// + /// Allows the modification of venue facility information. + /// + [JsonProperty("venue/venue-facility:write")] VenueVenueFacilityWrite, } public static class OAuth2AuthorizationCodeOAuth2ScopeExtension @@ -1233,12 +1268,12 @@ public enum OAuth2ClientCredentialsOAuth2Scope [JsonProperty("bulk/bulk-jobs:write")] BulkBulkJobsWrite, /// - /// Allows the reading of BT Bid data. + /// Allows the reading of Business Transient Bid data. /// [JsonProperty("business-transient/bids:read")] BusinessTransientBidsRead, /// - /// Allows the reading of BT Proposal data. + /// Allows the reading of Business Transient Proposal data. /// [JsonProperty("business-transient/proposals:read")] BusinessTransientProposalsRead, @@ -1282,6 +1317,16 @@ public enum OAuth2ClientCredentialsOAuth2Scope /// [JsonProperty("business-transient/travel-supplier-accounts:read")] BusinessTransientTravelSupplierAccountsRead, + /// + /// Allows the reading of Business Travel Bid data. + /// + [JsonProperty("business-travel/bids:read")] BusinessTravelBidsRead, + + /// + /// Allows the reading of Business Travel Proposal data. + /// + [JsonProperty("business-travel/proposals:read")] BusinessTravelProposalsRead, + /// /// Allows the reading of business travel account data. /// @@ -2191,6 +2236,31 @@ public enum OAuth2ClientCredentialsOAuth2Scope /// Allows the reading of event surveys. /// [JsonProperty("survey/surveys:read")] SurveySurveysRead, + + /// + /// Allows read access for overview of meeting room. + /// + [JsonProperty("venue/meeting-room-overviews:read")] VenueMeetingRoomOverviewsRead, + + /// + /// Allows the creation and modification of meeting rooms. + /// + [JsonProperty("venue/meeting-rooms:write")] VenueMeetingRoomsWrite, + + /// + /// Allows read access for overview of venue details. + /// + [JsonProperty("venue/venue-details-overview:read")] VenueVenueDetailsOverviewRead, + + /// + /// Allows the creation and modification of venue details. + /// + [JsonProperty("venue/venue-details:write")] VenueVenueDetailsWrite, + + /// + /// Allows the modification of venue facility information. + /// + [JsonProperty("venue/venue-facility:write")] VenueVenueFacilityWrite, } public static class OAuth2ClientCredentialsOAuth2ScopeExtension diff --git a/packages/csharp/src/Cvent/SDK/MeetingRequest.cs b/packages/csharp/src/Cvent/SDK/MeetingRequest.cs index 0f18eb6f6..f335a6bb4 100644 --- a/packages/csharp/src/Cvent/SDK/MeetingRequest.cs +++ b/packages/csharp/src/Cvent/SDK/MeetingRequest.cs @@ -78,8 +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. - /// 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, 422 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,8 +572,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. - /// 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, 422 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task GetMRFByIdAsync( GetMRFByIdRequest request, @@ -696,27 +694,7 @@ public async Task GetMRFByIdAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (responseStatusCode == 422) - { - if (Utilities.IsContentTypeMatch("application/json", contentType)) - { - var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponsePayload payload; - try - { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); - } - catch (Exception ex) - { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponsePayload.", httpRequest, httpResponse, httpResponseBody, ex); - } - - throw new Models.Errors.ErrorResponse(payload, httpRequest, httpResponse, httpResponseBody); - } - - throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); - } - else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (new List { 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -869,14 +847,14 @@ public async Task CreateMeetingRequestAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - List obj; + List obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new CreateMeetingRequestResponse() { @@ -1044,14 +1022,14 @@ public async Task UpdateMeetingRequestAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - List obj; + List obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new UpdateMeetingRequestResponse() { diff --git a/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs index afcb4d269..66c10c637 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs @@ -21,6 +21,6 @@ public class CreateContactHookContactTransactionCallbackResponse /// /// Your server returns this structure on a successful callback with the updated values for contact fields present in your system. /// - public ContactFields? ContactFields { get; set; } + public ContactFields2? ContactFields { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAd.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAd.cs new file mode 100644 index 000000000..20585f52c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAd.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The details of the advertisement. + /// + public class ActivityAd + { + /// + /// The unique identifier of the ad. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The name of the ad. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The product for which ad is created. + /// + [JsonProperty("product")] + public string? Product { get; set; } + + /// + /// The placement of the ad within the specific product. + /// + [JsonProperty("location")] + public AdLocation? Location { get; set; } + + /// + /// The entity to which the ad is associated. + /// + [JsonProperty("attribution")] + public Attribution? Attribution { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAdJson.cs deleted file mode 100644 index a1a2a88bc..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAdJson.cs +++ /dev/null @@ -1,51 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The details of the advertisement. - /// - public class ActivityAdJson - { - /// - /// The unique identifier of the ad. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the ad. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The product for which ad is created. - /// - [JsonProperty("product")] - public string? Product { get; set; } - - /// - /// The placement of the ad within the specific product. - /// - [JsonProperty("location")] - public AdLocationJson? Location { get; set; } - - /// - /// The entity to which the ad is associated. - /// - [JsonProperty("attribution")] - public Attribution? Attribution { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointment.cs new file mode 100644 index 000000000..b4d1fb3aa --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointment.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// An activity appointment. + /// + public class ActivityAppointment + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The name of the appointment. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The code of an appointment. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + [JsonProperty("appointmentEvent")] + public ActivityAppointmentAppointmentEvent? AppointmentEvent { get; set; } + + /// + /// The ISO 8601 zoned date time when an appointment starts. + /// + [JsonProperty("start")] + public DateTime? Start { get; set; } + + /// + /// The ISO 8601 zoned date time when an appointment ends. + /// + [JsonProperty("end")] + public DateTime? End { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentAppointmentEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentAppointmentEvent.cs new file mode 100644 index 000000000..b6a7061db --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentAppointmentEvent.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class ActivityAppointmentAppointmentEvent + { + /// + /// The title of linked appointment event. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The code of linked appointment event. + /// + [JsonProperty("code")] + public string? Code { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentJson.cs deleted file mode 100644 index f0b735a9d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentJson.cs +++ /dev/null @@ -1,55 +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; - - /// - /// An activity appointment. - /// - public class ActivityAppointmentJson - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the appointment. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The code of an appointment. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - [JsonProperty("appointmentEvent")] - public ActivityAppointmentJsonAppointmentEvent? AppointmentEvent { get; set; } - - /// - /// The ISO 8601 zoned date time when an appointment starts. - /// - [JsonProperty("start")] - public DateTime? Start { get; set; } - - /// - /// The ISO 8601 zoned date time when an appointment ends. - /// - [JsonProperty("end")] - public DateTime? End { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentJsonAppointmentEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentJsonAppointmentEvent.cs deleted file mode 100644 index 18d1affbc..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityAppointmentJsonAppointmentEvent.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 ActivityAppointmentJsonAppointmentEvent - { - /// - /// The title of linked appointment event. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The code of linked appointment event. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointment.cs new file mode 100644 index 000000000..86b8739be --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointment.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this 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; + + /// + /// Base entity of an activity appointment. + /// + public class ActivityBaseAppointment + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The name of the appointment. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The code of an appointment. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + [JsonProperty("appointmentEvent")] + public ActivityBaseAppointmentAppointmentEvent? AppointmentEvent { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentAppointmentEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentAppointmentEvent.cs new file mode 100644 index 000000000..02a027e72 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentAppointmentEvent.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class ActivityBaseAppointmentAppointmentEvent + { + /// + /// The title of linked appointment event. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The code of linked appointment event. + /// + [JsonProperty("code")] + public string? Code { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJson.cs deleted file mode 100644 index 5eb32c822..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJson.cs +++ /dev/null @@ -1,42 +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; - - /// - /// Base entity of an activity appointment. - /// - public class ActivityBaseAppointmentJson - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the appointment. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The code of an appointment. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - [JsonProperty("appointmentEvent")] - public ActivityBaseAppointmentJsonAppointmentEvent? AppointmentEvent { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.cs deleted file mode 100644 index 55c739e8e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBaseAppointmentJsonAppointmentEvent.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 ActivityBaseAppointmentJsonAppointmentEvent - { - /// - /// The title of linked appointment event. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The code of linked appointment event. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBoothStaff.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBoothStaff.cs index 164e44afa..8051ef6b6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBoothStaff.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityBoothStaff.cs @@ -11,12 +11,10 @@ namespace Cvent.SDK.Models.Components { using Cvent.SDK.Utils; using Newtonsoft.Json; - using System; /// - /// Booth staff for the lead. + /// Booth staff for an activity. /// - [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] public class ActivityBoothStaff { /// diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityContact.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityContact.cs index 52deedbd5..c99507b77 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityContact.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityContact.cs @@ -11,12 +11,10 @@ namespace Cvent.SDK.Models.Components { using Cvent.SDK.Utils; using Newtonsoft.Json; - using System; /// - /// Related contact. + /// An activity contact. /// - [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] public class ActivityContact { /// diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityContactJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityContactJson.cs deleted file mode 100644 index 5fa255828..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityContactJson.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; - - /// - /// An activity contact. - /// - public class ActivityContactJson - { - /// - /// The first name of the attendee. - /// - [JsonProperty("firstName")] - public string? FirstName { get; set; } - - /// - /// The last name of the attendee. - /// - [JsonProperty("lastName")] - public string? LastName { get; set; } - - /// - /// The email address of the attendee. - /// - [JsonProperty("email")] - public string? Email { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityData.cs new file mode 100644 index 000000000..5d83a269e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityData.cs @@ -0,0 +1,2464 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using Newtonsoft.Json.Linq; + using System; + using System.Collections.Generic; + using System.Numerics; + using System.Reflection; + + public class ActivityDataType + { + private ActivityDataType(string value) + { + Value = value; + } + + public string Value { get; private set; } + + public static ActivityDataType AppointmentAccepted + { + get { + return new ActivityDataType("appointment.accepted"); + } + } + + public static ActivityDataType AppointmentCancelled + { + get { + return new ActivityDataType("appointment.cancelled"); + } + } + + public static ActivityDataType AppointmentCheckedIn + { + get { + return new ActivityDataType("appointment.checkedIn"); + } + } + + public static ActivityDataType AppointmentCreated + { + get { + return new ActivityDataType("appointment.created"); + } + } + + public static ActivityDataType AppointmentDeclined + { + get { + return new ActivityDataType("appointment.declined"); + } + } + + public static ActivityDataType AppointmentDenied + { + get { + return new ActivityDataType("appointment.denied"); + } + } + + public static ActivityDataType AppointmentRescheduled + { + get { + return new ActivityDataType("appointment.rescheduled"); + } + } + + public static ActivityDataType EmailBounced + { + get { + return new ActivityDataType("email.bounced"); + } + } + + public static ActivityDataType EmailClicked + { + get { + return new ActivityDataType("email.clicked"); + } + } + + public static ActivityDataType EmailOpened + { + get { + return new ActivityDataType("email.opened"); + } + } + + public static ActivityDataType EmailSent + { + get { + return new ActivityDataType("email.sent"); + } + } + + public static ActivityDataType EmailUndelivered + { + get { + return new ActivityDataType("email.undelivered"); + } + } + + public static ActivityDataType EventAttendeeHubVisited + { + get { + return new ActivityDataType("event.attendeeHubVisited"); + } + } + + public static ActivityDataType EventAttendeeSubstituted + { + get { + return new ActivityDataType("event.attendeeSubstituted"); + } + } + + public static ActivityDataType EventBannerLinkClicked + { + get { + return new ActivityDataType("event.bannerLinkClicked"); + } + } + + public static ActivityDataType EventCheckedIn + { + get { + return new ActivityDataType("event.checkedIn"); + } + } + + public static ActivityDataType EventCheckedOut + { + get { + return new ActivityDataType("event.checkedOut"); + } + } + + public static ActivityDataType EventCustomCardOpened + { + get { + return new ActivityDataType("event.customCardOpened"); + } + } + + public static ActivityDataType EventFeedbackSubmitted + { + get { + return new ActivityDataType("event.feedbackSubmitted"); + } + } + + public static ActivityDataType EventNoShow + { + get { + return new ActivityDataType("event.noShow"); + } + } + + public static ActivityDataType EventPageVisitTracked + { + get { + return new ActivityDataType("event.pageVisitTracked"); + } + } + + public static ActivityDataType EventRegistered + { + get { + return new ActivityDataType("event.registered"); + } + } + + public static ActivityDataType EventRegistrationAbandoned + { + get { + return new ActivityDataType("event.registrationAbandoned"); + } + } + + public static ActivityDataType EventRegistrationCancelled + { + get { + return new ActivityDataType("event.registrationCancelled"); + } + } + + public static ActivityDataType EventVideoPlayed + { + get { + return new ActivityDataType("event.videoPlayed"); + } + } + + public static ActivityDataType EventWaitlisted + { + get { + return new ActivityDataType("event.waitlisted"); + } + } + + public static ActivityDataType ExhibitorDocumentOpened + { + get { + return new ActivityDataType("exhibitor.documentOpened"); + } + } + + public static ActivityDataType ExhibitorSocialLinkOpened + { + get { + return new ActivityDataType("exhibitor.socialLinkOpened"); + } + } + + public static ActivityDataType ExhibitorViewed + { + get { + return new ActivityDataType("exhibitor.viewed"); + } + } + + public static ActivityDataType ExhibitorVirtualBoothJoined + { + get { + return new ActivityDataType("exhibitor.virtualBoothJoined"); + } + } + + public static ActivityDataType ExhibitorWeblinkOpened + { + get { + return new ActivityDataType("exhibitor.weblinkOpened"); + } + } + + public static ActivityDataType LeadInboundCreated + { + get { + return new ActivityDataType("lead.inboundCreated"); + } + } + + public static ActivityDataType LeadQualified + { + get { + return new ActivityDataType("lead.qualified"); + } + } + + public static ActivityDataType LeadScanned + { + get { + return new ActivityDataType("lead.scanned"); + } + } + + public static ActivityDataType SessionCheckedIn + { + get { + return new ActivityDataType("session.checkedIn"); + } + } + + public static ActivityDataType SessionCheckedOut + { + get { + return new ActivityDataType("session.checkedOut"); + } + } + + public static ActivityDataType SessionEnrolled + { + get { + return new ActivityDataType("session.enrolled"); + } + } + + public static ActivityDataType SessionFeedbackSubmitted + { + get { + return new ActivityDataType("session.feedbackSubmitted"); + } + } + + public static ActivityDataType SessionNoShow + { + get { + return new ActivityDataType("session.noShow"); + } + } + + public static ActivityDataType SessionPollResponseSubmitted + { + get { + return new ActivityDataType("session.pollResponseSubmitted"); + } + } + + public static ActivityDataType SessionQuestionAsked + { + get { + return new ActivityDataType("session.questionAsked"); + } + } + + public static ActivityDataType SessionQuestionUpvoted + { + get { + return new ActivityDataType("session.questionUpvoted"); + } + } + + public static ActivityDataType SessionUnenrolled + { + get { + return new ActivityDataType("session.unenrolled"); + } + } + + public static ActivityDataType SessionWaitlisted + { + get { + return new ActivityDataType("session.waitlisted"); + } + } + + public static ActivityDataType SpeakerFeedbackSubmitted + { + get { + return new ActivityDataType("speaker.feedbackSubmitted"); + } + } + + public static ActivityDataType SpeakerFileDownloaded + { + get { + return new ActivityDataType("speaker.fileDownloaded"); + } + } + + public static ActivityDataType ActivityDataAppointmentExternal + { + get { + return new ActivityDataType("ActivityData_appointment.external"); + } + } + + public static ActivityDataType ActivityDataEventExternal + { + get { + return new ActivityDataType("ActivityData_event.external"); + } + } + + public static ActivityDataType ActivityDataExhibitorExternal + { + get { + return new ActivityDataType("ActivityData_exhibitor.external"); + } + } + + public static ActivityDataType ActivityDataSessionExternal + { + get { + return new ActivityDataType("ActivityData_session.external"); + } + } + + public static ActivityDataType EventAdViewed + { + get { + return new ActivityDataType("event.adViewed"); + } + } + + public static ActivityDataType EventAdClicked + { + get { + return new ActivityDataType("event.adClicked"); + } + } + + public override string ToString() + { + return Value; + } + public static implicit operator String(ActivityDataType v) + { + return v.Value; + } + public static ActivityDataType FromString(string v) + { + switch (v) + { + case "appointment.accepted": + return AppointmentAccepted; + case "appointment.cancelled": + return AppointmentCancelled; + case "appointment.checkedIn": + return AppointmentCheckedIn; + case "appointment.created": + return AppointmentCreated; + case "appointment.declined": + return AppointmentDeclined; + case "appointment.denied": + return AppointmentDenied; + case "appointment.rescheduled": + return AppointmentRescheduled; + case "email.bounced": + return EmailBounced; + case "email.clicked": + return EmailClicked; + case "email.opened": + return EmailOpened; + case "email.sent": + return EmailSent; + case "email.undelivered": + return EmailUndelivered; + case "event.attendeeHubVisited": + return EventAttendeeHubVisited; + case "event.attendeeSubstituted": + return EventAttendeeSubstituted; + case "event.bannerLinkClicked": + return EventBannerLinkClicked; + case "event.checkedIn": + return EventCheckedIn; + case "event.checkedOut": + return EventCheckedOut; + case "event.customCardOpened": + return EventCustomCardOpened; + case "event.feedbackSubmitted": + return EventFeedbackSubmitted; + case "event.noShow": + return EventNoShow; + case "event.pageVisitTracked": + return EventPageVisitTracked; + case "event.registered": + return EventRegistered; + case "event.registrationAbandoned": + return EventRegistrationAbandoned; + case "event.registrationCancelled": + return EventRegistrationCancelled; + case "event.videoPlayed": + return EventVideoPlayed; + case "event.waitlisted": + return EventWaitlisted; + case "exhibitor.documentOpened": + return ExhibitorDocumentOpened; + case "exhibitor.socialLinkOpened": + return ExhibitorSocialLinkOpened; + case "exhibitor.viewed": + return ExhibitorViewed; + case "exhibitor.virtualBoothJoined": + return ExhibitorVirtualBoothJoined; + case "exhibitor.weblinkOpened": + return ExhibitorWeblinkOpened; + case "lead.inboundCreated": + return LeadInboundCreated; + case "lead.qualified": + return LeadQualified; + case "lead.scanned": + return LeadScanned; + case "session.checkedIn": + return SessionCheckedIn; + case "session.checkedOut": + return SessionCheckedOut; + case "session.enrolled": + return SessionEnrolled; + case "session.feedbackSubmitted": + return SessionFeedbackSubmitted; + case "session.noShow": + return SessionNoShow; + case "session.pollResponseSubmitted": + return SessionPollResponseSubmitted; + case "session.questionAsked": + return SessionQuestionAsked; + case "session.questionUpvoted": + return SessionQuestionUpvoted; + case "session.unenrolled": + return SessionUnenrolled; + case "session.waitlisted": + return SessionWaitlisted; + case "speaker.feedbackSubmitted": + return SpeakerFeedbackSubmitted; + case "speaker.fileDownloaded": + return SpeakerFileDownloaded; + case "ActivityData_appointment.external": + return ActivityDataAppointmentExternal; + case "ActivityData_event.external": + return ActivityDataEventExternal; + case "ActivityData_exhibitor.external": + return ActivityDataExhibitorExternal; + case "ActivityData_session.external": + return ActivityDataSessionExternal; + case "event.adViewed": + return EventAdViewed; + case "event.adClicked": + return EventAdClicked; + default: + throw new ArgumentException("Invalid value for ActivityDataType"); + } + } + public override bool Equals(object? obj) + { + if (obj == null || GetType() != obj.GetType()) + { + return false; + } + return Value.Equals(((ActivityDataType)obj).Value); + } + + public override int GetHashCode() + { + return Value.GetHashCode(); + } + } + + /// + /// This is used to denote the type of the attendee activity. + /// + [JsonConverter(typeof(ActivityData.ActivityDataConverter))] + public class ActivityData + { + public ActivityData(ActivityDataType type) + { + Type = type; + } + + [SpeakeasyMetadata("form:explode=true")] + public AppointmentAccepted? AppointmentAccepted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public AppointmentCancelled? AppointmentCancelled { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public AppointmentCheckedIn? AppointmentCheckedIn { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public AppointmentCreated? AppointmentCreated { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public AppointmentDeclined? AppointmentDeclined { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public AppointmentDenied? AppointmentDenied { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public AppointmentRescheduled? AppointmentRescheduled { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EmailBounced? EmailBounced { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EmailClicked? EmailClicked { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EmailOpened? EmailOpened { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EmailSent? EmailSent { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EmailUndelivered? EmailUndelivered { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventAttendeeHubVisited? EventAttendeeHubVisited { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventAttendeeSubstituted? EventAttendeeSubstituted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventBannerLinkClicked? EventBannerLinkClicked { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventCheckedIn? EventCheckedIn { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventCheckedOut? EventCheckedOut { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventCustomCardOpened? EventCustomCardOpened { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventFeedbackSubmitted? EventFeedbackSubmitted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventNoShow? EventNoShow { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventPageVisitTracked? EventPageVisitTracked { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventRegistered? EventRegistered { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventRegistrationAbandoned? EventRegistrationAbandoned { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventRegistrationCancelled? EventRegistrationCancelled { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventVideoPlayed? EventVideoPlayed { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventWaitlisted? EventWaitlisted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExhibitorDocumentOpened? ExhibitorDocumentOpened { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExhibitorSocialLinkOpened? ExhibitorSocialLinkOpened { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExhibitorViewed? ExhibitorViewed { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExhibitorVirtualBoothJoined? ExhibitorVirtualBoothJoined { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExhibitorWeblinkOpened? ExhibitorWeblinkOpened { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public LeadInboundCreated? LeadInboundCreated { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public LeadQualified? LeadQualified { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public LeadScanned? LeadScanned { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionCheckedIn? SessionCheckedIn { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionCheckedOut? SessionCheckedOut { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionEnrolled? SessionEnrolled { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionFeedbackSubmitted? SessionFeedbackSubmitted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionNoShow? SessionNoShow { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionPollResponseSubmitted? SessionPollResponseSubmitted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionQuestionAsked? SessionQuestionAsked { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionQuestionUpvoted? SessionQuestionUpvoted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionUnenrolled? SessionUnenrolled { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SessionWaitlisted? SessionWaitlisted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SpeakerFeedbackSubmitted? SpeakerFeedbackSubmitted { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public SpeakerFileDownloaded? SpeakerFileDownloaded { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ActivityDataAppointmentExternal? ActivityDataAppointmentExternal { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ActivityDataEventExternal? ActivityDataEventExternal { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ActivityDataExhibitorExternal? ActivityDataExhibitorExternal { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ActivityDataSessionExternal? ActivityDataSessionExternal { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventAdViewed? EventAdViewed { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public EventAdClicked? EventAdClicked { get; set; } + + public ActivityDataType Type { get; set; } + public static ActivityData CreateAppointmentAccepted(AppointmentAccepted appointmentAccepted) + { + ActivityDataType typ = ActivityDataType.AppointmentAccepted; + + ActivityData res = new ActivityData(typ); + res.AppointmentAccepted = appointmentAccepted; + return res; + } + public static ActivityData CreateAppointmentCancelled(AppointmentCancelled appointmentCancelled) + { + ActivityDataType typ = ActivityDataType.AppointmentCancelled; + + ActivityData res = new ActivityData(typ); + res.AppointmentCancelled = appointmentCancelled; + return res; + } + public static ActivityData CreateAppointmentCheckedIn(AppointmentCheckedIn appointmentCheckedIn) + { + ActivityDataType typ = ActivityDataType.AppointmentCheckedIn; + + ActivityData res = new ActivityData(typ); + res.AppointmentCheckedIn = appointmentCheckedIn; + return res; + } + public static ActivityData CreateAppointmentCreated(AppointmentCreated appointmentCreated) + { + ActivityDataType typ = ActivityDataType.AppointmentCreated; + + ActivityData res = new ActivityData(typ); + res.AppointmentCreated = appointmentCreated; + return res; + } + public static ActivityData CreateAppointmentDeclined(AppointmentDeclined appointmentDeclined) + { + ActivityDataType typ = ActivityDataType.AppointmentDeclined; + + ActivityData res = new ActivityData(typ); + res.AppointmentDeclined = appointmentDeclined; + return res; + } + public static ActivityData CreateAppointmentDenied(AppointmentDenied appointmentDenied) + { + ActivityDataType typ = ActivityDataType.AppointmentDenied; + + ActivityData res = new ActivityData(typ); + res.AppointmentDenied = appointmentDenied; + return res; + } + public static ActivityData CreateAppointmentRescheduled(AppointmentRescheduled appointmentRescheduled) + { + ActivityDataType typ = ActivityDataType.AppointmentRescheduled; + + ActivityData res = new ActivityData(typ); + res.AppointmentRescheduled = appointmentRescheduled; + return res; + } + public static ActivityData CreateEmailBounced(EmailBounced emailBounced) + { + ActivityDataType typ = ActivityDataType.EmailBounced; + + ActivityData res = new ActivityData(typ); + res.EmailBounced = emailBounced; + return res; + } + public static ActivityData CreateEmailClicked(EmailClicked emailClicked) + { + ActivityDataType typ = ActivityDataType.EmailClicked; + + ActivityData res = new ActivityData(typ); + res.EmailClicked = emailClicked; + return res; + } + public static ActivityData CreateEmailOpened(EmailOpened emailOpened) + { + ActivityDataType typ = ActivityDataType.EmailOpened; + + ActivityData res = new ActivityData(typ); + res.EmailOpened = emailOpened; + return res; + } + public static ActivityData CreateEmailSent(EmailSent emailSent) + { + ActivityDataType typ = ActivityDataType.EmailSent; + + ActivityData res = new ActivityData(typ); + res.EmailSent = emailSent; + return res; + } + public static ActivityData CreateEmailUndelivered(EmailUndelivered emailUndelivered) + { + ActivityDataType typ = ActivityDataType.EmailUndelivered; + + ActivityData res = new ActivityData(typ); + res.EmailUndelivered = emailUndelivered; + return res; + } + public static ActivityData CreateEventAttendeeHubVisited(EventAttendeeHubVisited eventAttendeeHubVisited) + { + ActivityDataType typ = ActivityDataType.EventAttendeeHubVisited; + + ActivityData res = new ActivityData(typ); + res.EventAttendeeHubVisited = eventAttendeeHubVisited; + return res; + } + public static ActivityData CreateEventAttendeeSubstituted(EventAttendeeSubstituted eventAttendeeSubstituted) + { + ActivityDataType typ = ActivityDataType.EventAttendeeSubstituted; + + ActivityData res = new ActivityData(typ); + res.EventAttendeeSubstituted = eventAttendeeSubstituted; + return res; + } + public static ActivityData CreateEventBannerLinkClicked(EventBannerLinkClicked eventBannerLinkClicked) + { + ActivityDataType typ = ActivityDataType.EventBannerLinkClicked; + + ActivityData res = new ActivityData(typ); + res.EventBannerLinkClicked = eventBannerLinkClicked; + return res; + } + public static ActivityData CreateEventCheckedIn(EventCheckedIn eventCheckedIn) + { + ActivityDataType typ = ActivityDataType.EventCheckedIn; + + ActivityData res = new ActivityData(typ); + res.EventCheckedIn = eventCheckedIn; + return res; + } + public static ActivityData CreateEventCheckedOut(EventCheckedOut eventCheckedOut) + { + ActivityDataType typ = ActivityDataType.EventCheckedOut; + + ActivityData res = new ActivityData(typ); + res.EventCheckedOut = eventCheckedOut; + return res; + } + public static ActivityData CreateEventCustomCardOpened(EventCustomCardOpened eventCustomCardOpened) + { + ActivityDataType typ = ActivityDataType.EventCustomCardOpened; + + ActivityData res = new ActivityData(typ); + res.EventCustomCardOpened = eventCustomCardOpened; + return res; + } + public static ActivityData CreateEventFeedbackSubmitted(EventFeedbackSubmitted eventFeedbackSubmitted) + { + ActivityDataType typ = ActivityDataType.EventFeedbackSubmitted; + + ActivityData res = new ActivityData(typ); + res.EventFeedbackSubmitted = eventFeedbackSubmitted; + return res; + } + public static ActivityData CreateEventNoShow(EventNoShow eventNoShow) + { + ActivityDataType typ = ActivityDataType.EventNoShow; + + ActivityData res = new ActivityData(typ); + res.EventNoShow = eventNoShow; + return res; + } + public static ActivityData CreateEventPageVisitTracked(EventPageVisitTracked eventPageVisitTracked) + { + ActivityDataType typ = ActivityDataType.EventPageVisitTracked; + + ActivityData res = new ActivityData(typ); + res.EventPageVisitTracked = eventPageVisitTracked; + return res; + } + public static ActivityData CreateEventRegistered(EventRegistered eventRegistered) + { + ActivityDataType typ = ActivityDataType.EventRegistered; + + ActivityData res = new ActivityData(typ); + res.EventRegistered = eventRegistered; + return res; + } + public static ActivityData CreateEventRegistrationAbandoned(EventRegistrationAbandoned eventRegistrationAbandoned) + { + ActivityDataType typ = ActivityDataType.EventRegistrationAbandoned; + + ActivityData res = new ActivityData(typ); + res.EventRegistrationAbandoned = eventRegistrationAbandoned; + return res; + } + public static ActivityData CreateEventRegistrationCancelled(EventRegistrationCancelled eventRegistrationCancelled) + { + ActivityDataType typ = ActivityDataType.EventRegistrationCancelled; + + ActivityData res = new ActivityData(typ); + res.EventRegistrationCancelled = eventRegistrationCancelled; + return res; + } + public static ActivityData CreateEventVideoPlayed(EventVideoPlayed eventVideoPlayed) + { + ActivityDataType typ = ActivityDataType.EventVideoPlayed; + + ActivityData res = new ActivityData(typ); + res.EventVideoPlayed = eventVideoPlayed; + return res; + } + public static ActivityData CreateEventWaitlisted(EventWaitlisted eventWaitlisted) + { + ActivityDataType typ = ActivityDataType.EventWaitlisted; + + ActivityData res = new ActivityData(typ); + res.EventWaitlisted = eventWaitlisted; + return res; + } + public static ActivityData CreateExhibitorDocumentOpened(ExhibitorDocumentOpened exhibitorDocumentOpened) + { + ActivityDataType typ = ActivityDataType.ExhibitorDocumentOpened; + + ActivityData res = new ActivityData(typ); + res.ExhibitorDocumentOpened = exhibitorDocumentOpened; + return res; + } + public static ActivityData CreateExhibitorSocialLinkOpened(ExhibitorSocialLinkOpened exhibitorSocialLinkOpened) + { + ActivityDataType typ = ActivityDataType.ExhibitorSocialLinkOpened; + + ActivityData res = new ActivityData(typ); + res.ExhibitorSocialLinkOpened = exhibitorSocialLinkOpened; + return res; + } + public static ActivityData CreateExhibitorViewed(ExhibitorViewed exhibitorViewed) + { + ActivityDataType typ = ActivityDataType.ExhibitorViewed; + + ActivityData res = new ActivityData(typ); + res.ExhibitorViewed = exhibitorViewed; + return res; + } + public static ActivityData CreateExhibitorVirtualBoothJoined(ExhibitorVirtualBoothJoined exhibitorVirtualBoothJoined) + { + ActivityDataType typ = ActivityDataType.ExhibitorVirtualBoothJoined; + + ActivityData res = new ActivityData(typ); + res.ExhibitorVirtualBoothJoined = exhibitorVirtualBoothJoined; + return res; + } + public static ActivityData CreateExhibitorWeblinkOpened(ExhibitorWeblinkOpened exhibitorWeblinkOpened) + { + ActivityDataType typ = ActivityDataType.ExhibitorWeblinkOpened; + + ActivityData res = new ActivityData(typ); + res.ExhibitorWeblinkOpened = exhibitorWeblinkOpened; + return res; + } + public static ActivityData CreateLeadInboundCreated(LeadInboundCreated leadInboundCreated) + { + ActivityDataType typ = ActivityDataType.LeadInboundCreated; + + ActivityData res = new ActivityData(typ); + res.LeadInboundCreated = leadInboundCreated; + return res; + } + public static ActivityData CreateLeadQualified(LeadQualified leadQualified) + { + ActivityDataType typ = ActivityDataType.LeadQualified; + + ActivityData res = new ActivityData(typ); + res.LeadQualified = leadQualified; + return res; + } + public static ActivityData CreateLeadScanned(LeadScanned leadScanned) + { + ActivityDataType typ = ActivityDataType.LeadScanned; + + ActivityData res = new ActivityData(typ); + res.LeadScanned = leadScanned; + return res; + } + public static ActivityData CreateSessionCheckedIn(SessionCheckedIn sessionCheckedIn) + { + ActivityDataType typ = ActivityDataType.SessionCheckedIn; + + ActivityData res = new ActivityData(typ); + res.SessionCheckedIn = sessionCheckedIn; + return res; + } + public static ActivityData CreateSessionCheckedOut(SessionCheckedOut sessionCheckedOut) + { + ActivityDataType typ = ActivityDataType.SessionCheckedOut; + + ActivityData res = new ActivityData(typ); + res.SessionCheckedOut = sessionCheckedOut; + return res; + } + public static ActivityData CreateSessionEnrolled(SessionEnrolled sessionEnrolled) + { + ActivityDataType typ = ActivityDataType.SessionEnrolled; + + ActivityData res = new ActivityData(typ); + res.SessionEnrolled = sessionEnrolled; + return res; + } + public static ActivityData CreateSessionFeedbackSubmitted(SessionFeedbackSubmitted sessionFeedbackSubmitted) + { + ActivityDataType typ = ActivityDataType.SessionFeedbackSubmitted; + + ActivityData res = new ActivityData(typ); + res.SessionFeedbackSubmitted = sessionFeedbackSubmitted; + return res; + } + public static ActivityData CreateSessionNoShow(SessionNoShow sessionNoShow) + { + ActivityDataType typ = ActivityDataType.SessionNoShow; + + ActivityData res = new ActivityData(typ); + res.SessionNoShow = sessionNoShow; + return res; + } + public static ActivityData CreateSessionPollResponseSubmitted(SessionPollResponseSubmitted sessionPollResponseSubmitted) + { + ActivityDataType typ = ActivityDataType.SessionPollResponseSubmitted; + + ActivityData res = new ActivityData(typ); + res.SessionPollResponseSubmitted = sessionPollResponseSubmitted; + return res; + } + public static ActivityData CreateSessionQuestionAsked(SessionQuestionAsked sessionQuestionAsked) + { + ActivityDataType typ = ActivityDataType.SessionQuestionAsked; + + ActivityData res = new ActivityData(typ); + res.SessionQuestionAsked = sessionQuestionAsked; + return res; + } + public static ActivityData CreateSessionQuestionUpvoted(SessionQuestionUpvoted sessionQuestionUpvoted) + { + ActivityDataType typ = ActivityDataType.SessionQuestionUpvoted; + + ActivityData res = new ActivityData(typ); + res.SessionQuestionUpvoted = sessionQuestionUpvoted; + return res; + } + public static ActivityData CreateSessionUnenrolled(SessionUnenrolled sessionUnenrolled) + { + ActivityDataType typ = ActivityDataType.SessionUnenrolled; + + ActivityData res = new ActivityData(typ); + res.SessionUnenrolled = sessionUnenrolled; + return res; + } + public static ActivityData CreateSessionWaitlisted(SessionWaitlisted sessionWaitlisted) + { + ActivityDataType typ = ActivityDataType.SessionWaitlisted; + + ActivityData res = new ActivityData(typ); + res.SessionWaitlisted = sessionWaitlisted; + return res; + } + public static ActivityData CreateSpeakerFeedbackSubmitted(SpeakerFeedbackSubmitted speakerFeedbackSubmitted) + { + ActivityDataType typ = ActivityDataType.SpeakerFeedbackSubmitted; + + ActivityData res = new ActivityData(typ); + res.SpeakerFeedbackSubmitted = speakerFeedbackSubmitted; + return res; + } + public static ActivityData CreateSpeakerFileDownloaded(SpeakerFileDownloaded speakerFileDownloaded) + { + ActivityDataType typ = ActivityDataType.SpeakerFileDownloaded; + + ActivityData res = new ActivityData(typ); + res.SpeakerFileDownloaded = speakerFileDownloaded; + return res; + } + public static ActivityData CreateActivityDataAppointmentExternal(ActivityDataAppointmentExternal activityDataAppointmentExternal) + { + ActivityDataType typ = ActivityDataType.ActivityDataAppointmentExternal; + + ActivityData res = new ActivityData(typ); + res.ActivityDataAppointmentExternal = activityDataAppointmentExternal; + return res; + } + public static ActivityData CreateActivityDataEventExternal(ActivityDataEventExternal activityDataEventExternal) + { + ActivityDataType typ = ActivityDataType.ActivityDataEventExternal; + + ActivityData res = new ActivityData(typ); + res.ActivityDataEventExternal = activityDataEventExternal; + return res; + } + public static ActivityData CreateActivityDataExhibitorExternal(ActivityDataExhibitorExternal activityDataExhibitorExternal) + { + ActivityDataType typ = ActivityDataType.ActivityDataExhibitorExternal; + + ActivityData res = new ActivityData(typ); + res.ActivityDataExhibitorExternal = activityDataExhibitorExternal; + return res; + } + public static ActivityData CreateActivityDataSessionExternal(ActivityDataSessionExternal activityDataSessionExternal) + { + ActivityDataType typ = ActivityDataType.ActivityDataSessionExternal; + + ActivityData res = new ActivityData(typ); + res.ActivityDataSessionExternal = activityDataSessionExternal; + return res; + } + public static ActivityData CreateEventAdViewed(EventAdViewed eventAdViewed) + { + ActivityDataType typ = ActivityDataType.EventAdViewed; + + ActivityData res = new ActivityData(typ); + res.EventAdViewed = eventAdViewed; + return res; + } + public static ActivityData CreateEventAdClicked(EventAdClicked eventAdClicked) + { + ActivityDataType typ = ActivityDataType.EventAdClicked; + + ActivityData res = new ActivityData(typ); + res.EventAdClicked = eventAdClicked; + return res; + } + + public class ActivityDataConverter : JsonConverter + { + public override bool CanConvert(System.Type objectType) => objectType == typeof(ActivityData); + + public override bool CanRead => true; + + public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) + { + if (reader.TokenType == JsonToken.Null) + { + throw new InvalidOperationException("Received unexpected null JSON value"); + } + + var json = JRaw.Create(reader).ToString(); + var fallbackCandidates = new List<(System.Type, object, string)>(); + + try + { + return new ActivityData(ActivityDataType.SessionUnenrolled) { + SessionUnenrolled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionUnenrolled), new ActivityData(ActivityDataType.SessionUnenrolled), "SessionUnenrolled")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventNoShow) { + EventNoShow = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventNoShow), new ActivityData(ActivityDataType.EventNoShow), "EventNoShow")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionWaitlisted) { + SessionWaitlisted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionWaitlisted), new ActivityData(ActivityDataType.SessionWaitlisted), "SessionWaitlisted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionEnrolled) { + SessionEnrolled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionEnrolled), new ActivityData(ActivityDataType.SessionEnrolled), "SessionEnrolled")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionNoShow) { + SessionNoShow = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionNoShow), new ActivityData(ActivityDataType.SessionNoShow), "SessionNoShow")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionFeedbackSubmitted) { + SessionFeedbackSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionFeedbackSubmitted), new ActivityData(ActivityDataType.SessionFeedbackSubmitted), "SessionFeedbackSubmitted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionCheckedOut) { + SessionCheckedOut = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionCheckedOut), new ActivityData(ActivityDataType.SessionCheckedOut), "SessionCheckedOut")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.AppointmentDenied) { + AppointmentDenied = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(AppointmentDenied), new ActivityData(ActivityDataType.AppointmentDenied), "AppointmentDenied")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionPollResponseSubmitted) { + SessionPollResponseSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionPollResponseSubmitted), new ActivityData(ActivityDataType.SessionPollResponseSubmitted), "SessionPollResponseSubmitted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EmailOpened) { + EmailOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EmailOpened), new ActivityData(ActivityDataType.EmailOpened), "EmailOpened")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EmailSent) { + EmailSent = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EmailSent), new ActivityData(ActivityDataType.EmailSent), "EmailSent")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.AppointmentDeclined) { + AppointmentDeclined = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(AppointmentDeclined), new ActivityData(ActivityDataType.AppointmentDeclined), "AppointmentDeclined")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventWaitlisted) { + EventWaitlisted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventWaitlisted), new ActivityData(ActivityDataType.EventWaitlisted), "EventWaitlisted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.AppointmentCreated) { + AppointmentCreated = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(AppointmentCreated), new ActivityData(ActivityDataType.AppointmentCreated), "AppointmentCreated")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.AppointmentRescheduled) { + AppointmentRescheduled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(AppointmentRescheduled), new ActivityData(ActivityDataType.AppointmentRescheduled), "AppointmentRescheduled")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventCheckedIn) { + EventCheckedIn = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventCheckedIn), new ActivityData(ActivityDataType.EventCheckedIn), "EventCheckedIn")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventCheckedOut) { + EventCheckedOut = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventCheckedOut), new ActivityData(ActivityDataType.EventCheckedOut), "EventCheckedOut")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionCheckedIn) { + SessionCheckedIn = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionCheckedIn), new ActivityData(ActivityDataType.SessionCheckedIn), "SessionCheckedIn")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventFeedbackSubmitted) { + EventFeedbackSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventFeedbackSubmitted), new ActivityData(ActivityDataType.EventFeedbackSubmitted), "EventFeedbackSubmitted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.AppointmentCancelled) { + AppointmentCancelled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(AppointmentCancelled), new ActivityData(ActivityDataType.AppointmentCancelled), "AppointmentCancelled")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.LeadScanned) { + LeadScanned = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(LeadScanned), new ActivityData(ActivityDataType.LeadScanned), "LeadScanned")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventRegistered) { + EventRegistered = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventRegistered), new ActivityData(ActivityDataType.EventRegistered), "EventRegistered")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.LeadInboundCreated) { + LeadInboundCreated = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(LeadInboundCreated), new ActivityData(ActivityDataType.LeadInboundCreated), "LeadInboundCreated")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventRegistrationCancelled) { + EventRegistrationCancelled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventRegistrationCancelled), new ActivityData(ActivityDataType.EventRegistrationCancelled), "EventRegistrationCancelled")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.AppointmentAccepted) { + AppointmentAccepted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(AppointmentAccepted), new ActivityData(ActivityDataType.AppointmentAccepted), "AppointmentAccepted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ExhibitorDocumentOpened) { + ExhibitorDocumentOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExhibitorDocumentOpened), new ActivityData(ActivityDataType.ExhibitorDocumentOpened), "ExhibitorDocumentOpened")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EmailUndelivered) { + EmailUndelivered = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EmailUndelivered), new ActivityData(ActivityDataType.EmailUndelivered), "EmailUndelivered")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventAdClicked) { + EventAdClicked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventAdClicked), new ActivityData(ActivityDataType.EventAdClicked), "EventAdClicked")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventAdViewed) { + EventAdViewed = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventAdViewed), new ActivityData(ActivityDataType.EventAdViewed), "EventAdViewed")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ActivityDataSessionExternal) { + ActivityDataSessionExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ActivityDataSessionExternal), new ActivityData(ActivityDataType.ActivityDataSessionExternal), "ActivityDataSessionExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ExhibitorWeblinkOpened) { + ExhibitorWeblinkOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExhibitorWeblinkOpened), new ActivityData(ActivityDataType.ExhibitorWeblinkOpened), "ExhibitorWeblinkOpened")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventRegistrationAbandoned) { + EventRegistrationAbandoned = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventRegistrationAbandoned), new ActivityData(ActivityDataType.EventRegistrationAbandoned), "EventRegistrationAbandoned")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.LeadQualified) { + LeadQualified = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(LeadQualified), new ActivityData(ActivityDataType.LeadQualified), "LeadQualified")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ActivityDataExhibitorExternal) { + ActivityDataExhibitorExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ActivityDataExhibitorExternal), new ActivityData(ActivityDataType.ActivityDataExhibitorExternal), "ActivityDataExhibitorExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ActivityDataEventExternal) { + ActivityDataEventExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ActivityDataEventExternal), new ActivityData(ActivityDataType.ActivityDataEventExternal), "ActivityDataEventExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ActivityDataAppointmentExternal) { + ActivityDataAppointmentExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ActivityDataAppointmentExternal), new ActivityData(ActivityDataType.ActivityDataAppointmentExternal), "ActivityDataAppointmentExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventAttendeeSubstituted) { + EventAttendeeSubstituted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventAttendeeSubstituted), new ActivityData(ActivityDataType.EventAttendeeSubstituted), "EventAttendeeSubstituted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SpeakerFeedbackSubmitted) { + SpeakerFeedbackSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SpeakerFeedbackSubmitted), new ActivityData(ActivityDataType.SpeakerFeedbackSubmitted), "SpeakerFeedbackSubmitted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.AppointmentCheckedIn) { + AppointmentCheckedIn = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(AppointmentCheckedIn), new ActivityData(ActivityDataType.AppointmentCheckedIn), "AppointmentCheckedIn")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ExhibitorViewed) { + ExhibitorViewed = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExhibitorViewed), new ActivityData(ActivityDataType.ExhibitorViewed), "ExhibitorViewed")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionQuestionUpvoted) { + SessionQuestionUpvoted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionQuestionUpvoted), new ActivityData(ActivityDataType.SessionQuestionUpvoted), "SessionQuestionUpvoted")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EmailClicked) { + EmailClicked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EmailClicked), new ActivityData(ActivityDataType.EmailClicked), "EmailClicked")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventVideoPlayed) { + EventVideoPlayed = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventVideoPlayed), new ActivityData(ActivityDataType.EventVideoPlayed), "EventVideoPlayed")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventAttendeeHubVisited) { + EventAttendeeHubVisited = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventAttendeeHubVisited), new ActivityData(ActivityDataType.EventAttendeeHubVisited), "EventAttendeeHubVisited")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventBannerLinkClicked) { + EventBannerLinkClicked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventBannerLinkClicked), new ActivityData(ActivityDataType.EventBannerLinkClicked), "EventBannerLinkClicked")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventCustomCardOpened) { + EventCustomCardOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventCustomCardOpened), new ActivityData(ActivityDataType.EventCustomCardOpened), "EventCustomCardOpened")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ExhibitorVirtualBoothJoined) { + ExhibitorVirtualBoothJoined = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExhibitorVirtualBoothJoined), new ActivityData(ActivityDataType.ExhibitorVirtualBoothJoined), "ExhibitorVirtualBoothJoined")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SessionQuestionAsked) { + SessionQuestionAsked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SessionQuestionAsked), new ActivityData(ActivityDataType.SessionQuestionAsked), "SessionQuestionAsked")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.SpeakerFileDownloaded) { + SpeakerFileDownloaded = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(SpeakerFileDownloaded), new ActivityData(ActivityDataType.SpeakerFileDownloaded), "SpeakerFileDownloaded")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.ExhibitorSocialLinkOpened) { + ExhibitorSocialLinkOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExhibitorSocialLinkOpened), new ActivityData(ActivityDataType.ExhibitorSocialLinkOpened), "ExhibitorSocialLinkOpened")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EmailBounced) { + EmailBounced = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EmailBounced), new ActivityData(ActivityDataType.EmailBounced), "EmailBounced")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ActivityData(ActivityDataType.EventPageVisitTracked) { + EventPageVisitTracked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(EventPageVisitTracked), new ActivityData(ActivityDataType.EventPageVisitTracked), "EventPageVisitTracked")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + if (fallbackCandidates.Count > 0) + { + fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); + foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) + { + try + { + return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next fallback option + } + catch (Exception) + { + throw; + } + } + } + + throw new InvalidOperationException("Could not deserialize into any supported types."); + } + + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) + { + if (value == null) + { + throw new InvalidOperationException("Unexpected null JSON value."); + } + + ActivityData res = (ActivityData)value; + + if (res.AppointmentAccepted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentAccepted)); + return; + } + + if (res.AppointmentCancelled != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentCancelled)); + return; + } + + if (res.AppointmentCheckedIn != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentCheckedIn)); + return; + } + + if (res.AppointmentCreated != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentCreated)); + return; + } + + if (res.AppointmentDeclined != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentDeclined)); + return; + } + + if (res.AppointmentDenied != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentDenied)); + return; + } + + if (res.AppointmentRescheduled != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentRescheduled)); + return; + } + + if (res.EmailBounced != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EmailBounced)); + return; + } + + if (res.EmailClicked != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EmailClicked)); + return; + } + + if (res.EmailOpened != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EmailOpened)); + return; + } + + if (res.EmailSent != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EmailSent)); + return; + } + + if (res.EmailUndelivered != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EmailUndelivered)); + return; + } + + if (res.EventAttendeeHubVisited != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventAttendeeHubVisited)); + return; + } + + if (res.EventAttendeeSubstituted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventAttendeeSubstituted)); + return; + } + + if (res.EventBannerLinkClicked != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventBannerLinkClicked)); + return; + } + + if (res.EventCheckedIn != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventCheckedIn)); + return; + } + + if (res.EventCheckedOut != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventCheckedOut)); + return; + } + + if (res.EventCustomCardOpened != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventCustomCardOpened)); + return; + } + + if (res.EventFeedbackSubmitted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventFeedbackSubmitted)); + return; + } + + if (res.EventNoShow != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventNoShow)); + return; + } + + if (res.EventPageVisitTracked != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventPageVisitTracked)); + return; + } + + if (res.EventRegistered != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventRegistered)); + return; + } + + if (res.EventRegistrationAbandoned != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventRegistrationAbandoned)); + return; + } + + if (res.EventRegistrationCancelled != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventRegistrationCancelled)); + return; + } + + if (res.EventVideoPlayed != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventVideoPlayed)); + return; + } + + if (res.EventWaitlisted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventWaitlisted)); + return; + } + + if (res.ExhibitorDocumentOpened != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorDocumentOpened)); + return; + } + + if (res.ExhibitorSocialLinkOpened != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorSocialLinkOpened)); + return; + } + + if (res.ExhibitorViewed != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorViewed)); + return; + } + + if (res.ExhibitorVirtualBoothJoined != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorVirtualBoothJoined)); + return; + } + + if (res.ExhibitorWeblinkOpened != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorWeblinkOpened)); + return; + } + + if (res.LeadInboundCreated != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.LeadInboundCreated)); + return; + } + + if (res.LeadQualified != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.LeadQualified)); + return; + } + + if (res.LeadScanned != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.LeadScanned)); + return; + } + + if (res.SessionCheckedIn != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionCheckedIn)); + return; + } + + if (res.SessionCheckedOut != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionCheckedOut)); + return; + } + + if (res.SessionEnrolled != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionEnrolled)); + return; + } + + if (res.SessionFeedbackSubmitted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionFeedbackSubmitted)); + return; + } + + if (res.SessionNoShow != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionNoShow)); + return; + } + + if (res.SessionPollResponseSubmitted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionPollResponseSubmitted)); + return; + } + + if (res.SessionQuestionAsked != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionQuestionAsked)); + return; + } + + if (res.SessionQuestionUpvoted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionQuestionUpvoted)); + return; + } + + if (res.SessionUnenrolled != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionUnenrolled)); + return; + } + + if (res.SessionWaitlisted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SessionWaitlisted)); + return; + } + + if (res.SpeakerFeedbackSubmitted != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SpeakerFeedbackSubmitted)); + return; + } + + if (res.SpeakerFileDownloaded != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.SpeakerFileDownloaded)); + return; + } + + if (res.ActivityDataAppointmentExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataAppointmentExternal)); + return; + } + + if (res.ActivityDataEventExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataEventExternal)); + return; + } + + if (res.ActivityDataExhibitorExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataExhibitorExternal)); + return; + } + + if (res.ActivityDataSessionExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataSessionExternal)); + return; + } + + if (res.EventAdViewed != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventAdViewed)); + return; + } + + if (res.EventAdClicked != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.EventAdClicked)); + return; + } + } + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataAppointmentExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataAppointmentExternal.cs new file mode 100644 index 000000000..981d5e19a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataAppointmentExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ActivityDataAppointmentExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent1.cs new file mode 100644 index 000000000..09cb4dfd8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent1.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent1 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent2.cs new file mode 100644 index 000000000..5d7bc20db --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent2.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent2 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent3.cs new file mode 100644 index 000000000..dc3dc0548 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent3.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent3 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent4.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent4.cs new file mode 100644 index 000000000..11dfac726 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent4.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent4 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent5.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent5.cs new file mode 100644 index 000000000..55e7b1d02 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent5.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent5 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent6.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent6.cs new file mode 100644 index 000000000..6912ce512 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent6.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent6 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent7.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent7.cs new file mode 100644 index 000000000..08ff80cc3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent7.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent7 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent8.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent8.cs new file mode 100644 index 000000000..f2913f8b6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEvent8.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class ActivityDataEvent8 + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEventExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEventExternal.cs new file mode 100644 index 000000000..c6a89f232 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataEventExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ActivityDataEventExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataExhibitorExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataExhibitorExternal.cs new file mode 100644 index 000000000..4d051fd37 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataExhibitorExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ActivityDataExhibitorExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJson.cs deleted file mode 100644 index 2fd66c805..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJson.cs +++ /dev/null @@ -1,2464 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using Newtonsoft.Json.Linq; - using System; - using System.Collections.Generic; - using System.Numerics; - using System.Reflection; - - public class ActivityDataJsonType - { - private ActivityDataJsonType(string value) - { - Value = value; - } - - public string Value { get; private set; } - - public static ActivityDataJsonType AppointmentAccepted - { - get { - return new ActivityDataJsonType("appointment.accepted"); - } - } - - public static ActivityDataJsonType AppointmentCancelled - { - get { - return new ActivityDataJsonType("appointment.cancelled"); - } - } - - public static ActivityDataJsonType AppointmentCheckedIn - { - get { - return new ActivityDataJsonType("appointment.checkedIn"); - } - } - - public static ActivityDataJsonType AppointmentCreated - { - get { - return new ActivityDataJsonType("appointment.created"); - } - } - - public static ActivityDataJsonType AppointmentDeclined - { - get { - return new ActivityDataJsonType("appointment.declined"); - } - } - - public static ActivityDataJsonType AppointmentDenied - { - get { - return new ActivityDataJsonType("appointment.denied"); - } - } - - public static ActivityDataJsonType AppointmentRescheduled - { - get { - return new ActivityDataJsonType("appointment.rescheduled"); - } - } - - public static ActivityDataJsonType EmailBounced - { - get { - return new ActivityDataJsonType("email.bounced"); - } - } - - public static ActivityDataJsonType EmailClicked - { - get { - return new ActivityDataJsonType("email.clicked"); - } - } - - public static ActivityDataJsonType EmailOpened - { - get { - return new ActivityDataJsonType("email.opened"); - } - } - - public static ActivityDataJsonType EmailSent - { - get { - return new ActivityDataJsonType("email.sent"); - } - } - - public static ActivityDataJsonType EmailUndelivered - { - get { - return new ActivityDataJsonType("email.undelivered"); - } - } - - public static ActivityDataJsonType EventAttendeeHubVisited - { - get { - return new ActivityDataJsonType("event.attendeeHubVisited"); - } - } - - public static ActivityDataJsonType EventAttendeeSubstituted - { - get { - return new ActivityDataJsonType("event.attendeeSubstituted"); - } - } - - public static ActivityDataJsonType EventBannerLinkClicked - { - get { - return new ActivityDataJsonType("event.bannerLinkClicked"); - } - } - - public static ActivityDataJsonType EventCheckedIn - { - get { - return new ActivityDataJsonType("event.checkedIn"); - } - } - - public static ActivityDataJsonType EventCheckedOut - { - get { - return new ActivityDataJsonType("event.checkedOut"); - } - } - - public static ActivityDataJsonType EventCustomCardOpened - { - get { - return new ActivityDataJsonType("event.customCardOpened"); - } - } - - public static ActivityDataJsonType EventFeedbackSubmitted - { - get { - return new ActivityDataJsonType("event.feedbackSubmitted"); - } - } - - public static ActivityDataJsonType EventNoShow - { - get { - return new ActivityDataJsonType("event.noShow"); - } - } - - public static ActivityDataJsonType EventPageVisitTracked - { - get { - return new ActivityDataJsonType("event.pageVisitTracked"); - } - } - - public static ActivityDataJsonType EventRegistered - { - get { - return new ActivityDataJsonType("event.registered"); - } - } - - public static ActivityDataJsonType EventRegistrationAbandoned - { - get { - return new ActivityDataJsonType("event.registrationAbandoned"); - } - } - - public static ActivityDataJsonType EventRegistrationCancelled - { - get { - return new ActivityDataJsonType("event.registrationCancelled"); - } - } - - public static ActivityDataJsonType EventVideoPlayed - { - get { - return new ActivityDataJsonType("event.videoPlayed"); - } - } - - public static ActivityDataJsonType EventWaitlisted - { - get { - return new ActivityDataJsonType("event.waitlisted"); - } - } - - public static ActivityDataJsonType ExhibitorDocumentOpened - { - get { - return new ActivityDataJsonType("exhibitor.documentOpened"); - } - } - - public static ActivityDataJsonType ExhibitorSocialLinkOpened - { - get { - return new ActivityDataJsonType("exhibitor.socialLinkOpened"); - } - } - - public static ActivityDataJsonType ExhibitorViewed - { - get { - return new ActivityDataJsonType("exhibitor.viewed"); - } - } - - public static ActivityDataJsonType ExhibitorVirtualBoothJoined - { - get { - return new ActivityDataJsonType("exhibitor.virtualBoothJoined"); - } - } - - public static ActivityDataJsonType ExhibitorWeblinkOpened - { - get { - return new ActivityDataJsonType("exhibitor.weblinkOpened"); - } - } - - public static ActivityDataJsonType LeadInboundCreated - { - get { - return new ActivityDataJsonType("lead.inboundCreated"); - } - } - - public static ActivityDataJsonType LeadQualified - { - get { - return new ActivityDataJsonType("lead.qualified"); - } - } - - public static ActivityDataJsonType LeadScanned - { - get { - return new ActivityDataJsonType("lead.scanned"); - } - } - - public static ActivityDataJsonType SessionCheckedIn - { - get { - return new ActivityDataJsonType("session.checkedIn"); - } - } - - public static ActivityDataJsonType SessionCheckedOut - { - get { - return new ActivityDataJsonType("session.checkedOut"); - } - } - - public static ActivityDataJsonType SessionEnrolled - { - get { - return new ActivityDataJsonType("session.enrolled"); - } - } - - public static ActivityDataJsonType SessionFeedbackSubmitted - { - get { - return new ActivityDataJsonType("session.feedbackSubmitted"); - } - } - - public static ActivityDataJsonType SessionNoShow - { - get { - return new ActivityDataJsonType("session.noShow"); - } - } - - public static ActivityDataJsonType SessionPollResponseSubmitted - { - get { - return new ActivityDataJsonType("session.pollResponseSubmitted"); - } - } - - public static ActivityDataJsonType SessionQuestionAsked - { - get { - return new ActivityDataJsonType("session.questionAsked"); - } - } - - public static ActivityDataJsonType SessionQuestionUpvoted - { - get { - return new ActivityDataJsonType("session.questionUpvoted"); - } - } - - public static ActivityDataJsonType SessionUnenrolled - { - get { - return new ActivityDataJsonType("session.unenrolled"); - } - } - - public static ActivityDataJsonType SessionWaitlisted - { - get { - return new ActivityDataJsonType("session.waitlisted"); - } - } - - public static ActivityDataJsonType SpeakerFeedbackSubmitted - { - get { - return new ActivityDataJsonType("speaker.feedbackSubmitted"); - } - } - - public static ActivityDataJsonType SpeakerFileDownloaded - { - get { - return new ActivityDataJsonType("speaker.fileDownloaded"); - } - } - - public static ActivityDataJsonType ActivityDataJsonAppointmentExternal - { - get { - return new ActivityDataJsonType("activity-data.json_appointment.external"); - } - } - - public static ActivityDataJsonType ActivityDataJsonEventExternal - { - get { - return new ActivityDataJsonType("activity-data.json_event.external"); - } - } - - public static ActivityDataJsonType ActivityDataJsonExhibitorExternal - { - get { - return new ActivityDataJsonType("activity-data.json_exhibitor.external"); - } - } - - public static ActivityDataJsonType ActivityDataJsonSessionExternal - { - get { - return new ActivityDataJsonType("activity-data.json_session.external"); - } - } - - public static ActivityDataJsonType EventAdViewed - { - get { - return new ActivityDataJsonType("event.adViewed"); - } - } - - public static ActivityDataJsonType EventAdClicked - { - get { - return new ActivityDataJsonType("event.adClicked"); - } - } - - public override string ToString() - { - return Value; - } - public static implicit operator String(ActivityDataJsonType v) - { - return v.Value; - } - public static ActivityDataJsonType FromString(string v) - { - switch (v) - { - case "appointment.accepted": - return AppointmentAccepted; - case "appointment.cancelled": - return AppointmentCancelled; - case "appointment.checkedIn": - return AppointmentCheckedIn; - case "appointment.created": - return AppointmentCreated; - case "appointment.declined": - return AppointmentDeclined; - case "appointment.denied": - return AppointmentDenied; - case "appointment.rescheduled": - return AppointmentRescheduled; - case "email.bounced": - return EmailBounced; - case "email.clicked": - return EmailClicked; - case "email.opened": - return EmailOpened; - case "email.sent": - return EmailSent; - case "email.undelivered": - return EmailUndelivered; - case "event.attendeeHubVisited": - return EventAttendeeHubVisited; - case "event.attendeeSubstituted": - return EventAttendeeSubstituted; - case "event.bannerLinkClicked": - return EventBannerLinkClicked; - case "event.checkedIn": - return EventCheckedIn; - case "event.checkedOut": - return EventCheckedOut; - case "event.customCardOpened": - return EventCustomCardOpened; - case "event.feedbackSubmitted": - return EventFeedbackSubmitted; - case "event.noShow": - return EventNoShow; - case "event.pageVisitTracked": - return EventPageVisitTracked; - case "event.registered": - return EventRegistered; - case "event.registrationAbandoned": - return EventRegistrationAbandoned; - case "event.registrationCancelled": - return EventRegistrationCancelled; - case "event.videoPlayed": - return EventVideoPlayed; - case "event.waitlisted": - return EventWaitlisted; - case "exhibitor.documentOpened": - return ExhibitorDocumentOpened; - case "exhibitor.socialLinkOpened": - return ExhibitorSocialLinkOpened; - case "exhibitor.viewed": - return ExhibitorViewed; - case "exhibitor.virtualBoothJoined": - return ExhibitorVirtualBoothJoined; - case "exhibitor.weblinkOpened": - return ExhibitorWeblinkOpened; - case "lead.inboundCreated": - return LeadInboundCreated; - case "lead.qualified": - return LeadQualified; - case "lead.scanned": - return LeadScanned; - case "session.checkedIn": - return SessionCheckedIn; - case "session.checkedOut": - return SessionCheckedOut; - case "session.enrolled": - return SessionEnrolled; - case "session.feedbackSubmitted": - return SessionFeedbackSubmitted; - case "session.noShow": - return SessionNoShow; - case "session.pollResponseSubmitted": - return SessionPollResponseSubmitted; - case "session.questionAsked": - return SessionQuestionAsked; - case "session.questionUpvoted": - return SessionQuestionUpvoted; - case "session.unenrolled": - return SessionUnenrolled; - case "session.waitlisted": - return SessionWaitlisted; - case "speaker.feedbackSubmitted": - return SpeakerFeedbackSubmitted; - case "speaker.fileDownloaded": - return SpeakerFileDownloaded; - case "activity-data.json_appointment.external": - return ActivityDataJsonAppointmentExternal; - case "activity-data.json_event.external": - return ActivityDataJsonEventExternal; - case "activity-data.json_exhibitor.external": - return ActivityDataJsonExhibitorExternal; - case "activity-data.json_session.external": - return ActivityDataJsonSessionExternal; - case "event.adViewed": - return EventAdViewed; - case "event.adClicked": - return EventAdClicked; - default: - throw new ArgumentException("Invalid value for ActivityDataJsonType"); - } - } - public override bool Equals(object? obj) - { - if (obj == null || GetType() != obj.GetType()) - { - return false; - } - return Value.Equals(((ActivityDataJsonType)obj).Value); - } - - public override int GetHashCode() - { - return Value.GetHashCode(); - } - } - - /// - /// This is used to denote the type of the attendee activity. - /// - [JsonConverter(typeof(ActivityDataJson.ActivityDataJsonConverter))] - public class ActivityDataJson - { - public ActivityDataJson(ActivityDataJsonType type) - { - Type = type; - } - - [SpeakeasyMetadata("form:explode=true")] - public AppointmentAccepted? AppointmentAccepted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public AppointmentCancelled? AppointmentCancelled { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public AppointmentCheckedIn? AppointmentCheckedIn { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public AppointmentCreated? AppointmentCreated { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public AppointmentDeclined? AppointmentDeclined { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public AppointmentDenied? AppointmentDenied { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public AppointmentRescheduled? AppointmentRescheduled { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EmailBounced? EmailBounced { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EmailClicked? EmailClicked { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EmailOpened? EmailOpened { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EmailSent? EmailSent { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EmailUndelivered? EmailUndelivered { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventAttendeeHubVisited? EventAttendeeHubVisited { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventAttendeeSubstituted? EventAttendeeSubstituted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventBannerLinkClicked? EventBannerLinkClicked { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventCheckedIn? EventCheckedIn { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventCheckedOut? EventCheckedOut { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventCustomCardOpened? EventCustomCardOpened { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventFeedbackSubmitted? EventFeedbackSubmitted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventNoShow? EventNoShow { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventPageVisitTracked? EventPageVisitTracked { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventRegistered? EventRegistered { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventRegistrationAbandoned? EventRegistrationAbandoned { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventRegistrationCancelled? EventRegistrationCancelled { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventVideoPlayed? EventVideoPlayed { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventWaitlisted? EventWaitlisted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExhibitorDocumentOpened? ExhibitorDocumentOpened { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExhibitorSocialLinkOpened? ExhibitorSocialLinkOpened { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExhibitorViewed? ExhibitorViewed { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExhibitorVirtualBoothJoined? ExhibitorVirtualBoothJoined { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExhibitorWeblinkOpened? ExhibitorWeblinkOpened { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public LeadInboundCreated? LeadInboundCreated { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public LeadQualified? LeadQualified { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public LeadScanned? LeadScanned { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionCheckedIn? SessionCheckedIn { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionCheckedOut? SessionCheckedOut { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionEnrolled? SessionEnrolled { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionFeedbackSubmitted? SessionFeedbackSubmitted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionNoShow? SessionNoShow { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionPollResponseSubmitted? SessionPollResponseSubmitted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionQuestionAsked? SessionQuestionAsked { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionQuestionUpvoted? SessionQuestionUpvoted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionUnenrolled? SessionUnenrolled { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SessionWaitlisted? SessionWaitlisted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SpeakerFeedbackSubmitted? SpeakerFeedbackSubmitted { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public SpeakerFileDownloaded? SpeakerFileDownloaded { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ActivityDataJsonAppointmentExternal? ActivityDataJsonAppointmentExternal { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ActivityDataJsonEventExternal? ActivityDataJsonEventExternal { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ActivityDataJsonExhibitorExternal? ActivityDataJsonExhibitorExternal { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ActivityDataJsonSessionExternal? ActivityDataJsonSessionExternal { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventAdViewed? EventAdViewed { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public EventAdClicked? EventAdClicked { get; set; } - - public ActivityDataJsonType Type { get; set; } - public static ActivityDataJson CreateAppointmentAccepted(AppointmentAccepted appointmentAccepted) - { - ActivityDataJsonType typ = ActivityDataJsonType.AppointmentAccepted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.AppointmentAccepted = appointmentAccepted; - return res; - } - public static ActivityDataJson CreateAppointmentCancelled(AppointmentCancelled appointmentCancelled) - { - ActivityDataJsonType typ = ActivityDataJsonType.AppointmentCancelled; - - ActivityDataJson res = new ActivityDataJson(typ); - res.AppointmentCancelled = appointmentCancelled; - return res; - } - public static ActivityDataJson CreateAppointmentCheckedIn(AppointmentCheckedIn appointmentCheckedIn) - { - ActivityDataJsonType typ = ActivityDataJsonType.AppointmentCheckedIn; - - ActivityDataJson res = new ActivityDataJson(typ); - res.AppointmentCheckedIn = appointmentCheckedIn; - return res; - } - public static ActivityDataJson CreateAppointmentCreated(AppointmentCreated appointmentCreated) - { - ActivityDataJsonType typ = ActivityDataJsonType.AppointmentCreated; - - ActivityDataJson res = new ActivityDataJson(typ); - res.AppointmentCreated = appointmentCreated; - return res; - } - public static ActivityDataJson CreateAppointmentDeclined(AppointmentDeclined appointmentDeclined) - { - ActivityDataJsonType typ = ActivityDataJsonType.AppointmentDeclined; - - ActivityDataJson res = new ActivityDataJson(typ); - res.AppointmentDeclined = appointmentDeclined; - return res; - } - public static ActivityDataJson CreateAppointmentDenied(AppointmentDenied appointmentDenied) - { - ActivityDataJsonType typ = ActivityDataJsonType.AppointmentDenied; - - ActivityDataJson res = new ActivityDataJson(typ); - res.AppointmentDenied = appointmentDenied; - return res; - } - public static ActivityDataJson CreateAppointmentRescheduled(AppointmentRescheduled appointmentRescheduled) - { - ActivityDataJsonType typ = ActivityDataJsonType.AppointmentRescheduled; - - ActivityDataJson res = new ActivityDataJson(typ); - res.AppointmentRescheduled = appointmentRescheduled; - return res; - } - public static ActivityDataJson CreateEmailBounced(EmailBounced emailBounced) - { - ActivityDataJsonType typ = ActivityDataJsonType.EmailBounced; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EmailBounced = emailBounced; - return res; - } - public static ActivityDataJson CreateEmailClicked(EmailClicked emailClicked) - { - ActivityDataJsonType typ = ActivityDataJsonType.EmailClicked; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EmailClicked = emailClicked; - return res; - } - public static ActivityDataJson CreateEmailOpened(EmailOpened emailOpened) - { - ActivityDataJsonType typ = ActivityDataJsonType.EmailOpened; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EmailOpened = emailOpened; - return res; - } - public static ActivityDataJson CreateEmailSent(EmailSent emailSent) - { - ActivityDataJsonType typ = ActivityDataJsonType.EmailSent; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EmailSent = emailSent; - return res; - } - public static ActivityDataJson CreateEmailUndelivered(EmailUndelivered emailUndelivered) - { - ActivityDataJsonType typ = ActivityDataJsonType.EmailUndelivered; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EmailUndelivered = emailUndelivered; - return res; - } - public static ActivityDataJson CreateEventAttendeeHubVisited(EventAttendeeHubVisited eventAttendeeHubVisited) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventAttendeeHubVisited; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventAttendeeHubVisited = eventAttendeeHubVisited; - return res; - } - public static ActivityDataJson CreateEventAttendeeSubstituted(EventAttendeeSubstituted eventAttendeeSubstituted) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventAttendeeSubstituted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventAttendeeSubstituted = eventAttendeeSubstituted; - return res; - } - public static ActivityDataJson CreateEventBannerLinkClicked(EventBannerLinkClicked eventBannerLinkClicked) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventBannerLinkClicked; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventBannerLinkClicked = eventBannerLinkClicked; - return res; - } - public static ActivityDataJson CreateEventCheckedIn(EventCheckedIn eventCheckedIn) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventCheckedIn; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventCheckedIn = eventCheckedIn; - return res; - } - public static ActivityDataJson CreateEventCheckedOut(EventCheckedOut eventCheckedOut) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventCheckedOut; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventCheckedOut = eventCheckedOut; - return res; - } - public static ActivityDataJson CreateEventCustomCardOpened(EventCustomCardOpened eventCustomCardOpened) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventCustomCardOpened; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventCustomCardOpened = eventCustomCardOpened; - return res; - } - public static ActivityDataJson CreateEventFeedbackSubmitted(EventFeedbackSubmitted eventFeedbackSubmitted) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventFeedbackSubmitted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventFeedbackSubmitted = eventFeedbackSubmitted; - return res; - } - public static ActivityDataJson CreateEventNoShow(EventNoShow eventNoShow) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventNoShow; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventNoShow = eventNoShow; - return res; - } - public static ActivityDataJson CreateEventPageVisitTracked(EventPageVisitTracked eventPageVisitTracked) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventPageVisitTracked; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventPageVisitTracked = eventPageVisitTracked; - return res; - } - public static ActivityDataJson CreateEventRegistered(EventRegistered eventRegistered) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventRegistered; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventRegistered = eventRegistered; - return res; - } - public static ActivityDataJson CreateEventRegistrationAbandoned(EventRegistrationAbandoned eventRegistrationAbandoned) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventRegistrationAbandoned; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventRegistrationAbandoned = eventRegistrationAbandoned; - return res; - } - public static ActivityDataJson CreateEventRegistrationCancelled(EventRegistrationCancelled eventRegistrationCancelled) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventRegistrationCancelled; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventRegistrationCancelled = eventRegistrationCancelled; - return res; - } - public static ActivityDataJson CreateEventVideoPlayed(EventVideoPlayed eventVideoPlayed) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventVideoPlayed; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventVideoPlayed = eventVideoPlayed; - return res; - } - public static ActivityDataJson CreateEventWaitlisted(EventWaitlisted eventWaitlisted) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventWaitlisted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventWaitlisted = eventWaitlisted; - return res; - } - public static ActivityDataJson CreateExhibitorDocumentOpened(ExhibitorDocumentOpened exhibitorDocumentOpened) - { - ActivityDataJsonType typ = ActivityDataJsonType.ExhibitorDocumentOpened; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ExhibitorDocumentOpened = exhibitorDocumentOpened; - return res; - } - public static ActivityDataJson CreateExhibitorSocialLinkOpened(ExhibitorSocialLinkOpened exhibitorSocialLinkOpened) - { - ActivityDataJsonType typ = ActivityDataJsonType.ExhibitorSocialLinkOpened; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ExhibitorSocialLinkOpened = exhibitorSocialLinkOpened; - return res; - } - public static ActivityDataJson CreateExhibitorViewed(ExhibitorViewed exhibitorViewed) - { - ActivityDataJsonType typ = ActivityDataJsonType.ExhibitorViewed; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ExhibitorViewed = exhibitorViewed; - return res; - } - public static ActivityDataJson CreateExhibitorVirtualBoothJoined(ExhibitorVirtualBoothJoined exhibitorVirtualBoothJoined) - { - ActivityDataJsonType typ = ActivityDataJsonType.ExhibitorVirtualBoothJoined; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ExhibitorVirtualBoothJoined = exhibitorVirtualBoothJoined; - return res; - } - public static ActivityDataJson CreateExhibitorWeblinkOpened(ExhibitorWeblinkOpened exhibitorWeblinkOpened) - { - ActivityDataJsonType typ = ActivityDataJsonType.ExhibitorWeblinkOpened; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ExhibitorWeblinkOpened = exhibitorWeblinkOpened; - return res; - } - public static ActivityDataJson CreateLeadInboundCreated(LeadInboundCreated leadInboundCreated) - { - ActivityDataJsonType typ = ActivityDataJsonType.LeadInboundCreated; - - ActivityDataJson res = new ActivityDataJson(typ); - res.LeadInboundCreated = leadInboundCreated; - return res; - } - public static ActivityDataJson CreateLeadQualified(LeadQualified leadQualified) - { - ActivityDataJsonType typ = ActivityDataJsonType.LeadQualified; - - ActivityDataJson res = new ActivityDataJson(typ); - res.LeadQualified = leadQualified; - return res; - } - public static ActivityDataJson CreateLeadScanned(LeadScanned leadScanned) - { - ActivityDataJsonType typ = ActivityDataJsonType.LeadScanned; - - ActivityDataJson res = new ActivityDataJson(typ); - res.LeadScanned = leadScanned; - return res; - } - public static ActivityDataJson CreateSessionCheckedIn(SessionCheckedIn sessionCheckedIn) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionCheckedIn; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionCheckedIn = sessionCheckedIn; - return res; - } - public static ActivityDataJson CreateSessionCheckedOut(SessionCheckedOut sessionCheckedOut) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionCheckedOut; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionCheckedOut = sessionCheckedOut; - return res; - } - public static ActivityDataJson CreateSessionEnrolled(SessionEnrolled sessionEnrolled) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionEnrolled; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionEnrolled = sessionEnrolled; - return res; - } - public static ActivityDataJson CreateSessionFeedbackSubmitted(SessionFeedbackSubmitted sessionFeedbackSubmitted) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionFeedbackSubmitted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionFeedbackSubmitted = sessionFeedbackSubmitted; - return res; - } - public static ActivityDataJson CreateSessionNoShow(SessionNoShow sessionNoShow) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionNoShow; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionNoShow = sessionNoShow; - return res; - } - public static ActivityDataJson CreateSessionPollResponseSubmitted(SessionPollResponseSubmitted sessionPollResponseSubmitted) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionPollResponseSubmitted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionPollResponseSubmitted = sessionPollResponseSubmitted; - return res; - } - public static ActivityDataJson CreateSessionQuestionAsked(SessionQuestionAsked sessionQuestionAsked) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionQuestionAsked; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionQuestionAsked = sessionQuestionAsked; - return res; - } - public static ActivityDataJson CreateSessionQuestionUpvoted(SessionQuestionUpvoted sessionQuestionUpvoted) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionQuestionUpvoted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionQuestionUpvoted = sessionQuestionUpvoted; - return res; - } - public static ActivityDataJson CreateSessionUnenrolled(SessionUnenrolled sessionUnenrolled) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionUnenrolled; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionUnenrolled = sessionUnenrolled; - return res; - } - public static ActivityDataJson CreateSessionWaitlisted(SessionWaitlisted sessionWaitlisted) - { - ActivityDataJsonType typ = ActivityDataJsonType.SessionWaitlisted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SessionWaitlisted = sessionWaitlisted; - return res; - } - public static ActivityDataJson CreateSpeakerFeedbackSubmitted(SpeakerFeedbackSubmitted speakerFeedbackSubmitted) - { - ActivityDataJsonType typ = ActivityDataJsonType.SpeakerFeedbackSubmitted; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SpeakerFeedbackSubmitted = speakerFeedbackSubmitted; - return res; - } - public static ActivityDataJson CreateSpeakerFileDownloaded(SpeakerFileDownloaded speakerFileDownloaded) - { - ActivityDataJsonType typ = ActivityDataJsonType.SpeakerFileDownloaded; - - ActivityDataJson res = new ActivityDataJson(typ); - res.SpeakerFileDownloaded = speakerFileDownloaded; - return res; - } - public static ActivityDataJson CreateActivityDataJsonAppointmentExternal(ActivityDataJsonAppointmentExternal activityDataJSONAppointmentExternal) - { - ActivityDataJsonType typ = ActivityDataJsonType.ActivityDataJsonAppointmentExternal; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ActivityDataJsonAppointmentExternal = activityDataJSONAppointmentExternal; - return res; - } - public static ActivityDataJson CreateActivityDataJsonEventExternal(ActivityDataJsonEventExternal activityDataJSONEventExternal) - { - ActivityDataJsonType typ = ActivityDataJsonType.ActivityDataJsonEventExternal; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ActivityDataJsonEventExternal = activityDataJSONEventExternal; - return res; - } - public static ActivityDataJson CreateActivityDataJsonExhibitorExternal(ActivityDataJsonExhibitorExternal activityDataJSONExhibitorExternal) - { - ActivityDataJsonType typ = ActivityDataJsonType.ActivityDataJsonExhibitorExternal; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ActivityDataJsonExhibitorExternal = activityDataJSONExhibitorExternal; - return res; - } - public static ActivityDataJson CreateActivityDataJsonSessionExternal(ActivityDataJsonSessionExternal activityDataJSONSessionExternal) - { - ActivityDataJsonType typ = ActivityDataJsonType.ActivityDataJsonSessionExternal; - - ActivityDataJson res = new ActivityDataJson(typ); - res.ActivityDataJsonSessionExternal = activityDataJSONSessionExternal; - return res; - } - public static ActivityDataJson CreateEventAdViewed(EventAdViewed eventAdViewed) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventAdViewed; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventAdViewed = eventAdViewed; - return res; - } - public static ActivityDataJson CreateEventAdClicked(EventAdClicked eventAdClicked) - { - ActivityDataJsonType typ = ActivityDataJsonType.EventAdClicked; - - ActivityDataJson res = new ActivityDataJson(typ); - res.EventAdClicked = eventAdClicked; - return res; - } - - public class ActivityDataJsonConverter : JsonConverter - { - public override bool CanConvert(System.Type objectType) => objectType == typeof(ActivityDataJson); - - public override bool CanRead => true; - - public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) - { - if (reader.TokenType == JsonToken.Null) - { - throw new InvalidOperationException("Received unexpected null JSON value"); - } - - var json = JRaw.Create(reader).ToString(); - var fallbackCandidates = new List<(System.Type, object, string)>(); - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionUnenrolled) { - SessionUnenrolled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionUnenrolled), new ActivityDataJson(ActivityDataJsonType.SessionUnenrolled), "SessionUnenrolled")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventNoShow) { - EventNoShow = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventNoShow), new ActivityDataJson(ActivityDataJsonType.EventNoShow), "EventNoShow")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionWaitlisted) { - SessionWaitlisted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionWaitlisted), new ActivityDataJson(ActivityDataJsonType.SessionWaitlisted), "SessionWaitlisted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionEnrolled) { - SessionEnrolled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionEnrolled), new ActivityDataJson(ActivityDataJsonType.SessionEnrolled), "SessionEnrolled")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionNoShow) { - SessionNoShow = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionNoShow), new ActivityDataJson(ActivityDataJsonType.SessionNoShow), "SessionNoShow")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionFeedbackSubmitted) { - SessionFeedbackSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionFeedbackSubmitted), new ActivityDataJson(ActivityDataJsonType.SessionFeedbackSubmitted), "SessionFeedbackSubmitted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionCheckedOut) { - SessionCheckedOut = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionCheckedOut), new ActivityDataJson(ActivityDataJsonType.SessionCheckedOut), "SessionCheckedOut")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.AppointmentDenied) { - AppointmentDenied = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(AppointmentDenied), new ActivityDataJson(ActivityDataJsonType.AppointmentDenied), "AppointmentDenied")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionPollResponseSubmitted) { - SessionPollResponseSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionPollResponseSubmitted), new ActivityDataJson(ActivityDataJsonType.SessionPollResponseSubmitted), "SessionPollResponseSubmitted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EmailOpened) { - EmailOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EmailOpened), new ActivityDataJson(ActivityDataJsonType.EmailOpened), "EmailOpened")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EmailSent) { - EmailSent = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EmailSent), new ActivityDataJson(ActivityDataJsonType.EmailSent), "EmailSent")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.AppointmentDeclined) { - AppointmentDeclined = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(AppointmentDeclined), new ActivityDataJson(ActivityDataJsonType.AppointmentDeclined), "AppointmentDeclined")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventWaitlisted) { - EventWaitlisted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventWaitlisted), new ActivityDataJson(ActivityDataJsonType.EventWaitlisted), "EventWaitlisted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.AppointmentCreated) { - AppointmentCreated = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(AppointmentCreated), new ActivityDataJson(ActivityDataJsonType.AppointmentCreated), "AppointmentCreated")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.AppointmentRescheduled) { - AppointmentRescheduled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(AppointmentRescheduled), new ActivityDataJson(ActivityDataJsonType.AppointmentRescheduled), "AppointmentRescheduled")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventCheckedIn) { - EventCheckedIn = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventCheckedIn), new ActivityDataJson(ActivityDataJsonType.EventCheckedIn), "EventCheckedIn")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventCheckedOut) { - EventCheckedOut = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventCheckedOut), new ActivityDataJson(ActivityDataJsonType.EventCheckedOut), "EventCheckedOut")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionCheckedIn) { - SessionCheckedIn = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionCheckedIn), new ActivityDataJson(ActivityDataJsonType.SessionCheckedIn), "SessionCheckedIn")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventFeedbackSubmitted) { - EventFeedbackSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventFeedbackSubmitted), new ActivityDataJson(ActivityDataJsonType.EventFeedbackSubmitted), "EventFeedbackSubmitted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.AppointmentCancelled) { - AppointmentCancelled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(AppointmentCancelled), new ActivityDataJson(ActivityDataJsonType.AppointmentCancelled), "AppointmentCancelled")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.LeadScanned) { - LeadScanned = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(LeadScanned), new ActivityDataJson(ActivityDataJsonType.LeadScanned), "LeadScanned")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventRegistered) { - EventRegistered = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventRegistered), new ActivityDataJson(ActivityDataJsonType.EventRegistered), "EventRegistered")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.LeadInboundCreated) { - LeadInboundCreated = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(LeadInboundCreated), new ActivityDataJson(ActivityDataJsonType.LeadInboundCreated), "LeadInboundCreated")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventRegistrationCancelled) { - EventRegistrationCancelled = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventRegistrationCancelled), new ActivityDataJson(ActivityDataJsonType.EventRegistrationCancelled), "EventRegistrationCancelled")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.AppointmentAccepted) { - AppointmentAccepted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(AppointmentAccepted), new ActivityDataJson(ActivityDataJsonType.AppointmentAccepted), "AppointmentAccepted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ExhibitorDocumentOpened) { - ExhibitorDocumentOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExhibitorDocumentOpened), new ActivityDataJson(ActivityDataJsonType.ExhibitorDocumentOpened), "ExhibitorDocumentOpened")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EmailUndelivered) { - EmailUndelivered = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EmailUndelivered), new ActivityDataJson(ActivityDataJsonType.EmailUndelivered), "EmailUndelivered")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventAdClicked) { - EventAdClicked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventAdClicked), new ActivityDataJson(ActivityDataJsonType.EventAdClicked), "EventAdClicked")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventAdViewed) { - EventAdViewed = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventAdViewed), new ActivityDataJson(ActivityDataJsonType.EventAdViewed), "EventAdViewed")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonSessionExternal) { - ActivityDataJsonSessionExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ActivityDataJsonSessionExternal), new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonSessionExternal), "ActivityDataJsonSessionExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ExhibitorWeblinkOpened) { - ExhibitorWeblinkOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExhibitorWeblinkOpened), new ActivityDataJson(ActivityDataJsonType.ExhibitorWeblinkOpened), "ExhibitorWeblinkOpened")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventRegistrationAbandoned) { - EventRegistrationAbandoned = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventRegistrationAbandoned), new ActivityDataJson(ActivityDataJsonType.EventRegistrationAbandoned), "EventRegistrationAbandoned")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.LeadQualified) { - LeadQualified = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(LeadQualified), new ActivityDataJson(ActivityDataJsonType.LeadQualified), "LeadQualified")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonExhibitorExternal) { - ActivityDataJsonExhibitorExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ActivityDataJsonExhibitorExternal), new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonExhibitorExternal), "ActivityDataJsonExhibitorExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonEventExternal) { - ActivityDataJsonEventExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ActivityDataJsonEventExternal), new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonEventExternal), "ActivityDataJsonEventExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonAppointmentExternal) { - ActivityDataJsonAppointmentExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ActivityDataJsonAppointmentExternal), new ActivityDataJson(ActivityDataJsonType.ActivityDataJsonAppointmentExternal), "ActivityDataJsonAppointmentExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventAttendeeSubstituted) { - EventAttendeeSubstituted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventAttendeeSubstituted), new ActivityDataJson(ActivityDataJsonType.EventAttendeeSubstituted), "EventAttendeeSubstituted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SpeakerFeedbackSubmitted) { - SpeakerFeedbackSubmitted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SpeakerFeedbackSubmitted), new ActivityDataJson(ActivityDataJsonType.SpeakerFeedbackSubmitted), "SpeakerFeedbackSubmitted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.AppointmentCheckedIn) { - AppointmentCheckedIn = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(AppointmentCheckedIn), new ActivityDataJson(ActivityDataJsonType.AppointmentCheckedIn), "AppointmentCheckedIn")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ExhibitorViewed) { - ExhibitorViewed = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExhibitorViewed), new ActivityDataJson(ActivityDataJsonType.ExhibitorViewed), "ExhibitorViewed")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionQuestionUpvoted) { - SessionQuestionUpvoted = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionQuestionUpvoted), new ActivityDataJson(ActivityDataJsonType.SessionQuestionUpvoted), "SessionQuestionUpvoted")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EmailClicked) { - EmailClicked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EmailClicked), new ActivityDataJson(ActivityDataJsonType.EmailClicked), "EmailClicked")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventVideoPlayed) { - EventVideoPlayed = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventVideoPlayed), new ActivityDataJson(ActivityDataJsonType.EventVideoPlayed), "EventVideoPlayed")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventAttendeeHubVisited) { - EventAttendeeHubVisited = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventAttendeeHubVisited), new ActivityDataJson(ActivityDataJsonType.EventAttendeeHubVisited), "EventAttendeeHubVisited")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventBannerLinkClicked) { - EventBannerLinkClicked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventBannerLinkClicked), new ActivityDataJson(ActivityDataJsonType.EventBannerLinkClicked), "EventBannerLinkClicked")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventCustomCardOpened) { - EventCustomCardOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventCustomCardOpened), new ActivityDataJson(ActivityDataJsonType.EventCustomCardOpened), "EventCustomCardOpened")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ExhibitorVirtualBoothJoined) { - ExhibitorVirtualBoothJoined = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExhibitorVirtualBoothJoined), new ActivityDataJson(ActivityDataJsonType.ExhibitorVirtualBoothJoined), "ExhibitorVirtualBoothJoined")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SessionQuestionAsked) { - SessionQuestionAsked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SessionQuestionAsked), new ActivityDataJson(ActivityDataJsonType.SessionQuestionAsked), "SessionQuestionAsked")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.SpeakerFileDownloaded) { - SpeakerFileDownloaded = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(SpeakerFileDownloaded), new ActivityDataJson(ActivityDataJsonType.SpeakerFileDownloaded), "SpeakerFileDownloaded")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.ExhibitorSocialLinkOpened) { - ExhibitorSocialLinkOpened = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExhibitorSocialLinkOpened), new ActivityDataJson(ActivityDataJsonType.ExhibitorSocialLinkOpened), "ExhibitorSocialLinkOpened")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EmailBounced) { - EmailBounced = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EmailBounced), new ActivityDataJson(ActivityDataJsonType.EmailBounced), "EmailBounced")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ActivityDataJson(ActivityDataJsonType.EventPageVisitTracked) { - EventPageVisitTracked = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(EventPageVisitTracked), new ActivityDataJson(ActivityDataJsonType.EventPageVisitTracked), "EventPageVisitTracked")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - if (fallbackCandidates.Count > 0) - { - fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); - foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) - { - try - { - return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next fallback option - } - catch (Exception) - { - throw; - } - } - } - - throw new InvalidOperationException("Could not deserialize into any supported types."); - } - - public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) - { - if (value == null) - { - throw new InvalidOperationException("Unexpected null JSON value."); - } - - ActivityDataJson res = (ActivityDataJson)value; - - if (res.AppointmentAccepted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentAccepted)); - return; - } - - if (res.AppointmentCancelled != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentCancelled)); - return; - } - - if (res.AppointmentCheckedIn != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentCheckedIn)); - return; - } - - if (res.AppointmentCreated != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentCreated)); - return; - } - - if (res.AppointmentDeclined != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentDeclined)); - return; - } - - if (res.AppointmentDenied != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentDenied)); - return; - } - - if (res.AppointmentRescheduled != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.AppointmentRescheduled)); - return; - } - - if (res.EmailBounced != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EmailBounced)); - return; - } - - if (res.EmailClicked != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EmailClicked)); - return; - } - - if (res.EmailOpened != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EmailOpened)); - return; - } - - if (res.EmailSent != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EmailSent)); - return; - } - - if (res.EmailUndelivered != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EmailUndelivered)); - return; - } - - if (res.EventAttendeeHubVisited != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventAttendeeHubVisited)); - return; - } - - if (res.EventAttendeeSubstituted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventAttendeeSubstituted)); - return; - } - - if (res.EventBannerLinkClicked != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventBannerLinkClicked)); - return; - } - - if (res.EventCheckedIn != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventCheckedIn)); - return; - } - - if (res.EventCheckedOut != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventCheckedOut)); - return; - } - - if (res.EventCustomCardOpened != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventCustomCardOpened)); - return; - } - - if (res.EventFeedbackSubmitted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventFeedbackSubmitted)); - return; - } - - if (res.EventNoShow != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventNoShow)); - return; - } - - if (res.EventPageVisitTracked != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventPageVisitTracked)); - return; - } - - if (res.EventRegistered != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventRegistered)); - return; - } - - if (res.EventRegistrationAbandoned != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventRegistrationAbandoned)); - return; - } - - if (res.EventRegistrationCancelled != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventRegistrationCancelled)); - return; - } - - if (res.EventVideoPlayed != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventVideoPlayed)); - return; - } - - if (res.EventWaitlisted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventWaitlisted)); - return; - } - - if (res.ExhibitorDocumentOpened != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorDocumentOpened)); - return; - } - - if (res.ExhibitorSocialLinkOpened != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorSocialLinkOpened)); - return; - } - - if (res.ExhibitorViewed != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorViewed)); - return; - } - - if (res.ExhibitorVirtualBoothJoined != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorVirtualBoothJoined)); - return; - } - - if (res.ExhibitorWeblinkOpened != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExhibitorWeblinkOpened)); - return; - } - - if (res.LeadInboundCreated != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.LeadInboundCreated)); - return; - } - - if (res.LeadQualified != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.LeadQualified)); - return; - } - - if (res.LeadScanned != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.LeadScanned)); - return; - } - - if (res.SessionCheckedIn != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionCheckedIn)); - return; - } - - if (res.SessionCheckedOut != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionCheckedOut)); - return; - } - - if (res.SessionEnrolled != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionEnrolled)); - return; - } - - if (res.SessionFeedbackSubmitted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionFeedbackSubmitted)); - return; - } - - if (res.SessionNoShow != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionNoShow)); - return; - } - - if (res.SessionPollResponseSubmitted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionPollResponseSubmitted)); - return; - } - - if (res.SessionQuestionAsked != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionQuestionAsked)); - return; - } - - if (res.SessionQuestionUpvoted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionQuestionUpvoted)); - return; - } - - if (res.SessionUnenrolled != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionUnenrolled)); - return; - } - - if (res.SessionWaitlisted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SessionWaitlisted)); - return; - } - - if (res.SpeakerFeedbackSubmitted != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SpeakerFeedbackSubmitted)); - return; - } - - if (res.SpeakerFileDownloaded != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.SpeakerFileDownloaded)); - return; - } - - if (res.ActivityDataJsonAppointmentExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataJsonAppointmentExternal)); - return; - } - - if (res.ActivityDataJsonEventExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataJsonEventExternal)); - return; - } - - if (res.ActivityDataJsonExhibitorExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataJsonExhibitorExternal)); - return; - } - - if (res.ActivityDataJsonSessionExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ActivityDataJsonSessionExternal)); - return; - } - - if (res.EventAdViewed != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventAdViewed)); - return; - } - - if (res.EventAdClicked != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.EventAdClicked)); - return; - } - } - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonAppointmentExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonAppointmentExternal.cs deleted file mode 100644 index 1c4f73618..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonAppointmentExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ActivityDataJsonAppointmentExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent1.cs deleted file mode 100644 index 0a0857eb4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent1.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent1 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent10.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent10.cs deleted file mode 100644 index 9052181fe..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent10.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent10 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent11.cs deleted file mode 100644 index 09bca5a09..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent11.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent11 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent2.cs deleted file mode 100644 index f9b6089ec..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent2.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent2 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent3.cs deleted file mode 100644 index 42fcb8955..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent3.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent3 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent4.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent4.cs deleted file mode 100644 index 29412628f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent4.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent4 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent5.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent5.cs deleted file mode 100644 index 2f31774e7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent5.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent5 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent6.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent6.cs deleted file mode 100644 index 4464f3568..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent6.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent6 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent7.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent7.cs deleted file mode 100644 index 3cbd0f33f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent7.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent7 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent8.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent8.cs deleted file mode 100644 index 090d5ef0d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent8.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent8 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent9.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent9.cs deleted file mode 100644 index f24258592..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEvent9.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event in which this activity occurred. - /// - public class ActivityDataJsonEvent9 - { - /// - /// Event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEventExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEventExternal.cs deleted file mode 100644 index 7df259894..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonEventExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ActivityDataJsonEventExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonExhibitorExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonExhibitorExternal.cs deleted file mode 100644 index 5eeed35be..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonExhibitorExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ActivityDataJsonExhibitorExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonSessionExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonSessionExternal.cs deleted file mode 100644 index 872f28b77..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataJsonSessionExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ActivityDataJsonSessionExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataSessionExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataSessionExternal.cs new file mode 100644 index 000000000..fe38df4c5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityDataSessionExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ActivityDataSessionExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitor.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitor.cs new file mode 100644 index 000000000..ddd9178b5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitor.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An activity exhibitor. + /// + public class ActivityExhibitor + { + /// + /// The unique identifier of the exhibitor. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Unique code of an exhibitor at a booth. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// The marketing code of an exhibitor. + /// + [JsonProperty("marketingCode")] + public string? MarketingCode { get; set; } + + /// + /// The Name of an exhibitor. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorDocument.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorDocument.cs new file mode 100644 index 000000000..63e67b001 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorDocument.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Document for an activity exhibitor. + /// + public class ActivityExhibitorDocument + { + /// + /// The unique identifier of the document. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The title of the document. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The format of the document eg. doc, docx, gif, jpg, pdf, etc. + /// + [JsonProperty("format")] + public string? Format { get; set; } + + /// + /// If the document is downloaded. + /// + [JsonProperty("downloaded")] + public bool? Downloaded { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorDocumentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorDocumentJson.cs deleted file mode 100644 index fc654a9b6..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorDocumentJson.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// Document for an activity exhibitor. - /// - public class ActivityExhibitorDocumentJson - { - /// - /// The unique identifier of the document. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The title of the document. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The format of the document eg. doc, docx, gif, jpg, pdf, etc. - /// - [JsonProperty("format")] - public string? Format { get; set; } - - /// - /// If the document is downloaded. - /// - [JsonProperty("downloaded")] - public bool? Downloaded { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorJson.cs deleted file mode 100644 index 12159090f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorJson.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// An activity exhibitor. - /// - public class ActivityExhibitorJson - { - /// - /// The unique identifier of the exhibitor. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Unique code of an exhibitor at a booth. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - /// - /// The marketing code of an exhibitor. - /// - [JsonProperty("marketingCode")] - public string? MarketingCode { get; set; } - - /// - /// The Name of an exhibitor. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSource.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSource.cs new file mode 100644 index 000000000..38ae9acc8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSource.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Navigation source for an activity exhibitor. + /// + public class ActivityExhibitorNavigationSource + { + /// + /// The source type in the attendee hub from where the user navigated to the exhibitor booth. + /// + [JsonProperty("type")] + public string? Type { get; set; } + + /// + /// The source name in the attendee hub from where the user navigated to the exhibitor booth. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSourceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSourceJson.cs deleted file mode 100644 index bc05f3af8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorNavigationSourceJson.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; - - /// - /// Navigation source for an activity exhibitor. - /// - public class ActivityExhibitorNavigationSourceJson - { - /// - /// The source type in the attendee hub from where the user navigated to the exhibitor booth. - /// - [JsonProperty("type")] - public string? Type { get; set; } - - /// - /// The source name in the attendee hub from where the user navigated to the exhibitor booth. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevel.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevel.cs new file mode 100644 index 000000000..e4aaf9e63 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevel.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Sponsorship level for an activity exhibitor. + /// + public class ActivityExhibitorSponsorshipLevel + { + /// + /// The unique identifier of the sponsorship level. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The name of the sponsorship level. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevelJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevelJson.cs deleted file mode 100644 index 68520e2ce..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorSponsorshipLevelJson.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; - - /// - /// Sponsorship level for an activity exhibitor. - /// - public class ActivityExhibitorSponsorshipLevelJson - { - /// - /// The unique identifier of the sponsorship level. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the sponsorship level. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorWebLinkJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorWebLinkJson.cs deleted file mode 100644 index b59d27ba2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorWebLinkJson.cs +++ /dev/null @@ -1,32 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// A web-link for an activity exhibitor. - /// - public class ActivityExhibitorWebLinkJson - { - /// - /// The unique identifier of the weblink. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The name of the weblink. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorWeblink.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorWeblink.cs new file mode 100644 index 000000000..93ff1603e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityExhibitorWeblink.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A web-link for an activity exhibitor. + /// + public class ActivityExhibitorWeblink + { + /// + /// The unique identifier of the weblink. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The name of the weblink. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityJson.cs deleted file mode 100644 index a1667b6ee..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityJson.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; - - /// - /// An attendee activity. - /// - public class ActivityJson - { - /// - /// The identifier of the attendee activity. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The reference to the related entity. Contains only the ID of the related entity. - /// - [JsonProperty("attendee")] - public UuidJson Attendee { get; set; } = default!; - - /// - /// Details for an event activity. - /// - [JsonProperty("event")] - public EventActivityDetailsJson Event { get; set; } = default!; - - /// - /// ISO 8601 date and time when this attendee activity occurred. - /// - [JsonProperty("time")] - public DateTime? Time { get; set; } - - /// - /// ISO 8601 date and time when this record was created. - /// - [JsonProperty("created")] - public DateTime? Created { get; set; } - - /// - /// Unique name corresponding to the attendee activity type. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// This is used to denote the type of the attendee activity. - /// - [JsonProperty("type")] - public ActivityTypeJson? Type { get; set; } - - /// - /// This is used to denote the type of the attendee activity. - /// - [JsonProperty("data", NullValueHandling = NullValueHandling.Include)] - public ActivityDataJson? Data { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityLead.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityLead.cs new file mode 100644 index 000000000..6ed5882d6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityLead.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An activity lead. + /// + public class ActivityLead + { + /// + /// Activity Lead ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The unique identifier of the device. + /// + [JsonProperty("deviceId")] + public string? DeviceId { get; set; } + + /// + /// Name of the device. + /// + [JsonProperty("deviceName")] + public string? DeviceName { get; set; } + + /// + /// Booth staff for an activity. + /// + [JsonProperty("boothStaff")] + public ActivityBoothStaff? BoothStaff { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityLeadJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityLeadJson.cs deleted file mode 100644 index c17034965..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityLeadJson.cs +++ /dev/null @@ -1,45 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// An activity lead. - /// - public class ActivityLeadJson - { - /// - /// Activity Lead ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The unique identifier of the device. - /// - [JsonProperty("deviceId")] - public string? DeviceId { get; set; } - - /// - /// Name of the device. - /// - [JsonProperty("deviceName")] - public string? DeviceName { get; set; } - - /// - /// Booth staff for an activity. - /// - [JsonProperty("boothStaff")] - public ZeroAllOf4? BoothStaff { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityType.cs new file mode 100644 index 000000000..cfd4ff83b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityType.cs @@ -0,0 +1,107 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// This is used to denote the type of the attendee activity. + /// + public enum ActivityType + { + [JsonProperty("appointment.accepted")] AppointmentAccepted, + [JsonProperty("appointment.cancelled")] AppointmentCancelled, + [JsonProperty("appointment.checkedIn")] AppointmentCheckedIn, + [JsonProperty("appointment.created")] AppointmentCreated, + [JsonProperty("appointment.declined")] AppointmentDeclined, + [JsonProperty("appointment.denied")] AppointmentDenied, + [JsonProperty("appointment.rescheduled")] AppointmentRescheduled, + [JsonProperty("email.bounced")] EmailBounced, + [JsonProperty("email.clicked")] EmailClicked, + [JsonProperty("email.opened")] EmailOpened, + [JsonProperty("email.sent")] EmailSent, + [JsonProperty("email.undelivered")] EmailUndelivered, + [JsonProperty("event.attendeeHubVisited")] EventAttendeeHubVisited, + [JsonProperty("event.attendeeSubstituted")] EventAttendeeSubstituted, + [JsonProperty("event.bannerLinkClicked")] EventBannerLinkClicked, + [JsonProperty("event.checkedIn")] EventCheckedIn, + [JsonProperty("event.checkedOut")] EventCheckedOut, + [JsonProperty("event.customCardOpened")] EventCustomCardOpened, + [JsonProperty("event.feedbackSubmitted")] EventFeedbackSubmitted, + [JsonProperty("event.noShow")] EventNoShow, + [JsonProperty("event.pageVisitTracked")] EventPageVisitTracked, + [JsonProperty("event.registered")] EventRegistered, + [JsonProperty("event.registrationAbandoned")] EventRegistrationAbandoned, + [JsonProperty("event.registrationCancelled")] EventRegistrationCancelled, + [JsonProperty("event.videoPlayed")] EventVideoPlayed, + [JsonProperty("event.waitlisted")] EventWaitlisted, + [JsonProperty("exhibitor.documentOpened")] ExhibitorDocumentOpened, + [JsonProperty("exhibitor.socialLinkOpened")] ExhibitorSocialLinkOpened, + [JsonProperty("exhibitor.viewed")] ExhibitorViewed, + [JsonProperty("exhibitor.virtualBoothJoined")] ExhibitorVirtualBoothJoined, + [JsonProperty("exhibitor.weblinkOpened")] ExhibitorWeblinkOpened, + [JsonProperty("lead.inboundCreated")] LeadInboundCreated, + [JsonProperty("lead.qualified")] LeadQualified, + [JsonProperty("lead.scanned")] LeadScanned, + [JsonProperty("session.checkedIn")] SessionCheckedIn, + [JsonProperty("session.checkedOut")] SessionCheckedOut, + [JsonProperty("session.enrolled")] SessionEnrolled, + [JsonProperty("session.feedbackSubmitted")] SessionFeedbackSubmitted, + [JsonProperty("session.noShow")] SessionNoShow, + [JsonProperty("session.pollResponseSubmitted")] SessionPollResponseSubmitted, + [JsonProperty("session.questionAsked")] SessionQuestionAsked, + [JsonProperty("session.questionUpvoted")] SessionQuestionUpvoted, + [JsonProperty("session.unenrolled")] SessionUnenrolled, + [JsonProperty("session.waitlisted")] SessionWaitlisted, + [JsonProperty("speaker.feedbackSubmitted")] SpeakerFeedbackSubmitted, + [JsonProperty("speaker.fileDownloaded")] SpeakerFileDownloaded, + [JsonProperty("appointment.external")] AppointmentExternal, + [JsonProperty("event.external")] EventExternal, + [JsonProperty("exhibitor.external")] ExhibitorExternal, + [JsonProperty("session.external")] SessionExternal, + [JsonProperty("event.adViewed")] EventAdViewed, + [JsonProperty("event.adClicked")] EventAdClicked, + } + + public static class ActivityTypeExtension + { + public static string Value(this ActivityType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ActivityType ToEnum(this string value) + { + foreach (var field in typeof(ActivityType).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 ActivityType) + { + return (ActivityType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ActivityType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ActivityTypeJson.cs deleted file mode 100644 index fdb8caf06..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ActivityTypeJson.cs +++ /dev/null @@ -1,107 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This is used to denote the type of the attendee activity. - /// - public enum ActivityTypeJson - { - [JsonProperty("appointment.accepted")] AppointmentAccepted, - [JsonProperty("appointment.cancelled")] AppointmentCancelled, - [JsonProperty("appointment.checkedIn")] AppointmentCheckedIn, - [JsonProperty("appointment.created")] AppointmentCreated, - [JsonProperty("appointment.declined")] AppointmentDeclined, - [JsonProperty("appointment.denied")] AppointmentDenied, - [JsonProperty("appointment.rescheduled")] AppointmentRescheduled, - [JsonProperty("email.bounced")] EmailBounced, - [JsonProperty("email.clicked")] EmailClicked, - [JsonProperty("email.opened")] EmailOpened, - [JsonProperty("email.sent")] EmailSent, - [JsonProperty("email.undelivered")] EmailUndelivered, - [JsonProperty("event.attendeeHubVisited")] EventAttendeeHubVisited, - [JsonProperty("event.attendeeSubstituted")] EventAttendeeSubstituted, - [JsonProperty("event.bannerLinkClicked")] EventBannerLinkClicked, - [JsonProperty("event.checkedIn")] EventCheckedIn, - [JsonProperty("event.checkedOut")] EventCheckedOut, - [JsonProperty("event.customCardOpened")] EventCustomCardOpened, - [JsonProperty("event.feedbackSubmitted")] EventFeedbackSubmitted, - [JsonProperty("event.noShow")] EventNoShow, - [JsonProperty("event.pageVisitTracked")] EventPageVisitTracked, - [JsonProperty("event.registered")] EventRegistered, - [JsonProperty("event.registrationAbandoned")] EventRegistrationAbandoned, - [JsonProperty("event.registrationCancelled")] EventRegistrationCancelled, - [JsonProperty("event.videoPlayed")] EventVideoPlayed, - [JsonProperty("event.waitlisted")] EventWaitlisted, - [JsonProperty("exhibitor.documentOpened")] ExhibitorDocumentOpened, - [JsonProperty("exhibitor.socialLinkOpened")] ExhibitorSocialLinkOpened, - [JsonProperty("exhibitor.viewed")] ExhibitorViewed, - [JsonProperty("exhibitor.virtualBoothJoined")] ExhibitorVirtualBoothJoined, - [JsonProperty("exhibitor.weblinkOpened")] ExhibitorWeblinkOpened, - [JsonProperty("lead.inboundCreated")] LeadInboundCreated, - [JsonProperty("lead.qualified")] LeadQualified, - [JsonProperty("lead.scanned")] LeadScanned, - [JsonProperty("session.checkedIn")] SessionCheckedIn, - [JsonProperty("session.checkedOut")] SessionCheckedOut, - [JsonProperty("session.enrolled")] SessionEnrolled, - [JsonProperty("session.feedbackSubmitted")] SessionFeedbackSubmitted, - [JsonProperty("session.noShow")] SessionNoShow, - [JsonProperty("session.pollResponseSubmitted")] SessionPollResponseSubmitted, - [JsonProperty("session.questionAsked")] SessionQuestionAsked, - [JsonProperty("session.questionUpvoted")] SessionQuestionUpvoted, - [JsonProperty("session.unenrolled")] SessionUnenrolled, - [JsonProperty("session.waitlisted")] SessionWaitlisted, - [JsonProperty("speaker.feedbackSubmitted")] SpeakerFeedbackSubmitted, - [JsonProperty("speaker.fileDownloaded")] SpeakerFileDownloaded, - [JsonProperty("appointment.external")] AppointmentExternal, - [JsonProperty("event.external")] EventExternal, - [JsonProperty("exhibitor.external")] ExhibitorExternal, - [JsonProperty("session.external")] SessionExternal, - [JsonProperty("event.adViewed")] EventAdViewed, - [JsonProperty("event.adClicked")] EventAdClicked, - } - - public static class ActivityTypeJsonExtension - { - public static string Value(this ActivityTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ActivityTypeJson ToEnum(this string value) - { - foreach (var field in typeof(ActivityTypeJson).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 ActivityTypeJson) - { - return (ActivityTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ActivityTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdLocation.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdLocation.cs new file mode 100644 index 000000000..c8fa5277b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AdLocation.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The placement of the ad within the specific product. + /// + public enum AdLocation + { + [JsonProperty("Home Page")] HomePage, + [JsonProperty("Exhibitor List")] ExhibitorList, + [JsonProperty("Session List")] SessionList, + } + + public static class AdLocationExtension + { + public static string Value(this AdLocation value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AdLocation ToEnum(this string value) + { + foreach (var field in typeof(AdLocation).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 AdLocation) + { + return (AdLocation)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AdLocation"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdLocationJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdLocationJson.cs deleted file mode 100644 index 9f1faab17..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AdLocationJson.cs +++ /dev/null @@ -1,58 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The placement of the ad within the specific product. - /// - public enum AdLocationJson - { - [JsonProperty("Home Page")] HomePage, - [JsonProperty("Exhibitor List")] ExhibitorList, - [JsonProperty("Session List")] SessionList, - } - - public static class AdLocationJsonExtension - { - public static string Value(this AdLocationJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AdLocationJson ToEnum(this string value) - { - foreach (var field in typeof(AdLocationJson).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 AdLocationJson) - { - return (AdLocationJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AdLocationJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressInfo.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressInfo.cs new file mode 100644 index 000000000..dca736e13 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AddressInfo.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Venue address information. + /// + public class AddressInfo + { + /// + /// Street address line 1. + /// + [JsonProperty("streetAddress1")] + public string? StreetAddress1 { get; set; } + + /// + /// Street address line 2. + /// + [JsonProperty("streetAddress2")] + public string? StreetAddress2 { get; set; } + + /// + /// City. + /// + [JsonProperty("city")] + public string City { get; set; } = default!; + + /// + /// The state province code used for contact information. + /// + [JsonProperty("stateProvince")] + public StateProvince1? StateProvince { get; set; } + + /// + /// ZIP or postal code. + /// + [JsonProperty("zipPostalCode")] + public string? ZipPostalCode { get; set; } + + /// + /// ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + /// + [JsonProperty("country")] + public Country Country { get; set; } = default!; + + /// + /// Directions or instructions for getting to the venue. + /// + [JsonProperty("directions")] + public string? Directions { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Answer2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Answer2.cs deleted file mode 100644 index c424bbaf2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Answer2.cs +++ /dev/null @@ -1,39 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// A JSON schema representing an answer object. - /// - public class Answer2 - { - /// - /// Type of answer. - /// - [JsonProperty("type")] - public AnswerType1 Type { get; set; } = default!; - - /// - /// Answered value like: Choice text, text answer input etc. - /// - [JsonProperty("value")] - public string? Value { get; set; } - - /// - /// The choice that was selected. - /// - [JsonProperty("choice")] - public Answer2Choice? Choice { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Answer21.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Answer21.cs new file mode 100644 index 000000000..72f2b5753 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Answer21.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// A question answer. + /// + public class Answer21 + { + /// + /// The unique identifier of the question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Question text. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("type")] + public string? Type { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Answer22.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Answer22.cs new file mode 100644 index 000000000..1bec66cbd --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Answer22.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; + + /// + /// A JSON schema representing an answer object. + /// + public class Answer22 + { + /// + /// Type of answer. + /// + [JsonProperty("type")] + public AnswerType11 Type { get; set; } = default!; + + /// + /// Answered value like: Choice text, text answer input etc. + /// + [JsonProperty("value")] + public string? Value { get; set; } + + /// + /// The choice that was selected. + /// + [JsonProperty("choice")] + public Answer2Choice? Choice { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerJson.cs index 41f1c6328..bed8f9cc4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerJson.cs @@ -22,7 +22,7 @@ public class AnswerJson /// Type of answer. /// [JsonProperty("type")] - public AnswerTypeJson1 Type { get; set; } = default!; + public AnswerTypeJson Type { get; set; } = default!; /// /// Value property is used to send information like string, number and date in case of following types of answers only: ChoiceText, Text, Comment, Other. In case of Rank Order question, rank should be put into value. Refer to questions resource to get choice label or category label from their respective ids. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerJson1.cs deleted file mode 100644 index b66f584a0..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerJson1.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// A question answer. - /// - public class AnswerJson1 - { - /// - /// The unique identifier of the question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Question text. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("type")] - public string? Type { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType1.cs deleted file mode 100644 index 2953e612b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType1.cs +++ /dev/null @@ -1,59 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of answer. - /// - public enum AnswerType1 - { - [JsonProperty("Choice")] Choice, - [JsonProperty("Text")] Text, - [JsonProperty("Other")] Other, - [JsonProperty("NA")] Na, - } - - public static class AnswerType1Extension - { - public static string Value(this AnswerType1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AnswerType1 ToEnum(this string value) - { - foreach (var field in typeof(AnswerType1).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 AnswerType1) - { - return (AnswerType1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AnswerType1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType11.cs new file mode 100644 index 000000000..36f20fa99 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType11.cs @@ -0,0 +1,59 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Type of answer. + /// + public enum AnswerType11 + { + [JsonProperty("Choice")] Choice, + [JsonProperty("Text")] Text, + [JsonProperty("Other")] Other, + [JsonProperty("NA")] Na, + } + + public static class AnswerType11Extension + { + public static string Value(this AnswerType11 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AnswerType11 ToEnum(this string value) + { + foreach (var field in typeof(AnswerType11).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 AnswerType11) + { + return (AnswerType11)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AnswerType11"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType12.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType12.cs new file mode 100644 index 000000000..df719afb7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerType12.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.
+ ///
+ /// Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.
+ ///
+ /// Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.
+ ///
+ /// In all other cases, `answerType` is not expected to be set. + ///
+ public enum AnswerType12 + { + [JsonProperty("Other")] Other, + [JsonProperty("NA")] Na, + } + + public static class AnswerType12Extension + { + public static string Value(this AnswerType12 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AnswerType12 ToEnum(this string value) + { + foreach (var field in typeof(AnswerType12).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 AnswerType12) + { + return (AnswerType12)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AnswerType12"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerTypeJson.cs index 3989525ab..23d349aa6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerTypeJson.cs @@ -14,18 +14,17 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.
- ///
- /// Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.
- ///
- /// Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.
- ///
- /// In all other cases, `answerType` is not expected to be set. + /// Type of answer. ///
public enum AnswerTypeJson { + [JsonProperty("Choice")] Choice, + [JsonProperty("Text")] Text, + [JsonProperty("ChoiceText")] ChoiceText, + [JsonProperty("Comment")] Comment, [JsonProperty("Other")] Other, [JsonProperty("NA")] Na, + [JsonProperty("File")] File, } public static class AnswerTypeJsonExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AnswerTypeJson1.cs deleted file mode 100644 index b77f9c204..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AnswerTypeJson1.cs +++ /dev/null @@ -1,62 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of answer. - /// - public enum AnswerTypeJson1 - { - [JsonProperty("Choice")] Choice, - [JsonProperty("Text")] Text, - [JsonProperty("ChoiceText")] ChoiceText, - [JsonProperty("Comment")] Comment, - [JsonProperty("Other")] Other, - [JsonProperty("NA")] Na, - [JsonProperty("File")] File, - } - - public static class AnswerTypeJson1Extension - { - public static string Value(this AnswerTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AnswerTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(AnswerTypeJson1).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 AnswerTypeJson1) - { - return (AnswerTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AnswerTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentAccepted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentAccepted.cs index 64119677d..7f9b6362e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentAccepted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentAccepted.cs @@ -22,12 +22,12 @@ public class AppointmentAccepted /// An activity appointment. ///
[JsonProperty("appointment")] - public ActivityAppointmentJson? Appointment { get; set; } + public ActivityAppointment? Appointment { get; set; } /// /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCancelled.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCancelled.cs index eba29925f..02524eb70 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCancelled.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCancelled.cs @@ -22,12 +22,12 @@ public class AppointmentCancelled /// An activity appointment. ///
[JsonProperty("appointment")] - public ActivityAppointmentJson? Appointment { get; set; } + public ActivityAppointment? Appointment { get; set; } /// /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCheckedIn.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCheckedIn.cs index b15bdb119..964cfe7e1 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCheckedIn.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCheckedIn.cs @@ -23,13 +23,13 @@ public class AppointmentCheckedIn /// An activity appointment. /// [JsonProperty("appointment")] - public ActivityAppointmentJson? Appointment { get; set; } + public ActivityAppointment? Appointment { get; set; } /// /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } /// /// ISO 8601 date and time when an attendee checked in to the appointment. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCreated.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCreated.cs index 0ebe0fa23..ea897f450 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCreated.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentCreated.cs @@ -22,12 +22,12 @@ public class AppointmentCreated /// An activity appointment. /// [JsonProperty("appointment")] - public ActivityAppointmentJson? Appointment { get; set; } + public ActivityAppointment? Appointment { get; set; } /// /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDeclined.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDeclined.cs index a8b057493..118195796 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDeclined.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDeclined.cs @@ -22,12 +22,12 @@ public class AppointmentDeclined /// An activity appointment. /// [JsonProperty("appointment")] - public ActivityAppointmentJson? Appointment { get; set; } + public ActivityAppointment? Appointment { get; set; } /// /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDenied.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDenied.cs index e8db459f8..701947f9c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDenied.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentDenied.cs @@ -22,12 +22,12 @@ public class AppointmentDenied /// Base entity of an activity appointment. /// [JsonProperty("appointment")] - public ActivityBaseAppointmentJson? Appointment { get; set; } + public ActivityBaseAppointment? Appointment { get; set; } /// /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentPaginatedResponse.cs index afb0f5175..5ef6e148d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentPaginatedResponse.cs @@ -29,6 +29,6 @@ public class AppointmentPaginatedResponse /// Collection of appointments and their related details. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentRescheduled.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentRescheduled.cs index 0cda64cdc..5ed3e400c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentRescheduled.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentRescheduled.cs @@ -22,12 +22,12 @@ public class AppointmentRescheduled /// An activity appointment. /// [JsonProperty("appointment")] - public ActivityAppointmentJson? Appointment { get; set; } + public ActivityAppointment? Appointment { get; set; } /// /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AreaMeasurement.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AreaMeasurement.cs new file mode 100644 index 000000000..041613a13 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AreaMeasurement.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Measurement of area in square feet or square meters. + /// + public class AreaMeasurement + { + /// + /// The numeric value of the area measurement. + /// + [JsonProperty("value")] + public double Value { get; set; } = default!; + + /// + /// The unit of measurement for the area. + /// + [JsonProperty("unit")] + public AreaMeasurementUnit Unit { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AreaMeasurementUnit.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AreaMeasurementUnit.cs new file mode 100644 index 000000000..a7fe8ef00 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AreaMeasurementUnit.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 unit of measurement for the area. + /// + public enum AreaMeasurementUnit + { + [JsonProperty("SQUARE_FEET")] SquareFeet, + [JsonProperty("SQUARE_METERS")] SquareMeters, + } + + public static class AreaMeasurementUnitExtension + { + public static string Value(this AreaMeasurementUnit value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AreaMeasurementUnit ToEnum(this string value) + { + foreach (var field in typeof(AreaMeasurementUnit).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 AreaMeasurementUnit) + { + return (AreaMeasurementUnit)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AreaMeasurementUnit"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs index 8ed4bdf01..85f1a995f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs @@ -172,9 +172,8 @@ public class Attendee11 public Uuid? Administrator { get; set; } /// - /// DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. + /// 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 is read-only; to update an attendee's subscription status, use PUT /attendees/{id}/email-subscriptions. /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] [JsonProperty("unsubscribed")] public bool? Unsubscribed { get; set; } @@ -237,7 +236,7 @@ public class Attendee11 /// [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] [JsonProperty("questions")] - public List? Questions { get; set; } + public List? Questions { get; set; } /// /// The list of answers to the registration questions. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeActivitiesPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeActivitiesPaginatedResponse.cs index e77877d6e..38942401f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeActivitiesPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeActivitiesPaginatedResponse.cs @@ -23,12 +23,12 @@ public class AttendeeActivitiesPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of attendee activities. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeActivity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeActivity.cs new file mode 100644 index 000000000..ba5599cb6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeActivity.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// An attendee activity. + /// + public class AttendeeActivity + { + /// + /// The identifier of the attendee activity. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The reference to the related entity. Contains only the ID of the related entity. + /// + [JsonProperty("attendee")] + public Uuid Attendee { get; set; } = default!; + + /// + /// Details for an event activity. + /// + [JsonProperty("event")] + public EventActivityDetail Event { get; set; } = default!; + + /// + /// ISO 8601 date and time when this attendee activity occurred. + /// + [JsonProperty("time")] + public DateTime? Time { get; set; } + + /// + /// ISO 8601 date and time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// Unique name corresponding to the attendee activity type. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// This is used to denote the type of the attendee activity. + /// + [JsonProperty("type")] + public ActivityType? Type { get; set; } + + /// + /// This is used to denote the type of the attendee activity. + /// + [JsonProperty("data", NullValueHandling = NullValueHandling.Include)] + public ActivityData? Data { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs index 8ceed4168..eef852350 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs @@ -47,6 +47,6 @@ public class AttendeeAddBulkItemEventJsonErrorResponse /// Additional details of cascading error messages. /// [JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs index 34898c88b..e76bf3130 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs @@ -179,7 +179,7 @@ public class AttendeeContactInfo /// Collection of custom fields. /// [JsonProperty("customFields")] - public List? CustomFields { get; set; } + public List? CustomFields { get; set; } /// /// This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name has part of the ID. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeStatusJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeStatusJson.cs deleted file mode 100644 index 0bd91ad0d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeStatusJson.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This is used to denote the status of an attendee. - /// - public enum AttendeeStatusJson - { - [JsonProperty("No Response")] NoResponse, - [JsonProperty("Accepted")] Accepted, - [JsonProperty("Declined")] Declined, - [JsonProperty("Visited")] Visited, - [JsonProperty("Waitlisted")] Waitlisted, - [JsonProperty("Cancelled")] Cancelled, - [JsonProperty("Pending Approval")] PendingApproval, - [JsonProperty("Denied Approval")] DeniedApproval, - } - - public static class AttendeeStatusJsonExtension - { - public static string Value(this AttendeeStatusJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AttendeeStatusJson ToEnum(this string value) - { - foreach (var field in typeof(AttendeeStatusJson).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 AttendeeStatusJson) - { - return (AttendeeStatusJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AttendeeStatusJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTarget.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTarget.cs new file mode 100644 index 000000000..c0fb155fb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTarget.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The target of the link clicked on the banner. + /// + public class BannerLinkTarget + { + /// + /// The type of target associated with the banner link. + /// + [JsonProperty("type")] + public BannerLinkTargetType? Type { get; set; } + + /// + /// The details of the target associated with the banner link. + /// + [JsonProperty("details")] + public string? Details { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetJson.cs deleted file mode 100644 index 6f0230ef0..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetJson.cs +++ /dev/null @@ -1,33 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The target of the link clicked on the banner. - /// - public class BannerLinkTargetJson - { - /// - /// The type of target associated with the banner link. - /// - [JsonProperty("type")] - public BannerLinkTargetJsonType? Type { get; set; } - - /// - /// The details of the target associated with the banner link. - /// - [JsonProperty("details")] - public string? Details { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetJsonType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetJsonType.cs deleted file mode 100644 index cdcfb0b99..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetJsonType.cs +++ /dev/null @@ -1,62 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The type of target associated with the banner link. - /// - public enum BannerLinkTargetJsonType - { - [JsonProperty("Attendee Hub Page")] AttendeeHubPage, - [JsonProperty("Discussion Topic")] DiscussionTopic, - [JsonProperty("External Url")] ExternalUrl, - [JsonProperty("Floor Plan Details")] FloorPlanDetails, - [JsonProperty("Session Details")] SessionDetails, - [JsonProperty("Speaker Details")] SpeakerDetails, - [JsonProperty("Virtual Booth")] VirtualBooth, - } - - public static class BannerLinkTargetJsonTypeExtension - { - public static string Value(this BannerLinkTargetJsonType value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static BannerLinkTargetJsonType ToEnum(this string value) - { - foreach (var field in typeof(BannerLinkTargetJsonType).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 BannerLinkTargetJsonType) - { - return (BannerLinkTargetJsonType)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum BannerLinkTargetJsonType"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetType.cs new file mode 100644 index 000000000..58c268b76 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BannerLinkTargetType.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The type of target associated with the banner link. + /// + public enum BannerLinkTargetType + { + [JsonProperty("Attendee Hub Page")] AttendeeHubPage, + [JsonProperty("Discussion Topic")] DiscussionTopic, + [JsonProperty("External Url")] ExternalUrl, + [JsonProperty("Floor Plan Details")] FloorPlanDetails, + [JsonProperty("Session Details")] SessionDetails, + [JsonProperty("Speaker Details")] SpeakerDetails, + [JsonProperty("Virtual Booth")] VirtualBooth, + } + + public static class BannerLinkTargetTypeExtension + { + public static string Value(this BannerLinkTargetType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static BannerLinkTargetType ToEnum(this string value) + { + foreach (var field in typeof(BannerLinkTargetType).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 BannerLinkTargetType) + { + return (BannerLinkTargetType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum BannerLinkTargetType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BaseAnswer.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BaseAnswer.cs new file mode 100644 index 000000000..48c1334b1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BaseAnswer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Base entity of a question answer. + /// + public class BaseAnswer + { + /// + /// The unique identifier of the Answer. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Value of an answer. + /// + [JsonProperty("value")] + public string? Value { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BaseAnswerJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BaseAnswerJson.cs deleted file mode 100644 index d17bd90f8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BaseAnswerJson.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; - - /// - /// Base entity of a question answer. - /// - public class BaseAnswerJson - { - /// - /// The unique identifier of the Answer. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Value of an answer. - /// - [JsonProperty("value")] - public string? Value { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestion.cs new file mode 100644 index 000000000..15a28692d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestion.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The question that was answered. + /// + public class BaseQuestion + { + /// + /// The unique identifier of the question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Question text. + /// + [JsonProperty("text")] + public string? Text { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestionResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestionResponse.cs new file mode 100644 index 000000000..6fbb5736e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestionResponse.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// Base entity for a question response. + /// + public class BaseQuestionResponse + { + /// + /// The question that was answered. + /// + [JsonProperty("question")] + public BaseQuestion? Question { get; set; } + + /// + /// List of answers. + /// + [JsonProperty("answers")] + public List? Answers { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestionResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestionResponseJson.cs deleted file mode 100644 index 7a44eaa7e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BaseQuestionResponseJson.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; - - /// - /// Base entity for a question response. - /// - public class BaseQuestionResponseJson - { - /// - /// The question that was answered. - /// - [JsonProperty("question")] - public ZeroAllOf5? Question { get; set; } - - /// - /// List of answers. - /// - [JsonProperty("answers")] - public List? Answers { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.cs index 70e23969d..7b195657b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.cs @@ -14,14 +14,14 @@ namespace Cvent.SDK.Models.Components using System; /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// public enum BidItemStatusType { [JsonProperty("requested")] Requested, [JsonProperty("delete_requested")] DeleteRequested, [JsonProperty("deleted")] Deleted, - [JsonProperty("not_available")] NotAvailable, + [JsonProperty("not_offered")] NotOffered, } public static class BidItemStatusTypeExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCategory.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCategory.cs new file mode 100644 index 000000000..f803b34fb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCategory.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Denotes the category assigned to the budget item. + /// + public class BudgetCategory + { + /// + /// Unique identifier of the budget category. + /// + [JsonProperty("id")] + public long Id { get; set; } = default!; + + /// + /// Name of the budget category assigned to the budget item. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostDetail.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostDetail.cs new file mode 100644 index 000000000..822f57309 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostDetail.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + /// + public class BudgetCostDetail + { + /// + /// Denotes the category assigned to the budget item. + /// + [JsonProperty("category")] + public BudgetCategory? Category { get; set; } + + /// + /// This is used to denote the sub category for a budget. + /// + [JsonProperty("subCategory")] + public BudgetSubCategory? SubCategory { get; set; } + + /// + /// The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. + /// + [JsonProperty("units")] + public double? Units { get; set; } + + /// + /// The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. + /// + [JsonProperty("cost")] + public double? Cost { get; set; } + + /// + /// The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. + /// + [JsonProperty("totalCost")] + public double? TotalCost { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostDetailJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostDetailJson1.cs deleted file mode 100644 index c03756cfa..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostDetailJson1.cs +++ /dev/null @@ -1,51 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - /// - public class BudgetCostDetailJson1 - { - /// - /// Denotes the category assigned to the budget item. - /// - [JsonProperty("category")] - public BudgetCategoryJson? Category { get; set; } - - /// - /// This is used to denote the sub category for a budget. - /// - [JsonProperty("subCategory")] - public BudgetSubCategoryJson? SubCategory { get; set; } - - /// - /// The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. - /// - [JsonProperty("units")] - public double? Units { get; set; } - - /// - /// The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. - /// - [JsonProperty("cost")] - public double? Cost { get; set; } - - /// - /// The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. - /// - [JsonProperty("totalCost")] - public double? TotalCost { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostType.cs new file mode 100644 index 000000000..4cda39bb0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetCostType.cs @@ -0,0 +1,57 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + /// + public enum BudgetCostType + { + [JsonProperty("FIXED")] Fixed, + [JsonProperty("VARIABLE")] Variable, + } + + public static class BudgetCostTypeExtension + { + public static string Value(this BudgetCostType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static BudgetCostType ToEnum(this string value) + { + foreach (var field in typeof(BudgetCostType).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 BudgetCostType) + { + return (BudgetCostType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum BudgetCostType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetEstimate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetEstimate.cs new file mode 100644 index 000000000..cc7d87a3a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetEstimate.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// The estimated budget of the Meeting Request. + /// + public class BudgetEstimate + { + /// + /// The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. + /// + [JsonProperty("currency")] + public string? Currency { get; set; } + + /// + /// Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + /// + [JsonProperty("costType")] + public BudgetCostType? CostType { get; set; } + + /// + /// A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + /// + [JsonProperty("costDetail")] + public List? CostDetail { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetEstimateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetEstimateJson.cs deleted file mode 100644 index c8a14a9c4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetEstimateJson.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// The estimated budget of the Meeting Request. - /// - public class BudgetEstimateJson - { - /// - /// The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. - /// - [JsonProperty("currency")] - public string? Currency { get; set; } - - /// - /// Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. - /// - [JsonProperty("costType")] - public BudgetCostTypeJson? CostType { get; set; } - - /// - /// A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - /// - [JsonProperty("costDetail")] - public List? CostDetail { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BudgetSubCategory.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetSubCategory.cs new file mode 100644 index 000000000..65b707cf0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BudgetSubCategory.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// This is used to denote the sub category for a budget. + /// + public class BudgetSubCategory + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Name of the budget subcategory assigned to the budget item. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkData.cs index f389fab54..51da7d897 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkData.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkData.cs @@ -23,6 +23,6 @@ public class BulkData /// Collection of objects to be processed. /// [JsonProperty("data")] - public List? Data { get; set; } + public List? Data { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataProperty.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataProperty.cs index 79fd5ef42..300c8339b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataProperty.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataProperty.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components using System.Collections.Generic; /// - /// The response data for the bulk operation. + /// Data Record envelope. /// public class BulkDataProperty { @@ -41,6 +41,6 @@ public class BulkDataProperty /// Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. /// [JsonProperty("dataRecord")] - public Dictionary DataRecord { get; set; } = default!; + public Dictionary DataRecord { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataPropertyJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataPropertyJson.cs deleted file mode 100644 index 0148d46c7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataPropertyJson.cs +++ /dev/null @@ -1,46 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// Data Record envelope. - /// - public class BulkDataPropertyJson - { - /// - /// Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. - /// - [JsonProperty("pathParams")] - public Dictionary? PathParams { get; set; } - - /// - /// Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. - /// - [JsonProperty("queryParams")] - public Dictionary? QueryParams { get; set; } - - /// - /// Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. - /// - [JsonProperty("headers")] - public Dictionary? Headers { get; set; } - - /// - /// Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. - /// - [JsonProperty("dataRecord")] - public Dictionary DataRecord { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataRecord.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataRecord.cs new file mode 100644 index 000000000..8a1b13d25 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataRecord.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + + public class BulkDataRecord + { + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataRecordJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataRecordJson.cs deleted file mode 100644 index 3e5517904..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataRecordJson.cs +++ /dev/null @@ -1,17 +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; - - public class BulkDataRecordJson - { - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataUploadResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataUploadResponse.cs index 3716d45a4..33e14f6ae 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataUploadResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkDataUploadResponse.cs @@ -23,7 +23,7 @@ public class BulkDataUploadResponse /// Collection of objects to be processed. /// [JsonProperty("data")] - public List? Data { get; set; } + public List? Data { get; set; } /// /// The number of successfully uploaded data records. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithData.cs index 7087c83e4..f70c748a9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithData.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithData.cs @@ -120,6 +120,6 @@ public class BulkJobWithData /// Collection of objects to be processed. /// [JsonProperty("data")] - public List? Data { get; set; } + public List? Data { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithDataInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithDataInput.cs index e89df01a4..bc230f69f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithDataInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkJobWithDataInput.cs @@ -53,6 +53,6 @@ public class BulkJobWithDataInput /// Collection of objects to be processed. /// [JsonProperty("data")] - public List? Data { get; set; } + public List? Data { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkResult.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkResult.cs new file mode 100644 index 000000000..5ecb0a29c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkResult.cs @@ -0,0 +1,66 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// This entity is used to represent a single item that is returned as part of a Bulk Job Result call. + /// + public class BulkResult + { + /// + /// The response data for the bulk operation. + /// + [JsonProperty("data")] + public BulkResultBulkDataProperty Data { get; set; } = default!; + + /// + /// http status code representing processing status of a single item. + /// + [JsonProperty("status")] + public long Status { get; set; } = default!; + + /// + /// Quick description of what happened with processing. + /// + [JsonProperty("message")] + public string? Message { get; set; } + + /// + /// The processed request tied to this response. This field is only sent when processing fails. + /// + [JsonProperty("request")] + public Dictionary? Request { get; set; } + + /// + /// The bulk result identifier. + /// + [JsonProperty("id")] + public long? Id { get; set; } + + /// + /// Unique identifier of the bulk job linked to this result. + /// + [JsonProperty("job")] + public Job? Job { get; set; } + + /// + /// A `true` value indicates the target operation returned an HTTP error status code.
+ ///
+ /// **Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be `false` even when individual items within the response body indicate failure. For such operations, inspect the `data` field to determine which items succeeded or failed. + ///
+ [JsonProperty("failed")] + public bool? Failed { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultBulkDataProperty.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultBulkDataProperty.cs new file mode 100644 index 000000000..22f48b9fa --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultBulkDataProperty.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// The response data for the bulk operation. + /// + public class BulkResultBulkDataProperty + { + /// + /// Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. + /// + [JsonProperty("pathParams")] + public Dictionary? PathParams { get; set; } + + /// + /// Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. + /// + [JsonProperty("queryParams")] + public Dictionary? QueryParams { get; set; } + + /// + /// Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. + /// + [JsonProperty("headers")] + public Dictionary? Headers { get; set; } + + /// + /// Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. + /// + [JsonProperty("dataRecord")] + public Dictionary DataRecord { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultJson.cs deleted file mode 100644 index 2f203d12b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultJson.cs +++ /dev/null @@ -1,64 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// This entity is used to represent a single item that is returned as part of a Bulk Job Result call. - /// - public class BulkResultJson - { - /// - /// The response data for the bulk operation. - /// - [JsonProperty("data")] - public BulkDataProperty Data { get; set; } = default!; - - /// - /// http status code representing processing status of a single item. - /// - [JsonProperty("status")] - public long Status { get; set; } = default!; - - /// - /// Quick description of what happened with processing. - /// - [JsonProperty("message")] - public string? Message { get; set; } - - /// - /// The processed request tied to this response. This field is only sent when processing fails. - /// - [JsonProperty("request")] - public Dictionary? Request { get; set; } - - /// - /// The bulk result identifier. - /// - [JsonProperty("id")] - public long? Id { get; set; } - - /// - /// Unique identifier of the bulk job linked to this result. - /// - [JsonProperty("job")] - public Job? Job { get; set; } - - /// - /// Indicator that specifies if the bulk result failed. - /// - [JsonProperty("failed")] - public bool? Failed { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultsPaginatedResponse.cs index 37301fada..98753acd1 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BulkResultsPaginatedResponse.cs @@ -24,12 +24,12 @@ public class BulkResultsPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Collection of bulk result objects. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Capacities.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Capacities.cs new file mode 100644 index 000000000..d36d906aa --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Capacities.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// Capacity information for the meeting room, grouped by category. + /// + public class Capacities + { + /// + /// Maximum number of exhibits per room setup. + /// + [JsonProperty("exhibits")] + public List? Exhibits { get; set; } = null; + + /// + /// Maximum number of attendees per seating style. + /// + [JsonProperty("seating")] + public List? Seating { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CardTransactionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CardTransactionJson.cs index a4d627d08..f333b1c95 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CardTransactionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CardTransactionJson.cs @@ -75,7 +75,7 @@ public class CardTransactionJson /// The list of reconciled item. /// [JsonProperty("reconciliations")] - public List? Reconciliations { get; set; } + public List? Reconciliations { get; set; } /// /// The list of transaction description. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChainScale.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChainScale.cs new file mode 100644 index 000000000..e43095ff6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ChainScale.cs @@ -0,0 +1,77 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// A market segment classification of a venue chain based on Average Daily Rate and other factors.
+ ///
+ /// Values:
+ /// - `BLANK` — Blank
+ /// - `ECONOMYCHAINS` — Economy Chains
+ /// - `INDEPENDENTS` — Independents
+ /// - `LUXURY_CHAINS` — Luxury Chains
+ /// - `MIDSCALE_CHAINS` — Midscale Chains
+ /// - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
+ /// - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
+ /// - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
+ /// - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
+ /// - `UPSCALE_CHAINS` — Upscale Chains. + ///
+ public enum ChainScale + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("ECONOMYCHAINS")] Economychains, + [JsonProperty("INDEPENDENTS")] Independents, + [JsonProperty("LUXURY_CHAINS")] LuxuryChains, + [JsonProperty("MIDSCALE_CHAINS")] MidscaleChains, + [JsonProperty("MIDSCALE_WITH_FB_CHAINS")] MidscaleWithFbChains, + [JsonProperty("MIDSCALE_WITHOUT_FB_CHAINS")] MidscaleWithoutFbChains, + [JsonProperty("UPPER_MIDSCALE_CHAINS")] UpperMidscaleChains, + [JsonProperty("UPPER_UPSCALE_CHAINS")] UpperUpscaleChains, + [JsonProperty("UPSCALE_CHAINS")] UpscaleChains, + } + + public static class ChainScaleExtension + { + public static string Value(this ChainScale value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ChainScale ToEnum(this string value) + { + foreach (var field in typeof(ChainScale).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 ChainScale) + { + return (ChainScale)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ChainScale"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CompositeValue.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CompositeValue.cs new file mode 100644 index 000000000..ad4d7f2bf --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CompositeValue.cs @@ -0,0 +1,261 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using Newtonsoft.Json.Linq; + using System; + using System.Collections.Generic; + using System.Numerics; + using System.Reflection; + + public class CompositeValueType + { + private CompositeValueType(string value) + { + Value = value; + } + + public string Value { get; private set; } + + public static CompositeValueType ArrayOfMeetingRoomRequirement + { + get { + return new CompositeValueType("arrayOfMeetingRoomRequirement"); + } + } + + public static CompositeValueType ArrayOfSleepingRoomRequirement + { + get { + return new CompositeValueType("arrayOfSleepingRoomRequirement"); + } + } + + public static CompositeValueType ArrayOfBudgetEstimate + { + get { + return new CompositeValueType("arrayOfBudgetEstimate"); + } + } + + public override string ToString() + { + return Value; + } + public static implicit operator String(CompositeValueType v) + { + return v.Value; + } + public static CompositeValueType FromString(string v) + { + switch (v) + { + case "arrayOfMeetingRoomRequirement": + return ArrayOfMeetingRoomRequirement; + case "arrayOfSleepingRoomRequirement": + return ArrayOfSleepingRoomRequirement; + case "arrayOfBudgetEstimate": + return ArrayOfBudgetEstimate; + default: + throw new ArgumentException("Invalid value for CompositeValueType"); + } + } + public override bool Equals(object? obj) + { + if (obj == null || GetType() != obj.GetType()) + { + return false; + } + return Value.Equals(((CompositeValueType)obj).Value); + } + + public override int GetHashCode() + { + return Value.GetHashCode(); + } + } + + /// + /// The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.
+ ///
+ /// The structure of the array depends on the question `type`. + ///
+ [JsonConverter(typeof(CompositeValue.CompositeValueConverter))] + public class CompositeValue + { + public CompositeValue(CompositeValueType type) + { + Type = type; + } + + [SpeakeasyMetadata("form:explode=true")] + public List? ArrayOfMeetingRoomRequirement { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public List? ArrayOfSleepingRoomRequirement { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public List? ArrayOfBudgetEstimate { get; set; } + + public CompositeValueType Type { get; set; } + public static CompositeValue CreateArrayOfMeetingRoomRequirement(List arrayOfMeetingRoomRequirement) + { + CompositeValueType typ = CompositeValueType.ArrayOfMeetingRoomRequirement; + + CompositeValue res = new CompositeValue(typ); + res.ArrayOfMeetingRoomRequirement = arrayOfMeetingRoomRequirement; + return res; + } + public static CompositeValue CreateArrayOfSleepingRoomRequirement(List arrayOfSleepingRoomRequirement) + { + CompositeValueType typ = CompositeValueType.ArrayOfSleepingRoomRequirement; + + CompositeValue res = new CompositeValue(typ); + res.ArrayOfSleepingRoomRequirement = arrayOfSleepingRoomRequirement; + return res; + } + public static CompositeValue CreateArrayOfBudgetEstimate(List arrayOfBudgetEstimate) + { + CompositeValueType typ = CompositeValueType.ArrayOfBudgetEstimate; + + CompositeValue res = new CompositeValue(typ); + res.ArrayOfBudgetEstimate = arrayOfBudgetEstimate; + return res; + } + + public class CompositeValueConverter : JsonConverter + { + public override bool CanConvert(System.Type objectType) => objectType == typeof(CompositeValue); + + public override bool CanRead => true; + + public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) + { + if (reader.TokenType == JsonToken.Null) + { + throw new InvalidOperationException("Received unexpected null JSON value"); + } + + var json = JRaw.Create(reader).ToString(); + var fallbackCandidates = new List<(System.Type, object, string)>(); + + try + { + return new CompositeValue(CompositeValueType.ArrayOfMeetingRoomRequirement) { + ArrayOfMeetingRoomRequirement = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember>(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(List), new CompositeValue(CompositeValueType.ArrayOfMeetingRoomRequirement), "ArrayOfMeetingRoomRequirement")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new CompositeValue(CompositeValueType.ArrayOfSleepingRoomRequirement) { + ArrayOfSleepingRoomRequirement = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember>(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(List), new CompositeValue(CompositeValueType.ArrayOfSleepingRoomRequirement), "ArrayOfSleepingRoomRequirement")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new CompositeValue(CompositeValueType.ArrayOfBudgetEstimate) { + ArrayOfBudgetEstimate = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember>(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(List), new CompositeValue(CompositeValueType.ArrayOfBudgetEstimate), "ArrayOfBudgetEstimate")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + if (fallbackCandidates.Count > 0) + { + fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); + foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) + { + try + { + return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next fallback option + } + catch (Exception) + { + throw; + } + } + } + + throw new InvalidOperationException("Could not deserialize into any supported types."); + } + + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) + { + if (value == null) + { + throw new InvalidOperationException("Unexpected null JSON value."); + } + + CompositeValue res = (CompositeValue)value; + + if (res.ArrayOfMeetingRoomRequirement != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ArrayOfMeetingRoomRequirement)); + return; + } + + if (res.ArrayOfSleepingRoomRequirement != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ArrayOfSleepingRoomRequirement)); + return; + } + + if (res.ArrayOfBudgetEstimate != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ArrayOfBudgetEstimate)); + return; + } + } + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CompositeValueJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CompositeValueJson.cs deleted file mode 100644 index 190a2d22e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CompositeValueJson.cs +++ /dev/null @@ -1,261 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using Newtonsoft.Json.Linq; - using System; - using System.Collections.Generic; - using System.Numerics; - using System.Reflection; - - public class CompositeValueJsonType - { - private CompositeValueJsonType(string value) - { - Value = value; - } - - public string Value { get; private set; } - - public static CompositeValueJsonType ArrayOfMeetingRoomRequirementJson - { - get { - return new CompositeValueJsonType("arrayOfMeetingRoomRequirementJson"); - } - } - - public static CompositeValueJsonType ArrayOfSleepingRoomRequirementJson - { - get { - return new CompositeValueJsonType("arrayOfSleepingRoomRequirementJson"); - } - } - - public static CompositeValueJsonType ArrayOfBudgetEstimateJson - { - get { - return new CompositeValueJsonType("arrayOfBudgetEstimateJson"); - } - } - - public override string ToString() - { - return Value; - } - public static implicit operator String(CompositeValueJsonType v) - { - return v.Value; - } - public static CompositeValueJsonType FromString(string v) - { - switch (v) - { - case "arrayOfMeetingRoomRequirementJson": - return ArrayOfMeetingRoomRequirementJson; - case "arrayOfSleepingRoomRequirementJson": - return ArrayOfSleepingRoomRequirementJson; - case "arrayOfBudgetEstimateJson": - return ArrayOfBudgetEstimateJson; - default: - throw new ArgumentException("Invalid value for CompositeValueJsonType"); - } - } - public override bool Equals(object? obj) - { - if (obj == null || GetType() != obj.GetType()) - { - return false; - } - return Value.Equals(((CompositeValueJsonType)obj).Value); - } - - public override int GetHashCode() - { - return Value.GetHashCode(); - } - } - - /// - /// The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.
- ///
- /// The structure of the array depends on the question `type`. - ///
- [JsonConverter(typeof(CompositeValueJson.CompositeValueJsonConverter))] - public class CompositeValueJson - { - public CompositeValueJson(CompositeValueJsonType type) - { - Type = type; - } - - [SpeakeasyMetadata("form:explode=true")] - public List? ArrayOfMeetingRoomRequirementJson { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public List? ArrayOfSleepingRoomRequirementJson { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public List? ArrayOfBudgetEstimateJson { get; set; } - - public CompositeValueJsonType Type { get; set; } - public static CompositeValueJson CreateArrayOfMeetingRoomRequirementJson(List arrayOfMeetingRoomRequirementJSON) - { - CompositeValueJsonType typ = CompositeValueJsonType.ArrayOfMeetingRoomRequirementJson; - - CompositeValueJson res = new CompositeValueJson(typ); - res.ArrayOfMeetingRoomRequirementJson = arrayOfMeetingRoomRequirementJSON; - return res; - } - public static CompositeValueJson CreateArrayOfSleepingRoomRequirementJson(List arrayOfSleepingRoomRequirementJSON) - { - CompositeValueJsonType typ = CompositeValueJsonType.ArrayOfSleepingRoomRequirementJson; - - CompositeValueJson res = new CompositeValueJson(typ); - res.ArrayOfSleepingRoomRequirementJson = arrayOfSleepingRoomRequirementJSON; - return res; - } - public static CompositeValueJson CreateArrayOfBudgetEstimateJson(List arrayOfBudgetEstimateJSON) - { - CompositeValueJsonType typ = CompositeValueJsonType.ArrayOfBudgetEstimateJson; - - CompositeValueJson res = new CompositeValueJson(typ); - res.ArrayOfBudgetEstimateJson = arrayOfBudgetEstimateJSON; - return res; - } - - public class CompositeValueJsonConverter : JsonConverter - { - public override bool CanConvert(System.Type objectType) => objectType == typeof(CompositeValueJson); - - public override bool CanRead => true; - - public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) - { - if (reader.TokenType == JsonToken.Null) - { - throw new InvalidOperationException("Received unexpected null JSON value"); - } - - var json = JRaw.Create(reader).ToString(); - var fallbackCandidates = new List<(System.Type, object, string)>(); - - try - { - return new CompositeValueJson(CompositeValueJsonType.ArrayOfMeetingRoomRequirementJson) { - ArrayOfMeetingRoomRequirementJson = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember>(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(List), new CompositeValueJson(CompositeValueJsonType.ArrayOfMeetingRoomRequirementJson), "ArrayOfMeetingRoomRequirementJson")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new CompositeValueJson(CompositeValueJsonType.ArrayOfSleepingRoomRequirementJson) { - ArrayOfSleepingRoomRequirementJson = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember>(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(List), new CompositeValueJson(CompositeValueJsonType.ArrayOfSleepingRoomRequirementJson), "ArrayOfSleepingRoomRequirementJson")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new CompositeValueJson(CompositeValueJsonType.ArrayOfBudgetEstimateJson) { - ArrayOfBudgetEstimateJson = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember>(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(List), new CompositeValueJson(CompositeValueJsonType.ArrayOfBudgetEstimateJson), "ArrayOfBudgetEstimateJson")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - if (fallbackCandidates.Count > 0) - { - fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); - foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) - { - try - { - return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next fallback option - } - catch (Exception) - { - throw; - } - } - } - - throw new InvalidOperationException("Could not deserialize into any supported types."); - } - - public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) - { - if (value == null) - { - throw new InvalidOperationException("Unexpected null JSON value."); - } - - CompositeValueJson res = (CompositeValueJson)value; - - if (res.ArrayOfMeetingRoomRequirementJson != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ArrayOfMeetingRoomRequirementJson)); - return; - } - - if (res.ArrayOfSleepingRoomRequirementJson != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ArrayOfSleepingRoomRequirementJson)); - return; - } - - if (res.ArrayOfBudgetEstimateJson != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ArrayOfBudgetEstimateJson)); - return; - } - } - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCommonJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactCommonJson.cs deleted file mode 100644 index d4bb226a4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCommonJson.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// Details of a contact. - /// - public class ContactCommonJson - { - /// - /// Contact ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The first name of the contact. - /// - [JsonProperty("firstName")] - public string? FirstName { get; set; } - - /// - /// The last name of the contact. - /// - [JsonProperty("lastName")] - public string? LastName { get; set; } - - /// - /// The email address of the contact. - /// - [JsonProperty("email")] - public string? Email { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields.cs deleted file mode 100644 index af997383c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields.cs +++ /dev/null @@ -1,28 +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; - - /// - /// An array of standard contact fields supported by Cvent. - /// - public class ContactFields - { - /// - /// Collection of standard contact fields. - /// - [JsonProperty("data")] - public List Data { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields1.cs new file mode 100644 index 000000000..640cf4995 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields1.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Details of a contact. + /// + public class ContactFields1 + { + /// + /// Contact ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The first name of the contact. + /// + [JsonProperty("firstName")] + public string? FirstName { get; set; } + + /// + /// The last name of the contact. + /// + [JsonProperty("lastName")] + public string? LastName { get; set; } + + /// + /// The email address of the contact. + /// + [JsonProperty("email")] + public string? Email { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields2.cs new file mode 100644 index 000000000..fe3ccede8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields2.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// An array of standard contact fields supported by Cvent. + /// + public class ContactFields2 + { + /// + /// Collection of standard contact fields. + /// + [JsonProperty("data")] + public List Data { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Country.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Country.cs new file mode 100644 index 000000000..94712109c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Country.cs @@ -0,0 +1,312 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + /// + public enum Country + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("AD")] Ad, + [JsonProperty("AE")] Ae, + [JsonProperty("AF")] Af, + [JsonProperty("AG")] Ag, + [JsonProperty("AI")] Ai, + [JsonProperty("AL")] Al, + [JsonProperty("AM")] Am, + [JsonProperty("AN")] An, + [JsonProperty("AO")] Ao, + [JsonProperty("AQ")] Aq, + [JsonProperty("AR")] Ar, + [JsonProperty("AS")] As, + [JsonProperty("AT")] At, + [JsonProperty("AU")] Au, + [JsonProperty("AW")] Aw, + [JsonProperty("AX")] Ax, + [JsonProperty("AZ")] Az, + [JsonProperty("BA")] Ba, + [JsonProperty("BB")] Bb, + [JsonProperty("BD")] Bd, + [JsonProperty("BE")] Be, + [JsonProperty("BF")] Bf, + [JsonProperty("BG")] Bg, + [JsonProperty("BH")] Bh, + [JsonProperty("BI")] Bi, + [JsonProperty("BJ")] Bj, + [JsonProperty("BL")] Bl, + [JsonProperty("BM")] Bm, + [JsonProperty("BN")] Bn, + [JsonProperty("BO")] Bo, + [JsonProperty("BQ")] Bq, + [JsonProperty("BR")] Br, + [JsonProperty("BS")] Bs, + [JsonProperty("BT")] Bt, + [JsonProperty("BV")] Bv, + [JsonProperty("BW")] Bw, + [JsonProperty("BY")] By, + [JsonProperty("BZ")] Bz, + [JsonProperty("CA")] Ca, + [JsonProperty("CC")] Cc, + [JsonProperty("CD")] Cd, + [JsonProperty("CF")] Cf, + [JsonProperty("CG")] Cg, + [JsonProperty("CH")] Ch, + [JsonProperty("CI")] Ci, + [JsonProperty("CK")] Ck, + [JsonProperty("CL")] Cl, + [JsonProperty("CM")] Cm, + [JsonProperty("CN")] Cn, + [JsonProperty("CO")] Co, + [JsonProperty("CR")] Cr, + [JsonProperty("CU")] Cu, + [JsonProperty("CV")] Cv, + [JsonProperty("CW")] Cw, + [JsonProperty("CX")] Cx, + [JsonProperty("CY")] Cy, + [JsonProperty("CZ")] Cz, + [JsonProperty("DE")] De, + [JsonProperty("DJ")] Dj, + [JsonProperty("DK")] Dk, + [JsonProperty("DM")] Dm, + [JsonProperty("DO")] Do, + [JsonProperty("DZ")] Dz, + [JsonProperty("EC")] Ec, + [JsonProperty("EE")] Ee, + [JsonProperty("EG")] Eg, + [JsonProperty("EH")] Eh, + [JsonProperty("ER")] Er, + [JsonProperty("ES")] Es, + [JsonProperty("ET")] Et, + [JsonProperty("FI")] Fi, + [JsonProperty("FJ")] Fj, + [JsonProperty("FK")] Fk, + [JsonProperty("FM")] Fm, + [JsonProperty("FO")] Fo, + [JsonProperty("FR")] Fr, + [JsonProperty("GA")] Ga, + [JsonProperty("GB")] Gb, + [JsonProperty("GB_1")] Gb1, + [JsonProperty("GB_2")] Gb2, + [JsonProperty("GB_3")] Gb3, + [JsonProperty("GB_4")] Gb4, + [JsonProperty("GD")] Gd, + [JsonProperty("GE")] Ge, + [JsonProperty("GF")] Gf, + [JsonProperty("GG")] Gg, + [JsonProperty("GH")] Gh, + [JsonProperty("GI")] Gi, + [JsonProperty("GL")] Gl, + [JsonProperty("GM")] Gm, + [JsonProperty("GN")] Gn, + [JsonProperty("GP")] Gp, + [JsonProperty("GQ")] Gq, + [JsonProperty("GR")] Gr, + [JsonProperty("GS")] Gs, + [JsonProperty("GT")] Gt, + [JsonProperty("GU")] Gu, + [JsonProperty("GW")] Gw, + [JsonProperty("GY")] Gy, + [JsonProperty("HK")] Hk, + [JsonProperty("HM")] Hm, + [JsonProperty("HN")] Hn, + [JsonProperty("HR")] Hr, + [JsonProperty("HT")] Ht, + [JsonProperty("HU")] Hu, + [JsonProperty("ID")] Id, + [JsonProperty("IE")] Ie, + [JsonProperty("IL")] Il, + [JsonProperty("IM")] Im, + [JsonProperty("IN")] In, + [JsonProperty("IO")] Io, + [JsonProperty("IQ")] Iq, + [JsonProperty("IR")] Ir, + [JsonProperty("IS")] Is, + [JsonProperty("IT")] It, + [JsonProperty("JE")] Je, + [JsonProperty("JM")] Jm, + [JsonProperty("JO")] Jo, + [JsonProperty("JP")] Jp, + [JsonProperty("KE")] Ke, + [JsonProperty("KG")] Kg, + [JsonProperty("KH")] Kh, + [JsonProperty("KI")] Ki, + [JsonProperty("KM")] Km, + [JsonProperty("KN")] Kn, + [JsonProperty("KO")] Ko, + [JsonProperty("KP")] Kp, + [JsonProperty("KR")] Kr, + [JsonProperty("KW")] Kw, + [JsonProperty("KY")] Ky, + [JsonProperty("KZ")] Kz, + [JsonProperty("LA")] La, + [JsonProperty("LB")] Lb, + [JsonProperty("LC")] Lc, + [JsonProperty("LI")] Li, + [JsonProperty("LK")] Lk, + [JsonProperty("LR")] Lr, + [JsonProperty("LS")] Ls, + [JsonProperty("LT")] Lt, + [JsonProperty("LU")] Lu, + [JsonProperty("LV")] Lv, + [JsonProperty("LY")] Ly, + [JsonProperty("MA")] Ma, + [JsonProperty("MC")] Mc, + [JsonProperty("MD")] Md, + [JsonProperty("ME")] Me, + [JsonProperty("MF")] Mf, + [JsonProperty("MG")] Mg, + [JsonProperty("MH")] Mh, + [JsonProperty("MK")] Mk, + [JsonProperty("ML")] Ml, + [JsonProperty("MM")] Mm, + [JsonProperty("MN")] Mn, + [JsonProperty("MO")] Mo, + [JsonProperty("MP")] Mp, + [JsonProperty("MQ")] Mq, + [JsonProperty("MR")] Mr, + [JsonProperty("MS")] Ms, + [JsonProperty("MT")] Mt, + [JsonProperty("MU")] Mu, + [JsonProperty("MV")] Mv, + [JsonProperty("MW")] Mw, + [JsonProperty("MX")] Mx, + [JsonProperty("MY")] My, + [JsonProperty("MZ")] Mz, + [JsonProperty("NA")] Na, + [JsonProperty("NC")] Nc, + [JsonProperty("NE")] Ne, + [JsonProperty("NF")] Nf, + [JsonProperty("NG")] Ng, + [JsonProperty("NI")] Ni, + [JsonProperty("NL")] Nl, + [JsonProperty("NO")] No, + [JsonProperty("NP")] Np, + [JsonProperty("NR")] Nr, + [JsonProperty("NU")] Nu, + [JsonProperty("NZ")] Nz, + [JsonProperty("OM")] Om, + [JsonProperty("PA")] Pa, + [JsonProperty("PE")] Pe, + [JsonProperty("PF")] Pf, + [JsonProperty("PG")] Pg, + [JsonProperty("PH")] Ph, + [JsonProperty("PK")] Pk, + [JsonProperty("PL")] Pl, + [JsonProperty("PM")] Pm, + [JsonProperty("PN")] Pn, + [JsonProperty("PR")] Pr, + [JsonProperty("PS")] Ps, + [JsonProperty("PT")] Pt, + [JsonProperty("PW")] Pw, + [JsonProperty("PY")] Py, + [JsonProperty("QA")] Qa, + [JsonProperty("RE")] Re, + [JsonProperty("RO")] Ro, + [JsonProperty("RS")] Rs, + [JsonProperty("RU")] Ru, + [JsonProperty("RW")] Rw, + [JsonProperty("SA")] Sa, + [JsonProperty("SB")] Sb, + [JsonProperty("SC")] Sc, + [JsonProperty("SD")] Sd, + [JsonProperty("SE")] Se, + [JsonProperty("SG")] Sg, + [JsonProperty("SH")] Sh, + [JsonProperty("SI")] Si, + [JsonProperty("SJ")] Sj, + [JsonProperty("SK")] Sk, + [JsonProperty("SL")] Sl, + [JsonProperty("SM")] Sm, + [JsonProperty("SN")] Sn, + [JsonProperty("SO")] So, + [JsonProperty("SR")] Sr, + [JsonProperty("SS")] Ss, + [JsonProperty("ST")] St, + [JsonProperty("SV")] Sv, + [JsonProperty("SX")] Sx, + [JsonProperty("SY")] Sy, + [JsonProperty("SZ")] Sz, + [JsonProperty("TC")] Tc, + [JsonProperty("TD")] Td, + [JsonProperty("TF")] Tf, + [JsonProperty("TG")] Tg, + [JsonProperty("TH")] Th, + [JsonProperty("TJ")] Tj, + [JsonProperty("TK")] Tk, + [JsonProperty("TL")] Tl, + [JsonProperty("TM")] Tm, + [JsonProperty("TN")] Tn, + [JsonProperty("TO")] To, + [JsonProperty("TP")] Tp, + [JsonProperty("TR")] Tr, + [JsonProperty("TT")] Tt, + [JsonProperty("TV")] Tv, + [JsonProperty("TW")] Tw, + [JsonProperty("TZ")] Tz, + [JsonProperty("UA")] Ua, + [JsonProperty("UG")] Ug, + [JsonProperty("UM")] Um, + [JsonProperty("US")] Us, + [JsonProperty("UY")] Uy, + [JsonProperty("UZ")] Uz, + [JsonProperty("VA")] Va, + [JsonProperty("VC")] Vc, + [JsonProperty("VE")] Ve, + [JsonProperty("VG")] Vg, + [JsonProperty("VI")] Vi, + [JsonProperty("VN")] Vn, + [JsonProperty("VU")] Vu, + [JsonProperty("WF")] Wf, + [JsonProperty("WS")] Ws, + [JsonProperty("YE")] Ye, + [JsonProperty("YT")] Yt, + [JsonProperty("ZA")] Za, + [JsonProperty("ZM")] Zm, + [JsonProperty("ZW")] Zw, + } + + public static class CountryExtension + { + public static string Value(this Country value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static Country ToEnum(this string value) + { + foreach (var field in typeof(Country).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 Country) + { + return (Country)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum Country"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Currency.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Currency.cs new file mode 100644 index 000000000..643f72647 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Currency.cs @@ -0,0 +1,222 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The ISO 4217 standard format currency code used for RFPs. + /// + public enum Currency + { + [JsonProperty("USD")] Usd, + [JsonProperty("CAD")] Cad, + [JsonProperty("AUD")] Aud, + [JsonProperty("EUR")] Eur, + [JsonProperty("GBP")] Gbp, + [JsonProperty("HKD")] Hkd, + [JsonProperty("NZD")] Nzd, + [JsonProperty("AED")] Aed, + [JsonProperty("NOK")] Nok, + [JsonProperty("INR")] Inr, + [JsonProperty("MXN")] Mxn, + [JsonProperty("SEK")] Sek, + [JsonProperty("DKK")] Dkk, + [JsonProperty("MYR")] Myr, + [JsonProperty("JPY")] Jpy, + [JsonProperty("SGD")] Sgd, + [JsonProperty("THB")] Thb, + [JsonProperty("IDR")] Idr, + [JsonProperty("KRW")] Krw, + [JsonProperty("CNY")] Cny, + [JsonProperty("TWD")] Twd, + [JsonProperty("RUB")] Rub, + [JsonProperty("CHF")] Chf, + [JsonProperty("CZK")] Czk, + [JsonProperty("HUF")] Huf, + [JsonProperty("QAR")] Qar, + [JsonProperty("ZAR")] Zar, + [JsonProperty("RON")] Ron, + [JsonProperty("HRK")] Hrk, + [JsonProperty("TRY")] Try, + [JsonProperty("BRL")] Brl, + [JsonProperty("PHP")] Php, + [JsonProperty("SAR")] Sar, + [JsonProperty("PLN")] Pln, + [JsonProperty("ARS")] Ars, + [JsonProperty("AWG")] Awg, + [JsonProperty("AZN")] Azn, + [JsonProperty("BSD")] Bsd, + [JsonProperty("BBD")] Bbd, + [JsonProperty("BMD")] Bmd, + [JsonProperty("CLP")] Clp, + [JsonProperty("COP")] Cop, + [JsonProperty("CRC")] Crc, + [JsonProperty("DOP")] Dop, + [JsonProperty("XCD")] Xcd, + [JsonProperty("ILS")] Ils, + [JsonProperty("JMD")] Jmd, + [JsonProperty("LVL")] Lvl, + [JsonProperty("LTL")] Ltl, + [JsonProperty("MDL")] Mdl, + [JsonProperty("ANG")] Ang, + [JsonProperty("OMR")] Omr, + [JsonProperty("TTD")] Ttd, + [JsonProperty("UAH")] Uah, + [JsonProperty("UYU")] Uyu, + [JsonProperty("RSD")] Rsd, + [JsonProperty("AFN")] Afn, + [JsonProperty("AMD")] Amd, + [JsonProperty("AOA")] Aoa, + [JsonProperty("BAM")] Bam, + [JsonProperty("BDT")] Bdt, + [JsonProperty("BGN")] Bgn, + [JsonProperty("BHD")] Bhd, + [JsonProperty("BOB")] Bob, + [JsonProperty("DZD")] Dzd, + [JsonProperty("EEK")] Eek, + [JsonProperty("EGP")] Egp, + [JsonProperty("FJD")] Fjd, + [JsonProperty("GTQ")] Gtq, + [JsonProperty("HNL")] Hnl, + [JsonProperty("ISK")] Isk, + [JsonProperty("JOD")] Jod, + [JsonProperty("KYD")] Kyd, + [JsonProperty("KZT")] Kzt, + [JsonProperty("LBP")] Lbp, + [JsonProperty("MAD")] Mad, + [JsonProperty("NGN")] Ngn, + [JsonProperty("NIO")] Nio, + [JsonProperty("ESP")] Esp, + [JsonProperty("FRF")] Frf, + [JsonProperty("PAB")] Pab, + [JsonProperty("PEN")] Pen, + [JsonProperty("PKR")] Pkr, + [JsonProperty("PYG")] Pyg, + [JsonProperty("SVC")] Svc, + [JsonProperty("SYP")] Syp, + [JsonProperty("VEF")] Vef, + [JsonProperty("VND")] Vnd, + [JsonProperty("XPF")] Xpf, + [JsonProperty("GYD")] Gyd, + [JsonProperty("MOP")] Mop, + [JsonProperty("PGK")] Pgk, + [JsonProperty("XOF")] Xof, + [JsonProperty("XAF")] Xaf, + [JsonProperty("BZD")] Bzd, + [JsonProperty("BYR")] Byr, + [JsonProperty("BWP")] Bwp, + [JsonProperty("BND")] Bnd, + [JsonProperty("BIF")] Bif, + [JsonProperty("KHR")] Khr, + [JsonProperty("CVE")] Cve, + [JsonProperty("KMF")] Kmf, + [JsonProperty("CDF")] Cdf, + [JsonProperty("DJF")] Djf, + [JsonProperty("ERN")] Ern, + [JsonProperty("FKP")] Fkp, + [JsonProperty("GMD")] Gmd, + [JsonProperty("GEL")] Gel, + [JsonProperty("GHS")] Ghs, + [JsonProperty("GIP")] Gip, + [JsonProperty("GNF")] Gnf, + [JsonProperty("HTG")] Htg, + [JsonProperty("KES")] Kes, + [JsonProperty("KWD")] Kwd, + [JsonProperty("KGS")] Kgs, + [JsonProperty("LAK")] Lak, + [JsonProperty("LRD")] Lrd, + [JsonProperty("MKD")] Mkd, + [JsonProperty("MGA")] Mga, + [JsonProperty("MWK")] Mwk, + [JsonProperty("MVR")] Mvr, + [JsonProperty("MRO")] Mro, + [JsonProperty("MUR")] Mur, + [JsonProperty("MNT")] Mnt, + [JsonProperty("MZN")] Mzn, + [JsonProperty("MMK")] Mmk, + [JsonProperty("NAD")] Nad, + [JsonProperty("NPR")] Npr, + [JsonProperty("RWF")] Rwf, + [JsonProperty("SHP")] Shp, + [JsonProperty("WST")] Wst, + [JsonProperty("STD")] Std, + [JsonProperty("SLL")] Sll, + [JsonProperty("SBD")] Sbd, + [JsonProperty("SOS")] Sos, + [JsonProperty("LKR")] Lkr, + [JsonProperty("SRD")] Srd, + [JsonProperty("SZL")] Szl, + [JsonProperty("TOP")] Top, + [JsonProperty("TND")] Tnd, + [JsonProperty("UGX")] Ugx, + [JsonProperty("UZS")] Uzs, + [JsonProperty("VUV")] Vuv, + [JsonProperty("YER")] Yer, + [JsonProperty("ZMK")] Zmk, + [JsonProperty("ZWD")] Zwd, + [JsonProperty("SR")] Sr, + [JsonProperty("ETB")] Etb, + [JsonProperty("GH")] Gh, + [JsonProperty("GWP")] Gwp, + [JsonProperty("IQD")] Iqd, + [JsonProperty("IRR")] Irr, + [JsonProperty("KPW")] Kpw, + [JsonProperty("LSL")] Lsl, + [JsonProperty("ROL")] Rol, + [JsonProperty("SDG")] Sdg, + [JsonProperty("SKK")] Skk, + [JsonProperty("TJS")] Tjs, + [JsonProperty("TMT")] Tmt, + [JsonProperty("TZS")] Tzs, + [JsonProperty("ALL")] All, + [JsonProperty("BTN")] Btn, + [JsonProperty("CUP")] Cup, + [JsonProperty("LD")] Ld, + [JsonProperty("SCR")] Scr, + [JsonProperty("ZMW")] Zmw, + [JsonProperty("ZWL")] Zwl, + } + + public static class CurrencyExtension + { + public static string Value(this Currency value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static Currency ToEnum(this string value) + { + foreach (var field in typeof(Currency).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 Currency) + { + return (Currency)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum Currency"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema.cs deleted file mode 100644 index 77a9d76e7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema.cs +++ /dev/null @@ -1,52 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// A Custom Field. - /// - public class CustomFieldSchema - { - /// - /// The unique ID representing this custom field. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The actual text of the custom field. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The set of answers or possible answers to a question. - /// - [JsonProperty("value")] - public List Value { get; set; } = default!; - - /// - /// The order of this question in the bigger list of questions. - /// - [JsonProperty("order")] - public long? Order { get; set; } - - /// - /// The type of data collected by a custom field. - /// - [JsonProperty("type")] - public CustomFieldSchemaCustomFieldType? Type { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema1.cs new file mode 100644 index 000000000..327d18dd3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema1.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A Custom Field. + /// + public class CustomFieldSchema1 + { + /// + /// The unique ID representing this custom field. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The actual text of the custom field. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The set of answers or possible answers to a question. + /// + [JsonProperty("value")] + public List Value { get; set; } = default!; + + /// + /// The order of this question in the bigger list of questions. + /// + [JsonProperty("order")] + public long? Order { get; set; } + + /// + /// The type of data collected by a custom field. + /// + [JsonProperty("type")] + public CustomFieldSchemaCustomFieldType? Type { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema2.cs new file mode 100644 index 000000000..b25ac2505 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldSchema2.cs @@ -0,0 +1,118 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// Custom field for a meeting request. + /// + public class CustomFieldSchema2 + { + /// + /// The unique ID representing this custom field. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The displayed field name which can be customized. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The set of answers or possible answers to a question. + /// + [JsonProperty("value")] + public List Value { get; set; } = default!; + + /// + /// The order of this question in the bigger list of questions. + /// + [JsonProperty("order")] + public long? Order { get; set; } + + /// + /// The type of data collected by a custom field. + /// + [JsonProperty("type")] + public CustomFieldSchemaCustomFieldType? Type { get; set; } + + /// + /// True indicates the question is of the field type. + /// + [JsonProperty("field")] + public bool? Field { get; set; } + + /// + /// The fixed field name. + /// + [JsonProperty("fieldName")] + public string? FieldName { get; set; } + + /// + /// True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. + /// + [JsonProperty("hidden")] + public bool? Hidden { get; set; } + + /// + /// True indicates the given question must be answered. + /// + [JsonProperty("required")] + public bool? Required { get; set; } + + /// + /// The minimum length of a text field. + /// + [JsonProperty("minLength")] + public double? MinLength { get; set; } + + /// + /// The maximum length of a text field. + /// + [JsonProperty("maxLength")] + public double? MaxLength { get; set; } + + /// + /// The minimum number of choices required for a multi-choice field. + /// + [JsonProperty("minChoice")] + public double? MinChoice { get; set; } + + /// + /// The maximum number of choices allowed for a multi-choice field. + /// + [JsonProperty("maxChoice")] + public double? MaxChoice { get; set; } + + /// + /// The ISO 8601 minimum date value for a date field. + /// + [JsonProperty("minDate")] + public string? MinDate { get; set; } + + /// + /// The ISO 8601 maximum date value for a date field. + /// + [JsonProperty("maxDate")] + public string? MaxDate { get; set; } + + /// + /// List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. + /// + [JsonProperty("answerTypes")] + public List? AnswerTypes { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Dimension.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Dimension.cs new file mode 100644 index 000000000..78c6eacd7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Dimension.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A dimension measurement in feet or meters. + /// + public class Dimension + { + /// + /// The numeric value of the dimension. + /// + [JsonProperty("value")] + public double Value { get; set; } = default!; + + /// + /// The unit of measurement for the dimension. + /// + [JsonProperty("unit")] + public DimensionUnit Unit { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DimensionUnit.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DimensionUnit.cs new file mode 100644 index 000000000..8f617fba1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DimensionUnit.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 unit of measurement for the dimension. + /// + public enum DimensionUnit + { + [JsonProperty("FEET")] Feet, + [JsonProperty("METERS")] Meters, + } + + public static class DimensionUnitExtension + { + public static string Value(this DimensionUnit value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DimensionUnit ToEnum(this string value) + { + foreach (var field in typeof(DimensionUnit).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 DimensionUnit) + { + return (DimensionUnit)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DimensionUnit"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistanceMeasurementUnit.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistanceMeasurementUnit.cs new file mode 100644 index 000000000..82b3e0280 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DistanceMeasurementUnit.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Unit of measurement for distance.
+ ///
+ /// Values:
+ /// - `MILES` — Miles
+ /// - `KILOMETERS` — Kilometers. + ///
+ public enum DistanceMeasurementUnit + { + [JsonProperty("MILES")] Miles, + [JsonProperty("KILOMETERS")] Kilometers, + } + + public static class DistanceMeasurementUnitExtension + { + public static string Value(this DistanceMeasurementUnit value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DistanceMeasurementUnit ToEnum(this string value) + { + foreach (var field in typeof(DistanceMeasurementUnit).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 DistanceMeasurementUnit) + { + return (DistanceMeasurementUnit)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DistanceMeasurementUnit"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailBounced.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailBounced.cs index 9df2f245d..a3d58846b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailBounced.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailBounced.cs @@ -35,7 +35,7 @@ public class EmailBounced /// An activity contact. ///
[JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } /// /// ISO 8601 date and time when an email bounced. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailUndelivered.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailUndelivered.cs index 07d4783ce..2f497139f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailUndelivered.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailUndelivered.cs @@ -29,7 +29,7 @@ public class EmailUndelivered /// An activity contact. /// [JsonProperty("contact")] - public ActivityContactJson? Contact { get; set; } + public ActivityContact? Contact { get; set; } /// /// ISO 8601 date and time when an email was undelivered. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse.cs index 888742fc0..99a9a25a8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse.cs @@ -41,6 +41,6 @@ public class ErrorResponse /// Additional details of cascading error messages. /// [JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetail.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetail.cs new file mode 100644 index 000000000..723ba1b10 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetail.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Details for an event activity. + /// + public class EventActivityDetail + { + /// + /// The identifier of the event. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The title of the event. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The code of the event. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// The timezone of the event. + /// + [JsonProperty("timezone")] + public string? Timezone { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailInput.cs new file mode 100644 index 000000000..6ca366a58 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailInput.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Details for an event activity. + /// + public class EventActivityDetailInput + { + /// + /// The identifier of the event. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailsJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailsJson.cs deleted file mode 100644 index 7f6899b4e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailsJson.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// Details for an event activity. - /// - public class EventActivityDetailsJson - { - /// - /// The identifier of the event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The title of the event. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The code of the event. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - /// - /// The timezone of the event. - /// - [JsonProperty("timezone")] - public string? Timezone { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailsJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailsJsonInput.cs deleted file mode 100644 index f155ebb69..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventActivityDetailsJsonInput.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 for an event activity. - /// - public class EventActivityDetailsJsonInput - { - /// - /// The identifier of the event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventAdClicked.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventAdClicked.cs index d2e96c3a6..bfbf8cb13 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventAdClicked.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventAdClicked.cs @@ -22,7 +22,7 @@ public class EventAdClicked /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent11? Event { get; set; } + public ActivityDataEvent8? Event { get; set; } /// /// The platform used by the user. @@ -34,6 +34,6 @@ public class EventAdClicked /// The details of the advertisement. /// [JsonProperty("ad")] - public ActivityAdJson? Ad { get; set; } + public ActivityAd? Ad { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventAdViewed.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventAdViewed.cs index 61a2adac1..87d9b0bd1 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventAdViewed.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventAdViewed.cs @@ -22,7 +22,7 @@ public class EventAdViewed /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent10? Event { get; set; } + public ActivityDataEvent7? Event { get; set; } /// /// The platform used by the user. @@ -34,6 +34,6 @@ public class EventAdViewed /// The details of the advertisement. /// [JsonProperty("ad")] - public ActivityAdJson? Ad { get; set; } + public ActivityAd? Ad { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs index 2c28db68e..f70f18506 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs @@ -22,18 +22,18 @@ public class EventAttendeeSubstituted /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent1? Event { get; set; } + public EventAttendeeSubstitutedEvent? Event { get; set; } /// /// Details of a contact. /// [JsonProperty("oldContact")] - public ContactCommonJson? OldContact { get; set; } + public ContactFields1? OldContact { get; set; } /// /// Details of a contact. /// [JsonProperty("newContact")] - public ContactCommonJson? NewContact { get; set; } + public ContactFields1? NewContact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstitutedEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstitutedEvent.cs new file mode 100644 index 000000000..1681de7c2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstitutedEvent.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class EventAttendeeSubstitutedEvent + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventBannerLinkClicked.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventBannerLinkClicked.cs index a95c46d2d..6c5d5bd0d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventBannerLinkClicked.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventBannerLinkClicked.cs @@ -22,7 +22,7 @@ public class EventBannerLinkClicked /// An exhibitor. /// [JsonProperty("exhibitor")] - public ExhibitorJson? Exhibitor { get; set; } + public Exhibitor1? Exhibitor { get; set; } /// /// The platform used by the user. @@ -40,6 +40,6 @@ public class EventBannerLinkClicked /// The target of the link clicked on the banner. /// [JsonProperty("target")] - public BannerLinkTargetJson? Target { get; set; } + public BannerLinkTarget? Target { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedIn.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedIn.cs index 54bf08025..9f81da892 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedIn.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedIn.cs @@ -23,7 +23,7 @@ public class EventCheckedIn /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent2? Event { get; set; } + public ActivityDataEvent1? Event { get; set; } /// /// ISO 8601 date and time when an attendee checked in to an event. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedOut.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedOut.cs index 91326f1cc..f61439a8e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedOut.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventCheckedOut.cs @@ -23,7 +23,7 @@ public class EventCheckedOut /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent3? Event { get; set; } + public ActivityDataEvent2? Event { get; set; } /// /// ISO 8601 date and time when an attendee checked out from an event. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventFeedbackSubmitted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventFeedbackSubmitted.cs index 6c2ab6985..07782fd42 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventFeedbackSubmitted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventFeedbackSubmitted.cs @@ -22,12 +22,12 @@ public class EventFeedbackSubmitted /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent4? Event { get; set; } + public EventFeedbackSubmittedEvent? Event { get; set; } /// /// A survey response. /// [JsonProperty("survey")] - public SurveyResponseJson? Survey { get; set; } + public SurveyResponse? Survey { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventFeedbackSubmittedEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventFeedbackSubmittedEvent.cs new file mode 100644 index 000000000..9ee9d21c0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventFeedbackSubmittedEvent.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class EventFeedbackSubmittedEvent + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventInsurance.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventInsurance.cs new file mode 100644 index 000000000..6af6faca8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventInsurance.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `BLANK` — Indicates no selection, leaves the field blank
+ /// - `REQUIRED` — Required
+ /// - `MAY_BE_REQUIRED` — May Be Required
+ /// - `NOT_REQUIRED` — Not Required. + ///
+ public enum EventInsurance + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("REQUIRED")] Required, + [JsonProperty("MAY_BE_REQUIRED")] MayBeRequired, + [JsonProperty("NOT_REQUIRED")] NotRequired, + } + + public static class EventInsuranceExtension + { + public static string Value(this EventInsurance value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static EventInsurance ToEnum(this string value) + { + foreach (var field in typeof(EventInsurance).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 EventInsurance) + { + return (EventInsurance)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum EventInsurance"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventNoShow.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventNoShow.cs index 7cd717d2f..8db96481e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventNoShow.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventNoShow.cs @@ -22,6 +22,6 @@ public class EventNoShow /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent5? Event { get; set; } + public ActivityDataEvent3? Event { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventPageVisitTracked.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventPageVisitTracked.cs index 4f2bc7b7b..436a9a4db 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventPageVisitTracked.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventPageVisitTracked.cs @@ -23,7 +23,7 @@ public class EventPageVisitTracked /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent6? Event { get; set; } + public EventPageVisitTrackedEvent? Event { get; set; } /// /// Identifies which site sent the traffic. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventPageVisitTrackedEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventPageVisitTrackedEvent.cs new file mode 100644 index 000000000..06c9e5fc6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventPageVisitTrackedEvent.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event in which this activity occurred. + /// + public class EventPageVisitTrackedEvent + { + /// + /// Event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs index bf7ecbeb0..ccd2dcabb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs @@ -89,7 +89,7 @@ public class EventQuestionJson /// This object represents the type of a question. /// [JsonProperty("type")] - public QuestionTypeJson2? Type { get; set; } + public QuestionTypeJson1? Type { get; set; } /// /// Optional description to provide additional context of the question. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistered.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistered.cs index c1c2a771f..7a1db4120 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistered.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistered.cs @@ -22,12 +22,12 @@ public class EventRegistered /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent7? Event { get; set; } + public ActivityDataEvent4? Event { get; set; } /// /// This is used to denote the status of an attendee. /// [JsonProperty("status")] - public AttendeeStatusJson? Status { get; set; } + public AttendeeStatus? Status { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationAbandoned.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationAbandoned.cs index b30f95317..e71b70991 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationAbandoned.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationAbandoned.cs @@ -36,6 +36,6 @@ public class EventRegistrationAbandoned /// [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] [JsonProperty("contact")] - public ActivityContact? Contact { get; set; } + public EventRegistrationAbandonedActivityContact? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationAbandonedActivityContact.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationAbandonedActivityContact.cs new file mode 100644 index 000000000..7461745ce --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationAbandonedActivityContact.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Related contact. + /// + [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] + public class EventRegistrationAbandonedActivityContact + { + /// + /// The first name of the attendee. + /// + [JsonProperty("firstName")] + public string? FirstName { get; set; } + + /// + /// The last name of the attendee. + /// + [JsonProperty("lastName")] + public string? LastName { get; set; } + + /// + /// The email address of the attendee. + /// + [JsonProperty("email")] + public string? Email { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationCancelled.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationCancelled.cs index 6fac988d4..c75938d0a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationCancelled.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRegistrationCancelled.cs @@ -22,12 +22,12 @@ public class EventRegistrationCancelled /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent8? Event { get; set; } + public ActivityDataEvent5? Event { get; set; } /// /// This is used to denote the status of an attendee. /// [JsonProperty("status")] - public AttendeeStatusJson? Status { get; set; } + public AttendeeStatus? Status { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRole.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRole.cs new file mode 100644 index 000000000..4e97ae3a6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRole.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + /// + public class EventRole + { + /// + /// The ID of the event role. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignment.cs new file mode 100644 index 000000000..842089782 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignment.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// An assignment of an event role to a user for an event. + /// + public class EventRoleAssignment + { + /// + /// The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The event where the user gets a role. For more details, use the Get Event endpoint with the event ID. + /// + [JsonProperty("event")] + public EventRoleAssignmentEvent? Event { get; set; } + + /// + /// The user to whom the event role is assigned. For more details, use the Get User endpoint with the user ID. + /// + [JsonProperty("user")] + public EventRoleAssignmentUser? User { get; set; } + + /// + /// An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + /// + [JsonProperty("eventRole")] + public Models.Components.EventRole? EventRole { get; set; } + + /// + /// The ISO 8601 zoned date-time when the event role was assigned to the user. + /// + [JsonProperty("assigned")] + public DateTime? Assigned { get; set; } + + /// + /// The identifier of the user who assigned the event role. + /// + [JsonProperty("assignedBy")] + public string? AssignedBy { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentEvent.cs new file mode 100644 index 000000000..4ba53ef1c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentEvent.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event where the user gets a role. For more details, use the Get Event endpoint with the event ID. + /// + public class EventRoleAssignmentEvent + { + /// + /// The unique ID of the event. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJson.cs deleted file mode 100644 index e1b254309..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJson.cs +++ /dev/null @@ -1,58 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// An assignment of an event role to a user for an event. - /// - public class EventRoleAssignmentJson - { - /// - /// The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The event where the user gets a role. For more details, use the Get Event endpoint with the event ID. - /// - [JsonProperty("event")] - public EventRoleAssignmentJsonEvent? Event { get; set; } - - /// - /// The user to whom the event role is assigned. For more details, use the Get User endpoint with the user ID. - /// - [JsonProperty("user")] - public EventRoleAssignmentJsonUser? User { get; set; } - - /// - /// An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - /// - [JsonProperty("eventRole")] - public EventRoleJson? EventRole { get; set; } - - /// - /// The ISO 8601 zoned date-time when the event role was assigned to the user. - /// - [JsonProperty("assigned")] - public DateTime? Assigned { get; set; } - - /// - /// The identifier of the user who assigned the event role. - /// - [JsonProperty("assignedBy")] - public string? AssignedBy { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonEvent.cs deleted file mode 100644 index 08a2477f7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonEvent.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event where the user gets a role. For more details, use the Get Event endpoint with the event ID. - /// - public class EventRoleAssignmentJsonEvent - { - /// - /// The unique ID of the event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonUser.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonUser.cs deleted file mode 100644 index 18f0d0432..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentJsonUser.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The user to whom the event role is assigned. For more details, use the Get User endpoint with the user ID. - /// - public class EventRoleAssignmentJsonUser - { - /// - /// The unique ID of the user. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentUser.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentUser.cs new file mode 100644 index 000000000..b3dfae7fa --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentUser.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The user to whom the event role is assigned. For more details, use the Get User endpoint with the user ID. + /// + public class EventRoleAssignmentUser + { + /// + /// The unique ID of the user. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentsPaginatedResponse.cs index b5af88f6d..9d804b0e7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleAssignmentsPaginatedResponse.cs @@ -23,12 +23,12 @@ public class EventRoleAssignmentsPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// A collection of event role assignments. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleJson.cs deleted file mode 100644 index 24f8bd62c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventRoleJson.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - /// - public class EventRoleJson - { - /// - /// The ID of the event role. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs index eb83e6cbf..4c4405ee9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs @@ -78,7 +78,7 @@ public class EventSurveyQuestionJson /// Question Type. /// [JsonProperty("type")] - public QuestionTypeJson1? Type { get; set; } + public QuestionTypeJson? Type { get; set; } /// /// List of choices for the question. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventWaitlisted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventWaitlisted.cs index 6ff4b0436..95a78725c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventWaitlisted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventWaitlisted.cs @@ -22,12 +22,12 @@ public class EventWaitlisted /// The event in which this activity occurred. /// [JsonProperty("event")] - public ActivityDataJsonEvent9? Event { get; set; } + public ActivityDataEvent6? Event { get; set; } /// /// This is used to denote the status of an attendee. /// [JsonProperty("status")] - public AttendeeStatusJson? Status { get; set; } + public AttendeeStatus? Status { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitLayoutType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitLayoutType.cs new file mode 100644 index 000000000..a556dc2b6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitLayoutType.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + /// + public enum ExhibitLayoutType + { + [JsonProperty("BOOTH_10x10")] Booth10x10, + [JsonProperty("BOOTH_8x10")] Booth8x10, + [JsonProperty("ISLAND_EXHIBIT")] IslandExhibit, + [JsonProperty("PENINSULA_EXHIBIT")] PeninsulaExhibit, + [JsonProperty("PERIMETER_EXHIBIT")] PerimeterExhibit, + [JsonProperty("TABLETOP_EXHIBIT")] TabletopExhibit, + } + + public static class ExhibitLayoutTypeExtension + { + public static string Value(this ExhibitLayoutType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ExhibitLayoutType ToEnum(this string value) + { + foreach (var field in typeof(ExhibitLayoutType).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 ExhibitLayoutType) + { + return (ExhibitLayoutType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ExhibitLayoutType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Exhibitor1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Exhibitor1.cs new file mode 100644 index 000000000..9480ab1d4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Exhibitor1.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An exhibitor. + /// + public class Exhibitor1 + { + /// + /// The unique identifier of the exhibitor. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The Name of an exhibitor. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// If the exhibitor is featured. + /// + [JsonProperty("featured")] + public bool? Featured { get; set; } + + /// + /// If the exhibitor is an event sponsor. + /// + [JsonProperty("eventSponsor")] + public bool? EventSponsor { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorDocumentOpened.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorDocumentOpened.cs index f7755eb92..5383fabfa 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorDocumentOpened.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorDocumentOpened.cs @@ -22,7 +22,7 @@ public class ExhibitorDocumentOpened /// An exhibitor. /// [JsonProperty("exhibitor")] - public ExhibitorJson? Exhibitor { get; set; } + public Exhibitor1? Exhibitor { get; set; } /// /// The platform used by the user. @@ -34,6 +34,6 @@ public class ExhibitorDocumentOpened /// Document for an activity exhibitor. /// [JsonProperty("document")] - public ActivityExhibitorDocumentJson? Document { get; set; } + public ActivityExhibitorDocument? Document { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorJson.cs deleted file mode 100644 index e1075339c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorJson.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// An exhibitor. - /// - public class ExhibitorJson - { - /// - /// The unique identifier of the exhibitor. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The Name of an exhibitor. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// If the exhibitor is featured. - /// - [JsonProperty("featured")] - public bool? Featured { get; set; } - - /// - /// If the exhibitor is an event sponsor. - /// - [JsonProperty("eventSponsor")] - public bool? EventSponsor { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorSocialLinkOpened.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorSocialLinkOpened.cs index d788d627c..23b9476a9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorSocialLinkOpened.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorSocialLinkOpened.cs @@ -22,7 +22,7 @@ public class ExhibitorSocialLinkOpened /// An exhibitor. /// [JsonProperty("exhibitor")] - public ExhibitorJson? Exhibitor { get; set; } + public Exhibitor1? Exhibitor { get; set; } /// /// The platform used by the user. @@ -34,7 +34,7 @@ public class ExhibitorSocialLinkOpened /// Sponsorship level for an activity exhibitor. /// [JsonProperty("sponsorshipLevel")] - public ActivityExhibitorSponsorshipLevelJson? SponsorshipLevel { get; set; } + public ActivityExhibitorSponsorshipLevel? SponsorshipLevel { get; set; } /// /// The name of the social network. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorViewed.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorViewed.cs index 071933639..e189317df 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorViewed.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorViewed.cs @@ -22,7 +22,7 @@ public class ExhibitorViewed /// An exhibitor. /// [JsonProperty("exhibitor")] - public ExhibitorJson? Exhibitor { get; set; } + public Exhibitor1? Exhibitor { get; set; } /// /// The platform used by the user. @@ -34,12 +34,12 @@ public class ExhibitorViewed /// Sponsorship level for an activity exhibitor. /// [JsonProperty("sponsorshipLevel")] - public ActivityExhibitorSponsorshipLevelJson? SponsorshipLevel { get; set; } + public ActivityExhibitorSponsorshipLevel? SponsorshipLevel { get; set; } /// /// Navigation source for an activity exhibitor. /// [JsonProperty("navigationSource")] - public ActivityExhibitorNavigationSourceJson? NavigationSource { get; set; } + public ActivityExhibitorNavigationSource? NavigationSource { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorVirtualBoothJoined.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorVirtualBoothJoined.cs index 3f79a2e67..152667b7b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorVirtualBoothJoined.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorVirtualBoothJoined.cs @@ -22,7 +22,7 @@ public class ExhibitorVirtualBoothJoined /// An exhibitor. /// [JsonProperty("exhibitor")] - public ExhibitorJson? Exhibitor { get; set; } + public Exhibitor1? Exhibitor { get; set; } /// /// The platform used by the user. @@ -34,7 +34,7 @@ public class ExhibitorVirtualBoothJoined /// Sponsorship level for an activity exhibitor. /// [JsonProperty("sponsorshipLevel")] - public ActivityExhibitorSponsorshipLevelJson? SponsorshipLevel { get; set; } + public ActivityExhibitorSponsorshipLevel? SponsorshipLevel { get; set; } /// /// The solution type used for the virtual booth. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorWeblinkOpened.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorWeblinkOpened.cs index d195be30a..6749aeb94 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorWeblinkOpened.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorWeblinkOpened.cs @@ -22,7 +22,7 @@ public class ExhibitorWeblinkOpened /// An exhibitor. /// [JsonProperty("exhibitor")] - public ExhibitorJson? Exhibitor { get; set; } + public Exhibitor1? Exhibitor { get; set; } /// /// The platform used by the user. @@ -34,6 +34,6 @@ public class ExhibitorWeblinkOpened /// A web-link for an activity exhibitor. /// [JsonProperty("weblink")] - public ActivityExhibitorWebLinkJson? Weblink { get; set; } + public ActivityExhibitorWeblink? Weblink { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs index a661d4b09..392d482eb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs @@ -66,7 +66,7 @@ public class ExistingExhibitorAnswer /// List of answers. /// [JsonProperty("answers")] - public List Answers { get; set; } = default!; + public List Answers { get; set; } = default!; /// /// Exhibitor Answer id. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs index 8e67e0313..3d3f5b99a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs @@ -41,6 +41,6 @@ public class ExistingExhibitorAnswerInput /// List of answers. /// [JsonProperty("answers")] - public List Answers { get; set; } = default!; + public List Answers { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingHub.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingHub.cs index 63d082ec5..80df2988a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingHub.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingHub.cs @@ -139,6 +139,12 @@ public class ExistingHub [JsonProperty("login")] public HubLogin? Login { get; set; } + /// + /// True indicates the Events+ hub is opted into the new website theming experience. False indicates the hub uses the legacy theming experience. + /// + [JsonProperty("websiteTheming")] + public bool? WebsiteTheming { get; set; } = false; + /// /// The unique ID of an Events+ Hub. /// diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoom.cs new file mode 100644 index 000000000..1078aaeb4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoom.cs @@ -0,0 +1,107 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// An existing venue meeting room with read-only generated properties. + /// + public class ExistingMeetingRoom + { + /// + /// The ISO 8601 zoned date time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The identifier of the user that created this record. + /// + [JsonProperty("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The ISO 8601 zoned date time when this record was updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The identifier of the user that last updated this record. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// The name of the meeting room. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// The detailed description of the meeting room. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// Physical dimensions for the meeting room. + /// + [JsonProperty("dimensions")] + public ExistingMeetingRoomDimensions Dimensions { get; set; } = default!; + + /// + /// The position of this meeting room in the venue's room listing. + /// + [JsonProperty("displayOrder")] + public long? DisplayOrder { get; set; } + + /// + /// The provider's own identifier for this meeting room. + /// + [JsonProperty("externalSourceId")] + public string? ExternalSourceId { get; set; } + + /// + /// Rate information for move in/out and events. + /// + [JsonProperty("rates")] + public ExistingMeetingRoomRates? Rates { get; set; } + + /// + /// Capacity information for a meeting room, grouped by category. + /// + [JsonProperty("capacities")] + public MeetingRoomCapacities? Capacities { get; set; } + + /// + /// List of amenities available in the meeting room. + /// + [JsonProperty("amenities")] + public List? Amenities { get; set; } + + /// + /// True indicates the meeting room is hidden on the venue profile. + /// + [JsonProperty("hiddenOnProfile")] + public bool? HiddenOnProfile { get; set; } = false; + + /// + /// The unique identifier for the meeting room. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomDimensions.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomDimensions.cs new file mode 100644 index 000000000..7ee10d316 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomDimensions.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Physical dimensions for the meeting room. + /// + public class ExistingMeetingRoomDimensions + { + /// + /// Measurement of area in square feet or square meters. + /// + [JsonProperty("totalSpace")] + public AreaMeasurement TotalSpace { get; set; } = default!; + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("ceilingHeight")] + public Dimension? CeilingHeight { get; set; } + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("length")] + public Dimension? Length { get; set; } + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("width")] + public Dimension? Width { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomInput.cs new file mode 100644 index 000000000..4810ae5b3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomInput.cs @@ -0,0 +1,76 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// An existing venue meeting room with read-only generated properties. + /// + public class ExistingMeetingRoomInput + { + /// + /// The name of the meeting room. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// The detailed description of the meeting room. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// Physical dimensions for the meeting room. + /// + [JsonProperty("dimensions")] + public ExistingMeetingRoomDimensions Dimensions { get; set; } = default!; + + /// + /// The position of this meeting room in the venue's room listing. + /// + [JsonProperty("displayOrder")] + public long? DisplayOrder { get; set; } + + /// + /// The provider's own identifier for this meeting room. + /// + [JsonProperty("externalSourceId")] + public string? ExternalSourceId { get; set; } + + /// + /// Rate information for move in/out and events. + /// + [JsonProperty("rates")] + public ExistingMeetingRoomRates? Rates { get; set; } + + /// + /// Capacity information for a meeting room, grouped by category. + /// + [JsonProperty("capacities")] + public MeetingRoomCapacities? Capacities { get; set; } + + /// + /// List of amenities available in the meeting room. + /// + [JsonProperty("amenities")] + public List? Amenities { get; set; } + + /// + /// True indicates the meeting room is hidden on the venue profile. + /// + [JsonProperty("hiddenOnProfile")] + public bool? HiddenOnProfile { get; set; } = false; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomRates.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomRates.cs new file mode 100644 index 000000000..5c396ab04 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingMeetingRoomRates.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; + + /// + /// Rate information for move in/out and events. + /// + public class ExistingMeetingRoomRates + { + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("moveIn")] + public MeetingRoomRate? MoveIn { get; set; } + + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("moveOut")] + public MeetingRoomRate? MoveOut { get; set; } + + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("event")] + public MeetingRoomRate? Event { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueDetails.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueDetails.cs new file mode 100644 index 000000000..7c9fd0c49 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueDetails.cs @@ -0,0 +1,205 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// An existing venue details model with read-only generated properties. + /// + public class ExistingVenueDetails + { + /// + /// The ISO 8601 zoned date time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The identifier of the user that created this record. + /// + [JsonProperty("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The ISO 8601 zoned date time when this record was updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The identifier of the user that last updated this record. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// Type of venue.
+ ///
+ /// Values:
+ /// - `AQUARIUM_ZOO` — Aquarium/Zoo
+ /// - `ARENA_STADIUM` — Arena/Stadium
+ /// - `BANQUET_FACILITY` — Banquet Facility
+ /// - `BAR_CLUB` — Bar/Club
+ /// - `BLANK` — Blank
+ /// - `BOUTIQUE_HOTEL` — Boutique Hotel
+ /// - `CONFERENCE_CENTER` — Conference Center
+ /// - `CONVENTION_CENTER` — Convention Center
+ /// - `CORPORATE_OFFICE_SPACE` — Corporate Office Space
+ /// - `CVB` — CVB
+ /// - `DMC` — Destination Management Company
+ /// - `EDUCATIONAL_FACILITY` — Educational Facility
+ /// - `ENTERTAINMENT_VENUE` — Entertainment Venue
+ /// - `EXPOSITION_CENTER` — Exposition Center
+ /// - `GALLERY_MUSEUM` — Gallery/Museum
+ /// - `GOLF_COURSE` — Golf Course
+ /// - `HOTEL` — Hotel
+ /// - `INTERNAL_VENUE` — Internal Venue
+ /// - `LUXURY_HOTEL` — Luxury Hotel
+ /// - `MOVIE_THEATRE` — Movie Theatre
+ /// - `RESORT` — Resort
+ /// - `RESTAURANT` — Restaurant
+ /// - `SPECIAL_EVENT_VENUE` — Special Event Venue. + ///
+ [JsonProperty("type")] + public VenueType Type { get; set; } = default!; + + /// + /// Time zone identifier for the venue. See the supported timezones reference for valid values.
+ /// Supported Timezones + ///
+ [JsonProperty("timeZone")] + public string? TimeZone { get; set; } + + /// + /// Venue brand. + /// + [JsonProperty("brand")] + public string? Brand { get; set; } + + /// + /// A market segment classification of a venue chain based on Average Daily Rate and other factors.
+ ///
+ /// Values:
+ /// - `BLANK` — Blank
+ /// - `ECONOMYCHAINS` — Economy Chains
+ /// - `INDEPENDENTS` — Independents
+ /// - `LUXURY_CHAINS` — Luxury Chains
+ /// - `MIDSCALE_CHAINS` — Midscale Chains
+ /// - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
+ /// - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
+ /// - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
+ /// - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
+ /// - `UPSCALE_CHAINS` — Upscale Chains. + ///
+ [JsonProperty("chainScale")] + public ChainScale? ChainScale { get; set; } + + /// + /// Primary phone number for the venue. + /// + [JsonProperty("mainPhoneNumber")] + public string MainPhoneNumber { get; set; } = default!; + + /// + /// Primary fax number for the venue. + /// + [JsonProperty("mainFaxNumber")] + public string MainFaxNumber { get; set; } = default!; + + /// + /// Sales phone number of the venue. + /// + [JsonProperty("salesPhoneNumber")] + public string? SalesPhoneNumber { get; set; } + + /// + /// Sales fax number of the venue. + /// + [JsonProperty("salesFaxNumber")] + public string? SalesFaxNumber { get; set; } + + /// + /// Toll-free number of the venue. + /// + [JsonProperty("tollFreeNumber")] + public string? TollFreeNumber { get; set; } + + /// + /// Website address. + /// + [JsonProperty("websiteAddress")] + public string? WebsiteAddress { get; set; } + + /// + /// The ISO 4217 standard format currency code used for RFPs. + /// + [JsonProperty("currency")] + public Currency? Currency { get; set; } + + /// + /// Venue opening date as free-form text. + /// + [JsonProperty("openingDate")] + public string? OpeningDate { get; set; } + + /// + /// Venue description. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// Additional information about the venue. + /// + [JsonProperty("additionalInformation")] + public string? AdditionalInformation { get; set; } + + /// + /// Cancellation policy for bookings at the venue. + /// + [JsonProperty("cancellationPolicy")] + public string? CancellationPolicy { get; set; } + + /// + /// Location classifications. + /// + [JsonProperty("locationTypes")] + public List? LocationTypes { get; set; } + + /// + /// Venue address information. + /// + [JsonProperty("address")] + public AddressInfo Address { get; set; } = default!; + + /// + /// Venue ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// Venue name. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// Metro area name. Populated once the venue is approved. + /// + [JsonProperty("metroArea")] + public string? MetroArea { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueDetailsInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueDetailsInput.cs new file mode 100644 index 000000000..50beee72e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueDetailsInput.cs @@ -0,0 +1,162 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this 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; + + /// + /// An existing venue details model with read-only generated properties. + /// + public class ExistingVenueDetailsInput + { + /// + /// Type of venue.
+ ///
+ /// Values:
+ /// - `AQUARIUM_ZOO` — Aquarium/Zoo
+ /// - `ARENA_STADIUM` — Arena/Stadium
+ /// - `BANQUET_FACILITY` — Banquet Facility
+ /// - `BAR_CLUB` — Bar/Club
+ /// - `BLANK` — Blank
+ /// - `BOUTIQUE_HOTEL` — Boutique Hotel
+ /// - `CONFERENCE_CENTER` — Conference Center
+ /// - `CONVENTION_CENTER` — Convention Center
+ /// - `CORPORATE_OFFICE_SPACE` — Corporate Office Space
+ /// - `CVB` — CVB
+ /// - `DMC` — Destination Management Company
+ /// - `EDUCATIONAL_FACILITY` — Educational Facility
+ /// - `ENTERTAINMENT_VENUE` — Entertainment Venue
+ /// - `EXPOSITION_CENTER` — Exposition Center
+ /// - `GALLERY_MUSEUM` — Gallery/Museum
+ /// - `GOLF_COURSE` — Golf Course
+ /// - `HOTEL` — Hotel
+ /// - `INTERNAL_VENUE` — Internal Venue
+ /// - `LUXURY_HOTEL` — Luxury Hotel
+ /// - `MOVIE_THEATRE` — Movie Theatre
+ /// - `RESORT` — Resort
+ /// - `RESTAURANT` — Restaurant
+ /// - `SPECIAL_EVENT_VENUE` — Special Event Venue. + ///
+ [JsonProperty("type")] + public VenueType Type { get; set; } = default!; + + /// + /// Time zone identifier for the venue. See the supported timezones reference for valid values.
+ /// Supported Timezones + ///
+ [JsonProperty("timeZone")] + public string? TimeZone { get; set; } + + /// + /// Venue brand. + /// + [JsonProperty("brand")] + public string? Brand { get; set; } + + /// + /// A market segment classification of a venue chain based on Average Daily Rate and other factors.
+ ///
+ /// Values:
+ /// - `BLANK` — Blank
+ /// - `ECONOMYCHAINS` — Economy Chains
+ /// - `INDEPENDENTS` — Independents
+ /// - `LUXURY_CHAINS` — Luxury Chains
+ /// - `MIDSCALE_CHAINS` — Midscale Chains
+ /// - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
+ /// - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
+ /// - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
+ /// - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
+ /// - `UPSCALE_CHAINS` — Upscale Chains. + ///
+ [JsonProperty("chainScale")] + public ChainScale? ChainScale { get; set; } + + /// + /// Primary phone number for the venue. + /// + [JsonProperty("mainPhoneNumber")] + public string MainPhoneNumber { get; set; } = default!; + + /// + /// Primary fax number for the venue. + /// + [JsonProperty("mainFaxNumber")] + public string MainFaxNumber { get; set; } = default!; + + /// + /// Sales phone number of the venue. + /// + [JsonProperty("salesPhoneNumber")] + public string? SalesPhoneNumber { get; set; } + + /// + /// Sales fax number of the venue. + /// + [JsonProperty("salesFaxNumber")] + public string? SalesFaxNumber { get; set; } + + /// + /// Toll-free number of the venue. + /// + [JsonProperty("tollFreeNumber")] + public string? TollFreeNumber { get; set; } + + /// + /// Website address. + /// + [JsonProperty("websiteAddress")] + public string? WebsiteAddress { get; set; } + + /// + /// The ISO 4217 standard format currency code used for RFPs. + /// + [JsonProperty("currency")] + public Currency? Currency { get; set; } + + /// + /// Venue opening date as free-form text. + /// + [JsonProperty("openingDate")] + public string? OpeningDate { get; set; } + + /// + /// Venue description. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// Additional information about the venue. + /// + [JsonProperty("additionalInformation")] + public string? AdditionalInformation { get; set; } + + /// + /// Cancellation policy for bookings at the venue. + /// + [JsonProperty("cancellationPolicy")] + public string? CancellationPolicy { get; set; } + + /// + /// Location classifications. + /// + [JsonProperty("locationTypes")] + public List? LocationTypes { get; set; } + + /// + /// Venue address information. + /// + [JsonProperty("address")] + public AddressInfo Address { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacility.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacility.cs new file mode 100644 index 000000000..fb76b4de2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacility.cs @@ -0,0 +1,142 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// An existing venue facility model with read-only generated properties. + /// + public class ExistingVenueFacility + { + /// + /// The ISO 8601 zoned date time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The identifier of the user that created this record. + /// + [JsonProperty("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The ISO 8601 zoned date time when this record was updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The identifier of the user that last updated this record. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// Total number of meeting rooms at the venue. + /// + [JsonProperty("numberOfMeetingRooms")] + public long? NumberOfMeetingRooms { get; set; } + + /// + /// Facility space measurements at the venue. + /// + [JsonProperty("space")] + public ExistingVenueFacilitySpace? Space { get; set; } + + /// + /// Sleeping room inventory at the venue. + /// + [JsonProperty("sleeping")] + public ExistingVenueFacilitySleeping? Sleeping { get; set; } + + /// + /// Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + /// + [JsonProperty("singleRate")] + public ExistingVenueFacilitySingleRate? SingleRate { get; set; } + + /// + /// Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + /// + [JsonProperty("doubleRate")] + public ExistingVenueFacilityDoubleRate? DoubleRate { get; set; } + + /// + /// Tax rate applied at the venue, expressed as a percentage. + /// + [JsonProperty("taxRate")] + public double? TaxRate { get; set; } + + /// + /// Occupancy rate at the venue, expressed as a percentage. + /// + [JsonProperty("occupancyRate")] + public double? OccupancyRate { get; set; } + + /// + /// Four-digit year the venue was built. + /// + [JsonProperty("yearBuilt")] + public long? YearBuilt { get; set; } + + /// + /// Four-digit year the venue was last renovated. + /// + [JsonProperty("yearRenovated")] + public long? YearRenovated { get; set; } + + /// + /// Distance from the nearest airport. `unit` is required when `distance` is provided. + /// + [JsonProperty("proximityFromAirport")] + public ExistingVenueFacilityProximityFromAirport? ProximityFromAirport { get; set; } + + /// + /// Free-form description of any facility restrictions at the venue. + /// + [JsonProperty("restrictions")] + public string? Restrictions { get; set; } + + /// + /// Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + /// + [JsonProperty("maximumCapacity")] + public ExistingVenueFacilityMaximumCapacity? MaximumCapacity { get; set; } + + /// + /// Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `BLANK` — Indicates no selection, leaves the field blank
+ /// - `REQUIRED` — Required
+ /// - `MAY_BE_REQUIRED` — May Be Required
+ /// - `NOT_REQUIRED` — Not Required. + ///
+ [JsonProperty("eventInsurance")] + public EventInsurance? EventInsurance { get; set; } + + /// + /// Venue ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// Venue name. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityDoubleRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityDoubleRate.cs new file mode 100644 index 000000000..30cdb45af --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityDoubleRate.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + /// + public class ExistingVenueFacilityDoubleRate + { + /// + /// Lowest published rate for a double-occupancy room. + /// + [JsonProperty("low")] + public double? Low { get; set; } + + /// + /// Highest published rate for a double-occupancy room. + /// + [JsonProperty("high")] + public double? High { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityInput.cs new file mode 100644 index 000000000..f4ddef80f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityInput.cs @@ -0,0 +1,105 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An existing venue facility model with read-only generated properties. + /// + public class ExistingVenueFacilityInput + { + /// + /// Total number of meeting rooms at the venue. + /// + [JsonProperty("numberOfMeetingRooms")] + public long? NumberOfMeetingRooms { get; set; } + + /// + /// Facility space measurements at the venue. + /// + [JsonProperty("space")] + public ExistingVenueFacilitySpace? Space { get; set; } + + /// + /// Sleeping room inventory at the venue. + /// + [JsonProperty("sleeping")] + public ExistingVenueFacilitySleeping? Sleeping { get; set; } + + /// + /// Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + /// + [JsonProperty("singleRate")] + public ExistingVenueFacilitySingleRate? SingleRate { get; set; } + + /// + /// Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + /// + [JsonProperty("doubleRate")] + public ExistingVenueFacilityDoubleRate? DoubleRate { get; set; } + + /// + /// Tax rate applied at the venue, expressed as a percentage. + /// + [JsonProperty("taxRate")] + public double? TaxRate { get; set; } + + /// + /// Occupancy rate at the venue, expressed as a percentage. + /// + [JsonProperty("occupancyRate")] + public double? OccupancyRate { get; set; } + + /// + /// Four-digit year the venue was built. + /// + [JsonProperty("yearBuilt")] + public long? YearBuilt { get; set; } + + /// + /// Four-digit year the venue was last renovated. + /// + [JsonProperty("yearRenovated")] + public long? YearRenovated { get; set; } + + /// + /// Distance from the nearest airport. `unit` is required when `distance` is provided. + /// + [JsonProperty("proximityFromAirport")] + public ExistingVenueFacilityProximityFromAirport? ProximityFromAirport { get; set; } + + /// + /// Free-form description of any facility restrictions at the venue. + /// + [JsonProperty("restrictions")] + public string? Restrictions { get; set; } + + /// + /// Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + /// + [JsonProperty("maximumCapacity")] + public ExistingVenueFacilityMaximumCapacity? MaximumCapacity { get; set; } + + /// + /// Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `BLANK` — Indicates no selection, leaves the field blank
+ /// - `REQUIRED` — Required
+ /// - `MAY_BE_REQUIRED` — May Be Required
+ /// - `NOT_REQUIRED` — Not Required. + ///
+ [JsonProperty("eventInsurance")] + public EventInsurance? EventInsurance { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityMaximumCapacity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityMaximumCapacity.cs new file mode 100644 index 000000000..cdbecdfdb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityMaximumCapacity.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + /// + public class ExistingVenueFacilityMaximumCapacity + { + /// + /// Maximum seated capacity at the venue. + /// + [JsonProperty("seated")] + public long? Seated { get; set; } + + /// + /// Maximum standing capacity at the venue. + /// + [JsonProperty("standing")] + public long? Standing { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityProximityFromAirport.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityProximityFromAirport.cs new file mode 100644 index 000000000..e086efd3b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilityProximityFromAirport.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Distance from the nearest airport. `unit` is required when `distance` is provided. + /// + public class ExistingVenueFacilityProximityFromAirport + { + /// + /// Distance from the nearest airport, expressed in `unit`. Up to four digits. + /// + [JsonProperty("distance")] + public double? Distance { get; set; } + + /// + /// Unit of measurement for distance.
+ ///
+ /// Values:
+ /// - `MILES` — Miles
+ /// - `KILOMETERS` — Kilometers. + ///
+ [JsonProperty("unit")] + public DistanceMeasurementUnit? Unit { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySingleRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySingleRate.cs new file mode 100644 index 000000000..f6185f54e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySingleRate.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + /// + public class ExistingVenueFacilitySingleRate + { + /// + /// Lowest published rate for a single-occupancy room. + /// + [JsonProperty("low")] + public double? Low { get; set; } + + /// + /// Highest published rate for a single-occupancy room. + /// + [JsonProperty("high")] + public double? High { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySleeping.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySleeping.cs new file mode 100644 index 000000000..722f8d867 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySleeping.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Sleeping room inventory at the venue. + /// + public class ExistingVenueFacilitySleeping + { + /// + /// Total number of sleeping rooms at the venue. + /// + [JsonProperty("totalRooms")] + public long? TotalRooms { get; set; } + + /// + /// Total number of suites at the venue. + /// + [JsonProperty("suites")] + public long? Suites { get; set; } + + /// + /// Total number of single-occupancy rooms at the venue. + /// + [JsonProperty("singleRooms")] + public long? SingleRooms { get; set; } + + /// + /// Total number of double-occupancy rooms at the venue. + /// + [JsonProperty("doubleRooms")] + public long? DoubleRooms { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySpace.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySpace.cs new file mode 100644 index 000000000..ed5091206 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueFacilitySpace.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Facility space measurements at the venue. + /// + public class ExistingVenueFacilitySpace + { + /// + /// Unit of measurement for area or space.
+ ///
+ /// Values:
+ /// - `SQUARE_FEET` — Square Feet
+ /// - `SQUARE_METERS` — Square Meters. + ///
+ [JsonProperty("unitOfMeasurement")] + public MeasurementUnit? UnitOfMeasurement { get; set; } + + /// + /// Total meeting room space at the venue. + /// + [JsonProperty("totalMeetingRoomSpace")] + public long? TotalMeetingRoomSpace { get; set; } + + /// + /// Total exhibit space at the venue. + /// + [JsonProperty("totalExhibitSpace")] + public long? TotalExhibitSpace { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.cs deleted file mode 100644 index f5e6f3f00..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivitiesAdditionalFieldsMetadataJson.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; - - /// - /// Additional fields metadata for an external activity. - /// - public class ExternalActivitiesAdditionalFieldsMetadataJson - { - /// - /// The name of the additional field. - /// - [JsonProperty("name")] - public string Name { get; set; } = default!; - - /// - /// Description of the additional field. - /// - [JsonProperty("description")] - public string? Description { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivity.cs index 7fb897eed..f2a69e582 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivity.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivity.cs @@ -29,13 +29,13 @@ public class ExternalActivity /// The reference to the related entity. Contains only the ID of the related entity. /// [JsonProperty("attendee")] - public UuidJson Attendee { get; set; } = default!; + public Uuid Attendee { get; set; } = default!; /// /// Details for an event activity. /// [JsonProperty("event")] - public EventActivityDetailsJson Event { get; set; } = default!; + public EventActivityDetail Event { get; set; } = default!; /// /// ISO 8601 date and time when this attendee activity occurred. @@ -59,12 +59,12 @@ public class ExternalActivity /// This is used to denote the type of the external attendee activity. /// [JsonProperty("type")] - public ExternalActivityTypeJson Type { get; set; } = default!; + public ExternalActivityType Type { get; set; } = default!; /// /// This is used to denote the type of the external attendee activity. /// [JsonProperty("data", NullValueHandling = NullValueHandling.Include)] - public ExternalActivityDataJson Data { get; set; } = default!; + public ExternalActivityData Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityAdditionalFieldsMetadata.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityAdditionalFieldsMetadata.cs new file mode 100644 index 000000000..97c17cecc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityAdditionalFieldsMetadata.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Additional fields metadata for an external activity. + /// + public class ExternalActivityAdditionalFieldsMetadata + { + /// + /// The name of the additional field. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// Description of the additional field. + /// + [JsonProperty("description")] + public string? Description { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityData.cs new file mode 100644 index 000000000..557ea654e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityData.cs @@ -0,0 +1,304 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using Newtonsoft.Json.Linq; + using System; + using System.Collections.Generic; + using System.Numerics; + using System.Reflection; + + public class ExternalActivityDataType + { + private ExternalActivityDataType(string value) + { + Value = value; + } + + public string Value { get; private set; } + + public static ExternalActivityDataType ExternalActivityDataEventExternal + { + get { + return new ExternalActivityDataType("ExternalActivityData_event.external"); + } + } + + public static ExternalActivityDataType ExternalActivityDataSessionExternal + { + get { + return new ExternalActivityDataType("ExternalActivityData_session.external"); + } + } + + public static ExternalActivityDataType ExternalActivityDataAppointmentExternal + { + get { + return new ExternalActivityDataType("ExternalActivityData_appointment.external"); + } + } + + public static ExternalActivityDataType ExternalActivityDataExhibitorExternal + { + get { + return new ExternalActivityDataType("ExternalActivityData_exhibitor.external"); + } + } + + public override string ToString() + { + return Value; + } + public static implicit operator String(ExternalActivityDataType v) + { + return v.Value; + } + public static ExternalActivityDataType FromString(string v) + { + switch (v) + { + case "ExternalActivityData_event.external": + return ExternalActivityDataEventExternal; + case "ExternalActivityData_session.external": + return ExternalActivityDataSessionExternal; + case "ExternalActivityData_appointment.external": + return ExternalActivityDataAppointmentExternal; + case "ExternalActivityData_exhibitor.external": + return ExternalActivityDataExhibitorExternal; + default: + throw new ArgumentException("Invalid value for ExternalActivityDataType"); + } + } + public override bool Equals(object? obj) + { + if (obj == null || GetType() != obj.GetType()) + { + return false; + } + return Value.Equals(((ExternalActivityDataType)obj).Value); + } + + public override int GetHashCode() + { + return Value.GetHashCode(); + } + } + + /// + /// This is used to denote the type of the external attendee activity. + /// + [JsonConverter(typeof(ExternalActivityData.ExternalActivityDataConverter))] + public class ExternalActivityData + { + public ExternalActivityData(ExternalActivityDataType type) + { + Type = type; + } + + [SpeakeasyMetadata("form:explode=true")] + public ExternalActivityDataEventExternal? ExternalActivityDataEventExternal { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExternalActivityDataSessionExternal? ExternalActivityDataSessionExternal { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExternalActivityDataAppointmentExternal? ExternalActivityDataAppointmentExternal { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public ExternalActivityDataExhibitorExternal? ExternalActivityDataExhibitorExternal { get; set; } + + public ExternalActivityDataType Type { get; set; } + public static ExternalActivityData CreateExternalActivityDataEventExternal(ExternalActivityDataEventExternal externalActivityDataEventExternal) + { + ExternalActivityDataType typ = ExternalActivityDataType.ExternalActivityDataEventExternal; + + ExternalActivityData res = new ExternalActivityData(typ); + res.ExternalActivityDataEventExternal = externalActivityDataEventExternal; + return res; + } + public static ExternalActivityData CreateExternalActivityDataSessionExternal(ExternalActivityDataSessionExternal externalActivityDataSessionExternal) + { + ExternalActivityDataType typ = ExternalActivityDataType.ExternalActivityDataSessionExternal; + + ExternalActivityData res = new ExternalActivityData(typ); + res.ExternalActivityDataSessionExternal = externalActivityDataSessionExternal; + return res; + } + public static ExternalActivityData CreateExternalActivityDataAppointmentExternal(ExternalActivityDataAppointmentExternal externalActivityDataAppointmentExternal) + { + ExternalActivityDataType typ = ExternalActivityDataType.ExternalActivityDataAppointmentExternal; + + ExternalActivityData res = new ExternalActivityData(typ); + res.ExternalActivityDataAppointmentExternal = externalActivityDataAppointmentExternal; + return res; + } + public static ExternalActivityData CreateExternalActivityDataExhibitorExternal(ExternalActivityDataExhibitorExternal externalActivityDataExhibitorExternal) + { + ExternalActivityDataType typ = ExternalActivityDataType.ExternalActivityDataExhibitorExternal; + + ExternalActivityData res = new ExternalActivityData(typ); + res.ExternalActivityDataExhibitorExternal = externalActivityDataExhibitorExternal; + return res; + } + + public class ExternalActivityDataConverter : JsonConverter + { + public override bool CanConvert(System.Type objectType) => objectType == typeof(ExternalActivityData); + + public override bool CanRead => true; + + public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) + { + if (reader.TokenType == JsonToken.Null) + { + throw new InvalidOperationException("Received unexpected null JSON value"); + } + + var json = JRaw.Create(reader).ToString(); + var fallbackCandidates = new List<(System.Type, object, string)>(); + + try + { + return new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataEventExternal) { + ExternalActivityDataEventExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExternalActivityDataEventExternal), new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataEventExternal), "ExternalActivityDataEventExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataSessionExternal) { + ExternalActivityDataSessionExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExternalActivityDataSessionExternal), new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataSessionExternal), "ExternalActivityDataSessionExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataAppointmentExternal) { + ExternalActivityDataAppointmentExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExternalActivityDataAppointmentExternal), new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataAppointmentExternal), "ExternalActivityDataAppointmentExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataExhibitorExternal) { + ExternalActivityDataExhibitorExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(ExternalActivityDataExhibitorExternal), new ExternalActivityData(ExternalActivityDataType.ExternalActivityDataExhibitorExternal), "ExternalActivityDataExhibitorExternal")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + if (fallbackCandidates.Count > 0) + { + fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); + foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) + { + try + { + return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next fallback option + } + catch (Exception) + { + throw; + } + } + } + + throw new InvalidOperationException("Could not deserialize into any supported types."); + } + + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) + { + if (value == null) + { + throw new InvalidOperationException("Unexpected null JSON value."); + } + + ExternalActivityData res = (ExternalActivityData)value; + + if (res.ExternalActivityDataEventExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataEventExternal)); + return; + } + + if (res.ExternalActivityDataSessionExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataSessionExternal)); + return; + } + + if (res.ExternalActivityDataAppointmentExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataAppointmentExternal)); + return; + } + + if (res.ExternalActivityDataExhibitorExternal != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataExhibitorExternal)); + return; + } + } + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataAppointmentExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataAppointmentExternal.cs new file mode 100644 index 000000000..b1383682c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataAppointmentExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ExternalActivityDataAppointmentExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataEventExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataEventExternal.cs new file mode 100644 index 000000000..f98eb5077 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataEventExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ExternalActivityDataEventExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataExhibitorExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataExhibitorExternal.cs new file mode 100644 index 000000000..1c8e57154 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataExhibitorExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ExternalActivityDataExhibitorExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJson.cs deleted file mode 100644 index 8fadcae18..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJson.cs +++ /dev/null @@ -1,304 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using Newtonsoft.Json.Linq; - using System; - using System.Collections.Generic; - using System.Numerics; - using System.Reflection; - - public class ExternalActivityDataJsonType - { - private ExternalActivityDataJsonType(string value) - { - Value = value; - } - - public string Value { get; private set; } - - public static ExternalActivityDataJsonType ExternalActivityDataJsonEventExternal - { - get { - return new ExternalActivityDataJsonType("external-activity-data.json_event.external"); - } - } - - public static ExternalActivityDataJsonType ExternalActivityDataJsonSessionExternal - { - get { - return new ExternalActivityDataJsonType("external-activity-data.json_session.external"); - } - } - - public static ExternalActivityDataJsonType ExternalActivityDataJsonAppointmentExternal - { - get { - return new ExternalActivityDataJsonType("external-activity-data.json_appointment.external"); - } - } - - public static ExternalActivityDataJsonType ExternalActivityDataJsonExhibitorExternal - { - get { - return new ExternalActivityDataJsonType("external-activity-data.json_exhibitor.external"); - } - } - - public override string ToString() - { - return Value; - } - public static implicit operator String(ExternalActivityDataJsonType v) - { - return v.Value; - } - public static ExternalActivityDataJsonType FromString(string v) - { - switch (v) - { - case "external-activity-data.json_event.external": - return ExternalActivityDataJsonEventExternal; - case "external-activity-data.json_session.external": - return ExternalActivityDataJsonSessionExternal; - case "external-activity-data.json_appointment.external": - return ExternalActivityDataJsonAppointmentExternal; - case "external-activity-data.json_exhibitor.external": - return ExternalActivityDataJsonExhibitorExternal; - default: - throw new ArgumentException("Invalid value for ExternalActivityDataJsonType"); - } - } - public override bool Equals(object? obj) - { - if (obj == null || GetType() != obj.GetType()) - { - return false; - } - return Value.Equals(((ExternalActivityDataJsonType)obj).Value); - } - - public override int GetHashCode() - { - return Value.GetHashCode(); - } - } - - /// - /// This is used to denote the type of the external attendee activity. - /// - [JsonConverter(typeof(ExternalActivityDataJson.ExternalActivityDataJsonConverter))] - public class ExternalActivityDataJson - { - public ExternalActivityDataJson(ExternalActivityDataJsonType type) - { - Type = type; - } - - [SpeakeasyMetadata("form:explode=true")] - public ExternalActivityDataJsonEventExternal? ExternalActivityDataJsonEventExternal { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExternalActivityDataJsonSessionExternal? ExternalActivityDataJsonSessionExternal { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExternalActivityDataJsonAppointmentExternal? ExternalActivityDataJsonAppointmentExternal { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public ExternalActivityDataJsonExhibitorExternal? ExternalActivityDataJsonExhibitorExternal { get; set; } - - public ExternalActivityDataJsonType Type { get; set; } - public static ExternalActivityDataJson CreateExternalActivityDataJsonEventExternal(ExternalActivityDataJsonEventExternal externalActivityDataJSONEventExternal) - { - ExternalActivityDataJsonType typ = ExternalActivityDataJsonType.ExternalActivityDataJsonEventExternal; - - ExternalActivityDataJson res = new ExternalActivityDataJson(typ); - res.ExternalActivityDataJsonEventExternal = externalActivityDataJSONEventExternal; - return res; - } - public static ExternalActivityDataJson CreateExternalActivityDataJsonSessionExternal(ExternalActivityDataJsonSessionExternal externalActivityDataJSONSessionExternal) - { - ExternalActivityDataJsonType typ = ExternalActivityDataJsonType.ExternalActivityDataJsonSessionExternal; - - ExternalActivityDataJson res = new ExternalActivityDataJson(typ); - res.ExternalActivityDataJsonSessionExternal = externalActivityDataJSONSessionExternal; - return res; - } - public static ExternalActivityDataJson CreateExternalActivityDataJsonAppointmentExternal(ExternalActivityDataJsonAppointmentExternal externalActivityDataJSONAppointmentExternal) - { - ExternalActivityDataJsonType typ = ExternalActivityDataJsonType.ExternalActivityDataJsonAppointmentExternal; - - ExternalActivityDataJson res = new ExternalActivityDataJson(typ); - res.ExternalActivityDataJsonAppointmentExternal = externalActivityDataJSONAppointmentExternal; - return res; - } - public static ExternalActivityDataJson CreateExternalActivityDataJsonExhibitorExternal(ExternalActivityDataJsonExhibitorExternal externalActivityDataJSONExhibitorExternal) - { - ExternalActivityDataJsonType typ = ExternalActivityDataJsonType.ExternalActivityDataJsonExhibitorExternal; - - ExternalActivityDataJson res = new ExternalActivityDataJson(typ); - res.ExternalActivityDataJsonExhibitorExternal = externalActivityDataJSONExhibitorExternal; - return res; - } - - public class ExternalActivityDataJsonConverter : JsonConverter - { - public override bool CanConvert(System.Type objectType) => objectType == typeof(ExternalActivityDataJson); - - public override bool CanRead => true; - - public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) - { - if (reader.TokenType == JsonToken.Null) - { - throw new InvalidOperationException("Received unexpected null JSON value"); - } - - var json = JRaw.Create(reader).ToString(); - var fallbackCandidates = new List<(System.Type, object, string)>(); - - try - { - return new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonEventExternal) { - ExternalActivityDataJsonEventExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExternalActivityDataJsonEventExternal), new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonEventExternal), "ExternalActivityDataJsonEventExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonSessionExternal) { - ExternalActivityDataJsonSessionExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExternalActivityDataJsonSessionExternal), new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonSessionExternal), "ExternalActivityDataJsonSessionExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonAppointmentExternal) { - ExternalActivityDataJsonAppointmentExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExternalActivityDataJsonAppointmentExternal), new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonAppointmentExternal), "ExternalActivityDataJsonAppointmentExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonExhibitorExternal) { - ExternalActivityDataJsonExhibitorExternal = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ExternalActivityDataJsonExhibitorExternal), new ExternalActivityDataJson(ExternalActivityDataJsonType.ExternalActivityDataJsonExhibitorExternal), "ExternalActivityDataJsonExhibitorExternal")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - if (fallbackCandidates.Count > 0) - { - fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); - foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) - { - try - { - return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next fallback option - } - catch (Exception) - { - throw; - } - } - } - - throw new InvalidOperationException("Could not deserialize into any supported types."); - } - - public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) - { - if (value == null) - { - throw new InvalidOperationException("Unexpected null JSON value."); - } - - ExternalActivityDataJson res = (ExternalActivityDataJson)value; - - if (res.ExternalActivityDataJsonEventExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataJsonEventExternal)); - return; - } - - if (res.ExternalActivityDataJsonSessionExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataJsonSessionExternal)); - return; - } - - if (res.ExternalActivityDataJsonAppointmentExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataJsonAppointmentExternal)); - return; - } - - if (res.ExternalActivityDataJsonExhibitorExternal != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ExternalActivityDataJsonExhibitorExternal)); - return; - } - } - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonAppointmentExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonAppointmentExternal.cs deleted file mode 100644 index bf8c7e49e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonAppointmentExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ExternalActivityDataJsonAppointmentExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonEventExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonEventExternal.cs deleted file mode 100644 index 72f0d6cc6..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonEventExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ExternalActivityDataJsonEventExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonExhibitorExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonExhibitorExternal.cs deleted file mode 100644 index acc7e38d6..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonExhibitorExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ExternalActivityDataJsonExhibitorExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonSessionExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonSessionExternal.cs deleted file mode 100644 index f4dbd264c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataJsonSessionExternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Additional fields for external activities. - /// - public class ExternalActivityDataJsonSessionExternal - { - /// - /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when the external activity was created. - /// - [JsonProperty("externalActivityDate")] - public DateTime ExternalActivityDate { get; set; } = default!; - - /// - /// Additional fields provided for the external attendee activity. - /// - [JsonProperty("additionalFields")] - public Dictionary? AdditionalFields { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataSessionExternal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataSessionExternal.cs new file mode 100644 index 000000000..417e2e2d6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityDataSessionExternal.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Additional fields for external activities. + /// + public class ExternalActivityDataSessionExternal + { + /// + /// The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when the external activity was created. + /// + [JsonProperty("externalActivityDate")] + public DateTime ExternalActivityDate { get; set; } = default!; + + /// + /// Additional fields provided for the external attendee activity. + /// + [JsonProperty("additionalFields")] + public Dictionary? AdditionalFields { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityInput.cs index f1901eb0f..6d419461c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityInput.cs @@ -22,13 +22,13 @@ public class ExternalActivityInput /// The reference to the related entity. Contains only the ID of the related entity. /// [JsonProperty("attendee")] - public UuidJson Attendee { get; set; } = default!; + public Uuid Attendee { get; set; } = default!; /// /// Details for an event activity. /// [JsonProperty("event")] - public EventActivityDetailsJsonInput Event { get; set; } = default!; + public EventActivityDetailInput Event { get; set; } = default!; /// /// Name for the external attendee activity. @@ -40,12 +40,12 @@ public class ExternalActivityInput /// This is used to denote the type of the external attendee activity. /// [JsonProperty("type")] - public ExternalActivityTypeJson Type { get; set; } = default!; + public ExternalActivityType Type { get; set; } = default!; /// /// This is used to denote the type of the external attendee activity. /// [JsonProperty("data", NullValueHandling = NullValueHandling.Include)] - public ExternalActivityDataJson Data { get; set; } = default!; + public ExternalActivityData Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadata.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadata.cs index 35a9579c6..c6beee647 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadata.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadata.cs @@ -54,7 +54,7 @@ public class ExternalActivityMetadata /// This is used to denote the type of the external attendee activity. /// [JsonProperty("type")] - public ExternalActivityTypeJson Type { get; set; } = default!; + public ExternalActivityType Type { get; set; } = default!; /// /// Name of an external attendee activity. @@ -72,6 +72,6 @@ public class ExternalActivityMetadata /// Metadata for the fields. /// [JsonProperty("fields")] - public List? Fields { get; set; } + public List? Fields { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataInput.cs index b87f4cab6..d45e32f6b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataInput.cs @@ -23,7 +23,7 @@ public class ExternalActivityMetadataInput /// This is used to denote the type of the external attendee activity. /// [JsonProperty("type")] - public ExternalActivityTypeJson Type { get; set; } = default!; + public ExternalActivityType Type { get; set; } = default!; /// /// Name of an external attendee activity. @@ -41,6 +41,6 @@ public class ExternalActivityMetadataInput /// Metadata for the fields. /// [JsonProperty("fields")] - public List? Fields { get; set; } + public List? Fields { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataPaginatedResponse.cs index 66b76f968..4cdf52775 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityMetadataPaginatedResponse.cs @@ -23,7 +23,7 @@ public class ExternalActivityMetadataPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of external attendee activities metadata in an account. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityType.cs new file mode 100644 index 000000000..5b0856d82 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityType.cs @@ -0,0 +1,59 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// This is used to denote the type of the external attendee activity. + /// + public enum ExternalActivityType + { + [JsonProperty("event.external")] EventExternal, + [JsonProperty("session.external")] SessionExternal, + [JsonProperty("appointment.external")] AppointmentExternal, + [JsonProperty("exhibitor.external")] ExhibitorExternal, + } + + public static class ExternalActivityTypeExtension + { + public static string Value(this ExternalActivityType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ExternalActivityType ToEnum(this string value) + { + foreach (var field in typeof(ExternalActivityType).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 ExternalActivityType) + { + return (ExternalActivityType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ExternalActivityType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityTypeJson.cs deleted file mode 100644 index f6d8f7742..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExternalActivityTypeJson.cs +++ /dev/null @@ -1,59 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This is used to denote the type of the external attendee activity. - /// - public enum ExternalActivityTypeJson - { - [JsonProperty("event.external")] EventExternal, - [JsonProperty("session.external")] SessionExternal, - [JsonProperty("appointment.external")] AppointmentExternal, - [JsonProperty("exhibitor.external")] ExhibitorExternal, - } - - public static class ExternalActivityTypeJsonExtension - { - public static string Value(this ExternalActivityTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ExternalActivityTypeJson ToEnum(this string value) - { - foreach (var field in typeof(ExternalActivityTypeJson).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 ExternalActivityTypeJson) - { - return (ExternalActivityTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ExternalActivityTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs b/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs index 4cc46b6bb..a44520f61 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs @@ -29,6 +29,6 @@ public class HousingEventSummaryList /// List of housing events with key information, providing a summarized view of each event. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadInboundCreated.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadInboundCreated.cs index 0b42ed9f9..2ce774fdc 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadInboundCreated.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadInboundCreated.cs @@ -22,12 +22,12 @@ public class LeadInboundCreated /// An activity exhibitor. /// [JsonProperty("exhibitor")] - public ActivityExhibitorJson? Exhibitor { get; set; } + public ActivityExhibitor? Exhibitor { get; set; } /// /// A Lead. /// [JsonProperty("lead")] - public LeadObjectJson? Lead { get; set; } + public LeadObject? Lead { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadObject.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadObject.cs new file mode 100644 index 000000000..4f1c415de --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadObject.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// A Lead. + /// + public class LeadObject + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The unique identifier of the device. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("deviceId")] + public string? DeviceId { get; set; } + + /// + /// Name of the device. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("deviceName")] + public string? DeviceName { get; set; } + + /// + /// Booth staff for the lead. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("boothStaff")] + public LeadObjectActivityBoothStaff? BoothStaff { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadObjectActivityBoothStaff.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadObjectActivityBoothStaff.cs new file mode 100644 index 000000000..662792414 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadObjectActivityBoothStaff.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Booth staff for the lead. + /// + [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] + public class LeadObjectActivityBoothStaff + { + /// + /// The unique identifier of the exhibitor booth staff. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The first name of the booth staff that captured the lead. + /// + [JsonProperty("firstName")] + public string? FirstName { get; set; } + + /// + /// The last name of the booth staff that captured the lead. + /// + [JsonProperty("lastName")] + public string? LastName { get; set; } + + /// + /// The email address of the booth staff that captured the lead. + /// + [JsonProperty("email")] + public string? Email { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadObjectJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadObjectJson.cs deleted file mode 100644 index 667de1b92..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadObjectJson.cs +++ /dev/null @@ -1,49 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// A Lead. - /// - public class LeadObjectJson - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The unique identifier of the device. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("deviceId")] - public string? DeviceId { get; set; } - - /// - /// Name of the device. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("deviceName")] - public string? DeviceName { get; set; } - - /// - /// Booth staff for the lead. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("boothStaff")] - public ActivityBoothStaff? BoothStaff { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualified.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualified.cs index 1668798d3..7c28d6716 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualified.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualified.cs @@ -23,18 +23,18 @@ public class LeadQualified /// An activity exhibitor. /// [JsonProperty("exhibitor")] - public ActivityExhibitorJson? Exhibitor { get; set; } + public ActivityExhibitor? Exhibitor { get; set; } /// /// An activity lead. /// [JsonProperty("lead")] - public ActivityLeadJson? Lead { get; set; } + public ActivityLead? Lead { get; set; } /// /// The list of responses provided by the attendee. /// [JsonProperty("responses")] - public List? Responses { get; set; } + public List? Responses { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedAnswer.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedAnswer.cs new file mode 100644 index 000000000..2f7cb0dce --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedAnswer.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A question answer. + /// + public class LeadQualifiedAnswer + { + /// + /// The unique identifier of the question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Question text. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Data type of an answer. + /// + [JsonProperty("type")] + public string? Type { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedAnswerJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedAnswerJson.cs deleted file mode 100644 index 9beafd1b3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedAnswerJson.cs +++ /dev/null @@ -1,38 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// A question answer. - /// - public class LeadQualifiedAnswerJson - { - /// - /// The unique identifier of the question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Question text. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Data type of an answer. - /// - [JsonProperty("type")] - public string? Type { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponse.cs new file mode 100644 index 000000000..69a911fe7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponse.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A Question response. + /// + public class LeadQualifiedQuestionResponse + { + /// + /// The question that was answered. + /// + [JsonProperty("question")] + public Question2? Question { get; set; } + + /// + /// List of answers. + /// + [JsonProperty("answers")] + public List? Answers { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs deleted file mode 100644 index 8a89d0d96..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.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; - - /// - /// A Question response. - /// - public class LeadQualifiedQuestionResponseJson - { - /// - /// The question that was answered. - /// - [JsonProperty("question")] - public QuestionJson2? Question { get; set; } - - /// - /// List of answers. - /// - [JsonProperty("answers")] - public List? Answers { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadScanned.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadScanned.cs index 8db5935cd..38278fc86 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadScanned.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadScanned.cs @@ -22,12 +22,12 @@ public class LeadScanned /// An activity exhibitor. /// [JsonProperty("exhibitor")] - public ActivityExhibitorJson? Exhibitor { get; set; } + public ActivityExhibitor? Exhibitor { get; set; } /// /// An activity lead. /// [JsonProperty("lead")] - public ActivityLeadJson? Lead { get; set; } + public ActivityLead? Lead { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LocationJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LocationJson.cs index f68acff5c..b5f536a63 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LocationJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LocationJson.cs @@ -34,7 +34,7 @@ public class LocationJson /// Details of a location. /// [JsonProperty("parentLocation")] - public ZeroAllOf2? ParentLocation { get; set; } + public ZeroAllOf1? ParentLocation { get; set; } /// /// The number of attendees that can be accommodated in this location. -1 indicates unlimited capacity. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LocationType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LocationType.cs new file mode 100644 index 000000000..86323f589 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LocationType.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Location classification for the venue. + /// + public enum LocationType + { + [JsonProperty("AIRPORT")] Airport, + [JsonProperty("INTERSTATE")] Interstate, + [JsonProperty("RESORT")] Resort, + [JsonProperty("SMALL_METRO_TOWN")] SmallMetroTown, + [JsonProperty("SUBURBAN")] Suburban, + [JsonProperty("URBAN")] Urban, + } + + public static class LocationTypeExtension + { + public static string Value(this LocationType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static LocationType ToEnum(this string value) + { + foreach (var field in typeof(LocationType).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 LocationType) + { + return (LocationType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum LocationType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequest.cs index 5aef2bf06..1a535f63a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequest.cs @@ -78,7 +78,7 @@ public class MeetingRequest /// The list of possible answers to a question. /// [JsonProperty("questions")] - public List? Questions { get; set; } + public List? Questions { get; set; } /// /// The event the request is associated with. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItem.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItem.cs new file mode 100644 index 000000000..8aaf196c2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItem.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Represents a single meeting request that's returned as part of a bulk request call. + /// + public class MeetingRequestBulkResponseItem + { + /// + /// A meeting request. + /// + [JsonProperty("data")] + public Models.Components.MeetingRequest Data { get; set; } = default!; + + /// + /// HTTP status code representing the processing status of a single item. + /// + [JsonProperty("status")] + public long Status { get; set; } = default!; + + /// + /// Quick description of what happened during processing. + /// + [JsonProperty("message")] + public string? Message { get; set; } + + /// + /// The processed request tied to this response. This field is only sent when processing fails. + /// + [JsonProperty("request", NullValueHandling = NullValueHandling.Include)] + public Request? Request { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJson.cs deleted file mode 100644 index 7d863fe8a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJson.cs +++ /dev/null @@ -1,45 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// Represents a single meeting request that's returned as part of a bulk request call. - /// - public class MeetingRequestBulkResponseItemJson - { - /// - /// A meeting request. - /// - [JsonProperty("data")] - public Models.Components.MeetingRequest Data { get; set; } = default!; - - /// - /// HTTP status code representing the processing status of a single item. - /// - [JsonProperty("status")] - public long Status { get; set; } = default!; - - /// - /// Quick description of what happened during processing. - /// - [JsonProperty("message")] - public string? Message { get; set; } - - /// - /// The processed request tied to this response. This field is only sent when processing fails. - /// - [JsonProperty("request", NullValueHandling = NullValueHandling.Include)] - public Request? Request { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJsonRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJsonRequest.cs deleted file mode 100644 index 31a5bdd94..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemJsonRequest.cs +++ /dev/null @@ -1,17 +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; - - public class MeetingRequestBulkResponseItemJsonRequest - { - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemRequest.cs new file mode 100644 index 000000000..773fb8e5e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestBulkResponseItemRequest.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + + public class MeetingRequestBulkResponseItemRequest + { + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCreate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCreate.cs new file mode 100644 index 000000000..a79f1788d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCreate.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A meeting request to create. + /// + public class MeetingRequestCreate + { + /// + /// The name of the specific meeting request. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. + /// + [JsonProperty("sourceId")] + public string? SourceId { get; set; } + + /// + /// Questions for the meeting request. + /// + [JsonProperty("questions")] + public List Questions { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCreateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCreateJson.cs deleted file mode 100644 index ff0e4ff4f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCreateJson.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// A meeting request to create. - /// - public class MeetingRequestCreateJson - { - /// - /// The name of the specific meeting request. - /// - [JsonProperty("name")] - public string Name { get; set; } = default!; - - /// - /// The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. - /// - [JsonProperty("sourceId")] - public string? SourceId { get; set; } - - /// - /// Questions for the meeting request. - /// - [JsonProperty("questions")] - public List Questions { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJson.cs deleted file mode 100644 index 03cc116fd..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJson.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; - - /// - /// Custom field for a meeting request. - /// - public class MeetingRequestCustomFieldJson - { - /// - /// The unique ID representing this custom field. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The actual text of the custom field. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The set of answers or possible answers to a question. - /// - [JsonProperty("value")] - public List Value { get; set; } = default!; - - /// - /// The order of this question in the bigger list of questions. - /// - [JsonProperty("order")] - public long? Order { get; set; } - - /// - /// The type of data collected by a custom field. - /// - [JsonProperty("type")] - public MeetingRequestCustomFieldJsonCustomFieldType? Type { get; set; } - - /// - /// The actual text of the custom field. - /// - [JsonProperty("field")] - public bool? Field { get; set; } - - /// - /// True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. - /// - [JsonProperty("hidden")] - public bool? Hidden { get; set; } - - /// - /// True indicates the given question must be answered. - /// - [JsonProperty("required")] - public bool? Required { get; set; } - - /// - /// The minimum length of a text field. - /// - [JsonProperty("minLength")] - public double? MinLength { get; set; } - - /// - /// The maximum length of a text field. - /// - [JsonProperty("maxLength")] - public double? MaxLength { get; set; } - - /// - /// The minimum number of choices required for a multi-choice field. - /// - [JsonProperty("minChoice")] - public double? MinChoice { get; set; } - - /// - /// The maximum number of choices allowed for a multi-choice field. - /// - [JsonProperty("maxChoice")] - public double? MaxChoice { get; set; } - - /// - /// The ISO 8601 minimum date value for a date field. - /// - [JsonProperty("minDate")] - public string? MinDate { get; set; } - - /// - /// The ISO 8601 maximum date value for a date field. - /// - [JsonProperty("maxDate")] - public string? MaxDate { get; set; } - - /// - /// List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. - /// - [JsonProperty("answerTypes")] - public List? AnswerTypes { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.cs deleted file mode 100644 index bbf3707a2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestCustomFieldJsonCustomFieldType.cs +++ /dev/null @@ -1,74 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The type of data collected by a custom field. - /// - public enum MeetingRequestCustomFieldJsonCustomFieldType - { - [JsonProperty("AutoIncrement")] AutoIncrement, - [JsonProperty("ConsentQuestion")] ConsentQuestion, - [JsonProperty("Currency")] Currency, - [JsonProperty("Decimal")] Decimal, - [JsonProperty("Date")] Date, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Email")] Email, - [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("FreeText")] FreeText, - [JsonProperty("General")] General, - [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("MultiSelect")] MultiSelect, - [JsonProperty("Number")] Number, - [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, - [JsonProperty("OpenEndedText")] OpenEndedText, - [JsonProperty("SingleChoice")] SingleChoice, - [JsonProperty("SingleSelect")] SingleSelect, - [JsonProperty("USPhoneNumber")] USPhoneNumber, - [JsonProperty("Unknown")] Unknown, - } - - public static class MeetingRequestCustomFieldJsonCustomFieldTypeExtension - { - public static string Value(this MeetingRequestCustomFieldJsonCustomFieldType value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static MeetingRequestCustomFieldJsonCustomFieldType ToEnum(this string value) - { - foreach (var field in typeof(MeetingRequestCustomFieldJsonCustomFieldType).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 MeetingRequestCustomFieldJsonCustomFieldType) - { - return (MeetingRequestCustomFieldJsonCustomFieldType)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum MeetingRequestCustomFieldJsonCustomFieldType"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocument.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocument.cs new file mode 100644 index 000000000..202546511 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocument.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Document attached to a meeting request that can be downloaded. + /// + public class MeetingRequestDocument + { + /// + /// Unique identifier of the document. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// Name of the document. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Size of the document in bytes. + /// + [JsonProperty("size")] + public long? Size { get; set; } + + /// + /// The ISO-8601 formatted date and time when the document was uploaded. + /// + [JsonProperty("uploaded")] + public DateTime? Uploaded { get; set; } + + /// + /// The user who uploaded the document. + /// + [JsonProperty("uploadedBy")] + public string? UploadedBy { get; set; } + + /// + /// The ISO-8601 formatted date and time when this document was last updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The user who last updated the document. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// The MIME type of the document. + /// + [JsonProperty("mimeType")] + public string? MimeType { get; set; } + + /// + /// A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. + /// + [JsonProperty("referenceLink")] + public MeetingRequestDocumentReferenceLink? ReferenceLink { get; set; } + + /// + /// The meeting request this document is attached to. + /// + [JsonProperty("meetingRequest")] + public MeetingRequestDocumentMeetingRequest? MeetingRequest { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentJson.cs deleted file mode 100644 index 9c5d1ed2b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentJson.cs +++ /dev/null @@ -1,82 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Document attached to a meeting request that can be downloaded. - /// - public class MeetingRequestDocumentJson - { - /// - /// Unique identifier of the document. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// Name of the document. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Size of the document in bytes. - /// - [JsonProperty("size")] - public long? Size { get; set; } - - /// - /// The ISO-8601 formatted date and time when the document was uploaded. - /// - [JsonProperty("uploaded")] - public DateTime? Uploaded { get; set; } - - /// - /// The user who uploaded the document. - /// - [JsonProperty("uploadedBy")] - public string? UploadedBy { get; set; } - - /// - /// The ISO-8601 formatted date and time when this document was last updated. - /// - [JsonProperty("lastModified")] - public DateTime? LastModified { get; set; } - - /// - /// The user who last updated the document. - /// - [JsonProperty("lastModifiedBy")] - public string? LastModifiedBy { get; set; } - - /// - /// The MIME type of the document. - /// - [JsonProperty("mimeType")] - public string? MimeType { get; set; } - - /// - /// A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - /// - [JsonProperty("referenceLink")] - public MeetingRequestDocumentReferenceLinkJson? ReferenceLink { get; set; } - - /// - /// The meeting request this document is attached to. - /// - [JsonProperty("meetingRequest")] - public MeetingRequestDocumentJsonMeetingRequest? MeetingRequest { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentJsonMeetingRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentJsonMeetingRequest.cs deleted file mode 100644 index 331277b8b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentJsonMeetingRequest.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The meeting request this document is attached to. - /// - public class MeetingRequestDocumentJsonMeetingRequest - { - /// - /// Meeting Request ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentMeetingRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentMeetingRequest.cs new file mode 100644 index 000000000..f9478adcc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentMeetingRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The meeting request this document is attached to. + /// + public class MeetingRequestDocumentMeetingRequest + { + /// + /// Meeting Request ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentPaginatedResponse.cs index 915350d5e..4d3817e89 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentPaginatedResponse.cs @@ -23,12 +23,12 @@ public class MeetingRequestDocumentPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of meeting request object documents. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLink.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLink.cs new file mode 100644 index 000000000..a3f16906d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLink.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. + /// + public class MeetingRequestDocumentReferenceLink + { + /// + /// The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. + /// + [JsonProperty("url")] + public string? Url { get; set; } + + /// + /// The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. + /// + [JsonProperty("expiration")] + public DateTime? Expiration { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLinkJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLinkJson.cs deleted file mode 100644 index 811966869..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestDocumentReferenceLinkJson.cs +++ /dev/null @@ -1,33 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - /// - public class MeetingRequestDocumentReferenceLinkJson - { - /// - /// The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. - /// - [JsonProperty("url")] - public string? Url { get; set; } - - /// - /// The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. - /// - [JsonProperty("expiration")] - public DateTime? Expiration { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestForm.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestForm.cs index 170f0d94a..1fff044b0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestForm.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestForm.cs @@ -47,6 +47,6 @@ public class MeetingRequestForm /// The list of questions that will need to be answered by someone creating a meeting request from this form. /// [JsonProperty("questions")] - public List? Questions { get; set; } + public List? Questions { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestFormPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestFormPaginatedResponse.cs index 3e229eee8..5a3864e1e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestFormPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestFormPaginatedResponse.cs @@ -23,7 +23,7 @@ public class MeetingRequestFormPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of meeting request form objects. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestPaginatedResponse.cs index c132e2a0e..ed5da1b6a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestPaginatedResponse.cs @@ -23,7 +23,7 @@ public class MeetingRequestPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of meeting request objects. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestion.cs new file mode 100644 index 000000000..7ec13b90a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestion.cs @@ -0,0 +1,84 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + /// + public class MeetingRequestQuestion + { + /// + /// The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
+ /// * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
+ /// * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
+ /// * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
+ /// * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
+ /// * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
+ /// * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + ///
+ [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The display text of the question. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Denotes the type of data collected by a question. + /// + [JsonProperty("type")] + public QuestionType1? Type { get; set; } + + /// + /// An array of non-null answers to the question. The format of each item depends on the question `type`.
+ ///
+ /// **Standard questions:** Each item is a plain string (for example, `"Green"`).
+ ///
+ /// **Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names.
+ ///
+ /// **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. + ///
+ [JsonProperty("value")] + public List Value { get; set; } = default!; + + /// + /// Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.
+ ///
+ /// Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.
+ ///
+ /// Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.
+ ///
+ /// In all other cases, `answerType` is not expected to be set. + ///
+ [JsonProperty("answerType")] + public AnswerType12? AnswerType { get; set; } + + /// + /// The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. + /// + [JsonProperty("secondaryValue")] + public string? SecondaryValue { get; set; } + + /// + /// The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.
+ ///
+ /// The structure of the array depends on the question `type`. + ///
+ [JsonProperty("compositeValue", NullValueHandling = NullValueHandling.Include)] + public CompositeValue? CompositeValue { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionInput.cs new file mode 100644 index 000000000..a6307a036 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionInput.cs @@ -0,0 +1,64 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + /// + public class MeetingRequestQuestionInput + { + /// + /// The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
+ /// * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
+ /// * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
+ /// * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
+ /// * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
+ /// * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
+ /// * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + ///
+ [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// An array of non-null answers to the question. The format of each item depends on the question `type`.
+ ///
+ /// **Standard questions:** Each item is a plain string (for example, `"Green"`).
+ ///
+ /// **Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names.
+ ///
+ /// **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. + ///
+ [JsonProperty("value")] + public List Value { get; set; } = default!; + + /// + /// Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.
+ ///
+ /// Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.
+ ///
+ /// Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.
+ ///
+ /// In all other cases, `answerType` is not expected to be set. + ///
+ [JsonProperty("answerType")] + public AnswerType12? AnswerType { get; set; } + + /// + /// The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. + /// + [JsonProperty("secondaryValue")] + public string? SecondaryValue { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs deleted file mode 100644 index 8c0a69be7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs +++ /dev/null @@ -1,84 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. - /// - public class MeetingRequestQuestionJson - { - /// - /// The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
- /// * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
- /// * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
- /// * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
- /// * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
- /// * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
- /// * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - ///
- [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The display text of the question. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Denotes the type of data collected by a question. - /// - [JsonProperty("type")] - public QuestionTypeJson? Type { get; set; } - - /// - /// An array of non-null answers to the question. The format of each item depends on the question `type`.
- ///
- /// **Standard questions:** Each item is a plain string (for example, `"Green"`).
- ///
- /// **Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names.
- ///
- /// **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. - ///
- [JsonProperty("value")] - public List Value { get; set; } = default!; - - /// - /// Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.
- ///
- /// Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.
- ///
- /// Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.
- ///
- /// In all other cases, `answerType` is not expected to be set. - ///
- [JsonProperty("answerType")] - public AnswerTypeJson? AnswerType { get; set; } - - /// - /// The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. - /// - [JsonProperty("secondaryValue")] - public string? SecondaryValue { get; set; } - - /// - /// The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.
- ///
- /// The structure of the array depends on the question `type`. - ///
- [JsonProperty("compositeValue", NullValueHandling = NullValueHandling.Include)] - public CompositeValueJson? CompositeValue { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestUpdate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestUpdate.cs new file mode 100644 index 000000000..a1579d13b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestUpdate.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// An updated meeting request. + /// + public class MeetingRequestUpdate + { + /// + /// The ID of a meeting request. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The name of the specific meeting request. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Questions for the meeting request. + /// + [JsonProperty("questions")] + public List? Questions { get; set; } + + /// + /// The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. + /// + [JsonProperty("status")] + public string? Status { get; set; } + + /// + /// The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. + /// + [JsonProperty("sourceId")] + public string? SourceId { get; set; } + + /// + /// The note about the status. + /// + [JsonProperty("statusNote")] + public string? StatusNote { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestUpdateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestUpdateJson.cs deleted file mode 100644 index 4d8393202..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestUpdateJson.cs +++ /dev/null @@ -1,58 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// An updated meeting request. - /// - public class MeetingRequestUpdateJson - { - /// - /// The ID of a meeting request. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The name of the specific meeting request. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Questions for the meeting request. - /// - [JsonProperty("questions")] - public List? Questions { get; set; } - - /// - /// The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. - /// - [JsonProperty("status")] - public string? Status { get; set; } - - /// - /// The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. - /// - [JsonProperty("sourceId")] - public string? SourceId { get; set; } - - /// - /// The note about the status. - /// - [JsonProperty("statusNote")] - public string? StatusNote { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoom.cs new file mode 100644 index 000000000..ada342603 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoom.cs @@ -0,0 +1,76 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A venue meeting room. + /// + public class MeetingRoom + { + /// + /// The name of the meeting room. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// The detailed description of the meeting room. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// Physical dimensions for the meeting room. + /// + [JsonProperty("dimensions")] + public MeetingRoomDimensions Dimensions { get; set; } = default!; + + /// + /// The position of this meeting room in the venue's room listing. + /// + [JsonProperty("displayOrder")] + public long? DisplayOrder { get; set; } + + /// + /// The provider's own identifier for this meeting room. + /// + [JsonProperty("externalSourceId")] + public string? ExternalSourceId { get; set; } + + /// + /// Rate information for move in/out and events. + /// + [JsonProperty("rates")] + public MeetingRoomRates? Rates { get; set; } + + /// + /// Capacity information for a meeting room, grouped by category. + /// + [JsonProperty("capacities")] + public MeetingRoomCapacities? Capacities { get; set; } + + /// + /// List of amenities available in the meeting room. + /// + [JsonProperty("amenities")] + public List? Amenities { get; set; } + + /// + /// True indicates the meeting room is hidden on the venue profile. + /// + [JsonProperty("hiddenOnProfile")] + public bool? HiddenOnProfile { get; set; } = false; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemType.cs new file mode 100644 index 000000000..d2e4d8933 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemType.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Defines the agenda item types of a meeting room requirement. + /// + public enum MeetingRoomAgendaItemType + { + [JsonProperty("Break")] Break, + [JsonProperty("Breakfast")] Breakfast, + [JsonProperty("Breakout")] Breakout, + [JsonProperty("Dinner")] Dinner, + [JsonProperty("Exhibit")] Exhibit, + [JsonProperty("General Session")] GeneralSession, + [JsonProperty("Hospitality Desk")] HospitalityDesk, + [JsonProperty("Hospitality Suite")] HospitalitySuite, + [JsonProperty("Lunch")] Lunch, + [JsonProperty("Meeting")] Meeting, + [JsonProperty("Office")] Office, + [JsonProperty("Other")] Other, + [JsonProperty("Reception")] Reception, + [JsonProperty("Registration")] Registration, + [JsonProperty("Setup")] Setup, + [JsonProperty("Snack")] Snack, + [JsonProperty("Speaker Room")] SpeakerRoom, + [JsonProperty("Storage Room")] StorageRoom, + [JsonProperty("Teardown")] Teardown, + } + + public static class MeetingRoomAgendaItemTypeExtension + { + public static string Value(this MeetingRoomAgendaItemType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static MeetingRoomAgendaItemType ToEnum(this string value) + { + foreach (var field in typeof(MeetingRoomAgendaItemType).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 MeetingRoomAgendaItemType) + { + return (MeetingRoomAgendaItemType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum MeetingRoomAgendaItemType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemTypeJson.cs deleted file mode 100644 index e168145b8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAgendaItemTypeJson.cs +++ /dev/null @@ -1,74 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Defines the agenda item types of a meeting room requirement. - /// - public enum MeetingRoomAgendaItemTypeJson - { - [JsonProperty("Break")] Break, - [JsonProperty("Breakfast")] Breakfast, - [JsonProperty("Breakout")] Breakout, - [JsonProperty("Dinner")] Dinner, - [JsonProperty("Exhibit")] Exhibit, - [JsonProperty("General Session")] GeneralSession, - [JsonProperty("Hospitality Desk")] HospitalityDesk, - [JsonProperty("Hospitality Suite")] HospitalitySuite, - [JsonProperty("Lunch")] Lunch, - [JsonProperty("Meeting")] Meeting, - [JsonProperty("Office")] Office, - [JsonProperty("Other")] Other, - [JsonProperty("Reception")] Reception, - [JsonProperty("Registration")] Registration, - [JsonProperty("Setup")] Setup, - [JsonProperty("Snack")] Snack, - [JsonProperty("Speaker Room")] SpeakerRoom, - [JsonProperty("Storage Room")] StorageRoom, - [JsonProperty("Teardown")] Teardown, - } - - public static class MeetingRoomAgendaItemTypeJsonExtension - { - public static string Value(this MeetingRoomAgendaItemTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static MeetingRoomAgendaItemTypeJson ToEnum(this string value) - { - foreach (var field in typeof(MeetingRoomAgendaItemTypeJson).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 MeetingRoomAgendaItemTypeJson) - { - return (MeetingRoomAgendaItemTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum MeetingRoomAgendaItemTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAmenity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAmenity.cs new file mode 100644 index 000000000..608f4d04a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomAmenity.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Available amenities for a meeting room. + /// + public enum MeetingRoomAmenity + { + [JsonProperty("AUDIO_RECORDING")] AudioRecording, + [JsonProperty("BACKGROUND_MUSIC")] BackgroundMusic, + [JsonProperty("BLACKBOARD")] Blackboard, + [JsonProperty("BUILT_IN_SCREEN")] BuiltInScreen, + [JsonProperty("CLOSED_CIRCUIT_VIDEO")] ClosedCircuitVideo, + [JsonProperty("DRY_ERASE_BOARD")] DryEraseBoard, + [JsonProperty("DVD_PLAYER")] DvdPlayer, + [JsonProperty("EASEL")] Easel, + [JsonProperty("ELECTRIC_POINTER")] ElectricPointer, + [JsonProperty("FLIPCHART_MARKERS")] FlipchartMarkers, + [JsonProperty("INTERNET")] Internet, + [JsonProperty("LECTERN")] Lectern, + [JsonProperty("MICROPHONE")] Microphone, + [JsonProperty("MONITOR_CART")] MonitorCart, + [JsonProperty("OUTDOOR_SPACE")] OutdoorSpace, + [JsonProperty("PERSONAL_COMPUTER")] PersonalComputer, + [JsonProperty("POWERED_SPEAKER")] PoweredSpeaker, + [JsonProperty("PRIVATE_SPACE")] PrivateSpace, + [JsonProperty("PROJECTION_STAND")] ProjectionStand, + [JsonProperty("PROJECTOR")] Projector, + [JsonProperty("SEMI_PRIVATE_SPACE")] SemiPrivateSpace, + [JsonProperty("TELEVISION")] Television, + [JsonProperty("VHS_PLAYER")] VhsPlayer, + [JsonProperty("VIDEO_CAMERA")] VideoCamera, + [JsonProperty("VIDEO_MONITOR")] VideoMonitor, + [JsonProperty("VIDEO_RECORDING")] VideoRecording, + [JsonProperty("WHEELCHAIR_ACCESSIBLE")] WheelchairAccessible, + } + + public static class MeetingRoomAmenityExtension + { + public static string Value(this MeetingRoomAmenity value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static MeetingRoomAmenity ToEnum(this string value) + { + foreach (var field in typeof(MeetingRoomAmenity).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 MeetingRoomAmenity) + { + return (MeetingRoomAmenity)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum MeetingRoomAmenity"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomCapacities.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomCapacities.cs new file mode 100644 index 000000000..f9802973a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomCapacities.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// Capacity information for a meeting room, grouped by category. + /// + public class MeetingRoomCapacities + { + /// + /// Maximum number of exhibits per room setup. + /// + [JsonProperty("exhibits")] + public List? Exhibits { get; set; } + + /// + /// Maximum number of attendees per seating style. + /// + [JsonProperty("seating")] + public List? Seating { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomDimensions.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomDimensions.cs new file mode 100644 index 000000000..5d6c04fc5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomDimensions.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Physical dimensions for the meeting room. + /// + public class MeetingRoomDimensions + { + /// + /// Measurement of area in square feet or square meters. + /// + [JsonProperty("totalSpace")] + public AreaMeasurement TotalSpace { get; set; } = default!; + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("ceilingHeight")] + public Dimension? CeilingHeight { get; set; } + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("length")] + public Dimension? Length { get; set; } + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("width")] + public Dimension? Width { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomExhibitCapacity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomExhibitCapacity.cs new file mode 100644 index 000000000..ab747e594 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomExhibitCapacity.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Maximum number of exhibits for a specific exhibit layout type in a meeting room. + /// + public class MeetingRoomExhibitCapacity + { + /// + /// The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + /// + [JsonProperty("layoutType")] + public ExhibitLayoutType LayoutType { get; set; } = default!; + + /// + /// Maximum number of exhibits for this layout type. + /// + [JsonProperty("maxExhibits")] + public long MaxExhibits { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomOverview.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomOverview.cs new file mode 100644 index 000000000..1747de03e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomOverview.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An overview of a venue meeting room containing key identifiers and display properties. + /// + public class MeetingRoomOverview + { + /// + /// The ID of the meeting room. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The display name of the meeting room. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// True indicates the meeting room is hidden on the venue profile. + /// + [JsonProperty("hiddenOnProfile")] + public bool? HiddenOnProfile { get; set; } + + /// + /// Position of this meeting room in the venue's room listing, with 1 being the first position. + /// + [JsonProperty("displayOrder")] + public long? DisplayOrder { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRate.cs new file mode 100644 index 000000000..fad27bb42 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRate.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Meeting room rate with a value and application type. + /// + public class MeetingRoomRate + { + /// + /// The monetary value of the rate. + /// + [JsonProperty("value")] + public double Value { get; set; } = default!; + + /// + /// How the rate is applied to the meeting room booking.
+ ///
+ /// Values:
+ /// - `COMPLIMENTARY` — Complimentary
+ /// - `INCLUDED` — Included
+ /// - `ONETIME_FEE` — One-Time Fee
+ /// - `PER_DAY` — Per Day
+ /// - `PER_HOUR` — Per Hour
+ /// - `PER_SQ_FT` — Per Square Foot
+ /// - `PER_SQ_MTR` — Per Square Meter
+ /// - `TOTAL` — Total. + ///
+ [JsonProperty("applicationType")] + public RateApplicationType ApplicationType { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRates.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRates.cs new file mode 100644 index 000000000..0a8ad9428 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRates.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; + + /// + /// Rate information for move in/out and events. + /// + public class MeetingRoomRates + { + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("moveIn")] + public MeetingRoomRate? MoveIn { get; set; } + + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("moveOut")] + public MeetingRoomRate? MoveOut { get; set; } + + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("event")] + public MeetingRoomRate? Event { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRequirement.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRequirement.cs new file mode 100644 index 000000000..8f655adcc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRequirement.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// The requirement of a meeting room on the specified date. + /// + public class MeetingRoomRequirement + { + /// + /// The date for the meeting room, in format of YYYY-MM-DD. + /// + [JsonProperty("date")] + public string Date { get; set; } = default!; + + /// + /// The start time for the meeting room, in format of HH:MM:SS. + /// + [JsonProperty("startTime")] + public string? StartTime { get; set; } + + /// + /// The end time for the meeting room, in format of HH:MM:SS. + /// + [JsonProperty("endTime")] + public string? EndTime { get; set; } + + /// + /// The agenda item for the meeting room. + /// + [JsonProperty("agendaItem")] + public string? AgendaItem { get; set; } + + /// + /// For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. + /// + [JsonProperty("agendaItemType")] + public List? AgendaItemType { get; set; } + + /// + /// For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. + /// + [JsonProperty("setupType")] + public List? SetupType { get; set; } + + /// + /// The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. + /// + [JsonProperty("roomSize")] + public double? RoomSize { get; set; } + + /// + /// The number of people for the meeting room. + /// + [JsonProperty("numberOfPeople")] + public long? NumberOfPeople { get; set; } + + /// + /// True indicates the meeting room is held for 24 hours. + /// + [JsonProperty("twentyFourHourHold")] + public bool? TwentyFourHourHold { get; set; } + + /// + /// The meeting room requirement note. + /// + [JsonProperty("note")] + public string? Note { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRequirementJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRequirementJson.cs deleted file mode 100644 index 71722b16d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomRequirementJson.cs +++ /dev/null @@ -1,82 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// The requirement of a meeting room on the specified date. - /// - public class MeetingRoomRequirementJson - { - /// - /// The date for the meeting room, in format of YYYY-MM-DD. - /// - [JsonProperty("date")] - public string Date { get; set; } = default!; - - /// - /// The start time for the meeting room, in format of HH:MM:SS. - /// - [JsonProperty("startTime")] - public string? StartTime { get; set; } - - /// - /// The end time for the meeting room, in format of HH:MM:SS. - /// - [JsonProperty("endTime")] - public string? EndTime { get; set; } - - /// - /// The agenda item for the meeting room. - /// - [JsonProperty("agendaItem")] - public string? AgendaItem { get; set; } - - /// - /// For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. - /// - [JsonProperty("agendaItemType")] - public List? AgendaItemType { get; set; } - - /// - /// For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. - /// - [JsonProperty("setupType")] - public List? SetupType { get; set; } - - /// - /// The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. - /// - [JsonProperty("roomSize")] - public double? RoomSize { get; set; } - - /// - /// The number of people for the meeting room. - /// - [JsonProperty("numberOfPeople")] - public long? NumberOfPeople { get; set; } - - /// - /// True indicates the meeting room is held for 24 hours. - /// - [JsonProperty("twentyFourHourHold")] - public bool? TwentyFourHourHold { get; set; } - - /// - /// The meeting room requirement note. - /// - [JsonProperty("note")] - public string? Note { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSeatingCapacity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSeatingCapacity.cs new file mode 100644 index 000000000..222dbf29a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSeatingCapacity.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Maximum number of attendees for a specific seating style in a meeting room. + /// + public class MeetingRoomSeatingCapacity + { + /// + /// The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + /// + [JsonProperty("layoutType")] + public SeatingLayoutType LayoutType { get; set; } = default!; + + /// + /// Maximum number of attendees for this seating style. + /// + [JsonProperty("maxAttendees")] + public long MaxAttendees { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSetupType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSetupType.cs new file mode 100644 index 000000000..2fb230ac2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSetupType.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Defines the setup types of a meeting room requirement. + /// + public enum MeetingRoomSetupType + { + [JsonProperty("10x10")] Tenx10, + [JsonProperty("8x10")] Eightx10, + [JsonProperty("Buffet")] Buffet, + [JsonProperty("Cabaret")] Cabaret, + [JsonProperty("Chevron")] Chevron, + [JsonProperty("Classroom")] Classroom, + [JsonProperty("Conference")] Conference, + [JsonProperty("Crescent Rounds")] CrescentRounds, + [JsonProperty("Flow")] Flow, + [JsonProperty("Herringbone")] Herringbone, + [JsonProperty("Hollow Square")] HollowSquare, + [JsonProperty("Island")] Island, + [JsonProperty("Other")] Other, + [JsonProperty("Peninsula")] Peninsula, + [JsonProperty("Plated")] Plated, + [JsonProperty("Reception")] Reception, + [JsonProperty("Rounds")] Rounds, + [JsonProperty("Rounds of 10")] RoundsOf10, + [JsonProperty("Rounds of 6")] RoundsOf6, + [JsonProperty("Rounds of 8")] RoundsOf8, + [JsonProperty("School Room")] SchoolRoom, + [JsonProperty("Tabletop")] Tabletop, + [JsonProperty("Theater")] Theater, + [JsonProperty("T-Shaped")] TShaped, + [JsonProperty("U-Shaped")] UShaped, + } + + public static class MeetingRoomSetupTypeExtension + { + public static string Value(this MeetingRoomSetupType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static MeetingRoomSetupType ToEnum(this string value) + { + foreach (var field in typeof(MeetingRoomSetupType).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 MeetingRoomSetupType) + { + return (MeetingRoomSetupType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum MeetingRoomSetupType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSetupTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSetupTypeJson.cs deleted file mode 100644 index 2aa1ec1f5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomSetupTypeJson.cs +++ /dev/null @@ -1,80 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Defines the setup types of a meeting room requirement. - /// - public enum MeetingRoomSetupTypeJson - { - [JsonProperty("10x10")] Tenx10, - [JsonProperty("8x10")] Eightx10, - [JsonProperty("Buffet")] Buffet, - [JsonProperty("Cabaret")] Cabaret, - [JsonProperty("Chevron")] Chevron, - [JsonProperty("Classroom")] Classroom, - [JsonProperty("Conference")] Conference, - [JsonProperty("Crescent Rounds")] CrescentRounds, - [JsonProperty("Flow")] Flow, - [JsonProperty("Herringbone")] Herringbone, - [JsonProperty("Hollow Square")] HollowSquare, - [JsonProperty("Island")] Island, - [JsonProperty("Other")] Other, - [JsonProperty("Peninsula")] Peninsula, - [JsonProperty("Plated")] Plated, - [JsonProperty("Reception")] Reception, - [JsonProperty("Rounds")] Rounds, - [JsonProperty("Rounds of 10")] RoundsOf10, - [JsonProperty("Rounds of 6")] RoundsOf6, - [JsonProperty("Rounds of 8")] RoundsOf8, - [JsonProperty("School Room")] SchoolRoom, - [JsonProperty("Tabletop")] Tabletop, - [JsonProperty("Theater")] Theater, - [JsonProperty("T-Shaped")] TShaped, - [JsonProperty("U-Shaped")] UShaped, - } - - public static class MeetingRoomSetupTypeJsonExtension - { - public static string Value(this MeetingRoomSetupTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static MeetingRoomSetupTypeJson ToEnum(this string value) - { - foreach (var field in typeof(MeetingRoomSetupTypeJson).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 MeetingRoomSetupTypeJson) - { - return (MeetingRoomSetupTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum MeetingRoomSetupTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomsOverviewResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomsOverviewResponse.cs new file mode 100644 index 000000000..232ea78f8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRoomsOverviewResponse.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// Paginated overview of meeting rooms for a venue. + /// + public class MeetingRoomsOverviewResponse + { + /// + /// Represents pagination information for a collection of resources. + /// + [JsonProperty("paging")] + public Paging? Paging { get; set; } + + /// + /// Overview of meeting rooms. + /// + [JsonProperty("data")] + public List Data { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoom.cs new file mode 100644 index 000000000..1be244905 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoom.cs @@ -0,0 +1,76 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// Partial update payload for a venue meeting room. + /// + public class PatchMeetingRoom + { + /// + /// The name of the meeting room. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The detailed description of the meeting room. + /// + [JsonProperty("description")] + public string? Description { get; set; } = null; + + /// + /// Physical dimensions for the meeting room. + /// + [JsonProperty("dimensions")] + public PatchMeetingRoomDimensions? Dimensions { get; set; } + + /// + /// The position of this meeting room in the venue's room listing. + /// + [JsonProperty("displayOrder")] + public long? DisplayOrder { get; set; } + + /// + /// The provider's own identifier for this meeting room. + /// + [JsonProperty("externalSourceId")] + public string? ExternalSourceId { get; set; } = null; + + /// + /// Rate information for move in/out and events. + /// + [JsonProperty("rates")] + public PatchMeetingRoomRates? Rates { get; set; } = null; + + /// + /// Capacity information for the meeting room, grouped by category. + /// + [JsonProperty("capacities")] + public Capacities? Capacities { get; set; } = null; + + /// + /// List of amenities available in the meeting room. + /// + [JsonProperty("amenities")] + public List? Amenities { get; set; } = null; + + /// + /// True indicates the meeting room is hidden on the venue profile. + /// + [JsonProperty("hiddenOnProfile")] + public bool? HiddenOnProfile { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoomDimensions.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoomDimensions.cs new file mode 100644 index 000000000..4d7c6c2dc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoomDimensions.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Physical dimensions for the meeting room. + /// + public class PatchMeetingRoomDimensions + { + /// + /// Measurement of area in square feet or square meters. + /// + [JsonProperty("totalSpace")] + public AreaMeasurement? TotalSpace { get; set; } + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("ceilingHeight")] + public Dimension? CeilingHeight { get; set; } + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("length")] + public Dimension? Length { get; set; } + + /// + /// A dimension measurement in feet or meters. + /// + [JsonProperty("width")] + public Dimension? Width { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoomRates.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoomRates.cs new file mode 100644 index 000000000..903e70490 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PatchMeetingRoomRates.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; + + /// + /// Rate information for move in/out and events. + /// + public class PatchMeetingRoomRates + { + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("moveIn")] + public MeetingRoomRate? MoveIn { get; set; } + + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("moveOut")] + public MeetingRoomRate? MoveOut { get; set; } + + /// + /// Meeting room rate with a value and application type. + /// + [JsonProperty("event")] + public MeetingRoomRate? Event { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PollResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PollResponse.cs new file mode 100644 index 000000000..be00d4f30 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PollResponse.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// This is used to denote the poll details. + /// + public class PollResponse + { + /// + /// The name of the poll. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The list of question and answers for a poll. + /// + [JsonProperty("responses")] + public List? Responses { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PollResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PollResponseJson.cs deleted file mode 100644 index 15f714eb2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PollResponseJson.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; - - /// - /// This is used to denote the poll details. - /// - public class PollResponseJson - { - /// - /// The name of the poll. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The list of question and answers for a poll. - /// - [JsonProperty("responses")] - public List? Responses { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessForm.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessForm.cs new file mode 100644 index 000000000..e9dc55c1d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessForm.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An object that contains the process form ID.
+ ///
+ /// This is an **expandable** object and if requested will contain the name of a process form object. + ///
+ public class ProcessForm + { + /// + /// The ID of the process form. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormJson.cs deleted file mode 100644 index 207a64107..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormJson.cs +++ /dev/null @@ -1,28 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// An object that contains the process form ID.
- ///
- /// This is an **expandable** object and if requested will contain the name of a process form object. - ///
- public class ProcessFormJson - { - /// - /// The ID of the process form. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormQuestionTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormQuestionTypeJson.cs deleted file mode 100644 index 49a662f6a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormQuestionTypeJson.cs +++ /dev/null @@ -1,66 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the type of data collected by a question. - /// - public enum ProcessFormQuestionTypeJson - { - [JsonProperty("CommentBox")] CommentBox, - [JsonProperty("Currency")] Currency, - [JsonProperty("Decimal")] Decimal, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Email")] Email, - [JsonProperty("General")] General, - [JsonProperty("Number")] Number, - [JsonProperty("MultiSelect")] MultiSelect, - [JsonProperty("SingleSelect")] SingleSelect, - [JsonProperty("USPhoneNumber")] USPhoneNumber, - [JsonProperty("Unknown")] Unknown, - } - - public static class ProcessFormQuestionTypeJsonExtension - { - public static string Value(this ProcessFormQuestionTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ProcessFormQuestionTypeJson ToEnum(this string value) - { - foreach (var field in typeof(ProcessFormQuestionTypeJson).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 ProcessFormQuestionTypeJson) - { - return (ProcessFormQuestionTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ProcessFormQuestionTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmission.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmission.cs new file mode 100644 index 000000000..09b93ff8b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmission.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Represents a process form submission in the context of a specific event. + /// + public class ProcessFormSubmission + { + /// + /// The ISO 8601 zoned date time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The identifier of the user that created this record. + /// + [JsonProperty("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The ISO 8601 zoned date time when this record was updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The identifier of the user that last updated this record. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// The unique ID representing the process form submission. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The event which the process form submission is associated with. + /// + [JsonProperty("event")] + public ProcessFormSubmissionEvent Event { get; set; } = default!; + + /// + /// An object that contains the process form ID.
+ ///
+ /// This is an **expandable** object and if requested will contain the name of a process form object. + ///
+ [JsonProperty("process-form")] + public Models.Components.ProcessForm? ProcessForm { get; set; } + + /// + /// The status of the process form submission. The status is planner defined and can be any string. + /// + [JsonProperty("status")] + public string? Status { get; set; } + + /// + /// The list of possible answers to a question. + /// + [JsonProperty("questions")] + public List? Questions { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionEvent.cs new file mode 100644 index 000000000..6a5e4f2a0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionEvent.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The event which the process form submission is associated with. + /// + public class ProcessFormSubmissionEvent + { + /// + /// The unique ID of the event. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionJson.cs deleted file mode 100644 index f117f3ad1..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionJson.cs +++ /dev/null @@ -1,79 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - - /// - /// Represents a process form submission in the context of a specific event. - /// - public class ProcessFormSubmissionJson - { - /// - /// The ISO 8601 zoned date time when this record was created. - /// - [JsonProperty("created")] - public DateTime? Created { get; set; } - - /// - /// The identifier of the user that created this record. - /// - [JsonProperty("createdBy")] - public string? CreatedBy { get; set; } - - /// - /// The ISO 8601 zoned date time when this record was updated. - /// - [JsonProperty("lastModified")] - public DateTime? LastModified { get; set; } - - /// - /// The identifier of the user that last updated this record. - /// - [JsonProperty("lastModifiedBy")] - public string? LastModifiedBy { get; set; } - - /// - /// The unique ID representing the process form submission. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The event which the process form submission is associated with. - /// - [JsonProperty("event")] - public ProcessFormSubmissionJsonEvent Event { get; set; } = default!; - - /// - /// An object that contains the process form ID.
- ///
- /// This is an **expandable** object and if requested will contain the name of a process form object. - ///
- [JsonProperty("process-form")] - public ProcessFormJson? ProcessForm { get; set; } - - /// - /// The status of the process form submission. The status is planner defined and can be any string. - /// - [JsonProperty("status")] - public string? Status { get; set; } - - /// - /// The list of possible answers to a question. - /// - [JsonProperty("questions")] - public List? Questions { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionJsonEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionJsonEvent.cs deleted file mode 100644 index 3c80824df..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionJsonEvent.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The event which the process form submission is associated with. - /// - public class ProcessFormSubmissionJsonEvent - { - /// - /// The unique ID of the event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestion.cs new file mode 100644 index 000000000..e6eb8e5df --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestion.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A question for a process form submission. + /// + public class ProcessFormSubmissionQuestion + { + /// + /// The unique ID representing this question. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The actual text of the custom field. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Denotes the type of data collected by a question. + /// + [JsonProperty("type")] + public QuestionType11? Type { get; set; } + + /// + /// The set of answers to the question. + /// + [JsonProperty("value")] + public List Value { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestionJson.cs deleted file mode 100644 index df9fc735e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionQuestionJson.cs +++ /dev/null @@ -1,46 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// A question for a process form submission. - /// - public class ProcessFormSubmissionQuestionJson - { - /// - /// The unique ID representing this question. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The actual text of the custom field. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Denotes the type of data collected by a question. - /// - [JsonProperty("type")] - public ProcessFormQuestionTypeJson? Type { get; set; } - - /// - /// The set of answers to the question. - /// - [JsonProperty("value")] - public List Value { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionsPaginatedResponse.cs index 982fd0af8..6ddb7bc5e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProcessFormSubmissionsPaginatedResponse.cs @@ -23,12 +23,12 @@ public class ProcessFormSubmissionsPaginatedResponse /// Represents pagination information for a collection of resources. ///
[JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of process form submission objects. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Question2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Question2.cs new file mode 100644 index 000000000..70782b2b8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Question2.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The question that was answered. + /// + public class Question2 + { + /// + /// The unique identifier of the question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Question text. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Question code. + /// + [JsonProperty("code")] + public string? Code { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionDetail.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionDetail.cs new file mode 100644 index 000000000..25bb15ec0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionDetail.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The question asked in a session. + /// + public class QuestionDetail + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Question text. + /// + [JsonProperty("text")] + public string? Text { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionDetailJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionDetailJson.cs deleted file mode 100644 index 10b575858..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionDetailJson.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; - - /// - /// The question asked in a session. - /// - public class QuestionDetailJson - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Question text. - /// - [JsonProperty("text")] - public string? Text { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs index 30138d893..ba635c36d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs @@ -78,7 +78,7 @@ public class QuestionJson1 /// Question Type. /// [JsonProperty("type")] - public QuestionTypeJson1? Type { get; set; } + public QuestionTypeJson? Type { get; set; } /// /// List of choices for the question. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson2.cs deleted file mode 100644 index a3827ca75..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson2.cs +++ /dev/null @@ -1,38 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The question that was answered. - /// - public class QuestionJson2 - { - /// - /// The unique identifier of the question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Question text. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Question code. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponse.cs new file mode 100644 index 000000000..4fc330f1f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponse.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A Question response. + /// + public class QuestionResponse + { + /// + /// The question that was answered. + /// + [JsonProperty("question")] + public Question2? Question { get; set; } + + /// + /// List of answers. + /// + [JsonProperty("answers")] + public List? Answers { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseJson.cs deleted file mode 100644 index 26795a29e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseJson.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; - - /// - /// A Question response. - /// - public class QuestionResponseJson - { - /// - /// The question that was answered. - /// - [JsonProperty("question")] - public QuestionJson2? Question { get; set; } - - /// - /// List of answers. - /// - [JsonProperty("answers")] - public List? Answers { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType1.cs new file mode 100644 index 000000000..b7c9dd54a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType1.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Denotes the type of data collected by a question. + /// + public enum QuestionType1 + { + [JsonProperty("AutoIncrement")] AutoIncrement, + [JsonProperty("BudgetEstimates")] BudgetEstimates, + [JsonProperty("ConsentQuestion")] ConsentQuestion, + [JsonProperty("Country")] Country, + [JsonProperty("Currency")] Currency, + [JsonProperty("Decimal")] Decimal, + [JsonProperty("Date")] Date, + [JsonProperty("DateTime")] DateTime, + [JsonProperty("Email")] Email, + [JsonProperty("FileUpload")] FileUpload, + [JsonProperty("FreeText")] FreeText, + [JsonProperty("General")] General, + [JsonProperty("Number")] Number, + [JsonProperty("MeetingRoomRequirements")] MeetingRoomRequirements, + [JsonProperty("MultiSelect")] MultiSelect, + [JsonProperty("SingleSelect")] SingleSelect, + [JsonProperty("SleepingRoomRequirements")] SleepingRoomRequirements, + [JsonProperty("USPhoneNumber")] USPhoneNumber, + [JsonProperty("Unknown")] Unknown, + } + + public static class QuestionType1Extension + { + public static string Value(this QuestionType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionType1 ToEnum(this string value) + { + foreach (var field in typeof(QuestionType1).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 QuestionType1) + { + return (QuestionType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType11.cs new file mode 100644 index 000000000..c0ea89c01 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType11.cs @@ -0,0 +1,66 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Denotes the type of data collected by a question. + /// + public enum QuestionType11 + { + [JsonProperty("CommentBox")] CommentBox, + [JsonProperty("Currency")] Currency, + [JsonProperty("Decimal")] Decimal, + [JsonProperty("DateTime")] DateTime, + [JsonProperty("Email")] Email, + [JsonProperty("General")] General, + [JsonProperty("Number")] Number, + [JsonProperty("MultiSelect")] MultiSelect, + [JsonProperty("SingleSelect")] SingleSelect, + [JsonProperty("USPhoneNumber")] USPhoneNumber, + [JsonProperty("Unknown")] Unknown, + } + + public static class QuestionType11Extension + { + public static string Value(this QuestionType11 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionType11 ToEnum(this string value) + { + foreach (var field in typeof(QuestionType11).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 QuestionType11) + { + return (QuestionType11)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionType11"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs index 2367b7314..589392b07 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs @@ -14,29 +14,28 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Denotes the type of data collected by a question. + /// Question Type. /// public enum QuestionTypeJson { - [JsonProperty("AutoIncrement")] AutoIncrement, - [JsonProperty("BudgetEstimates")] BudgetEstimates, - [JsonProperty("ConsentQuestion")] ConsentQuestion, - [JsonProperty("Country")] Country, - [JsonProperty("Currency")] Currency, - [JsonProperty("Decimal")] Decimal, - [JsonProperty("Date")] Date, + [JsonProperty("SingleChoice")] SingleChoice, + [JsonProperty("MultiChoice")] MultiChoice, + [JsonProperty("MatrixSingleChoice")] MatrixSingleChoice, + [JsonProperty("MatrixMultiChoice")] MatrixMultiChoice, + [JsonProperty("MatrixSideBySide")] MatrixSideBySide, + [JsonProperty("MatrixSpreadSheet")] MatrixSpreadSheet, [JsonProperty("DateTime")] DateTime, - [JsonProperty("Email")] Email, - [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("FreeText")] FreeText, - [JsonProperty("General")] General, [JsonProperty("Number")] Number, - [JsonProperty("MeetingRoomRequirements")] MeetingRoomRequirements, - [JsonProperty("MultiSelect")] MultiSelect, - [JsonProperty("SingleSelect")] SingleSelect, - [JsonProperty("SleepingRoomRequirements")] SleepingRoomRequirements, - [JsonProperty("USPhoneNumber")] USPhoneNumber, - [JsonProperty("Unknown")] Unknown, + [JsonProperty("Text")] Text, + [JsonProperty("CommentBox")] CommentBox, + [JsonProperty("Form")] Form, + [JsonProperty("RankOrder")] RankOrder, + [JsonProperty("FileUpload")] FileUpload, + [JsonProperty("NetPromoter")] NetPromoter, + [JsonProperty("Rating")] Rating, + [JsonProperty("MatrixRating")] MatrixRating, + [JsonProperty("NumberAllocation")] NumberAllocation, + [JsonProperty("LargeChoices")] LargeChoices, } public static class QuestionTypeJsonExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs index 00a3f5a03..477957b04 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs @@ -14,28 +14,19 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Question Type. + /// This object represents the type of a question. /// public enum QuestionTypeJson1 { [JsonProperty("SingleChoice")] SingleChoice, [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("MatrixSingleChoice")] MatrixSingleChoice, - [JsonProperty("MatrixMultiChoice")] MatrixMultiChoice, - [JsonProperty("MatrixSideBySide")] MatrixSideBySide, - [JsonProperty("MatrixSpreadSheet")] MatrixSpreadSheet, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Number")] Number, - [JsonProperty("Text")] Text, - [JsonProperty("CommentBox")] CommentBox, - [JsonProperty("Form")] Form, - [JsonProperty("RankOrder")] RankOrder, + [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, + [JsonProperty("OpenEndedTextOneLine")] OpenEndedTextOneLine, + [JsonProperty("OpenEndedTextCommentBox")] OpenEndedTextCommentBox, + [JsonProperty("OpenEndedNumeric")] OpenEndedNumeric, [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("NetPromoter")] NetPromoter, - [JsonProperty("Rating")] Rating, - [JsonProperty("MatrixRating")] MatrixRating, - [JsonProperty("NumberAllocation")] NumberAllocation, - [JsonProperty("LargeChoices")] LargeChoices, + [JsonProperty("MatrixSinglePerRow")] MatrixSinglePerRow, + [JsonProperty("MatrixMultiPerRow")] MatrixMultiPerRow, } public static class QuestionTypeJson1Extension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs deleted file mode 100644 index 05212c61b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs +++ /dev/null @@ -1,64 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This object represents the type of a question. - /// - public enum QuestionTypeJson2 - { - [JsonProperty("SingleChoice")] SingleChoice, - [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, - [JsonProperty("OpenEndedTextOneLine")] OpenEndedTextOneLine, - [JsonProperty("OpenEndedTextCommentBox")] OpenEndedTextCommentBox, - [JsonProperty("OpenEndedNumeric")] OpenEndedNumeric, - [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("MatrixSinglePerRow")] MatrixSinglePerRow, - [JsonProperty("MatrixMultiPerRow")] MatrixMultiPerRow, - } - - public static class QuestionTypeJson2Extension - { - public static string Value(this QuestionTypeJson2 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static QuestionTypeJson2 ToEnum(this string value) - { - foreach (var field in typeof(QuestionTypeJson2).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 QuestionTypeJson2) - { - return (QuestionTypeJson2)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum QuestionTypeJson2"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RateApplicationType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RateApplicationType.cs new file mode 100644 index 000000000..7b3e9df5b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RateApplicationType.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// How the rate is applied to the meeting room booking.
+ ///
+ /// Values:
+ /// - `COMPLIMENTARY` — Complimentary
+ /// - `INCLUDED` — Included
+ /// - `ONETIME_FEE` — One-Time Fee
+ /// - `PER_DAY` — Per Day
+ /// - `PER_HOUR` — Per Hour
+ /// - `PER_SQ_FT` — Per Square Foot
+ /// - `PER_SQ_MTR` — Per Square Meter
+ /// - `TOTAL` — Total. + ///
+ public enum RateApplicationType + { + [JsonProperty("COMPLIMENTARY")] Complimentary, + [JsonProperty("INCLUDED")] Included, + [JsonProperty("ONETIME_FEE")] OnetimeFee, + [JsonProperty("PER_DAY")] PerDay, + [JsonProperty("PER_HOUR")] PerHour, + [JsonProperty("PER_SQ_FT")] PerSqFt, + [JsonProperty("PER_SQ_MTR")] PerSqMtr, + [JsonProperty("TOTAL")] Total, + } + + public static class RateApplicationTypeExtension + { + public static string Value(this RateApplicationType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RateApplicationType ToEnum(this string value) + { + foreach (var field in typeof(RateApplicationType).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 RateApplicationType) + { + return (RateApplicationType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RateApplicationType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Request.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Request.cs index 18eddb1e7..a4f38eb20 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Request.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Request.cs @@ -27,10 +27,10 @@ private RequestType(string value) public string Value { get; private set; } - public static RequestType MeetingRequestBulkResponseItemJsonRequest + public static RequestType MeetingRequestBulkResponseItemRequest { get { - return new RequestType("meeting-request-bulk-response-item.json_request"); + return new RequestType("MeetingRequestBulkResponseItem_request"); } } @@ -74,8 +74,8 @@ public static RequestType FromString(string v) { switch (v) { - case "meeting-request-bulk-response-item.json_request": - return MeetingRequestBulkResponseItemJsonRequest; + case "MeetingRequestBulkResponseItem_request": + return MeetingRequestBulkResponseItemRequest; case "str": return Str; case "number": @@ -115,7 +115,7 @@ public Request(RequestType type) } [SpeakeasyMetadata("form:explode=true")] - public MeetingRequestBulkResponseItemJsonRequest? MeetingRequestBulkResponseItemJsonRequest { get; set; } + public MeetingRequestBulkResponseItemRequest? MeetingRequestBulkResponseItemRequest { get; set; } [SpeakeasyMetadata("form:explode=true")] public string? Str { get; set; } @@ -130,12 +130,12 @@ public Request(RequestType type) public bool? Boolean { get; set; } public RequestType Type { get; set; } - public static Request CreateMeetingRequestBulkResponseItemJsonRequest(MeetingRequestBulkResponseItemJsonRequest meetingRequestBulkResponseItemJSONRequest) + public static Request CreateMeetingRequestBulkResponseItemRequest(MeetingRequestBulkResponseItemRequest meetingRequestBulkResponseItemRequest) { - RequestType typ = RequestType.MeetingRequestBulkResponseItemJsonRequest; + RequestType typ = RequestType.MeetingRequestBulkResponseItemRequest; Request res = new Request(typ); - res.MeetingRequestBulkResponseItemJsonRequest = meetingRequestBulkResponseItemJSONRequest; + res.MeetingRequestBulkResponseItemRequest = meetingRequestBulkResponseItemRequest; return res; } public static Request CreateStr(string str) @@ -189,13 +189,13 @@ public class RequestConverter : JsonConverter try { - return new Request(RequestType.MeetingRequestBulkResponseItemJsonRequest) { - MeetingRequestBulkResponseItemJsonRequest = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new Request(RequestType.MeetingRequestBulkResponseItemRequest) { + MeetingRequestBulkResponseItemRequest = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(MeetingRequestBulkResponseItemJsonRequest), new Request(RequestType.MeetingRequestBulkResponseItemJsonRequest), "MeetingRequestBulkResponseItemJsonRequest")); + fallbackCandidates.Add((typeof(MeetingRequestBulkResponseItemRequest), new Request(RequestType.MeetingRequestBulkResponseItemRequest), "MeetingRequestBulkResponseItemRequest")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -281,9 +281,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer Request res = (Request)value; - if (res.MeetingRequestBulkResponseItemJsonRequest != null) + if (res.MeetingRequestBulkResponseItemRequest != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.MeetingRequestBulkResponseItemJsonRequest)); + writer.WriteRawValue(Utilities.SerializeJSON(res.MeetingRequestBulkResponseItemRequest)); return; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RequestedMeetingRequestQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RequestedMeetingRequestQuestionJson.cs deleted file mode 100644 index 88c3c60bb..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RequestedMeetingRequestQuestionJson.cs +++ /dev/null @@ -1,73 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine how to format the `value` array. - /// - public class RequestedMeetingRequestQuestionJson - { - /// - /// The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
- /// * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
- /// * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
- /// * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
- /// * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
- /// * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
- /// * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - ///
- [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// An array of non-null answers to the question. The format of each item depends on the question `type`.
- ///
- /// **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`).
- ///
- /// **Country/Region questions (`type: Country`):** Provide either the country name (for example, `"Canada"`) or the country code (for example, `"CA"`), but not both. See Country Codes.
- ///
- /// **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object.
- ///
- /// *Meeting Room Requirement example (one item in value array):*
- /// `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"`
- ///
- /// *Sleeping Room Requirement example:*
- /// `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"`
- ///
- /// *Budget Estimate example:*
- /// `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` - ///
- [JsonProperty("value")] - public List Value { get; set; } = default!; - - /// - /// Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.
- ///
- /// Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.
- ///
- /// Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.
- ///
- /// In all other cases, `answerType` is not expected to be set. - ///
- [JsonProperty("answerType")] - public AnswerTypeJson? AnswerType { get; set; } - - /// - /// The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. - /// - [JsonProperty("secondaryValue")] - public string? SecondaryValue { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SeatingLayoutType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SeatingLayoutType.cs new file mode 100644 index 000000000..eaa556d80 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SeatingLayoutType.cs @@ -0,0 +1,69 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + /// + public enum SeatingLayoutType + { + [JsonProperty("BANQUET")] Banquet, + [JsonProperty("CLASSROOM")] Classroom, + [JsonProperty("COCKTAIL_ROUNDS")] CocktailRounds, + [JsonProperty("CONFERENCE")] Conference, + [JsonProperty("CRESCENT_ROUNDS")] CrescentRounds, + [JsonProperty("E_SHAPE")] EShape, + [JsonProperty("HOLLOW_SQUARE")] HollowSquare, + [JsonProperty("MAXIMUM_CAPACITY")] MaximumCapacity, + [JsonProperty("PERIMETER_SEATING")] PerimeterSeating, + [JsonProperty("ROYAL_CONFERENCE")] RoyalConference, + [JsonProperty("TALK_SHOW")] TalkShow, + [JsonProperty("THEATER")] Theater, + [JsonProperty("T_SHAPE")] TShape, + [JsonProperty("U_SHAPE")] UShape, + } + + public static class SeatingLayoutTypeExtension + { + public static string Value(this SeatingLayoutType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static SeatingLayoutType ToEnum(this string value) + { + foreach (var field in typeof(SeatingLayoutType).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 SeatingLayoutType) + { + return (SeatingLayoutType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum SeatingLayoutType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity10.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity10.cs deleted file mode 100644 index 64949effe..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity10.cs +++ /dev/null @@ -1,38 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The activity session. - /// - public class SessionActivity10 - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The title of the session. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The code of the session. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity11.cs deleted file mode 100644 index e9c25698b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity11.cs +++ /dev/null @@ -1,38 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The activity session. - /// - public class SessionActivity11 - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The title of the session. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The code of the session. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity8.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity8.cs deleted file mode 100644 index 5e72c3bd0..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity8.cs +++ /dev/null @@ -1,38 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The activity session. - /// - public class SessionActivity8 - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The title of the session. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The code of the session. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity9.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity9.cs deleted file mode 100644 index 51b1231cb..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionActivity9.cs +++ /dev/null @@ -1,38 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The activity session. - /// - public class SessionActivity9 - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The title of the session. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The code of the session. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionFeedbackSubmitted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionFeedbackSubmitted.cs index cc2f49d58..8dd9ae312 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionFeedbackSubmitted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionFeedbackSubmitted.cs @@ -22,12 +22,12 @@ public class SessionFeedbackSubmitted /// The activity session. ///
[JsonProperty("session")] - public SessionActivity4? Session { get; set; } + public SessionFeedbackSubmittedSessionActivity? Session { get; set; } /// /// A survey response. /// [JsonProperty("survey")] - public SurveyResponseJson? Survey { get; set; } + public SurveyResponse? Survey { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionFeedbackSubmittedSessionActivity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionFeedbackSubmittedSessionActivity.cs new file mode 100644 index 000000000..19bd7a484 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionFeedbackSubmittedSessionActivity.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The activity session. + /// + public class SessionFeedbackSubmittedSessionActivity + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The title of the session. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The code of the session. + /// + [JsonProperty("code")] + public string? Code { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionNoShow.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionNoShow.cs index c1cda9775..63a68620d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionNoShow.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionNoShow.cs @@ -22,6 +22,6 @@ public class SessionNoShow /// The activity session. /// [JsonProperty("session")] - public SessionActivity5? Session { get; set; } + public SessionActivity4? Session { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionPollResponseSubmitted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionPollResponseSubmitted.cs index 8e67a4dd2..b7e6ae06e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionPollResponseSubmitted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionPollResponseSubmitted.cs @@ -22,12 +22,12 @@ public class SessionPollResponseSubmitted /// The activity session. /// [JsonProperty("session")] - public SessionActivity6? Session { get; set; } + public SessionPollResponseSubmittedSessionActivity? Session { get; set; } /// /// This is used to denote the poll details. /// [JsonProperty("poll")] - public PollResponseJson? Poll { get; set; } + public PollResponse? Poll { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionPollResponseSubmittedSessionActivity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionPollResponseSubmittedSessionActivity.cs new file mode 100644 index 000000000..2e930deab --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionPollResponseSubmittedSessionActivity.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The activity session. + /// + public class SessionPollResponseSubmittedSessionActivity + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The title of the session. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The code of the session. + /// + [JsonProperty("code")] + public string? Code { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionAsked.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionAsked.cs index f01f3e307..79bfd98df 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionAsked.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionAsked.cs @@ -22,13 +22,13 @@ public class SessionQuestionAsked /// The activity session. /// [JsonProperty("session")] - public SessionActivity7? Session { get; set; } + public SessionQuestionAskedSessionActivity? Session { get; set; } /// /// The question asked in a session. /// [JsonProperty("question")] - public QuestionDetailJson? Question { get; set; } + public QuestionDetail? Question { get; set; } /// /// The platform used by the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionAskedSessionActivity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionAskedSessionActivity.cs new file mode 100644 index 000000000..bd4d087e7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionAskedSessionActivity.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The activity session. + /// + public class SessionQuestionAskedSessionActivity + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The title of the session. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The code of the session. + /// + [JsonProperty("code")] + public string? Code { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionUpvoted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionUpvoted.cs index 2f3ccc73c..3e057861b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionUpvoted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQuestionUpvoted.cs @@ -22,13 +22,13 @@ public class SessionQuestionUpvoted /// The activity session. /// [JsonProperty("session")] - public SessionActivity8? Session { get; set; } + public SessionActivity5? Session { get; set; } /// /// The question asked in a session. /// [JsonProperty("question")] - public QuestionDetailJson? Question { get; set; } + public QuestionDetail? Question { get; set; } /// /// The platform used by the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionUnenrolled.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionUnenrolled.cs index f72fd4d62..ca52e7b9c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionUnenrolled.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionUnenrolled.cs @@ -22,6 +22,6 @@ public class SessionUnenrolled /// The activity session. /// [JsonProperty("session")] - public SessionActivity9? Session { get; set; } + public SessionActivity6? Session { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionWaitlisted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionWaitlisted.cs index 537617548..295406153 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionWaitlisted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionWaitlisted.cs @@ -22,6 +22,6 @@ public class SessionWaitlisted /// The activity session. /// [JsonProperty("session")] - public SessionActivity10? Session { get; set; } + public SessionActivity7? Session { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomRequirement.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomRequirement.cs new file mode 100644 index 000000000..d586fb742 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomRequirement.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The requirements of a sleeping room on the specified date. + /// + public class SleepingRoomRequirement + { + /// + /// The date for the sleeping room, in format of YYYY-MM-DD. + /// + [JsonProperty("date")] + public string Date { get; set; } = default!; + + /// + /// The number of any sleeping rooms. + /// + [JsonProperty("any")] + public long? Any { get; set; } + + /// + /// The number of 1 bed sleeping rooms. + /// + [JsonProperty("single")] + public long? Single { get; set; } + + /// + /// The number of suite sleeping rooms. + /// + [JsonProperty("suite")] + public long? Suite { get; set; } + + /// + /// The number of sleeping rooms for staff. + /// + [JsonProperty("staff")] + public long? Staff { get; set; } + + /// + /// The number of 2 beds sleeping rooms. + /// + [JsonProperty("doubleBeds")] + public long? DoubleBeds { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomRequirementJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomRequirementJson.cs deleted file mode 100644 index 2dd1e84e9..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomRequirementJson.cs +++ /dev/null @@ -1,56 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// The requirements of a sleeping room on the specified date. - /// - public class SleepingRoomRequirementJson - { - /// - /// The date for the sleeping room, in format of YYYY-MM-DD. - /// - [JsonProperty("date")] - public string Date { get; set; } = default!; - - /// - /// The number of any sleeping rooms. - /// - [JsonProperty("any")] - public long? Any { get; set; } - - /// - /// The number of 1 bed sleeping rooms. - /// - [JsonProperty("single")] - public long? Single { get; set; } - - /// - /// The number of suite sleeping rooms. - /// - [JsonProperty("suite")] - public long? Suite { get; set; } - - /// - /// The number of sleeping rooms for staff. - /// - [JsonProperty("staff")] - public long? Staff { get; set; } - - /// - /// The number of 2 beds sleeping rooms. - /// - [JsonProperty("doubleBeds")] - public long? DoubleBeds { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Speaker1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Speaker1.cs new file mode 100644 index 000000000..3363851ea --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Speaker1.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An activity speaker. + /// + public class Speaker1 + { + /// + /// The unique identifier of the speaker. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Name of the speaker. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmitted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmitted.cs index 679923087..ee2f0b7f4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmitted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmitted.cs @@ -22,18 +22,18 @@ public class SpeakerFeedbackSubmitted /// The activity session. /// [JsonProperty("session")] - public SessionActivity11? Session { get; set; } + public SpeakerFeedbackSubmittedSessionActivity? Session { get; set; } /// /// An activity speaker. /// [JsonProperty("speaker")] - public SpeakerJson? Speaker { get; set; } + public Speaker1? Speaker { get; set; } /// /// A survey response. /// [JsonProperty("survey")] - public SurveyResponseJson? Survey { get; set; } + public SurveyResponse? Survey { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmittedSessionActivity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmittedSessionActivity.cs new file mode 100644 index 000000000..c857e7a31 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFeedbackSubmittedSessionActivity.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The activity session. + /// + public class SpeakerFeedbackSubmittedSessionActivity + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The title of the session. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The code of the session. + /// + [JsonProperty("code")] + public string? Code { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFileDownloaded.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFileDownloaded.cs index 2545c791d..7d3ed6a1c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFileDownloaded.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerFileDownloaded.cs @@ -46,6 +46,6 @@ public class SpeakerFileDownloaded /// An activity speaker. /// [JsonProperty("speaker")] - public SpeakerJson? Speaker { get; set; } + public Speaker1? Speaker { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerJson.cs deleted file mode 100644 index e92a0d6ee..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerJson.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; - - /// - /// An activity speaker. - /// - public class SpeakerJson - { - /// - /// The unique identifier of the speaker. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Name of the speaker. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs index 9f4aff298..de6749245 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs @@ -78,7 +78,7 @@ public class StandardSurveyQuestionJson /// Question Type. /// [JsonProperty("type")] - public QuestionTypeJson1? Type { get; set; } + public QuestionTypeJson? Type { get; set; } /// /// List of choices for the question. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/StateProvince1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/StateProvince1.cs new file mode 100644 index 000000000..494b69eda --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/StateProvince1.cs @@ -0,0 +1,877 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The state province code used for contact information. + /// + public enum StateProvince1 + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("AA")] Aa, + [JsonProperty("AB")] Ab, + [JsonProperty("ABD")] Abd, + [JsonProperty("ABE")] Abe, + [JsonProperty("ACT_AUS")] ActAus, + [JsonProperty("AE")] Ae, + [JsonProperty("AGB")] Agb, + [JsonProperty("AGY")] Agy, + [JsonProperty("AK")] Ak, + [JsonProperty("AL")] Al, + [JsonProperty("ANS")] Ans, + [JsonProperty("ANT")] Ant, + [JsonProperty("AP")] Ap, + [JsonProperty("AR")] Ar, + [JsonProperty("ARD")] Ard, + [JsonProperty("ARM")] Arm, + [JsonProperty("AS")] As, + [JsonProperty("AT_1")] At1, + [JsonProperty("AT_2")] At2, + [JsonProperty("AT_3")] At3, + [JsonProperty("AT_4")] At4, + [JsonProperty("AT_5")] At5, + [JsonProperty("AT_6")] At6, + [JsonProperty("AT_7")] At7, + [JsonProperty("AT_8")] At8, + [JsonProperty("AT_9")] At9, + [JsonProperty("AZ")] Az, + [JsonProperty("BAN")] Ban, + [JsonProperty("BAS")] Bas, + [JsonProperty("BBD")] Bbd, + [JsonProperty("BC")] Bc, + [JsonProperty("BDF")] Bdf, + [JsonProperty("BE_BRU")] BeBru, + [JsonProperty("BEN")] Ben, + [JsonProperty("BE_VAN")] BeVan, + [JsonProperty("BE_VBR")] BeVbr, + [JsonProperty("BE_VLI")] BeVli, + [JsonProperty("BE_VOV")] BeVov, + [JsonProperty("BE_VWV")] BeVwv, + [JsonProperty("BE_WBR")] BeWbr, + [JsonProperty("BE_WHT")] BeWht, + [JsonProperty("BE_WLG")] BeWlg, + [JsonProperty("BE_WLX")] BeWlx, + [JsonProperty("BE_WNA")] BeWna, + [JsonProperty("BEX")] Bex, + [JsonProperty("BFS")] Bfs, + [JsonProperty("BGE")] Bge, + [JsonProperty("BGW")] Bgw, + [JsonProperty("BIR")] Bir, + [JsonProperty("BKM")] Bkm, + [JsonProperty("BLA")] Bla, + [JsonProperty("BLY")] Bly, + [JsonProperty("BMH")] Bmh, + [JsonProperty("BNB")] Bnb, + [JsonProperty("BNE")] Bne, + [JsonProperty("BNH")] Bnh, + [JsonProperty("BNS")] Bns, + [JsonProperty("BOL")] Bol, + [JsonProperty("BPL")] Bpl, + [JsonProperty("BR_AC")] BrAc, + [JsonProperty("BR_AL")] BrAl, + [JsonProperty("BR_AM")] BrAm, + [JsonProperty("BR_AP")] BrAp, + [JsonProperty("BR_BA")] BrBa, + [JsonProperty("BRC")] Brc, + [JsonProperty("BR_CE")] BrCe, + [JsonProperty("BRD")] Brd, + [JsonProperty("BR_DF")] BrDf, + [JsonProperty("BR_ES")] BrEs, + [JsonProperty("BR_GO")] BrGo, + [JsonProperty("BRK")] Brk, + [JsonProperty("BR_MA")] BrMa, + [JsonProperty("BR_MG")] BrMg, + [JsonProperty("BR_MS")] BrMs, + [JsonProperty("BR_MT")] BrMt, + [JsonProperty("BR_PA")] BrPa, + [JsonProperty("BR_PB")] BrPb, + [JsonProperty("BR_PE")] BrPe, + [JsonProperty("BR_PI")] BrPi, + [JsonProperty("BR_PR")] BrPr, + [JsonProperty("BR_RJ")] BrRj, + [JsonProperty("BR_RN")] BrRn, + [JsonProperty("BR_RO")] BrRo, + [JsonProperty("BR_RR")] BrRr, + [JsonProperty("BR_RS")] BrRs, + [JsonProperty("BR_SC")] BrSc, + [JsonProperty("BR_SE")] BrSe, + [JsonProperty("BR_SP")] BrSp, + [JsonProperty("BR_TO")] BrTo, + [JsonProperty("BRY")] Bry, + [JsonProperty("BST")] Bst, + [JsonProperty("BUR")] Bur, + [JsonProperty("CA")] Ca, + [JsonProperty("CAM")] Cam, + [JsonProperty("CAY")] Cay, + [JsonProperty("CGN")] Cgn, + [JsonProperty("CGV")] Cgv, + [JsonProperty("CH_AG")] ChAg, + [JsonProperty("CH_AI")] ChAi, + [JsonProperty("CH_AR")] ChAr, + [JsonProperty("CH_BE")] ChBe, + [JsonProperty("CH_BL")] ChBl, + [JsonProperty("CH_BS")] ChBs, + [JsonProperty("CH_FR")] ChFr, + [JsonProperty("CH_GE")] ChGe, + [JsonProperty("CH_GL")] ChGl, + [JsonProperty("CH_GR")] ChGr, + [JsonProperty("CHI")] Chi, + [JsonProperty("CH_JU")] ChJu, + [JsonProperty("CH_LU")] ChLu, + [JsonProperty("CH_NE")] ChNe, + [JsonProperty("CH_NW")] ChNw, + [JsonProperty("CH_OW")] ChOw, + [JsonProperty("CHS")] Chs, + [JsonProperty("CH_SG")] ChSg, + [JsonProperty("CH_SH")] ChSh, + [JsonProperty("CH_SO")] ChSo, + [JsonProperty("CH_SZ")] ChSz, + [JsonProperty("CH_TG")] ChTg, + [JsonProperty("CH_TI")] ChTi, + [JsonProperty("CH_UR")] ChUr, + [JsonProperty("CH_VD")] ChVd, + [JsonProperty("CH_VS")] ChVs, + [JsonProperty("CH_ZG")] ChZg, + [JsonProperty("CH_ZH")] ChZh, + [JsonProperty("CKF")] Ckf, + [JsonProperty("CKT")] Ckt, + [JsonProperty("CLD")] Cld, + [JsonProperty("CLK")] Clk, + [JsonProperty("CLR")] Clr, + [JsonProperty("CMA")] Cma, + [JsonProperty("CMD")] Cmd, + [JsonProperty("CMN")] Cmn, + [JsonProperty("CN_11")] Cn11, + [JsonProperty("CN_12")] Cn12, + [JsonProperty("CN_13")] Cn13, + [JsonProperty("CN_14")] Cn14, + [JsonProperty("CN_15")] Cn15, + [JsonProperty("CN_21")] Cn21, + [JsonProperty("CN_22")] Cn22, + [JsonProperty("CN_23")] Cn23, + [JsonProperty("CN_31")] Cn31, + [JsonProperty("CN_32")] Cn32, + [JsonProperty("CN_33")] Cn33, + [JsonProperty("CN_34")] Cn34, + [JsonProperty("CN_35")] Cn35, + [JsonProperty("CN_36")] Cn36, + [JsonProperty("CN_37")] Cn37, + [JsonProperty("CN_41")] Cn41, + [JsonProperty("CN_42")] Cn42, + [JsonProperty("CN_43")] Cn43, + [JsonProperty("CN_44")] Cn44, + [JsonProperty("CN_45")] Cn45, + [JsonProperty("CN_46")] Cn46, + [JsonProperty("CN_50")] Cn50, + [JsonProperty("CN_51")] Cn51, + [JsonProperty("CN_52")] Cn52, + [JsonProperty("CN_53")] Cn53, + [JsonProperty("CN_54")] Cn54, + [JsonProperty("CN_61")] Cn61, + [JsonProperty("CN_62")] Cn62, + [JsonProperty("CN_63")] Cn63, + [JsonProperty("CN_64")] Cn64, + [JsonProperty("CN_65")] Cn65, + [JsonProperty("CN_91")] Cn91, + [JsonProperty("CN_92")] Cn92, + [JsonProperty("CO")] Co, + [JsonProperty("CON")] Con, + [JsonProperty("COV")] Cov, + [JsonProperty("CRF")] Crf, + [JsonProperty("CRY")] Cry, + [JsonProperty("CSR")] Csr, + [JsonProperty("CT")] Ct, + [JsonProperty("CWD")] Cwd, + [JsonProperty("CWY")] Cwy, + [JsonProperty("DAL")] Dal, + [JsonProperty("DBY")] Dby, + [JsonProperty("DC")] Dc, + [JsonProperty("DE")] De, + [JsonProperty("DEN")] Den, + [JsonProperty("DER")] Der, + [JsonProperty("DEV")] Dev, + [JsonProperty("DGN")] Dgn, + [JsonProperty("DGY")] Dgy, + [JsonProperty("DK_015")] Dk015, + [JsonProperty("DK_020")] Dk020, + [JsonProperty("DK_025")] Dk025, + [JsonProperty("DK_030")] Dk030, + [JsonProperty("DK_035")] Dk035, + [JsonProperty("DK_040")] Dk040, + [JsonProperty("DK_042")] Dk042, + [JsonProperty("DK_050")] Dk050, + [JsonProperty("DK_055")] Dk055, + [JsonProperty("DK_060")] Dk060, + [JsonProperty("DK_065")] Dk065, + [JsonProperty("DK_070")] Dk070, + [JsonProperty("DK_076")] Dk076, + [JsonProperty("DK_080")] Dk080, + [JsonProperty("DK_101")] Dk101, + [JsonProperty("DK_147")] Dk147, + [JsonProperty("DK_81")] Dk81, + [JsonProperty("DK_82")] Dk82, + [JsonProperty("DK_83")] Dk83, + [JsonProperty("DK_84")] Dk84, + [JsonProperty("DK_85")] Dk85, + [JsonProperty("DNC")] Dnc, + [JsonProperty("DND")] Dnd, + [JsonProperty("DOR")] Dor, + [JsonProperty("DOW")] Dow, + [JsonProperty("DRY")] Dry, + [JsonProperty("DUD")] Dud, + [JsonProperty("DUR")] Dur, + [JsonProperty("EAL")] Eal, + [JsonProperty("EAY")] Eay, + [JsonProperty("EDH")] Edh, + [JsonProperty("EDU")] Edu, + [JsonProperty("ELN")] Eln, + [JsonProperty("ELS")] Els, + [JsonProperty("ENF")] Enf, + [JsonProperty("ERW")] Erw, + [JsonProperty("ERY")] Ery, + [JsonProperty("ESS")] Ess, + [JsonProperty("ESX")] Esx, + [JsonProperty("FAL")] Fal, + [JsonProperty("FER")] Fer, + [JsonProperty("FIF")] Fif, + [JsonProperty("FL")] Fl, + [JsonProperty("FLN")] Fln, + [JsonProperty("FM")] Fm, + [JsonProperty("GA")] Ga, + [JsonProperty("GAT")] Gat, + [JsonProperty("GB")] Gb, + [JsonProperty("GLG")] Glg, + [JsonProperty("GLN")] Gln, + [JsonProperty("GLS")] Gls, + [JsonProperty("GR_01")] Gr01, + [JsonProperty("GR_03")] Gr03, + [JsonProperty("GR_04")] Gr04, + [JsonProperty("GR_05")] Gr05, + [JsonProperty("GR_06")] Gr06, + [JsonProperty("GR_07")] Gr07, + [JsonProperty("GR_11")] Gr11, + [JsonProperty("GR_12")] Gr12, + [JsonProperty("GR_13")] Gr13, + [JsonProperty("GR_14")] Gr14, + [JsonProperty("GR_15")] Gr15, + [JsonProperty("GR_16")] Gr16, + [JsonProperty("GR_17")] Gr17, + [JsonProperty("GR_21")] Gr21, + [JsonProperty("GR_22")] Gr22, + [JsonProperty("GR_23")] Gr23, + [JsonProperty("GR_24")] Gr24, + [JsonProperty("GR_31")] Gr31, + [JsonProperty("GR_32")] Gr32, + [JsonProperty("GR_33")] Gr33, + [JsonProperty("GR_34")] Gr34, + [JsonProperty("GR_41")] Gr41, + [JsonProperty("GR_42")] Gr42, + [JsonProperty("GR_43")] Gr43, + [JsonProperty("GR_44")] Gr44, + [JsonProperty("GR_51")] Gr51, + [JsonProperty("GR_52")] Gr52, + [JsonProperty("GR_53")] Gr53, + [JsonProperty("GR_54")] Gr54, + [JsonProperty("GR_55")] Gr55, + [JsonProperty("GR_56")] Gr56, + [JsonProperty("GR_57")] Gr57, + [JsonProperty("GR_58")] Gr58, + [JsonProperty("GR_59")] Gr59, + [JsonProperty("GR_61")] Gr61, + [JsonProperty("GR_62")] Gr62, + [JsonProperty("GR_63")] Gr63, + [JsonProperty("GR_64")] Gr64, + [JsonProperty("GR_69")] Gr69, + [JsonProperty("GR_71")] Gr71, + [JsonProperty("GR_72")] Gr72, + [JsonProperty("GR_73")] Gr73, + [JsonProperty("GR_81")] Gr81, + [JsonProperty("GR_82")] Gr82, + [JsonProperty("GR_83")] Gr83, + [JsonProperty("GR_84")] Gr84, + [JsonProperty("GR_85")] Gr85, + [JsonProperty("GR_91")] Gr91, + [JsonProperty("GR_92")] Gr92, + [JsonProperty("GR_93")] Gr93, + [JsonProperty("GR_94")] Gr94, + [JsonProperty("GR_A_1")] GrA1, + [JsonProperty("GRE")] Gre, + [JsonProperty("GTM")] Gtm, + [JsonProperty("GU")] Gu, + [JsonProperty("GWN")] Gwn, + [JsonProperty("HAL")] Hal, + [JsonProperty("HAM")] Ham, + [JsonProperty("HAV")] Hav, + [JsonProperty("HCK")] Hck, + [JsonProperty("HEF")] Hef, + [JsonProperty("HI")] Hi, + [JsonProperty("HIL")] Hil, + [JsonProperty("HLD")] Hld, + [JsonProperty("HMF")] Hmf, + [JsonProperty("HNS")] Hns, + [JsonProperty("HPL")] Hpl, + [JsonProperty("HRT")] Hrt, + [JsonProperty("HRW")] Hrw, + [JsonProperty("HRY")] Hry, + [JsonProperty("IA")] Ia, + [JsonProperty("ID")] Id, + [JsonProperty("IE_C")] IeC, + [JsonProperty("IE_CE")] IeCe, + [JsonProperty("IE_CN")] IeCn, + [JsonProperty("IE_CW")] IeCw, + [JsonProperty("IE_D")] IeD, + [JsonProperty("IE_DL")] IeDl, + [JsonProperty("IE_G")] IeG, + [JsonProperty("IE_KE")] IeKe, + [JsonProperty("IE_KK")] IeKk, + [JsonProperty("IE_KY")] IeKy, + [JsonProperty("IE_LD")] IeLd, + [JsonProperty("IE_LH")] IeLh, + [JsonProperty("IE_LK")] IeLk, + [JsonProperty("IE_LM")] IeLm, + [JsonProperty("IE_LS")] IeLs, + [JsonProperty("IE_MH")] IeMh, + [JsonProperty("IE_MN")] IeMn, + [JsonProperty("IE_MO")] IeMo, + [JsonProperty("IE_OY")] IeOy, + [JsonProperty("IE_RN")] IeRn, + [JsonProperty("IE_SO")] IeSo, + [JsonProperty("IE_TA")] IeTa, + [JsonProperty("IE_WD")] IeWd, + [JsonProperty("IE_WH")] IeWh, + [JsonProperty("IE_WW")] IeWw, + [JsonProperty("IE_WX")] IeWx, + [JsonProperty("IL")] Il, + [JsonProperty("IN")] In, + [JsonProperty("IN_AN")] InAn, + [JsonProperty("IN_AP")] InAp, + [JsonProperty("IN_AR")] InAr, + [JsonProperty("IN_AS")] InAs, + [JsonProperty("IN_BR")] InBr, + [JsonProperty("IN_CH")] InCh, + [JsonProperty("IN_CT")] InCt, + [JsonProperty("IN_DD")] InDd, + [JsonProperty("IN_DL")] InDl, + [JsonProperty("IN_DN")] InDn, + [JsonProperty("IN_GA")] InGa, + [JsonProperty("IN_GJ")] InGj, + [JsonProperty("IN_HP")] InHp, + [JsonProperty("IN_HR")] InHr, + [JsonProperty("IN_JH")] InJh, + [JsonProperty("IN_JK")] InJk, + [JsonProperty("IN_KA")] InKa, + [JsonProperty("IN_KL")] InKl, + [JsonProperty("IN_LD")] InLd, + [JsonProperty("IN_MH")] InMh, + [JsonProperty("IN_ML")] InMl, + [JsonProperty("IN_MN")] InMn, + [JsonProperty("IN_MP")] InMp, + [JsonProperty("IN_MZ")] InMz, + [JsonProperty("IN_NL")] InNl, + [JsonProperty("IN_OR")] InOr, + [JsonProperty("IN_PB")] InPb, + [JsonProperty("IN_PY")] InPy, + [JsonProperty("IN_RJ")] InRj, + [JsonProperty("IN_SK")] InSk, + [JsonProperty("IN_TG")] InTg, + [JsonProperty("IN_TN")] InTn, + [JsonProperty("IN_TR")] InTr, + [JsonProperty("IN_UL")] InUl, + [JsonProperty("IN_UP")] InUp, + [JsonProperty("IN_WB")] InWb, + [JsonProperty("IOA")] Ioa, + [JsonProperty("IOI")] Ioi, + [JsonProperty("IOL")] Iol, + [JsonProperty("IOM")] Iom, + [JsonProperty("IOS")] Ios, + [JsonProperty("IOW")] Iow, + [JsonProperty("IOY")] Ioy, + [JsonProperty("ISL")] Isl, + [JsonProperty("IT_21")] It21, + [JsonProperty("IT_23")] It23, + [JsonProperty("IT_25")] It25, + [JsonProperty("IT_32")] It32, + [JsonProperty("IT_34")] It34, + [JsonProperty("IT_36")] It36, + [JsonProperty("IT_42")] It42, + [JsonProperty("IT_45")] It45, + [JsonProperty("IT_52")] It52, + [JsonProperty("IT_55")] It55, + [JsonProperty("IT_57")] It57, + [JsonProperty("IT_62")] It62, + [JsonProperty("IT_65")] It65, + [JsonProperty("IT_67")] It67, + [JsonProperty("IT_72")] It72, + [JsonProperty("IT_75")] It75, + [JsonProperty("IT_77")] It77, + [JsonProperty("IT_78")] It78, + [JsonProperty("IT_82")] It82, + [JsonProperty("IT_88")] It88, + [JsonProperty("IT_AG")] ItAg, + [JsonProperty("IT_AL")] ItAl, + [JsonProperty("IT_AN")] ItAn, + [JsonProperty("IT_AO")] ItAo, + [JsonProperty("IT_AP")] ItAp, + [JsonProperty("IT_AQ")] ItAq, + [JsonProperty("IT_AR")] ItAr, + [JsonProperty("IT_AT")] ItAt, + [JsonProperty("IT_AV")] ItAv, + [JsonProperty("IT_BA")] ItBa, + [JsonProperty("IT_BG")] ItBg, + [JsonProperty("IT_BI")] ItBi, + [JsonProperty("IT_BL")] ItBl, + [JsonProperty("IT_BN")] ItBn, + [JsonProperty("IT_BO")] ItBo, + [JsonProperty("IT_BR")] ItBr, + [JsonProperty("IT_BS")] ItBs, + [JsonProperty("IT_BT")] ItBt, + [JsonProperty("IT_BZ")] ItBz, + [JsonProperty("IT_CA")] ItCa, + [JsonProperty("IT_CB")] ItCb, + [JsonProperty("IT_CE")] ItCe, + [JsonProperty("IT_CH")] ItCh, + [JsonProperty("IT_CI")] ItCi, + [JsonProperty("IT_CL")] ItCl, + [JsonProperty("IT_CN")] ItCn, + [JsonProperty("IT_CO")] ItCo, + [JsonProperty("IT_CR")] ItCr, + [JsonProperty("IT_CS")] ItCs, + [JsonProperty("IT_CT")] ItCt, + [JsonProperty("IT_CZ")] ItCz, + [JsonProperty("IT_EN")] ItEn, + [JsonProperty("IT_FC")] ItFc, + [JsonProperty("IT_FE")] ItFe, + [JsonProperty("IT_FG")] ItFg, + [JsonProperty("IT_FI")] ItFi, + [JsonProperty("IT_FM")] ItFm, + [JsonProperty("IT_FR")] ItFr, + [JsonProperty("IT_GE")] ItGe, + [JsonProperty("IT_GO")] ItGo, + [JsonProperty("IT_GR")] ItGr, + [JsonProperty("IT_IM")] ItIm, + [JsonProperty("IT_IS")] ItIs, + [JsonProperty("IT_KR")] ItKr, + [JsonProperty("IT_LC")] ItLc, + [JsonProperty("IT_LE")] ItLe, + [JsonProperty("IT_LI")] ItLi, + [JsonProperty("IT_LO")] ItLo, + [JsonProperty("IT_LT")] ItLt, + [JsonProperty("IT_LU")] ItLu, + [JsonProperty("IT_MB")] ItMb, + [JsonProperty("IT_MC")] ItMc, + [JsonProperty("IT_ME")] ItMe, + [JsonProperty("IT_MI")] ItMi, + [JsonProperty("IT_MN")] ItMn, + [JsonProperty("IT_MO")] ItMo, + [JsonProperty("IT_MS")] ItMs, + [JsonProperty("IT_MT")] ItMt, + [JsonProperty("IT_NA")] ItNa, + [JsonProperty("IT_NO")] ItNo, + [JsonProperty("IT_NU")] ItNu, + [JsonProperty("IT_OG")] ItOg, + [JsonProperty("IT_OR")] ItOr, + [JsonProperty("IT_OT")] ItOt, + [JsonProperty("IT_PA")] ItPa, + [JsonProperty("IT_PC")] ItPc, + [JsonProperty("IT_PD")] ItPd, + [JsonProperty("IT_PE")] ItPe, + [JsonProperty("IT_PG")] ItPg, + [JsonProperty("IT_PI")] ItPi, + [JsonProperty("IT_PN")] ItPn, + [JsonProperty("IT_PO")] ItPo, + [JsonProperty("IT_PR")] ItPr, + [JsonProperty("IT_PT")] ItPt, + [JsonProperty("IT_PU")] ItPu, + [JsonProperty("IT_PV")] ItPv, + [JsonProperty("IT_PZ")] ItPz, + [JsonProperty("IT_RA")] ItRa, + [JsonProperty("IT_RC")] ItRc, + [JsonProperty("IT_RE")] ItRe, + [JsonProperty("IT_RG")] ItRg, + [JsonProperty("IT_RI")] ItRi, + [JsonProperty("IT_RM")] ItRm, + [JsonProperty("IT_RN")] ItRn, + [JsonProperty("IT_RO")] ItRo, + [JsonProperty("IT_SA")] ItSa, + [JsonProperty("IT_SI")] ItSi, + [JsonProperty("IT_SO")] ItSo, + [JsonProperty("IT_SP")] ItSp, + [JsonProperty("IT_SR")] ItSr, + [JsonProperty("IT_SS")] ItSs, + [JsonProperty("IT_SV")] ItSv, + [JsonProperty("IT_TA")] ItTa, + [JsonProperty("IT_TE")] ItTe, + [JsonProperty("IT_TN")] ItTn, + [JsonProperty("IT_TO")] ItTo, + [JsonProperty("IT_TP")] ItTp, + [JsonProperty("IT_TR")] ItTr, + [JsonProperty("IT_TS")] ItTs, + [JsonProperty("IT_TV")] ItTv, + [JsonProperty("IT_UD")] ItUd, + [JsonProperty("IT_VA")] ItVa, + [JsonProperty("IT_VB")] ItVb, + [JsonProperty("IT_VC")] ItVc, + [JsonProperty("IT_VE")] ItVe, + [JsonProperty("IT_VI")] ItVi, + [JsonProperty("IT_VR")] ItVr, + [JsonProperty("IT_VS")] ItVs, + [JsonProperty("IT_VT")] ItVt, + [JsonProperty("IT_VV")] ItVv, + [JsonProperty("IVK")] Ivk, + [JsonProperty("JP_01")] Jp01, + [JsonProperty("JP_02")] Jp02, + [JsonProperty("JP_03")] Jp03, + [JsonProperty("JP_04")] Jp04, + [JsonProperty("JP_05")] Jp05, + [JsonProperty("JP_06")] Jp06, + [JsonProperty("JP_07")] Jp07, + [JsonProperty("JP_08")] Jp08, + [JsonProperty("JP_09")] Jp09, + [JsonProperty("JP_10")] Jp10, + [JsonProperty("JP_11")] Jp11, + [JsonProperty("JP_12")] Jp12, + [JsonProperty("JP_13")] Jp13, + [JsonProperty("JP_14")] Jp14, + [JsonProperty("JP_15")] Jp15, + [JsonProperty("JP_16")] Jp16, + [JsonProperty("JP_17")] Jp17, + [JsonProperty("JP_18")] Jp18, + [JsonProperty("JP_19")] Jp19, + [JsonProperty("JP_20")] Jp20, + [JsonProperty("JP_21")] Jp21, + [JsonProperty("JP_22")] Jp22, + [JsonProperty("JP_23")] Jp23, + [JsonProperty("JP_24")] Jp24, + [JsonProperty("JP_25")] Jp25, + [JsonProperty("JP_26")] Jp26, + [JsonProperty("JP_27")] Jp27, + [JsonProperty("JP_28")] Jp28, + [JsonProperty("JP_29")] Jp29, + [JsonProperty("JP_30")] Jp30, + [JsonProperty("JP_31")] Jp31, + [JsonProperty("JP_32")] Jp32, + [JsonProperty("JP_33")] Jp33, + [JsonProperty("JP_34")] Jp34, + [JsonProperty("JP_35")] Jp35, + [JsonProperty("JP_36")] Jp36, + [JsonProperty("JP_37")] Jp37, + [JsonProperty("JP_38")] Jp38, + [JsonProperty("JP_39")] Jp39, + [JsonProperty("JP_40")] Jp40, + [JsonProperty("JP_41")] Jp41, + [JsonProperty("JP_42")] Jp42, + [JsonProperty("JP_43")] Jp43, + [JsonProperty("JP_44")] Jp44, + [JsonProperty("JP_45")] Jp45, + [JsonProperty("JP_46")] Jp46, + [JsonProperty("JP_47")] Jp47, + [JsonProperty("KEC")] Kec, + [JsonProperty("KEN")] Ken, + [JsonProperty("KHL")] Khl, + [JsonProperty("KIR")] Kir, + [JsonProperty("KS")] Ks, + [JsonProperty("KTT")] Ktt, + [JsonProperty("KWL")] Kwl, + [JsonProperty("KY")] Ky, + [JsonProperty("LA")] La, + [JsonProperty("LAN")] Lan, + [JsonProperty("LBH")] Lbh, + [JsonProperty("LCE")] Lce, + [JsonProperty("LDS")] Lds, + [JsonProperty("LEC")] Lec, + [JsonProperty("LEW")] Lew, + [JsonProperty("LIN")] Lin, + [JsonProperty("LIV")] Liv, + [JsonProperty("LMV")] Lmv, + [JsonProperty("LND")] Lnd, + [JsonProperty("LRN")] Lrn, + [JsonProperty("LSB")] Lsb, + [JsonProperty("LU_D")] LuD, + [JsonProperty("LU_G")] LuG, + [JsonProperty("LU_L")] LuL, + [JsonProperty("LUT")] Lut, + [JsonProperty("MA")] Ma, + [JsonProperty("MAN")] Man, + [JsonProperty("MB")] Mb, + [JsonProperty("MD")] Md, + [JsonProperty("MDB")] Mdb, + [JsonProperty("MDS")] Mds, + [JsonProperty("MDW")] Mdw, + [JsonProperty("ME")] Me, + [JsonProperty("MFT")] Mft, + [JsonProperty("MGM")] Mgm, + [JsonProperty("MH")] Mh, + [JsonProperty("MI")] Mi, + [JsonProperty("MIK")] Mik, + [JsonProperty("MLN")] Mln, + [JsonProperty("MN")] Mn, + [JsonProperty("MO")] Mo, + [JsonProperty("MON")] Mon, + [JsonProperty("MP")] Mp, + [JsonProperty("MRT")] Mrt, + [JsonProperty("MRY")] Mry, + [JsonProperty("MS")] Ms, + [JsonProperty("MSY")] Msy, + [JsonProperty("MT")] Mt, + [JsonProperty("MTY")] Mty, + [JsonProperty("MX_AGU")] MxAgu, + [JsonProperty("MX_BCN")] MxBcn, + [JsonProperty("MX_BCS")] MxBcs, + [JsonProperty("MX_CAM")] MxCam, + [JsonProperty("MX_CHH")] MxChh, + [JsonProperty("MX_CHP")] MxChp, + [JsonProperty("MX_COA")] MxCoa, + [JsonProperty("MX_COL")] MxCol, + [JsonProperty("MX_DIF")] MxDif, + [JsonProperty("MX_DUR")] MxDur, + [JsonProperty("MX_GRO")] MxGro, + [JsonProperty("MX_GUA")] MxGua, + [JsonProperty("MX_HID")] MxHid, + [JsonProperty("MX_JAL")] MxJal, + [JsonProperty("MX_MEX")] MxMex, + [JsonProperty("MX_MIC")] MxMic, + [JsonProperty("MX_MOR")] MxMor, + [JsonProperty("MX_NAY")] MxNay, + [JsonProperty("MX_NLE")] MxNle, + [JsonProperty("MX_OAX")] MxOax, + [JsonProperty("MX_PUE")] MxPue, + [JsonProperty("MX_QUE")] MxQue, + [JsonProperty("MX_ROO")] MxRoo, + [JsonProperty("MX_SIN")] MxSin, + [JsonProperty("MX_SLP")] MxSlp, + [JsonProperty("MX_SON")] MxSon, + [JsonProperty("MX_TAB")] MxTab, + [JsonProperty("MX_TAM")] MxTam, + [JsonProperty("MX_TLA")] MxTla, + [JsonProperty("MX_VER")] MxVer, + [JsonProperty("MX_YUC")] MxYuc, + [JsonProperty("MX_ZAC")] MxZac, + [JsonProperty("MYL")] Myl, + [JsonProperty("NAY")] Nay, + [JsonProperty("NB")] Nb, + [JsonProperty("NBL")] Nbl, + [JsonProperty("NC")] Nc, + [JsonProperty("ND")] Nd, + [JsonProperty("NDN")] Ndn, + [JsonProperty("NE")] Ne, + [JsonProperty("NEL")] Nel, + [JsonProperty("NET")] Net, + [JsonProperty("NFK")] Nfk, + [JsonProperty("NGM")] Ngm, + [JsonProperty("NH")] Nh, + [JsonProperty("NJ")] Nj, + [JsonProperty("NL")] Nl, + [JsonProperty("NL_DR")] NlDr, + [JsonProperty("NL_FL")] NlFl, + [JsonProperty("NL_FR")] NlFr, + [JsonProperty("NL_GE")] NlGe, + [JsonProperty("NL_GR")] NlGr, + [JsonProperty("NLK")] Nlk, + [JsonProperty("NL_LI")] NlLi, + [JsonProperty("NLN")] Nln, + [JsonProperty("NL_NB")] NlNb, + [JsonProperty("NL_NH")] NlNh, + [JsonProperty("NL_OV")] NlOv, + [JsonProperty("NL_UT")] NlUt, + [JsonProperty("NL_ZE")] NlZe, + [JsonProperty("NL_ZH")] NlZh, + [JsonProperty("NM")] Nm, + [JsonProperty("NO_01")] No01, + [JsonProperty("NO_02")] No02, + [JsonProperty("NO_03")] No03, + [JsonProperty("NO_04")] No04, + [JsonProperty("NO_05")] No05, + [JsonProperty("NO_06")] No06, + [JsonProperty("NO_07")] No07, + [JsonProperty("NO_08")] No08, + [JsonProperty("NO_09")] No09, + [JsonProperty("NO_10")] No10, + [JsonProperty("NO_11")] No11, + [JsonProperty("NO_12")] No12, + [JsonProperty("NO_14")] No14, + [JsonProperty("NO_15")] No15, + [JsonProperty("NO_16")] No16, + [JsonProperty("NO_17")] No17, + [JsonProperty("NO_18")] No18, + [JsonProperty("NO_19")] No19, + [JsonProperty("NO_20")] No20, + [JsonProperty("NO_21")] No21, + [JsonProperty("NO_22")] No22, + [JsonProperty("NRY")] Nry, + [JsonProperty("NS")] Ns, + [JsonProperty("NSM")] Nsm, + [JsonProperty("NSW_AUS")] NswAus, + [JsonProperty("NT")] Nt, + [JsonProperty("NT_AUS")] NtAus, + [JsonProperty("NTA")] Nta, + [JsonProperty("NTH")] Nth, + [JsonProperty("NTL")] Ntl, + [JsonProperty("NTT")] Ntt, + [JsonProperty("NTY")] Nty, + [JsonProperty("NU")] Nu, + [JsonProperty("NV")] Nv, + [JsonProperty("NWM")] Nwm, + [JsonProperty("NWP")] Nwp, + [JsonProperty("NY")] Ny, + [JsonProperty("NYK")] Nyk, + [JsonProperty("NYM")] Nym, + [JsonProperty("OH")] Oh, + [JsonProperty("OK")] Ok, + [JsonProperty("OLD")] Old, + [JsonProperty("OMH")] Omh, + [JsonProperty("ON")] On, + [JsonProperty("OR")] Or, + [JsonProperty("ORK")] Ork, + [JsonProperty("OXF")] Oxf, + [JsonProperty("PA")] Pa, + [JsonProperty("PE")] Pe, + [JsonProperty("PEM")] Pem, + [JsonProperty("PKN")] Pkn, + [JsonProperty("PLY")] Ply, + [JsonProperty("POL")] Pol, + [JsonProperty("POR")] Por, + [JsonProperty("POW")] Pow, + [JsonProperty("PR")] Pr, + [JsonProperty("PTE")] Pte, + [JsonProperty("PW")] Pw, + [JsonProperty("QC")] Qc, + [JsonProperty("QLD_AUS")] QldAus, + [JsonProperty("RCC")] Rcc, + [JsonProperty("RCH")] Rch, + [JsonProperty("RCT")] Rct, + [JsonProperty("RDB")] Rdb, + [JsonProperty("RDG")] Rdg, + [JsonProperty("RFW")] Rfw, + [JsonProperty("RI")] Ri, + [JsonProperty("RIC")] Ric, + [JsonProperty("ROT")] Rot, + [JsonProperty("RUT")] Rut, + [JsonProperty("SA_AUS")] SaAus, + [JsonProperty("SAW")] Saw, + [JsonProperty("SAY")] Say, + [JsonProperty("SC")] Sc, + [JsonProperty("SCB")] Scb, + [JsonProperty("SD")] Sd, + [JsonProperty("SFK")] Sfk, + [JsonProperty("SFT")] Sft, + [JsonProperty("SGC")] Sgc, + [JsonProperty("SGM")] Sgm, + [JsonProperty("SHF")] Shf, + [JsonProperty("SHN")] Shn, + [JsonProperty("SHR")] Shr, + [JsonProperty("SK")] Sk, + [JsonProperty("SKP")] Skp, + [JsonProperty("SLF")] Slf, + [JsonProperty("SLG")] Slg, + [JsonProperty("SLK")] Slk, + [JsonProperty("SOL")] Sol, + [JsonProperty("SOM")] Som, + [JsonProperty("SOS")] Sos, + [JsonProperty("SRY")] Sry, + [JsonProperty("STB")] Stb, + [JsonProperty("STE")] Ste, + [JsonProperty("STG")] Stg, + [JsonProperty("STH")] Sth, + [JsonProperty("STN")] Stn, + [JsonProperty("STS")] Sts, + [JsonProperty("STT")] Stt, + [JsonProperty("STY")] Sty, + [JsonProperty("SWA")] Swa, + [JsonProperty("SWD")] Swd, + [JsonProperty("SWK")] Swk, + [JsonProperty("SYK")] Syk, + [JsonProperty("TAM")] Tam, + [JsonProperty("TAS_AUS")] TasAus, + [JsonProperty("TFW")] Tfw, + [JsonProperty("THR")] Thr, + [JsonProperty("TN")] Tn, + [JsonProperty("TOB")] Tob, + [JsonProperty("TOF")] Tof, + [JsonProperty("TRF")] Trf, + [JsonProperty("TWH")] Twh, + [JsonProperty("TWR")] Twr, + [JsonProperty("TX")] Tx, + [JsonProperty("TYR")] Tyr, + [JsonProperty("UT")] Ut, + [JsonProperty("VA")] Va, + [JsonProperty("VGL")] Vgl, + [JsonProperty("VI")] Vi, + [JsonProperty("VIC_AUS")] VicAus, + [JsonProperty("VT")] Vt, + [JsonProperty("WA")] Wa, + [JsonProperty("WA_AUS")] WaAus, + [JsonProperty("WAR")] War, + [JsonProperty("WBK")] Wbk, + [JsonProperty("WDU")] Wdu, + [JsonProperty("WFT")] Wft, + [JsonProperty("WGM")] Wgm, + [JsonProperty("WGN")] Wgn, + [JsonProperty("WI")] Wi, + [JsonProperty("WIL")] Wil, + [JsonProperty("WIS")] Wis, + [JsonProperty("WKF")] Wkf, + [JsonProperty("WLL")] Wll, + [JsonProperty("WLN")] Wln, + [JsonProperty("WLV")] Wlv, + [JsonProperty("WMD")] Wmd, + [JsonProperty("WND")] Wnd, + [JsonProperty("WNM")] Wnm, + [JsonProperty("WOK")] Wok, + [JsonProperty("WOR")] Wor, + [JsonProperty("WRL")] Wrl, + [JsonProperty("WRT")] Wrt, + [JsonProperty("WRX")] Wrx, + [JsonProperty("WSM")] Wsm, + [JsonProperty("WSX")] Wsx, + [JsonProperty("WV")] Wv, + [JsonProperty("WY")] Wy, + [JsonProperty("WYK")] Wyk, + [JsonProperty("YOR")] Yor, + [JsonProperty("YT")] Yt, + [JsonProperty("ZET")] Zet, + } + + public static class StateProvince1Extension + { + public static string Value(this StateProvince1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static StateProvince1 ToEnum(this string value) + { + foreach (var field in typeof(StateProvince1).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 StateProvince1) + { + return (StateProvince1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum StateProvince1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyResponse.cs new file mode 100644 index 000000000..8623533fc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyResponse.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// A survey response. + /// + public class SurveyResponse + { + /// + /// The unique identifier of the survey. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The method used to capture the survey response. + /// + [JsonProperty("responseMethod")] + public string? ResponseMethod { get; set; } + + /// + /// The list of question and answers for a survey. + /// + [JsonProperty("responses")] + public List? Responses { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyResponseJson.cs deleted file mode 100644 index f25b4b476..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyResponseJson.cs +++ /dev/null @@ -1,40 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System.Collections.Generic; - - /// - /// A survey response. - /// - public class SurveyResponseJson - { - /// - /// The unique identifier of the survey. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The method used to capture the survey response. - /// - [JsonProperty("responseMethod")] - public string? ResponseMethod { get; set; } - - /// - /// The list of question and answers for a survey. - /// - [JsonProperty("responses")] - public List? Responses { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs index de6f8a844..6202aed37 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs @@ -67,7 +67,7 @@ public class TravelBidAmenity public string? Description { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs index 46dd6fa4b..5cd3cf4e0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs @@ -31,7 +31,7 @@ public class TravelBidDiscount public long? Discount { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs index 4742297f2..e1ab07272 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs @@ -63,7 +63,7 @@ public class TravelBidFairSeason public List? Rates { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs index 2f1da9011..df7c6f8cc 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs @@ -55,7 +55,7 @@ public class TravelBidFairSeasonRate public long? Allotment { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.cs index 8900ab293..450818844 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.cs @@ -55,7 +55,7 @@ public class TravelBidPolicy public string? Description { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs index 6bfd5df81..f5cb9d680 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs @@ -37,7 +37,7 @@ public class TravelBidRoom public long? Order { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs index 5c38398a6..fcda705b7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs @@ -63,7 +63,7 @@ public class TravelBidSeason public List? WeekendRates { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs index 5f19f8de7..f7e7b09c6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs @@ -67,7 +67,7 @@ public class TravelBidSeasonRate public long? Allotment { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs index 9b499ae7e..4f5c957b4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs @@ -49,7 +49,7 @@ public class TravelBidTaxAndFee public string? Notes { get; set; } /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). /// [JsonProperty("status")] public BidItemStatusType? Status { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsOverview.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsOverview.cs new file mode 100644 index 000000000..02ad24a05 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsOverview.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An overview of venue details containing key identifiers and display properties. + /// + public class VenueDetailsOverview + { + /// + /// Venue ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// Venue name. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatch.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatch.cs new file mode 100644 index 000000000..e1c84e512 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatch.cs @@ -0,0 +1,144 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this 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; + + /// + /// Partial update payload for venue details. + /// + public class VenueDetailsPatch + { + /// + /// Type of venue.
+ ///
+ /// Values:
+ /// - `AQUARIUM_ZOO` — Aquarium/Zoo
+ /// - `ARENA_STADIUM` — Arena/Stadium
+ /// - `BANQUET_FACILITY` — Banquet Facility
+ /// - `BAR_CLUB` — Bar/Club
+ /// - `BLANK` — Blank
+ /// - `BOUTIQUE_HOTEL` — Boutique Hotel
+ /// - `CONFERENCE_CENTER` — Conference Center
+ /// - `CONVENTION_CENTER` — Convention Center
+ /// - `CORPORATE_OFFICE_SPACE` — Corporate Office Space
+ /// - `CVB` — CVB
+ /// - `DMC` — Destination Management Company
+ /// - `EDUCATIONAL_FACILITY` — Educational Facility
+ /// - `ENTERTAINMENT_VENUE` — Entertainment Venue
+ /// - `EXPOSITION_CENTER` — Exposition Center
+ /// - `GALLERY_MUSEUM` — Gallery/Museum
+ /// - `GOLF_COURSE` — Golf Course
+ /// - `HOTEL` — Hotel
+ /// - `INTERNAL_VENUE` — Internal Venue
+ /// - `LUXURY_HOTEL` — Luxury Hotel
+ /// - `MOVIE_THEATRE` — Movie Theatre
+ /// - `RESORT` — Resort
+ /// - `RESTAURANT` — Restaurant
+ /// - `SPECIAL_EVENT_VENUE` — Special Event Venue. + ///
+ [JsonProperty("type")] + public VenueType? Type { get; set; } + + /// + /// Time zone identifier for the venue. See the supported timezones reference for valid values.
+ /// Supported Timezones + ///
+ [JsonProperty("timeZone")] + public string? TimeZone { get; set; } = null; + + /// + /// Venue brand. Brands vary by venue type. + /// + [JsonProperty("brand")] + public string? Brand { get; set; } = null; + + [JsonProperty("chainScale")] + public VenueDetailsPatchChainScale? ChainScale { get; set; } = null; + + /// + /// Primary phone number for the venue. + /// + [JsonProperty("mainPhoneNumber")] + public string? MainPhoneNumber { get; set; } + + /// + /// Primary fax number for the venue. + /// + [JsonProperty("mainFaxNumber")] + public string? MainFaxNumber { get; set; } + + /// + /// Sales phone number of the venue. + /// + [JsonProperty("salesPhoneNumber")] + public string? SalesPhoneNumber { get; set; } = null; + + /// + /// Sales fax number of the venue. + /// + [JsonProperty("salesFaxNumber")] + public string? SalesFaxNumber { get; set; } = null; + + /// + /// Toll-free number of the venue. + /// + [JsonProperty("tollFreeNumber")] + public string? TollFreeNumber { get; set; } = null; + + /// + /// Website address. + /// + [JsonProperty("websiteAddress")] + public string? WebsiteAddress { get; set; } = null; + + [JsonProperty("currency")] + public VenueDetailsPatchCurrency? Currency { get; set; } = null; + + /// + /// Venue opening date as free-form text. + /// + [JsonProperty("openingDate")] + public string? OpeningDate { get; set; } = null; + + /// + /// Venue description. + /// + [JsonProperty("description")] + public string? Description { get; set; } = null; + + /// + /// Additional information about the venue. + /// + [JsonProperty("additionalInformation")] + public string? AdditionalInformation { get; set; } = null; + + /// + /// Cancellation policy for bookings at the venue. + /// + [JsonProperty("cancellationPolicy")] + public string? CancellationPolicy { get; set; } = null; + + /// + /// Location classifications. + /// + [JsonProperty("locationTypes")] + public List? LocationTypes { get; set; } = null; + + /// + /// Venue address information. + /// + [JsonProperty("address")] + public VenueDetailsPatchAddress? Address { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchAddress.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchAddress.cs new file mode 100644 index 000000000..c69cf0765 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchAddress.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Venue address information. + /// + public class VenueDetailsPatchAddress + { + /// + /// Street address line 1. + /// + [JsonProperty("streetAddress1")] + public string? StreetAddress1 { get; set; } = null; + + /// + /// Street address line 2. + /// + [JsonProperty("streetAddress2")] + public string? StreetAddress2 { get; set; } = null; + + /// + /// City. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// The state province code used for contact information. + /// + [JsonProperty("stateProvince")] + public StateProvince1? StateProvince { get; set; } + + /// + /// ZIP or postal code. + /// + [JsonProperty("zipPostalCode")] + public string? ZipPostalCode { get; set; } = null; + + /// + /// ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + /// + [JsonProperty("country")] + public Country? Country { get; set; } + + /// + /// Directions or instructions for getting to the venue. + /// + [JsonProperty("directions")] + public string? Directions { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchChainScale.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchChainScale.cs new file mode 100644 index 000000000..9fcdf4928 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchChainScale.cs @@ -0,0 +1,77 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// A market segment classification of a venue chain based on Average Daily Rate and other factors.
+ ///
+ /// Values:
+ /// - `BLANK` — Blank
+ /// - `ECONOMYCHAINS` — Economy Chains
+ /// - `INDEPENDENTS` — Independents
+ /// - `LUXURY_CHAINS` — Luxury Chains
+ /// - `MIDSCALE_CHAINS` — Midscale Chains
+ /// - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
+ /// - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
+ /// - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
+ /// - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
+ /// - `UPSCALE_CHAINS` — Upscale Chains. + ///
+ public enum VenueDetailsPatchChainScale + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("ECONOMYCHAINS")] Economychains, + [JsonProperty("INDEPENDENTS")] Independents, + [JsonProperty("LUXURY_CHAINS")] LuxuryChains, + [JsonProperty("MIDSCALE_CHAINS")] MidscaleChains, + [JsonProperty("MIDSCALE_WITH_FB_CHAINS")] MidscaleWithFbChains, + [JsonProperty("MIDSCALE_WITHOUT_FB_CHAINS")] MidscaleWithoutFbChains, + [JsonProperty("UPPER_MIDSCALE_CHAINS")] UpperMidscaleChains, + [JsonProperty("UPPER_UPSCALE_CHAINS")] UpperUpscaleChains, + [JsonProperty("UPSCALE_CHAINS")] UpscaleChains, + } + + public static class VenueDetailsPatchChainScaleExtension + { + public static string Value(this VenueDetailsPatchChainScale value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueDetailsPatchChainScale ToEnum(this string value) + { + foreach (var field in typeof(VenueDetailsPatchChainScale).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 VenueDetailsPatchChainScale) + { + return (VenueDetailsPatchChainScale)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueDetailsPatchChainScale"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchCurrency.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchCurrency.cs new file mode 100644 index 000000000..68bb3278f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueDetailsPatchCurrency.cs @@ -0,0 +1,222 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The ISO 4217 standard format currency code used for RFPs. + /// + public enum VenueDetailsPatchCurrency + { + [JsonProperty("USD")] Usd, + [JsonProperty("CAD")] Cad, + [JsonProperty("AUD")] Aud, + [JsonProperty("EUR")] Eur, + [JsonProperty("GBP")] Gbp, + [JsonProperty("HKD")] Hkd, + [JsonProperty("NZD")] Nzd, + [JsonProperty("AED")] Aed, + [JsonProperty("NOK")] Nok, + [JsonProperty("INR")] Inr, + [JsonProperty("MXN")] Mxn, + [JsonProperty("SEK")] Sek, + [JsonProperty("DKK")] Dkk, + [JsonProperty("MYR")] Myr, + [JsonProperty("JPY")] Jpy, + [JsonProperty("SGD")] Sgd, + [JsonProperty("THB")] Thb, + [JsonProperty("IDR")] Idr, + [JsonProperty("KRW")] Krw, + [JsonProperty("CNY")] Cny, + [JsonProperty("TWD")] Twd, + [JsonProperty("RUB")] Rub, + [JsonProperty("CHF")] Chf, + [JsonProperty("CZK")] Czk, + [JsonProperty("HUF")] Huf, + [JsonProperty("QAR")] Qar, + [JsonProperty("ZAR")] Zar, + [JsonProperty("RON")] Ron, + [JsonProperty("HRK")] Hrk, + [JsonProperty("TRY")] Try, + [JsonProperty("BRL")] Brl, + [JsonProperty("PHP")] Php, + [JsonProperty("SAR")] Sar, + [JsonProperty("PLN")] Pln, + [JsonProperty("ARS")] Ars, + [JsonProperty("AWG")] Awg, + [JsonProperty("AZN")] Azn, + [JsonProperty("BSD")] Bsd, + [JsonProperty("BBD")] Bbd, + [JsonProperty("BMD")] Bmd, + [JsonProperty("CLP")] Clp, + [JsonProperty("COP")] Cop, + [JsonProperty("CRC")] Crc, + [JsonProperty("DOP")] Dop, + [JsonProperty("XCD")] Xcd, + [JsonProperty("ILS")] Ils, + [JsonProperty("JMD")] Jmd, + [JsonProperty("LVL")] Lvl, + [JsonProperty("LTL")] Ltl, + [JsonProperty("MDL")] Mdl, + [JsonProperty("ANG")] Ang, + [JsonProperty("OMR")] Omr, + [JsonProperty("TTD")] Ttd, + [JsonProperty("UAH")] Uah, + [JsonProperty("UYU")] Uyu, + [JsonProperty("RSD")] Rsd, + [JsonProperty("AFN")] Afn, + [JsonProperty("AMD")] Amd, + [JsonProperty("AOA")] Aoa, + [JsonProperty("BAM")] Bam, + [JsonProperty("BDT")] Bdt, + [JsonProperty("BGN")] Bgn, + [JsonProperty("BHD")] Bhd, + [JsonProperty("BOB")] Bob, + [JsonProperty("DZD")] Dzd, + [JsonProperty("EEK")] Eek, + [JsonProperty("EGP")] Egp, + [JsonProperty("FJD")] Fjd, + [JsonProperty("GTQ")] Gtq, + [JsonProperty("HNL")] Hnl, + [JsonProperty("ISK")] Isk, + [JsonProperty("JOD")] Jod, + [JsonProperty("KYD")] Kyd, + [JsonProperty("KZT")] Kzt, + [JsonProperty("LBP")] Lbp, + [JsonProperty("MAD")] Mad, + [JsonProperty("NGN")] Ngn, + [JsonProperty("NIO")] Nio, + [JsonProperty("ESP")] Esp, + [JsonProperty("FRF")] Frf, + [JsonProperty("PAB")] Pab, + [JsonProperty("PEN")] Pen, + [JsonProperty("PKR")] Pkr, + [JsonProperty("PYG")] Pyg, + [JsonProperty("SVC")] Svc, + [JsonProperty("SYP")] Syp, + [JsonProperty("VEF")] Vef, + [JsonProperty("VND")] Vnd, + [JsonProperty("XPF")] Xpf, + [JsonProperty("GYD")] Gyd, + [JsonProperty("MOP")] Mop, + [JsonProperty("PGK")] Pgk, + [JsonProperty("XOF")] Xof, + [JsonProperty("XAF")] Xaf, + [JsonProperty("BZD")] Bzd, + [JsonProperty("BYR")] Byr, + [JsonProperty("BWP")] Bwp, + [JsonProperty("BND")] Bnd, + [JsonProperty("BIF")] Bif, + [JsonProperty("KHR")] Khr, + [JsonProperty("CVE")] Cve, + [JsonProperty("KMF")] Kmf, + [JsonProperty("CDF")] Cdf, + [JsonProperty("DJF")] Djf, + [JsonProperty("ERN")] Ern, + [JsonProperty("FKP")] Fkp, + [JsonProperty("GMD")] Gmd, + [JsonProperty("GEL")] Gel, + [JsonProperty("GHS")] Ghs, + [JsonProperty("GIP")] Gip, + [JsonProperty("GNF")] Gnf, + [JsonProperty("HTG")] Htg, + [JsonProperty("KES")] Kes, + [JsonProperty("KWD")] Kwd, + [JsonProperty("KGS")] Kgs, + [JsonProperty("LAK")] Lak, + [JsonProperty("LRD")] Lrd, + [JsonProperty("MKD")] Mkd, + [JsonProperty("MGA")] Mga, + [JsonProperty("MWK")] Mwk, + [JsonProperty("MVR")] Mvr, + [JsonProperty("MRO")] Mro, + [JsonProperty("MUR")] Mur, + [JsonProperty("MNT")] Mnt, + [JsonProperty("MZN")] Mzn, + [JsonProperty("MMK")] Mmk, + [JsonProperty("NAD")] Nad, + [JsonProperty("NPR")] Npr, + [JsonProperty("RWF")] Rwf, + [JsonProperty("SHP")] Shp, + [JsonProperty("WST")] Wst, + [JsonProperty("STD")] Std, + [JsonProperty("SLL")] Sll, + [JsonProperty("SBD")] Sbd, + [JsonProperty("SOS")] Sos, + [JsonProperty("LKR")] Lkr, + [JsonProperty("SRD")] Srd, + [JsonProperty("SZL")] Szl, + [JsonProperty("TOP")] Top, + [JsonProperty("TND")] Tnd, + [JsonProperty("UGX")] Ugx, + [JsonProperty("UZS")] Uzs, + [JsonProperty("VUV")] Vuv, + [JsonProperty("YER")] Yer, + [JsonProperty("ZMK")] Zmk, + [JsonProperty("ZWD")] Zwd, + [JsonProperty("SR")] Sr, + [JsonProperty("ETB")] Etb, + [JsonProperty("GH")] Gh, + [JsonProperty("GWP")] Gwp, + [JsonProperty("IQD")] Iqd, + [JsonProperty("IRR")] Irr, + [JsonProperty("KPW")] Kpw, + [JsonProperty("LSL")] Lsl, + [JsonProperty("ROL")] Rol, + [JsonProperty("SDG")] Sdg, + [JsonProperty("SKK")] Skk, + [JsonProperty("TJS")] Tjs, + [JsonProperty("TMT")] Tmt, + [JsonProperty("TZS")] Tzs, + [JsonProperty("ALL")] All, + [JsonProperty("BTN")] Btn, + [JsonProperty("CUP")] Cup, + [JsonProperty("LD")] Ld, + [JsonProperty("SCR")] Scr, + [JsonProperty("ZMW")] Zmw, + [JsonProperty("ZWL")] Zwl, + } + + public static class VenueDetailsPatchCurrencyExtension + { + public static string Value(this VenueDetailsPatchCurrency value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueDetailsPatchCurrency ToEnum(this string value) + { + foreach (var field in typeof(VenueDetailsPatchCurrency).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 VenueDetailsPatchCurrency) + { + return (VenueDetailsPatchCurrency)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueDetailsPatchCurrency"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatch.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatch.cs new file mode 100644 index 000000000..5b22c1ee0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatch.cs @@ -0,0 +1,96 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Partial update payload for venue facility information. Only fields present in the request body are updated; omitted fields remain unchanged. Set leaf fields to `null` to unset them. For grouped objects, update or clear each child field explicitly instead of setting the entire group to `null`. Field applicability varies by venue type; values supplied for fields that do not apply to the venue's type will be rejected. + /// + public class VenueFacilityPatch + { + /// + /// Total number of meeting rooms at the venue. + /// + [JsonProperty("numberOfMeetingRooms")] + public long? NumberOfMeetingRooms { get; set; } = null; + + /// + /// Facility space measurements at the venue. + /// + [JsonProperty("space")] + public VenueFacilityPatchSpace? Space { get; set; } + + /// + /// Sleeping room inventory at the venue. + /// + [JsonProperty("sleeping")] + public VenueFacilityPatchSleeping? Sleeping { get; set; } + + /// + /// Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + /// + [JsonProperty("singleRate")] + public VenueFacilityPatchSingleRate? SingleRate { get; set; } + + /// + /// Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + /// + [JsonProperty("doubleRate")] + public VenueFacilityPatchDoubleRate? DoubleRate { get; set; } + + /// + /// Tax rate applied at the venue, expressed as a percentage. + /// + [JsonProperty("taxRate")] + public double? TaxRate { get; set; } = null; + + /// + /// Occupancy rate at the venue, expressed as a percentage. + /// + [JsonProperty("occupancyRate")] + public double? OccupancyRate { get; set; } = null; + + /// + /// Four-digit year the venue was built. + /// + [JsonProperty("yearBuilt")] + public long? YearBuilt { get; set; } = null; + + /// + /// Four-digit year the venue was last renovated. + /// + [JsonProperty("yearRenovated")] + public long? YearRenovated { get; set; } = null; + + /// + /// Distance from the nearest airport. `unit` is required when `distance` is provided. + /// + [JsonProperty("proximityFromAirport")] + public VenueFacilityPatchProximityFromAirport? ProximityFromAirport { get; set; } + + /// + /// Free-form description of any facility restrictions at the venue. + /// + [JsonProperty("restrictions")] + public string? Restrictions { get; set; } = null; + + /// + /// Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + /// + [JsonProperty("maximumCapacity")] + public VenueFacilityPatchMaximumCapacity? MaximumCapacity { get; set; } + + [JsonProperty("eventInsurance")] + public VenueFacilityPatchEventInsurance? EventInsurance { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.cs new file mode 100644 index 000000000..89568eeca --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchDistanceMeasurementUnit.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Unit of measurement for distance.
+ ///
+ /// Values:
+ /// - `MILES` — Miles
+ /// - `KILOMETERS` — Kilometers. + ///
+ public enum VenueFacilityPatchDistanceMeasurementUnit + { + [JsonProperty("MILES")] Miles, + [JsonProperty("KILOMETERS")] Kilometers, + } + + public static class VenueFacilityPatchDistanceMeasurementUnitExtension + { + public static string Value(this VenueFacilityPatchDistanceMeasurementUnit value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueFacilityPatchDistanceMeasurementUnit ToEnum(this string value) + { + foreach (var field in typeof(VenueFacilityPatchDistanceMeasurementUnit).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 VenueFacilityPatchDistanceMeasurementUnit) + { + return (VenueFacilityPatchDistanceMeasurementUnit)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueFacilityPatchDistanceMeasurementUnit"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchDoubleRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchDoubleRate.cs new file mode 100644 index 000000000..85c85c2a2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchDoubleRate.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + /// + public class VenueFacilityPatchDoubleRate + { + /// + /// Lowest published rate for a double-occupancy room. + /// + [JsonProperty("low")] + public double? Low { get; set; } = null; + + /// + /// Highest published rate for a double-occupancy room. + /// + [JsonProperty("high")] + public double? High { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchEventInsurance.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchEventInsurance.cs new file mode 100644 index 000000000..4b1383db3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchEventInsurance.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `BLANK` — Indicates no selection, leaves the field blank
+ /// - `REQUIRED` — Required
+ /// - `MAY_BE_REQUIRED` — May Be Required
+ /// - `NOT_REQUIRED` — Not Required. + ///
+ public enum VenueFacilityPatchEventInsurance + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("REQUIRED")] Required, + [JsonProperty("MAY_BE_REQUIRED")] MayBeRequired, + [JsonProperty("NOT_REQUIRED")] NotRequired, + } + + public static class VenueFacilityPatchEventInsuranceExtension + { + public static string Value(this VenueFacilityPatchEventInsurance value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueFacilityPatchEventInsurance ToEnum(this string value) + { + foreach (var field in typeof(VenueFacilityPatchEventInsurance).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 VenueFacilityPatchEventInsurance) + { + return (VenueFacilityPatchEventInsurance)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueFacilityPatchEventInsurance"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchMaximumCapacity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchMaximumCapacity.cs new file mode 100644 index 000000000..39a8f9351 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchMaximumCapacity.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + /// + public class VenueFacilityPatchMaximumCapacity + { + /// + /// Maximum seated capacity at the venue. + /// + [JsonProperty("seated")] + public long? Seated { get; set; } = null; + + /// + /// Maximum standing capacity at the venue. + /// + [JsonProperty("standing")] + public long? Standing { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchMeasurementUnit.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchMeasurementUnit.cs new file mode 100644 index 000000000..3453e6209 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchMeasurementUnit.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Unit of measurement for area or space.
+ ///
+ /// Values:
+ /// - `SQUARE_FEET` — Square Feet
+ /// - `SQUARE_METERS` — Square Meters. + ///
+ public enum VenueFacilityPatchMeasurementUnit + { + [JsonProperty("SQUARE_FEET")] SquareFeet, + [JsonProperty("SQUARE_METERS")] SquareMeters, + } + + public static class VenueFacilityPatchMeasurementUnitExtension + { + public static string Value(this VenueFacilityPatchMeasurementUnit value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueFacilityPatchMeasurementUnit ToEnum(this string value) + { + foreach (var field in typeof(VenueFacilityPatchMeasurementUnit).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 VenueFacilityPatchMeasurementUnit) + { + return (VenueFacilityPatchMeasurementUnit)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueFacilityPatchMeasurementUnit"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchProximityFromAirport.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchProximityFromAirport.cs new file mode 100644 index 000000000..7f58d6d1d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchProximityFromAirport.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Distance from the nearest airport. `unit` is required when `distance` is provided. + /// + public class VenueFacilityPatchProximityFromAirport + { + /// + /// Distance from the nearest airport, expressed in `unit`. Up to four digits. + /// + [JsonProperty("distance")] + public double? Distance { get; set; } = null; + + [JsonProperty("unit")] + public VenueFacilityPatchDistanceMeasurementUnit? Unit { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSingleRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSingleRate.cs new file mode 100644 index 000000000..1c619cf57 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSingleRate.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + /// + public class VenueFacilityPatchSingleRate + { + /// + /// Lowest published rate for a single-occupancy room. + /// + [JsonProperty("low")] + public double? Low { get; set; } = null; + + /// + /// Highest published rate for a single-occupancy room. + /// + [JsonProperty("high")] + public double? High { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSleeping.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSleeping.cs new file mode 100644 index 000000000..b8a538aa9 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSleeping.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Sleeping room inventory at the venue. + /// + public class VenueFacilityPatchSleeping + { + /// + /// Total number of sleeping rooms at the venue. + /// + [JsonProperty("totalRooms")] + public long? TotalRooms { get; set; } = null; + + /// + /// Total number of suites at the venue. + /// + [JsonProperty("suites")] + public long? Suites { get; set; } = null; + + /// + /// Total number of single-occupancy rooms at the venue. + /// + [JsonProperty("singleRooms")] + public long? SingleRooms { get; set; } = null; + + /// + /// Total number of double-occupancy rooms at the venue. + /// + [JsonProperty("doubleRooms")] + public long? DoubleRooms { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSpace.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSpace.cs new file mode 100644 index 000000000..f82e19b8f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueFacilityPatchSpace.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this 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; + + /// + /// Facility space measurements at the venue. + /// + public class VenueFacilityPatchSpace + { + [JsonProperty("unitOfMeasurement")] + public VenueFacilityPatchMeasurementUnit? UnitOfMeasurement { get; set; } = null; + + /// + /// Total meeting room space at the venue. + /// + [JsonProperty("totalMeetingRoomSpace")] + public long? TotalMeetingRoomSpace { get; set; } = null; + + /// + /// Total exhibit space at the venue. + /// + [JsonProperty("totalExhibitSpace")] + public long? TotalExhibitSpace { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueType.cs new file mode 100644 index 000000000..a78fa86b3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueType.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Type of venue.
+ ///
+ /// Values:
+ /// - `AQUARIUM_ZOO` — Aquarium/Zoo
+ /// - `ARENA_STADIUM` — Arena/Stadium
+ /// - `BANQUET_FACILITY` — Banquet Facility
+ /// - `BAR_CLUB` — Bar/Club
+ /// - `BLANK` — Blank
+ /// - `BOUTIQUE_HOTEL` — Boutique Hotel
+ /// - `CONFERENCE_CENTER` — Conference Center
+ /// - `CONVENTION_CENTER` — Convention Center
+ /// - `CORPORATE_OFFICE_SPACE` — Corporate Office Space
+ /// - `CVB` — CVB
+ /// - `DMC` — Destination Management Company
+ /// - `EDUCATIONAL_FACILITY` — Educational Facility
+ /// - `ENTERTAINMENT_VENUE` — Entertainment Venue
+ /// - `EXPOSITION_CENTER` — Exposition Center
+ /// - `GALLERY_MUSEUM` — Gallery/Museum
+ /// - `GOLF_COURSE` — Golf Course
+ /// - `HOTEL` — Hotel
+ /// - `INTERNAL_VENUE` — Internal Venue
+ /// - `LUXURY_HOTEL` — Luxury Hotel
+ /// - `MOVIE_THEATRE` — Movie Theatre
+ /// - `RESORT` — Resort
+ /// - `RESTAURANT` — Restaurant
+ /// - `SPECIAL_EVENT_VENUE` — Special Event Venue. + ///
+ public enum VenueType + { + [JsonProperty("AQUARIUM_ZOO")] AquariumZoo, + [JsonProperty("ARENA_STADIUM")] ArenaStadium, + [JsonProperty("BANQUET_FACILITY")] BanquetFacility, + [JsonProperty("BAR_CLUB")] BarClub, + [JsonProperty("BLANK")] Blank, + [JsonProperty("BOUTIQUE_HOTEL")] BoutiqueHotel, + [JsonProperty("CONFERENCE_CENTER")] ConferenceCenter, + [JsonProperty("CONVENTION_CENTER")] ConventionCenter, + [JsonProperty("CORPORATE_OFFICE_SPACE")] CorporateOfficeSpace, + [JsonProperty("CVB")] Cvb, + [JsonProperty("DMC")] Dmc, + [JsonProperty("EDUCATIONAL_FACILITY")] EducationalFacility, + [JsonProperty("ENTERTAINMENT_VENUE")] EntertainmentVenue, + [JsonProperty("EXPOSITION_CENTER")] ExpositionCenter, + [JsonProperty("GALLERY_MUSEUM")] GalleryMuseum, + [JsonProperty("GOLF_COURSE")] GolfCourse, + [JsonProperty("HOTEL")] Hotel, + [JsonProperty("INTERNAL_VENUE")] InternalVenue, + [JsonProperty("LUXURY_HOTEL")] LuxuryHotel, + [JsonProperty("MOVIE_THEATRE")] MovieTheatre, + [JsonProperty("RESORT")] Resort, + [JsonProperty("RESTAURANT")] Restaurant, + [JsonProperty("SPECIAL_EVENT_VENUE")] SpecialEventVenue, + } + + public static class VenueTypeExtension + { + public static string Value(this VenueType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueType ToEnum(this string value) + { + foreach (var field in typeof(VenueType).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 VenueType) + { + return (VenueType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf1.cs index ec7c72140..2bb32dc2f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf1.cs @@ -13,26 +13,20 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// Represents an error response with no additional details. + /// Details of a location. /// public class ZeroAllOf1 { /// - /// The HTTP status code representing the error. + /// The unique ID representing the location. /// - [JsonProperty("code")] - public long Code { get; set; } = default!; + [JsonProperty("id")] + public string Id { get; set; } = default!; /// - /// A brief description of the error. + /// The name of the location. /// - [JsonProperty("message")] - public string Message { get; set; } = default!; - - /// - /// The target resource of the error. - /// - [JsonProperty("target")] - public string? Target { get; set; } + [JsonProperty("name")] + public string Name { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf2.cs index a961625a4..7e0fcf763 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf2.cs @@ -9,24 +9,130 @@ #nullable enable namespace Cvent.SDK.Models.Components { + using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; + using System; + using System.Collections.Generic; /// - /// Details of a location. + /// Details of an event appointment. /// public class ZeroAllOf2 { /// - /// The unique ID representing the location. + /// The unique ID representing the appointment. /// [JsonProperty("id")] public string Id { get; set; } = default!; /// - /// The name of the location. + /// The unique appointment code in Cvent or unique reference id of an appointment in the external systems. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// The name of the appointment. /// [JsonProperty("name")] public string Name { get; set; } = default!; + + /// + /// The description of the appointment. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// The ISO 8601 formatted start date/time of the appointment. + /// + [JsonProperty("start")] + public DateTime Start { get; set; } = default!; + + /// + /// The ISO 8601 formatted end date/time of the appointment. + /// + [JsonProperty("end")] + public DateTime End { get; set; } = default!; + + /// + /// Denotes the status of an appointment. + /// + [JsonProperty("status")] + public AppointmentStatusJson? Status { get; set; } + + /// + /// The location of the appointment. + /// + [JsonProperty("location")] + public LocationAllOf? Location { get; set; } + + /// + /// The type of the appointment. + /// + [JsonProperty("type")] + public TypeAllOf Type { get; set; } = default!; + + /// + /// The ISO 8601 zoned date time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The identifier of the user that created this record. + /// + [JsonProperty("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The ISO 8601 zoned date time when this record was updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The identifier of the user that last updated this record. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// The reference to the related entity. Contains only the ID of the related entity. + /// + [JsonProperty("appointmentEvent")] + public UuidJson? AppointmentEvent { get; set; } + + /// + /// Collection of attendees participating in this appointment, and their related details. + /// + [JsonProperty("participants")] + public List? Participants { get; set; } + + /// + /// True indicates participants will be automatically marked as accepted for the appointment. + /// + [JsonProperty("autoAcceptAttendees")] + public bool? AutoAcceptAttendees { get; set; } + + /// + /// True indicates that existing schedule rules were enforced when the appointment was created. + /// + [JsonProperty("enforceScheduleRules")] + public bool? EnforceScheduleRules { get; set; } + + /// + /// This field is deprecated please use - lastModified. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("modified")] + public DateTime? Modified { get; set; } + + /// + /// True indicates the appointment has been logically deleted. + /// + [JsonProperty("deleted")] + public bool? Deleted { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf3.cs index 939784d8b..1bc0af598 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf3.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf3.cs @@ -9,130 +9,30 @@ #nullable enable namespace Cvent.SDK.Models.Components { - using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; - using System; - using System.Collections.Generic; /// - /// Details of an event appointment. + /// Represents an error response with no additional details. /// public class ZeroAllOf3 { /// - /// The unique ID representing the appointment. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The unique appointment code in Cvent or unique reference id of an appointment in the external systems. + /// The HTTP status code representing the error. /// [JsonProperty("code")] - public string? Code { get; set; } - - /// - /// The name of the appointment. - /// - [JsonProperty("name")] - public string Name { get; set; } = default!; - - /// - /// The description of the appointment. - /// - [JsonProperty("description")] - public string? Description { get; set; } - - /// - /// The ISO 8601 formatted start date/time of the appointment. - /// - [JsonProperty("start")] - public DateTime Start { get; set; } = default!; - - /// - /// The ISO 8601 formatted end date/time of the appointment. - /// - [JsonProperty("end")] - public DateTime End { get; set; } = default!; - - /// - /// Denotes the status of an appointment. - /// - [JsonProperty("status")] - public AppointmentStatusJson? Status { get; set; } - - /// - /// The location of the appointment. - /// - [JsonProperty("location")] - public LocationAllOf? Location { get; set; } - - /// - /// The type of the appointment. - /// - [JsonProperty("type")] - public TypeAllOf Type { get; set; } = default!; - - /// - /// The ISO 8601 zoned date time when this record was created. - /// - [JsonProperty("created")] - public DateTime? Created { get; set; } - - /// - /// The identifier of the user that created this record. - /// - [JsonProperty("createdBy")] - public string? CreatedBy { get; set; } - - /// - /// The ISO 8601 zoned date time when this record was updated. - /// - [JsonProperty("lastModified")] - public DateTime? LastModified { get; set; } - - /// - /// The identifier of the user that last updated this record. - /// - [JsonProperty("lastModifiedBy")] - public string? LastModifiedBy { get; set; } - - /// - /// The reference to the related entity. Contains only the ID of the related entity. - /// - [JsonProperty("appointmentEvent")] - public UuidJson? AppointmentEvent { get; set; } - - /// - /// Collection of attendees participating in this appointment, and their related details. - /// - [JsonProperty("participants")] - public List? Participants { get; set; } - - /// - /// True indicates participants will be automatically marked as accepted for the appointment. - /// - [JsonProperty("autoAcceptAttendees")] - public bool? AutoAcceptAttendees { get; set; } - - /// - /// True indicates that existing schedule rules were enforced when the appointment was created. - /// - [JsonProperty("enforceScheduleRules")] - public bool? EnforceScheduleRules { get; set; } + public long Code { get; set; } = default!; /// - /// This field is deprecated please use - lastModified. + /// A brief description of the error. /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("modified")] - public DateTime? Modified { get; set; } + [JsonProperty("message")] + public string Message { get; set; } = default!; /// - /// True indicates the appointment has been logically deleted. + /// The target resource of the error. /// - [JsonProperty("deleted")] - public bool? Deleted { get; set; } + [JsonProperty("target")] + public string? Target { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf4.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf4.cs index e6ae2e472..3d4f04f6a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf4.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf4.cs @@ -9,36 +9,44 @@ #nullable enable namespace Cvent.SDK.Models.Components { + using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; + using System; /// - /// Booth staff for an activity. + /// A transaction reconciliation record. /// public class ZeroAllOf4 { /// - /// The unique identifier of the exhibitor booth staff. + /// The identifier of reconciled budget item. /// - [JsonProperty("id")] - public string? Id { get; set; } + [JsonProperty("budgetItem")] + public BudgetItemAllOf? BudgetItem { get; set; } /// - /// The first name of the booth staff that captured the lead. + /// This is used to denote the reconciliation status for a transaction. /// - [JsonProperty("firstName")] - public string? FirstName { get; set; } + [JsonProperty("status")] + public ReconciliationStatusJson? Status { get; set; } /// - /// The last name of the booth staff that captured the lead. + /// Reconciliation amount. /// - [JsonProperty("lastName")] - public string? LastName { get; set; } + [JsonProperty("amount")] + public double? Amount { get; set; } /// - /// The email address of the booth staff that captured the lead. + /// Reconciled by user. /// - [JsonProperty("email")] - public string? Email { get; set; } + [JsonProperty("reconciledBy")] + public string? ReconciledBy { get; set; } + + /// + /// The ISO 8601 zoned date and time for Reconciled date. + /// + [JsonProperty("reconciledDate")] + public DateTime? ReconciledDate { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf5.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf5.cs index 2bcd9e67d..d278eedb2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf5.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf5.cs @@ -13,20 +13,32 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// The question that was answered. + /// Represents an error response for the checkin APIs that includes a unique id. /// public class ZeroAllOf5 { /// - /// The unique identifier of the question. + /// The unique identifier for the error response. /// [JsonProperty("id")] public string? Id { get; set; } /// - /// Question text. + /// The HTTP status code representing the error. /// - [JsonProperty("text")] - public string? Text { get; set; } + [JsonProperty("code")] + public long Code { get; set; } = default!; + + /// + /// A brief description of the error. + /// + [JsonProperty("message")] + public string Message { get; set; } = default!; + + /// + /// The target resource of the error. + /// + [JsonProperty("target")] + public string? Target { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf6.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf6.cs index 2347803e7..5c7cfb754 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf6.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf6.cs @@ -15,38 +15,56 @@ namespace Cvent.SDK.Models.Components using System; /// - /// A transaction reconciliation record. + /// Information about housing event with key information, providing a summarized view. /// public class ZeroAllOf6 { /// - /// The identifier of reconciled budget item. + /// The unique ID of the housing event. /// - [JsonProperty("budgetItem")] - public BudgetItemAllOf? BudgetItem { get; set; } + [JsonProperty("id")] + public long Id { get; set; } = default!; /// - /// This is used to denote the reconciliation status for a transaction. + /// Event name. /// - [JsonProperty("status")] - public ReconciliationStatusJson? Status { get; set; } + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. + /// + [JsonProperty("start")] + public DateTime Start { get; set; } = default!; /// - /// Reconciliation amount. + /// The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. /// - [JsonProperty("amount")] - public double? Amount { get; set; } + [JsonProperty("end")] + public DateTime End { get; set; } = default!; /// - /// Reconciled by user. + /// The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. /// - [JsonProperty("reconciledBy")] - public string? ReconciledBy { get; set; } + [JsonProperty("cutOff")] + public DateTime CutOff { get; set; } = default!; /// - /// The ISO 8601 zoned date and time for Reconciled date. + /// The event timezone from the Olson specification. /// - [JsonProperty("reconciledDate")] - public DateTime? ReconciledDate { get; set; } + [JsonProperty("timeZone")] + public string TimeZone { get; set; } = default!; + + /// + /// Event venue details. + /// + [JsonProperty("venue")] + public VenueJson1 Venue { get; set; } = default!; + + /// + /// Housing event status. + /// + [JsonProperty("status")] + public HousingEventStatusesJson Status { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf7.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf7.cs deleted file mode 100644 index b263dacad..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf7.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// Represents an error response for the checkin APIs that includes a unique id. - /// - public class ZeroAllOf7 - { - /// - /// The unique identifier for the error response. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The HTTP status code representing the error. - /// - [JsonProperty("code")] - public long Code { get; set; } = default!; - - /// - /// A brief description of the error. - /// - [JsonProperty("message")] - public string Message { get; set; } = default!; - - /// - /// The target resource of the error. - /// - [JsonProperty("target")] - public string? Target { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf8.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf8.cs deleted file mode 100644 index e0c32ab1b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf8.cs +++ /dev/null @@ -1,70 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Information about housing event with key information, providing a summarized view. - /// - public class ZeroAllOf8 - { - /// - /// The unique ID of the housing event. - /// - [JsonProperty("id")] - public long Id { get; set; } = default!; - - /// - /// Event name. - /// - [JsonProperty("name")] - public string Name { get; set; } = default!; - - /// - /// The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. - /// - [JsonProperty("start")] - public DateTime Start { get; set; } = default!; - - /// - /// The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - /// - [JsonProperty("end")] - public DateTime End { get; set; } = default!; - - /// - /// The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. - /// - [JsonProperty("cutOff")] - public DateTime CutOff { get; set; } = default!; - - /// - /// The event timezone from the Olson specification. - /// - [JsonProperty("timeZone")] - public string TimeZone { get; set; } = default!; - - /// - /// Event venue details. - /// - [JsonProperty("venue")] - public VenueJson1 Venue { get; set; } = default!; - - /// - /// Housing event status. - /// - [JsonProperty("status")] - public HousingEventStatusesJson Status { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse.cs index 24092c7a3..40bca677c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse.cs @@ -40,7 +40,7 @@ public class ErrorResponsePayload /// Additional details of cascading error messages. ///
[JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } /// @@ -63,7 +63,7 @@ public class ErrorResponse : CventSDKException public string? Target { get; set; } [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse.Payload.Details instead.")] - public List? Details { get; set; } + public List? Details { get; set; } private static string ErrorMessage(ErrorResponsePayload payload, string body) { diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs index a3a5bc23d..e781bdf61 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs @@ -41,7 +41,7 @@ public class SegmentsErrorResponsePayload /// Additional details of cascading error messages. /// [JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } /// /// Business validation code for bad requests. @@ -70,7 +70,7 @@ public class SegmentsErrorResponse : CventSDKException public string? Target { get; set; } [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use SegmentsErrorResponse.Payload.Details instead.")] - public List? Details { get; set; } + public List? Details { get; set; } [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use SegmentsErrorResponse.Payload.ValidationCode instead.")] public ValidationCode? ValidationCode { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestRequest.cs index 6051821c4..6c7ce8845 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestRequest.cs @@ -31,6 +31,6 @@ public class CreateMeetingRequestRequest /// Up to **5 meeting requests** can be created per call. /// [SpeakeasyMetadata("request:mediaType=application/json")] - public List RequestBody { get; set; } = default!; + public List RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestResponse.cs index aae862cb0..2a88d1f81 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRequestResponse.cs @@ -22,6 +22,6 @@ public class CreateMeetingRequestResponse /// /// Meeting request(s) were successfully created. /// - public List? MeetingRequestBulkResponse { get; set; } + public List? MeetingRequestBulkResponse { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRoomRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRoomRequest.cs new file mode 100644 index 000000000..d875574d7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRoomRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class CreateMeetingRoomRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/json")] + public MeetingRoom MeetingRoom { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRoomResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRoomResponse.cs new file mode 100644 index 000000000..82c5a51ea --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateMeetingRoomResponse.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + public class CreateMeetingRoomResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Meeting room created successfully. + /// + public ExistingMeetingRoom? ExistingMeetingRoom { get; set; } + + public Dictionary> Headers { get; set; } = new Dictionary>(); + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirActualDetailRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirActualDetailRequest.cs index 38104244e..6a018d7ff 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirActualDetailRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirActualDetailRequest.cs @@ -16,6 +16,12 @@ namespace Cvent.SDK.Models.Requests public class GetAirActualDetailRequest { + /// + /// ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -82,11 +88,5 @@ public class GetAirActualDetailRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// ID of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirRequestsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirRequestsRequest.cs index 2bd980a87..e1d8e8bd9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirRequestsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAirRequestsRequest.cs @@ -16,6 +16,12 @@ namespace Cvent.SDK.Models.Requests public class GetAirRequestsRequest { + /// + /// ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -82,11 +88,5 @@ public class GetAirRequestsRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=expand")] public List? Expand { get; set; } - - /// - /// ID of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAlternateTravelAnswersRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAlternateTravelAnswersRequest.cs index f254dcc26..a4f03950d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAlternateTravelAnswersRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAlternateTravelAnswersRequest.cs @@ -14,6 +14,12 @@ namespace Cvent.SDK.Models.Requests public class GetAlternateTravelAnswersRequest { + /// + /// ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -55,11 +61,5 @@ public class GetAlternateTravelAnswersRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// ID of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetBudgetAllocationsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetBudgetAllocationsRequest.cs index 27bebc07b..45a33379b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetBudgetAllocationsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetBudgetAllocationsRequest.cs @@ -14,6 +14,12 @@ namespace Cvent.SDK.Models.Requests public class GetBudgetAllocationsRequest { + /// + /// Unique ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -61,11 +67,5 @@ public class GetBudgetAllocationsRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// Unique ID of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventFeaturesRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventFeaturesRequest.cs index 02c7b6d28..9ac7098a2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventFeaturesRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventFeaturesRequest.cs @@ -13,6 +13,12 @@ namespace Cvent.SDK.Models.Requests public class GetEventFeaturesRequest { + /// + /// Unique Id of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// The maximum number of records to return per page. /// @@ -45,11 +51,5 @@ public class GetEventFeaturesRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// Unique Id of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyQuestionsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyQuestionsRequest.cs index fc09c5f38..eb3bf7775 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyQuestionsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyQuestionsRequest.cs @@ -14,6 +14,18 @@ namespace Cvent.SDK.Models.Requests public class GetEventSurveyQuestionsRequest { + /// + /// Id of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + + /// + /// Id of a survey or Id of a chapter in event survey. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] + public string SurveyId { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -38,17 +50,5 @@ public class GetEventSurveyQuestionsRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=token")] public string? Token { get; set; } - - /// - /// Id of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; - - /// - /// Id of a survey or Id of a chapter in event survey. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] - public string SurveyId { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyResponsesRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyResponsesRequest.cs index aab038559..26d394f61 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyResponsesRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveyResponsesRequest.cs @@ -14,6 +14,18 @@ namespace Cvent.SDK.Models.Requests public class GetEventSurveyResponsesRequest { + /// + /// Id of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + + /// + /// Id of a survey or Id of a chapter in event survey. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] + public string SurveyId { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -56,17 +68,5 @@ public class GetEventSurveyResponsesRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// Id of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; - - /// - /// Id of a survey or Id of a chapter in event survey. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] - public string SurveyId { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveysRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveysRequest.cs index a5f5d9e91..c7eccecf5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveysRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetEventSurveysRequest.cs @@ -14,6 +14,12 @@ namespace Cvent.SDK.Models.Requests public class GetEventSurveysRequest { + /// + /// Id of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -58,11 +64,5 @@ public class GetEventSurveysRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// Id of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetHotelRequestsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetHotelRequestsRequest.cs index a7d88584e..00103a99a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetHotelRequestsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetHotelRequestsRequest.cs @@ -16,6 +16,12 @@ namespace Cvent.SDK.Models.Requests public class GetHotelRequestsRequest { + /// + /// ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -82,11 +88,5 @@ public class GetHotelRequestsRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// ID of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingReservationRequestsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingReservationRequestsRequest.cs index 59a1ca5c8..ef3be9a59 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingReservationRequestsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingReservationRequestsRequest.cs @@ -14,6 +14,12 @@ namespace Cvent.SDK.Models.Requests public class GetHousingReservationRequestsRequest { + /// + /// ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -55,11 +61,5 @@ public class GetHousingReservationRequestsRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } - - /// - /// ID of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewRequest.cs new file mode 100644 index 000000000..d0bb9b973 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewRequest.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Utils; + + public class GetMeetingRoomOverviewRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// Unique identifier for a meeting room. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=meetingRoomId")] + public string MeetingRoomId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewResponse.cs new file mode 100644 index 000000000..fca2b4c74 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetMeetingRoomOverviewResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class GetMeetingRoomOverviewResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved the meeting room overview. + /// + public MeetingRoomOverview? MeetingRoomOverview { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrderItemsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrderItemsRequest.cs index 98d9d1dc2..9d41243e7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrderItemsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrderItemsRequest.cs @@ -71,7 +71,7 @@ public class GetOrderItemsRequest public string? Filter { get; set; } /// - /// This sets whether or not to fetch deleted order items in the response. If set to true, the response will include records for the deleted order items. + /// When `true`, includes soft-deleted records in the response. Defaults to `false`. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=deleted")] public bool? Deleted { get; set; } = false; diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrdersRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrdersRequest.cs index 6eb200286..3a74ac4af 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrdersRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetOrdersRequest.cs @@ -69,7 +69,7 @@ public class GetOrdersRequest public string? Filter { get; set; } /// - /// This sets whether or not to fetch deleted orders in the response. If set to true, the response will include records for the deleted orders. + /// When `true`, includes soft-deleted records in the response. Defaults to `false`. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=deleted")] public bool? Deleted { get; set; } = false; diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyEmailTemplatesRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyEmailTemplatesRequest.cs index daa26ef6e..59c8ef543 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyEmailTemplatesRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyEmailTemplatesRequest.cs @@ -13,6 +13,12 @@ namespace Cvent.SDK.Models.Requests public class GetStandardSurveyEmailTemplatesRequest { + /// + /// Id of a survey or Id of a chapter in event survey. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] + public string SurveyId { get; set; } = default!; + /// /// The maximum number of records to return per page. /// @@ -25,11 +31,5 @@ public class GetStandardSurveyEmailTemplatesRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=token")] public string? Token { get; set; } - - /// - /// Id of a survey or Id of a chapter in event survey. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] - public string SurveyId { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyQuestionsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyQuestionsRequest.cs index fe0e83cb3..b931ad166 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyQuestionsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetStandardSurveyQuestionsRequest.cs @@ -14,6 +14,12 @@ namespace Cvent.SDK.Models.Requests public class GetStandardSurveyQuestionsRequest { + /// + /// Id of a survey or Id of a chapter in event survey. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] + public string SurveyId { get; set; } = default!; + /// /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. /// @@ -38,11 +44,5 @@ public class GetStandardSurveyQuestionsRequest /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=token")] public string? Token { get; set; } - - /// - /// Id of a survey or Id of a chapter in event survey. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId")] - public string SurveyId { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewRequest.cs new file mode 100644 index 000000000..5c82be97b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewRequest.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Utils; + + public class GetVenueDetailsOverviewRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewResponse.cs new file mode 100644 index 000000000..9bed1d6f8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueDetailsOverviewResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class GetVenueDetailsOverviewResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved the venue details overview. + /// + public VenueDetailsOverview? VenueDetailsOverview { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesRequest.cs index 32682e33c..88b16e6ab 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesRequest.cs @@ -113,7 +113,7 @@ public class ListAttendeesRequest /// | guest | `eq`, `ne` | |
/// | group.leader | `eq`, `ne` | |
/// | group.id | `eq`, `ne` | |
- /// | unsubscribed | `eq`, `ne` | **DEPRECATED**: Please use PUT /attendees/{id}/email-subscriptions instead |
+ /// | unsubscribed | `eq`, `ne` | Read-only. To update an attendee's subscription status, use PUT /attendees/{id}/email-subscriptions |
/// | registeredAt | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | |
/// | registrationLastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | |
/// | invitedBy | `eq`, `ne` | |
diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListBulkJobResultRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListBulkJobResultRequest.cs index 6a480995c..2dce268ad 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListBulkJobResultRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListBulkJobResultRequest.cs @@ -54,7 +54,11 @@ public class ListBulkJobResultRequest /// * not equal: ne
///
/// The following fields are filterable:
- /// * failed (eq|ne). + /// * failed (eq|ne)
+ ///
+ /// **Note:** this filters for the top-level HTTP status of the target operation.
+ /// For operations that return 207 (Multi-Status), filter results may not capture all failed records.
+ /// Inspect individual record statuses in the `data` field for a complete picture. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventWeblinksRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventWeblinksRequest.cs index 4dc94345e..1f44c23fc 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventWeblinksRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventWeblinksRequest.cs @@ -13,6 +13,12 @@ namespace Cvent.SDK.Models.Requests public class ListEventWeblinksRequest { + /// + /// Unique Id of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + /// /// 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. @@ -31,11 +37,5 @@ public class ListEventWeblinksRequest ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit")] public long? Limit { get; set; } = 100; - - /// - /// Unique Id of an event. - /// - [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] - public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsRequest.cs new file mode 100644 index 000000000..c43ecd228 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsRequest.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Utils; + + public class ListMeetingRoomsOverviewsRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// The maximum number of records to return per page. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit")] + public long? Limit { get; set; } = 100; + + /// + /// The continuation token returned from a previous request. This must be a valid UUID v4 if provided. This will override any other pageable parameters provided. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=token")] + public string? Token { get; set; } + + /// + /// Use filter query parameters to limit results to data that matches your criteria. See Filters for details. Supported fields and operators are listed below:
+ ///
+ /// * `hiddenOnProfile` (`eq`). + ///
+ [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] + public string? Filter { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsResponse.cs new file mode 100644 index 000000000..35a9dfe18 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListMeetingRoomsOverviewsResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class ListMeetingRoomsOverviewsResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved overview of meeting rooms. + /// + public MeetingRoomsOverviewResponse? MeetingRoomsOverviewResponse { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchMeetingRoomRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchMeetingRoomRequest.cs new file mode 100644 index 000000000..ac14b85a2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchMeetingRoomRequest.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class PatchMeetingRoomRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// Unique identifier for a meeting room. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=meetingRoomId")] + public string MeetingRoomId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/merge-patch+json")] + public PatchMeetingRoom PatchMeetingRoom { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchMeetingRoomResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchMeetingRoomResponse.cs new file mode 100644 index 000000000..9610448eb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchMeetingRoomResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class PatchMeetingRoomResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the meeting room. + /// + public PatchMeetingRoom? PatchMeetingRoom { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueDetailsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueDetailsRequest.cs new file mode 100644 index 000000000..19b5518fa --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueDetailsRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class PatchVenueDetailsRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/merge-patch+json")] + public VenueDetailsPatch VenueDetailsPatch { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueDetailsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueDetailsResponse.cs new file mode 100644 index 000000000..5cf03301c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueDetailsResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class PatchVenueDetailsResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the venue details. The response contains only the fields that were provided in the request payload. + /// + public VenueDetailsPatch? VenueDetailsPatch { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueFacilityRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueFacilityRequest.cs new file mode 100644 index 000000000..9ea8b99d5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueFacilityRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class PatchVenueFacilityRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/merge-patch+json")] + public VenueFacilityPatch VenueFacilityPatch { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueFacilityResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueFacilityResponse.cs new file mode 100644 index 000000000..72821bc55 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchVenueFacilityResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class PatchVenueFacilityResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the venue facility information. The response contains only the fields that were provided in the request payload. + /// + public VenueFacilityPatch? VenueFacilityPatch { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestRequest.cs index 2394c4eda..ac77fe722 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestRequest.cs @@ -31,6 +31,6 @@ public class UpdateMeetingRequestRequest /// Up to **5 meeting requests** can be updated per call. /// [SpeakeasyMetadata("request:mediaType=application/json")] - public List RequestBody { get; set; } = default!; + public List RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestResponse.cs index 4f974fd79..418c1be30 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRequestResponse.cs @@ -22,6 +22,6 @@ public class UpdateMeetingRequestResponse /// /// Meeting request was successfully updated. /// - public List? MeetingRequestBulkResponse { get; set; } + public List? MeetingRequestBulkResponse { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRoomRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRoomRequest.cs new file mode 100644 index 000000000..8c114a86f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRoomRequest.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class UpdateMeetingRoomRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// Unique identifier for a meeting room. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=meetingRoomId")] + public string MeetingRoomId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/json")] + public ExistingMeetingRoomInput ExistingMeetingRoom { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRoomResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRoomResponse.cs new file mode 100644 index 000000000..6d3151235 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateMeetingRoomResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class UpdateMeetingRoomResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the meeting room. + /// + public ExistingMeetingRoom? ExistingMeetingRoom { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueDetailsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueDetailsRequest.cs new file mode 100644 index 000000000..368be300b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueDetailsRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class UpdateVenueDetailsRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/json")] + public ExistingVenueDetailsInput ExistingVenueDetails { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueDetailsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueDetailsResponse.cs new file mode 100644 index 000000000..534785873 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueDetailsResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class UpdateVenueDetailsResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the venue details. + /// + public ExistingVenueDetails? ExistingVenueDetails { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueFacilityRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueFacilityRequest.cs new file mode 100644 index 000000000..f02633f1c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueFacilityRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class UpdateVenueFacilityRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/json")] + public ExistingVenueFacilityInput ExistingVenueFacility { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueFacilityResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueFacilityResponse.cs new file mode 100644 index 000000000..321bc95af --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueFacilityResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class UpdateVenueFacilityResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the venue facility information. + /// + public ExistingVenueFacility? ExistingVenueFacility { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/SDKConfig.cs b/packages/csharp/src/Cvent/SDK/SDKConfig.cs index f47bee9e2..a84691859 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.2 2.859.2 ea Cvent.SDK"; + UserAgent = "speakeasy-sdk/csharp 1.6.0 2.859.2 ea Cvent.SDK"; SecuritySource = null; Hooks = new SDKHooks(); RetryConfig = null; diff --git a/packages/csharp/src/Cvent/SDK/Surveys.cs b/packages/csharp/src/Cvent/SDK/Surveys.cs index 8c6e0ebf7..3abebf81b 100644 --- a/packages/csharp/src/Cvent/SDK/Surveys.cs +++ b/packages/csharp/src/Cvent/SDK/Surveys.cs @@ -788,12 +788,12 @@ public async Task GetEventSurveysAsync( } var newRequest = new GetEventSurveysRequest { + Id = request.Id, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, - Filter = request.Filter, - Id = request.Id + Filter = request.Filter }; return await GetEventSurveysAsync( @@ -986,12 +986,12 @@ public async Task GetEventSurveyQuestionsAsync( } var newRequest = new GetEventSurveyQuestionsRequest { + Id = request.Id, + SurveyId = request.SurveyId, After = request.After, Before = request.Before, Limit = request.Limit, - Token = nextCursor, - Id = request.Id, - SurveyId = request.SurveyId + Token = nextCursor }; return await GetEventSurveyQuestionsAsync( @@ -1899,13 +1899,13 @@ public async Task GetEventSurveyResponsesAsync( } var newRequest = new GetEventSurveyResponsesRequest { + Id = request.Id, + SurveyId = request.SurveyId, After = request.After, Before = request.Before, Limit = request.Limit, Token = nextCursor, - Filter = request.Filter, - Id = request.Id, - SurveyId = request.SurveyId + Filter = request.Filter }; return await GetEventSurveyResponsesAsync( @@ -3260,9 +3260,9 @@ public async Task GetStandardSurveyEmai } var newRequest = new GetStandardSurveyEmailTemplatesRequest { + SurveyId = request.SurveyId, Limit = request.Limit, - Token = nextCursor, - SurveyId = request.SurveyId + Token = nextCursor }; return await GetStandardSurveyEmailTemplatesAsync( @@ -3455,11 +3455,11 @@ public async Task GetStandardSurveyQuestions } var newRequest = new GetStandardSurveyQuestionsRequest { + SurveyId = request.SurveyId, After = request.After, Before = request.Before, Limit = request.Limit, - Token = nextCursor, - SurveyId = request.SurveyId + Token = nextCursor }; return await GetStandardSurveyQuestionsAsync( diff --git a/packages/csharp/src/Cvent/SDK/TravelRFPs.cs b/packages/csharp/src/Cvent/SDK/TravelRFPs.cs index f62b613a0..7cf95596c 100644 --- a/packages/csharp/src/Cvent/SDK/TravelRFPs.cs +++ b/packages/csharp/src/Cvent/SDK/TravelRFPs.cs @@ -1171,7 +1171,7 @@ public async Task ListTravelProposalsAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProposals", new List { "business-transient/proposals:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProposals", new List { "business-transient/proposals:read", "business-travel/proposals:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1365,7 +1365,7 @@ public async Task ListTravelProposalBidsAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProposalBids", new List { "business-transient/bids:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProposalBids", new List { "business-transient/bids:read", "business-travel/bids:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1562,7 +1562,7 @@ public async Task GetTravelProposalBidAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "GetTravelProposalBid", new List { "business-transient/bids:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "GetTravelProposalBid", new List { "business-transient/bids:read", "business-travel/bids:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1728,7 +1728,7 @@ public async Task GetTravelProposalAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "GetTravelProposal", new List { "business-transient/proposals:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "GetTravelProposal", new List { "business-transient/proposals:read", "business-travel/proposals:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) diff --git a/packages/csharp/src/Cvent/SDK/Utils/Constants.cs b/packages/csharp/src/Cvent/SDK/Utils/Constants.cs index 2536ca9f6..3a742c43d 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.2"; + public const string SdkVersion = "1.6.0"; /// /// The version of the SDK generator used to create this SDK. diff --git a/packages/csharp/src/Cvent/SDK/VenueMeetingRooms.cs b/packages/csharp/src/Cvent/SDK/VenueMeetingRooms.cs new file mode 100644 index 000000000..59b1705bf --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/VenueMeetingRooms.cs @@ -0,0 +1,1001 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK +{ + using Cvent.SDK.Hooks; + using Cvent.SDK.Models.Components; + using Cvent.SDK.Models.Errors; + using Cvent.SDK.Models.Requests; + using Cvent.SDK.Utils; + using Cvent.SDK.Utils.Retries; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; + + /// + /// Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. + /// + public interface IVenueMeetingRooms + { + /// + /// Create Meeting Room. + /// + /// + /// Create a new meeting room for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task CreateMeetingRoomAsync( + CreateMeetingRoomRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// List Meeting Rooms Overviews. + /// + /// + /// Retrieve a paginated list of meeting room overviews for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task ListMeetingRoomsOverviewsAsync( + ListMeetingRoomsOverviewsRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Update Meeting Room. + /// + /// + /// Update a meeting room for the specified venue, replacing the existing meeting room data. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task UpdateMeetingRoomAsync( + UpdateMeetingRoomRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Patch Meeting Room. + /// + /// + /// Partially update a meeting room for the specified venue.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged.
+ /// - All changes are applied atomically. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task PatchMeetingRoomAsync( + PatchMeetingRoomRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Get Meeting Room Overview. + /// + /// + /// Retrieve an overview of a specific meeting room for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad 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 GetMeetingRoomOverviewAsync( + GetMeetingRoomOverviewRequest request, + RetryConfig? retryConfig = null + ); + } + + /// + /// Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. + /// + public class VenueMeetingRooms : IVenueMeetingRooms + { + /// + /// SDK Configuration. + /// + /// + public SDKConfig SDKConfiguration { get; private set; } + + public VenueMeetingRooms(SDKConfig config) + { + SDKConfiguration = config; + } + + /// + /// Create Meeting Room. + /// + /// + /// Create a new meeting room for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task CreateMeetingRoomAsync( + CreateMeetingRoomRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/meeting-rooms", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "MeetingRoom", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "createMeetingRoom", new List { "venue/meeting-rooms:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 201) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingMeetingRoom obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingMeetingRoom.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new CreateMeetingRoomResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + }, + Headers = Utilities.CollectHeaders(httpResponse.Headers) + }; + response.ExistingMeetingRoom = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// List Meeting Rooms Overviews. + /// + /// + /// Retrieve a paginated list of meeting room overviews for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task ListMeetingRoomsOverviewsAsync( + ListMeetingRoomsOverviewsRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/meeting-rooms/overviews", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "listMeetingRoomsOverviews", new List { "venue/meeting-room-overviews:read" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + MeetingRoomsOverviewResponse obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into MeetingRoomsOverviewResponse.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new ListMeetingRoomsOverviewsResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.MeetingRoomsOverviewResponse = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Update Meeting Room. + /// + /// + /// Update a meeting room for the specified venue, replacing the existing meeting room data. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task UpdateMeetingRoomAsync( + UpdateMeetingRoomRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/meeting-rooms/{meetingRoomId}", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Put, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "ExistingMeetingRoom", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "updateMeetingRoom", new List { "venue/meeting-rooms:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingMeetingRoom obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingMeetingRoom.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new UpdateMeetingRoomResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.ExistingMeetingRoom = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Patch Meeting Room. + /// + /// + /// Partially update a meeting room for the specified venue.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged.
+ /// - All changes are applied atomically. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task PatchMeetingRoomAsync( + PatchMeetingRoomRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/meeting-rooms/{meetingRoomId}", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "PatchMeetingRoom", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "patchMeetingRoom", new List { "venue/meeting-rooms:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + PatchMeetingRoom obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into PatchMeetingRoom.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new PatchMeetingRoomResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.PatchMeetingRoom = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Get Meeting Room Overview. + /// + /// + /// Retrieve an overview of a specific meeting room for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad 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 GetMeetingRoomOverviewAsync( + GetMeetingRoomOverviewRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/meeting-rooms/{meetingRoomId}/overview", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getMeetingRoomOverview", new List { "venue/meeting-room-overviews:read" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + MeetingRoomOverview obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into MeetingRoomOverview.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new GetMeetingRoomOverviewResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.MeetingRoomOverview = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/VenueProfiles.cs b/packages/csharp/src/Cvent/SDK/VenueProfiles.cs new file mode 100644 index 000000000..b1174e6b7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/VenueProfiles.cs @@ -0,0 +1,1036 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK +{ + using Cvent.SDK.Hooks; + using Cvent.SDK.Models.Components; + using Cvent.SDK.Models.Errors; + using Cvent.SDK.Models.Requests; + using Cvent.SDK.Utils; + using Cvent.SDK.Utils.Retries; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; + + /// + /// Manage venue profile details including type, contact information, address, and other venue properties. + /// + public interface IVenueProfiles + { + /// + /// Update Venue Details. + /// + /// + /// Update venue details for the specified venue, replacing the existing venue details data. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task UpdateVenueDetailsAsync( + UpdateVenueDetailsRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Patch Venue Details. + /// + /// + /// Partially updates the specified venue's details using JSON Merge Patch, as defined in RFC 7396.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - If any part of the patch fails, the entire request will fail.
+ ///
+ /// **Array Handling:**
+ /// - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates.
+ /// - If an array property is not included in the payload, no updates are made to that field.
+ /// - If an empty array is sent, it replaces the existing array with an empty array. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task PatchVenueDetailsAsync( + PatchVenueDetailsRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Get Venue Details Overview. + /// + /// + /// Retrieve an overview of venue details for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad 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 GetVenueDetailsOverviewAsync( + GetVenueDetailsOverviewRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Update Venue Facility. + /// + /// + /// Update the facility information for the specified venue, replacing all existing values with those provided in the request body.
+ ///
+ /// Field applicability varies by venue type:
+ /// - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task UpdateVenueFacilityAsync( + UpdateVenueFacilityRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Patch Venue Facility. + /// + /// + /// Partially update the facility information for the specified venue using JSON Merge Patch, as defined in RFC 7396.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - If any part of the patch fails, the entire request will fail.
+ /// - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided.
+ ///
+ /// Field applicability varies by venue type:
+ /// - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task PatchVenueFacilityAsync( + PatchVenueFacilityRequest request, + RetryConfig? retryConfig = null + ); + } + + /// + /// Manage venue profile details including type, contact information, address, and other venue properties. + /// + public class VenueProfiles : IVenueProfiles + { + /// + /// SDK Configuration. + /// + /// + public SDKConfig SDKConfiguration { get; private set; } + + public VenueProfiles(SDKConfig config) + { + SDKConfiguration = config; + } + + /// + /// Update Venue Details. + /// + /// + /// Update venue details for the specified venue, replacing the existing venue details data. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task UpdateVenueDetailsAsync( + UpdateVenueDetailsRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/details", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Put, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "ExistingVenueDetails", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "updateVenueDetails", new List { "venue/venue-details:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingVenueDetails obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingVenueDetails.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new UpdateVenueDetailsResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.ExistingVenueDetails = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Patch Venue Details. + /// + /// + /// Partially updates the specified venue's details using JSON Merge Patch, as defined in RFC 7396.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - If any part of the patch fails, the entire request will fail.
+ ///
+ /// **Array Handling:**
+ /// - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates.
+ /// - If an array property is not included in the payload, no updates are made to that field.
+ /// - If an empty array is sent, it replaces the existing array with an empty array. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task PatchVenueDetailsAsync( + PatchVenueDetailsRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/details", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "VenueDetailsPatch", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "patchVenueDetails", new List { "venue/venue-details:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + VenueDetailsPatch obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into VenueDetailsPatch.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new PatchVenueDetailsResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.VenueDetailsPatch = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Get Venue Details Overview. + /// + /// + /// Retrieve an overview of venue details for the specified venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad 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 GetVenueDetailsOverviewAsync( + GetVenueDetailsOverviewRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/details/overview", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getVenueDetailsOverview", new List { "venue/venue-details-overview:read" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + VenueDetailsOverview obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into VenueDetailsOverview.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new GetVenueDetailsOverviewResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.VenueDetailsOverview = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Update Venue Facility. + /// + /// + /// Update the facility information for the specified venue, replacing all existing values with those provided in the request body.
+ ///
+ /// Field applicability varies by venue type:
+ /// - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task UpdateVenueFacilityAsync( + UpdateVenueFacilityRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/facility", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Put, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "ExistingVenueFacility", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "updateVenueFacility", new List { "venue/venue-facility:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingVenueFacility obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingVenueFacility.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new UpdateVenueFacilityResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.ExistingVenueFacility = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Patch Venue Facility. + /// + /// + /// Partially update the facility information for the specified venue using JSON Merge Patch, as defined in RFC 7396.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - If any part of the patch fails, the entire request will fail.
+ /// - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided.
+ ///
+ /// Field applicability varies by venue type:
+ /// - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task PatchVenueFacilityAsync( + PatchVenueFacilityRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/facility", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "VenueFacilityPatch", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "patchVenueFacility", new List { "venue/venue-facility:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + VenueFacilityPatch obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into VenueFacilityPatch.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new PatchVenueFacilityResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.VenueFacilityPatch = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + } +} \ No newline at end of file diff --git a/packages/java/.speakeasy/gen.lock b/packages/java/.speakeasy/gen.lock index 31e3ceac1..7c71f3e07 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: ce9ff8f3ccf7daaa0f3cdb2e11397d7b + docChecksum: 95caed5ecc22c9031fba79a830d632f6 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.5.2 - configChecksum: 9c8a57eae9d6d4b2d32783046c5fce8b + releaseVersion: 1.6.0 + configChecksum: cd3e10e85e51d4f8d82e7ef7534020b0 published: true persistentEdits: generation_id: 6ad3309a-d2a1-4e74-a3ae-065e16d1999e @@ -48,7 +48,7 @@ trackedFiles: pristine_git_object: 3c184430a0dc1eb082258669b43407069bb80acc docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md: id: 86a67b0330fd - last_write_checksum: sha1:d2da37485bf2d1f3775cedff57447afe526b5b4e + last_write_checksum: sha1:de343692dc7215ce1d9072068b7eebe184dd5171 pristine_git_object: 1153e1927834a2ad63c4d8b05aae2000005bbc5a ? docs/models/components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.md : last_write_checksum: sha1:73094dcd78ec6dd6f7ca1ecb5d161d4d0ecce0fb @@ -70,138 +70,66 @@ trackedFiles: pristine_git_object: a6cca402644bca708edf6956fa7106cc7011ecfd docs/models/components/Action.md: last_write_checksum: sha1:1b1804bda4c60796ade7f5fcd656da3262b7ef50 - docs/models/components/ActivityAdJson.md: - id: e2fd13edae87 - last_write_checksum: sha1:e00b1c421434b123747a18bd35c42105d3e5745c - pristine_git_object: b680ff0394f7d953271f56eded25a2c5a66cbe54 - docs/models/components/ActivityAppointmentJson.md: - id: c127c07496e9 - last_write_checksum: sha1:61676172fbfe7a689af9402f880773c71e7d29fd - pristine_git_object: bc4649b96d604188d2e0fe506670d0a3d66e4745 - docs/models/components/ActivityAppointmentJsonAppointmentEvent.md: - id: 0187137f588b - last_write_checksum: sha1:532f0371c35e996fd2abc4aad77eebefb3d5e352 - pristine_git_object: 9a4541ef8fcc811cf17e55004b5d6398771cb585 - docs/models/components/ActivityBaseAppointmentJson.md: - id: 6b975bbfe701 - last_write_checksum: sha1:b8707d463d3a3ddc60fbba8bd4361c111f05b068 - pristine_git_object: ad013367e328acbd771a3af98c3e9eddcddb38d0 - docs/models/components/ActivityBaseAppointmentJsonAppointmentEvent.md: - id: 09bad0d97993 - last_write_checksum: sha1:cf25a955e1cf29c28d36bd2b34d1028be11e77a5 - pristine_git_object: b200ece14a98113d5cf7b8f30f508a5103bc154e + docs/models/components/ActivityAd.md: + last_write_checksum: sha1:f494f9399a4d7910012bc54218e2ce12b30c690f + docs/models/components/ActivityAppointment.md: + last_write_checksum: sha1:f24fe57e2ca5fa61c3a28f68d8781ae35015f97a + docs/models/components/ActivityAppointmentAppointmentEvent.md: + last_write_checksum: sha1:85138559cc4a1502eecb5774cd3e8ea0ff548f96 + docs/models/components/ActivityBaseAppointment.md: + last_write_checksum: sha1:3eefabd89f95c8c68efd648b3314b7667f908e60 + docs/models/components/ActivityBaseAppointmentAppointmentEvent.md: + last_write_checksum: sha1:ae445c6636345b96a9315c46e26c2a0a05b3ff7b docs/models/components/ActivityBoothStaff.md: id: 74115961c3dc - last_write_checksum: sha1:64e5bbe0fd35a43cdfcc800c73744aa722b4e703 + last_write_checksum: sha1:bcd02cb6d9706d70e833e74d17f1736eeb32bb65 pristine_git_object: 219d440fa5faf22325bf8ab18cdf221cdd169cb2 docs/models/components/ActivityContact.md: id: ec128aa491da - last_write_checksum: sha1:4a936134a4f639a740855eb90bfdffe9c6e89257 + last_write_checksum: sha1:2e5b9c8f0bbc61c688669c8f4ade91fe3b4f6113 pristine_git_object: bf6187cdaa8a53830b083acf39cb91273abb3ecf - docs/models/components/ActivityContactJson.md: - id: 2fbd5fc7e49f - last_write_checksum: sha1:4dedb87e6c016c8c7d18678794753d260026fff5 - pristine_git_object: c2b186d6ead8f84f6e2a5fab75df8265d1aacb90 - docs/models/components/ActivityDataJson.md: - id: 666af2dd137a - last_write_checksum: sha1:6e5997a7b673394ae762f9fb8a69bd89521481a2 - pristine_git_object: 7a37d84a9fc64b350a4d680278cb73e1e6e37cf9 - docs/models/components/ActivityDataJsonAppointmentExternal.md: - id: 81d7b5566a85 - last_write_checksum: sha1:698d11f86db507a529be8fcb27147c17a393a434 - pristine_git_object: bdb8606ea58ab9975ea67a3bdf423fdeb6521ea6 - docs/models/components/ActivityDataJsonEvent1.md: - id: e02acab30510 - last_write_checksum: sha1:98fbb06c861becadad70c84714bc8a8d724e0555 - pristine_git_object: 435ea49b03953f64ebb9359c78052f7b74d4a178 - docs/models/components/ActivityDataJsonEvent10.md: - id: ea5d1f165890 - last_write_checksum: sha1:768ac4d45176426c8a8e1f979d28bec7197088f8 - pristine_git_object: 984d167a1ec2534c779679ee3e199e5e87e98a52 - docs/models/components/ActivityDataJsonEvent11.md: - id: 0f27b0e7e1ea - last_write_checksum: sha1:b51079a57c03f97c68361f2ac86d61371b4e262c - pristine_git_object: 02d1bf723727ff9e37facb2f93555db05808d369 - docs/models/components/ActivityDataJsonEvent2.md: - id: 7276e2739144 - last_write_checksum: sha1:96e5278c2471b2e5e1b7de690d7e0be1fbb85616 - pristine_git_object: 19cf235888ad1ab0fe0781608e1eb23e5cbbfb4e - docs/models/components/ActivityDataJsonEvent3.md: - id: 65f4591df100 - last_write_checksum: sha1:5a443c64cb0486a152526b5eb7dd916919aa1d7d - pristine_git_object: 2532b43209b9cf982cd7b86815befa2d17720918 - docs/models/components/ActivityDataJsonEvent4.md: - id: 38536867793f - last_write_checksum: sha1:a165ccf64224a893ce9bf035fad158b93c8f3069 - pristine_git_object: 95f0647fcdf2c14b974f1c4b396bc1e2f35925af - docs/models/components/ActivityDataJsonEvent5.md: - id: b77b24575176 - last_write_checksum: sha1:d5c8133a989ddfb869c33c462eb098f85d59d91d - pristine_git_object: d1021dc412086ffd651314fae1fde67809fefd11 - docs/models/components/ActivityDataJsonEvent6.md: - id: 568924d0dd50 - last_write_checksum: sha1:92226dfd4be571fa006e651d700f8d5ac5ebdf6a - pristine_git_object: ddb72bc2b40060bcfaa46fe1c952ec264f6d3d09 - docs/models/components/ActivityDataJsonEvent7.md: - id: b63d2eb3b5a2 - last_write_checksum: sha1:7f8c8aaa6ac8eee16b2f290a9ae68a8415b3342f - pristine_git_object: 70ecfe5a686cb8ebe1edea3ad7c7e90ec1582808 - docs/models/components/ActivityDataJsonEvent8.md: - id: f3912ae8ff75 - last_write_checksum: sha1:b7cf9e11d8fd34fa284992d17670c27f2b2d915a - pristine_git_object: e4b811a72d2101e0807750f8ecc36aa03d1477cc - docs/models/components/ActivityDataJsonEvent9.md: - id: 1b1c6f88c2ef - last_write_checksum: sha1:bba8cf47d44f2868fdb7d37d401c0d695d4d1eab - pristine_git_object: 153722995ef78043aeec26ac50877e741a3fd452 - docs/models/components/ActivityDataJsonEventExternal.md: - id: 372423b0248d - last_write_checksum: sha1:1b55931915621c72b1a60280831fe94f7457beb9 - pristine_git_object: ebd34db9928d74d1ada8632bfce497a765d53a9b - docs/models/components/ActivityDataJsonExhibitorExternal.md: - id: d68def841131 - last_write_checksum: sha1:612f7f5153d36546b8753c855a5165d386cb9ac3 - pristine_git_object: c0fb34b771b2d6382dbb52e317769b0b7a3efdbc - docs/models/components/ActivityDataJsonSessionExternal.md: - id: 8b1bf934a86a - last_write_checksum: sha1:c1481cb47f308b2d5191e256aa10771c27f63247 - pristine_git_object: 3b9cc1b9f164e87eb49634076b40a05edc661edd - docs/models/components/ActivityExhibitorDocumentJson.md: - id: d05b92e4919a - last_write_checksum: sha1:92d160613ca2b051e31261edccc60b28a71f63a9 - pristine_git_object: cdae9d47a5f41b590271fcbf82f6e94204bac2ab - docs/models/components/ActivityExhibitorJson.md: - id: d7ea441e29f5 - last_write_checksum: sha1:f3e0ecd60f6c0684b675b7f50ec106c7e267562d - pristine_git_object: d5b8ce543d12cf3104275d379ef0b19d2a87bf27 - docs/models/components/ActivityExhibitorNavigationSourceJson.md: - id: 05271144ab20 - last_write_checksum: sha1:9fe5e38ad005084c82d9a6b18d2273bedc25f979 - pristine_git_object: 72d342f987833fb064b3dc7de30f780a09bd89a0 - docs/models/components/ActivityExhibitorSponsorshipLevelJson.md: - id: 5646689bc93a - last_write_checksum: sha1:ff1be6a469f007d3fc60dc5a735f2be619a2b9fb - pristine_git_object: b913b329d2d98a78d0425d749e2b5117ab6c9028 - docs/models/components/ActivityExhibitorWebLinkJson.md: - id: fdf67df20adb - last_write_checksum: sha1:77b81647680fc43d6df5fbfd0077625980bd8068 - pristine_git_object: 987f4e9a86a416b8735311e02a4b2f8d4c73211d - docs/models/components/ActivityJson.md: - id: ade9f06aad72 - last_write_checksum: sha1:03010af87ada7192add49be2b00791c23c20f7c6 - pristine_git_object: 13861f61b302f498a92bf239c3c5e77349827245 - docs/models/components/ActivityLeadJson.md: - id: a76901c48bb6 - last_write_checksum: sha1:0ad075a08258a83e231b3730daf8f6811c237a17 - pristine_git_object: bfc622a0e77ebd445c3ba102e681341888f2a5bf - docs/models/components/ActivityTypeJson.md: - id: d40d39ad2b5d - last_write_checksum: sha1:1cb0ca99a9cd55bc3d63373621d09c788aec8768 - pristine_git_object: e157e3e7124e3ec866d6addb2d34b60653feb8a4 - docs/models/components/AdLocationJson.md: - id: f78773b4a082 - last_write_checksum: sha1:42c2ab0174406e884413d5472b6a7e5f3da6c0c5 - pristine_git_object: 3a4a3f9b7a0f3d602059b1acbaad78b6cd7f9ff4 + docs/models/components/ActivityData.md: + last_write_checksum: sha1:d5cf4e9f140557d5eb13f4c797d479d6a06f9814 + docs/models/components/ActivityDataAppointmentExternal.md: + last_write_checksum: sha1:21322bbddb430e3a4410ce47ee4db21199416fb7 + docs/models/components/ActivityDataEvent1.md: + last_write_checksum: sha1:f609c6c74d1ed090f388797bb1548ee6d380d42e + docs/models/components/ActivityDataEvent2.md: + last_write_checksum: sha1:f5b58e770b82df5d14d25a4dc047db281a0eba32 + docs/models/components/ActivityDataEvent3.md: + last_write_checksum: sha1:a1ba3ab872e4f344839c29735ecd5d1ed823a1ad + docs/models/components/ActivityDataEvent4.md: + last_write_checksum: sha1:ebcaac593a2490b7e999f29e5c06160cc058e43c + docs/models/components/ActivityDataEvent5.md: + last_write_checksum: sha1:24634c4455ff839de4c48aa7dc06cb91977c4dd8 + docs/models/components/ActivityDataEvent6.md: + last_write_checksum: sha1:125fb92e04b34d1072f2ae72bf60c4a3f3b60d57 + docs/models/components/ActivityDataEvent7.md: + last_write_checksum: sha1:3f6718fd1d12d343f6b71873b849ec3a5632a275 + docs/models/components/ActivityDataEvent8.md: + last_write_checksum: sha1:f51f9cd33f45fe18f8146f36339101c25e1fe64c + docs/models/components/ActivityDataEventExternal.md: + last_write_checksum: sha1:2089e292238a5facef7d27a29e97c997cabe670a + docs/models/components/ActivityDataExhibitorExternal.md: + last_write_checksum: sha1:670937ddc0acf1e8fb6709754ddb068687352084 + docs/models/components/ActivityDataSessionExternal.md: + last_write_checksum: sha1:eac925f57cdcaf0d010d5a4430469770f4412612 + docs/models/components/ActivityExhibitor.md: + last_write_checksum: sha1:23c9cb62665bd484ee29e4aa9fcf85cc29b9f240 + docs/models/components/ActivityExhibitorDocument.md: + last_write_checksum: sha1:97f63c7afa2693785acfed35b44dd1ed7cdbf667 + docs/models/components/ActivityExhibitorNavigationSource.md: + last_write_checksum: sha1:e0b9b435f9855f6aefad283977cbbfe759818855 + docs/models/components/ActivityExhibitorSponsorshipLevel.md: + last_write_checksum: sha1:314dd9014a158b5a021716b74158c0a1ecdf3184 + docs/models/components/ActivityExhibitorWeblink.md: + last_write_checksum: sha1:1d428243d0bf2bfaf25a263634039aad5c7551b8 + docs/models/components/ActivityLead.md: + last_write_checksum: sha1:a446f7282a938ce1bdacc84ee458c902c32a5ec9 + docs/models/components/ActivityType.md: + last_write_checksum: sha1:7e7bf54abca40850b9a7fbab808b982d0f2d4fd9 + docs/models/components/AdLocation.md: + last_write_checksum: sha1:3615439bc9dfd982be807411c4edf7b95aba19fa docs/models/components/AddOnJson.md: id: 996813cb1771 last_write_checksum: sha1:c809e6403587c579cf2d2826d0ef08207ade0d6a @@ -236,6 +164,8 @@ trackedFiles: last_write_checksum: sha1:0a153f1120f7d4ddfc740637d29581e312084d2f docs/models/components/Address7.md: last_write_checksum: sha1:69ab1bc27d8aa8b155ab1b9a92c330c2b3caa719 + docs/models/components/AddressInfo.md: + last_write_checksum: sha1:c048ba4e1ebadcf7279e91fd674d6f61522f83db docs/models/components/AddressInput.md: last_write_checksum: sha1:452de3333bd7d54cb6c9cf241d8d715bf81a4a51 docs/models/components/AddressJson.md: @@ -338,30 +268,26 @@ trackedFiles: last_write_checksum: sha1:2dc0dee6df5995c7c061e130aed6189569221a07 docs/models/components/Answer1.md: last_write_checksum: sha1:0f9b2c1bcf518e442d0d9f299d49297801da8a6b - docs/models/components/Answer2.md: - last_write_checksum: sha1:81f2559acbcfdbb35eb69165e5011c6bca14a385 + docs/models/components/Answer21.md: + last_write_checksum: sha1:207474ea64d4beb22a7c90f1450e10afbc058440 + docs/models/components/Answer22.md: + last_write_checksum: sha1:2d50eb5efd9417b0d525c22760ab8473e2039e87 docs/models/components/Answer2Choice.md: last_write_checksum: sha1:4998eef2e4deedcd9389e662f9528ffab8b0739d docs/models/components/AnswerJson.md: id: 28f92b810304 - last_write_checksum: sha1:ef5371a5f526beb10af7274b417b504c3e97f5c9 + last_write_checksum: sha1:e621c5abc1b7620e8f9f06e847ddb006a3a612e9 pristine_git_object: d4adb523449665cfd7b7ea5dc9ea4ac1b781b48d - docs/models/components/AnswerJson1.md: - id: c97719e2cfca - last_write_checksum: sha1:9521e6a95865177e7ef6abc3d8e0da3a6aa7dfcf - pristine_git_object: 4f8a6a1f4f7de7fc3bfd4976829cd35d7067f974 docs/models/components/AnswerType.md: last_write_checksum: sha1:95e771a24cb6cac3a62652019602eac47ca1cd3e - docs/models/components/AnswerType1.md: - last_write_checksum: sha1:e7bd7bf0854300118bf32e7280f71b984eba69f3 + docs/models/components/AnswerType11.md: + last_write_checksum: sha1:6d69ea496631b8dc8a46846ce7375244d2e1bb9e + docs/models/components/AnswerType12.md: + last_write_checksum: sha1:ed5c178c7968ee7cddca9c34ffa69900d5669a30 docs/models/components/AnswerTypeJson.md: id: 3c375aabad8f - last_write_checksum: sha1:cd4b4ec01640f3e2cf7297ea1d6ed288a240f357 + last_write_checksum: sha1:33e97431d03444f8c4650d5e456269ab94d8b70a pristine_git_object: 4dd3d2acbf9562e6c29dc523aaa559ccdc972601 - docs/models/components/AnswerTypeJson1.md: - id: 425fa4e45f4c - last_write_checksum: sha1:7d61e76d365b3d5a5eacabdcaa8810425e46ec32 - pristine_git_object: 6acf351dca37b1e3bf717b681f18bc984b4ac4c9 docs/models/components/Application.md: id: 1cceb27adbd4 last_write_checksum: sha1:38501208c11888f8c4aa6df584ceed6807a3981a @@ -370,7 +296,7 @@ trackedFiles: last_write_checksum: sha1:a3488abf9bbd8265891bdd009dc04fb372663057 docs/models/components/AppointmentAccepted.md: id: 8fbad1e76e53 - last_write_checksum: sha1:5951c396358b92038eb69bd126a8679639fcd8c9 + last_write_checksum: sha1:cfd25b3d3b6cf467fb5531acebb4f76da625d3a9 pristine_git_object: 5ad52263e045fac0a0a26a6be5d0c4bce0ec42cf docs/models/components/AppointmentAttendee.md: id: a5ce15dd3295 @@ -402,23 +328,23 @@ trackedFiles: pristine_git_object: be9641ab3b24ebb87b512d24becc38eb3a52ca3f docs/models/components/AppointmentCancelled.md: id: 6f80655cccbf - last_write_checksum: sha1:4e21ef6fea81e9dd903547064ebf1ef5f5b3265a + last_write_checksum: sha1:ec748b8e3363975e70f2a327a5e80728c789bfe1 pristine_git_object: 1eb8386fbf1a4fb9045471f4341a39a7ff08d111 docs/models/components/AppointmentCheckedIn.md: id: 339f3c47b6c7 - last_write_checksum: sha1:82caf6b208060c32ec5d261654a4b296a3c8183e + last_write_checksum: sha1:b8c133b72918a429c94cd0283d2eff442c70ffcc pristine_git_object: ad8b8735f936eb2808ac1d9b9ce7186c30a8516a docs/models/components/AppointmentCreated.md: id: 86cf6ac296d1 - last_write_checksum: sha1:fee95a28f4eb7c06193b888bee78135fad228e62 + last_write_checksum: sha1:95be36173331448920fd99bbed4ec57495557ae1 pristine_git_object: 38164dba07ce65acb3b5a435d627b4aab1220fdc docs/models/components/AppointmentDeclined.md: id: "547591335382" - last_write_checksum: sha1:068e48a6833beee918630255b56939d96d9cb3bb + last_write_checksum: sha1:b3f768bc042ed0432b53bf52e9c0bc9dfcc4cf85 pristine_git_object: 110441a8bc32012410db016fbae3ee80744352e7 docs/models/components/AppointmentDenied.md: id: e95bc0db7b7d - last_write_checksum: sha1:cd6a027c98acc54c15fa5c0e57e62fdd5bf7ba59 + last_write_checksum: sha1:34f20d8cf71a5bc6201cb0615eabecc44b94f919 pristine_git_object: 18c45497a4d6067d0427ed1cf263300c2bb6ccb3 docs/models/components/AppointmentEvent.md: id: c60ffd63413f @@ -448,7 +374,7 @@ trackedFiles: pristine_git_object: 7cbef00614b61220b7991dd0da284a0a4234eef8 docs/models/components/AppointmentPaginatedResponse.md: id: ed2cce3f97ff - last_write_checksum: sha1:95f86a3edd0206f6ad8d235847f68c4b5b08778a + last_write_checksum: sha1:0f6bb85b1e9b8bb899fc761305b3ae7e60a6a79c pristine_git_object: 860145588d965f9351280a6c37a98546349d451e docs/models/components/AppointmentParticipantJson.md: id: 5e430e886053 @@ -460,7 +386,7 @@ trackedFiles: pristine_git_object: d1112fe8d6c017261933597ea746c44d2d20a946 docs/models/components/AppointmentRescheduled.md: id: 60f7c3b41940 - last_write_checksum: sha1:a99256eac78e6c32d360ad1493b284df37bdfa03 + last_write_checksum: sha1:431750e0bfb495589e85f17bb3b0bd991a420a3e pristine_git_object: 435360df726e6125afe083f840cbfa922fd1ad75 docs/models/components/AppointmentStatusJson.md: id: 1490070d2192 @@ -484,6 +410,10 @@ trackedFiles: last_write_checksum: sha1:d382a10b78858a3b3c55ca93e06085386f94cc6e docs/models/components/AppointmentWithQuestionsType.md: last_write_checksum: sha1:9ff250cee44964ddeecb0cd990f05adc956200c1 + docs/models/components/AreaMeasurement.md: + last_write_checksum: sha1:2193d1cb8428b7c8bb15f825e5b244e3c6b5d2be + docs/models/components/AreaMeasurementUnit.md: + last_write_checksum: sha1:331d47d10ad952d51d517f772d4d0ba87535b301 docs/models/components/AssetLocation.md: last_write_checksum: sha1:452f314b89f4b9efb7b6e66854fccbf2cf11d971 docs/models/components/AssetLocationInput.md: @@ -501,7 +431,7 @@ trackedFiles: docs/models/components/Attendee.md: last_write_checksum: sha1:3a634dbfbc69513b5696b61722ee00762ae82ae2 docs/models/components/Attendee11.md: - last_write_checksum: sha1:be69f496cdd5d6af2cf8e7824bc05325822c560a + last_write_checksum: sha1:30f0aa3dd2f1b1fda6094a6d7ead42ddcff16818 docs/models/components/Attendee12.md: last_write_checksum: sha1:63fee4f20f2ef8b321cf820a85175b1aea160b33 docs/models/components/Attendee13.md: @@ -516,8 +446,10 @@ trackedFiles: last_write_checksum: sha1:ebe5e359d5a431125cff198c0423c8b6a0fc78c5 docs/models/components/AttendeeActivitiesPaginatedResponse.md: id: ceea5b023b77 - last_write_checksum: sha1:d85aedb132d3d9c185d6c72a24a7407e25ad9f98 + last_write_checksum: sha1:365e0265618fe0a83270737b509a315a8dccfd1e pristine_git_object: 70626f9fcc6c552b817ae8327c8460846c60fd60 + docs/models/components/AttendeeActivity.md: + last_write_checksum: sha1:f75328518346a99b4dd5ab8334b90be28f795916 docs/models/components/AttendeeAdd.md: last_write_checksum: sha1:918e824538b4abb8959fda156ebe102c1c1f0e25 docs/models/components/AttendeeAddAdministrator.md: @@ -534,7 +466,7 @@ trackedFiles: pristine_git_object: 5e3fa8e3af2820fda4ea9131f05d912f8c7df43f docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md: id: d64e4e6d9d88 - last_write_checksum: sha1:fef0d49c91dc47f69fe07f35f37a827cf842244f + last_write_checksum: sha1:efbdd5c4edd786c03722ad6c7a4a47edcec85eb7 pristine_git_object: 5da83df055b2c0a6ef269a245f01a44e019f1fa0 docs/models/components/AttendeeAddBulkItemJson.md: last_write_checksum: sha1:a33fd1ebc3ec1ec00d5b8fa3953a7d26e2eb8526 @@ -579,7 +511,7 @@ trackedFiles: docs/models/components/AttendeeAudienceSegmentAssociationsPaginatedResponse.md: last_write_checksum: sha1:27c604d76a8e4cb41b675bbb4cecb6fcd08fa5c7 docs/models/components/AttendeeContactInfo.md: - last_write_checksum: sha1:d5d839eb9f3bcc9c9c2e3e9cd1c4981a200a9b7b + last_write_checksum: sha1:97f0129f0ca9508fc6e3ddb819483387edad8cb8 docs/models/components/AttendeeContactMembership.md: last_write_checksum: sha1:64d162abbb51639fdb7733e9d599650d8f914e01 docs/models/components/AttendeeContactType.md: @@ -692,10 +624,6 @@ trackedFiles: pristine_git_object: 9f9869ee2b1cc4af8c82d301d63e7aa3e8f4d03c docs/models/components/AttendeeStatus.md: last_write_checksum: sha1:abcaf91b3c5b8d4e61c92272e35e5e0620bed03b - docs/models/components/AttendeeStatusJson.md: - id: e428e12510af - last_write_checksum: sha1:5c9bf12f0c4550efbcab3f04c0cd8cab2c18d554 - pristine_git_object: 7cf0cbfbcd0a6c6e821cd2789c86c212c8101ad6 docs/models/components/AttendeeSubscriptionRequest.md: last_write_checksum: sha1:831f646e61127cd0f2c797b772929779c4adbc61 docs/models/components/AttendeeSubscriptionResponse.md: @@ -870,26 +798,20 @@ trackedFiles: id: 59efb68fb0a6 last_write_checksum: sha1:93f5de7be8fd8147d7448e89991ff88d1203d6ff pristine_git_object: a354c1ff30a6360f324cd6e4e32e24f143e1e83e - docs/models/components/BannerLinkTargetJson.md: - id: 06d2f4beddcc - last_write_checksum: sha1:7136ebdeec121eecec8e9df4e699cfa4b4c2fee5 - pristine_git_object: 22b247ea5de61f96f9407c8ee3db2635efbf4d87 - docs/models/components/BannerLinkTargetJsonType.md: - id: 6bf17a755a2e - last_write_checksum: sha1:46c61dbf736a62cc416a48a1051ec00b2b7a1d24 - pristine_git_object: 4eecc173fc77dc0ad1ae3573d3871f6b9b2deaf2 + docs/models/components/BannerLinkTarget.md: + last_write_checksum: sha1:a45370383a88b78ddf181094a8a058fb40b21df6 + docs/models/components/BannerLinkTargetType.md: + last_write_checksum: sha1:0a6868339a0e792ce998e45270d43a397830db14 docs/models/components/BaseAddressJson.md: last_write_checksum: sha1:79950ba597a4bd44b9a489bc08bc149314926a6c - docs/models/components/BaseAnswerJson.md: - id: f5417f3accc1 - last_write_checksum: sha1:d7ae1d0ecf0794b916fbf0204d6d8e44338d677b - pristine_git_object: 9465029aa2d42d0d81b312b67217f3d56e8e34a8 + docs/models/components/BaseAnswer.md: + last_write_checksum: sha1:2f938a696f128e41bf78c09acdb51a785de99930 docs/models/components/BaseChoice.md: last_write_checksum: sha1:32aa7be46ed4758ffa3d1a4d2eb55e9bb5a6ee9e - docs/models/components/BaseQuestionResponseJson.md: - id: 9e008c8b0411 - last_write_checksum: sha1:3086a77833aa4b55fdd2f251ef237e2527bec0a4 - pristine_git_object: dc9d897cfde3f3c495d4382e4ee1282a37a05cf0 + docs/models/components/BaseQuestion.md: + last_write_checksum: sha1:6ba1af42780291ab5ac708c4c18a35c947552541 + docs/models/components/BaseQuestionResponse.md: + last_write_checksum: sha1:c06794d005f0dd5a62a25fabb078f36fe2a6d103 docs/models/components/BasicAuthentication.md: id: 1d77190466d1 last_write_checksum: sha1:cda195e2f54129c53a0b223143afe9457e4f5072 @@ -899,7 +821,7 @@ trackedFiles: last_write_checksum: sha1:d62159572bc3ba32deb670b2911e85b26b3f8c73 pristine_git_object: 4cf1fa67856c75f3b5b542134d328e474deb82e5 docs/models/components/BidItemStatusType.md: - last_write_checksum: sha1:e215fd11d2b9f24cffef1fa12efde22277f9a177 + last_write_checksum: sha1:4af6828133729560aad166e16e97326417a40e58 docs/models/components/BidStatusType.md: last_write_checksum: sha1:d6cd83bf081b726be911fe0138274f34cd66c3fd docs/models/components/BidStayType.md: @@ -980,6 +902,8 @@ trackedFiles: id: e7b5eee6c4e6 last_write_checksum: sha1:d1d40f574c1aac81343356f9f10443999c4b5b70 pristine_git_object: 2736016b23a589ae4dfbada3392f6bff977c1d32 + docs/models/components/BudgetCategory.md: + last_write_checksum: sha1:72fa85f7072a78befd97eb80dc6b655a832ca04a docs/models/components/BudgetCategoryJson.md: id: cf37e7736623 last_write_checksum: sha1:e342d23ff5b4b6d48d3bc126c65d2b1d48b3d461 @@ -992,26 +916,24 @@ trackedFiles: id: a4afb42153de last_write_checksum: sha1:45297f242f90317942118f63fdeca04868622d4e pristine_git_object: e7559e39b96ff244c5c8c4ef17e4c5d2b0e1781d + docs/models/components/BudgetCostDetail.md: + last_write_checksum: sha1:8cdde7af33c2ffeacd8ddbece1373d903ca9bd46 docs/models/components/BudgetCostDetailJson.md: id: c575c433b81c last_write_checksum: sha1:6d4b8028a9e9744e47909d3c97a0bf05d743f775 pristine_git_object: bbba9aa0fb14bbe8bcbf72c83cfb7a2dccd86c0c - docs/models/components/BudgetCostDetailJson1.md: - id: 8116df5de6a8 - last_write_checksum: sha1:4be332950badb84a6ffa02dc8afa8d8e5a3a9ed1 - pristine_git_object: 2bca6be24ece54a09f4f0d3d7e3e7d5d2a3fec78 docs/models/components/BudgetCostDetailJsonInput.md: id: 1e3125bc49b7 last_write_checksum: sha1:9ebfe5dcd951df8b66f3ab5ce4d11b8ce709d81d pristine_git_object: 0eb012e9684676a83256b9affc72f20be571f24c + docs/models/components/BudgetCostType.md: + last_write_checksum: sha1:68e9536c69acc32ec341ba3ed1e36a2f0e2ef875 docs/models/components/BudgetCostTypeJson.md: id: 6c8c70e67458 last_write_checksum: sha1:82bb213137fa23a61f2d4c287f15adbd40a73eae pristine_git_object: 55c854580c6783897279335214bac6d3df23bace - docs/models/components/BudgetEstimateJson.md: - id: 4c2baf3ecb6c - last_write_checksum: sha1:d2822132ee0eb7e0ddd612f24183c03195c91607 - pristine_git_object: 62c4d2d9f5197d775355cee6141a80a221d1a34d + docs/models/components/BudgetEstimate.md: + last_write_checksum: sha1:e9c3eddb0df88722b5f30b9a8aa046c8b1bdadc5 docs/models/components/BudgetGratuityJson.md: id: 35562879a4b1 last_write_checksum: sha1:408bd3fae33c639666542d9fbac2107b5645dee7 @@ -1068,6 +990,8 @@ trackedFiles: id: f7ac80b57516 last_write_checksum: sha1:22a4f64135bb9946178d97f0a9f7fd03c88b0928 pristine_git_object: 7ba5a9605639d3ecafe882ba8eed99f9a4457dae + docs/models/components/BudgetSubCategory.md: + last_write_checksum: sha1:958688f4270a5614f0d4a28fd0d27a0a1496f69b docs/models/components/BudgetSubCategoryJson.md: id: ec401132110f last_write_checksum: sha1:e24564fd1a1d9df20f7663cd233e71fe212660ec @@ -1114,23 +1038,17 @@ trackedFiles: pristine_git_object: d76186e813303bda490076fcbd451069a24dfeb0 docs/models/components/BulkData.md: id: 7c37c8908c25 - last_write_checksum: sha1:bc695cab72a4f578431b5cd79159eb6edd9f03e1 + last_write_checksum: sha1:06aa36399fc0f555f06b9e148fd453117dc02db8 pristine_git_object: 7aebe07b2657308750068493a5d980a4a64fd8ea docs/models/components/BulkDataProperty.md: id: 74c1b856128a - last_write_checksum: sha1:97a00b68c900b9d6d55f9599def3f8b09753ba4f + last_write_checksum: sha1:ed1dfac3079de5eb72165cfcef469c5714dfaf82 pristine_git_object: c7bb36678948b9842d87780bdc0101f1fc07fbc9 - docs/models/components/BulkDataPropertyJson.md: - id: 4694318a7bb5 - last_write_checksum: sha1:bb4f11641343d459005ebe98caca824f5a3708d0 - pristine_git_object: 4507c0a7af10ed45feef0fee2d48cfdd3a038a2b - docs/models/components/BulkDataRecordJson.md: - id: b5713cc8cd53 - last_write_checksum: sha1:7f1faea98564207f6232ebe9c20d818dd5f6e009 - pristine_git_object: 859ea840a34a6c16d97afe42c00c99ba689d831d + docs/models/components/BulkDataRecord.md: + last_write_checksum: sha1:76d5f988fafbfa35cd26361cdcbf365886dc326b docs/models/components/BulkDataUploadResponse.md: id: 5119892cffc3 - last_write_checksum: sha1:ac4300efb3b4104f621337205c25bd3f7513ad08 + last_write_checksum: sha1:54794b35c0d86fc4e8960482a76f016f04616772 pristine_git_object: 64aac926c4c30f088fd325cef34d1e61f5015c03 docs/models/components/BulkJob.md: id: c66e784c2430 @@ -1146,11 +1064,11 @@ trackedFiles: pristine_git_object: ce73e888ea40435207b5e6c72a222db620bc21df docs/models/components/BulkJobWithData.md: id: f0aaa46b564b - last_write_checksum: sha1:a9aee23a98b5880c8da1f9daecc16403b546c922 + last_write_checksum: sha1:a2b8784c9767ab37b267152c5852cc53294d1dc0 pristine_git_object: c57fcd3daaf8d4be638332256cf3d9dda0d80cac docs/models/components/BulkJobWithDataInput.md: id: 36072443b6be - last_write_checksum: sha1:5a9f7c151a3a81b84918ead464c637000f7cce96 + last_write_checksum: sha1:6c3ba1d91f86343d5b2ae953e439d51a05464ead pristine_git_object: fa6e05b0a084c61bd9964ca739e41e5ec3f508df docs/models/components/BulkJobWithDataOperation.md: id: 66be01bb8bbd @@ -1160,13 +1078,13 @@ trackedFiles: id: 42e1d6492eda last_write_checksum: sha1:b6f501bb685ac9b72b329dc877429368728a2fdd pristine_git_object: 97eda398b8041de894c26bb1dac3657f4e95f8f0 - docs/models/components/BulkResultJson.md: - id: 67a993a73ef7 - last_write_checksum: sha1:00db4d43f6829f073da564dc2986b2a1894d63aa - pristine_git_object: a907e6aafbb8f50541381499f39d1a2e61bab3e6 + docs/models/components/BulkResult.md: + last_write_checksum: sha1:015222bb5f0dab3fb11e5aa5b8fac59d55aa4f00 + docs/models/components/BulkResultBulkDataProperty.md: + last_write_checksum: sha1:44e0aa511e6c71fc0cbf69e23a998e127b5f42f4 docs/models/components/BulkResultsPaginatedResponse.md: id: e7c5fca1827d - last_write_checksum: sha1:deb8a892eae0627a53d7e0895a1bacc1d8f08f84 + last_write_checksum: sha1:509a9ff86234070df10344a929e04c819da19b31 pristine_git_object: d4e3029bcc7cc56ebdc73bb94f07977305cbe952 docs/models/components/BusinessType.md: last_write_checksum: sha1:15b97a6f97df8f7e1e0d257118201c0370d6773b @@ -1196,6 +1114,8 @@ trackedFiles: pristine_git_object: eb196b06066a3c192cb2194600772eadfdb18be8 docs/models/components/CancelledReason1.md: last_write_checksum: sha1:d2ba1881f1bca7084721de56f6787d533de2b233 + docs/models/components/Capacities.md: + last_write_checksum: sha1:9fa0e28af649f1b63b9e1b68b6d5b0c0d67ccb5f docs/models/components/Capacity.md: last_write_checksum: sha1:470565466ee5b434215e969d9f9c7d21db3a6c1e docs/models/components/CapacityJson.md: @@ -1243,7 +1163,7 @@ trackedFiles: last_write_checksum: sha1:6fa8af59237c35dee53fa49c6f21bad7da6168fb pristine_git_object: 3ed6813a75b1c239134b389a4796a6c4270e4911 docs/models/components/CardTransactionJson.md: - last_write_checksum: sha1:8596fc799e44d527d38f3a97d345a703fcd1fc0c + last_write_checksum: sha1:a8afb02f25cb72aa12d7e4ec8961e6cd0b8fba81 docs/models/components/CardTransactionJsonBudgetItem.md: last_write_checksum: sha1:34f76a3cd7a8e5cb9008c7eec672ec9f4d6130a8 docs/models/components/CardTransactionJsonEvent.md: @@ -1284,6 +1204,8 @@ trackedFiles: id: e9f9bd5c842f last_write_checksum: sha1:f49d0b4cdfcc86d03012c76c778bc3d6f51818f0 pristine_git_object: 9ac3a6525f113958ff5b404a1e0fe065d0d7ea21 + docs/models/components/ChainScale.md: + last_write_checksum: sha1:c18160cea0a3f551fd07b6ac106348697d775786 docs/models/components/ChangePassword.md: id: b482430d19e0 last_write_checksum: sha1:ff04c328042456b94d3208c33078760aa8fbabce @@ -1364,10 +1286,8 @@ trackedFiles: last_write_checksum: sha1:46f7ff24ddbc134149dc95426a027708fdcc439b docs/models/components/ComplianceScope.md: last_write_checksum: sha1:7b82eb791d71d6b0722768b149cddb11d22e0eb0 - docs/models/components/CompositeValueJson.md: - id: f2612df478f8 - last_write_checksum: sha1:c69c9efa6c6fb8a7e8877098aa709bdbe7efb05d - pristine_git_object: dea15b16bc85810a7463493613e51b405bf97f35 + docs/models/components/CompositeValue.md: + last_write_checksum: sha1:d2616c5ed4e618b79a16f2143c9b220816912069 docs/models/components/ConflictResolution.md: id: 8cd27ea927d9 last_write_checksum: sha1:e4c5debae576354acf044b9eb62326f59abcfb87 @@ -1392,10 +1312,6 @@ trackedFiles: last_write_checksum: sha1:8bc18d7997cb527ee35d9da5eeddafbab51f7fc1 docs/models/components/ContactBulkResponseItemData.md: last_write_checksum: sha1:68f63037d272d7de29eabf4457047e8c80bf1837 - docs/models/components/ContactCommonJson.md: - id: ab84522fab3c - last_write_checksum: sha1:8ad72f1dda36a63df459aa618b367596ad80991d - pristine_git_object: e6749786635a50c1a6324f0a1c6651e201fd8959 docs/models/components/ContactCreate.md: last_write_checksum: sha1:e281b628e4931229c4156df5e7c0654a7c63f69b docs/models/components/ContactCreateEvent.md: @@ -1416,10 +1332,10 @@ trackedFiles: id: 14ee4c5ade46 last_write_checksum: sha1:47d218c3a54d44c68e0e4917774ba1c604641d74 pristine_git_object: f77087f675c2dbb668c30a5cccb84665bcce78c3 - docs/models/components/ContactFields.md: - id: 13fa37007be5 - last_write_checksum: sha1:e0a49490e46d47415f5c6c51000e851d0db69edb - pristine_git_object: 1381fc29e3f4f0d422731bbb6ebd58c5971a295e + docs/models/components/ContactFields1.md: + last_write_checksum: sha1:4aebc3649362ef458fcd3e5f1498bcce73e3c97b + docs/models/components/ContactFields2.md: + last_write_checksum: sha1:4d76dde1bf623f13779c9ddd10b8770eed2f7987 docs/models/components/ContactFile.md: id: 5daad8d23ed6 last_write_checksum: sha1:34c421432bddbdcf8cc356437d085937b6236b7c @@ -1520,6 +1436,8 @@ trackedFiles: id: c97321e65d23 last_write_checksum: sha1:4e19ee8daab346ee76f22f78529cb801381e0ab1 pristine_git_object: 35f2ee92a0ff7ee7cf495bd2c5fc4bc50428135b + docs/models/components/Country.md: + last_write_checksum: sha1:20454e57a7db5ab91f15e0b98f51aa85374b4b75 docs/models/components/CountryJson.md: id: 3b69118bdf8a last_write_checksum: sha1:aedc81c7c5ffa7cbcefc29d50d6b39ad0e01c279 @@ -1586,6 +1504,8 @@ trackedFiles: id: e8cfce73dd6d last_write_checksum: sha1:191fcedf7afbe2c6f49d4f69eb31f91c7c8c6aba pristine_git_object: 0263fca1842ecc4822b98f27b9d934fe3d235407 + docs/models/components/Currency.md: + last_write_checksum: sha1:2fb743357668cc2f4f5a7cc90ffcc5f6da3d7c96 docs/models/components/CurrencyConversionRate.md: id: 18fe4f8e0bfe last_write_checksum: sha1:a0ae7a89694f42278dbf07521aeb800ab468a614 @@ -1652,8 +1572,10 @@ trackedFiles: last_write_checksum: sha1:2c08e68bc2738a71838560bcdb9a0c40a5d6a7ff docs/models/components/CustomFieldJsonCustomFieldType.md: last_write_checksum: sha1:530a621585ecacd9dae3654cdc2ffacf4a694c03 - docs/models/components/CustomFieldSchema.md: - last_write_checksum: sha1:9e2833abed1a536220598df8684280e8ecc0884f + docs/models/components/CustomFieldSchema1.md: + last_write_checksum: sha1:d92399e25694fe19131205d8a86999280fe4d644 + docs/models/components/CustomFieldSchema2.md: + last_write_checksum: sha1:e8fd385b7adbc5a682ac121752c24104d53a5177 docs/models/components/CustomFieldSchemaCustomFieldType.md: last_write_checksum: sha1:46e8c60cf1d0171dfd89e089a930d25abb4cdd33 docs/models/components/CustomFieldType2.md: @@ -1690,6 +1612,10 @@ trackedFiles: last_write_checksum: sha1:0829a8a933b400535ddccc43fbb875c3b40d8f8e docs/models/components/DeviceType.md: last_write_checksum: sha1:1b3e7c056848e13e863fb9d29bfc7ce928fc5763 + docs/models/components/Dimension.md: + last_write_checksum: sha1:f9bf1dac83d3930c71e6385df6ed5897a3cec5f2 + docs/models/components/DimensionUnit.md: + last_write_checksum: sha1:11cdf033137a7ac9587c3dba53b873c6667dcc35 docs/models/components/DiscountAgendaItemsPaginatedResponse.md: id: 8402735292cc last_write_checksum: sha1:6373daab54fc71306b9c6ae802318948bab9debf @@ -1716,6 +1642,8 @@ trackedFiles: last_write_checksum: sha1:1875ead7c24238334a806e3de94669f3e7435088 docs/models/components/DistanceJson.md: last_write_checksum: sha1:a11cb07aa317dd86a53afda8ccb9a41427dd9b4a + docs/models/components/DistanceMeasurementUnit.md: + last_write_checksum: sha1:f8d91b8ac5b02b8b2ee6b1903032b2864aa3cad7 docs/models/components/DistanceUnit.md: id: c52e6af0c299 last_write_checksum: sha1:b64d715db2d675fd02f327035100d718049e3c4f @@ -1760,7 +1688,7 @@ trackedFiles: last_write_checksum: sha1:ed4b59205a270868e8d05e50e9433e274fe9df1d docs/models/components/EmailBounced.md: id: 0ea581f8279b - last_write_checksum: sha1:32adc2c1e6167a317275928cfe2f5a4bbc4590a9 + last_write_checksum: sha1:4d01b2b3c45a4896522fd819f3966f878f6113d3 pristine_git_object: 0985d28c7893e31d37d8bd045deafe3c9fc09c5c docs/models/components/EmailClicked.md: id: aa6f696e45c5 @@ -1828,14 +1756,14 @@ trackedFiles: last_write_checksum: sha1:2e126b5d4353432f05899e37b0a49847dd2b65ae docs/models/components/EmailUndelivered.md: id: 745603104c89 - last_write_checksum: sha1:66390e31df00264f411846c51fc054f89352e1d4 + last_write_checksum: sha1:7602d27bcbb268269837248085f225ea82677f02 pristine_git_object: 0bf065af618f7d86562443e7f251dab35148e8f6 docs/models/components/EncodingProfile.md: 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 + last_write_checksum: sha1:0e7cea7cdb8913d65f34d026656fca9e28366de5 docs/models/components/ErrorResponse1.md: last_write_checksum: sha1:1f06ca4838aa5ca879d01b1299efacf61e8d2d6c docs/models/components/ErrorResponseBase.md: @@ -1862,21 +1790,17 @@ trackedFiles: last_write_checksum: sha1:8d13cba565ed2e49bf62c0ed32249ff6f3a56ec8 docs/models/components/Event3.md: last_write_checksum: sha1:265a89515e35498cedbe29701915ed39a5ee9b0a - docs/models/components/EventActivityDetailsJson.md: - id: afd07bd677a3 - last_write_checksum: sha1:b6821334ac3af39f5baf0618f1120fdabdefe313 - pristine_git_object: fd9e2db8895cdde9f3e587630ef41dc91e5bfc03 - docs/models/components/EventActivityDetailsJsonInput.md: - id: 136c39af4407 - last_write_checksum: sha1:3017812b60070e2fcd6341fb92b0b97d983c78d0 - pristine_git_object: c6527f3be5020d4a6de05e1fb51fe08d156cfbca + docs/models/components/EventActivityDetail.md: + last_write_checksum: sha1:080a0c91c21533e03e37563b4e8e6ca14afd462a + docs/models/components/EventActivityDetailInput.md: + last_write_checksum: sha1:6a7047b3091a282e2fc9ac6c1ff9986649042acc docs/models/components/EventAdClicked.md: id: 68c35f13f282 - last_write_checksum: sha1:4c694fe65788098900988e5356b7db8d83eb192c + last_write_checksum: sha1:b1882eac6bbbd464323e7c08c63ca18a697ce0f4 pristine_git_object: da570d72c1fa6890c25556475cc2a2330ec971c3 docs/models/components/EventAdViewed.md: id: a322acf106b5 - last_write_checksum: sha1:d7986029bcaae881af19bb3c7b972f956489be52 + last_write_checksum: sha1:7ad41b00f68d32e9f6a8c3af646d84d6c196f937 pristine_git_object: aa9e99fb337efae663a62937981630a548498fe2 docs/models/components/EventAsyncResponse.md: id: 3ac3adb3e929 @@ -1904,11 +1828,13 @@ trackedFiles: pristine_git_object: 00f69e6c04b89e72d3f6204b2c4ccb59139f962a docs/models/components/EventAttendeeSubstituted.md: id: 467f6db55647 - last_write_checksum: sha1:ca0e3afb2179235ac7dd16e9646ca5669dbd3ff1 + last_write_checksum: sha1:cb6b9cb82773762c2610c62b4b71ee6b601948b2 pristine_git_object: 94ed095885194a2a66e283e2f82f14e2a31248a4 + docs/models/components/EventAttendeeSubstitutedEvent.md: + last_write_checksum: sha1:4696bef5a781addc4ea438fad227fb75efe01572 docs/models/components/EventBannerLinkClicked.md: id: 90a778b6b032 - last_write_checksum: sha1:fe56b1de28b4b30f97b1feeab48101a07f4df790 + last_write_checksum: sha1:6aa08c4842612448be1b220c9b760b6e4e1fdcf0 pristine_git_object: dd7546560babaeb96ce752cabe834ea73505af2c docs/models/components/EventBudgetCostDetailJson.md: id: a71fcfa749f5 @@ -1928,11 +1854,11 @@ trackedFiles: pristine_git_object: d388f875579ad19b7130ce59eda3b555835eda52 docs/models/components/EventCheckedIn.md: id: 71bd29cbcb49 - last_write_checksum: sha1:d38d56f80112d3d79b4d690c2d196cd11d3140f5 + last_write_checksum: sha1:3398749ede5bd75dfcc7459b44067162b130de68 pristine_git_object: 713f58272991f6166b22bfec55e491eab5a35d6a docs/models/components/EventCheckedOut.md: id: 31f85535e042 - last_write_checksum: sha1:5fafbd8094805bca86fa1b31b22ed66b721605c3 + last_write_checksum: sha1:64a278fd3a79858d4e623e1c7346e64d968cd3ee pristine_git_object: 2497bffb1c2b5cf2b128a34211994336cec049d9 docs/models/components/EventContactId.md: last_write_checksum: sha1:714b20fe509842aa86d1fd9ac0afaba3d26ff934 @@ -1982,8 +1908,10 @@ trackedFiles: pristine_git_object: 4340270d88f94b7b817b13ae773f344676d52ee3 docs/models/components/EventFeedbackSubmitted.md: id: 61de73099933 - last_write_checksum: sha1:0ce60c060c8e2221b75803ce6b009dee8453e342 + last_write_checksum: sha1:84a9d8af163718448b9d12ff352a55856eb6d512 pristine_git_object: 79e67240130ee588c082ba81c485fd3b01a32a69 + docs/models/components/EventFeedbackSubmittedEvent.md: + last_write_checksum: sha1:8b5015f36e949157469de3b7da5cb4f255c9fbad docs/models/components/EventFormatJson.md: id: d9375d6cccae last_write_checksum: sha1:0b76efc28ec0e48cd8a1cabb8e29648d6a5fc912 @@ -1996,6 +1924,8 @@ trackedFiles: id: "505336032273" last_write_checksum: sha1:fc80842ac3d7a330c470e84e3595b6385cf443dc pristine_git_object: 891135a275f663a7d9393bc570d594391eb9ca44 + docs/models/components/EventInsurance.md: + last_write_checksum: sha1:d946e0ed15c6ce2d076eb77938fbe1aeef77dc52 docs/models/components/EventJson.md: last_write_checksum: sha1:2e5284b7240a425f5855c96fb4bd920596895b47 docs/models/components/EventJson1.md: @@ -2018,14 +1948,16 @@ trackedFiles: pristine_git_object: 29501fd756e550b29009e83d7a4fc672965e6ecf docs/models/components/EventNoShow.md: id: c9949f418f25 - last_write_checksum: sha1:eae52f6ae531e4fc36de8d6c04298fa33c299342 + last_write_checksum: sha1:169082d0684fc1441ac4eea72706a0b779ba89f5 pristine_git_object: fa6f69741ada10aa34b0406777cffa1ae8857e48 docs/models/components/EventOrganization1.md: last_write_checksum: sha1:b781bf13a63a4859a0fcb04f23e350b988df7674 docs/models/components/EventPageVisitTracked.md: id: 5911814e763a - last_write_checksum: sha1:46fdb7c2a4ccd4b704d03ad30881793e3357cb3f + last_write_checksum: sha1:0c665b4c5e3faf05d3c0ad176b1bae4771349b66 pristine_git_object: bd75147a0718b23ca7c91a5be0390298ef2559ac + docs/models/components/EventPageVisitTrackedEvent.md: + last_write_checksum: sha1:972a0b08c049ebe1ccbd161130ae79b7ed049ca0 docs/models/components/EventPaginatedResponse.md: id: 0f29215148b7 last_write_checksum: sha1:c9409bb1c4230212c59f47b7ee5c77e84bdf55ff @@ -2038,7 +1970,7 @@ trackedFiles: pristine_git_object: 4fb39a3162534f3395bb3f55814cfae07ed02322 docs/models/components/EventQuestionJson.md: id: fe269143a85a - last_write_checksum: sha1:67edab73fe4c6b6dbb38f83be8dbe348315493a8 + last_write_checksum: sha1:131eafda1acbb14b51edb075a5cf8e6490ec435a pristine_git_object: 0c94aa53da827ff5d0b2da0d95b8e8b43fa055c8 docs/models/components/EventQuestionJsonAdmissionItem.md: id: 9f9774da1bb7 @@ -2054,40 +1986,34 @@ trackedFiles: pristine_git_object: f9302b0873f183dde1c57150fe82fac1495f3648 docs/models/components/EventRegistered.md: id: 8025c68e4afb - last_write_checksum: sha1:f715d749b91efd230243700dade57826ab5d4141 + last_write_checksum: sha1:3aa85966b8b583565d877a0a4c19340f1b7c10bc pristine_git_object: 2bf299c3192c22e17163a9aefdb407fedec80cc0 docs/models/components/EventRegistrationAbandoned.md: id: f89b8c9c7ab8 - last_write_checksum: sha1:8ee24ef6a95c372e7950db60c7fd2f37f690f030 + last_write_checksum: sha1:8a7ab498deb188bd19c9f820de99b93ae1251f5a pristine_git_object: 1130145df1286b8881c67c6ed33cab7f06f5f12c + docs/models/components/EventRegistrationAbandonedActivityContact.md: + last_write_checksum: sha1:359fe90e82859364c4edc8de10797b490c851e5d docs/models/components/EventRegistrationCancelled.md: id: 4db647d796a5 - last_write_checksum: sha1:62f3b3c4619cffa482cb0d7e292d2f04c90fbce8 + last_write_checksum: sha1:9db283495736d5d355b3516f6639079c0bedfcbc pristine_git_object: c6c89c4d2e1230d942a60e89deb52b01ce8889c8 - docs/models/components/EventRoleAssignmentJson.md: - id: cbbe6dc60a8d - last_write_checksum: sha1:f20596219fcd29a325dc0624210864312527ee81 - pristine_git_object: 10535788bb53e8d382b758902233723ed06bcdc9 - docs/models/components/EventRoleAssignmentJsonEvent.md: - id: 9ccad60dffac - last_write_checksum: sha1:dc476f2d8de65d935cc97d5fa4e16c90cf4b57fb - pristine_git_object: d22d36c993a4297775e85ea95e29cc0ff81030a9 - docs/models/components/EventRoleAssignmentJsonUser.md: - id: 367560d5ad52 - last_write_checksum: sha1:f12375e833e22e621999ab5870021d8718fae4e8 - pristine_git_object: 89073fa45ac9ae7631e6514fa7ccd742c95eaa74 + docs/models/components/EventRole.md: + last_write_checksum: sha1:42b91af75712049bfb8fe205e01a77b9714aa1a2 + docs/models/components/EventRoleAssignment.md: + last_write_checksum: sha1:5e2f5c07f49109ecaacda0846033ec7615d383cc + docs/models/components/EventRoleAssignmentEvent.md: + last_write_checksum: sha1:2837b55137ccc5d39a818111d6eb6492505330ff + docs/models/components/EventRoleAssignmentUser.md: + last_write_checksum: sha1:b91ff1b6d4b1c9d410da682bbe1ec08d2a7e0096 docs/models/components/EventRoleAssignmentsPaginatedResponse.md: id: d75566f4940f - last_write_checksum: sha1:8f5fb91398761df00066f38ade5c4d96be3d41bb + last_write_checksum: sha1:70506e0631d861862a6e8eb2736182b9b906d7ac pristine_git_object: cdf18613a79708356ee3d1f5875d88f7dd40f892 docs/models/components/EventRoleExpand.md: id: 31b8f40bd992 last_write_checksum: sha1:2322de5b2cdf3b93173d4fb0d5169f4b85ef2e5a pristine_git_object: d05ff726db937930d025270d6bed48341caead84 - docs/models/components/EventRoleJson.md: - id: 4125aa29db76 - last_write_checksum: sha1:4c6941681e3b60638a4b4b8ba58dea5d4adb1909 - pristine_git_object: 8a4113254238d0d45c127a45df2c2e5b2003ce65 docs/models/components/EventSecurityLevelJson.md: id: b6d84121cc14 last_write_checksum: sha1:4bb3382d012854c6754c1c299876dac70e8643c7 @@ -2114,7 +2040,7 @@ trackedFiles: pristine_git_object: f18fe8ddc33236d763b4c5db12b706f88398b60d docs/models/components/EventSurveyQuestionJson.md: id: 533cfc903571 - last_write_checksum: sha1:ceebbc31220b6b9b424ec298ce50786e3fb60d8a + last_write_checksum: sha1:1e5fa8bcd73aece4c09e7d46273be605e13a46c6 pristine_git_object: 2e3dd74c979006b84487aec1749652e180fee491 docs/models/components/EventSurveyQuestionsPaginatedResponse.md: id: 6f4572c68e0b @@ -2194,7 +2120,7 @@ trackedFiles: pristine_git_object: 234bce7838293e92df575134fe25837e37f02b77 docs/models/components/EventWaitlisted.md: id: 5ee60ea3e8ce - last_write_checksum: sha1:4a1dbe417c05baa3c33a7e866a5ef7d6b5e14c3d + last_write_checksum: sha1:b48687ebc5d19237cd50346110dc71b47d264348 pristine_git_object: 277c25febac9386b7dedb5aba7cb6e742ed41df3 docs/models/components/EventWeblinkJson.md: id: 4488a88d07bf @@ -2206,8 +2132,12 @@ trackedFiles: pristine_git_object: 0a0c8a45781802f37b7bc9abc3bcdcd9a64de8e6 docs/models/components/EventWeblinksPaginatedResponsePaging.md: last_write_checksum: sha1:dcbde1dcf59416b9c0fd491ad55d371449ae621a + docs/models/components/ExhibitLayoutType.md: + last_write_checksum: sha1:ab57ca65fc7b3e9ac874d3f5df5a791e1d392378 docs/models/components/Exhibitor.md: last_write_checksum: sha1:a4dd4dbb56b448b6e86e00ccc5af30cb4b70fa77 + docs/models/components/Exhibitor1.md: + last_write_checksum: sha1:c17f4c38cba5f376440d75710ebd2ba614d8015c docs/models/components/ExhibitorAdminRequest.md: id: fd4bd400da0f last_write_checksum: sha1:f03db47de158530d9d467630546467c4220034e1 @@ -2276,7 +2206,7 @@ trackedFiles: pristine_git_object: 3eb4917d275b0da735a7582ce4040706cf7f8ef7 docs/models/components/ExhibitorDocumentOpened.md: id: 9e3bc9386d03 - last_write_checksum: sha1:0922117d0bd8b49dd2698d2bd154d2e90c46feda + last_write_checksum: sha1:9a12cae94882c6320a0057ec2edec1bbf6f592e8 pristine_git_object: 80a6106fc11a0a8f1b095d1bcee885247afe953e docs/models/components/ExhibitorId.md: last_write_checksum: sha1:377c408be65e57dcf2aa0378d639e2df73766ddc @@ -2284,10 +2214,6 @@ trackedFiles: id: 3a18594f365d last_write_checksum: sha1:06d0ea624367e9ef64e2efc45c0bd20083305b7d pristine_git_object: 8cd9f3d19422cfbcaca30dbae67f1f9553da68c6 - docs/models/components/ExhibitorJson.md: - id: 05f41659f4fa - last_write_checksum: sha1:ff8c419deb422355afdc70c5dd8e81d1c24d3c75 - pristine_git_object: 1fb374caac5538bf7aeca805df6e58b610797b31 docs/models/components/ExhibitorQuestionType.md: last_write_checksum: sha1:184e0bf759340bb501c69a6509b955696ab14c1b docs/models/components/ExhibitorQuestionsResponse.md: @@ -2308,19 +2234,19 @@ trackedFiles: pristine_git_object: 758dc1a665157513ccbe26d4dcfc6a71379ea76e docs/models/components/ExhibitorSocialLinkOpened.md: id: b18993967fd4 - last_write_checksum: sha1:b6483c801b5f99d1b647f1b3f8ee4bc3eb7200a1 + last_write_checksum: sha1:2e8a4e72c38c78166203bf65ab4bf843180bcf3a pristine_git_object: 2b863e179b7968fc1be1bb3666b40aa540ef813c docs/models/components/ExhibitorViewed.md: id: a1044144a1a6 - last_write_checksum: sha1:a4e2a581e59eb6f6cba2660040ec0d0225c7482f + last_write_checksum: sha1:d068cd3df7201e84661e5bbc1a21ad2b4447e502 pristine_git_object: 7752fe648f097fde85a8d7fc203e596f9ea319b0 docs/models/components/ExhibitorVirtualBoothJoined.md: id: 90778f8632e6 - last_write_checksum: sha1:7f98cdb8041ba24e3bfee3ee4ea70e64e509d1ac + last_write_checksum: sha1:7196f9b06dddc99e8c20375e92a31d55e8b5476b pristine_git_object: 4741d013af630bbf45507933d52ad1b3b2184ea0 docs/models/components/ExhibitorWeblinkOpened.md: id: 1c28bacaf357 - last_write_checksum: sha1:118ab9bb235c4bd744c69fbb3a8a86a0765e6864 + last_write_checksum: sha1:6b858d60b9f5bb4da76f42a2dbc8014179ecfa7e pristine_git_object: adab280afedeb080af6412c4beecb596368125ba docs/models/components/ExhibitorsEventCopyOverride.md: id: 27b7b982f6df @@ -2407,9 +2333,9 @@ trackedFiles: docs/models/components/ExistingELiteratureRequestDataForLead.md: last_write_checksum: sha1:ff4d2f94110644081acf570e800de24453578dc7 docs/models/components/ExistingExhibitorAnswer.md: - last_write_checksum: sha1:f3b51087db31f8ce689ca45658fa0fa76599757d + last_write_checksum: sha1:0e7e36b26b4d13c3ccac6a55df8e8ad4a437e42f docs/models/components/ExistingExhibitorAnswerInput.md: - last_write_checksum: sha1:abbbe6ebb7375b0cc60f4a715fabba6bbe8c84c1 + last_write_checksum: sha1:06220571897a68ad81f3fd54f7888ecc1da03678 docs/models/components/ExistingExhibitorQuestion.md: id: e20537d22cbe last_write_checksum: sha1:b7f463dc84939d70173989aefdcf0211d4d9902a @@ -2420,8 +2346,16 @@ trackedFiles: pristine_git_object: d2e29383c0ca8986cc8ba2bf33c1bb6ef86a6734 docs/models/components/ExistingHub.md: id: 048645617f7b - last_write_checksum: sha1:5b3589ed0c03fbc80e8a2ee6389139d0858237e9 + last_write_checksum: sha1:c68787ed67991db4a4b3e9adcc393ca325758fe0 pristine_git_object: 6f8eb6fecec29c8d93930af6ce145a21e2af1fbc + docs/models/components/ExistingMeetingRoom.md: + last_write_checksum: sha1:97ad8739f64cde397a0a47f75a793d9f961bb96d + docs/models/components/ExistingMeetingRoomDimensions.md: + last_write_checksum: sha1:92c70fee412208bafec3fd631ae1272b5dfe97f9 + docs/models/components/ExistingMeetingRoomInput.md: + last_write_checksum: sha1:5f934d744426f3ef4d21ba03c8482875032d0dc3 + docs/models/components/ExistingMeetingRoomRates.md: + last_write_checksum: sha1:15bbc1b651d779a4baca818f652252c5429a7863 docs/models/components/ExistingMember.md: last_write_checksum: sha1:c9054dfe8dc180c6d3fd9a5759aa94b1c25e93af docs/models/components/ExistingMemberLink.md: @@ -2498,6 +2432,26 @@ trackedFiles: id: 4c227c7b4073 last_write_checksum: sha1:8e64c6009da912a5069f2b60bc8210d11fe796f1 pristine_git_object: d190a1376d1a9f4516b9893669f84a06288bd926 + docs/models/components/ExistingVenueDetails.md: + last_write_checksum: sha1:79b62b52d006ed065eeeb8dc699b008dd698fd03 + docs/models/components/ExistingVenueDetailsInput.md: + last_write_checksum: sha1:8049b80ce22a1de75aff59cd13cf9126d4bec104 + docs/models/components/ExistingVenueFacility.md: + last_write_checksum: sha1:c264ba5df8b8a7c89c047d7c40b10e832d01ce01 + docs/models/components/ExistingVenueFacilityDoubleRate.md: + last_write_checksum: sha1:a827c1a37dc23154b1255bf142934de736d1193e + docs/models/components/ExistingVenueFacilityInput.md: + last_write_checksum: sha1:172c304dd3b623786f5510fb2cfbe561639a2e5e + docs/models/components/ExistingVenueFacilityMaximumCapacity.md: + last_write_checksum: sha1:25ac86155421b5983a236445da7a26a655e45793 + docs/models/components/ExistingVenueFacilityProximityFromAirport.md: + last_write_checksum: sha1:cd69e16ce69716aa25a57d1ffe28a87377f67e34 + docs/models/components/ExistingVenueFacilitySingleRate.md: + last_write_checksum: sha1:708a23f8360e68cca06cddc6b49c9ef46d91c20b + docs/models/components/ExistingVenueFacilitySleeping.md: + last_write_checksum: sha1:9988487a7e4347a816a351e1e758653064ceff8b + docs/models/components/ExistingVenueFacilitySpace.md: + last_write_checksum: sha1:4f998d71676516cb2a51084f896064de3700691d docs/models/components/ExistingVideoResponse.md: id: 0507d8a10724 last_write_checksum: sha1:eb4184c4cbec7d197bb62ff828648b820876b57c @@ -2568,54 +2522,40 @@ trackedFiles: id: ac7b6158e63d last_write_checksum: sha1:e7a40bf189f3c2d5d596afec16826292652ca8ac pristine_git_object: 575909094aa220fdde99d292562a48da8208895c - docs/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.md: - id: 6a17522920ac - last_write_checksum: sha1:f2e2a1738550c7715efa38569c8aa59115f744ad - pristine_git_object: 1ecb7f9421fc347f6ed4da36289c88a8077e0826 docs/models/components/ExternalActivity.md: id: e587a9edaf59 - last_write_checksum: sha1:eab870693b67aff2b75669ce63b7adefd6f49418 + last_write_checksum: sha1:cded0a5f91fff5d4e6cce82a3665b0819793872e pristine_git_object: 1b6ced9c1be95b13571e3c1a56855435f533fd31 - docs/models/components/ExternalActivityDataJson.md: - id: a844a44a01cd - last_write_checksum: sha1:42e86a31d288389bdd1a5c34bc23d039906a65b4 - pristine_git_object: 5cc4e5b09d247bcad0684b1269666fcae0a92ad7 - docs/models/components/ExternalActivityDataJsonAppointmentExternal.md: - id: 02c132cad88c - last_write_checksum: sha1:1a10bd29dcfad7bc067f50a8eb6e459f5b187df2 - pristine_git_object: 1e52a52fe9d7e963e34efd84432026a3ea09d35a - docs/models/components/ExternalActivityDataJsonEventExternal.md: - id: 5b8718920ed7 - last_write_checksum: sha1:e527e6ff4a5baff9e1f235c7823745578fe9ec8c - pristine_git_object: 5a4a555744a28f6ec078e9868cc4e598eee5f13c - docs/models/components/ExternalActivityDataJsonExhibitorExternal.md: - id: 8e53cf1472f5 - last_write_checksum: sha1:b1c15496b5535fe05b9e9201d87c48a6048c6573 - pristine_git_object: 8b3b17be8dd01983cd1e1ff50915b4f6d2c9bc98 - docs/models/components/ExternalActivityDataJsonSessionExternal.md: - id: 666a9c966100 - last_write_checksum: sha1:1e3d7b21cd7bf4419c723c1a293f805c4f0b9c14 - pristine_git_object: faf52b50dc6d1df0d1753d1edb9a7dd5e48558b0 + docs/models/components/ExternalActivityAdditionalFieldsMetadata.md: + last_write_checksum: sha1:7b197a9cecb9e39fa966424b13db6c84321592e5 + docs/models/components/ExternalActivityData.md: + last_write_checksum: sha1:f86de8589790b7ffc91690bf6029dc7ece59a8ea + docs/models/components/ExternalActivityDataAppointmentExternal.md: + last_write_checksum: sha1:eec99c047b47a3d0c7051088b5cd6a615ad2f9f0 + docs/models/components/ExternalActivityDataEventExternal.md: + last_write_checksum: sha1:e8c1fe46d1ddf3474faefe916aec7ffd1243ba14 + docs/models/components/ExternalActivityDataExhibitorExternal.md: + last_write_checksum: sha1:5d1c7c5cc34f5f0fb5fe7f95bdce58248ab9ded5 + docs/models/components/ExternalActivityDataSessionExternal.md: + last_write_checksum: sha1:08e926c4b5032e57146869e459fb59b356e42fe4 docs/models/components/ExternalActivityInput.md: id: 1bebd7e6a3eb - last_write_checksum: sha1:304e584106e88bf75248f099fb14bc1c05e3e3a4 + last_write_checksum: sha1:050554d013ef5f1063efbda4217c71ae7a91fe91 pristine_git_object: a7fbe825dcf9e7a8c018d7ce1cb262e8a10d88e9 docs/models/components/ExternalActivityMetadata.md: id: 71a2f636fff7 - last_write_checksum: sha1:1acf01525bd31a19316259a8520db95321f987e9 + last_write_checksum: sha1:6195565fb5c6044a6ea008747473faa8b697c835 pristine_git_object: 2cc30bd69a4b83a1b89de1fe4a2e379cf6f53a65 docs/models/components/ExternalActivityMetadataInput.md: id: 4378ad3d2ca7 - last_write_checksum: sha1:5c567a73efc31406654ed20ba56cce3a71c0a22e + last_write_checksum: sha1:17f9e9a98c768c81a01ead00758fe48df8233593 pristine_git_object: a06f704b7b0dae85fc4f006a7fe98cebbc421e39 docs/models/components/ExternalActivityMetadataPaginatedResponse.md: id: 07941398d9f6 - last_write_checksum: sha1:15a07ae588be91e85e6966f04d297a441bb9a55c + last_write_checksum: sha1:46b3eeccb25d0b7f3a1f0740e6d95074e1467eb1 pristine_git_object: 1cde376ca8fdb270e02cecafb462f525ba52bb4f - docs/models/components/ExternalActivityTypeJson.md: - id: 97a38cca2290 - last_write_checksum: sha1:1b4d3e1bf2a409b29241c50ecfb7cecd5211b711 - pristine_git_object: 458c34ddaa9317ab0e1688efbedf0082fb3b7f13 + docs/models/components/ExternalActivityType.md: + last_write_checksum: sha1:7814ee91ee4e15bae8d34ad034b5ad075c25f50a docs/models/components/ExternalCodeTypeJson.md: id: fd69caa1a0ec last_write_checksum: sha1:99b649e5e86017a4090d0929a8713c50f5f8113f @@ -2826,7 +2766,7 @@ trackedFiles: pristine_git_object: 590bdbb42eba0a26ca35086825141701cb1b1759 docs/models/components/HousingEventSummaryList.md: id: b2729948bf79 - last_write_checksum: sha1:c81ecb701ae802beff14bc973b2cfdd7b2c0d054 + last_write_checksum: sha1:4c84bf589ac0af22cec5207c4913eb1e8d0fb8ef pristine_git_object: 06018842875089a62442e3bcc072f5c67cee9c67 docs/models/components/HousingReservation.md: last_write_checksum: sha1:1f269a0706840f05c1ce14a185b25d788e854d02 @@ -2934,12 +2874,12 @@ trackedFiles: last_write_checksum: sha1:2f0955a9a0e98e97c5ddc550514dfeab7ef6a5de docs/models/components/LeadInboundCreated.md: id: 175878a88e9f - last_write_checksum: sha1:79e4cf2a548a0926326b1e33b6be2f623aebfe36 + last_write_checksum: sha1:35a483cdcbbcd155eb164e706dcc8ba0ca58cd23 pristine_git_object: db901d023aed52833a3215150201dec65ed2e1e9 - docs/models/components/LeadObjectJson.md: - id: 12b6ca050d54 - last_write_checksum: sha1:3aba30c859ef004b558ff9721e39b8a96796ce17 - pristine_git_object: 74b78ec55335b82e4e6ab899748e25cb8ba70fd4 + docs/models/components/LeadObject.md: + last_write_checksum: sha1:8ca175dc4d5a687e303f7e991d980abc5fb33fbc + docs/models/components/LeadObjectActivityBoothStaff.md: + last_write_checksum: sha1:21a697eaf3ae549ebbbd3cde108307210c1adf7b docs/models/components/LeadQualificationAnswers.md: last_write_checksum: sha1:72f7618a64d03df6e712e7d9099912525cd1f92a docs/models/components/LeadQualificationAnswersListResponse.md: @@ -2956,19 +2896,15 @@ trackedFiles: pristine_git_object: 85ddce20477508328d23b29379d83ecfbcbf5e05 docs/models/components/LeadQualified.md: id: cafa7fc6aaf1 - last_write_checksum: sha1:a1f6714b31f71c1f92e71c76ec9c68587bed45ad + last_write_checksum: sha1:897e7164f9e1f89d7add2756559f1e2b819e005b pristine_git_object: 44f0434c6da13b84aa940364faed92d5e0e269df - docs/models/components/LeadQualifiedAnswerJson.md: - id: d71635ba9136 - last_write_checksum: sha1:39bd9811b6166f7754845ae0848c1dee081d8114 - pristine_git_object: 2aa0314c7a37cd39be6930e2c59f2b6c388014ef - docs/models/components/LeadQualifiedQuestionResponseJson.md: - id: 32f0d80936c0 - last_write_checksum: sha1:961d3f1d4baf244afcef95abc65e9976963aaa08 - pristine_git_object: 7ede32e6319485b7261429312a8853c61257da07 + docs/models/components/LeadQualifiedAnswer.md: + last_write_checksum: sha1:b8fe46f28ed2e7a1ef279814ab28dc69b4d0cc99 + docs/models/components/LeadQualifiedQuestionResponse.md: + last_write_checksum: sha1:7a735beb33c485c1fcf2efca8254ad7fe8ca82de docs/models/components/LeadScanned.md: id: 7e31666ffc67 - last_write_checksum: sha1:604489646dd4587238c6f51f7ee6c419b69c78c9 + last_write_checksum: sha1:b4e9fde54fd26db1afcd225ec0761e66f4b3b05c pristine_git_object: 7230ebaa0b73dbe28e855d2942f9efd9a6632663 docs/models/components/LeadSource.md: last_write_checksum: sha1:31be3a582ee12f55d91e7bd95c127359b567e9ac @@ -3018,8 +2954,10 @@ trackedFiles: last_write_checksum: sha1:a494307108b6fb18f8c181411398fe121a22ca7c docs/models/components/LocationJson.md: id: ac21398d45dd - last_write_checksum: sha1:8c566a9073ee2938c798bf56544be6d586eb63e3 + last_write_checksum: sha1:5ec4fbb49411d30a99d15f2419a6ca8bedffefe5 pristine_git_object: 39bc47f4e849df99709c73f491123e086fd6522d + docs/models/components/LocationType.md: + last_write_checksum: sha1:c32f672c334de3d65326d927bc12b5b74c7fa869 docs/models/components/LocationsPaginatedResponse.md: id: 5bb639c32e91 last_write_checksum: sha1:5251c8f26f806e0e44cf9774834bebca0bb292bc @@ -3040,55 +2978,35 @@ trackedFiles: last_write_checksum: sha1:baba885882d4963cbd841460ad9397a50037e219 docs/models/components/MeetingRequest.md: id: ea41d46c5718 - last_write_checksum: sha1:1f69fdad3deb86f3d18ab31c5be9070515ac7a7f + last_write_checksum: sha1:3f1be4748db89990931ac72907eec08024185ae4 pristine_git_object: 765e0942e20d613fe203f32653a1872b24abe049 - docs/models/components/MeetingRequestBulkResponseItemJson.md: - id: c3b2c9ccc676 - last_write_checksum: sha1:a83ece2525c455f3e75e2bf706d82fcae3a5f28c - pristine_git_object: 52da112c2386fe6b3e89e8ec351c44954be74511 - docs/models/components/MeetingRequestBulkResponseItemJsonRequest.md: - id: 0c628572c5a1 - last_write_checksum: sha1:3d209b585ca7a5ad3eadedcf53c279659f06156f - pristine_git_object: c040bcfd7caa03f362458403ad4c600d86f085b7 - docs/models/components/MeetingRequestCreateJson.md: - id: cf7e08f08f62 - last_write_checksum: sha1:9fc439ee96412aea4e8dd930f8414ceb08e55aca - pristine_git_object: eca84717491366ef0505c3669cf3de888bbd7357 - docs/models/components/MeetingRequestCustomFieldJson.md: - id: 6b938598ba0f - last_write_checksum: sha1:23c95a25d6d60224c108ce8a221cf2a8f2ad1538 - pristine_git_object: a65c92a6f08ccf41ddd11df1caed2bd09db47d8d - docs/models/components/MeetingRequestCustomFieldJsonCustomFieldType.md: - id: 6ae9ce160fef - last_write_checksum: sha1:5636716961e1f345d56840e4907c4ab63be9d8a0 - pristine_git_object: c66be6cb6168a8d83fda45f62ddb75f0192d941c - docs/models/components/MeetingRequestDocumentJson.md: - id: c9f546e871e6 - last_write_checksum: sha1:f09be08c83aebf51c7eb7bbf8e3d34f9eeaa8609 - pristine_git_object: e4de85d03555f0aad198d551b19617c60014803b - docs/models/components/MeetingRequestDocumentJsonMeetingRequest.md: - id: 4a735d67594b - last_write_checksum: sha1:bf15b7e2f1a0da4015be97ee152b274340fefdb8 - pristine_git_object: 79823a046820628a0a6340cc7241011f7475b5ba + docs/models/components/MeetingRequestBulkResponseItem.md: + last_write_checksum: sha1:3c73011d7bdee021cea97c429633cd423a0c0e41 + docs/models/components/MeetingRequestBulkResponseItemRequest.md: + last_write_checksum: sha1:b79271a9d1180fe3f9a807ceef325d2dc22def53 + docs/models/components/MeetingRequestCreate.md: + last_write_checksum: sha1:b877ad4b54c9e6fe009c52dd111f720d0ebfe380 + docs/models/components/MeetingRequestDocument.md: + last_write_checksum: sha1:116eaa889753fd031cf171e5e03929f290fdc716 + docs/models/components/MeetingRequestDocumentMeetingRequest.md: + last_write_checksum: sha1:adc9f4c00cf9a0b5fd5e6121ea90c31fcd773d90 docs/models/components/MeetingRequestDocumentPaginatedResponse.md: id: e9a0d326b279 - last_write_checksum: sha1:1287c5cf71b17c949f83a5f1374adab62902e637 + last_write_checksum: sha1:44d7d393380182ecae4821ab367e3b220ed08a10 pristine_git_object: 1d99aa360e20fca419c18cb8d7309e79ca45e3db - docs/models/components/MeetingRequestDocumentReferenceLinkJson.md: - id: 6dcb988bb685 - last_write_checksum: sha1:3eae20e333c5f2ec57a94b6cc0c1c406164ebf4f - pristine_git_object: 04f38fbb6877fe16312981991b353e7493885ef8 + docs/models/components/MeetingRequestDocumentReferenceLink.md: + last_write_checksum: sha1:fe0e158f0eeae9d82c966cab1a568f16222b3968 docs/models/components/MeetingRequestEvent.md: id: e059e61d9c4a last_write_checksum: sha1:2a82a887cce36e1fdcf118f2bdfbbcf2c85b15fb pristine_git_object: 2f29b4313fbb51b6e9757735aed9b7eb86c04a16 docs/models/components/MeetingRequestForm.md: id: daa4f88a7438 - last_write_checksum: sha1:d137fee0d1f3ef8baf1621c7e2aed0d1ed42a6d3 + last_write_checksum: sha1:477f3ca4cbdbd4f026a76199a108cef6cd7d7cd7 pristine_git_object: 82771f094b5545717984f410baa631cef754b122 docs/models/components/MeetingRequestFormPaginatedResponse.md: id: a85b8cc72126 - last_write_checksum: sha1:728fb2c5ae0bea838acb4cc1ec4d96bc3e9e3a16 + last_write_checksum: sha1:aa7da5a334bb871a359a6fa4a16e3f6cd4a7d1a4 pristine_git_object: b2d3dcc92dc973ea92e67599636074953c7c57c0 docs/models/components/MeetingRequestMeetingRequestForm.md: id: ca078a223cf4 @@ -3096,32 +3014,44 @@ trackedFiles: pristine_git_object: 3898c72850df7e863de0fd57367378bb3ab78f44 docs/models/components/MeetingRequestPaginatedResponse.md: id: 0e72973f5982 - last_write_checksum: sha1:74bf093b39269e76dc3459c44db373594f86b584 + last_write_checksum: sha1:747078e937b6ba10175b50ed5bbff85d9e8fc53b pristine_git_object: 25cc0f7b96a78bf357ec137aeec8eeeec42dc46e - docs/models/components/MeetingRequestQuestionJson.md: - id: 22d9f579996c - last_write_checksum: sha1:72b1b2719c6548b0b6b6b1aed6db453ef5103454 - pristine_git_object: 55cc84cac319b249997a613e4ec7bd1357533346 - docs/models/components/MeetingRequestUpdateJson.md: - id: b0dfb099a5ab - last_write_checksum: sha1:53b4c277e6182eb8c969032d5bfee59c9a8ec3dd - pristine_git_object: 34b722b8335702bfab8b68756cb6e8ca464d50b7 - docs/models/components/MeetingRoomAgendaItemTypeJson.md: - id: 41928f308bb3 - last_write_checksum: sha1:06416c17132748243ab317f1f2d712343308edf0 - pristine_git_object: a3cde00473343c7eefd3747208f0ea130c74f5ac + docs/models/components/MeetingRequestQuestion.md: + last_write_checksum: sha1:f9eed67868060377d19ba144e2757fdfdf993c49 + docs/models/components/MeetingRequestQuestionInput.md: + last_write_checksum: sha1:4baa5097468295770cbcb2f038715cb6493f9cba + docs/models/components/MeetingRequestUpdate.md: + last_write_checksum: sha1:bd0bc30e3a652ddfca925538596301f0e715a863 + docs/models/components/MeetingRoom.md: + last_write_checksum: sha1:f2c100223d2c1e817e49732a57c2a6913d86d89d + docs/models/components/MeetingRoomAgendaItemType.md: + last_write_checksum: sha1:6c87b98e909e0e300b4f7ab3aa09b938e52e396b + docs/models/components/MeetingRoomAmenity.md: + last_write_checksum: sha1:efaaaf1608e8e01c6aa3d7d0fb93604037ba70b4 + docs/models/components/MeetingRoomCapacities.md: + last_write_checksum: sha1:d144e720bc2ca82326584b4ac95c1f79a7341e95 + docs/models/components/MeetingRoomDimensions.md: + last_write_checksum: sha1:e9c3790cd30721d2f7ce0ff3dcc67803651c3fdb + docs/models/components/MeetingRoomExhibitCapacity.md: + last_write_checksum: sha1:875758cf255b4255992c222439b07b807dbb0a2d docs/models/components/MeetingRoomJson.md: id: 09028bc187fd last_write_checksum: sha1:4ce729a21fbe4ab3fe901663bad233be7db67401 pristine_git_object: 33df15b0f04d2ab7f848f487d84abaa442c3ca4b - docs/models/components/MeetingRoomRequirementJson.md: - id: 0dcc540da5de - last_write_checksum: sha1:215ef8b27cee82f74892638f22ceccd4c479d0dc - pristine_git_object: 61cbe5119ff4d9ca71b09404fb149f91d5117b00 - docs/models/components/MeetingRoomSetupTypeJson.md: - id: 7c8cd8ad71bd - last_write_checksum: sha1:3393b6693b33c686468599976f2e7dd3a1b71452 - pristine_git_object: 34b75735c215b0b293f5b6e13e4272e579de8397 + docs/models/components/MeetingRoomOverview.md: + last_write_checksum: sha1:35971d4e3a975eb9a2c1c22e54cb3b459c79de4d + docs/models/components/MeetingRoomRate.md: + last_write_checksum: sha1:8a947fd16d39ceae4e4ec0521d7630123b74b591 + docs/models/components/MeetingRoomRates.md: + last_write_checksum: sha1:af341b401ac058c37e97aa9deba1d707eaaf34f0 + docs/models/components/MeetingRoomRequirement.md: + last_write_checksum: sha1:5205e7fc9ebb168fcbc93e06849b9ffc82b36910 + docs/models/components/MeetingRoomSeatingCapacity.md: + last_write_checksum: sha1:18c100d1465e8d4087a6047fd018bb0517dabb19 + docs/models/components/MeetingRoomSetupType.md: + last_write_checksum: sha1:1b5d908f4510539761b64141d84916faf662ddf1 + docs/models/components/MeetingRoomsOverviewResponse.md: + last_write_checksum: sha1:d739452f34fbc748d25fff399c77c916a5bb70ff docs/models/components/MembershipItemsPaginatedResponse.md: last_write_checksum: sha1:8aa7104d60abc51759720ca4c703a1ddd99990d8 docs/models/components/MembershipItemsPaginatedResponseData.md: @@ -3290,6 +3220,12 @@ trackedFiles: id: 126d6517d893 last_write_checksum: sha1:303e4a976de41f0c4aa69acb662a6658fb429e7d pristine_git_object: fe1ecf6609e92b7c96c24a009eb2f6a5d1ce84fb + docs/models/components/PatchMeetingRoom.md: + last_write_checksum: sha1:face6e9b956c44314f2a04843c7c7170b099d8fe + docs/models/components/PatchMeetingRoomDimensions.md: + last_write_checksum: sha1:8cdfb4a5385f2c494df42e1e668473f2b1e25003 + docs/models/components/PatchMeetingRoomRates.md: + last_write_checksum: sha1:3f50569c356d161ad565cd269fc8eb666be13572 docs/models/components/Payment.md: id: 011d3df9ada3 last_write_checksum: sha1:72a1836f04ee24b95bf4bbc5c85b1b901b9d484d @@ -3418,41 +3354,27 @@ trackedFiles: pristine_git_object: 26264cdb68964e1a8b54fef5e8a4299aba45752c docs/models/components/PolicyValueType.md: last_write_checksum: sha1:72b9a134f936a325d6f8dfe59e9dfeba2e1e5abd - docs/models/components/PollResponseJson.md: - id: bab52951c4e7 - last_write_checksum: sha1:c402b480276140a66a0cbeeb307f16fe44df7283 - pristine_git_object: 25c28f811aae07017ed2b02dcfe80bbe80014a54 + docs/models/components/PollResponse.md: + last_write_checksum: sha1:cdb265f09b36cfd35ab5ef682fb5b892a996a27d docs/models/components/PricingConfigJson.md: id: c42c449a65c6 last_write_checksum: sha1:4d7942f31373b8b34e7c14a50ee2f320c01b15c6 pristine_git_object: 4a9c2cd7e0614790f3eb824877ea175fabf44708 + docs/models/components/ProcessForm.md: + last_write_checksum: sha1:0ac608886f5686c439c185695ef7e2693962c168 docs/models/components/ProcessFormExpand.md: id: de28282462b2 last_write_checksum: sha1:adb00c99aadf692ef5e08914ae90342e140275d1 pristine_git_object: 047317363f7f17854cec7f742bb845ad8d746ccf - docs/models/components/ProcessFormJson.md: - id: ba690cff9cfc - last_write_checksum: sha1:21a6e1c4e16f7d49125252821cf577b9da2e626a - pristine_git_object: b54986e95777a141fb3e3a6055fc91318e069e78 - docs/models/components/ProcessFormQuestionTypeJson.md: - id: 66d81726ada0 - last_write_checksum: sha1:528a215d2a6f4ddbc208c6eb4c7aa3e2a53056ec - pristine_git_object: 9a78509bb0ac087a0f38f827cb46cc01b1555dd9 - docs/models/components/ProcessFormSubmissionJson.md: - id: 56d467ca7587 - last_write_checksum: sha1:30475352d7e1e52f9f51ba871522399543dcd7d7 - pristine_git_object: ef3cf571c278d3a9e849f31fc8fdd5ba31933c62 - docs/models/components/ProcessFormSubmissionJsonEvent.md: - id: eed351147f2e - last_write_checksum: sha1:d529d1006a1e414dc7b664333e62ecfb67c96691 - pristine_git_object: 72d061522960e2ae99cf9f21955bf925e8c80b4b - docs/models/components/ProcessFormSubmissionQuestionJson.md: - id: 10815632f147 - last_write_checksum: sha1:7d537873e07ad9ba8ea4a3e41879179c34491ee2 - pristine_git_object: cf1b3fcd896bc1ce2a4f0ed9331b5651f5573f71 + docs/models/components/ProcessFormSubmission.md: + last_write_checksum: sha1:cea0a68cec39d2dca6ed670e3fccdf8c4eb2b8d7 + docs/models/components/ProcessFormSubmissionEvent.md: + last_write_checksum: sha1:5fb4fe161452a2031bd22aadbd15b69f0131d0ff + docs/models/components/ProcessFormSubmissionQuestion.md: + last_write_checksum: sha1:a208a8ccecf17b670208cfb6a010dec49353bd0e docs/models/components/ProcessFormSubmissionsPaginatedResponse.md: id: 1793efe2019b - last_write_checksum: sha1:31e2b74a6b64ecbf334d98f6e9104f9f1067955c + last_write_checksum: sha1:f938a81450dc7f7ee284f489a494d98bb0fa2fdc pristine_git_object: 1b16a084a981cf3a93485f38481b5c3a43e1cb5e docs/models/components/Product1.md: last_write_checksum: sha1:6848a6d2c03cf6145178f0a410a66c64349a17d8 @@ -3594,12 +3516,12 @@ trackedFiles: id: 0516fcd99369 last_write_checksum: sha1:f0542b13258c513a623b756e41448de3feaf68b7 pristine_git_object: 8917fb3438ee03ec8bffb9c88d320b7652280979 + docs/models/components/Question2.md: + last_write_checksum: sha1:f17a724909ba6b76ce4ef11b0ca6f1fe6d9aea9a docs/models/components/QuestionClassificationType.md: last_write_checksum: sha1:44c1b41582e3c50cd841b2cae32b59c591a2a68d - docs/models/components/QuestionDetailJson.md: - id: d79c65642a67 - last_write_checksum: sha1:5af0f0a6ddc693c40d499b19803fef54d7ddba6f - pristine_git_object: a8b9154487ab2da6da60e8d1512842cd602e3e67 + docs/models/components/QuestionDetail.md: + last_write_checksum: sha1:7f2a55d82ed8549192eb8cf29c8a7d7333becebb docs/models/components/QuestionIdJson.md: id: 37e3014354f1 last_write_checksum: sha1:8e2225df81d0f8d7be38180a5e2622aed9133ff2 @@ -3608,40 +3530,34 @@ trackedFiles: last_write_checksum: sha1:91f38e33e3438f1cb4bc8de434535cc66d9ac9ad docs/models/components/QuestionJson1.md: id: 042d968d8d05 - last_write_checksum: sha1:d6531015aaf84bd6a974d9a1fcc22dee864b2dcb + last_write_checksum: sha1:172e61d5198062a7d90082ff0c49c48c0eb2b044 pristine_git_object: 39ff818b5894cc3c5e8ea55495eaf19ee162b5c1 - docs/models/components/QuestionJson2.md: - id: d566007c1a48 - last_write_checksum: sha1:4433a1c38ab2b9788e3ea869ec79dc2e78e09556 - pristine_git_object: 5b40fed3acd8d7f6c585a5bb75392fcf628be387 docs/models/components/QuestionPaginatedResponse.md: id: 1bf518a11044 last_write_checksum: sha1:0f2e01526673c1ae576458a306c5360e2d620abc pristine_git_object: b231a60ce7e24089a5e90e9a6cc4a9c56630b4a1 + docs/models/components/QuestionResponse.md: + last_write_checksum: sha1:b79333767131a34fabd28611c825f0f6239ac6cb docs/models/components/QuestionResponseDataType.md: last_write_checksum: sha1:ce4e6ee8895a14e3c02a23ac19532854199af3d1 docs/models/components/QuestionResponseFormat.md: last_write_checksum: sha1:540aeb5cfb1698f779371c210429c9523a1dc8b9 - docs/models/components/QuestionResponseJson.md: - id: e23ea446cd9c - last_write_checksum: sha1:5622941aabdd273d41359e1f22d703f7348cc239 - pristine_git_object: 68ada6bc706f882e5650567af8fc327d83a86e15 docs/models/components/QuestionResponseType.md: last_write_checksum: sha1:94562844c73a4ac143121f872db22b5b4ce3e7cd docs/models/components/QuestionSection.md: last_write_checksum: sha1:ebf5bcfcf3f36b7ef25eca2caeb225e0f2447bc1 docs/models/components/QuestionType.md: last_write_checksum: sha1:d51d2a7e9ef62f7931b5117a57d6ae8535fa4d92 + docs/models/components/QuestionType1.md: + last_write_checksum: sha1:413e551134917ef9091ca2f7ab353769aa14fa5d + docs/models/components/QuestionType11.md: + last_write_checksum: sha1:d3fadd93ce6d228f879da231fbadd674118a7d88 docs/models/components/QuestionTypeJson.md: - last_write_checksum: sha1:f1162132ea8bda0fb523d3a76cd3f7993d1378dc + last_write_checksum: sha1:534dbcc02a8a10e048f9e75072bfde11f1a31fe6 docs/models/components/QuestionTypeJson1.md: id: b10ac4c21cff - last_write_checksum: sha1:4a4c06c77eafa9adba8b986ebbfd548a7ce45a55 + last_write_checksum: sha1:bd7d7ed3f689e1c4c53e88c53cee7788a42f47ba pristine_git_object: 4ea2140c62648a7b5378bc8c6029b4f72205a726 - docs/models/components/QuestionTypeJson2.md: - id: d9f738de2c32 - last_write_checksum: sha1:7fe8bd281b1d03315228bb20d7e0b884162df195 - pristine_git_object: 810a2ba403e7d13bebfc52bf8a1272e3ecaae804 docs/models/components/QuestionsPaginatedResponse.md: id: 100d16fb36c0 last_write_checksum: sha1:f5f0ba4e8785fdd5648363c2df2587140887d8d2 @@ -3654,6 +3570,8 @@ trackedFiles: id: 86399c41611a last_write_checksum: sha1:277b817d542220aa5001ec3f75ccc7122b61099a pristine_git_object: 12136095b911e2a1de8ef341283c66dfbe756d40 + docs/models/components/RateApplicationType.md: + last_write_checksum: sha1:be95589235dcf6e55ecd7ba39461caa796e4ffbc docs/models/components/RateLevelType.md: last_write_checksum: sha1:0cf656b0dc89fc14fde94af6c57660ed57a97fc1 docs/models/components/RateReviewStatusType.md: @@ -3756,10 +3674,6 @@ trackedFiles: id: 8a8bbe64a2cd last_write_checksum: sha1:1ebdd18f80f1b72930f01a658b9ba9d44895b62c pristine_git_object: d438e523d9b7b0559ae819f009b3ff9f7bcea479 - docs/models/components/RequestedMeetingRequestQuestionJson.md: - id: 61a0dab1e1b8 - last_write_checksum: sha1:7b3aad871f6c928a27d15bbfaed791407d8fc699 - pristine_git_object: 78e39d313f52a0f2b7ef448bbdcbaa4e4f480ea7 docs/models/components/RequesterSuffix.md: id: 51a2722afb3b last_write_checksum: sha1:32f205bebe413413543ca5464707fcb491e20640 @@ -4022,6 +3936,8 @@ trackedFiles: id: 48f9b7cb0c54 last_write_checksum: sha1:57726e31b52330929676270d397f4551e9d8d044 pristine_git_object: b34261bc1a40c2a8c21845c57d96709c3bdf2da9 + docs/models/components/SeatingLayoutType.md: + last_write_checksum: sha1:bccdf95be89cb8d4857c6560f3a68f68cc6d6036 docs/models/components/SeatingPaginatedResponse.md: id: 1c0f53ce7b9f last_write_checksum: sha1:185db71da1c8ccb6ff0465deecb62e06624f530e @@ -4092,14 +4008,6 @@ trackedFiles: id: df179c0e099f last_write_checksum: sha1:48dd08299d488366f347b13f18e4219ca43f9b13 pristine_git_object: 191481140a62347824d885e48119a9f9d1a0afc0 - docs/models/components/SessionActivity10.md: - id: cc224538a993 - last_write_checksum: sha1:4a52b93a92a9328da75a717a8eb85af5c98ff36b - pristine_git_object: f65198c766b481daafc7c2a10f6ba8d480e10686 - docs/models/components/SessionActivity11.md: - id: 0bf6849b82f9 - last_write_checksum: sha1:613fe75cd72690c23be12931c48cc113269b657d - pristine_git_object: 13f535d98bdf8fe9aaccd62169d4f314ae8d11c2 docs/models/components/SessionActivity2.md: id: 7f91316e6e2a last_write_checksum: sha1:ba2fc0c2d7d49310b36722772d037611c2946de2 @@ -4124,14 +4032,6 @@ trackedFiles: id: d5f826d0be8d last_write_checksum: sha1:7880c7bd1411ec02d8be9f80c3a59b671abfc146 pristine_git_object: bb84b0040fc7e8eb5067d6c8b44c4d390bcb2c0c - docs/models/components/SessionActivity8.md: - id: 4be036e72b72 - last_write_checksum: sha1:b29069e5ab4b070f4270b21701cbdc305bbfee0b - pristine_git_object: acd8d8dbd3ea91a785916061a4f3e1a6acc6490f - docs/models/components/SessionActivity9.md: - id: 9ba7ba8e8dbd - last_write_checksum: sha1:cf7f3af96ac641dea999f1a1fb1e467b04c9ae04 - pristine_git_object: 47082c62ae6d6eb61520cd66734835b5f28f84bd docs/models/components/SessionCategory.md: id: dcda1bdce522 last_write_checksum: sha1:9e97c0f716575bb2a2e0cc315becea18c5736451 @@ -4176,8 +4076,10 @@ trackedFiles: pristine_git_object: c862aada7b798151cadb97f42164a13a00d5e302 docs/models/components/SessionFeedbackSubmitted.md: id: 1b81cc5f2a5f - last_write_checksum: sha1:e4fd2fa6b9f40ec401fecb482e4477dc65c27c03 + last_write_checksum: sha1:4d50ec1ad4b07a9c2df803dddbe9f8538619f75f pristine_git_object: d950e79f38bf1f8159398acd4ac5e4cb20368677 + docs/models/components/SessionFeedbackSubmittedSessionActivity.md: + last_write_checksum: sha1:28ad80afb36175c4c18384e33a3a918d3afef426 docs/models/components/SessionFile.md: id: a4b0fe5163bc last_write_checksum: sha1:2cd6907a81212483e1e68548b7a69529bcfe8baf @@ -4212,12 +4114,14 @@ trackedFiles: pristine_git_object: 6b3f0b6b3f655d13b01aa4047c48d2181f53b5a3 docs/models/components/SessionNoShow.md: id: 7f4f9c77cd3b - last_write_checksum: sha1:0847b1f33edef76e029a9e1ca736d24b446f4c5d + last_write_checksum: sha1:ed65b7d8e78e535fc0a509871afdd418c5ef2d6b pristine_git_object: 74923059f83476bc863c5dbe6698891a5fa266cb docs/models/components/SessionPollResponseSubmitted.md: id: 61709674a184 - last_write_checksum: sha1:3300424cc503ffe8298847b38730ba5af5fe7441 + last_write_checksum: sha1:cff9cb126047d1b9cc0b020de9fdb43c7c34b6d2 pristine_git_object: e6081d9d9287c0579e4647b5bd6ca66821255e52 + docs/models/components/SessionPollResponseSubmittedSessionActivity.md: + last_write_checksum: sha1:6ca082f06c9b18a8f45acb163274f3a5027d8627 docs/models/components/SessionQaActionTypeJson.md: id: 59cab0c4938d last_write_checksum: sha1:fe352f9dd89fdc156ff4ac936b34af501bb6bb0e @@ -4228,11 +4132,13 @@ trackedFiles: pristine_git_object: a778e6486430957d618cad738bfa989e6e4e8b81 docs/models/components/SessionQuestionAsked.md: id: 59585a5bd4b9 - last_write_checksum: sha1:fd071dcd2d541d456f940fb0ab28fe47af444fc2 + last_write_checksum: sha1:25ca13e31f2e2e0ebc458bb66a25c6fd57fda8a3 pristine_git_object: 5351e6aa0927c9d04f2e1dad2bcd6988ba701b71 + docs/models/components/SessionQuestionAskedSessionActivity.md: + last_write_checksum: sha1:5f97bc2c03b6e8f4bf42dbe6f170d5f62e27da81 docs/models/components/SessionQuestionUpvoted.md: id: 65a4de440aa5 - last_write_checksum: sha1:a998a45e0bb44123d7e9e10b634f91536cf465ed + last_write_checksum: sha1:0c420c064146de5a39d97cf4ea77044b2eb8528c pristine_git_object: 2ac40121d4509add9d67e4f5d2d38ec214da34aa docs/models/components/SessionSegment.md: id: 333a59efb1a6 @@ -4256,7 +4162,7 @@ trackedFiles: last_write_checksum: sha1:fa884e55482f6f713752c8b8ea66a043226ebdaa docs/models/components/SessionUnenrolled.md: id: 2e2354913665 - last_write_checksum: sha1:14089a703920b139fee3f4002feea22723b42fcd + last_write_checksum: sha1:c84c234e63360cd86e6cdb704f3856b09a05c17d pristine_git_object: b34d4107a9cf7fed3d28ebc2981c88575315a128 docs/models/components/SessionUpdate.md: id: bd241df52fc1 @@ -4270,7 +4176,7 @@ trackedFiles: pristine_git_object: f2e276ddd9e352898664a9c333da630350e9e78f docs/models/components/SessionWaitlisted.md: id: b94f2662c053 - last_write_checksum: sha1:96f55dfe45d54186dd251d53db866f4b496d9c33 + last_write_checksum: sha1:8641a81dd44627fab21f17498d4ec9ba453a4d38 pristine_git_object: 12989e7108adb670d01b7b065d17d166fd648cfc docs/models/components/SessionsAttendanceResponseJson.md: id: d528e5ebeff2 @@ -4304,10 +4210,8 @@ trackedFiles: id: a3600c975b80 last_write_checksum: sha1:be08e455f74288c89a637e5330b7e545b0159075 pristine_git_object: 186f2867098072ee531c2fade3d422fa67eb4403 - docs/models/components/SleepingRoomRequirementJson.md: - id: dbe7ea7333c5 - last_write_checksum: sha1:201088f1f6b586053e8a9b8d4733d209ec465a9d - pristine_git_object: 3a8a9a996f1daefc3edcaf2d11629280abf52a98 + docs/models/components/SleepingRoomRequirement.md: + last_write_checksum: sha1:b62ffae601c56592285f353be6546fdf4a338ad9 docs/models/components/SleepingRoomTypeJson.md: id: 56df61fbf6fc last_write_checksum: sha1:855ec31777ce5af56c5cdb55f9563372051e3634 @@ -4334,6 +4238,8 @@ trackedFiles: id: f6e52785e520 last_write_checksum: sha1:7d75d60960ddd209772ca39ebe985b73b9babff1 pristine_git_object: 18b29e43a6aed6ca5b535d57e58e70ab7b17a825 + docs/models/components/Speaker1.md: + last_write_checksum: sha1:95bd16a97e046a1ec6795ff1bcec773c575d5bc0 docs/models/components/SpeakerCategory1.md: last_write_checksum: sha1:f5e0f01c6576f1888cb86bf773205a260213e6ad docs/models/components/SpeakerCategory2.md: @@ -4356,15 +4262,17 @@ trackedFiles: pristine_git_object: 4d7cb07c6717790cafdd3653ebd355568da0064e docs/models/components/SpeakerFeedbackSubmitted.md: id: 6a5b735ad14a - last_write_checksum: sha1:b9f5503a368feb49bab51e498c7a2fcb34bc6142 + last_write_checksum: sha1:9280036b17b554f0fab59e4aaf6dbd6148edf090 pristine_git_object: 4b23e1b3a34aeaeea6000243c4b89cf4828db147 + docs/models/components/SpeakerFeedbackSubmittedSessionActivity.md: + last_write_checksum: sha1:99c113efc44070f977a60b67d26ef9191b41a3eb docs/models/components/SpeakerFile.md: id: e0de24befe4d last_write_checksum: sha1:5d84d96ff85a210dba1c6136c5000b76e1d6fc38 pristine_git_object: fdd6790d7fcff24f16e8902856500f45ff246d3a docs/models/components/SpeakerFileDownloaded.md: id: f7c142738511 - last_write_checksum: sha1:40c19de8c096dd314db93b1bb22877c62033e940 + last_write_checksum: sha1:02549fdc2c4dfa6490b5e5b60e41fe20df998aca pristine_git_object: acb9f641ec2aef309fc7b6bff285cd6f98829697 docs/models/components/SpeakerFileFile.md: id: 508c2535d314 @@ -4374,10 +4282,6 @@ trackedFiles: id: 028b093c7632 last_write_checksum: sha1:b0ff91984af2d455bae45a6a86edb212d18c8065 pristine_git_object: 69e4e7051648f4c9e507806414d355af61f3593f - docs/models/components/SpeakerJson.md: - id: 3736c2be815e - last_write_checksum: sha1:1c5a8238fefed0c74df4562b4bf6ce97939ae720 - pristine_git_object: e0ab1f8eac9881671863a53f6ec76704109ada82 docs/models/components/SpeakerLite.md: last_write_checksum: sha1:09bcc689c416a44430cc2815d77047b43128b424 docs/models/components/SpeakerLite1.md: @@ -4462,7 +4366,7 @@ trackedFiles: pristine_git_object: fb868e5a5f4d61e4404da9af191987bfa0f4d3ec docs/models/components/StandardSurveyQuestionJson.md: id: 5bcbaa73a0bd - last_write_checksum: sha1:d39fd49ee78e718607b822161adbdd349122fe00 + last_write_checksum: sha1:422e5d3b283296a388931ef0d6e1d165e87f1255 pristine_git_object: 5db341cc8882df2a90e560021f5585824cd1364f docs/models/components/StandardSurveyQuestionsPaginatedResponse.md: id: 6f098f7ce6c5 @@ -4512,6 +4416,8 @@ trackedFiles: id: "591907595034" last_write_checksum: sha1:744ef254fda42badd7abb7aab58cda66c2fc1702 pristine_git_object: 46b7bf7e430d7f2ed53eb378f850c4c923f886ef + docs/models/components/StateProvince1.md: + last_write_checksum: sha1:14f7f07b129bba496cd899b8f56d19885c956621 docs/models/components/StateProvinceJson.md: id: 419a04d8d9f9 last_write_checksum: sha1:09d4f6ac9ab54ba4be4614d8e4e832cf7c22f39f @@ -4558,10 +4464,8 @@ trackedFiles: id: 8514d82f79c8 last_write_checksum: sha1:de2e11f213e8c4fcba92d20ceb53ea80bff20202 pristine_git_object: e36ad155e32a3f1505239de4c38dadf1d2aa14ea - docs/models/components/SurveyResponseJson.md: - id: 9f598df6e9dc - last_write_checksum: sha1:628f154df4afe6e45bed17cc9bd1663e89b553f5 - pristine_git_object: c1154e0d7d113473f66a36a7f94b1b34ea29c08b + docs/models/components/SurveyResponse.md: + last_write_checksum: sha1:64acafbab909c6747f6d60ebfa843ca984e840c7 docs/models/components/SurveyStatusJson.md: id: f0e41d4bacda last_write_checksum: sha1:61cca1cc068d9ec5f7e512bc097f501999db17c6 @@ -4721,11 +4625,11 @@ trackedFiles: docs/models/components/TravelAccountType.md: last_write_checksum: sha1:b9ffbac7d44d6ec4e77c9188ab5de080288e7c1a docs/models/components/TravelBidAmenity.md: - last_write_checksum: sha1:e01335182bbcacfe0a81a1fcf64db5141e475a81 + last_write_checksum: sha1:de393489621cb2c91a50287c607b8ed3b89ba1ab docs/models/components/TravelBidComment.md: last_write_checksum: sha1:9716ed6aa945cf471e1754039aa5751e787d5d2d docs/models/components/TravelBidDiscount.md: - last_write_checksum: sha1:45ded5330cf15df8d280488ff89e99b190a7ae3e + last_write_checksum: sha1:c7a7e14bc06667a0dafc414bc32db976f31a006f docs/models/components/TravelBidDiscountPropertyRoom.md: last_write_checksum: sha1:6c1f07bc9342ec19d68a41e8714aa64563838c18 docs/models/components/TravelBidDisposition.md: @@ -4735,25 +4639,25 @@ trackedFiles: docs/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.md: last_write_checksum: sha1:49c2e7990319e678ac1fc9b3c78d73f42e6b65e7 docs/models/components/TravelBidFairSeason.md: - last_write_checksum: sha1:9445584dbe1f898eedbc68b6338e9ab48cd7a695 + last_write_checksum: sha1:b074c39886dc689411d1895ca02097638a90c41b docs/models/components/TravelBidFairSeasonRate.md: - last_write_checksum: sha1:78cbbf5f8c0470f03f79261d3f6d66630b65fbee + last_write_checksum: sha1:a03460ed820dc5c7fe62c9579fb1748be3729ee6 docs/models/components/TravelBidFairSeasonRatePropertyRoom.md: last_write_checksum: sha1:b3836db4a3c98ecac25c783ffcfc92d963d5ea57 docs/models/components/TravelBidPolicy.md: - last_write_checksum: sha1:ebb68edf499b78d9a5c9844b68cc64ab06eae748 + last_write_checksum: sha1:3baa7fe9081a01b1e0dcb3c5458ca7ec7434c4fd docs/models/components/TravelBidRoom.md: - last_write_checksum: sha1:e0cb965a520328a4e5aa43a59b417cda518205a4 + last_write_checksum: sha1:78182eb75498181962330f70a3f2793eeeaaf616 docs/models/components/TravelBidRoomPropertyRoom.md: last_write_checksum: sha1:4e90713623e386f553f420911a5848537189b7ff docs/models/components/TravelBidSeason.md: - last_write_checksum: sha1:afebaed1da360230a4e6b1285d2cef2bbf08ad25 + last_write_checksum: sha1:dbe37bbdc323e15d7e615f37cc434dc94c7a5643 docs/models/components/TravelBidSeasonRate.md: - last_write_checksum: sha1:25aa1fd30f881c66febc3c4e477b0a4f3d4c6323 + last_write_checksum: sha1:c8e14b061ed1948edc7da71cd00a9e5e64040ab9 docs/models/components/TravelBidSeasonRatePropertyRoom.md: last_write_checksum: sha1:7bf9774d27d115ca2611409c6024e69c965a2583 docs/models/components/TravelBidTaxAndFee.md: - last_write_checksum: sha1:80f6af4ea07a2d00d4f51b8eef84c3fc641ac538 + last_write_checksum: sha1:51ee6b9bdebfbc6b6cf1929cd4f639d2e190388d docs/models/components/TravelBidWeekendDays.md: last_write_checksum: sha1:20cd985a5f496a348994fab1a3fa11b4d84910b4 docs/models/components/TravelDepartureArrivalJson.md: @@ -4938,6 +4842,36 @@ trackedFiles: id: e147dfdb013f last_write_checksum: sha1:9217daeb1aad4afc6cb8fd35934c501c4bb9d82c pristine_git_object: 0da96331f6dc1531482dc60a66c6720a68b9c6ee + docs/models/components/VenueDetailsOverview.md: + last_write_checksum: sha1:efb266712ac0a69865818f2ddadeea8e13f36252 + docs/models/components/VenueDetailsPatch.md: + last_write_checksum: sha1:c15dc1a8cd765b6c1a86df73568366e5d8ff940b + docs/models/components/VenueDetailsPatchAddress.md: + last_write_checksum: sha1:ec6e485d088e9a0e5f14ab0cfc66047573e55e31 + docs/models/components/VenueDetailsPatchChainScale.md: + last_write_checksum: sha1:f16aab20a3ca6f5fa91c98bfe042804da41f943a + docs/models/components/VenueDetailsPatchCurrency.md: + last_write_checksum: sha1:499fd792ce15e7a44d57e6b8c5120703ad28d1f3 + docs/models/components/VenueFacilityPatch.md: + last_write_checksum: sha1:ee550c3dae3ad914fd62e6414e19fa24d033bb8c + docs/models/components/VenueFacilityPatchDistanceMeasurementUnit.md: + last_write_checksum: sha1:d76fc43fb5324f10bbc02a71e3f5ca391a5a613d + docs/models/components/VenueFacilityPatchDoubleRate.md: + last_write_checksum: sha1:7542320a436a412c78dfc1e6a6bfc69e72873cc9 + docs/models/components/VenueFacilityPatchEventInsurance.md: + last_write_checksum: sha1:d091a2e26787ebdb2db7996fe26eb4f4b8f2a8bc + docs/models/components/VenueFacilityPatchMaximumCapacity.md: + last_write_checksum: sha1:724fd46ed8a0982fa4796ea8a7dc607ac7cb19ce + docs/models/components/VenueFacilityPatchMeasurementUnit.md: + last_write_checksum: sha1:8c3f84d9f99e40bde1f5f7e41d2313b3010ffafd + docs/models/components/VenueFacilityPatchProximityFromAirport.md: + last_write_checksum: sha1:d0a5592456f68c3356fededf8158b9cabaa64a08 + docs/models/components/VenueFacilityPatchSingleRate.md: + last_write_checksum: sha1:0e039760cb7743fad99abab211459de0ad764016 + docs/models/components/VenueFacilityPatchSleeping.md: + last_write_checksum: sha1:820e01f7f467f1ea24ba433e11cf29185df2a694 + docs/models/components/VenueFacilityPatchSpace.md: + last_write_checksum: sha1:42fef702a05cff7c35ee280dbbd67cb67a5ab2a5 docs/models/components/VenueJson.md: id: baf6af2a4cfd last_write_checksum: sha1:b86409b0b32a9efad2f92b1c8c52acf0db00883b @@ -4954,6 +4888,8 @@ trackedFiles: id: e40fb9a9eac9 last_write_checksum: sha1:6ea8a6319d73e654a79380c9b77039d155876d57 pristine_git_object: c656e147de94a015bcfc98898cdf9ce636e6dac5 + docs/models/components/VenueType.md: + last_write_checksum: sha1:84f50473965089406e105aafd8143ff39e009a1e docs/models/components/Version.md: id: 4b6cfe4d1930 last_write_checksum: sha1:9a8d13321e9d1ce2a2c7b4420ec34403bb820821 @@ -5080,36 +5016,28 @@ trackedFiles: pristine_git_object: 4d958c5a3cd8b026571416d949a671ba211463c3 docs/models/components/ZeroAllOf1.md: id: 40040b4d7bd0 - last_write_checksum: sha1:262bc8bfd64ab99ea4e5466893767ef1d7b1cfb5 + last_write_checksum: sha1:2b15a459abe1fb8d14cf3c4ca9465e8192aeb9b4 pristine_git_object: 57c00e45f6245f0ee7892bc17966de6dafebfd80 docs/models/components/ZeroAllOf2.md: id: 9013336e19ee - last_write_checksum: sha1:37b4bada5ede985e64d0da342031c70fd99d2218 + last_write_checksum: sha1:0c0caac94f476398a17f47e4a1e3d516cb21c8f3 pristine_git_object: dbf3e291c8c8ba213972d3ee585b5fa80b3483f8 docs/models/components/ZeroAllOf3.md: id: 7a56e7085078 - last_write_checksum: sha1:e75877717677dd767d1e958dc3d7928e0162b7a1 + last_write_checksum: sha1:c9e024ac3537886d3935d64f69be310846f891f7 pristine_git_object: 98f2fd09459d3949abd2e19b4f6d87888d86efb1 docs/models/components/ZeroAllOf4.md: id: 51759edd8e93 - last_write_checksum: sha1:f7dfb6f9dc51ff06828d91c7f2162863eef66e73 + last_write_checksum: sha1:f3de2994936146ece4c8ca95ba09a28f86598759 pristine_git_object: f409ed2d5beb565ba0b74ea00e22231ca3106bde docs/models/components/ZeroAllOf5.md: id: 45f7228629f1 - last_write_checksum: sha1:bb8e5279755bf79ec238bbf9dfb765094fbc3d02 + last_write_checksum: sha1:b3e771b5d470a432841fdd0b3fe4b9666a0b6255 pristine_git_object: 006975b1364a319bf1655110d5acec26f95eabf0 docs/models/components/ZeroAllOf6.md: id: 162603636ede - last_write_checksum: sha1:eada6d67d1bd1bfa432902fb76b09c417a05cda5 + last_write_checksum: sha1:f3f26935b84cf833cee782d21918facad611a906 pristine_git_object: a2a20721b69eeec428da0b450ddc0a4442082cac - docs/models/components/ZeroAllOf7.md: - id: d9820f5efa46 - last_write_checksum: sha1:8c1893d5b8c28a357480efbea3e9719843ddabb8 - pristine_git_object: 2433141ef22f72110b059a6027dc1379fde86d1d - docs/models/components/ZeroAllOf8.md: - id: deaf98d5a4fe - last_write_checksum: sha1:1871548708ec2d6bfc6b1ceff5cee7964ec82632 - pristine_git_object: 1c6de59e6c5b9672107ef92c094616f69962f43c docs/models/components/ZeroAnyOf.md: id: d7b818928167 last_write_checksum: sha1:7d0bcfb76af0e07cce6181a62d2a65c46c1c74e6 @@ -5129,13 +5057,13 @@ trackedFiles: last_write_checksum: sha1:9e278383a1b7946329c53705334e4bcf71a678f5 pristine_git_object: 67a0d0cafabcbe6a4b75758f2a25dc3e069c827a docs/models/errors/ErrorResponse.md: - last_write_checksum: sha1:53930e0e1e627d4bc46db8ee2e6e4eb3b3651569 + last_write_checksum: sha1:0e7cea7cdb8913d65f34d026656fca9e28366de5 docs/models/errors/ErrorResponse1.md: last_write_checksum: sha1:1f06ca4838aa5ca879d01b1299efacf61e8d2d6c docs/models/errors/ErrorResponse2.md: last_write_checksum: sha1:4947d8015eaeed90e22921f66fba040d1e5799b0 docs/models/errors/SegmentsErrorResponse.md: - last_write_checksum: sha1:f5a2ea8101bc4cb71ed6e2e178a2b00c2961245e + last_write_checksum: sha1:8f6c6516f454b4a833e38b0a89dc09335afd7381 docs/models/errors/ValidationCode.md: last_write_checksum: sha1:34b3bae601d77cc8095da31e30ddae3b3dc31b45 docs/models/operations/AddContactToContactGroupRequest.md: @@ -5488,12 +5416,16 @@ trackedFiles: pristine_git_object: 2d9473d706966d4aa6abfdc2f725e62e6d5c0436 docs/models/operations/CreateMeetingRequestRequest.md: id: 9eb9049f75ad - last_write_checksum: sha1:986a12938f26fca4ab622100c512d504ee018184 + last_write_checksum: sha1:918dba5202bc7e7c6f388c67408d1c5cd0236130 pristine_git_object: 1d3e594b493fba1fbc4d16b34cb777c10e7d909d docs/models/operations/CreateMeetingRequestResponse.md: id: 4b3580751847 - last_write_checksum: sha1:de45140ac273ac926624c624a5ed18deede463c6 + last_write_checksum: sha1:45d99e2dcfa06712a2caf764fbc0dee115bef02c pristine_git_object: 7b3395020517695484413a1b6cbd87e5b57bc3e0 + docs/models/operations/CreateMeetingRoomRequest.md: + last_write_checksum: sha1:52581228125dd701b82b5f49aa7c21fb1ba2af27 + docs/models/operations/CreateMeetingRoomResponse.md: + last_write_checksum: sha1:c4f64804c0b58a68fe45a2026c4227e609c396a6 docs/models/operations/CreatePaymentRequest.md: id: fe964fe6dd6c last_write_checksum: sha1:77b10cbfa1d879437847359563a526d81acc7c8d @@ -5944,7 +5876,7 @@ trackedFiles: last_write_checksum: sha1:776e428bda02501d9a91a7df68b5906122efc465 docs/models/operations/GetAirActualDetailRequest.md: id: b46d405156ff - last_write_checksum: sha1:8133e839c76284f4a1585314cc5626499ced9523 + last_write_checksum: sha1:6ae2ce1c76ab656abc1ff2c2034b6ffded208463 pristine_git_object: e9a62f37b6ee6632357eb35a5270047f878842a6 docs/models/operations/GetAirActualDetailResponse.md: id: a440403b9697 @@ -5952,7 +5884,7 @@ trackedFiles: pristine_git_object: 970c47cb1de97a0595745e9e4af02e0ca60ac486 docs/models/operations/GetAirRequestsRequest.md: id: c88249ec3880 - last_write_checksum: sha1:f9b241162b4ae49b1905f1f5300e72f65edc838d + last_write_checksum: sha1:6f5525f6c4bc567a9a14a4fada4567945b57f494 pristine_git_object: 4dd2334dc9f0777229f55cf4dda05229ad385376 docs/models/operations/GetAirRequestsResponse.md: id: dbb174f2c6da @@ -5967,7 +5899,7 @@ trackedFiles: last_write_checksum: sha1:7bee8aa4e232a9c6e93e4efbe402df741e97b005 pristine_git_object: f9edc9c6d523f1c7e776b0f58f62349b8e391c07 docs/models/operations/GetAlternateTravelAnswersRequest.md: - last_write_checksum: sha1:37ec3c90eca0e98ab9bc7e5642a4fe0d8f459939 + last_write_checksum: sha1:63f3b1ee8f177130aec3c40163b803a5e64d7c76 docs/models/operations/GetAlternateTravelAnswersResponse.md: last_write_checksum: sha1:3fb5dbdb9200c8e1c1cb5baba6511ea0724b6d80 docs/models/operations/GetAppointmentAttendeeByIdRequest.md: @@ -6100,7 +6032,7 @@ trackedFiles: pristine_git_object: 028b03dcff6f88111678f3c24916ecc4775f79f2 docs/models/operations/GetBudgetAllocationsRequest.md: id: 7d7eed77f6a4 - last_write_checksum: sha1:4301967906607c13d58cf3654e012fcaaf6ea333 + last_write_checksum: sha1:105a2e9d8fd6b5aa1ea562bfc6a94751e3b47791 pristine_git_object: 79988422248e3717944c8138778b1ec8697c1172 docs/models/operations/GetBudgetAllocationsResponse.md: id: 0b84ec5ea114 @@ -6320,7 +6252,7 @@ trackedFiles: pristine_git_object: 478f33514832385d4dcc05d1a6d0c2504800597a docs/models/operations/GetEventFeaturesRequest.md: id: 100a01d83846 - last_write_checksum: sha1:bec3ce0861278e55736d428852700df7a78b5d4c + last_write_checksum: sha1:121daa3f85db3d817d1e973b73a691be38d9ac0d pristine_git_object: fdef497692a715f65e03f39f66d389d17f59c745 docs/models/operations/GetEventFeaturesResponse.md: id: 5d4f684cd2c8 @@ -6340,7 +6272,7 @@ trackedFiles: pristine_git_object: 5f65cc92203627ce3c0d64dfe5f1e17886a731f2 docs/models/operations/GetEventSurveyQuestionsRequest.md: id: b8d92ad0106b - last_write_checksum: sha1:44c984c19d440cdb65f8106e0480171796ecfa40 + last_write_checksum: sha1:4c60b1af8216a65d3464ce9e05f4420b2634b03b pristine_git_object: 083a816d6ed2f068198ebee3499036e87aa72ba5 docs/models/operations/GetEventSurveyQuestionsResponse.md: id: d5912561fe5e @@ -6356,7 +6288,7 @@ trackedFiles: pristine_git_object: 162a189ccfad6b9ddf89787c0a67c1c9046b926e docs/models/operations/GetEventSurveyResponsesRequest.md: id: 49043bc950cc - last_write_checksum: sha1:1a7a9d9cf4f1589d76300157db68a572ad17ebe1 + last_write_checksum: sha1:34b3ec299e4d9a1c086c0826dbb45554912e984a pristine_git_object: e933503c91733815fe561924afa1f3e0cd1b1fac docs/models/operations/GetEventSurveyResponsesResponse.md: id: 53615107892c @@ -6364,7 +6296,7 @@ trackedFiles: pristine_git_object: e919b575034c53298a92d0b48c93ae74260f913c docs/models/operations/GetEventSurveysRequest.md: id: 22327e8bd6ef - last_write_checksum: sha1:5168a62a35595108c0bae400eff7bf0528f578fc + last_write_checksum: sha1:ecc228592df0cc0b3bf889c09a1a01df8886f0a9 pristine_git_object: 35f95a57523ea36f0383f86a73554ac7916571ec docs/models/operations/GetEventSurveysResponse.md: id: 99f5e9a0d4d5 @@ -6476,7 +6408,7 @@ trackedFiles: pristine_git_object: 66b507dab9b1efcbbc27f78f280c3ee837570f21 docs/models/operations/GetHotelRequestsRequest.md: id: 004220d70385 - last_write_checksum: sha1:840a267ca7554fce1a805263b4caf5faed7cdebb + last_write_checksum: sha1:ebccbb10e4c571dee0bc04de89736f8cae2d948f pristine_git_object: 651413a9fa0789af24409fba769a874d4dadf37d docs/models/operations/GetHotelRequestsResponse.md: id: 0451c9eefc8c @@ -6548,7 +6480,7 @@ trackedFiles: pristine_git_object: 55fc59b35b5bd82f01c6e1ffad9271d0f075ef79 docs/models/operations/GetHousingReservationRequestsRequest.md: id: 58bb08e5bf94 - last_write_checksum: sha1:508532fd4833e84f7ca6d4bf9105d969b249940b + last_write_checksum: sha1:40829044ad70b34b2f125cae644fad7dc43d043f pristine_git_object: 29447c0db1b736e7e406d1ff06ecaed55d5afd26 docs/models/operations/GetHousingReservationRequestsResponse.md: id: 2a14f202c105 @@ -6642,9 +6574,13 @@ trackedFiles: id: 6b7d80464665 last_write_checksum: sha1:9a70c37c2759ba23d8a5d11cacbf429648e08129 pristine_git_object: 5e9b474bf167f032191030ee4c6cf6d4e46aad4e + docs/models/operations/GetMeetingRoomOverviewRequest.md: + last_write_checksum: sha1:399096cb26ea2db2ce0ce079c3a596e235916cab + docs/models/operations/GetMeetingRoomOverviewResponse.md: + last_write_checksum: sha1:833e0d7ab6835eff71be2058fe4b2acab6353827 docs/models/operations/GetOrderItemsRequest.md: id: a25656afeb07 - last_write_checksum: sha1:b0d5001745b5862bc0c7620e1866c23e0cbb8717 + last_write_checksum: sha1:1356a21bef93305075e05289f042d02aa97f73e2 pristine_git_object: d424717d05140064f94255d4d0749320c98e7e96 docs/models/operations/GetOrderItemsResponse.md: id: 83078311e27e @@ -6652,7 +6588,7 @@ trackedFiles: pristine_git_object: 47ec363e2163120f228396fbeeff238cacfd7027 docs/models/operations/GetOrdersRequest.md: id: 4a78962b4cc9 - last_write_checksum: sha1:1bc92f7d538313c7b13cbea796d881e3bcabef3f + last_write_checksum: sha1:12eede77a4723f2086ca4ca9d4de7240f95bcf2d pristine_git_object: b47800d598e51e37490a79b16a163c050ca74e7f docs/models/operations/GetOrdersResponse.md: id: e25b42ff04a6 @@ -6900,7 +6836,7 @@ trackedFiles: pristine_git_object: d0f717a3ac8d833d30e1d4335afb5d83be799cfb docs/models/operations/GetStandardSurveyEmailTemplatesRequest.md: id: 8f483ef730a6 - last_write_checksum: sha1:4a86326adacf23fc1e2adf23cf37ddb5ad97932f + last_write_checksum: sha1:d6af0b62c803be17527d7ff2b398881c9d433a37 pristine_git_object: 951046b1e3c22981081be4ad7812006ab7fee23c docs/models/operations/GetStandardSurveyEmailTemplatesResponse.md: id: 1b43753cacdc @@ -6908,7 +6844,7 @@ trackedFiles: pristine_git_object: de7cf6fee1855a7cd240a98c13afc1ac799a44f6 docs/models/operations/GetStandardSurveyQuestionsRequest.md: id: 9c87ad183bb6 - last_write_checksum: sha1:93d76483abcde5cc13b1682a3a9ab3609fef3af9 + last_write_checksum: sha1:d5799e9adcfcccc0f5fa7fd2a0a47fbe916876a9 pristine_git_object: edeff0ace6780db223c5f6463d4a319a728e6918 docs/models/operations/GetStandardSurveyQuestionsResponse.md: id: 28a836be1cea @@ -7062,6 +6998,10 @@ trackedFiles: id: 73c5093259ee last_write_checksum: sha1:eead479ff94d4e98d723f9f966949e5659c4c2d4 pristine_git_object: 4535e7cd63696b4c2191ad3f28f0d5cba2bfe6f1 + docs/models/operations/GetVenueDetailsOverviewRequest.md: + last_write_checksum: sha1:b38fa3595e298d9632f7e8b9063f7dfb32e6e1c0 + docs/models/operations/GetVenueDetailsOverviewResponse.md: + last_write_checksum: sha1:6316decbd306f138de3b5f2d9366b2e44a3fc0f9 docs/models/operations/GetVideoViewsRequest.md: id: 73b1e6356b61 last_write_checksum: sha1:8607c99b4f16315d72ab92893dd2e3c315824756 @@ -7196,7 +7136,7 @@ trackedFiles: pristine_git_object: 0bf976169268bea2876194df1d29be05a9a3dee8 docs/models/operations/ListAttendeesRequest.md: id: d4fe1a9b4b30 - last_write_checksum: sha1:e49c7935230f1e77a3f395676f6c53e31f7031de + last_write_checksum: sha1:9b636b488185ee8f5b286501d8b888e5e908a857 pristine_git_object: 3e8af6ddf64dcf7b01bc2d13459d7fc2668bb067 docs/models/operations/ListAttendeesResponse.md: id: 7fda14352744 @@ -7252,7 +7192,7 @@ trackedFiles: pristine_git_object: c4eeb1a882d23bb2462a18ee797660b49174882b docs/models/operations/ListBulkJobResultRequest.md: id: e749adf400e8 - last_write_checksum: sha1:a2d7cdade57399f903dd810a3b418cdeb9dd005c + last_write_checksum: sha1:67f5864ca4caa1bacda4d098192821f7f197fce4 pristine_git_object: f19f02211f120cfe6b251d5f85b85b997d4e2e5a docs/models/operations/ListBulkJobResultResponse.md: id: 67edf7597147 @@ -7384,7 +7324,7 @@ trackedFiles: last_write_checksum: sha1:61433df8f19613c9c4eccb95e2b67e2fc53ecb12 docs/models/operations/ListEventWeblinksRequest.md: id: a91fe23b16a7 - last_write_checksum: sha1:6aa7c9ccdd81831c510867099692f491c7127d5f + last_write_checksum: sha1:0069dce7bda31ad5ccd690066879d7b72db96d3f pristine_git_object: f2a96636b82788886ac68c1979ff60b170cc0f79 docs/models/operations/ListEventWeblinksResponse.md: id: f267ca5c9cc5 @@ -7494,6 +7434,10 @@ trackedFiles: id: b2dda0732222 last_write_checksum: sha1:7a39ec0af3b1fb05290f14965ca96d5e2bab71da pristine_git_object: d0d9150e71215c6694723fb4d94d839e2e42b9db + docs/models/operations/ListMeetingRoomsOverviewsRequest.md: + last_write_checksum: sha1:f7313936cad24a63cd1db47c3af42713204dd368 + docs/models/operations/ListMeetingRoomsOverviewsResponse.md: + last_write_checksum: sha1:e53c4dcd336073764173acc9057ecb39cf6e4554 docs/models/operations/ListMembershipItemsPostFilterRequest.md: last_write_checksum: sha1:b4187321eef617dbd71f91f806a7ef031d26fbea docs/models/operations/ListMembershipItemsPostFilterResponse.md: @@ -7902,6 +7846,18 @@ trackedFiles: id: 3584066a7531 last_write_checksum: sha1:5877d6d07b88316a69e18c7f01f4ea2883839f2a pristine_git_object: 79de3fbc2905699c48bb3b90eabca96e1e38a1aa + docs/models/operations/PatchMeetingRoomRequest.md: + last_write_checksum: sha1:c5dab269c13e3e685afa8884f60770436dfefe0e + docs/models/operations/PatchMeetingRoomResponse.md: + last_write_checksum: sha1:f184b646bd45b6b2af3572d05d3608cd6b9a44fa + docs/models/operations/PatchVenueDetailsRequest.md: + last_write_checksum: sha1:507c6334de96605b74fb7cbc3aeab38e7260545f + docs/models/operations/PatchVenueDetailsResponse.md: + last_write_checksum: sha1:7d4e08ab386f8e5e6dd64a807295e0bc778908bc + docs/models/operations/PatchVenueFacilityRequest.md: + last_write_checksum: sha1:8b3192fb72093f079aa5d0d71b18283274870233 + docs/models/operations/PatchVenueFacilityResponse.md: + last_write_checksum: sha1:ed621de44b751c7c4f9ac4acf3a80fc80410f4ea docs/models/operations/PostBadgeRequest.md: id: 11da930a46e4 last_write_checksum: sha1:2c2d32fc7ec6ae88064893c45bb03e5fd25e22c7 @@ -8352,12 +8308,16 @@ trackedFiles: pristine_git_object: c81cc1e1e691500cb19dbd716b65b48b502ab34a docs/models/operations/UpdateMeetingRequestRequest.md: id: ba1846b789d5 - last_write_checksum: sha1:32db65ce45b918e3a8b453090a1186c5be384b54 + last_write_checksum: sha1:35e85b23fdd8e3cbcb27a67696acb599b29ca05d pristine_git_object: 6f8f954c04bd414db6c51f6b97bbf284eb0354aa docs/models/operations/UpdateMeetingRequestResponse.md: id: f9ad0043b728 - last_write_checksum: sha1:8376eecab048af6ebd94b792c1d368b5050e8e61 + last_write_checksum: sha1:3431bc5281ea6a055e34f62c577868a79985b0e1 pristine_git_object: 32d7d4f9937c2921ab3bc18e27465305e6e5d08b + docs/models/operations/UpdateMeetingRoomRequest.md: + last_write_checksum: sha1:19ce1de06be2f72307d2ca306bba839d3f0efa2b + docs/models/operations/UpdateMeetingRoomResponse.md: + last_write_checksum: sha1:2531aae282f3f2715e464969b5418808cbb27a20 docs/models/operations/UpdatePaymentRequest.md: id: 7e81a349eac1 last_write_checksum: sha1:e01e0aa22693c18926b2a7f01e19eaed91f396b8 @@ -8478,6 +8438,14 @@ trackedFiles: id: 54a64b6a8f40 last_write_checksum: sha1:bbe2c40368dd78491cd35bfa61a5040a98d40a0c pristine_git_object: 003025c20251b8e7ba650af0c1c1989d3d50cec2 + docs/models/operations/UpdateVenueDetailsRequest.md: + last_write_checksum: sha1:380b139309a07f04966972e80cb307f7298c1a93 + docs/models/operations/UpdateVenueDetailsResponse.md: + last_write_checksum: sha1:39673118de1b51925613acd8a6eb25aeb57ab881 + docs/models/operations/UpdateVenueFacilityRequest.md: + last_write_checksum: sha1:299ad79b30860bd1a77b53e31dd150e64e0b0461 + docs/models/operations/UpdateVenueFacilityResponse.md: + last_write_checksum: sha1:a53be13f3fce4f8c7f6e416fe8f1582d20d95b8d docs/models/operations/UpdateWebcastRequest.md: id: e7718e6df4e1 last_write_checksum: sha1:d30ac69b1625d30bed1c3a5edc745aa5ad63ca6c @@ -8504,11 +8472,11 @@ trackedFiles: pristine_git_object: dc8248beb5ab08b1957b7e3c240d8c6ad33db2fb docs/sdks/appointments/README.md: id: f122535fcc9f - last_write_checksum: sha1:147181664b78e8d67b6da536eaa5c72fbc9f1579 + last_write_checksum: sha1:77d0e28fa762847a73f38c59ee4f1bf925a535af pristine_git_object: 8509855747daa882647fa8fa6fc9b5906a19880e docs/sdks/attendeeactivities/README.md: id: ffb26672cefc - last_write_checksum: sha1:8c4b077da4335e823e2651ec8379f91501b14e76 + last_write_checksum: sha1:23bec04ca7a59192cce07f5cd1fac105881f70f3 pristine_git_object: 2aa8a018521c8e8aa4e5c380ad68ce703303e009 docs/sdks/attendeeinsights/README.md: id: e4a5b3af76fc @@ -8524,7 +8492,7 @@ trackedFiles: pristine_git_object: 51133187a510f849cafd047132648b314d92466c docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 - last_write_checksum: sha1:7af27d792fe1eb0cbc755d924fbe311b7ec3f5d3 + last_write_checksum: sha1:f40c41bdcbf9945a4097c6b781481b5ee98709ee pristine_git_object: fe570960f8125e64c67cb596c370b7ef40138496 docs/sdks/authentication/README.md: id: 45be241adfc3 @@ -8544,7 +8512,7 @@ trackedFiles: pristine_git_object: 8d01dfa38c11983a4f3a9c2f131fb0f8baf3da07 docs/sdks/bulk/README.md: id: fa4bd7a4682a - last_write_checksum: sha1:8f34528a8d4afdfd68d7df68e3ba4a10ab1fd9fc + last_write_checksum: sha1:09b0171422096879bb299c361cb0b1d601a71d59 pristine_git_object: 5d46b140151d54af34676b1f814f009e603239cf docs/sdks/campaigns/README.md: id: 18dcc3c717ca @@ -8600,11 +8568,11 @@ trackedFiles: pristine_git_object: eede402a85e1da20c1034fe85358d6075234a769 docs/sdks/exhibitor/README.md: id: cb0578099210 - last_write_checksum: sha1:53a20d041fba036af57dc8301f140489321b155c + last_write_checksum: sha1:759c8509c514b6a5bda39a334b27287b8307e8fb pristine_git_object: 0602007e1d41c51681c190985c6cff8d835cc46e docs/sdks/exhibitorcontent/README.md: id: 7cecd37f6b66 - last_write_checksum: sha1:58aaab7b0c00ac47668ae62a51f5ec754442af2a + last_write_checksum: sha1:54412433bc831f81a14293184196d780b462dfb5 pristine_git_object: e6d9116287aa63517ede1aed81dbf053cc7cbb46 docs/sdks/exhibitorteam/README.md: id: f5b7c80d738e @@ -8632,7 +8600,7 @@ trackedFiles: pristine_git_object: cef4027abf852decdaba1e2f5620e2af00029ca9 docs/sdks/meetingrequest/README.md: id: 4d8d5f5fd977 - last_write_checksum: sha1:de2fba4c778f9b03258a4e6eeb6a7ee661947651 + last_write_checksum: sha1:f1ec02d42d3ca3c3c7102e0cbdcc75e639495f1a pristine_git_object: 0179b4309efed6c06dc31e70ac235bf1de619337 docs/sdks/processform/README.md: id: 0d23c161e66c @@ -8668,7 +8636,7 @@ trackedFiles: pristine_git_object: 118e111b964ba99c3bae0466bc3362af503548ff docs/sdks/surveys/README.md: id: b7f48111aedf - last_write_checksum: sha1:6af72ec85b67ece3311fefb21c666650e415e14f + last_write_checksum: sha1:b081402659562291256a99f14fb1b595fe9822a0 pristine_git_object: f2ec0d237695846e602252d7349f640c49854768 docs/sdks/travelaccounts/README.md: id: 361add025274 @@ -8694,6 +8662,10 @@ trackedFiles: id: 50529a579425 last_write_checksum: sha1:00b2e033800ed2bf0afc06c42350285ddade0f29 pristine_git_object: ce24bc35e6c90e161c09b86666c9b6463dafae29 + docs/sdks/venuemeetingrooms/README.md: + last_write_checksum: sha1:39fac1a059bff1886fa7bf2b526cf436bac19ffd + docs/sdks/venueprofiles/README.md: + last_write_checksum: sha1:57372d3a645539fd9fd49583781fed3ce465c5d3 docs/sdks/video/README.md: id: 0b01dca84f9e last_write_checksum: sha1:82fe2c5a2fca3c90099e496b31664ad4df5dcb9e @@ -8708,7 +8680,7 @@ trackedFiles: pristine_git_object: cda742065b0bb30407900c4d39885b8db164b9b4 gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:bc2f24fcce0b3fcf029e9075b6f8ba9caf3db3da + last_write_checksum: sha1:a10276c74293cb52f996d3fa1da39980752c13df pristine_git_object: 6da141a8453a679109d12dba513b6d08b9e37fd5 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 @@ -8780,7 +8752,7 @@ trackedFiles: pristine_git_object: b6138971cb6024619d30854d7f1ab7e65d48065f src/main/java/com/cvent/AsyncBulk.java: id: eee11b7a19ef - last_write_checksum: sha1:6d4693f748c7c481e310058490ea296fe83060e1 + last_write_checksum: sha1:f3f74721e7fa86f03960c30acf4e60ce7e54a397 pristine_git_object: c67834f0ef129141068f3a7236a5762ebdd9280f src/main/java/com/cvent/AsyncCampaigns.java: id: 35f09e5a2dca @@ -8804,7 +8776,7 @@ trackedFiles: pristine_git_object: d2750f4c1dd063e160ac8b42105e3350a77b9192 src/main/java/com/cvent/AsyncCventSDK.java: id: 3d41ccbb3604 - last_write_checksum: sha1:dc6508f1cd03a85aab5a9a28fa251f127bdf942b + last_write_checksum: sha1:ce5191593ccecff798d10b50ddfda013b39c84c6 pristine_git_object: 91ab4b576419398d5dfa7189f6dbf60c8f32176b src/main/java/com/cvent/AsyncDiscounts.java: id: 0e60d514801e @@ -8934,6 +8906,10 @@ trackedFiles: id: 4e8ed6210374 last_write_checksum: sha1:f84ca825b54ae4acd1f9b193ec57b0876e22db43 pristine_git_object: abd63df68ae7b0a8072397adaea22c85664088b4 + src/main/java/com/cvent/AsyncVenueMeetingRooms.java: + last_write_checksum: sha1:722004e5a2cc05dde188395106aa00b5549ef4f6 + src/main/java/com/cvent/AsyncVenueProfiles.java: + last_write_checksum: sha1:9e4ae9e08c8f136daf95d71f4bff7260c9b9f437 src/main/java/com/cvent/AsyncVideo.java: id: 8fe7f6d0cd06 last_write_checksum: sha1:ee86ad8635b08b2b06a4726dfb525affbde44503 @@ -8980,7 +8956,7 @@ trackedFiles: pristine_git_object: cd2ebb717233e3f41777f6af2992a949ae1565cd src/main/java/com/cvent/Bulk.java: id: 26ad7bdd7d2b - last_write_checksum: sha1:024c83facb1005fd937f432c3e72059c1aebb88f + last_write_checksum: sha1:730802af94aaf45aea312acfd892654bc9eb5d2c pristine_git_object: bc23e0ed53f5783fb649119a3d87b1add5044fc6 src/main/java/com/cvent/Campaigns.java: id: 589167ff249c @@ -9004,7 +8980,7 @@ trackedFiles: pristine_git_object: fba7bb77908632105cf2fcbe226b002da7001b0e src/main/java/com/cvent/CventSDK.java: id: 4a420697fa3d - last_write_checksum: sha1:902d6c9e8ea24edd2a9c4c43fee585b8428f0092 + last_write_checksum: sha1:a71f524a86f0d641cef9c619d03783324b31c0cc pristine_git_object: 80c41313e2060978bc5d97ac0b629a1ec05252db src/main/java/com/cvent/Discounts.java: id: b320961e983a @@ -9092,7 +9068,7 @@ trackedFiles: last_write_checksum: sha1:0396671d6b0de814aaa27700f35eed30523c66ed src/main/java/com/cvent/SDKConfiguration.java: id: cdb9837839f5 - last_write_checksum: sha1:c40393ef97f04304eec9733df60e2c88aa3457f0 + last_write_checksum: sha1:a0e4b9a31350733b8e5e1dd0dd6a75ce4b113e6b pristine_git_object: 4b98b23f51bc18bad5890089f44055b6187ed9f0 src/main/java/com/cvent/Seating.java: id: 70583b24bb9b @@ -9142,6 +9118,10 @@ trackedFiles: id: 87e36a69a330 last_write_checksum: sha1:85680286b22aa4cecbbb75a56a2af4aa42b6a689 pristine_git_object: ec5e517b038178f3843175814d6d968f294277ab + src/main/java/com/cvent/VenueMeetingRooms.java: + last_write_checksum: sha1:18213364ddfea308fc71302dfb25bcf7500a5988 + src/main/java/com/cvent/VenueProfiles.java: + last_write_checksum: sha1:3e7fcded4b7311816b4dc3f0828f9c8f9f28415a src/main/java/com/cvent/Video.java: id: 93daac8687aa last_write_checksum: sha1:b3da58268392fa03e54fb3bbc7d46cbf64fa85ef @@ -9156,15 +9136,15 @@ trackedFiles: pristine_git_object: babc77d8af94b46530cb1522e0d790ed3821cbbf src/main/java/com/cvent/hooks/OAuth2Scopes.java: id: 796ee1ea9f11 - last_write_checksum: sha1:dbe7c789e6cff43db28223c195942c67c24695c4 + last_write_checksum: sha1:e448356da7f05987f57729760a92a682bd966e67 pristine_git_object: 5e0d00a270318551de3675f94ccb2e418a47126e src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java: id: 36b27dee8ec2 - last_write_checksum: sha1:f49438faace30ed623d08c1be03a2dcdf7e0a238 + last_write_checksum: sha1:a48630ef95636910f1c26f664cca6000b23d230b pristine_git_object: d848cac63cdfcdd7208072510a7b949b96f4c71c src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java: id: a961e927a52c - last_write_checksum: sha1:7cd4ec964ae152c0fc9205074b06f2a92e73663c + last_write_checksum: sha1:6d5e10689fc77571257bb5be7693eede96e38408 pristine_git_object: 73bf3562f321a018a189a312c359eda3e94cd549 ? src/main/java/com/cvent/models/components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.java : last_write_checksum: sha1:6b9ddcc266c39f69b39cd92362998a0683e71e05 @@ -9186,138 +9166,66 @@ trackedFiles: pristine_git_object: c5b4706d39939d1a730a5bd70a0d1e0510645ef0 src/main/java/com/cvent/models/components/Action.java: last_write_checksum: sha1:68646d944845e7b02b5aae66f940cd73dcfec876 - src/main/java/com/cvent/models/components/ActivityAdJson.java: - id: b48c9797cfda - last_write_checksum: sha1:ef8ef0e2ec91af2b0d13b2c981f6399ee7b44e07 - pristine_git_object: 2de8b8a8fc3749278b4bc52d69d127347a55fe88 - src/main/java/com/cvent/models/components/ActivityAppointmentJson.java: - id: f33284510bd0 - last_write_checksum: sha1:29d082912051660204068abd166bcc3522e4a23b - pristine_git_object: e931c46481b4cfecd92744b9161ad39d4076afb2 - src/main/java/com/cvent/models/components/ActivityAppointmentJsonAppointmentEvent.java: - id: 1ba696184ff0 - last_write_checksum: sha1:273f0579aeba272967c7241c4f9a82aed0bbf62a - pristine_git_object: ac94284992282d0cd40e623cbc8bc389f8ffd9ed - src/main/java/com/cvent/models/components/ActivityBaseAppointmentJson.java: - id: 6335f5d9c386 - last_write_checksum: sha1:d9f1e190f6343ad81f537da1c0a3e9f7c09dd4c2 - pristine_git_object: 881ff2d91abd727ca25d739d72993e83700b19f6 - src/main/java/com/cvent/models/components/ActivityBaseAppointmentJsonAppointmentEvent.java: - id: 5b353c618b11 - last_write_checksum: sha1:ed1d54382fbbaa171327241e124eb5ff4099307f - pristine_git_object: 683c67944eb5a0eb504d445f34635ef8cdd943af + src/main/java/com/cvent/models/components/ActivityAd.java: + last_write_checksum: sha1:6aad6fdd79b0d2ba31944275a88d0a8c812921e3 + src/main/java/com/cvent/models/components/ActivityAppointment.java: + last_write_checksum: sha1:39e49778fdce8ba139aced21dbde305bc1b8fd95 + src/main/java/com/cvent/models/components/ActivityAppointmentAppointmentEvent.java: + last_write_checksum: sha1:96d7242ed332c64e6875a52047e2efcf8119622e + src/main/java/com/cvent/models/components/ActivityBaseAppointment.java: + last_write_checksum: sha1:ba58b78f4dd52f5b2b4a925a01c16501e98ca3a9 + src/main/java/com/cvent/models/components/ActivityBaseAppointmentAppointmentEvent.java: + last_write_checksum: sha1:d085d1096d118a81429643b307735d36f6e8ff49 src/main/java/com/cvent/models/components/ActivityBoothStaff.java: id: 3581e314084a - last_write_checksum: sha1:953e03f1eb3694861d8dc87453570d9ff74c1b1a + last_write_checksum: sha1:a4bd51831434d4202d47671e7f235a2d1c59e68c pristine_git_object: ffa2809f466c82a1a174ca1623f089e587aa7d6f src/main/java/com/cvent/models/components/ActivityContact.java: id: 54d725142b01 - last_write_checksum: sha1:531adae3cd53f2dd9e3677015b29488fe749c989 + last_write_checksum: sha1:4f1d850cabe61e53ea1ac388bce3a46b6104fc07 pristine_git_object: e3f4bf653bb6f1c024c751945fbb2fb9a86dd398 - src/main/java/com/cvent/models/components/ActivityContactJson.java: - id: 7aa1ddeee753 - last_write_checksum: sha1:3acd54f1e7b4a8c89d5403572e5e7d837b1620da - pristine_git_object: aae4efded0c91ea733e919d68cb45067579fb1c7 - src/main/java/com/cvent/models/components/ActivityDataJson.java: - id: 7c47712631a3 - last_write_checksum: sha1:0e0014217b4723fefa99c9a287c5d13d7e0e4681 - pristine_git_object: 68153a2642a701119247f52d45a6465d096908ad - src/main/java/com/cvent/models/components/ActivityDataJsonAppointmentExternal.java: - id: 63ab0d0f82fe - last_write_checksum: sha1:9174434dcecbc7cbbc9b47aaf616c2b8ba983b26 - pristine_git_object: 091a73e8cb48f152b82c7eea19f797dc48cf4daf - src/main/java/com/cvent/models/components/ActivityDataJsonEvent1.java: - id: 736e68f19ee5 - last_write_checksum: sha1:03c2d24f23f9a891ff2358a2ba3befea03f0c7c2 - pristine_git_object: d8b3aec1cf90a4dab480b95a7bc250208b850577 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent10.java: - id: 5ab4cdf80335 - last_write_checksum: sha1:03b7763ece96b59d80826d16ffb7a41f756b106e - pristine_git_object: 1291e903d61d7cba2043d907a0f8242151380b06 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent11.java: - id: 4912d4b43e43 - last_write_checksum: sha1:86e8d586bbfb87497ce8711d8991dcbf255e1e89 - pristine_git_object: 487f3391fddd76ef5c161ac7ec53a3d6c48fd5fb - src/main/java/com/cvent/models/components/ActivityDataJsonEvent2.java: - id: 2c3d0c0a3aa0 - last_write_checksum: sha1:c7962138eb6c6cd482671355e21accea193bfaa0 - pristine_git_object: 56a027b912b6ffacd34a611f3d3404add16c1f09 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent3.java: - id: 6f17bbcc518a - last_write_checksum: sha1:8ac4ba556196386e7b64c19f4036cf06c9b795e7 - pristine_git_object: 4c7b091824093ac45bea74253ca1d5c178618f57 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent4.java: - id: f8fef820a5fb - last_write_checksum: sha1:f776b282f98de4935870e45afb540d5867941e9c - pristine_git_object: eb9caeca7b51829c86c13a10984b801f266429e5 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent5.java: - id: 1fcf29785147 - last_write_checksum: sha1:953b827ed9ab2b472763a16cbf3b75f3f7a0a8d3 - pristine_git_object: eee83dac76f441986e25d32a22fda6e9c2914fc6 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent6.java: - id: b182ce40fc38 - last_write_checksum: sha1:b84d26997df273d8fcf58fa40c020e01a10b12e8 - pristine_git_object: feaca8fc3fc10c724e1c68f025da9a287dd4f586 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent7.java: - id: 0c0a251f8be4 - last_write_checksum: sha1:ce76bbc65f9ef9902e511d5f8def3ec73bd19e4c - pristine_git_object: 28e3983fe5f99a299bd6160f4759752019928bc5 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent8.java: - id: f57070666457 - last_write_checksum: sha1:0b5dd15a663b8da087d0ce2752d348c3cfc01099 - pristine_git_object: 37452aaba8bed4cac74e3568b2bd21f3b4206d78 - src/main/java/com/cvent/models/components/ActivityDataJsonEvent9.java: - id: 67b02c256237 - last_write_checksum: sha1:69a8feb58df01ad9c898a7b4e01fa944fd4886e3 - pristine_git_object: 28a377dd8501dfc771268fcf0cc87bd914bffe8c - src/main/java/com/cvent/models/components/ActivityDataJsonEventExternal.java: - id: 6f125c575a2a - last_write_checksum: sha1:fc8678c8f7b71e6d251d610895215ae2fca785fa - pristine_git_object: 452d1ef04e52a7d96cd5af34d4bc25fed4e1be54 - src/main/java/com/cvent/models/components/ActivityDataJsonExhibitorExternal.java: - id: 18779ae3247f - last_write_checksum: sha1:b8c3a23a906992b4f2a3577d3804b186bb2bc3cc - pristine_git_object: acfc36509f2263fab1f4402b8447d4e14f979e94 - src/main/java/com/cvent/models/components/ActivityDataJsonSessionExternal.java: - id: ae1e475f8f21 - last_write_checksum: sha1:b4d6bc60d4e4e9d08820912b576c330726ef8811 - pristine_git_object: e58f7fb2c422cd100bcfcb9e69a69b36ea3adca5 - src/main/java/com/cvent/models/components/ActivityExhibitorDocumentJson.java: - id: 38ceb722a216 - last_write_checksum: sha1:bd6ad8fc79d6d1d9282867249f0e6a4a62d6eeb5 - pristine_git_object: 42baabbe3961655ae5b4091cef5763b49cf07f7b - src/main/java/com/cvent/models/components/ActivityExhibitorJson.java: - id: b0b072e48a3a - last_write_checksum: sha1:d33b2b1d2f9b586a648077d6442edd1fd88b5eef - pristine_git_object: 5aa7555e16f96b97f9f676b50d7fd0f073fa4e88 - src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSourceJson.java: - id: 3d122232f54a - last_write_checksum: sha1:b9441f94fb3ae5b7676b2081677f2f10a535b515 - pristine_git_object: 452e0e46ba01ef9e8715e5c5370f55ca7aec4bd2 - src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevelJson.java: - id: 26c3a2290688 - last_write_checksum: sha1:1996a2378ec3f08d285da0a3c909b59911dea4f5 - pristine_git_object: af5397f7ae1f4ab2378bab4ba2ed53c817caabd1 - src/main/java/com/cvent/models/components/ActivityExhibitorWebLinkJson.java: - id: 445d334cf339 - last_write_checksum: sha1:adfd1014e699f44e47500d8c30460207958ddd7b - pristine_git_object: efadacfe07da6438228d1054826acefa91555236 - src/main/java/com/cvent/models/components/ActivityJson.java: - id: c4f9f1243d14 - last_write_checksum: sha1:ab25a686ea5a9acd57df061f5723ebee64007389 - pristine_git_object: 2348bbcb98a211b18d36f6b0667f107bddfdcae2 - src/main/java/com/cvent/models/components/ActivityLeadJson.java: - id: e5082970378d - last_write_checksum: sha1:7655f03e51f8f2d243b99e6f8e5b880551aaa881 - pristine_git_object: f93c3c51b51bfcf7508f68836b34687be02a3c43 - src/main/java/com/cvent/models/components/ActivityTypeJson.java: - id: 37fb19c33bf4 - last_write_checksum: sha1:d9c7f3869071ccda51891a9690b90c41acf74959 - pristine_git_object: cd5a6ff28ec5633d0ee5ceb54d1d7a0e7dcff865 - src/main/java/com/cvent/models/components/AdLocationJson.java: - id: dfb68764bc08 - last_write_checksum: sha1:99da44d2f9808f65ee8bbb6c7a435295b9bdb69c - pristine_git_object: 27d9a82d00f07219e2ca3edd12502511544ef1d1 + src/main/java/com/cvent/models/components/ActivityData.java: + last_write_checksum: sha1:f2538f3c8caa286b11f04fdc9dc9bf2477190866 + src/main/java/com/cvent/models/components/ActivityDataAppointmentExternal.java: + last_write_checksum: sha1:d64c4e4092d25c9efd59c8f57dc258184bf471b0 + src/main/java/com/cvent/models/components/ActivityDataEvent1.java: + last_write_checksum: sha1:e1cbf90224abc8e5da1130078de0d95f62972a6c + src/main/java/com/cvent/models/components/ActivityDataEvent2.java: + last_write_checksum: sha1:c8f7a2daf184db0dce910b3026b5129e4e0fbb5a + src/main/java/com/cvent/models/components/ActivityDataEvent3.java: + last_write_checksum: sha1:6b5d1fe251b45f00dc8d36b08ccf18ba3ce96efe + src/main/java/com/cvent/models/components/ActivityDataEvent4.java: + last_write_checksum: sha1:74b9ebb68beb6dc2f0a1e3992d3cedb921ea0651 + src/main/java/com/cvent/models/components/ActivityDataEvent5.java: + last_write_checksum: sha1:1cb0fb7e04ef3ce572ce85d773b762df5d7574cf + src/main/java/com/cvent/models/components/ActivityDataEvent6.java: + last_write_checksum: sha1:f294f0e6541955c80032c368d3d8bed634d0a8af + src/main/java/com/cvent/models/components/ActivityDataEvent7.java: + last_write_checksum: sha1:d3272c7d9046ddcadf8ce4a1aa3db4792f7a312b + src/main/java/com/cvent/models/components/ActivityDataEvent8.java: + last_write_checksum: sha1:028ccd3bd18ec5d39671379dbf4f30f311d3689a + src/main/java/com/cvent/models/components/ActivityDataEventExternal.java: + last_write_checksum: sha1:8dfaf5f14ca75a24de8c34cfa4f7d26b1015f595 + src/main/java/com/cvent/models/components/ActivityDataExhibitorExternal.java: + last_write_checksum: sha1:18dc57c91ca0da232b56a3e821f729c68a95e489 + src/main/java/com/cvent/models/components/ActivityDataSessionExternal.java: + last_write_checksum: sha1:e46e5f08b6cac242d02fd9f9e8284175fc60f96b + src/main/java/com/cvent/models/components/ActivityExhibitor.java: + last_write_checksum: sha1:d0553c899f1327286b4629799b77d4fdaa1363d3 + src/main/java/com/cvent/models/components/ActivityExhibitorDocument.java: + last_write_checksum: sha1:9fc6705d0c14882472ca651cdebbf379dbea3ffc + src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSource.java: + last_write_checksum: sha1:e37b0660cddda4d42e8fea6e52a1630da57c2cc3 + src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevel.java: + last_write_checksum: sha1:00a5f61662f19e0c2821311b5db7c82a1d0ac165 + src/main/java/com/cvent/models/components/ActivityExhibitorWeblink.java: + last_write_checksum: sha1:0851f990e15b2b7e6c785e8e34575593b703975e + src/main/java/com/cvent/models/components/ActivityLead.java: + last_write_checksum: sha1:029f17c3bec242a0a5c83f17bc368d4b56eadd6c + src/main/java/com/cvent/models/components/ActivityType.java: + last_write_checksum: sha1:ed84fb7b7300283990ab5bc8492215ef8176dc09 + src/main/java/com/cvent/models/components/AdLocation.java: + last_write_checksum: sha1:f6d4150c823bd14c3464d9d0ee4a28a36f927584 src/main/java/com/cvent/models/components/AddOnJson.java: id: c84fbf44b362 last_write_checksum: sha1:168cc4e2a34150fe1369a9ad5da2b146519585a3 @@ -9352,6 +9260,8 @@ trackedFiles: 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/AddressInfo.java: + last_write_checksum: sha1:a41733b36f187a34a2ea16afb689747b525f401d src/main/java/com/cvent/models/components/AddressInput.java: last_write_checksum: sha1:bea2c7a59dfe5eb47a88524e72acf2dd834c2479 src/main/java/com/cvent/models/components/AddressJson.java: @@ -9454,30 +9364,26 @@ trackedFiles: last_write_checksum: sha1:2367e29af2704e2cf7a56f415658365951a99173 src/main/java/com/cvent/models/components/Answer1.java: last_write_checksum: sha1:4c837443c4d334c0b329fe6a3b291ccb69aa8c47 - src/main/java/com/cvent/models/components/Answer2.java: - last_write_checksum: sha1:2c08e131463f3dc992c09c365e9fb23e72711023 + src/main/java/com/cvent/models/components/Answer21.java: + last_write_checksum: sha1:49eb800722b2b361ecf0461bb26b82fdd0b817bb + src/main/java/com/cvent/models/components/Answer22.java: + last_write_checksum: sha1:1bae0098949c72c11b14c23bb3c6ad2b65058807 src/main/java/com/cvent/models/components/Answer2Choice.java: last_write_checksum: sha1:5b646eed6233a47cd6f206ed29ad077326efd7a4 src/main/java/com/cvent/models/components/AnswerJson.java: id: 4a78cff7674b - last_write_checksum: sha1:0903f9f934ea4d451b935f6551bd9b2f53c2c1aa + last_write_checksum: sha1:3763665f37cd4fad9ff3a2cd9adda83391c2d6da pristine_git_object: 209ba65fecb2cb9467e39def1f8029bc5cb940f4 - src/main/java/com/cvent/models/components/AnswerJson1.java: - id: e7b1574f3099 - last_write_checksum: sha1:69f05a6f68c583a4ab74546b94118df26a6f1aea - pristine_git_object: 918e318ddb42092cd1138195d2ea09477838bd91 src/main/java/com/cvent/models/components/AnswerType.java: last_write_checksum: sha1:2c4e561f4273c847cf514f23c130b34c756478ec - src/main/java/com/cvent/models/components/AnswerType1.java: - last_write_checksum: sha1:f7517a37822bbf1773dcaff984b12ac0ff850733 + src/main/java/com/cvent/models/components/AnswerType11.java: + last_write_checksum: sha1:630cf5732c281b8af6535796da3a22478bbd23b8 + src/main/java/com/cvent/models/components/AnswerType12.java: + last_write_checksum: sha1:01aaa1cae9fbb8243c2e65f721a2dd02610a29f1 src/main/java/com/cvent/models/components/AnswerTypeJson.java: id: 9658c9d5a363 - last_write_checksum: sha1:e9e5dd51a6e45165c0d2ca432c975900c8093bb3 + last_write_checksum: sha1:bcdc0aa53330a2ebdddc5631e3add2014ff03bad pristine_git_object: 2cd68cca7ed155056295722138adf5cd64edef92 - src/main/java/com/cvent/models/components/AnswerTypeJson1.java: - id: 271875f20bee - last_write_checksum: sha1:6b168ca9cbd6d9edfba9f969784e648b05ed6cd7 - pristine_git_object: dc99b97f5b6ee16a48f422291aa4d7921bcf8c24 src/main/java/com/cvent/models/components/Application.java: id: fc324ddbb742 last_write_checksum: sha1:67d072957d6750c730c82c6d55936b4c1ba88b1f @@ -9486,7 +9392,7 @@ trackedFiles: last_write_checksum: sha1:aa3adee246aebaa76d0c5990716308afd663b3a2 src/main/java/com/cvent/models/components/AppointmentAccepted.java: id: 84247c6b3b42 - last_write_checksum: sha1:3d1d23a8c9cd5a0d4b7b9ca59016c30b2efa078f + last_write_checksum: sha1:e1f1c4b1b8bf3beec096b9f732e1407d2a78066b pristine_git_object: 567bc3622967da498a50edee284be1b7350f79b5 src/main/java/com/cvent/models/components/AppointmentAttendee.java: id: 332c8d342526 @@ -9518,23 +9424,23 @@ trackedFiles: pristine_git_object: b1014d0fe753c81f965c020de2028c16a738a82d src/main/java/com/cvent/models/components/AppointmentCancelled.java: id: 29f6ac88a708 - last_write_checksum: sha1:8d82f8a755cec7bf1028d087a5774f1d368a8fbb + last_write_checksum: sha1:bd28a38c242a23dab05105e9cd14a15668f9d828 pristine_git_object: 2d2f82d2cbf63b1e9f4015a88a1f7ea55006d8d4 src/main/java/com/cvent/models/components/AppointmentCheckedIn.java: id: 97ea91285fea - last_write_checksum: sha1:26f8f82c42c93dce8270e1e063cc04d92bc5f78c + last_write_checksum: sha1:5dfa3c71131ef7d809630d359b0d4c41ffc75256 pristine_git_object: 0c1e09794eddfd14821c85d4d15b8de1bc882b96 src/main/java/com/cvent/models/components/AppointmentCreated.java: id: 78761e0ce2af - last_write_checksum: sha1:62cfcb607b9fc9c67e2b2d4141898708e66788bf + last_write_checksum: sha1:9a912615d7d574da112ee20af58c3a21d34244f3 pristine_git_object: 4e7730349f2c6c5d6ebbef21cd0a3a081b1582de src/main/java/com/cvent/models/components/AppointmentDeclined.java: id: c12a80bd708f - last_write_checksum: sha1:5cae4fe39f500f0f3dd269b4735948468a4c80f5 + last_write_checksum: sha1:2b3ac25b6783d183aea837928263ba50c4cfbd3f pristine_git_object: 5330e954ffdf1d7fecce289ae57ab070b50335f0 src/main/java/com/cvent/models/components/AppointmentDenied.java: id: 5928979a0ec0 - last_write_checksum: sha1:58824de7f72538b376ad9701d8d9d95e114477d7 + last_write_checksum: sha1:0989f62983d9a9aaae952945e7e1690b1d823067 pristine_git_object: 2321b162bc11c92633d90674349c5691feef4dd9 src/main/java/com/cvent/models/components/AppointmentEvent.java: id: f65c4c15d867 @@ -9564,7 +9470,7 @@ trackedFiles: pristine_git_object: 2e2d98a34a1cb69c5a575a9ec5217fd0fd866da2 src/main/java/com/cvent/models/components/AppointmentPaginatedResponse.java: id: 7b8c752e1990 - last_write_checksum: sha1:391d7e7559ea00ec42775546e600ecf7537db3b9 + last_write_checksum: sha1:c40ee5986bef55b33f08c16207e16f538053100b pristine_git_object: b5e2ada1240d638d371cf73c91a02dde7da22ca8 src/main/java/com/cvent/models/components/AppointmentParticipantJson.java: id: 9f59a92bd75e @@ -9576,7 +9482,7 @@ trackedFiles: pristine_git_object: ff104459b17c292a402da9cf71ae3dc10fbe7890 src/main/java/com/cvent/models/components/AppointmentRescheduled.java: id: 4544c0261569 - last_write_checksum: sha1:3f543abc9b2dc50998d6f50594dd88b301b7619f + last_write_checksum: sha1:7f0510f2545942bfae6ce957a14f73f37467e015 pristine_git_object: c09682113b678e24f05f802cee88e6450172584f src/main/java/com/cvent/models/components/AppointmentStatusJson.java: id: d7816a6c5604 @@ -9600,6 +9506,10 @@ trackedFiles: last_write_checksum: sha1:6f448079b9769afa2824b074caba0e52ed71007d src/main/java/com/cvent/models/components/AppointmentWithQuestionsType.java: last_write_checksum: sha1:ffe1de2e44b70da3a0f25a966bea5880272af92c + src/main/java/com/cvent/models/components/AreaMeasurement.java: + last_write_checksum: sha1:4962d74c220f9fdd1d2f0eadc10f8d0aed67aa4e + src/main/java/com/cvent/models/components/AreaMeasurementUnit.java: + last_write_checksum: sha1:8df8b2d2e67292f060808608d0e436f087928a99 src/main/java/com/cvent/models/components/AssetLocation.java: last_write_checksum: sha1:f1f3695b2017bdc8c68604a093de2b87e1bd0432 src/main/java/com/cvent/models/components/AssetLocationInput.java: @@ -9617,7 +9527,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:ec7f36b903fda4f95ddeba7139dbd26e288751dc + last_write_checksum: sha1:3473e754b8c547a1e275c2f5417b56b427fbe39a src/main/java/com/cvent/models/components/Attendee12.java: last_write_checksum: sha1:3dcfd7dc3cfd057bfa15c5204943ab4942d67dd1 src/main/java/com/cvent/models/components/Attendee13.java: @@ -9632,8 +9542,10 @@ trackedFiles: last_write_checksum: sha1:01b6bd1db9c6a76703be0a76236da5b8da78145f src/main/java/com/cvent/models/components/AttendeeActivitiesPaginatedResponse.java: id: fa1fb86e61be - last_write_checksum: sha1:588a350967abac8420622802fe72e333167ce587 + last_write_checksum: sha1:3aef2b736e1eeea8480847aa8c510b15c5ff1b7d pristine_git_object: a87e4ced73d932eb602c2a45b6a882f99dc997fa + src/main/java/com/cvent/models/components/AttendeeActivity.java: + last_write_checksum: sha1:ec12bf62b6a23bfa219d7e9a2fb00eb8a2dd1538 src/main/java/com/cvent/models/components/AttendeeAdd.java: last_write_checksum: sha1:2c2b04929e118c25a55de614d24cdaaf5f770dae src/main/java/com/cvent/models/components/AttendeeAddAdministrator.java: @@ -9650,7 +9562,7 @@ trackedFiles: pristine_git_object: cf6bdabe8235bc544c25de11eba8d43854aba9b3 src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java: id: 5f9637e39d00 - last_write_checksum: sha1:139991062ba32c246bea067292a2b713b99ab693 + last_write_checksum: sha1:4a6ca0e3a618e37a675a2b2cb4651915ff21ea2a pristine_git_object: 934316300bd2f81d4b76380e7a4c4ff5271174ad src/main/java/com/cvent/models/components/AttendeeAddBulkItemJson.java: last_write_checksum: sha1:cf2582db1159ccc6fa6d9bcfe5e4c5ace2d01108 @@ -9695,7 +9607,7 @@ trackedFiles: src/main/java/com/cvent/models/components/AttendeeAudienceSegmentAssociationsPaginatedResponse.java: last_write_checksum: sha1:108ca2711383307946a2d28bac9eeb05ead80dbc src/main/java/com/cvent/models/components/AttendeeContactInfo.java: - last_write_checksum: sha1:f32aa7dcd77b17acbba735766b0516e625a42d02 + last_write_checksum: sha1:73a3ffdd0b88ac2142fb240b8a7d51d40aedae6f src/main/java/com/cvent/models/components/AttendeeContactMembership.java: last_write_checksum: sha1:f0dce922f5811531e8ca355cf754a7f2e053805d src/main/java/com/cvent/models/components/AttendeeContactType.java: @@ -9808,10 +9720,6 @@ trackedFiles: pristine_git_object: aa1a144d441a29d8f0a261dd7bef5b8b0a32faad src/main/java/com/cvent/models/components/AttendeeStatus.java: last_write_checksum: sha1:d464b23580a41a04420a167fd30993e02f4f2eca - src/main/java/com/cvent/models/components/AttendeeStatusJson.java: - id: e67de1a76c63 - last_write_checksum: sha1:37c814eb45be38d523866c6289f6f3796e4fd7e5 - pristine_git_object: cf604e0e7b6f8dd50293a1903937138137abb46d src/main/java/com/cvent/models/components/AttendeeSubscriptionRequest.java: last_write_checksum: sha1:a23b34a80e3c4a0a3108d40785e5add4edebace9 src/main/java/com/cvent/models/components/AttendeeSubscriptionResponse.java: @@ -9986,26 +9894,20 @@ trackedFiles: id: c8dd5a0652cc last_write_checksum: sha1:2ba48a1bd2849f1d7a1414316fdd92fa3a6e7c10 pristine_git_object: 17ff7176da9c3abbd33fa3c3bc55803af0d6229a - src/main/java/com/cvent/models/components/BannerLinkTargetJson.java: - id: ff8e9e1be183 - last_write_checksum: sha1:4ce8a4fd9173634d61dd866642ee9a65b9931d26 - pristine_git_object: 1f66f4b3d9ef8f51a821d0c2e16325a5f85c356a - src/main/java/com/cvent/models/components/BannerLinkTargetJsonType.java: - id: dd6392dd8337 - last_write_checksum: sha1:3c7eb4e213c57519db81b5395732f699ca47372b - pristine_git_object: e445afafab910ff9b14b22f493e37dd015c1458a + src/main/java/com/cvent/models/components/BannerLinkTarget.java: + last_write_checksum: sha1:6301afd359ddc51b97fdb7e3d9b0c6d3231511e3 + src/main/java/com/cvent/models/components/BannerLinkTargetType.java: + last_write_checksum: sha1:ea19d23602319179291057c05e6e9f40c0a95bb1 src/main/java/com/cvent/models/components/BaseAddressJson.java: last_write_checksum: sha1:51280267b3cba1e78d9fede856be3eba5c3fe771 - src/main/java/com/cvent/models/components/BaseAnswerJson.java: - id: 11d4dfb5e0a5 - last_write_checksum: sha1:e41de5b89a250df4c4a6585ea4d1acf9a4eeb23f - pristine_git_object: 386d2959212abfefb3cd4fd0cda63d94ac705e01 + src/main/java/com/cvent/models/components/BaseAnswer.java: + last_write_checksum: sha1:93cfcb25bbeca44acf1b21e568098f38915a54c4 src/main/java/com/cvent/models/components/BaseChoice.java: last_write_checksum: sha1:9154dc325b99b83850a506c8c2d1a8b6777e24b7 - src/main/java/com/cvent/models/components/BaseQuestionResponseJson.java: - id: 25b183bafe34 - last_write_checksum: sha1:50320e17ba1e336f38c424f27beb51f1667609e8 - pristine_git_object: 9b6bcf2729d1d3c75942e884966a3109837459ea + src/main/java/com/cvent/models/components/BaseQuestion.java: + last_write_checksum: sha1:1e3a3b98e0d52565e2b9c2b13fec8912e0c05fce + src/main/java/com/cvent/models/components/BaseQuestionResponse.java: + last_write_checksum: sha1:b5653c67c6ac5543a183f31f252a5d7eee3e6807 src/main/java/com/cvent/models/components/BasicAuthentication.java: id: c23382b2b52e last_write_checksum: sha1:85161a9b8d429b9cadad46820e5e2bf1db4a59d4 @@ -10015,7 +9917,7 @@ trackedFiles: last_write_checksum: sha1:dff3558d6871a7691af1746460ff70dec187b579 pristine_git_object: 463f101e63a47558545354f85e1e499b6759031a src/main/java/com/cvent/models/components/BidItemStatusType.java: - last_write_checksum: sha1:ce372ab08a22ad68e93b293d07757238d5aa0463 + last_write_checksum: sha1:f299c16b2b7ea959ac9ced8870c5fd885c121f99 src/main/java/com/cvent/models/components/BidStatusType.java: last_write_checksum: sha1:6301d02e49688d3f2efc55f7ee201e9cc4e59594 src/main/java/com/cvent/models/components/BidStayType.java: @@ -10096,6 +9998,8 @@ trackedFiles: id: 7879c6a93b96 last_write_checksum: sha1:aaad8e48a6d46966142f5ae633567248cc049716 pristine_git_object: b4b1c28aab36f28bbd66b0ae6b4771cb948660cf + src/main/java/com/cvent/models/components/BudgetCategory.java: + last_write_checksum: sha1:deb6fbd16906ef8816fdac2fb07a7b6fc6dda231 src/main/java/com/cvent/models/components/BudgetCategoryJson.java: id: "094260302153" last_write_checksum: sha1:6c849eb4f9d605aa0625ac7335896c7a8acd6923 @@ -10108,26 +10012,24 @@ trackedFiles: id: 1dad78ebb14a last_write_checksum: sha1:a2525faf4b9077138a343dc89ac7472c77c3e180 pristine_git_object: 486da97351b0c2d945cbc063c0e9b87b9c2ecead + src/main/java/com/cvent/models/components/BudgetCostDetail.java: + last_write_checksum: sha1:c0a7256ccae5a8607eabb007e0d289eaa29ff21b src/main/java/com/cvent/models/components/BudgetCostDetailJson.java: id: 3a038a7d94d7 last_write_checksum: sha1:520020533df06bf948f0b0b32dadc3aae432ea50 pristine_git_object: 65185c795aa80be13494149a0a5657200f05e9fd - src/main/java/com/cvent/models/components/BudgetCostDetailJson1.java: - id: eb35476fa6e9 - last_write_checksum: sha1:663ee78cf286f88af8641541d101cb982c82ecc7 - pristine_git_object: 3a182c416bddee543561a326ffaf70bb8aceffcb src/main/java/com/cvent/models/components/BudgetCostDetailJsonInput.java: id: 157823fc6252 last_write_checksum: sha1:5622006b02f8c606ac4a0a13882e9f10c278a0d8 pristine_git_object: 1658483b219904c040655b05bd5fdfe7ceabe00a + src/main/java/com/cvent/models/components/BudgetCostType.java: + last_write_checksum: sha1:d7b4fa1667334ff2580caffcc74455a782a8fda1 src/main/java/com/cvent/models/components/BudgetCostTypeJson.java: id: 8568459040d9 last_write_checksum: sha1:53657e9fd514a8c448e791742a16c72a7cb5e2b8 pristine_git_object: 02eed6b9b5bb90f7951ab659ebfcba9d6af0391d - src/main/java/com/cvent/models/components/BudgetEstimateJson.java: - id: ae569b66fdc0 - last_write_checksum: sha1:7568a6846f12cc2a0f708c64ebff3b197ad352cf - pristine_git_object: 653384cd9bf0ec3d731c944c54016b5ab098f00e + src/main/java/com/cvent/models/components/BudgetEstimate.java: + last_write_checksum: sha1:1b0676cd59df8222aa2043641948bf3dd54db1f8 src/main/java/com/cvent/models/components/BudgetGratuityJson.java: id: 73fd15240c47 last_write_checksum: sha1:59111b9cefe81b82add91c7ab4b5b5f5fbb80b86 @@ -10184,6 +10086,8 @@ trackedFiles: id: af5df999a4b0 last_write_checksum: sha1:87f525b4d15bb391beca6ae303a7f4af9c3d05a3 pristine_git_object: a283dd111406d5902eb84ea581d9251fb4343c1a + src/main/java/com/cvent/models/components/BudgetSubCategory.java: + last_write_checksum: sha1:5b0f6b086afc423d89025c0cb23b8dd8eee081d0 src/main/java/com/cvent/models/components/BudgetSubCategoryJson.java: id: 034ac0c9063b last_write_checksum: sha1:d5aa2bf855d37ee18e13165d977538f6cce999d2 @@ -10230,23 +10134,17 @@ trackedFiles: pristine_git_object: 92f04e3b1aaaab411abd5cbe357841ef285efd96 src/main/java/com/cvent/models/components/BulkData.java: id: 7c5983b71a6b - last_write_checksum: sha1:c20871dec65f9ff4702be32713e2135dfcfa57f6 + last_write_checksum: sha1:182d51de6d3240e4f37a7caa4cac0b39e29e0774 pristine_git_object: ef5e072719a014a1bf5867fde78cc8b7546a51ed src/main/java/com/cvent/models/components/BulkDataProperty.java: id: 89e574c1051d - last_write_checksum: sha1:f9ce3caa5741b125a58c243c507fcb3a7d679afc + last_write_checksum: sha1:2716b3d9fdb37b7b1c1bdbd48be4485f81b556ee pristine_git_object: e4bbf08ee4145eeb24d8315235d7e98673a90ca7 - src/main/java/com/cvent/models/components/BulkDataPropertyJson.java: - id: 468871990b4f - last_write_checksum: sha1:5aaa7165785fb486a5b0dbb3806431c016e50626 - pristine_git_object: 24d1a54f2ef35a0afa4a3c35467aafd3a62afc71 - src/main/java/com/cvent/models/components/BulkDataRecordJson.java: - id: 024ca761edae - last_write_checksum: sha1:b919afe4affd606cca63e95195b629ba2ed521fd - pristine_git_object: 82c5725cfc45ac35cc39e2613db2c34dfacd87ac + src/main/java/com/cvent/models/components/BulkDataRecord.java: + last_write_checksum: sha1:41b3d4d06aa996eb7f18758259c0be792d28e771 src/main/java/com/cvent/models/components/BulkDataUploadResponse.java: id: 36fcee938b67 - last_write_checksum: sha1:e08acdad474c5837d71461c9c4fd91aaec7855ac + last_write_checksum: sha1:20e9e3be6b43cd6dd4c8d0550446915284db9753 pristine_git_object: 6dfe924d85e418132a3fc80aa6b3ade6c5455f67 src/main/java/com/cvent/models/components/BulkJob.java: id: b3a0f751b387 @@ -10262,11 +10160,11 @@ trackedFiles: pristine_git_object: 563d5002447ee59606765f25432d563158ccddac src/main/java/com/cvent/models/components/BulkJobWithData.java: id: 171273ee221f - last_write_checksum: sha1:545fe4799619a417e91d440366e2d2627ea1ea52 + last_write_checksum: sha1:fff829a07c82719a07cadb25107090a019df7b49 pristine_git_object: 5b9d498e8c1fb05b2ff786a689ef790c79411318 src/main/java/com/cvent/models/components/BulkJobWithDataInput.java: id: 5c49f1bffc52 - last_write_checksum: sha1:c3168a474490844e69b3de4c872c13dcd5496127 + last_write_checksum: sha1:02a3452e7fc8c520e1d64e08d8e97a388f83e5e4 pristine_git_object: 0f05264bf8b521f24052451cca4cfa8b0a38b535 src/main/java/com/cvent/models/components/BulkJobWithDataOperation.java: id: 22bdf25e6843 @@ -10276,13 +10174,13 @@ trackedFiles: id: c156af8e7572 last_write_checksum: sha1:e5678bbc10ff498b716f2e09847bba4850a65f1f pristine_git_object: d9e0b205e1e783d4f78d4859efc1dcda3383d71f - src/main/java/com/cvent/models/components/BulkResultJson.java: - id: dec43281b91f - last_write_checksum: sha1:d46a115ab5a8d1444f7b16c7ec39c25bfa825825 - pristine_git_object: 18e3d8771edbf653081f9ebf61fec2533455547e + src/main/java/com/cvent/models/components/BulkResult.java: + last_write_checksum: sha1:b85ad595ee4d345407de4f5df0b1fc3548976d76 + src/main/java/com/cvent/models/components/BulkResultBulkDataProperty.java: + last_write_checksum: sha1:cb1e03c865b99e80780ecb91836d956218fbdad8 src/main/java/com/cvent/models/components/BulkResultsPaginatedResponse.java: id: 5bba6dd632a0 - last_write_checksum: sha1:78950673bcd4e88539d9d4c148a62a50247d7f4c + last_write_checksum: sha1:4271b6657135e46868a519873d7c6d086f5c22d8 pristine_git_object: e79c95421f890171382244cc542288e2d1803ce6 src/main/java/com/cvent/models/components/BusinessType.java: last_write_checksum: sha1:93c7df4e9e9bc317799fa92288aa8011987db0bc @@ -10312,6 +10210,8 @@ trackedFiles: pristine_git_object: 8fae8fcb4ae648ae13cceeae97fd54f58e7fc5ee src/main/java/com/cvent/models/components/CancelledReason1.java: last_write_checksum: sha1:05d76268e9e8eecc4ab7f0f0120bdd07d2a78345 + src/main/java/com/cvent/models/components/Capacities.java: + last_write_checksum: sha1:60dd5356b1fd3c941a63f99ccecf53ffedae2324 src/main/java/com/cvent/models/components/Capacity.java: last_write_checksum: sha1:d1ff340f1022af8afd2bedce10252bdad09843a0 src/main/java/com/cvent/models/components/CapacityJson.java: @@ -10359,7 +10259,7 @@ trackedFiles: last_write_checksum: sha1:c14600a6743d34bc2331da3239f582f09bf9a75c pristine_git_object: f22dbe60af39614bff17bf237d4254abaf67c8fd src/main/java/com/cvent/models/components/CardTransactionJson.java: - last_write_checksum: sha1:8949b192c90dc2fc469bad9df44d4534d9b4560a + last_write_checksum: sha1:9758afc00aff9d18079989b071a580102fca985a src/main/java/com/cvent/models/components/CardTransactionJsonBudgetItem.java: last_write_checksum: sha1:e8d11966ea0d9747077fabccc18ac45f14073e09 src/main/java/com/cvent/models/components/CardTransactionJsonEvent.java: @@ -10400,6 +10300,8 @@ trackedFiles: id: c4158c3236f4 last_write_checksum: sha1:88afaab3e56f6b1597a93f83901026b45a1996bd pristine_git_object: 96e39bbdbfe3aaf300d0cad0795e3ecfc2bd4705 + src/main/java/com/cvent/models/components/ChainScale.java: + last_write_checksum: sha1:303bdf64cf497af6fa2bda5a27557dc106caa589 src/main/java/com/cvent/models/components/ChangePassword.java: id: 2320f2bea141 last_write_checksum: sha1:73635c24390803ced22d9115f7de24e1e4e55aff @@ -10480,10 +10382,8 @@ trackedFiles: last_write_checksum: sha1:c3980678e80deed42c2c65638a9b2ab446131ccc src/main/java/com/cvent/models/components/ComplianceScope.java: last_write_checksum: sha1:705228c883dcc6e14f147726941b1a7337c4df56 - src/main/java/com/cvent/models/components/CompositeValueJson.java: - id: 07b0c7dd6e72 - last_write_checksum: sha1:fff25dbafc41970d1b639b2815dba64664ae926a - pristine_git_object: baa671155d74f040b015fb1d9604e36a47cc68c9 + src/main/java/com/cvent/models/components/CompositeValue.java: + last_write_checksum: sha1:da8ede6b1f2981a3b068dacaf7815db47827e8ca src/main/java/com/cvent/models/components/ConflictResolution.java: id: 23e6c51c8f16 last_write_checksum: sha1:1de3c63a69f0e81ceeb2c0d25fa95d2a1f7a4b16 @@ -10508,10 +10408,6 @@ trackedFiles: last_write_checksum: sha1:00915ed55b0eb41b6d67c09ba241faf30ca65a81 src/main/java/com/cvent/models/components/ContactBulkResponseItemData.java: last_write_checksum: sha1:f0fca216c7e813851319ceefe794a8bf6eac026c - src/main/java/com/cvent/models/components/ContactCommonJson.java: - id: 28ed11302a85 - last_write_checksum: sha1:03626ecc30b9b335763cb403e7b922ba377fd241 - pristine_git_object: b33ff1af2d2ecdbe9741a1fd756e3fc7df14beeb src/main/java/com/cvent/models/components/ContactCreate.java: last_write_checksum: sha1:a31e5d13080f98e15dc0748d4f47c46d4a389357 src/main/java/com/cvent/models/components/ContactCreateEvent.java: @@ -10532,10 +10428,10 @@ trackedFiles: id: a07af6106316 last_write_checksum: sha1:71ad7bf6a30ff0586f4ac2ae4d41aa8acb1c662f pristine_git_object: 89723dfcd723189c79bd9ae4d67e97f0e5de653a - src/main/java/com/cvent/models/components/ContactFields.java: - id: 119d2452f7f3 - last_write_checksum: sha1:3d6b17a48b929305a467d093f85c2fb1fe3746f9 - pristine_git_object: 3b928191109f4e9ce6c85b6ae48d5525b2e6c46d + src/main/java/com/cvent/models/components/ContactFields1.java: + last_write_checksum: sha1:04984db5d470b343597c9d4a97e8c4c073d6f2ba + src/main/java/com/cvent/models/components/ContactFields2.java: + last_write_checksum: sha1:d01c7d5bd64aa01e12c4e372e519728d9ab77704 src/main/java/com/cvent/models/components/ContactFile.java: id: ede1c7688ac4 last_write_checksum: sha1:162452c6fe861505bd1781e2486968b476233d9c @@ -10636,6 +10532,8 @@ trackedFiles: id: ea2a9b970510 last_write_checksum: sha1:02b0dd4f3af1ca70400e5b335e601303d0d2cb67 pristine_git_object: 8462a3f8788da752c58efc33a757c1e4e42e3ce6 + src/main/java/com/cvent/models/components/Country.java: + last_write_checksum: sha1:9dcfbf966de9f9e50b49efbe28dac5892319badb src/main/java/com/cvent/models/components/CountryJson.java: id: 0ae8850ee0b6 last_write_checksum: sha1:ffcde89b9617c42d2b2ec2c8feb6ed87121965e7 @@ -10710,6 +10608,8 @@ trackedFiles: id: 79d28b8e55e8 last_write_checksum: sha1:7425e6e9d1e63a4621d04221b3da05da708b6d28 pristine_git_object: 52da9000aa6a37e78ff1237611d1588771b75436 + src/main/java/com/cvent/models/components/Currency.java: + last_write_checksum: sha1:16caf84f9138d61bb779057eb04274455be09db1 src/main/java/com/cvent/models/components/CurrencyConversionRate.java: id: f386cb9f3441 last_write_checksum: sha1:317a92478e922a905e5bda38694251b68462ee50 @@ -10776,8 +10676,10 @@ trackedFiles: last_write_checksum: sha1:ab262c6a334e2ec1ef623e8a35dabae12c25e99c src/main/java/com/cvent/models/components/CustomFieldJsonCustomFieldType.java: last_write_checksum: sha1:4f72667297b0955524441ca42dee147feca15100 - src/main/java/com/cvent/models/components/CustomFieldSchema.java: - last_write_checksum: sha1:03a3003a625fb652892f451f0013729939454370 + src/main/java/com/cvent/models/components/CustomFieldSchema1.java: + last_write_checksum: sha1:39156eee3e79b199d94ddef10edfc96b027d6f6f + src/main/java/com/cvent/models/components/CustomFieldSchema2.java: + last_write_checksum: sha1:6b113a6a661069d5eafc1c9f631c152d4019e04d src/main/java/com/cvent/models/components/CustomFieldSchemaCustomFieldType.java: last_write_checksum: sha1:d0ad8e0fe94970e7ee108ad1e311f621950c99d2 src/main/java/com/cvent/models/components/CustomFieldType2.java: @@ -10814,6 +10716,10 @@ trackedFiles: last_write_checksum: sha1:df3a7955a600093f367e2c38534aa2cc9159a6bf src/main/java/com/cvent/models/components/DeviceType.java: last_write_checksum: sha1:a9442fa96f67540263e4dbd3854ffc93595e92e4 + src/main/java/com/cvent/models/components/Dimension.java: + last_write_checksum: sha1:297b6826dd837ce80c02e06c34ca04cdb17915c4 + src/main/java/com/cvent/models/components/DimensionUnit.java: + last_write_checksum: sha1:74f19eaae664f1b815ef9395a6ac99e6f21fec0b src/main/java/com/cvent/models/components/DiscountAgendaItemsPaginatedResponse.java: id: 1f16c234aa1f last_write_checksum: sha1:d86ce3daf45b5cefb4ed393aa9bb0fdd78e4781b @@ -10840,6 +10746,8 @@ trackedFiles: 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/DistanceMeasurementUnit.java: + last_write_checksum: sha1:5d9b10f3c0285e3da4293bb4ba7605ccf519a737 src/main/java/com/cvent/models/components/DistanceUnit.java: id: 739e466a37cc last_write_checksum: sha1:778df5be186bb59c31c4c95611b89132632a3a8b @@ -10884,7 +10792,7 @@ trackedFiles: last_write_checksum: sha1:e8be4a60fd2988f11c1f009fd0b4c8673208224d src/main/java/com/cvent/models/components/EmailBounced.java: id: ef5073cb77ea - last_write_checksum: sha1:aa34e4b337bd28d261aa836927eae6861a606bee + last_write_checksum: sha1:7ad033db5499079a409afad776d4af6e4f2b1100 pristine_git_object: d739482c3171fadb99f351a7ddb2dcb155500760 src/main/java/com/cvent/models/components/EmailClicked.java: id: b61516ee2cf1 @@ -10952,14 +10860,14 @@ trackedFiles: last_write_checksum: sha1:b1ca2fcce2d509fcddeb37183abd4d627befb179 src/main/java/com/cvent/models/components/EmailUndelivered.java: id: 433d2d39ab33 - last_write_checksum: sha1:01d4a980a6bd957b414a3966afe6c94e5e33a2c6 + last_write_checksum: sha1:0ef6bf05c216738f3d1f405733177c9fec7183fb pristine_git_object: 992e1f817daa73f624c0b90abefd94808cd5bd8e src/main/java/com/cvent/models/components/EncodingProfile.java: last_write_checksum: sha1:3f59a0ad21953578fe7ca7216423a753e73387bb src/main/java/com/cvent/models/components/EntityType1.java: last_write_checksum: sha1:e18c350805b82ce7e6cef9797ccbc03af75de7f8 src/main/java/com/cvent/models/components/ErrorResponse.java: - last_write_checksum: sha1:73fbcf9dadc6e65cf2ffd9393ca82b7bd9fff527 + last_write_checksum: sha1:b545ca016ab8735d8244cfa4f0288318e2e4aedb src/main/java/com/cvent/models/components/ErrorResponse1.java: last_write_checksum: sha1:a5ed50034e9dfbecab31615297f0986c9d5a6acb src/main/java/com/cvent/models/components/ErrorResponseBase.java: @@ -10986,21 +10894,17 @@ trackedFiles: last_write_checksum: sha1:bfb1e3031be918c535633179207215fb727074f3 src/main/java/com/cvent/models/components/Event3.java: last_write_checksum: sha1:b19eb381ad4f413402239d2b47fa9e32b84e9b59 - src/main/java/com/cvent/models/components/EventActivityDetailsJson.java: - id: cae903159e50 - last_write_checksum: sha1:fd8fac6a9ebcf00e79de3bae2ce27191736eae45 - pristine_git_object: b67f0d739ef3f323241c65026e5d89bedd047786 - src/main/java/com/cvent/models/components/EventActivityDetailsJsonInput.java: - id: 837061e258e5 - last_write_checksum: sha1:797fadb8a0cf7956e9241101086c9ed6b15fa63e - pristine_git_object: cdc23724e78d1e47fbe48a68e0b33dcbd4975614 + src/main/java/com/cvent/models/components/EventActivityDetail.java: + last_write_checksum: sha1:4513e5d143e20006827821c08eaeab081ab75331 + src/main/java/com/cvent/models/components/EventActivityDetailInput.java: + last_write_checksum: sha1:ca91a1892315ed75d572ecb59866df354f7a0d18 src/main/java/com/cvent/models/components/EventAdClicked.java: id: d7676d8cbc48 - last_write_checksum: sha1:76e931d1c9eb81d62c15be1de95c4d0e41babdb4 + last_write_checksum: sha1:66bc0f6c53e997b6db207835ea35c21003537302 pristine_git_object: ecc3d1a344c1804388480fc12badb27f82ecf059 src/main/java/com/cvent/models/components/EventAdViewed.java: id: 0b7659e8a3fd - last_write_checksum: sha1:43181be01051e97dca9ad322ef04380de8013dd9 + last_write_checksum: sha1:019b957a03050f5198689b17d6d647112acdf030 pristine_git_object: d8f046e6e79cf6e9d4968afe4560d60688a85989 src/main/java/com/cvent/models/components/EventAsyncResponse.java: id: 2d85a25d675b @@ -11028,11 +10932,13 @@ trackedFiles: pristine_git_object: 1e3966efaa9055adf8314e8df7860df81758c0cd src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java: id: 2600affa50d5 - last_write_checksum: sha1:1bfbc648f524456e157887faca2926be88042fbe + last_write_checksum: sha1:d2b7142f30b5a96658a4713471939b7029967626 pristine_git_object: 7dc94b1e80c7cc29492e7ffb72a1b5024255a198 + src/main/java/com/cvent/models/components/EventAttendeeSubstitutedEvent.java: + last_write_checksum: sha1:54a954dfd3242f340703def7a3f578658cef6a76 src/main/java/com/cvent/models/components/EventBannerLinkClicked.java: id: 8872cb49aea8 - last_write_checksum: sha1:58280f0bb93a9123eb46374038adfa691537e78e + last_write_checksum: sha1:a6f6cb3350d53a210a95c24196db2fff99a5f738 pristine_git_object: b8385480db3b7bd7cac12df1318d4aa89a801496 src/main/java/com/cvent/models/components/EventBudgetCostDetailJson.java: id: 3c28aedcd366 @@ -11052,11 +10958,11 @@ trackedFiles: pristine_git_object: 6d5bd0d079c8413b98c5751868d35558c90353aa src/main/java/com/cvent/models/components/EventCheckedIn.java: id: 72363f53a7fb - last_write_checksum: sha1:082a271887166b848a19d2c2873af31ac708f8d3 + last_write_checksum: sha1:512196355f1601afd20f37877ca0c8bb37805351 pristine_git_object: 378bb16b16e6ff439b89f44cb7151e1bfeedbf55 src/main/java/com/cvent/models/components/EventCheckedOut.java: id: 3623d1a9bbc3 - last_write_checksum: sha1:1c8fef0dcdbf419aa822afe5a0e097925fd80061 + last_write_checksum: sha1:ec1a6a14dcabc011c859e84c8363144b10205072 pristine_git_object: c0cf2993669650ecd1ebdfe4ef7bfb93a7152cca src/main/java/com/cvent/models/components/EventContactId.java: last_write_checksum: sha1:a6a6a7f6f04b66862511b5d3f9058519d3bd4d1c @@ -11106,8 +11012,10 @@ trackedFiles: pristine_git_object: e1824e48a70c9e816052beb130aeb2521cbace6a src/main/java/com/cvent/models/components/EventFeedbackSubmitted.java: id: 87130bde8b75 - last_write_checksum: sha1:b10d92fa0d8f99c77fec9fa1be31c2de1de8f1ce + last_write_checksum: sha1:72bec7a62123fa99ce22995114b96dd51c4f95eb pristine_git_object: 151a46bbd594e7f158cdec3ebe9771c98a117457 + src/main/java/com/cvent/models/components/EventFeedbackSubmittedEvent.java: + last_write_checksum: sha1:30fc81ea7b5b3fd84883dfba4ea4e5091f8cd0ee src/main/java/com/cvent/models/components/EventFormatJson.java: id: 57288bd482f5 last_write_checksum: sha1:3fe992168e3332a1ff6bbd02007c6d9ad7e4cd2f @@ -11120,6 +11028,8 @@ trackedFiles: id: 51798981c8ce last_write_checksum: sha1:15121148e719e118e67bdba918cb7c08e933454e pristine_git_object: 03dc33750837fe7bc302c5de6d3fb40233448e73 + src/main/java/com/cvent/models/components/EventInsurance.java: + last_write_checksum: sha1:f3a3cde04d955771f98b0d7d442c57550954780a src/main/java/com/cvent/models/components/EventJson.java: last_write_checksum: sha1:afe0ec5516f2fe65acb35c90627923d69882fdd8 src/main/java/com/cvent/models/components/EventJson1.java: @@ -11142,14 +11052,16 @@ trackedFiles: pristine_git_object: 7159c7bb94a8c564d90152c8262afb2d3e8560d7 src/main/java/com/cvent/models/components/EventNoShow.java: id: feae2b76216e - last_write_checksum: sha1:37a7b8651f8d72fa6afd115c56c4634cddcdc24f + last_write_checksum: sha1:c1e8d8933d5a19e209f621db856c5cf8b8365b00 pristine_git_object: f8994c883238f510641088f69bf33f8899402e04 src/main/java/com/cvent/models/components/EventOrganization1.java: last_write_checksum: sha1:a553d6bf5ac20a270a29ebd26603dea6c3e5837b src/main/java/com/cvent/models/components/EventPageVisitTracked.java: id: 2752981ed942 - last_write_checksum: sha1:d480a4cbeb6705580ad992a684192f705305535c + last_write_checksum: sha1:76eebff0b4e039c30458b56c7285bfba31a87861 pristine_git_object: 7fa9b93422d389d147e9e37bb22cdef999f9aba0 + src/main/java/com/cvent/models/components/EventPageVisitTrackedEvent.java: + last_write_checksum: sha1:b8b464996dc677427fb40a7c5f0bc76c947f02e1 src/main/java/com/cvent/models/components/EventPaginatedResponse.java: id: d8bb3ef9f017 last_write_checksum: sha1:ff3813c75f4b86ea9f8b6ff7a6f580f1f13a9a5e @@ -11162,7 +11074,7 @@ trackedFiles: pristine_git_object: 259029be898a4a54e7b0277571dbe52bd8463fb1 src/main/java/com/cvent/models/components/EventQuestionJson.java: id: ebce84f30a5f - last_write_checksum: sha1:75837eaca73e5887ae625471d3bff77b4319f185 + last_write_checksum: sha1:2edf2294ae749e2d14da81fa8732d833288c6cac pristine_git_object: 8d4cff09d421c1bfc9b5334310952e59ae3f90d9 src/main/java/com/cvent/models/components/EventQuestionJsonAdmissionItem.java: id: 65b593f4499e @@ -11178,40 +11090,34 @@ trackedFiles: pristine_git_object: 7f9745d75fce792ea650d9531977044d8069fe48 src/main/java/com/cvent/models/components/EventRegistered.java: id: cb97f8e9ca3a - last_write_checksum: sha1:229422b5ea49984e56d302b4f8a51ddebf2fdad4 + last_write_checksum: sha1:f965d0a3ca1d4760a6328a6ebb076a8b6ba40943 pristine_git_object: 8ed04cdbd8c791a015e2672c9d9d4fd0c5fd178e src/main/java/com/cvent/models/components/EventRegistrationAbandoned.java: id: 034a22ee213c - last_write_checksum: sha1:9e0e6ed70add6ad5c2e8721cafb643cdc52fab36 + last_write_checksum: sha1:84e2db7156218d5658b1c126dde4e9b5bcfecf62 pristine_git_object: c0c06faf2104611e6c6eddf4efb65536c3fa3126 + src/main/java/com/cvent/models/components/EventRegistrationAbandonedActivityContact.java: + last_write_checksum: sha1:e52c346b590097345de19c4d679e268c92ce13b2 src/main/java/com/cvent/models/components/EventRegistrationCancelled.java: id: 785bb2845855 - last_write_checksum: sha1:92af1f5284d6effc7977a9922646715db159c3e4 + last_write_checksum: sha1:cf41857b996b5b9e25a48e16bcdd59b68af8b46c pristine_git_object: 29e72ebee9ee5839cb4756157296e33c4adda6b6 - src/main/java/com/cvent/models/components/EventRoleAssignmentJson.java: - id: 232418025d0b - last_write_checksum: sha1:92ca7d8fb57e267bb78ee3b092eb4705e1a9fdbd - pristine_git_object: 9c61b97acac4d48020338d1d0d275ab67c9f9fb2 - src/main/java/com/cvent/models/components/EventRoleAssignmentJsonEvent.java: - id: 5b8cec5e7521 - last_write_checksum: sha1:bf24006b62c04942361374a8ea8abd2f6ad514c5 - pristine_git_object: 2b6bd2ffdf662a7de30db4a12c84d31d2bd28244 - src/main/java/com/cvent/models/components/EventRoleAssignmentJsonUser.java: - id: bbffd820c5ab - last_write_checksum: sha1:8c2f6917e65bbfb571db962ce1014844bf035ce1 - pristine_git_object: a09f8d888fbafc8d57eeb75c33ff650e542695c8 + src/main/java/com/cvent/models/components/EventRole.java: + last_write_checksum: sha1:e8bf7497e36fa8938b03ffadf4f20a589d215b4c + src/main/java/com/cvent/models/components/EventRoleAssignment.java: + last_write_checksum: sha1:b815ae21b8b40e7767c473e057ca1aa5954f8853 + src/main/java/com/cvent/models/components/EventRoleAssignmentEvent.java: + last_write_checksum: sha1:487d23810521acc28c6dc5cce194ed237653a9cd + src/main/java/com/cvent/models/components/EventRoleAssignmentUser.java: + last_write_checksum: sha1:592ce28d24eae4475c505e3149e7e1a5677a561d src/main/java/com/cvent/models/components/EventRoleAssignmentsPaginatedResponse.java: id: b28c2feb00b5 - last_write_checksum: sha1:1f3b6ba7f7afa72e92bd614f3df47de1d7d3c411 + last_write_checksum: sha1:907246cda733e67840b101bf9e76675e88f4632d pristine_git_object: da0042b31a53398d04257003473c321cf60d92ab src/main/java/com/cvent/models/components/EventRoleExpand.java: id: 6a4a424d7656 last_write_checksum: sha1:6cbea255e7e6f72013ab708e3f3f39d8cf4aee0c pristine_git_object: 4649bc531a4d8fed3a21564e294c08677d181940 - src/main/java/com/cvent/models/components/EventRoleJson.java: - id: 1ff3b5179c6b - last_write_checksum: sha1:95d6bedfed26af1af68d2ca0c853881b08c14005 - pristine_git_object: 6bf29e43850cd5ce7fb2b970704db64034e7e421 src/main/java/com/cvent/models/components/EventSecurityLevelJson.java: id: b09bf828d14b last_write_checksum: sha1:3850981eaa8ec53a5d94635bcc8a7c2413564a5c @@ -11238,7 +11144,7 @@ trackedFiles: pristine_git_object: 99d315c307df9ae51b164592a47f916f612d22a7 src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java: id: 8013e4822f6a - last_write_checksum: sha1:185d9a7eaadcc964484255490f5fda1b9adea7ff + last_write_checksum: sha1:f77d6f2a8dc8f5c82a70b426a36d4eb6a20e1fac pristine_git_object: 93182f543745dbb8f05696635f7c66ea13459220 src/main/java/com/cvent/models/components/EventSurveyQuestionsPaginatedResponse.java: id: eac089048043 @@ -11318,7 +11224,7 @@ trackedFiles: pristine_git_object: 67f6f10191d6bc795a50200517deba1071ee4cf9 src/main/java/com/cvent/models/components/EventWaitlisted.java: id: ef78116998ed - last_write_checksum: sha1:6cd92827d9d778f8dbe9b644eeacc9b77903585b + last_write_checksum: sha1:f78d54b16eff8ad06f2ea7bdd7d914b7939489a9 pristine_git_object: 73cd12e9aee16cee3ba1e8e12d8639d535595b0a src/main/java/com/cvent/models/components/EventWeblinkJson.java: id: e0de4b2b93b8 @@ -11330,8 +11236,12 @@ trackedFiles: pristine_git_object: 2c37498d3bfafffda851efd0273d87e8be50cbc3 src/main/java/com/cvent/models/components/EventWeblinksPaginatedResponsePaging.java: last_write_checksum: sha1:3887b6f12e9c1572e5790fb9546d73b6c4affe00 + src/main/java/com/cvent/models/components/ExhibitLayoutType.java: + last_write_checksum: sha1:55d0bf7a281bf23198115830c4f94f385de9d22c src/main/java/com/cvent/models/components/Exhibitor.java: last_write_checksum: sha1:40bab429af40b0a31155713a106851ad91b318b9 + src/main/java/com/cvent/models/components/Exhibitor1.java: + last_write_checksum: sha1:98a30bc0a9c5fb8f649e1786d74237c403373511 src/main/java/com/cvent/models/components/ExhibitorAdminRequest.java: id: 271b5083d6d3 last_write_checksum: sha1:4b94ff324c39d29b18b08f08bd1930a9c5ddabd3 @@ -11400,7 +11310,7 @@ trackedFiles: pristine_git_object: 03a3a8c60a59dbb69dd7838f647d91a686f612e8 src/main/java/com/cvent/models/components/ExhibitorDocumentOpened.java: id: b5f9814318cf - last_write_checksum: sha1:7dfc2458bb278a96b9d6f8696c2108f85927829c + last_write_checksum: sha1:62a2876115a10099448695b241d1e7651fe60c9b pristine_git_object: b624753b6b53d3787ce3c3d37a6317ffd6cbf98c src/main/java/com/cvent/models/components/ExhibitorId.java: last_write_checksum: sha1:27795764f5ae9e8e3adf2651e8ff4db912d2dcc4 @@ -11408,10 +11318,6 @@ trackedFiles: id: 4b789cb482fc last_write_checksum: sha1:c257f529dd1ea43edfc21aa880a0fb17af08b6e6 pristine_git_object: 4fda4c7a10fee9398c7dfb48832942c1cbecffbb - src/main/java/com/cvent/models/components/ExhibitorJson.java: - id: 9d0b16d9dda0 - last_write_checksum: sha1:7bc219caa1e4e2282680791c076541980154118d - pristine_git_object: a0cc43030560ee25ae3a29f29eaabf024b32bc42 src/main/java/com/cvent/models/components/ExhibitorQuestionType.java: last_write_checksum: sha1:479687548a4a2167fc84cb865ce9147b37e065a0 src/main/java/com/cvent/models/components/ExhibitorQuestionsResponse.java: @@ -11432,19 +11338,19 @@ trackedFiles: pristine_git_object: 556699e2ff65fc913e44e892259d475b30126cf7 src/main/java/com/cvent/models/components/ExhibitorSocialLinkOpened.java: id: 29d9942b1df5 - last_write_checksum: sha1:b2cb44353bd372a4527bd08dceb027fd6aff8f2d + last_write_checksum: sha1:5481e8f002ad6a696fbe4e5888bcbe299b1443d0 pristine_git_object: b67c3817339bcf87235903742d3d3b9539909f8e src/main/java/com/cvent/models/components/ExhibitorViewed.java: id: 3e430b98c4c9 - last_write_checksum: sha1:aebd8e571035e1ef80d1bd56c0c5558c12fc2fc0 + last_write_checksum: sha1:3df973659e0d5ec925ac1633d37d88b52aeca2de pristine_git_object: 1ec71cdd6347d07cb0d50df381efb7c24d3c798d src/main/java/com/cvent/models/components/ExhibitorVirtualBoothJoined.java: id: 4040da8fefb1 - last_write_checksum: sha1:e333a56cc6f9fe4c23cbc81083b5eff27de27eb1 + last_write_checksum: sha1:9bcabda6c3f93b25dcb292fc7ec0478eb8e6b561 pristine_git_object: d1eaacf18311e38f9229a7670d0f662c63df8cde src/main/java/com/cvent/models/components/ExhibitorWeblinkOpened.java: id: 1e15a559b249 - last_write_checksum: sha1:a3b480aadf6bf7114cff6d03ab44a14611be245b + last_write_checksum: sha1:5b11db2588260e853f532f43ac2a385edcba2276 pristine_git_object: 929e269b0696233d3e8550135ba47c66cb3ec779 src/main/java/com/cvent/models/components/ExhibitorsEventCopyOverride.java: id: 82add8fdca37 @@ -11535,9 +11441,9 @@ trackedFiles: src/main/java/com/cvent/models/components/ExistingELiteratureRequestDataForLead.java: last_write_checksum: sha1:61ee11453ffaee6fd54299dc163d019953feb623 src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java: - last_write_checksum: sha1:0ba10869f1905d9648221c1b4bd238106466f77e + last_write_checksum: sha1:0191dfad6bdfabccee75ad9de1d057ceddd42907 src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java: - last_write_checksum: sha1:6c8bf56c8b3cb37eef74f7db158bcee266066e62 + last_write_checksum: sha1:448fec7d181d6db9e191ebb43ee69af4e735626e src/main/java/com/cvent/models/components/ExistingExhibitorQuestion.java: id: 90d58d855cb3 last_write_checksum: sha1:abf6225701cd6a6abb4f829bbeb72d9e51ebbd7b @@ -11548,8 +11454,16 @@ trackedFiles: pristine_git_object: 4a31b2c63f939e105eea07bd0384c509c57166a8 src/main/java/com/cvent/models/components/ExistingHub.java: id: 53ba93218b9b - last_write_checksum: sha1:07cdea82a390ebf7c808c2aaa64b5e5648154d3e + last_write_checksum: sha1:7b25543022d0c7ed425c44737831457eee6bcaae pristine_git_object: ecb98c89ec98dfa49d658d364c87c505c79fc9f1 + src/main/java/com/cvent/models/components/ExistingMeetingRoom.java: + last_write_checksum: sha1:32f47c7bd731781540fb9ce267b403f5e4a77eaf + src/main/java/com/cvent/models/components/ExistingMeetingRoomDimensions.java: + last_write_checksum: sha1:eb228a758286ef659130092cffb7d62ef8f140a0 + src/main/java/com/cvent/models/components/ExistingMeetingRoomInput.java: + last_write_checksum: sha1:a34a8c1a3be00264bf9d85a8124e7e762466a3d8 + src/main/java/com/cvent/models/components/ExistingMeetingRoomRates.java: + last_write_checksum: sha1:ee6851f26fba1a6250e105ef561c44b48547bb99 src/main/java/com/cvent/models/components/ExistingMember.java: last_write_checksum: sha1:804bd24672052acef0d4d5b005a0550ef7ca14cd src/main/java/com/cvent/models/components/ExistingMemberLink.java: @@ -11626,6 +11540,26 @@ trackedFiles: id: 5a6175928799 last_write_checksum: sha1:58e829f9c2d9a526d2d46f4daf0e3c133d42d356 pristine_git_object: f43f941c0e0407da8dbce28b2d46f1cd7dadb70f + src/main/java/com/cvent/models/components/ExistingVenueDetails.java: + last_write_checksum: sha1:c5f3f8d4ddf2e8b9bc9f4d181ce1583c00db6ac8 + src/main/java/com/cvent/models/components/ExistingVenueDetailsInput.java: + last_write_checksum: sha1:aeeb45765f8e40a1cb847d9f39fe9aa3f9b46de3 + src/main/java/com/cvent/models/components/ExistingVenueFacility.java: + last_write_checksum: sha1:5ee438033d793b95956ce0142d6efc3c945a1cd3 + src/main/java/com/cvent/models/components/ExistingVenueFacilityDoubleRate.java: + last_write_checksum: sha1:0a8d6053e79150786300f0d1215136b7646dd2e7 + src/main/java/com/cvent/models/components/ExistingVenueFacilityInput.java: + last_write_checksum: sha1:207d73fa5b1b120dcc340866a06fcbbcc72973ae + src/main/java/com/cvent/models/components/ExistingVenueFacilityMaximumCapacity.java: + last_write_checksum: sha1:f636ca4dcd1aa8ea5beb3f0efe22d7f13142b686 + src/main/java/com/cvent/models/components/ExistingVenueFacilityProximityFromAirport.java: + last_write_checksum: sha1:8a7f28bc595798baa754a7ff50b3ccb24d365d36 + src/main/java/com/cvent/models/components/ExistingVenueFacilitySingleRate.java: + last_write_checksum: sha1:0f8ae9cf81176034e55bc5785a74eba99393d6ae + src/main/java/com/cvent/models/components/ExistingVenueFacilitySleeping.java: + last_write_checksum: sha1:597e089f346366b9713423bead2a89226f1ae640 + src/main/java/com/cvent/models/components/ExistingVenueFacilitySpace.java: + last_write_checksum: sha1:f5b0f8d2e43e38171e54e88e94afdbba992577de src/main/java/com/cvent/models/components/ExistingVideoResponse.java: id: bad0cc6fd8ce last_write_checksum: sha1:e57f9bd44fbeb5105c68023d32c04eb79f2100b8 @@ -11696,54 +11630,40 @@ trackedFiles: id: 31b40608a60b last_write_checksum: sha1:f7db13481fcb65d9e9c557eb5e0e6204838d308f pristine_git_object: 642daef588ad079b3434e5661981f19eddd88168 - src/main/java/com/cvent/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.java: - id: e771256483c8 - last_write_checksum: sha1:3c55c5d85075d212519e2b04c659e0fd65160e5f - pristine_git_object: 7fa03bd00a49494d26577903890f1b4999999e1d src/main/java/com/cvent/models/components/ExternalActivity.java: id: 041ec35655a6 - last_write_checksum: sha1:121c1851e05d6d8df5a16ba448af80ff17d785ab + last_write_checksum: sha1:7ca2b6215e2f312502e4fb8d8ce25773f7f9c684 pristine_git_object: 6fd89a3b82d225960aad640c0b40b9317f040369 - src/main/java/com/cvent/models/components/ExternalActivityDataJson.java: - id: 666b8bfea071 - last_write_checksum: sha1:e74a1193d16236eefe10111613d619dec73d278e - pristine_git_object: 914019922cf2c4f6a1b208df8a8454e1345ba971 - src/main/java/com/cvent/models/components/ExternalActivityDataJsonAppointmentExternal.java: - id: 934e15d64209 - last_write_checksum: sha1:efbd07cd987a3a413e2e41d86d6536b7ed915ee5 - pristine_git_object: 7dc6f5a57f181f8c24c2096f1049bf741600e55a - src/main/java/com/cvent/models/components/ExternalActivityDataJsonEventExternal.java: - id: 98d9967ff45a - last_write_checksum: sha1:6f64825619e3b326febb98b19fdb7f19cbc51f0a - pristine_git_object: e4ca529ce6e3f02c486fe631da39fe4086eb23ce - src/main/java/com/cvent/models/components/ExternalActivityDataJsonExhibitorExternal.java: - id: 36785b196eeb - last_write_checksum: sha1:58800b7139611983bf246046511e21d56f3f3ea7 - pristine_git_object: 563da1c3f81e666c674e24b4233d646d70165d26 - src/main/java/com/cvent/models/components/ExternalActivityDataJsonSessionExternal.java: - id: df033a3d2627 - last_write_checksum: sha1:e67f5fae052730892d63b81dd6eba196d65e6ca8 - pristine_git_object: 62c6c6426532db12518b3be2ea8f383befcf48a0 + src/main/java/com/cvent/models/components/ExternalActivityAdditionalFieldsMetadata.java: + last_write_checksum: sha1:6e7efa9aac1453f95253bb58544afe846c169d0b + src/main/java/com/cvent/models/components/ExternalActivityData.java: + last_write_checksum: sha1:485ad1e16bb2ae67f0cceb9982a6f0d539c226bf + src/main/java/com/cvent/models/components/ExternalActivityDataAppointmentExternal.java: + last_write_checksum: sha1:ab9e7436c46539ebd9f28d017fb276105a873404 + src/main/java/com/cvent/models/components/ExternalActivityDataEventExternal.java: + last_write_checksum: sha1:b334d74b54757a84ac5d9256b4885389816a9ac8 + src/main/java/com/cvent/models/components/ExternalActivityDataExhibitorExternal.java: + last_write_checksum: sha1:eb97d6d60bdd2827f77b488e91613e4f6d4e2bad + src/main/java/com/cvent/models/components/ExternalActivityDataSessionExternal.java: + last_write_checksum: sha1:93a6ef948e5c63b172540da93d6c5aec124279b5 src/main/java/com/cvent/models/components/ExternalActivityInput.java: id: 091a7aa764df - last_write_checksum: sha1:c8b335515182d8df182b1a980aa52bd9ffbfa3b7 + last_write_checksum: sha1:33408b17f2c7a9c5a4f6c214b3607507ea79f9bd pristine_git_object: f1036547a582b6ddf0f931c512c3a6b63e35e49b src/main/java/com/cvent/models/components/ExternalActivityMetadata.java: id: 9fc169570a90 - last_write_checksum: sha1:8e08aa40987a3a798d29a4df697965e38e8ef87c + last_write_checksum: sha1:a725c428b6a5a148cef879c2fb232d155e0dc6f9 pristine_git_object: a5bc9d3fd4d5183b15fafa9ab9aad586ebac0495 src/main/java/com/cvent/models/components/ExternalActivityMetadataInput.java: id: 9fc3119ffd03 - last_write_checksum: sha1:35a21d3707c796782b5d65f0d7c4acbb7a8e223a + last_write_checksum: sha1:4ed68f8fb10a702109e65c5b9a47c7277abebe71 pristine_git_object: 96cf43332fa6429487a12fc7e5daf7a8a526b7cb src/main/java/com/cvent/models/components/ExternalActivityMetadataPaginatedResponse.java: id: 8ff79d931fd4 - last_write_checksum: sha1:627fb60486c8c0fe76da6106d7eede6dd1f9b720 + last_write_checksum: sha1:26515299e8e56b544f8ce5be4803143abbae4ba5 pristine_git_object: e4126e5b1b58538bea4edbf7fb38cc17d3590f3a - src/main/java/com/cvent/models/components/ExternalActivityTypeJson.java: - id: 59aead586f11 - last_write_checksum: sha1:567afa4ddc1ba4904dfba9a125ed8d7d8cf76661 - pristine_git_object: 836532d4bfe28a767668b7a64861e7babb074aea + src/main/java/com/cvent/models/components/ExternalActivityType.java: + last_write_checksum: sha1:80657223ef0afaa84ec4fdaca36fc6b9c5cc01f9 src/main/java/com/cvent/models/components/ExternalCodeTypeJson.java: id: 3e9af9e6a782 last_write_checksum: sha1:9af3922d89a28db62c9b2b75e3888ec58a1b4d7c @@ -11954,7 +11874,7 @@ trackedFiles: pristine_git_object: 7529a02c932d8a7d50ebdd35c8504a8c58146ccb src/main/java/com/cvent/models/components/HousingEventSummaryList.java: id: c63814e15f5c - last_write_checksum: sha1:b5eb8d11b7796c98bcbdb3bfa895804f8d532447 + last_write_checksum: sha1:3e70d360718dad805e48f1437a91f74f632c1a3f pristine_git_object: 0ab5e75720a1814c56f7928eeda9a55e50e6b135 src/main/java/com/cvent/models/components/HousingReservation.java: last_write_checksum: sha1:1fc23507dc3caa26c3c085d15908d429f79b8093 @@ -12062,12 +11982,12 @@ trackedFiles: last_write_checksum: sha1:e9bec2f454bffd321c8d4e27531924389769b2c1 src/main/java/com/cvent/models/components/LeadInboundCreated.java: id: ca872581fd0c - last_write_checksum: sha1:5922a6529160cc1f9581437a84891b0cc2032854 + last_write_checksum: sha1:78416b05a414afd0cdaf1ec70d293878ce64b23e pristine_git_object: f50e7665db4f301513a6e02ca1f837154ff232cc - src/main/java/com/cvent/models/components/LeadObjectJson.java: - id: 20946f61af70 - last_write_checksum: sha1:922bef627a132a6fa3067af0cac5cbfd870d9b4a - pristine_git_object: f7573ec8803395b2580284fb0d985df3d87ab1d8 + src/main/java/com/cvent/models/components/LeadObject.java: + last_write_checksum: sha1:b81e24ebfc5eefee1d9c34a3bbfa828c25ec1006 + src/main/java/com/cvent/models/components/LeadObjectActivityBoothStaff.java: + last_write_checksum: sha1:8180477d14d07f68483b1b09772553720df2f220 src/main/java/com/cvent/models/components/LeadQualificationAnswers.java: last_write_checksum: sha1:81d0e26e7ac5ffb9c4b6ad90322c1074c061c1b1 src/main/java/com/cvent/models/components/LeadQualificationAnswersListResponse.java: @@ -12084,19 +12004,15 @@ trackedFiles: pristine_git_object: 2f9fd482afe257b69e0332416046fe04ce1bc19c src/main/java/com/cvent/models/components/LeadQualified.java: id: 1bcd11990e74 - last_write_checksum: sha1:09041c327fdb90f62655c627b36d7fea140eb5a5 + last_write_checksum: sha1:9f3834457bd744eba784f7579c9aea0b0f724230 pristine_git_object: 52262a32d7393d24d8c947ed515ae27919249a01 - src/main/java/com/cvent/models/components/LeadQualifiedAnswerJson.java: - id: 58b2a90757c2 - last_write_checksum: sha1:bcbc45c62f20d8afa92bc6a3f23ad6c16d72c2a6 - pristine_git_object: 77a9ff0e54d8b932a09ed908f5a5155b6aca4d58 - src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java: - id: e76dd961ba0d - last_write_checksum: sha1:eb8537698da199d888e9e922188485b9cca9123c - pristine_git_object: 340265903611a3b75803f4d543c4b933387ca49d + src/main/java/com/cvent/models/components/LeadQualifiedAnswer.java: + last_write_checksum: sha1:af32aaaacb1d9a01ac8e1b82484dcc6f16c7ba18 + src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponse.java: + last_write_checksum: sha1:d049918667c320b8ce9bff4bff61402cca77b692 src/main/java/com/cvent/models/components/LeadScanned.java: id: 35af737c7cee - last_write_checksum: sha1:f8dbd3ce6ed5736d3d97a60ef6d62f7d6c8072c7 + last_write_checksum: sha1:f6e5660bc781bd573a59f1ad057321e4e23bb70b pristine_git_object: 7ee0b9a1bb80355595014d774e72d9459e47c1b2 src/main/java/com/cvent/models/components/LeadSource.java: last_write_checksum: sha1:fc21924f57e3eb57e2d22dd8b46cebf500d3bde1 @@ -12146,8 +12062,10 @@ trackedFiles: last_write_checksum: sha1:6020c6601c9421c48569baa06e3cd23c122e35eb src/main/java/com/cvent/models/components/LocationJson.java: id: 32ad2c7ccb11 - last_write_checksum: sha1:7b937e046e793303263d9836ea2b1cf224fb554e + last_write_checksum: sha1:137ce6f60c34f2f09acc3f6723f9e704a2a108b0 pristine_git_object: 559a535c55a4e9483a71754c879417355f806028 + src/main/java/com/cvent/models/components/LocationType.java: + last_write_checksum: sha1:1ecaa55e2b088214ef2d530fcdb228d87952bcb3 src/main/java/com/cvent/models/components/LocationsPaginatedResponse.java: id: 1f7a908e5acd last_write_checksum: sha1:364375afa2f760542b702b242c11e00a19ec029b @@ -12168,55 +12086,35 @@ trackedFiles: last_write_checksum: sha1:ad6eddc0f5ba0f2179bc0e5323b97561165db1aa src/main/java/com/cvent/models/components/MeetingRequest.java: id: dfcddc033da7 - last_write_checksum: sha1:0505a52d2a3926cd9783af584a8e94ee1a22d187 + last_write_checksum: sha1:22eb1cd5d52b04f6657fd9e614b0263f8ace11d8 pristine_git_object: 8baf3daacd6f55806658a69dfd23f7640f346c00 - src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJson.java: - id: c94c38b0cb1d - last_write_checksum: sha1:d1c53e3692cf79e6cdfb8dd31383c14959f1c294 - pristine_git_object: cd8f91c0aa07b7ab3fb180950d430ab3368dcc9b - src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJsonRequest.java: - id: 89dbc89cf81c - last_write_checksum: sha1:c1bc12a9da62bea6cd104a9d366a26ae22533c04 - pristine_git_object: 25b209fdd40c4090cb3a0ca5edb6afb5343c70e4 - src/main/java/com/cvent/models/components/MeetingRequestCreateJson.java: - id: 0a550dd35761 - last_write_checksum: sha1:239f046d55a217423925d170b3fea1ca8baded30 - pristine_git_object: da7c23f7d72a9fdc66ef4d6572a8574f720a70b6 - src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJson.java: - id: f9eda66a023c - last_write_checksum: sha1:86c2cb43ba00a11a0cb5e9c0fc351c9624346b0d - pristine_git_object: de6b675d93b2c451ba7c75446585bda344825c92 - src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJsonCustomFieldType.java: - id: cb1e362b2f93 - last_write_checksum: sha1:a5fa6951203a70daedc3c53fc2dac640e3a271cb - pristine_git_object: c82e3847a18e0a2e7dc9871390b634ff7fdb5332 - src/main/java/com/cvent/models/components/MeetingRequestDocumentJson.java: - id: 176740b8e591 - last_write_checksum: sha1:24b5e19b0ba617d4e58063028e23a8b89596b4a9 - pristine_git_object: d5ec633bc640ad146b52ffd6568f86ea6e6bd5ed - src/main/java/com/cvent/models/components/MeetingRequestDocumentJsonMeetingRequest.java: - id: ac897e7c040e - last_write_checksum: sha1:244d12500563aad99d28d0c96028a1964a381890 - pristine_git_object: ae2e65ac2fb914d5a2b0f4119a6c9b1f0d215048 + src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItem.java: + last_write_checksum: sha1:c117924b2b9bc7d49002ec93a5314c834a461314 + src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemRequest.java: + last_write_checksum: sha1:b2a5593cd895cb2a4e1df6380ca8bced13009da8 + src/main/java/com/cvent/models/components/MeetingRequestCreate.java: + last_write_checksum: sha1:1c3dae0c85aff6644a12a673e5f0213e2919b091 + src/main/java/com/cvent/models/components/MeetingRequestDocument.java: + last_write_checksum: sha1:aa564e72100e5bdd384c9ee84acfb6a712fd5de8 + src/main/java/com/cvent/models/components/MeetingRequestDocumentMeetingRequest.java: + last_write_checksum: sha1:0b760caeb750c85d55a32c7d4dcb7a9dbb995194 src/main/java/com/cvent/models/components/MeetingRequestDocumentPaginatedResponse.java: id: 7fe575ae0376 - last_write_checksum: sha1:bab9ebf9392221c2f6cdc451ed8ba6d8ac18bfaf + last_write_checksum: sha1:6188334a6c461cdb8ebb0d2541c6ca5f65505cc4 pristine_git_object: c0ee452b9900b910fb3faba11f1e91ca1510a556 - src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLinkJson.java: - id: 3be0413e5549 - last_write_checksum: sha1:cd9b9c9197f182ab3c3548ff4c565633aa0510a9 - pristine_git_object: ee81b271d80792b8cab8dcb534e434604376d03b + src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLink.java: + last_write_checksum: sha1:d3a8ad6ab8fa588cdeae5cd2104b25364fa7548f src/main/java/com/cvent/models/components/MeetingRequestEvent.java: id: 29ce38369fb2 last_write_checksum: sha1:9388565b2a6fd48ff441c8a6186ee87332d39667 pristine_git_object: b2e640f488ec2bcc00474366906067ab97941f1b src/main/java/com/cvent/models/components/MeetingRequestForm.java: id: 5f1f300fb9c4 - last_write_checksum: sha1:0db391edb449896b71d4ee8c57ed7bde8486677b + last_write_checksum: sha1:7dd240876113e527421e019b8dfd2e1176e0cc44 pristine_git_object: d5e2c1b88e05482f985c725b7a6c8618bdb32498 src/main/java/com/cvent/models/components/MeetingRequestFormPaginatedResponse.java: id: e4a16eb5bb0c - last_write_checksum: sha1:67c1e61b747a7eea007578d74d29a47c4e0a011d + last_write_checksum: sha1:b05e13618af904e8cdb59ca63a792f707c5ccec4 pristine_git_object: 9e9e7ed8bccf0c3372fa84ca368a5524a9c3d8e4 src/main/java/com/cvent/models/components/MeetingRequestMeetingRequestForm.java: id: 66200f92ee20 @@ -12224,32 +12122,44 @@ trackedFiles: pristine_git_object: 4e179ae81174f754921aea6d480822df02b6f3f2 src/main/java/com/cvent/models/components/MeetingRequestPaginatedResponse.java: id: d702b934672d - last_write_checksum: sha1:0d9365791ad85c6b0badce11ff7a6f436799f21c + last_write_checksum: sha1:a6ccb2538129dc5248d702375cf8970507e00464 pristine_git_object: 485d838e651d0d3b1c2e0d7238eb5a54a892a513 - src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java: - id: e6f739710a1d - last_write_checksum: sha1:df4a00138ad0e559f3bfdb8b05acb82be98c422e - pristine_git_object: 154716c27d9f38439816233e72f1d4bdd02ed6db - src/main/java/com/cvent/models/components/MeetingRequestUpdateJson.java: - id: 4bcb39291544 - last_write_checksum: sha1:3746425a0e62be8d29fe2e3762ed1bc363509fd7 - pristine_git_object: 9a7d31759ee7735c403568f11cfdfc5a9acadead - src/main/java/com/cvent/models/components/MeetingRoomAgendaItemTypeJson.java: - id: e293ade1ec83 - last_write_checksum: sha1:b71f715c2e36dd5d0c0173de4006d85cfba7e54f - pristine_git_object: f492db82c236d465ec191fe6b750dbae0fef66cd + src/main/java/com/cvent/models/components/MeetingRequestQuestion.java: + last_write_checksum: sha1:d0f2bb600076d6839d5c604e6aef997935b3f619 + src/main/java/com/cvent/models/components/MeetingRequestQuestionInput.java: + last_write_checksum: sha1:73a3a92c9920eb2c54f4e2927bdca80c526f334c + src/main/java/com/cvent/models/components/MeetingRequestUpdate.java: + last_write_checksum: sha1:01eb02669d6819808ba6b9b3dda9fd5b7949430f + src/main/java/com/cvent/models/components/MeetingRoom.java: + last_write_checksum: sha1:41655e6f6d541ac3dfd30364da1cf4256cff6df8 + src/main/java/com/cvent/models/components/MeetingRoomAgendaItemType.java: + last_write_checksum: sha1:4a7209a28da9685dbbc10fdc9e989865af823106 + src/main/java/com/cvent/models/components/MeetingRoomAmenity.java: + last_write_checksum: sha1:6599f37f6970f77459b47d777f499396965e35ae + src/main/java/com/cvent/models/components/MeetingRoomCapacities.java: + last_write_checksum: sha1:c64f442eac28fbdc12abe963838b405408e52b1a + src/main/java/com/cvent/models/components/MeetingRoomDimensions.java: + last_write_checksum: sha1:76d6c0e985416dd8aa13c6b0c290b5f5f98c68ed + src/main/java/com/cvent/models/components/MeetingRoomExhibitCapacity.java: + last_write_checksum: sha1:8ed992c6707cba6f4e711e518607fa1ef195e9dc src/main/java/com/cvent/models/components/MeetingRoomJson.java: id: f2bc22af2578 last_write_checksum: sha1:c195a5c36985f33270eb94df28ab068ba5ba6d63 pristine_git_object: 564aee1ebec415ff3da93c65fc13bfe673a0e255 - src/main/java/com/cvent/models/components/MeetingRoomRequirementJson.java: - id: c47a38cc82d3 - last_write_checksum: sha1:879ad803c2331c0ae02a859c4cdfe7021033101b - pristine_git_object: 7fc470a5f33a3762eb671b496dd67f552d7e0631 - src/main/java/com/cvent/models/components/MeetingRoomSetupTypeJson.java: - id: 5c28e44f7284 - last_write_checksum: sha1:8450a529f2c2a5474eda40e28cc4cb47518a5832 - pristine_git_object: 9cfd0b46a0d1d051d1f4d712f0da405b05df0052 + src/main/java/com/cvent/models/components/MeetingRoomOverview.java: + last_write_checksum: sha1:b60d881685f424f4bf5ec1b3ba3aa49922d1ac85 + src/main/java/com/cvent/models/components/MeetingRoomRate.java: + last_write_checksum: sha1:b24ba439b81fe01ce46fe37e8e70263b0ed24024 + src/main/java/com/cvent/models/components/MeetingRoomRates.java: + last_write_checksum: sha1:d39c92daf15965095c08a80ca46e73dd00e45994 + src/main/java/com/cvent/models/components/MeetingRoomRequirement.java: + last_write_checksum: sha1:8522878b8354abad3cbc0e30f0b5c8b0a3f4e0a9 + src/main/java/com/cvent/models/components/MeetingRoomSeatingCapacity.java: + last_write_checksum: sha1:1ffffce8a3d68f77e87794610955fa19a498da68 + src/main/java/com/cvent/models/components/MeetingRoomSetupType.java: + last_write_checksum: sha1:c115756ed24dcbd9d752ae60cceac468639769b6 + src/main/java/com/cvent/models/components/MeetingRoomsOverviewResponse.java: + last_write_checksum: sha1:33ddf03475e46f6d4b81dddecddbad2d3d64a611 src/main/java/com/cvent/models/components/MembershipItemsPaginatedResponse.java: last_write_checksum: sha1:e2fdaa7b3fcb1d2aa213c0a7fabe00eb54fa4ab7 src/main/java/com/cvent/models/components/MembershipItemsPaginatedResponseData.java: @@ -12420,6 +12330,12 @@ trackedFiles: id: 613ddddde821 last_write_checksum: sha1:dd7d83f78b34262081fd6ea3ce9c7c491fd7efbf pristine_git_object: 475e23f739ea7a45c4c15fe97d0c389821a66e9e + src/main/java/com/cvent/models/components/PatchMeetingRoom.java: + last_write_checksum: sha1:8af701073bce0f3c78ecd5bac9847223387fa732 + src/main/java/com/cvent/models/components/PatchMeetingRoomDimensions.java: + last_write_checksum: sha1:2f4a3bdf4704befd5b5705fcc0e0dd6a27650670 + src/main/java/com/cvent/models/components/PatchMeetingRoomRates.java: + last_write_checksum: sha1:c8713d09ced59ae3766b4db7c53e41bff5d740bb src/main/java/com/cvent/models/components/Payment.java: id: f75585f86a03 last_write_checksum: sha1:ca9d0949b1a6bd8f1bb0f091b0861b274d9d3727 @@ -12548,41 +12464,27 @@ trackedFiles: pristine_git_object: e1f88c86d0ce78782309652694d6e00b2637a047 src/main/java/com/cvent/models/components/PolicyValueType.java: last_write_checksum: sha1:66a522e822d7d393a86f3d42485d71f8ee7658ce - src/main/java/com/cvent/models/components/PollResponseJson.java: - id: eb085cf2fd1d - last_write_checksum: sha1:abeb478108ca8685704c2e05c9b7e529c4e707a7 - pristine_git_object: fa908bfc70ca9f85f48f07a6df46d1f00807d859 + src/main/java/com/cvent/models/components/PollResponse.java: + last_write_checksum: sha1:22330135962c0917373a0f9146b240cbded0b693 src/main/java/com/cvent/models/components/PricingConfigJson.java: id: 6a7090ede36c last_write_checksum: sha1:a8f4491e136373681f20dc48c5629e83b9142744 pristine_git_object: 7369f8347c76b52761d9a3c6033292f21089eac3 + src/main/java/com/cvent/models/components/ProcessForm.java: + last_write_checksum: sha1:6e4513291a0b094e04f72fdf60c5c7b5ce532533 src/main/java/com/cvent/models/components/ProcessFormExpand.java: id: 4d57c99cefdc last_write_checksum: sha1:df86cfb744568f6d6873c7cf629a2994585c58fa pristine_git_object: f9759057d066672d4aba1570fb5cab70703f11d3 - src/main/java/com/cvent/models/components/ProcessFormJson.java: - id: 68b35d4dda32 - last_write_checksum: sha1:7e13095dee116f32738312373470c139fc8c0a8f - pristine_git_object: 74bc521f8d181a643c5417b3bedbf6f6037c8e4a - src/main/java/com/cvent/models/components/ProcessFormQuestionTypeJson.java: - id: 6ae030d76fa1 - last_write_checksum: sha1:c3b4749f2e168c48a1712cda3b7f18fee8061b2f - pristine_git_object: b70ceab651caaebef593ae4893244808926ef4d2 - src/main/java/com/cvent/models/components/ProcessFormSubmissionJson.java: - id: 6fa0ec7e7763 - last_write_checksum: sha1:5e24e4aab296c5b6e1feefa8f62eeef1ee2e88b8 - pristine_git_object: 25e6cb029ae844c724a0e17406633b271fbe4302 - src/main/java/com/cvent/models/components/ProcessFormSubmissionJsonEvent.java: - id: a35b701ca35d - last_write_checksum: sha1:8b5d558a5631f61c0bd5a783849d8035a13da539 - pristine_git_object: 39681721f98e39000196f0ed646abf8c90ea8c98 - src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestionJson.java: - id: 22eae6f253f7 - last_write_checksum: sha1:25efc44edf416f8d79eae1a1ecca489e101c53a3 - pristine_git_object: a9f6585dc9dfb2b29d63a0d4468591cffffb1df8 + src/main/java/com/cvent/models/components/ProcessFormSubmission.java: + last_write_checksum: sha1:7e758fb5f5dd58f1f7e715cc140e3e3fb9bd67b3 + src/main/java/com/cvent/models/components/ProcessFormSubmissionEvent.java: + last_write_checksum: sha1:0eecfee500489fee010413ba3d39323d2069df01 + src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestion.java: + last_write_checksum: sha1:85bda0fe1c5219c54732c0618271ff907ef869e1 src/main/java/com/cvent/models/components/ProcessFormSubmissionsPaginatedResponse.java: id: 8e90e083fa11 - last_write_checksum: sha1:abd8f7618afad11187fd88af8fb0c40a04fe436e + last_write_checksum: sha1:9d7fcd443ef29e59e21ce25490f8176a2c42e75f pristine_git_object: 38f63808db3bb1948edda937e4efb2ea2267aab3 src/main/java/com/cvent/models/components/Product1.java: last_write_checksum: sha1:ee5d0e04831a190e3942807769876147744e4853 @@ -12724,12 +12626,12 @@ trackedFiles: id: 189d3e47424f last_write_checksum: sha1:49653cb92301c87fc5dbf077db4873555ab5c01a pristine_git_object: b57c5597ab2416f24bdbdb2c1eb92a2ef63c2601 + src/main/java/com/cvent/models/components/Question2.java: + last_write_checksum: sha1:d0345c496edee6eb2a9133d7161db756a993d068 src/main/java/com/cvent/models/components/QuestionClassificationType.java: last_write_checksum: sha1:36ff0b25ac17ba9ae54b17d20df223485fc75df4 - src/main/java/com/cvent/models/components/QuestionDetailJson.java: - id: 9a3b3136ccf4 - last_write_checksum: sha1:5311896b2c13ab6b335ce759cf443c307e202fa4 - pristine_git_object: 53c2b29468d24ddfd4eb99a9ac085e84db68e3cf + src/main/java/com/cvent/models/components/QuestionDetail.java: + last_write_checksum: sha1:e746539341957c2a6468f11332b2d044e33d3d3b src/main/java/com/cvent/models/components/QuestionIdJson.java: id: a593ecdbc6f2 last_write_checksum: sha1:e46e3449d3d6905933d86e9e0a0b1449d7123547 @@ -12738,40 +12640,34 @@ trackedFiles: last_write_checksum: sha1:ffd93676a3e614f08f2dbbe6ef786b48b80d0286 src/main/java/com/cvent/models/components/QuestionJson1.java: id: 4fce986bb08d - last_write_checksum: sha1:dfd77b05893365259e4f19939a713b33bc7e6ab3 + last_write_checksum: sha1:445cbfd28fed3a07aa5b87b5eaeb7890ed008541 pristine_git_object: 3c1dbcfabe70167ced16f1d9e8442d2929660d40 - src/main/java/com/cvent/models/components/QuestionJson2.java: - id: e47ba8500232 - last_write_checksum: sha1:4abb6e16a98522d8aea38f0d87089c82242a3c9e - pristine_git_object: da9fe9b765b446858b2a0015141cd43e87ed8012 src/main/java/com/cvent/models/components/QuestionPaginatedResponse.java: id: 1b874f01a8f7 last_write_checksum: sha1:12df51771975b3bbf08b6d5ab0ee4390a9f72283 pristine_git_object: f75080c44d019eed60ffd501fdd4589363e40dde + src/main/java/com/cvent/models/components/QuestionResponse.java: + last_write_checksum: sha1:7b08ef7f4af6def3049e27525d3f70c0aebdb633 src/main/java/com/cvent/models/components/QuestionResponseDataType.java: last_write_checksum: sha1:ea02540b37f6858d94be09836fb2207cec9591ff src/main/java/com/cvent/models/components/QuestionResponseFormat.java: last_write_checksum: sha1:8728f36eee258fccb4499d59f04ca5668e47a886 - src/main/java/com/cvent/models/components/QuestionResponseJson.java: - id: 367db1380e8d - last_write_checksum: sha1:a7a6b639345bbd435138948ca51419a71d2a9968 - pristine_git_object: 1f2dccf0140ab131d21233d0f91dadd9b42b314b src/main/java/com/cvent/models/components/QuestionResponseType.java: last_write_checksum: sha1:19618b974a9c9d6171754b7a5b1ba935ddfd939f src/main/java/com/cvent/models/components/QuestionSection.java: last_write_checksum: sha1:6263ef1451c0e9658c4dd58ece0db844bafd9ed4 src/main/java/com/cvent/models/components/QuestionType.java: last_write_checksum: sha1:684f062796b8a5e11607c0317d7152a2a4f02b5a + src/main/java/com/cvent/models/components/QuestionType1.java: + last_write_checksum: sha1:7d5242cb263279928d93f602ddac40ec4170d9c2 + src/main/java/com/cvent/models/components/QuestionType11.java: + last_write_checksum: sha1:bbc74868f19656a0c961ecb97aad68724746a9ee src/main/java/com/cvent/models/components/QuestionTypeJson.java: - last_write_checksum: sha1:2b3dadb3aa8a4bb92574c3606346a9c50e35bfaf + last_write_checksum: sha1:2299fa3fdde02eae804f88d73d2fdda6a9628865 src/main/java/com/cvent/models/components/QuestionTypeJson1.java: id: 63df9174b018 - last_write_checksum: sha1:efc9307de4c2e06932b083c0770e6b72cd138aed + last_write_checksum: sha1:0b6dafbb58b0ed9e58e77f82d4e00f169d8e84cf pristine_git_object: b9cf87139baa311b7997321324307de203722dba - src/main/java/com/cvent/models/components/QuestionTypeJson2.java: - id: adcd08f3e1a6 - last_write_checksum: sha1:6a67cc15022e474a16ad3cdc1cb860db29574434 - pristine_git_object: 2bf50ab8dc913f18a62e1d66bdbba0bf751e88ed src/main/java/com/cvent/models/components/QuestionsPaginatedResponse.java: id: bf440f2c87c0 last_write_checksum: sha1:7ac2892c2bd3fdcd7e468f1327f25f8ac1da0cd8 @@ -12784,6 +12680,8 @@ trackedFiles: id: d62fc76cb48b last_write_checksum: sha1:c590d7597df33fb784c46a37ebac80566a105566 pristine_git_object: 9da54cf21856869306f9b80233b926163e9a86d7 + src/main/java/com/cvent/models/components/RateApplicationType.java: + last_write_checksum: sha1:48220a24116a516bb75746bc94c5bb1a5e54d62c src/main/java/com/cvent/models/components/RateLevelType.java: last_write_checksum: sha1:76560b2bc8b1a297e4616825f265facd070de84e src/main/java/com/cvent/models/components/RateReviewStatusType.java: @@ -12884,12 +12782,8 @@ trackedFiles: pristine_git_object: 4cf39156910922d18daa1873a597a202decb9040 src/main/java/com/cvent/models/components/Request.java: id: 3699bb261530 - last_write_checksum: sha1:46814a92e6b2256af4660393907505692efec1ff + last_write_checksum: sha1:f9bc86c81ad5f0d5f905904b7eb9f43397f2f1b6 pristine_git_object: 725ef2f28ea7b4ba4e745bb2436ac911bf3e7d4e - src/main/java/com/cvent/models/components/RequestedMeetingRequestQuestionJson.java: - id: 7f48842d70de - last_write_checksum: sha1:d37256fcd518d31c28a45e1282036e09988261ce - pristine_git_object: b58e5a89348032346677bcec68a2806ea236d280 src/main/java/com/cvent/models/components/RequesterSuffix.java: id: 3698300ab58c last_write_checksum: sha1:215646e8eaa918fb2934585a8ae46a55b536bb06 @@ -13152,6 +13046,8 @@ trackedFiles: id: 5f43beca21cb last_write_checksum: sha1:9a63ebbd5316f0d92f180bfc0f697a1a027f7cfa pristine_git_object: 4c898e78f439ce9dd984fffb26ae7f9af744db31 + src/main/java/com/cvent/models/components/SeatingLayoutType.java: + last_write_checksum: sha1:627bb6ff651eee1018698425efcc99f833ddce87 src/main/java/com/cvent/models/components/SeatingPaginatedResponse.java: id: ea059c018799 last_write_checksum: sha1:dd05b2a8ce5c1863cff6e6036b839d29cd973ab3 @@ -13222,14 +13118,6 @@ trackedFiles: id: 194a580be2cf last_write_checksum: sha1:2b32f3df1b3ece23818c719c80e516178a50ab98 pristine_git_object: fbca66caa4aab619f9e811d6ee54c033b6946a00 - src/main/java/com/cvent/models/components/SessionActivity10.java: - id: 05ac068714ee - last_write_checksum: sha1:bd34e8998a7594a16a797f85ccaacf797651d3aa - pristine_git_object: 84f2d6d7471d1aa7da06dc6c427fbd137bb83750 - src/main/java/com/cvent/models/components/SessionActivity11.java: - id: 33367e999b5b - last_write_checksum: sha1:a212324861ad8e7f16036ac7e8bcbf56bfce8f50 - pristine_git_object: 919376e95c7bfa66ccc5ac085a05d5556146025e src/main/java/com/cvent/models/components/SessionActivity2.java: id: d40f57c67756 last_write_checksum: sha1:f59b352c2b82907d91773b2a0d65c68ff2f8f3dc @@ -13254,14 +13142,6 @@ trackedFiles: id: 36db515195da last_write_checksum: sha1:8c1835c51a3b8b40511e52f4b5dc28bfbf5b27d5 pristine_git_object: 0127fb63e39d72c19ada31c61a56cc6ee1c32703 - src/main/java/com/cvent/models/components/SessionActivity8.java: - id: d42c5d17b724 - last_write_checksum: sha1:8798e2c9be5aaa74caa59f9ae9bb7516bc6003ae - pristine_git_object: 56588278ee83367a8d41e40a2fb1a798a28ff054 - src/main/java/com/cvent/models/components/SessionActivity9.java: - id: 2f4a42469a52 - last_write_checksum: sha1:d8e5bb8bb60081f3f3dd8850df2095da086af213 - pristine_git_object: f4efbb8cf3c6ec82e109fe06ca2043b5dd26310b src/main/java/com/cvent/models/components/SessionCategory.java: id: 1f93e67ec6ba last_write_checksum: sha1:03ec173f50e4900b65e5da42e1c7ddb977b405e4 @@ -13306,8 +13186,10 @@ trackedFiles: pristine_git_object: f8b0f38b49f49469fecc45902aa62c9a7bb26b46 src/main/java/com/cvent/models/components/SessionFeedbackSubmitted.java: id: a424bea5c471 - last_write_checksum: sha1:bc0ba3f9f84602231bbdb6e63552cfa7ad086f0e + last_write_checksum: sha1:57877b2f007991eb81aac9e93f28b2cdbe985dc0 pristine_git_object: 30ff8e53a5bb5f47f6a8786cda25780da8705757 + src/main/java/com/cvent/models/components/SessionFeedbackSubmittedSessionActivity.java: + last_write_checksum: sha1:ac41c6fc7f392c9425615f54fd871706df0dd0b6 src/main/java/com/cvent/models/components/SessionFile.java: id: de769099148a last_write_checksum: sha1:51fb9e71fb57fc64836fe79ae2f41411014d8b39 @@ -13342,12 +13224,14 @@ trackedFiles: pristine_git_object: 1057b7cb78b6d42956261b107110e7ed18b4a7f3 src/main/java/com/cvent/models/components/SessionNoShow.java: id: 87fc8c77bb47 - last_write_checksum: sha1:dc9c7d5bc911e498af8391c4ffc03bb5bb9a4a70 + last_write_checksum: sha1:b620ff1589f1a25e7097bb9ea67be32e3bf4a6b7 pristine_git_object: 0b1930d1276c5fcf8485411ee7efaf0463c11e36 src/main/java/com/cvent/models/components/SessionPollResponseSubmitted.java: id: c08741f96441 - last_write_checksum: sha1:d083552de3d8f9e23c5e40f040675088520edd58 + last_write_checksum: sha1:fc9b5fee84a58269b0bfba56e602c79ffd6d5806 pristine_git_object: f1e849da42420d513e798bd7ca23c528f6e76a6b + src/main/java/com/cvent/models/components/SessionPollResponseSubmittedSessionActivity.java: + last_write_checksum: sha1:4715bf1b608d70f4c1fbcaab2d417e789feeb4be src/main/java/com/cvent/models/components/SessionQaActionTypeJson.java: id: f4ec8f5b0a17 last_write_checksum: sha1:32bc06f2efcf5eee48a350d94607e1d46655c136 @@ -13358,11 +13242,13 @@ trackedFiles: pristine_git_object: 609d0f3c7e96c65b7953206b043a91d093de9ac0 src/main/java/com/cvent/models/components/SessionQuestionAsked.java: id: 6627c12db3a9 - last_write_checksum: sha1:ebd6799d4bb8a142551808dd25e66605ccce0689 + last_write_checksum: sha1:10757c8321ba0cfcda699b9f11a9a7f07915a18d pristine_git_object: e04a025b993bc76878c616eb70e8931c4b7677ae + src/main/java/com/cvent/models/components/SessionQuestionAskedSessionActivity.java: + last_write_checksum: sha1:a051829c099e47e504203175870858b2b69d21ca src/main/java/com/cvent/models/components/SessionQuestionUpvoted.java: id: 3559c533485e - last_write_checksum: sha1:73daf3126d71e1ce8c2f3d2b22362eb3b6a0e9eb + last_write_checksum: sha1:02eef92033856c7336d84fa302be60710b0b80bb pristine_git_object: 5eafa4d0dd69107d72f6820a0a2dd2190243a6c7 src/main/java/com/cvent/models/components/SessionSegment.java: id: b8e59543b7f0 @@ -13386,7 +13272,7 @@ trackedFiles: last_write_checksum: sha1:88d42a89bb057438e837487a37bf85a8feac8899 src/main/java/com/cvent/models/components/SessionUnenrolled.java: id: 3453641c9981 - last_write_checksum: sha1:5cff892c774e2557a678facd3e8f8d133c771947 + last_write_checksum: sha1:b61f4dd431da9fe3d4c999383390a957b81fcb78 pristine_git_object: c94da876c448c0d69a84e52e57a85d5e1917d74a src/main/java/com/cvent/models/components/SessionUpdate.java: id: 05392a67771e @@ -13400,7 +13286,7 @@ trackedFiles: pristine_git_object: 596f34e368deba7da3946acbed91b91017d57d3d src/main/java/com/cvent/models/components/SessionWaitlisted.java: id: b4cd2d5f1676 - last_write_checksum: sha1:1b8a01a9f83994cfba16123ba98d05737913ebd8 + last_write_checksum: sha1:2e300492610cd7b2b075e4425a818c1c2ca0efe9 pristine_git_object: ff7e090c61c51508fc281334cc735e8de2a97880 src/main/java/com/cvent/models/components/SessionsAttendanceResponseJson.java: id: 2f5bd85344e3 @@ -13434,10 +13320,8 @@ trackedFiles: id: 6792db2c6be0 last_write_checksum: sha1:5674311e5d2e9a7d2de366a5cee24af15615c0d6 pristine_git_object: d7b87e62849d531c2cebf11d76ff970db15ace07 - src/main/java/com/cvent/models/components/SleepingRoomRequirementJson.java: - id: da20ef84e66b - last_write_checksum: sha1:09ecbb0ca18fb338485c7cd3f356e6b41d79e961 - pristine_git_object: 77edd3921a47ecac560bf1037159a303a16ae89a + src/main/java/com/cvent/models/components/SleepingRoomRequirement.java: + last_write_checksum: sha1:a7f42789e711ed0663b2b2003995acaafb598f29 src/main/java/com/cvent/models/components/SleepingRoomTypeJson.java: id: d8e337bdcedc last_write_checksum: sha1:6637f7c277c0f3ecc1845eab1bfb3a37bd859903 @@ -13464,6 +13348,8 @@ trackedFiles: id: 9e644d05f60f last_write_checksum: sha1:bb825d8070922bd1acdc0b057c9717cd441aca76 pristine_git_object: 08cfffa752684ebbdf6aca40795aa8eeceac9f6e + src/main/java/com/cvent/models/components/Speaker1.java: + last_write_checksum: sha1:42fef6d2a3e7d7225990ed6e698ea1877634d418 src/main/java/com/cvent/models/components/SpeakerCategory1.java: last_write_checksum: sha1:067919ae374d55fd53f7635f6171dcacc2ed1fcf src/main/java/com/cvent/models/components/SpeakerCategory2.java: @@ -13486,15 +13372,17 @@ trackedFiles: pristine_git_object: c464278755df717aa9cede19439ff351272115c9 src/main/java/com/cvent/models/components/SpeakerFeedbackSubmitted.java: id: b1c76b7b0853 - last_write_checksum: sha1:a8b629dbecd0925602f5e2a308beae2e65e86a1a + last_write_checksum: sha1:0e42b03ed69dd96d13539dd981244bb045c69393 pristine_git_object: c8a7e66ade37d9dff41ae5258e3e3062244e5900 + src/main/java/com/cvent/models/components/SpeakerFeedbackSubmittedSessionActivity.java: + last_write_checksum: sha1:e766429858fb465577b4698e77ec5b16ad2446ba src/main/java/com/cvent/models/components/SpeakerFile.java: id: 7f2c383c831d last_write_checksum: sha1:6feb591e3cc8e62d8efc8692df03d718e02b89b5 pristine_git_object: 2933f7328d234b4f699ce54b480ec21a124a8645 src/main/java/com/cvent/models/components/SpeakerFileDownloaded.java: id: 2906cd111355 - last_write_checksum: sha1:d516a2b656466cfa640f521ba068a8fdd976414b + last_write_checksum: sha1:ebff05c903b70bd5757e95c4e2874ebeb382112c pristine_git_object: c6784eb7836fb54462da52520185b033638e9e9c src/main/java/com/cvent/models/components/SpeakerFileFile.java: id: 8361d641203b @@ -13504,10 +13392,6 @@ trackedFiles: id: af695cc89eec last_write_checksum: sha1:9918cc5deeb998ece45f0b2ce7862224fb856ab7 pristine_git_object: d6d69b200186430c165b38c9b2b5510fb51dc807 - src/main/java/com/cvent/models/components/SpeakerJson.java: - id: 3a514335cdcb - last_write_checksum: sha1:32f90eddb75e82a57cb8ee1fd79a6388b598c848 - pristine_git_object: 9f450a7912813d76c743f63151bec71ae4d99f3d src/main/java/com/cvent/models/components/SpeakerLite.java: last_write_checksum: sha1:95f5624a87a9814979d1961ff69aef094f5d38fc src/main/java/com/cvent/models/components/SpeakerLite1.java: @@ -13592,7 +13476,7 @@ trackedFiles: pristine_git_object: 4016b60b5332d080e28ec309dde987780df7eeee src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java: id: 2d5923437545 - last_write_checksum: sha1:78a9c1e3dfaee604836ba071f49c8345ea478bf8 + last_write_checksum: sha1:556f1cad92c5abfa0ef75b04b0e39e2c17b203fa pristine_git_object: e9de3508cae2cd96cb06e4ba413063d32feb65a1 src/main/java/com/cvent/models/components/StandardSurveyQuestionsPaginatedResponse.java: id: 6eb8acfff368 @@ -13642,6 +13526,8 @@ trackedFiles: id: a5f5e3a3dedc last_write_checksum: sha1:aac842cf213ccefecea3bef20586e80b62b9b51e pristine_git_object: 6e5139fe51432c4ec34078e1d80f1ad847b6c360 + src/main/java/com/cvent/models/components/StateProvince1.java: + last_write_checksum: sha1:b9344fc67508a699d95391ee580c266bb927edc4 src/main/java/com/cvent/models/components/StateProvinceJson.java: id: 965f74193150 last_write_checksum: sha1:df3a759d5548f42b13fcb821e09bf556e2b43599 @@ -13692,10 +13578,8 @@ trackedFiles: id: 5ac82fc00875 last_write_checksum: sha1:fa3fcfcdcb3ec96f3098bfa00f8c2a661b7b66a1 pristine_git_object: 1231498445bed26bbd839be9df965df2b87898e9 - src/main/java/com/cvent/models/components/SurveyResponseJson.java: - id: 2f4afa64ca5c - last_write_checksum: sha1:61fcbdcb5f7d90ecbfca9db0a0bdff473fa1140f - pristine_git_object: 24354fd39bec21c86ee36cd6b5af3c676cb6a8d0 + src/main/java/com/cvent/models/components/SurveyResponse.java: + last_write_checksum: sha1:ec11ab22296c6a02144b59fea3758b2636611217 src/main/java/com/cvent/models/components/SurveyStatusJson.java: id: 0f8084c6bdc8 last_write_checksum: sha1:aa2aad1104fb2770aa2a2348723d445918643a2c @@ -13855,11 +13739,11 @@ trackedFiles: src/main/java/com/cvent/models/components/TravelAccountType.java: last_write_checksum: sha1:a98499f082b340c1aa18267df4fc21d1a5083170 src/main/java/com/cvent/models/components/TravelBidAmenity.java: - last_write_checksum: sha1:a26472f5139451deb2890c124a6e4126a052d93a + last_write_checksum: sha1:3e3ce642a538f04b2e8dec7f3f2e24db5adb780c src/main/java/com/cvent/models/components/TravelBidComment.java: last_write_checksum: sha1:414a7a49ae21d9a466ef84277f40a820973e34e2 src/main/java/com/cvent/models/components/TravelBidDiscount.java: - last_write_checksum: sha1:68a42506de21c92950a6602d7704589895841162 + last_write_checksum: sha1:737bbc23c9671a9d154652db2b806d7df1779951 src/main/java/com/cvent/models/components/TravelBidDiscountPropertyRoom.java: last_write_checksum: sha1:58ec7bf48452f521f2ff7f59bad33430ce43b0ca src/main/java/com/cvent/models/components/TravelBidDisposition.java: @@ -13869,25 +13753,25 @@ trackedFiles: src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.java: last_write_checksum: sha1:d72c16135f40812e16d5d03c5c5928c56fcb9495 src/main/java/com/cvent/models/components/TravelBidFairSeason.java: - last_write_checksum: sha1:c293aedd4f8c869f751ec4dc2dfcfb3328bbaa87 + last_write_checksum: sha1:9eabe544a5ce44bda1e12b47beb8f80a23b97148 src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java: - last_write_checksum: sha1:4088b2e6ec2b2cd1165929f5cdfccf81a1be5c36 + last_write_checksum: sha1:8d831a679b05427ac860e85976217f784d696e4a src/main/java/com/cvent/models/components/TravelBidFairSeasonRatePropertyRoom.java: last_write_checksum: sha1:d22f97c4853395c4df2f117f0c791e4e986983e3 src/main/java/com/cvent/models/components/TravelBidPolicy.java: - last_write_checksum: sha1:eb276457069186644134a6e77a4185f4511ffc96 + last_write_checksum: sha1:518f1ff28306ec985f97e5f0b49131c425d01256 src/main/java/com/cvent/models/components/TravelBidRoom.java: - last_write_checksum: sha1:c5b3975e25315bb1a30ba1a5ae29fd96af450c8a + last_write_checksum: sha1:f6b717923247e31b56c2210a52ca906de08b3901 src/main/java/com/cvent/models/components/TravelBidRoomPropertyRoom.java: last_write_checksum: sha1:489fa65ff4fc6f63f22038f7d88e3f5738e93635 src/main/java/com/cvent/models/components/TravelBidSeason.java: - last_write_checksum: sha1:8d20a5ddb467ec1306f6dc65307f9bb4e3d1855c + last_write_checksum: sha1:2fa54ec19b84311d5794ae9ba790f39775a8a5e6 src/main/java/com/cvent/models/components/TravelBidSeasonRate.java: - last_write_checksum: sha1:87097951c660f2e3dff1179f8a2b7c091969874d + last_write_checksum: sha1:e42cade4e275629970d6c3d7b7d747161e097efb 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:8a1ed6d36a754e219d79aa86d2c35ffb668369f9 + last_write_checksum: sha1:bf32dde589aeb057505fe032bdc99260261ca766 src/main/java/com/cvent/models/components/TravelBidWeekendDays.java: last_write_checksum: sha1:5e4344811e5c1556b2e526728958fabbe903cb80 src/main/java/com/cvent/models/components/TravelDepartureArrivalJson.java: @@ -14090,6 +13974,36 @@ trackedFiles: id: 29287ce84846 last_write_checksum: sha1:b83956c0f9ecc31928d71baf8205ca3bab6b6758 pristine_git_object: 8aab9864d9361109294549e288bc8d6f6d955fa9 + src/main/java/com/cvent/models/components/VenueDetailsOverview.java: + last_write_checksum: sha1:4eae9ae752e4bfe7113efd8d4dc532c4aa7cd23d + src/main/java/com/cvent/models/components/VenueDetailsPatch.java: + last_write_checksum: sha1:a1e1539eee5ec9d096b6e8e5802f11b462df50b9 + src/main/java/com/cvent/models/components/VenueDetailsPatchAddress.java: + last_write_checksum: sha1:407435fbb143e4a5b92e08a9e958767c1bc8f2b6 + src/main/java/com/cvent/models/components/VenueDetailsPatchChainScale.java: + last_write_checksum: sha1:db2575cde82659ab1cb65cd584a5f2d015974744 + src/main/java/com/cvent/models/components/VenueDetailsPatchCurrency.java: + last_write_checksum: sha1:af7f6d97eb52eaa7b8c369dba777f9a73e0b6c00 + src/main/java/com/cvent/models/components/VenueFacilityPatch.java: + last_write_checksum: sha1:f02cad30b5ead2249f56da501d89301db8123522 + src/main/java/com/cvent/models/components/VenueFacilityPatchDistanceMeasurementUnit.java: + last_write_checksum: sha1:fb7e9ed1a9603cf68ac9d87421c9bd76714baa48 + src/main/java/com/cvent/models/components/VenueFacilityPatchDoubleRate.java: + last_write_checksum: sha1:ffee53860de8a7cd42c691c9a6040eef802d1a46 + src/main/java/com/cvent/models/components/VenueFacilityPatchEventInsurance.java: + last_write_checksum: sha1:ce99fdf758e098896e6ec1abea7b2d5d1fc90333 + src/main/java/com/cvent/models/components/VenueFacilityPatchMaximumCapacity.java: + last_write_checksum: sha1:d0f6df094d4f5d81d6bb5877f5d7d0228821f7ac + src/main/java/com/cvent/models/components/VenueFacilityPatchMeasurementUnit.java: + last_write_checksum: sha1:7e4dc20f7fa0f5bd7e402433869bb0eaf0384928 + src/main/java/com/cvent/models/components/VenueFacilityPatchProximityFromAirport.java: + last_write_checksum: sha1:0ba45bcbfdbe5ebd755e62975d53d2b7a03ed7c0 + src/main/java/com/cvent/models/components/VenueFacilityPatchSingleRate.java: + last_write_checksum: sha1:812eef07fae13355a0e061ee99c0ac13b7379aae + src/main/java/com/cvent/models/components/VenueFacilityPatchSleeping.java: + last_write_checksum: sha1:3c673881456d8015ebc546d1db9eeb8109fcd356 + src/main/java/com/cvent/models/components/VenueFacilityPatchSpace.java: + last_write_checksum: sha1:b46ccf7bc17645c69acdd6fd88a49e22dc33f958 src/main/java/com/cvent/models/components/VenueJson.java: id: cd3e9dbffc06 last_write_checksum: sha1:07cfce4f0316c3e1a7b63cec12a047f1ca47a961 @@ -14106,6 +14020,8 @@ trackedFiles: id: 585fabfc447e last_write_checksum: sha1:4143dc5b76ee64067b338e80eeb15fc3f297b3e7 pristine_git_object: 6d1fefe80915f8fca10798aafeace8a9ba5649f3 + src/main/java/com/cvent/models/components/VenueType.java: + last_write_checksum: sha1:4f6c279910177d7edd6da2fee2f18deeb627f7bd src/main/java/com/cvent/models/components/Version.java: id: 4902db4779b1 last_write_checksum: sha1:bef077b60b81bfaf35718b3797f1d27fa84f667d @@ -14232,36 +14148,28 @@ trackedFiles: pristine_git_object: 5a6654b5b8ab3dd4680cf363afca778cf2f2b2f4 src/main/java/com/cvent/models/components/ZeroAllOf1.java: id: c45963f20bb0 - last_write_checksum: sha1:aba561c1c1c07e3305efa5dfc286d39696ef172a + last_write_checksum: sha1:7aba1d17cbc2dcc28afe40a3ffaa89f6493ae26e pristine_git_object: 17f13605b71735f1798a16a8550664c87156a8a3 src/main/java/com/cvent/models/components/ZeroAllOf2.java: id: 2bd59b28510d - last_write_checksum: sha1:8bf795e14c554c46e3413f29de73df57e815de43 + last_write_checksum: sha1:bec90d8d1ccd29c34deafb3a51da155af782fa41 pristine_git_object: cb79a19588b9a362dc96c5add3246ab2ad69f40f src/main/java/com/cvent/models/components/ZeroAllOf3.java: id: 4391a5b1b059 - last_write_checksum: sha1:600f89cec0256424a76ca047c0d00305430135b6 + last_write_checksum: sha1:c3e0f4d7e1e13fc7f7c5d999742ab6ba80484c95 pristine_git_object: 53f2456cc0bfe83bda226ace9deea552a76f0da4 src/main/java/com/cvent/models/components/ZeroAllOf4.java: id: 38ebcf129a20 - last_write_checksum: sha1:80173cf717819afc3c39263f095cd153e4cb1f1b + last_write_checksum: sha1:7d6f4a9e980fd60321961cf771bd16ed5486d719 pristine_git_object: 8dee60411024cf458d04eeb6a2dd5304853e96ae src/main/java/com/cvent/models/components/ZeroAllOf5.java: id: 7ba45a3c2b75 - last_write_checksum: sha1:14275a44e02f7be36eaf5ffa29be54efb8919f89 + last_write_checksum: sha1:5d30134822d34eccf417501789bbca0f33aeb734 pristine_git_object: ac021cd757b2c771c40d9c9913e30a773497d32c src/main/java/com/cvent/models/components/ZeroAllOf6.java: id: 414fc697bd54 - last_write_checksum: sha1:2fd04eaafe8eddb30b18783a86b9884a3f0ab87d + last_write_checksum: sha1:a898062c8d3de2553367a4275d8b8243d881c534 pristine_git_object: a3c2dd705bdc515204d67e999ac5e80556634d2e - src/main/java/com/cvent/models/components/ZeroAllOf7.java: - id: 93174a72b0b5 - last_write_checksum: sha1:c8944e759b7b76979e161e54d0197a822952807c - pristine_git_object: 8c63c6b0dfba8fd9cb86e848cb0f78d71e7f13ff - src/main/java/com/cvent/models/components/ZeroAllOf8.java: - id: 367af31be2d1 - last_write_checksum: sha1:ae453ebb9e2ecf7c41b5be3c7892da8fb1398089 - pristine_git_object: 7afc4712147bc382a4c3c29daaa3b30521c680e1 src/main/java/com/cvent/models/components/ZeroAnyOf.java: id: 38becdad9d2f last_write_checksum: sha1:fc448d6e0cd86dec16a65ce92f30f1ac907b30e5 @@ -14297,13 +14205,13 @@ trackedFiles: last_write_checksum: sha1:cde83d508aa95687043b4c7796f78b92b1a180bc pristine_git_object: 6e9f3070a79d46186efc77a1ac3f6bc7495dc183 src/main/java/com/cvent/models/errors/ErrorResponse.java: - last_write_checksum: sha1:df26855af2e252f080153256677fc7573d4fbcf4 + last_write_checksum: sha1:9800674013d9042dee832a3a50d579ba5c95d8b2 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:6874ef5bf9c03ccfb97e38e59dd2eb1994d3ae77 src/main/java/com/cvent/models/errors/SegmentsErrorResponse.java: - last_write_checksum: sha1:a5e9b4512c354e3061c2cbd58fc56d940e3f4d4d + last_write_checksum: sha1:553c5159038453e8ace14bcee8ea5c5206cef353 src/main/java/com/cvent/models/errors/ValidationCode.java: last_write_checksum: sha1:c581507fa6c005c721c0119ff08be72e5c468834 src/main/java/com/cvent/models/operations//async/AddContactToContactGroupRequestBuilder.java: @@ -14510,6 +14418,8 @@ trackedFiles: id: 19e73ab37d2b last_write_checksum: sha1:eb7ccd305992f0565256229708ea0dc9f3e1639c pristine_git_object: dca2d05ba497abb6620c6c9b0b317c94830895ff + src/main/java/com/cvent/models/operations//async/CreateMeetingRoomRequestBuilder.java: + last_write_checksum: sha1:bfde13cddf76ea86d17ef222fc8e444c52c0e5be src/main/java/com/cvent/models/operations//async/CreatePaymentRequestBuilder.java: id: 8d18f970ed33 last_write_checksum: sha1:4c1192fbc63334b404cf21314a504bafd07ab668 @@ -15104,6 +15014,8 @@ trackedFiles: id: 0193cd634ab0 last_write_checksum: sha1:3a006fcc6714734a4e9e7cb8f054c2e90ff812f2 pristine_git_object: 634895c2a44cb691874d14999d4d525b48b2cc40 + src/main/java/com/cvent/models/operations//async/GetMeetingRoomOverviewRequestBuilder.java: + last_write_checksum: sha1:d3af6a5d9c3b05473f1b16b79a24746d1086cde0 src/main/java/com/cvent/models/operations//async/GetOrderItemsRequestBuilder.java: id: 92e50fdfd781 last_write_checksum: sha1:aaaa34e50efdd998b827be03a16decdb1c913d93 @@ -15322,6 +15234,8 @@ trackedFiles: id: 0380b2f7117a last_write_checksum: sha1:eab2e54f96eeb3e367824f792617b01aaefcd56e pristine_git_object: eca46358b04b072db40f6f1630db89117374a400 + src/main/java/com/cvent/models/operations//async/GetVenueDetailsOverviewRequestBuilder.java: + last_write_checksum: sha1:0badce72a286357ed5688bc5cff3954a755e19a9 src/main/java/com/cvent/models/operations//async/GetVideoViewsRequestBuilder.java: id: 1fa07b99fb3b last_write_checksum: sha1:141901e8c085e2a97e38331f0af7a7dec858a724 @@ -15536,6 +15450,8 @@ trackedFiles: id: 5e13ef7f168c last_write_checksum: sha1:2ade2042e5587e6fd22ffbc97d98481a15d6fd51 pristine_git_object: b135f57ae2298bb63f9f16ac6f28dae364c6a646 + src/main/java/com/cvent/models/operations//async/ListMeetingRoomsOverviewsRequestBuilder.java: + last_write_checksum: sha1:335774658e117aa0dd0ddd0d3d3a4b853a09eb2c src/main/java/com/cvent/models/operations//async/ListMembershipItemsPostFilterRequestBuilder.java: last_write_checksum: sha1:973919be55c6ac29fdbc200530f94175dd80a7d9 src/main/java/com/cvent/models/operations//async/ListMembershipItemsRequestBuilder.java: @@ -15738,6 +15654,12 @@ trackedFiles: id: ccfb0c5a52a9 last_write_checksum: sha1:f84b5c28e72ba2b1612a1659b9e655ffeee33b4a pristine_git_object: dac334b050b9be9010a4ee6c4536fd27885b9066 + src/main/java/com/cvent/models/operations//async/PatchMeetingRoomRequestBuilder.java: + last_write_checksum: sha1:a1c4527effea4ba06a4a216ec55a55ce3c666e34 + src/main/java/com/cvent/models/operations//async/PatchVenueDetailsRequestBuilder.java: + last_write_checksum: sha1:1020eb910985feac346a7e5a714edd1ee687517d + src/main/java/com/cvent/models/operations//async/PatchVenueFacilityRequestBuilder.java: + last_write_checksum: sha1:3e05d7b0c6c398e20fc201c28f27878fb54ee66b src/main/java/com/cvent/models/operations//async/PostBadgeRequestBuilder.java: id: bba604b6bb26 last_write_checksum: sha1:85612fa99582c6ee4d94974cb6eafe41135e88aa @@ -15972,6 +15894,8 @@ trackedFiles: id: b73824da329b last_write_checksum: sha1:8bf4ece97532ec0cf08296e5571d870d1dddce3a pristine_git_object: 2b7c0c54937fc6fee6d7f54fd82fdeb0e22e0ec4 + src/main/java/com/cvent/models/operations//async/UpdateMeetingRoomRequestBuilder.java: + last_write_checksum: sha1:e9c67fdc27ca48c6a2fdc4d0bd5c8cdb13a3bbcd src/main/java/com/cvent/models/operations//async/UpdatePaymentRequestBuilder.java: id: 6a64a770f5c3 last_write_checksum: sha1:0090f56587bf886443ee26b9f9ed8b530ae066ef @@ -16032,6 +15956,10 @@ trackedFiles: id: 9685f26a473c last_write_checksum: sha1:68a09f617f977a3f044860948ebb0441f17aad4b pristine_git_object: f2910f9292d1fca2f9d8ffe5c1179f71076b6b0e + src/main/java/com/cvent/models/operations//async/UpdateVenueDetailsRequestBuilder.java: + last_write_checksum: sha1:589d5bbba984a256cec0d67e19e739ba2bc051fb + src/main/java/com/cvent/models/operations//async/UpdateVenueFacilityRequestBuilder.java: + last_write_checksum: sha1:c7c79f7b89b304b419c8eb71a8437981769dfca6 src/main/java/com/cvent/models/operations//async/UpdateWebcastRequestBuilder.java: id: a7cbcfdb2789 last_write_checksum: sha1:b49b210093c0ee088a6bd348127e731a1dc25646 @@ -16598,7 +16526,7 @@ trackedFiles: pristine_git_object: 04c3cc03ebbb15f85c5ebcae01c79ca84276fbfc src/main/java/com/cvent/models/operations/CreateMeetingRequestRequest.java: id: 634ccc782cac - last_write_checksum: sha1:a2d2c3844703347776cda2fb1f799f9f19f7915f + last_write_checksum: sha1:4ab5cfba212f17367896f27c54edc7304a6ac59e pristine_git_object: fe2af887c199caf1e6f77aba142f96dae30952af src/main/java/com/cvent/models/operations/CreateMeetingRequestRequestBuilder.java: id: e64a7e38b411 @@ -16606,8 +16534,14 @@ trackedFiles: pristine_git_object: ba2941fcbecbc0aa1715adeadeb1489d89b7a878 src/main/java/com/cvent/models/operations/CreateMeetingRequestResponse.java: id: 6586ab90c78c - last_write_checksum: sha1:03d2372dd9b0dd50a603ff3f4f828cd84198a875 + last_write_checksum: sha1:4af6127358444a1ae3e14e3cdf50199db53e3521 pristine_git_object: 6d46f0cb9c1074a2dd7a385c7860dc434a0c2cae + src/main/java/com/cvent/models/operations/CreateMeetingRoomRequest.java: + last_write_checksum: sha1:49070e0802977ab688bebcbcdc41066fdcc49b76 + src/main/java/com/cvent/models/operations/CreateMeetingRoomRequestBuilder.java: + last_write_checksum: sha1:929de41c91d1879dca64e2a4e5ba7539d4ad429f + src/main/java/com/cvent/models/operations/CreateMeetingRoomResponse.java: + last_write_checksum: sha1:3cb99b1f775259902d2c34ca32c66fffe4820452 src/main/java/com/cvent/models/operations/CreatePaymentRequest.java: id: 1446041276f9 last_write_checksum: sha1:0280d6c105ec12016a67c2658c91b5104c4607d1 @@ -17300,7 +17234,7 @@ trackedFiles: last_write_checksum: sha1:21d3c7fcbcf4259b231df8727d3bb3eac0352fb5 src/main/java/com/cvent/models/operations/GetAirActualDetailRequest.java: id: 2520b84afec6 - last_write_checksum: sha1:9956379daa5c10df1647305bf31b499926b97e83 + last_write_checksum: sha1:e7b5c3c329e6f350d40683f29e80e746bcc15175 pristine_git_object: 76adaea7d2bf4f8ba761cf4de83154d6a7fe2a5a src/main/java/com/cvent/models/operations/GetAirActualDetailRequestBuilder.java: id: fa8a241de0de @@ -17312,7 +17246,7 @@ trackedFiles: pristine_git_object: d057a75488a24e3b462f9b4671dae82e8eddb623 src/main/java/com/cvent/models/operations/GetAirRequestsRequest.java: id: 170a77d23a5b - last_write_checksum: sha1:980e23c190f49b7929b97d1960b0f0149c19808e + last_write_checksum: sha1:e5f8d644f3633e391033966fe0ec7379ddffad1f pristine_git_object: 6f6bbb9ce7a048c8cc45cda880612b860aeb7d43 src/main/java/com/cvent/models/operations/GetAirRequestsRequestBuilder.java: id: c89b338596f4 @@ -17335,7 +17269,7 @@ trackedFiles: last_write_checksum: sha1:d7695c10a780e2749a05141966b88a6126fe8810 pristine_git_object: 2bdd36cfaa22c3bf9722823d6cf23dc22af2748b src/main/java/com/cvent/models/operations/GetAlternateTravelAnswersRequest.java: - last_write_checksum: sha1:652c1a93054810129824027bc5622e19c693c404 + last_write_checksum: sha1:7494e938a270f9f745882bd4f784a1a2a44dc73c src/main/java/com/cvent/models/operations/GetAlternateTravelAnswersRequestBuilder.java: last_write_checksum: sha1:ae7c24675c259b92c23be5b6c887a18ed6d917d7 src/main/java/com/cvent/models/operations/GetAlternateTravelAnswersResponse.java: @@ -17534,7 +17468,7 @@ trackedFiles: pristine_git_object: e4759cad23819516bb92cec3bb00c28b419f6de1 src/main/java/com/cvent/models/operations/GetBudgetAllocationsRequest.java: id: 30521be3166c - last_write_checksum: sha1:e0f6ba4585023e307b2626cd5fc6337823b52d83 + last_write_checksum: sha1:22ff411cfa4012ba97e90e6002279dc5a3549013 pristine_git_object: 2527f93dfe58302061b37423694555494b80a865 src/main/java/com/cvent/models/operations/GetBudgetAllocationsRequestBuilder.java: id: 33b64caff9fb @@ -17866,7 +17800,7 @@ trackedFiles: pristine_git_object: 5ead768b2d933ce9e6c8ab72f61d86565957b294 src/main/java/com/cvent/models/operations/GetEventFeaturesRequest.java: id: 7dfa9a447496 - last_write_checksum: sha1:0d719307b09dd5f29edc3d21f80193a743bb46f2 + last_write_checksum: sha1:91a4385c36a2e90c47f48fcd1710d56095e742b7 pristine_git_object: 124f230716182ba321ac24ab5da17729cfd48bfc src/main/java/com/cvent/models/operations/GetEventFeaturesRequestBuilder.java: id: 247078be1953 @@ -17896,7 +17830,7 @@ trackedFiles: pristine_git_object: 5517537a2de41710252e719eb6a02948e500e6af src/main/java/com/cvent/models/operations/GetEventSurveyQuestionsRequest.java: id: a493b0b2e2bc - last_write_checksum: sha1:ae7dcd4e3e847ccb8c1d31af56ed6ec20a473ca9 + last_write_checksum: sha1:d92bb13dae8d2ecba48a67f8556d9dae73655334 pristine_git_object: d999ee0a4506d82db74cd2e3d5ee9bcb25e04c71 src/main/java/com/cvent/models/operations/GetEventSurveyQuestionsRequestBuilder.java: id: 8b188e39f3ae @@ -17920,7 +17854,7 @@ trackedFiles: pristine_git_object: fc05157acd5e529d163a5492cb7eb809f0a2f61a src/main/java/com/cvent/models/operations/GetEventSurveyResponsesRequest.java: id: ab91f4aa3764 - last_write_checksum: sha1:229d30c6dfba1d7561ceb14b581a7acc21775aba + last_write_checksum: sha1:ef4fd1d8ccd3e8cf02ad1d4d861b51dc0ea3ec1b pristine_git_object: 0d02370c31ae5029ecce00c9ec0896778874110f src/main/java/com/cvent/models/operations/GetEventSurveyResponsesRequestBuilder.java: id: de748f9e73b4 @@ -17932,7 +17866,7 @@ trackedFiles: pristine_git_object: c7063fe309d33e66433377ec3c5113a1730ed800 src/main/java/com/cvent/models/operations/GetEventSurveysRequest.java: id: 95de4eda6cf7 - last_write_checksum: sha1:07b3aeb06bc885e6a279f7a1b6df3f61b3bca9e6 + last_write_checksum: sha1:383e7cc9e34120c93622eebf96d176384f12a4af pristine_git_object: 0ce5861782439b23d410d57ce07517f42bda76b1 src/main/java/com/cvent/models/operations/GetEventSurveysRequestBuilder.java: id: 8715e8606653 @@ -18100,7 +18034,7 @@ trackedFiles: pristine_git_object: 6fcc3292aea6d77824f344b9dc99a3aefae89c5b src/main/java/com/cvent/models/operations/GetHotelRequestsRequest.java: id: f6bea4bba1ab - last_write_checksum: sha1:b2beb13ad83120df5ea52e86cff993731f0d5847 + last_write_checksum: sha1:d0d359cede1865873f3a80c06fa0f7a8ac1788e8 pristine_git_object: 87136338dd511b2bce0d73bed86b8bba784ca00e src/main/java/com/cvent/models/operations/GetHotelRequestsRequestBuilder.java: id: 2a30982258c9 @@ -18208,7 +18142,7 @@ trackedFiles: pristine_git_object: 331c2e3d396b68f873ee124547a3129bfe18ffb5 src/main/java/com/cvent/models/operations/GetHousingReservationRequestsRequest.java: id: 96db659bc313 - last_write_checksum: sha1:aa26dd2e58cf6527884dd7d3fb7942eb76002a0f + last_write_checksum: sha1:9feb3e1325581f191e47b9b874895ab946b4a921 pristine_git_object: 7f95bd7251d6c270bce7208cc0152dcb1592c5df src/main/java/com/cvent/models/operations/GetHousingReservationRequestsRequestBuilder.java: id: f7aac72253a5 @@ -18350,9 +18284,15 @@ trackedFiles: id: 1e7cd57f4975 last_write_checksum: sha1:c13df59e9ae62e1d6bfea651e0e55438bd1b77cb pristine_git_object: 44dd8d8cffda1d48ec1ba84cb369a75f6afad122 + src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequest.java: + last_write_checksum: sha1:f0732c10b8a5f9ccfb92a0e77aa87169d01a431f + src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequestBuilder.java: + last_write_checksum: sha1:a63c817b0dd6d87ff491d325a07a9969e60c521e + src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewResponse.java: + last_write_checksum: sha1:1b5eeb294c538d7eb329ae85d7185e715860fd7d src/main/java/com/cvent/models/operations/GetOrderItemsRequest.java: id: a2d1a4bd88bf - last_write_checksum: sha1:b51d43b22a3d2dfdb12ad94e74d527c994d7ef68 + last_write_checksum: sha1:ca870950024a633a5400b2014128b52f06eb0a82 pristine_git_object: 56b1ec27f74ed3b7d876bb039ca9e935a0cbfc0a src/main/java/com/cvent/models/operations/GetOrderItemsRequestBuilder.java: id: 685f6df041b6 @@ -18364,7 +18304,7 @@ trackedFiles: pristine_git_object: 3326b99ef5e764c19e69e4856e79918e78629db8 src/main/java/com/cvent/models/operations/GetOrdersRequest.java: id: 98ec161e52f0 - last_write_checksum: sha1:9b966649190955083deb2b76433bf11a1d8736fd + last_write_checksum: sha1:3e16c8dc95b44d2e6e98b0383c54894c659b354a pristine_git_object: 361fcfd0e385703834f4cde89300a0cf088262cb src/main/java/com/cvent/models/operations/GetOrdersRequestBuilder.java: id: 53f5cf9164fa @@ -18742,7 +18682,7 @@ trackedFiles: pristine_git_object: 33827eb5a9d4def47fd20f7ce0e593c0e92b53bc src/main/java/com/cvent/models/operations/GetStandardSurveyEmailTemplatesRequest.java: id: d23b1ce7c971 - last_write_checksum: sha1:8dcbe7b16142b6394fcc89cb90fa8d1af8a256ce + last_write_checksum: sha1:b1f4e2d2142e5c16ca004ce3a3b3bb2a0c1cd074 pristine_git_object: aebc538abdae119e13e2caae03cfdbe92f0680b5 src/main/java/com/cvent/models/operations/GetStandardSurveyEmailTemplatesRequestBuilder.java: id: 7510e8a20ebd @@ -18754,7 +18694,7 @@ trackedFiles: pristine_git_object: ca5c8c2868aa73f76151e46a98a9c90a10fc3559 src/main/java/com/cvent/models/operations/GetStandardSurveyQuestionsRequest.java: id: efc590916d82 - last_write_checksum: sha1:6522d116f29da1d4113fb0f07523be62ea53c5d6 + last_write_checksum: sha1:450a6003efeeb991d311aae605b829118462b22f pristine_git_object: 3a828160be6658cc4927faae6ced3624224c9a33 src/main/java/com/cvent/models/operations/GetStandardSurveyQuestionsRequestBuilder.java: id: 7ee0bb14d082 @@ -18988,6 +18928,12 @@ trackedFiles: id: 3d39aef9a1f1 last_write_checksum: sha1:0878416239ff398b1fe56be50a7c3b43e78fc34a pristine_git_object: 41aad1e31abb6db13852df58b502274ca408c95f + src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequest.java: + last_write_checksum: sha1:2b1cbfaf3b67158d000473a47e6608de1c51d695 + src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequestBuilder.java: + last_write_checksum: sha1:4a2b00bdb6dd7e641d15defb6449b0904db0632e + src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewResponse.java: + last_write_checksum: sha1:d98eef160208d04fdbfcc547ac52b24ee8ba44a9 src/main/java/com/cvent/models/operations/GetVideoViewsRequest.java: id: c166cfc952bd last_write_checksum: sha1:fd321f1283f3deb342ef413416da37d779f1e27e @@ -19186,7 +19132,7 @@ trackedFiles: pristine_git_object: fe4e7923fce41445e9ba79fb621699f334460990 src/main/java/com/cvent/models/operations/ListAttendeesRequest.java: id: 20acb36cb19c - last_write_checksum: sha1:3329d510a6802dafe4fbfad6367608779c488eaf + last_write_checksum: sha1:0c6feac7e23ca20abc54542c15f0ba4a7f102320 pristine_git_object: be13a74a913947ab79882e656ab219b61d349717 src/main/java/com/cvent/models/operations/ListAttendeesRequestBuilder.java: id: 9d79ec3fc623 @@ -19270,7 +19216,7 @@ trackedFiles: pristine_git_object: 59c64bb2f7c25419d8156bde50836bd6151a88f4 src/main/java/com/cvent/models/operations/ListBulkJobResultRequest.java: id: 2c69ad83ae67 - last_write_checksum: sha1:e6b957f3a11cae6235377ab4c8f77df24da74112 + last_write_checksum: sha1:a822b42a740cf63e098f090bce86a54ea4946274 pristine_git_object: dd8b04ba909dd0862f8aeae7a5a640bafb61e8a7 src/main/java/com/cvent/models/operations/ListBulkJobResultRequestBuilder.java: id: f465cf3f99c9 @@ -19468,7 +19414,7 @@ trackedFiles: last_write_checksum: sha1:be9804cb652b8b47de9234e1557cf836192e99b2 src/main/java/com/cvent/models/operations/ListEventWeblinksRequest.java: id: 8988b42a6a3f - last_write_checksum: sha1:ddada2115c92e89ae263d3191d12730f7473eea2 + last_write_checksum: sha1:2169cd57bc94b26e3324a6d5ce2f39de362563e4 pristine_git_object: a47457fd04c22b981d95f8a0a6d2c178617d2791 src/main/java/com/cvent/models/operations/ListEventWeblinksRequestBuilder.java: id: c3367d8047cd @@ -19634,6 +19580,12 @@ trackedFiles: id: 0a2b3be71360 last_write_checksum: sha1:f67bd7ffd504adda54e384650a507f0b83177ada pristine_git_object: e89972b69c33aaf96e46447e5439ab1972f90e39 + src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequest.java: + last_write_checksum: sha1:cd16141c829718019d5d2efc32aa23cf4359b5ec + src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequestBuilder.java: + last_write_checksum: sha1:e639e3fb64eefaf2e59e856854a9cf1575e2b079 + src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsResponse.java: + last_write_checksum: sha1:25bd7836d464c3e6197ae76cb854d2672297aee8 src/main/java/com/cvent/models/operations/ListMembershipItemsPostFilterRequest.java: last_write_checksum: sha1:238b104ea662e69d0ca9fcc0ae94b1720c7f892f src/main/java/com/cvent/models/operations/ListMembershipItemsPostFilterRequestBuilder.java: @@ -20244,6 +20196,24 @@ trackedFiles: id: d259cc58ae8a last_write_checksum: sha1:129cdd970b24559b6314417eb23bf155d8d69569 pristine_git_object: 6545baa543dc1415fb9b87cea71a9008d41e95a8 + src/main/java/com/cvent/models/operations/PatchMeetingRoomRequest.java: + last_write_checksum: sha1:e876727adc71a660e18f88916115bb1d98d82f15 + src/main/java/com/cvent/models/operations/PatchMeetingRoomRequestBuilder.java: + last_write_checksum: sha1:80fcf85ced6eb10c2710ab0c3534d43854c90c8e + src/main/java/com/cvent/models/operations/PatchMeetingRoomResponse.java: + last_write_checksum: sha1:c8c094facdd43e1b8a906d532f3af810ce39a9ab + src/main/java/com/cvent/models/operations/PatchVenueDetailsRequest.java: + last_write_checksum: sha1:ead8fc4ab8d24094fe5301895822b7bbaea53ccb + src/main/java/com/cvent/models/operations/PatchVenueDetailsRequestBuilder.java: + last_write_checksum: sha1:d42196b0efb355ed2dd1c612cd85df6032cf10d3 + src/main/java/com/cvent/models/operations/PatchVenueDetailsResponse.java: + last_write_checksum: sha1:aaed604f3a07ba774f3c222c56a92691fdbf5839 + src/main/java/com/cvent/models/operations/PatchVenueFacilityRequest.java: + last_write_checksum: sha1:3a045fe7d687af30768cdf7c36c2f56bcaf3d494 + src/main/java/com/cvent/models/operations/PatchVenueFacilityRequestBuilder.java: + last_write_checksum: sha1:ea12fe81d36605e6ff458c5ca403b5ce37c0cc88 + src/main/java/com/cvent/models/operations/PatchVenueFacilityResponse.java: + last_write_checksum: sha1:d6067e553a77408ef6500ea500ef1e2d9823ed40 src/main/java/com/cvent/models/operations/PostBadgeRequest.java: id: b539547b2157 last_write_checksum: sha1:5b0451b3849a9a90c179f5d03f5c1c1ae2cba785 @@ -20924,7 +20894,7 @@ trackedFiles: pristine_git_object: 5f8291fc457437b2a38d335152a1d916b524e144 src/main/java/com/cvent/models/operations/UpdateMeetingRequestRequest.java: id: cf55d6a85173 - last_write_checksum: sha1:8d8ca531b24e4703b30dec71929db8ec376907cc + last_write_checksum: sha1:1258f414a812a6e94f2570961849b402b7ddb054 pristine_git_object: d44b625c6a21e2ce2e115e7abae5cd10c7384468 src/main/java/com/cvent/models/operations/UpdateMeetingRequestRequestBuilder.java: id: 4664b0d56525 @@ -20932,8 +20902,14 @@ trackedFiles: pristine_git_object: f30c7168ca9e03baf8ccf3af8cae02824b8de30f src/main/java/com/cvent/models/operations/UpdateMeetingRequestResponse.java: id: fa2a8152448b - last_write_checksum: sha1:37e3321ebb7b1a398e28b04a99f42db982db272c + last_write_checksum: sha1:903b9773b612b0eaedc535b43a71a025f56942d6 pristine_git_object: 43b3e168f33514ad1672ef21d76398cf6654b6fb + src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequest.java: + last_write_checksum: sha1:cb3c9eaa9326cf3babfcbdda76110dd0aed15e77 + src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequestBuilder.java: + last_write_checksum: sha1:a853b2f4d7534d88f8658f750150c726c87ee885 + src/main/java/com/cvent/models/operations/UpdateMeetingRoomResponse.java: + last_write_checksum: sha1:5eb1454f20e8444ff7b707b4bc32b6ce3eee3ab1 src/main/java/com/cvent/models/operations/UpdatePaymentRequest.java: id: 2f25519c20fc last_write_checksum: sha1:1a52e8710dd0b5f2d2c94492457ed99d449801d5 @@ -21114,6 +21090,18 @@ trackedFiles: id: 9a41629b2910 last_write_checksum: sha1:3b9af281b4622caf3c29e6823470605337cec0ac pristine_git_object: c452b2a53406741d90a24261b086e84970a01349 + src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequest.java: + last_write_checksum: sha1:e35b62d138e37ac0fbab67633265f8ef52f433fc + src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequestBuilder.java: + last_write_checksum: sha1:3a38924d0a1ea3f2de52de1dfc199362b4e0fb7b + src/main/java/com/cvent/models/operations/UpdateVenueDetailsResponse.java: + last_write_checksum: sha1:64bc1c419d7fb3c8e9274e87e38ce274fcc8b3e2 + src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequest.java: + last_write_checksum: sha1:5c2e24eb66adc5d251375c21a42024b18c06ca39 + src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequestBuilder.java: + last_write_checksum: sha1:9c01df8a9dc3484d0ab8f7252985c1505965bacf + src/main/java/com/cvent/models/operations/UpdateVenueFacilityResponse.java: + last_write_checksum: sha1:c70352db3b39af4966fa2b25686762076e371457 src/main/java/com/cvent/models/operations/UpdateWebcastRequest.java: id: 3f7eeaef7e29 last_write_checksum: sha1:eb933e3dc1bcffbafc0dbca62218563f5e0cc298 @@ -21356,8 +21344,10 @@ trackedFiles: pristine_git_object: cee843d2d6489fc762c160eb1153d364c009d0ae src/main/java/com/cvent/models/operations/async/CreateMeetingRequestResponse.java: id: b2dd6d9e300c - last_write_checksum: sha1:593cc60899452dcb3cb8630fe81bfda98af15b3c + last_write_checksum: sha1:542440a65d3203f7751d5c78a5de0fe5490de127 pristine_git_object: 75bdbefcca1584f03ee0a08c8bec868850070829 + src/main/java/com/cvent/models/operations/async/CreateMeetingRoomResponse.java: + last_write_checksum: sha1:58c9836ee6f0c791f11f4213a6840f40227ea773 src/main/java/com/cvent/models/operations/async/CreatePaymentResponse.java: id: cba62dc9279e last_write_checksum: sha1:928097ec4b59faed31ab7d4580fdbc34c694d48f @@ -21952,6 +21942,8 @@ trackedFiles: id: 35c99f41d685 last_write_checksum: sha1:eb10d0c9d056ad0eecf06ddc375d20274aadba7a pristine_git_object: 05c6438fe93637d9b1f982370f90b1a190f57369 + src/main/java/com/cvent/models/operations/async/GetMeetingRoomOverviewResponse.java: + last_write_checksum: sha1:59adf13baa050f41dfd53c85909e8420840a0f4f src/main/java/com/cvent/models/operations/async/GetOrderItemsResponse.java: id: 93ec59c103ee last_write_checksum: sha1:256463d39bdf093441ef92183aed9544aee6a5d6 @@ -22170,6 +22162,8 @@ trackedFiles: id: e70f6b9e6490 last_write_checksum: sha1:3980cc4cf2424b5ce687b09db59618e873f9ed2b pristine_git_object: da9dee01303bef44034f30ce2c3ee38ae52e7121 + src/main/java/com/cvent/models/operations/async/GetVenueDetailsOverviewResponse.java: + last_write_checksum: sha1:402ea4658fe7432682eb0fad3754ddb6efc51cfd src/main/java/com/cvent/models/operations/async/GetVideoViewsResponse.java: id: 583dae2b58db last_write_checksum: sha1:381e4def1a671698a7aaf6d45d4d3d6ef8562752 @@ -22384,6 +22378,8 @@ trackedFiles: id: 4a63ce05928c last_write_checksum: sha1:8448605122b2559bfe5222c65965e109b07380f4 pristine_git_object: 943cb2b301e53de745e210b3e1a6e61a2d86d6da + src/main/java/com/cvent/models/operations/async/ListMeetingRoomsOverviewsResponse.java: + last_write_checksum: sha1:c0736c29b2f9ec99eb933eeae4f55d67a6a98350 src/main/java/com/cvent/models/operations/async/ListMembershipItemsPostFilterResponse.java: last_write_checksum: sha1:52cd3a14a20159af2a08390ad885e20e23c6ba0b src/main/java/com/cvent/models/operations/async/ListMembershipItemsResponse.java: @@ -22586,6 +22582,12 @@ trackedFiles: id: abd67c0dd8bd last_write_checksum: sha1:024e675be695760cfb075b8659221d31fda3c0fe pristine_git_object: e034808c426c0a8ab7647b7fc5191c2e9326b098 + src/main/java/com/cvent/models/operations/async/PatchMeetingRoomResponse.java: + last_write_checksum: sha1:b5e02a90e3ad4507c19c03d83b952a9953fbcaf8 + src/main/java/com/cvent/models/operations/async/PatchVenueDetailsResponse.java: + last_write_checksum: sha1:0ce30b90825456c57e57ab0cfb7379a96d4d03ff + src/main/java/com/cvent/models/operations/async/PatchVenueFacilityResponse.java: + last_write_checksum: sha1:e7867c260013d34a4e6e6a5ca829fc028fe6cfb3 src/main/java/com/cvent/models/operations/async/PostBadgeResponse.java: id: b90539baf8e2 last_write_checksum: sha1:d4c0161e44cfa5c1b0cd3371072e8721ddbef601 @@ -22818,8 +22820,10 @@ trackedFiles: pristine_git_object: 62f5ce10d6fab05609fba689856728078651dd1e src/main/java/com/cvent/models/operations/async/UpdateMeetingRequestResponse.java: id: 823609a71e96 - last_write_checksum: sha1:5579ef4f06f9c919d96855d557490d76062346b8 + last_write_checksum: sha1:3c5bad1d0afd2b5cdf033aec81b79ed2aecf227f pristine_git_object: 55bd2ca94a273c6402e58c5dbc95f31b3a66e1b9 + src/main/java/com/cvent/models/operations/async/UpdateMeetingRoomResponse.java: + last_write_checksum: sha1:205cc334e47c56d2dc8afe476e7c2812acb875af src/main/java/com/cvent/models/operations/async/UpdatePaymentResponse.java: id: b0d63c8f4417 last_write_checksum: sha1:8f71b9ae95ad5ff1f521e4c3f3d253848cf7803a @@ -22880,6 +22884,10 @@ trackedFiles: id: e1b6e988e581 last_write_checksum: sha1:33a48a0bfa8757d6398d3bb62a2f7bc8dd2c2a64 pristine_git_object: 86039089680de2a76bf8887c99fc42132adbf1fc + src/main/java/com/cvent/models/operations/async/UpdateVenueDetailsResponse.java: + last_write_checksum: sha1:8295c513ab6493a388650758bc6ee2649ba846c6 + src/main/java/com/cvent/models/operations/async/UpdateVenueFacilityResponse.java: + last_write_checksum: sha1:99641e1c8f6331a3b99bb19dd05dd7f30da4c1b6 src/main/java/com/cvent/models/operations/async/UpdateWebcastResponse.java: id: 866380febbf1 last_write_checksum: sha1:726ee13ebdf5ded7a80ea22586d9c09d6022f7c0 @@ -22946,7 +22954,7 @@ trackedFiles: pristine_git_object: 548049288f453bb8d2754112b314c54eaaab9e28 src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java: id: 350ca9e53134 - last_write_checksum: sha1:53027b62066c81dce2ff355f976b7a996e85d51b + last_write_checksum: sha1:46a8575e7556b18b770224aee75e8b652089c202 pristine_git_object: d6c008cd78a80ed3afa61d7bda1f61dad79a8d01 src/main/java/com/cvent/operations/AssociateBoothStaff.java: id: c9d44bd37242 @@ -22994,7 +23002,7 @@ trackedFiles: pristine_git_object: e7061613274121ae5278d60ab4698f71dc898d2f src/main/java/com/cvent/operations/CreateAppointment.java: id: 42a79c72fb9e - last_write_checksum: sha1:c50630a56eae13f436d31ee9aab07c76a3f9c0ab + last_write_checksum: sha1:08f31b990ef30c0dfd55379d2b8f7a306f62e0a0 pristine_git_object: 46645ee1b1f364c2d201b5ff43a7bf07e023e7a5 src/main/java/com/cvent/operations/CreateAttendee.java: id: f299505bc112 @@ -23010,7 +23018,7 @@ trackedFiles: pristine_git_object: 885a3bf79e973f515a1dbd803794c14358b1b5e2 src/main/java/com/cvent/operations/CreateAudienceSegment.java: id: a311051da7dd - last_write_checksum: sha1:d7dc172aa48e11a6d31d804fdfd3fe3cc54ce761 + last_write_checksum: sha1:06a4ad8c653fd96ba197deba613944aba6b21b13 pristine_git_object: 903f0f8c40131d8b80353f69e3673925e8a298ce src/main/java/com/cvent/operations/CreateBadgePrintJob.java: id: 3744615dd3ad @@ -23090,7 +23098,7 @@ trackedFiles: pristine_git_object: b7b7c64f6cd533652ab91ab5a838b68e1120fc45 src/main/java/com/cvent/operations/CreateExhibitorWeblink.java: id: 5fbc698a1b45 - last_write_checksum: sha1:ca2f04ced40f8dfc1882134aa00c037269ecb552 + last_write_checksum: sha1:94a8f545033decac7597bed73d992b4fb1edfbc2 pristine_git_object: cedbfff70e181ca2d661b18d1b6076089a22c164 src/main/java/com/cvent/operations/CreateExternalAttendeeActivityMetadata.java: id: e1827cbcf62f @@ -23098,8 +23106,10 @@ trackedFiles: pristine_git_object: 29611f8dc48d465cc053699e9403e68f3a230aaf src/main/java/com/cvent/operations/CreateMeetingRequest.java: id: 198f5547bc45 - last_write_checksum: sha1:f6f36224e26d9c0fb2e58260fd7d3dc168ae1206 + last_write_checksum: sha1:07cc8f9a232638a99ed6dff2596fa1fd36b06fe2 pristine_git_object: 2e18641eb6820f656e8931041bb1623fa42e7f67 + src/main/java/com/cvent/operations/CreateMeetingRoom.java: + last_write_checksum: sha1:19ebae5b3b5f2aece65db087cd0eb88e025ff5e0 src/main/java/com/cvent/operations/CreatePayment.java: id: 2404ea766127 last_write_checksum: sha1:104de0bcd39f7c3276130f3a0958a510366bb119 @@ -23680,7 +23690,7 @@ trackedFiles: pristine_git_object: 365eccd354348fc73bb97988ce38da5acdc6b468 src/main/java/com/cvent/operations/GetMRFById.java: id: 32f82aa5af81 - last_write_checksum: sha1:bdd983d93f981ae932de8374e05b0ce522da4040 + last_write_checksum: sha1:ea47b0aeb8e0ada7b552ff183cc47161c64686fa pristine_git_object: d6572f745e20d2cfff73d1c79b0f3a86c01831f1 src/main/java/com/cvent/operations/GetMeetingInterestById.java: id: b9daecf09c65 @@ -23694,6 +23704,8 @@ trackedFiles: id: 5daaa8fee2a7 last_write_checksum: sha1:0fe5c0ef7a18dc620f77d42bda0220a0da62e29b pristine_git_object: 73c51e5a616d54a319bcdecc5087efb4418ab146 + src/main/java/com/cvent/operations/GetMeetingRoomOverview.java: + last_write_checksum: sha1:de7208dee8272334c463510bce93edf589455d52 src/main/java/com/cvent/operations/GetOrderItems.java: id: bb998591cd5c last_write_checksum: sha1:bf08fd8accb8f73d1d351b66a036ab685d8dec67 @@ -23890,11 +23902,11 @@ trackedFiles: pristine_git_object: 038ba6fc2d5319c7b3d6d6b3ed479e8e3e26473b src/main/java/com/cvent/operations/GetTravelProposal.java: id: a049b7feaa0b - last_write_checksum: sha1:db510d2748f9fe76d07dbe6962ed7aab3af07fee + last_write_checksum: sha1:f896c9d23584a0f52a60484d0b448dfb238c1af5 pristine_git_object: 1fd78e6ad6237518f19ebfc8130e245e75e0e6ed src/main/java/com/cvent/operations/GetTravelProposalBid.java: id: 6ead32c4eae8 - last_write_checksum: sha1:268edc12bf1586901a54e8e1482766feffaaa57c + last_write_checksum: sha1:2f884d7ff11face34024d5985f414fe4a6bb77ce pristine_git_object: bdcf365c871e1cde72ddb6017f1465542d4a7a39 src/main/java/com/cvent/operations/GetUsage.java: id: d56ced426a05 @@ -23912,6 +23924,8 @@ trackedFiles: id: 642c9ddeba82 last_write_checksum: sha1:f417078510413d5f520f974f74f21da3c0ba58a6 pristine_git_object: f94d9973b34828b8f374a36636562d1b61bf87da + src/main/java/com/cvent/operations/GetVenueDetailsOverview.java: + last_write_checksum: sha1:db20c9a13a6d924920a430edab841b542212c42e src/main/java/com/cvent/operations/GetVideoViews.java: id: 5d3717682ffb last_write_checksum: sha1:96016e62a5efdbf0851391c58fd2e86b765f4cef @@ -24126,6 +24140,8 @@ trackedFiles: id: 242c89c69fac last_write_checksum: sha1:eeff89cb641d2e3652ba7c930fcb78937b825604 pristine_git_object: 1935656ed7cec823e9d39f80da75a899aa56d938 + src/main/java/com/cvent/operations/ListMeetingRoomsOverviews.java: + last_write_checksum: sha1:ce2fa486905dccf156384760b9875e390c9af2d4 src/main/java/com/cvent/operations/ListMembershipItems.java: last_write_checksum: sha1:2e192f0094f51685740053ba41ac057975e4c13f src/main/java/com/cvent/operations/ListMembershipItemsPostFilter.java: @@ -24274,11 +24290,11 @@ trackedFiles: pristine_git_object: d11d5c0d5782f2123d7a170e6e297d7b74ec7a34 src/main/java/com/cvent/operations/ListTravelProposalBids.java: id: 87e430a92da6 - last_write_checksum: sha1:33a7baa911ca9982092fcf6c820952571a611bdf + last_write_checksum: sha1:14fd2aacd2851a4be51d3b9fd403c9e110caf7ef pristine_git_object: 14b47a9c10a46cadc2ea7867a3b567583d30e222 src/main/java/com/cvent/operations/ListTravelProposals.java: id: 7f5c10c9618b - last_write_checksum: sha1:193ac0f71658e347dc48563d5e00e130f0726fed + last_write_checksum: sha1:3e1e1094aab43adbedf3a93c7d4f3e7006c39fc0 pristine_git_object: bf484bab257e5749171a09dbb61e49731e473844 src/main/java/com/cvent/operations/ListUsers.java: id: 2fa915b80d05 @@ -24332,6 +24348,12 @@ trackedFiles: id: fb82af4da6b3 last_write_checksum: sha1:31e4ca4f059c470644ccc8689b344b6a3b73ceae pristine_git_object: 06a35bcd4caadf5288015c782b28ef2e51583bc4 + src/main/java/com/cvent/operations/PatchMeetingRoom.java: + last_write_checksum: sha1:c441499e0fea586622a0c0d6fdcd39fb1d4ee9d1 + src/main/java/com/cvent/operations/PatchVenueDetails.java: + last_write_checksum: sha1:70e698ced8b237c44cd5fad9245f857d5828b671 + src/main/java/com/cvent/operations/PatchVenueFacility.java: + last_write_checksum: sha1:373fffb54a8a8c2017dbe1bb964f476e94403481 src/main/java/com/cvent/operations/PostBadge.java: id: 213c7761518f last_write_checksum: sha1:bf8f9abb0c2fdd1d415abcc8033a09f880ca111b @@ -24426,7 +24448,7 @@ trackedFiles: pristine_git_object: 6dc9f6406009e0c38a9f7dfeab4752ede47c40a0 src/main/java/com/cvent/operations/UpdateAppointment.java: id: 76f35693671c - last_write_checksum: sha1:01a887acb31bd10e27859d6c87cb8f342b292558 + last_write_checksum: sha1:341612785c53f0565aa33634f06a0e1db671d497 pristine_git_object: bb42c08b50dbdefa67ec476b3d1e6e5551d54392 src/main/java/com/cvent/operations/UpdateAttendee.java: id: fd568a0b7bae @@ -24440,7 +24462,7 @@ trackedFiles: last_write_checksum: sha1:3edde81c7de3cee12d2dea2c9e3d2abfc0b9580f src/main/java/com/cvent/operations/UpdateAudienceSegment.java: id: 362b62b077d3 - last_write_checksum: sha1:dc62f7e310ce5a8bc4986d9d2fa9c53bb89e6835 + last_write_checksum: sha1:e78ade8cd9e2d80a6de81aabf7eeae199b91a6b9 pristine_git_object: a57b52081cc5d46b48c6742dab019058b833d137 src/main/java/com/cvent/operations/UpdateBadge.java: id: c818f06ce74c @@ -24540,7 +24562,7 @@ trackedFiles: pristine_git_object: c464f49d1c3e546576e1d3aa8a935472f20245f5 src/main/java/com/cvent/operations/UpdateExhibitorFile.java: id: 1099de97def2 - last_write_checksum: sha1:d83d6afceccc4ac3ff73d73424d91f2bb47ec935 + last_write_checksum: sha1:01f69f2c71129b7d07bec47c70fa7d3b8fc7b0a0 pristine_git_object: bb9712dd8a670f7488940042dadeb9e7a524872a src/main/java/com/cvent/operations/UpdateExhibitorLogo.java: id: 666e45a637fe @@ -24548,7 +24570,7 @@ trackedFiles: pristine_git_object: 00f497a143f9d09f8557485127e1628a46815f6a src/main/java/com/cvent/operations/UpdateExhibitorWeblink.java: id: 9e19bfd00ae4 - last_write_checksum: sha1:f0ecc6febc5cd0a7473133379a6719cedb323295 + last_write_checksum: sha1:f1f13cd4ef807e1a2e7099161613a6a47f12b624 pristine_git_object: 128f0ba2ceb4618394b8896b224f470b4ee787d4 src/main/java/com/cvent/operations/UpdateExternalAttendeeActivityMetadata.java: id: 8a2ac1f34610 @@ -24564,8 +24586,10 @@ trackedFiles: pristine_git_object: e449882cde7274841e04c6ce079d8451b3ceb4d9 src/main/java/com/cvent/operations/UpdateMeetingRequest.java: id: "866923326826" - last_write_checksum: sha1:4d6e705a1f082bf0d84784f345ef23440ab3d0f2 + last_write_checksum: sha1:f95696a5510c420bbf967d2d846a1076fba7af3d pristine_git_object: bdf90e28818fabcfe194e122608cf160b1660693 + src/main/java/com/cvent/operations/UpdateMeetingRoom.java: + last_write_checksum: sha1:139f638372cd40a57b707b3a6d583c03639cba3b src/main/java/com/cvent/operations/UpdatePayment.java: id: 3123c97dfedd last_write_checksum: sha1:94a892bc512c7e4e6519675abf46c2b50037fe20 @@ -24626,6 +24650,10 @@ trackedFiles: id: e4341afd373a last_write_checksum: sha1:d418ddec13adb06a736aa43e3caac52a1a8d495c pristine_git_object: aee46a839ea9098a2e95de42e7ea8481c18872cd + src/main/java/com/cvent/operations/UpdateVenueDetails.java: + last_write_checksum: sha1:6c68cdfc1a615d45aad7922d93bd30ef78975659 + src/main/java/com/cvent/operations/UpdateVenueFacility.java: + last_write_checksum: sha1:87f6202aac11a3cf44f05cde36f3f3deb1ac6217 src/main/java/com/cvent/operations/UpdateWebcast.java: id: 1cd44d62be66 last_write_checksum: sha1:13bcb3a4dc6e7fb67b21bbdfb76d7d7b1f20d2ad @@ -25860,7 +25888,7 @@ examples: expand: ["answers.question", "registrationType"] responses: "200": - application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "8e8665e7-ca97-4610-90dc-3527c766faf9", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "8e8665e7-ca97-4610-90dc-3527c766faf9", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "unsubscribed": false, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateAttendee: @@ -25872,7 +25900,7 @@ examples: application/json: {"event": {"id": "0a955598-376e-43d4-a796-91d6d5f41e3f"}, "contact": {"id": "ea66a709-2a93-4fa0-8b83-cf4f62df9dc3"}, "invitationList": {"id": "06da38f9-12da-4cb6-a581-7a5954f8e0e2"}, "referenceId": "refid-marketingwebsite", "note": "Would like to sit near the front of the room for sessions.", "administrator": {"id": "7949c335-b5b2-46cf-8f5d-f6b21795df51"}, "admissionItem": {"id": "7949c335-b5b2-46cf-8f5d-f6b21795df51"}, "visibility": "Private", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "sendEmail": false, "status": "Accepted"} responses: "200": - application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "d1b5785a-f370-4935-ab5c-d8b318a79002", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "d1b5785a-f370-4935-ab5c-d8b318a79002", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "unsubscribed": false, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateInternalInfoAnswers: @@ -30440,6 +30468,127 @@ examples: application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"id": "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueDetails: + speakeasy-default-update-venue-details: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A modern conference venue in downtown.", "additionalInformation": "Free parking available on-site.", "cancellationPolicy": "Full refund if cancelled 48 hours before event.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "country": "LA", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A modern conference venue in downtown.", "additionalInformation": "Free parking available on-site.", "cancellationPolicy": "Full refund if cancelled 48 hours before event.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "country": "LA", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Vienna Wolf Trap Hotel", "metroArea": "Washington DC Metro"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchVenueDetails: + speakeasy-default-patch-venue-details: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/merge-patch+json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A premier conference and event venue in the heart of Northern Virginia.", "additionalInformation": "Complimentary parking available for all event attendees.", "cancellationPolicy": "48-hour cancellation policy applies for all event bookings.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + responses: + "200": + application/json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A premier conference and event venue in the heart of Northern Virginia.", "additionalInformation": "Complimentary parking available for all event attendees.", "cancellationPolicy": "48-hour cancellation policy applies for all event bookings.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getVenueDetailsOverview: + speakeasy-default-get-venue-details-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + responses: + "200": + application/json: {"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "name": "Vienna Wolf Trap Hotel"} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueFacility: + speakeasy-default-update-venue-facility: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}, "id": "e1c05096-e352-4f2e-af1c-a6e022d36b34", "name": "Vienna Wolf Trap Hotel"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchVenueFacility: + speakeasy-default-patch-venue-facility: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/merge-patch+json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + responses: + "200": + application/json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + createMeetingRoom: + speakeasy-default-create-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "201": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listMeetingRoomsOverviews: + speakeasy-default-list-meeting-rooms-overviews: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + filter: "hiddenOnProfile eq 'false'" + responses: + "200": + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": []} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateMeetingRoom: + speakeasy-default-update-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "2344f9ab-537e-412f-ad6d-264fedbf17a6" + requestBody: + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchMeetingRoom: + speakeasy-default-patch-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "2a12f958-0ac4-4665-9210-449812da553a" + requestBody: + application/merge-patch+json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-RM-12345", "rates": null, "capacities": null, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "200": + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-RM-12345", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getMeetingRoomOverview: + speakeasy-default-get-meeting-room-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "081078e3-8a73-49c6-b757-a3d52dbc2cc8" + responses: + "200": + application/json: {"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "name": "Grand Ballroom", "hiddenOnProfile": false, "displayOrder": 1} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} examplesVersion: 1.0.2 generatedTests: getAccountUserGroups: "2025-12-09T16:04:38-06:00" @@ -30831,3 +30980,13 @@ generatedTests: listEventVouchers: "2026-06-24T15:39:39-04:00" listEventVouchersPostFilter: "2026-06-24T15:39:39-04:00" listEventVoucherAttendees: "2026-06-24T15:39:39-04:00" + updateVenueDetails: "2026-07-28T09:08:40-06:00" + patchVenueDetails: "2026-07-28T09:08:40-06:00" + getVenueDetailsOverview: "2026-07-28T09:08:40-06:00" + updateVenueFacility: "2026-07-28T09:08:40-06:00" + patchVenueFacility: "2026-07-28T09:08:40-06:00" + createMeetingRoom: "2026-07-28T09:08:40-06:00" + listMeetingRoomsOverviews: "2026-07-28T09:08:40-06:00" + updateMeetingRoom: "2026-07-28T09:08:40-06:00" + patchMeetingRoom: "2026-07-28T09:08:40-06:00" + getMeetingRoomOverview: "2026-07-28T09:08:40-06:00" diff --git a/packages/java/.speakeasy/gen.yaml b/packages/java/.speakeasy/gen.yaml index 372d45abe..2bc3cedfe 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.2 + version: 1.6.0 additionalDependencies: [] additionalPlugins: [] artifactID: sdk diff --git a/packages/java/.speakeasy/tests.arazzo.yaml b/packages/java/.speakeasy/tests.arazzo.yaml index a3e206bb9..597541859 100644 --- a/packages/java/.speakeasy/tests.arazzo.yaml +++ b/packages/java/.speakeasy/tests.arazzo.yaml @@ -1733,7 +1733,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"8e8665e7-ca97-4610-90dc-3527c766faf9","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"8e8665e7-ca97-4610-90dc-3527c766faf9","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"unsubscribed":false,"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} type: simple x-speakeasy-test-group: Attendees x-speakeasy-test-rebuild: true @@ -1773,7 +1773,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"d1b5785a-f370-4935-ab5c-d8b318a79002","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"d1b5785a-f370-4935-ab5c-d8b318a79002","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"unsubscribed":false,"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} type: simple x-speakeasy-test-group: Attendees x-speakeasy-test-rebuild: true @@ -10816,3 +10816,403 @@ workflows: type: simple x-speakeasy-test-group: Events x-speakeasy-test-rebuild: true + - workflowId: updateVenueDetails + steps: + - stepId: test + operationId: updateVenueDetails + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + additionalInformation: Free parking available on-site. + address: + city: Vienna + country: LA + directions: Take I-66 West to Exit 67, then follow signs to Trap Road. + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + brand: Quality Hotels + cancellationPolicy: Full refund if cancelled 48 hours before event. + chainScale: UPSCALE_CHAINS + description: A modern conference venue in downtown. + locationTypes: + - SUBURBAN + mainFaxNumber: +1-703-555-0101 + mainPhoneNumber: +1-703-555-0100 + openingDate: Spring 2025 + salesFaxNumber: +1-703-555-0103 + salesPhoneNumber: +1-703-555-0102 + timeZone: America/New_York + tollFreeNumber: 1-800-555-0100 + type: HOTEL + websiteAddress: https://www.example-hotel.com + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","type":"HOTEL","timeZone":"America/New_York","brand":"Quality Hotels","chainScale":"UPSCALE_CHAINS","mainPhoneNumber":"+1-703-555-0100","mainFaxNumber":"+1-703-555-0101","salesPhoneNumber":"+1-703-555-0102","salesFaxNumber":"+1-703-555-0103","tollFreeNumber":"1-800-555-0100","websiteAddress":"https://www.example-hotel.com","openingDate":"Spring 2025","description":"A modern conference venue in downtown.","additionalInformation":"Free parking available on-site.","cancellationPolicy":"Full refund if cancelled 48 hours before event.","locationTypes":["SUBURBAN"],"address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182","country":"LA","directions":"Take I-66 West to Exit 67, then follow signs to Trap Road."},"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","name":"Vienna Wolf Trap Hotel","metroArea":"Washington DC Metro"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: patchVenueDetails + steps: + - stepId: test + operationId: patchVenueDetails + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/merge-patch+json + payload: + additionalInformation: Complimentary parking available for all event attendees. + address: + city: Vienna + directions: Take I-66 West to Exit 67, then follow signs to Trap Road. + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + brand: Quality Hotels + cancellationPolicy: 48-hour cancellation policy applies for all event bookings. + chainScale: UPSCALE_CHAINS + description: A premier conference and event venue in the heart of Northern Virginia. + locationTypes: + - SUBURBAN + mainFaxNumber: +1-703-555-0101 + mainPhoneNumber: +1-703-555-0100 + openingDate: Spring 2025 + salesFaxNumber: +1-703-555-0103 + salesPhoneNumber: +1-703-555-0102 + timeZone: America/New_York + tollFreeNumber: 1-800-555-0100 + type: HOTEL + websiteAddress: https://www.example-hotel.com + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"type":"HOTEL","timeZone":"America/New_York","brand":"Quality Hotels","chainScale":"UPSCALE_CHAINS","mainPhoneNumber":"+1-703-555-0100","mainFaxNumber":"+1-703-555-0101","salesPhoneNumber":"+1-703-555-0102","salesFaxNumber":"+1-703-555-0103","tollFreeNumber":"1-800-555-0100","websiteAddress":"https://www.example-hotel.com","openingDate":"Spring 2025","description":"A premier conference and event venue in the heart of Northern Virginia.","additionalInformation":"Complimentary parking available for all event attendees.","cancellationPolicy":"48-hour cancellation policy applies for all event bookings.","locationTypes":["SUBURBAN"],"address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182","directions":"Take I-66 West to Exit 67, then follow signs to Trap Road."}} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: getVenueDetailsOverview + steps: + - stepId: test + operationId: getVenueDetailsOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"b2c3d4e5-f6a7-8901-bcde-f12345678901","name":"Vienna Wolf Trap Hotel"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: updateVenueFacility + steps: + - stepId: test + operationId: updateVenueFacility + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + doubleRate: + high: 299.99 + low: 149.99 + maximumCapacity: + seated: 500 + standing: 800 + numberOfMeetingRooms: 25 + occupancyRate: 75.5 + proximityFromAirport: + distance: 12.5 + restrictions: No outside food or beverage permitted. Music must end by 11 PM. + singleRate: + high: 249.99 + low: 129.99 + sleeping: + doubleRooms: 130 + singleRooms: 200 + suites: 20 + totalRooms: 350 + space: + totalExhibitSpace: 75000 + totalMeetingRoomSpace: 50000 + taxRate: 8.5 + yearBuilt: 1998 + yearRenovated: 2021 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","numberOfMeetingRooms":25,"space":{"totalMeetingRoomSpace":50000,"totalExhibitSpace":75000},"sleeping":{"totalRooms":350,"suites":20,"singleRooms":200,"doubleRooms":130},"singleRate":{"low":129.99,"high":249.99},"doubleRate":{"low":149.99,"high":299.99},"taxRate":8.5,"occupancyRate":75.5,"yearBuilt":1998,"yearRenovated":2021,"proximityFromAirport":{"distance":12.5},"restrictions":"No outside food or beverage permitted. Music must end by 11 PM.","maximumCapacity":{"seated":500,"standing":800},"id":"e1c05096-e352-4f2e-af1c-a6e022d36b34","name":"Vienna Wolf Trap Hotel"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: patchVenueFacility + steps: + - stepId: test + operationId: patchVenueFacility + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/merge-patch+json + payload: + doubleRate: + high: 299.99 + low: 149.99 + maximumCapacity: + seated: 500 + standing: 800 + numberOfMeetingRooms: 25 + occupancyRate: 75.5 + proximityFromAirport: + distance: 12.5 + restrictions: No outside food or beverage permitted. Music must end by 11 PM. + singleRate: + high: 249.99 + low: 129.99 + sleeping: + doubleRooms: 130 + singleRooms: 200 + suites: 20 + totalRooms: 350 + space: + totalExhibitSpace: 75000 + totalMeetingRoomSpace: 50000 + taxRate: 8.5 + yearBuilt: 1998 + yearRenovated: 2021 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"numberOfMeetingRooms":25,"space":{"totalMeetingRoomSpace":50000,"totalExhibitSpace":75000},"sleeping":{"totalRooms":350,"suites":20,"singleRooms":200,"doubleRooms":130},"singleRate":{"low":129.99,"high":249.99},"doubleRate":{"low":149.99,"high":299.99},"taxRate":8.5,"occupancyRate":75.5,"yearBuilt":1998,"yearRenovated":2021,"proximityFromAirport":{"distance":12.5},"restrictions":"No outside food or beverage permitted. Music must end by 11 PM.","maximumCapacity":{"seated":500,"standing":800}} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: createMeetingRoom + steps: + - stepId: test + operationId: createMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + amenities: + - PROJECTOR + capacities: + exhibits: + - layoutType: BOOTH_10x10 + maxExhibits: 50 + seating: + - layoutType: THEATER + maxAttendees: 250 + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-123 + hiddenOnProfile: false + name: Grand Ballroom + rates: + event: + applicationType: PER_DAY + value: 500 + moveIn: + applicationType: PER_DAY + value: 500 + moveOut: + applicationType: PER_DAY + value: 500 + successCriteria: + - condition: $statusCode == 201 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-123","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false,"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: listMeetingRoomsOverviews + steps: + - stepId: test + operationId: listMeetingRoomsOverviews + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: filter + in: query + value: hiddenOnProfile eq 'false' + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[]} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: updateMeetingRoom + steps: + - stepId: test + operationId: updateMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 2344f9ab-537e-412f-ad6d-264fedbf17a6 + requestBody: + contentType: application/json + payload: + amenities: + - PROJECTOR + capacities: + exhibits: + - layoutType: BOOTH_10x10 + maxExhibits: 50 + seating: + - layoutType: THEATER + maxAttendees: 250 + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-123 + hiddenOnProfile: false + name: Grand Ballroom + rates: + event: + applicationType: PER_DAY + value: 500 + moveIn: + applicationType: PER_DAY + value: 500 + moveOut: + applicationType: PER_DAY + value: 500 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-123","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false,"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: patchMeetingRoom + steps: + - stepId: test + operationId: patchMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 2a12f958-0ac4-4665-9210-449812da553a + requestBody: + contentType: application/merge-patch+json + payload: + amenities: + - PROJECTOR + capacities: null + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-RM-12345 + hiddenOnProfile: false + name: Grand Ballroom + rates: null + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-RM-12345","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: getMeetingRoomOverview + steps: + - stepId: test + operationId: getMeetingRoomOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 081078e3-8a73-49c6-b757-a3d52dbc2cc8 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"b2c3d4e5-f6a7-8901-bcde-f12345678901","name":"Grand Ballroom","hiddenOnProfile":false,"displayOrder":1} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true diff --git a/packages/java/README.md b/packages/java/README.md index aeb094228..6db8a0d3e 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.2' +implementation 'com.cvent:sdk:1.6.0' ``` Maven: @@ -52,7 +52,7 @@ Maven: com.cvent sdk - 1.5.2 + 1.6.0 ``` @@ -928,6 +928,22 @@ public class Application { * [addUserToAccountUserGroup](docs/sdks/users/README.md#addusertoaccountusergroup) - Associate User to Group * [deleteUserFromAccountUserGroup](docs/sdks/users/README.md#deleteuserfromaccountusergroup) - Delete User from Group +### [VenueMeetingRooms](docs/sdks/venuemeetingrooms/README.md) + +* [createMeetingRoom](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room +* [listMeetingRoomsOverviews](docs/sdks/venuemeetingrooms/README.md#listmeetingroomsoverviews) - List Meeting Rooms Overviews +* [updateMeetingRoom](docs/sdks/venuemeetingrooms/README.md#updatemeetingroom) - Update Meeting Room +* [patchMeetingRoom](docs/sdks/venuemeetingrooms/README.md#patchmeetingroom) - Patch Meeting Room +* [getMeetingRoomOverview](docs/sdks/venuemeetingrooms/README.md#getmeetingroomoverview) - Get Meeting Room Overview + +### [VenueProfiles](docs/sdks/venueprofiles/README.md) + +* [updateVenueDetails](docs/sdks/venueprofiles/README.md#updatevenuedetails) - Update Venue Details +* [patchVenueDetails](docs/sdks/venueprofiles/README.md#patchvenuedetails) - Patch Venue Details +* [getVenueDetailsOverview](docs/sdks/venueprofiles/README.md#getvenuedetailsoverview) - Get Venue Details Overview +* [updateVenueFacility](docs/sdks/venueprofiles/README.md#updatevenuefacility) - Update Venue Facility +* [patchVenueFacility](docs/sdks/venueprofiles/README.md#patchvenuefacility) - Patch Venue Facility + ### [Video](docs/sdks/video/README.md) * [listVideos](docs/sdks/video/README.md#listvideos) - List Videos @@ -1297,10 +1313,10 @@ public class Application { many more subclasses in the JDK platform). **Inherit from [`CventSDKError`](./src/main/java/models/errors/CventSDKError.java)**: -* [`com.cvent.models.errors.ErrorResponse`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse.java): Represents an error response with additional details of cascading error messages. Applicable to 18 of 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.* +* [`com.cvent.models.errors.ErrorResponse2`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse2.java): The error response. Applicable to 11 of 458 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 9 of 458 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 458 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 458 methods.* diff --git a/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md b/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md index 1153e1927..b90377739 100644 --- a/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md +++ b/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `contactFields` | [Optional\](../../models/components/ContactFields.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file +| `contactFields` | [Optional\](../../models/components/ContactFields2.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityAd.md b/packages/java/docs/models/components/ActivityAd.md new file mode 100644 index 000000000..5a09d06ef --- /dev/null +++ b/packages/java/docs/models/components/ActivityAd.md @@ -0,0 +1,14 @@ +# ActivityAd + +The details of the advertisement. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the ad. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the ad. | New Year Sale | +| `product` | *Optional\* | :heavy_minus_sign: | The product for which ad is created | ATTENDEE_HUB | +| `location` | [Optional\](../../models/components/AdLocation.md) | :heavy_minus_sign: | The placement of the ad within the specific product. | Home Page | +| `attribution` | [Optional\](../../models/components/Attribution.md) | :heavy_minus_sign: | The entity to which the ad is associated. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityAdJson.md b/packages/java/docs/models/components/ActivityAdJson.md deleted file mode 100644 index b680ff039..000000000 --- a/packages/java/docs/models/components/ActivityAdJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# ActivityAdJson - -The details of the advertisement. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the ad. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the ad. | New Year Sale | -| `product` | *Optional\* | :heavy_minus_sign: | The product for which ad is created | ATTENDEE_HUB | -| `location` | [Optional\](../../models/components/AdLocationJson.md) | :heavy_minus_sign: | The placement of the ad within the specific product. | Home Page | -| `attribution` | [Optional\](../../models/components/Attribution.md) | :heavy_minus_sign: | The entity to which the ad is associated. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityAppointment.md b/packages/java/docs/models/components/ActivityAppointment.md new file mode 100644 index 000000000..c875f2f4d --- /dev/null +++ b/packages/java/docs/models/components/ActivityAppointment.md @@ -0,0 +1,15 @@ +# ActivityAppointment + +An activity appointment. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | +| `code` | *Optional\* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | +| `appointmentEvent` | [Optional\](../../models/components/ActivityAppointmentAppointmentEvent.md) | :heavy_minus_sign: | N/A | | +| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment starts. | 2020-02-03T13:00:00.000Z | +| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment ends. | 2020-02-03T14:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityAppointmentAppointmentEvent.md b/packages/java/docs/models/components/ActivityAppointmentAppointmentEvent.md new file mode 100644 index 000000000..975420b6b --- /dev/null +++ b/packages/java/docs/models/components/ActivityAppointmentAppointmentEvent.md @@ -0,0 +1,9 @@ +# ActivityAppointmentAppointmentEvent + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `title` | *Optional\* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | +| `code` | *Optional\* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityAppointmentJson.md b/packages/java/docs/models/components/ActivityAppointmentJson.md deleted file mode 100644 index bc4649b96..000000000 --- a/packages/java/docs/models/components/ActivityAppointmentJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# ActivityAppointmentJson - -An activity appointment. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | -| `code` | *Optional\* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | -| `appointmentEvent` | [Optional\](../../models/components/ActivityAppointmentJsonAppointmentEvent.md) | :heavy_minus_sign: | N/A | | -| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment starts. | 2020-02-03T13:00:00.000Z | -| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment ends. | 2020-02-03T14:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityAppointmentJsonAppointmentEvent.md b/packages/java/docs/models/components/ActivityAppointmentJsonAppointmentEvent.md deleted file mode 100644 index 9a4541ef8..000000000 --- a/packages/java/docs/models/components/ActivityAppointmentJsonAppointmentEvent.md +++ /dev/null @@ -1,9 +0,0 @@ -# ActivityAppointmentJsonAppointmentEvent - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `title` | *Optional\* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | -| `code` | *Optional\* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityBaseAppointment.md b/packages/java/docs/models/components/ActivityBaseAppointment.md new file mode 100644 index 000000000..b7ffad4e5 --- /dev/null +++ b/packages/java/docs/models/components/ActivityBaseAppointment.md @@ -0,0 +1,13 @@ +# ActivityBaseAppointment + +Base entity of an activity appointment. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | +| `code` | *Optional\* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | +| `appointmentEvent` | [Optional\](../../models/components/ActivityBaseAppointmentAppointmentEvent.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityBaseAppointmentAppointmentEvent.md b/packages/java/docs/models/components/ActivityBaseAppointmentAppointmentEvent.md new file mode 100644 index 000000000..09207d118 --- /dev/null +++ b/packages/java/docs/models/components/ActivityBaseAppointmentAppointmentEvent.md @@ -0,0 +1,9 @@ +# ActivityBaseAppointmentAppointmentEvent + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `title` | *Optional\* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | +| `code` | *Optional\* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityBaseAppointmentJson.md b/packages/java/docs/models/components/ActivityBaseAppointmentJson.md deleted file mode 100644 index ad013367e..000000000 --- a/packages/java/docs/models/components/ActivityBaseAppointmentJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityBaseAppointmentJson - -Base entity of an activity appointment. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | -| `code` | *Optional\* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | -| `appointmentEvent` | [Optional\](../../models/components/ActivityBaseAppointmentJsonAppointmentEvent.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityBaseAppointmentJsonAppointmentEvent.md b/packages/java/docs/models/components/ActivityBaseAppointmentJsonAppointmentEvent.md deleted file mode 100644 index b200ece14..000000000 --- a/packages/java/docs/models/components/ActivityBaseAppointmentJsonAppointmentEvent.md +++ /dev/null @@ -1,9 +0,0 @@ -# ActivityBaseAppointmentJsonAppointmentEvent - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `title` | *Optional\* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | -| `code` | *Optional\* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityBoothStaff.md b/packages/java/docs/models/components/ActivityBoothStaff.md index 219d440fa..3b028f474 100644 --- a/packages/java/docs/models/components/ActivityBoothStaff.md +++ b/packages/java/docs/models/components/ActivityBoothStaff.md @@ -1,8 +1,6 @@ -# ~~ActivityBoothStaff~~ +# ActivityBoothStaff -Booth staff for the lead. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. +Booth staff for an activity. ## Fields diff --git a/packages/java/docs/models/components/ActivityContact.md b/packages/java/docs/models/components/ActivityContact.md index bf6187cda..f92f878cb 100644 --- a/packages/java/docs/models/components/ActivityContact.md +++ b/packages/java/docs/models/components/ActivityContact.md @@ -1,8 +1,6 @@ -# ~~ActivityContact~~ +# ActivityContact -Related contact. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. +An activity contact. ## Fields diff --git a/packages/java/docs/models/components/ActivityContactJson.md b/packages/java/docs/models/components/ActivityContactJson.md deleted file mode 100644 index c2b186d6e..000000000 --- a/packages/java/docs/models/components/ActivityContactJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityContactJson - -An activity contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the attendee. | Henry | -| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the attendee. | Potterfield | -| `email` | *Optional\* | :heavy_minus_sign: | The email address of the attendee. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityData.md b/packages/java/docs/models/components/ActivityData.md new file mode 100644 index 000000000..1b2c26862 --- /dev/null +++ b/packages/java/docs/models/components/ActivityData.md @@ -0,0 +1,4 @@ +# ActivityData + +This is used to denote the type of the attendee activity + diff --git a/packages/java/docs/models/components/ActivityDataAppointmentExternal.md b/packages/java/docs/models/components/ActivityDataAppointmentExternal.md new file mode 100644 index 000000000..c5980ebf6 --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataAppointmentExternal.md @@ -0,0 +1,12 @@ +# ActivityDataAppointmentExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent1.md b/packages/java/docs/models/components/ActivityDataEvent1.md new file mode 100644 index 000000000..15a9b0c5b --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent1.md @@ -0,0 +1,10 @@ +# ActivityDataEvent1 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent2.md b/packages/java/docs/models/components/ActivityDataEvent2.md new file mode 100644 index 000000000..f30f05112 --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent2.md @@ -0,0 +1,10 @@ +# ActivityDataEvent2 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent3.md b/packages/java/docs/models/components/ActivityDataEvent3.md new file mode 100644 index 000000000..43530818d --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent3.md @@ -0,0 +1,10 @@ +# ActivityDataEvent3 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent4.md b/packages/java/docs/models/components/ActivityDataEvent4.md new file mode 100644 index 000000000..6d936e359 --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent4.md @@ -0,0 +1,10 @@ +# ActivityDataEvent4 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent5.md b/packages/java/docs/models/components/ActivityDataEvent5.md new file mode 100644 index 000000000..05da88d49 --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent5.md @@ -0,0 +1,10 @@ +# ActivityDataEvent5 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent6.md b/packages/java/docs/models/components/ActivityDataEvent6.md new file mode 100644 index 000000000..c81ba22cc --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent6.md @@ -0,0 +1,10 @@ +# ActivityDataEvent6 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent7.md b/packages/java/docs/models/components/ActivityDataEvent7.md new file mode 100644 index 000000000..afe96ba78 --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent7.md @@ -0,0 +1,10 @@ +# ActivityDataEvent7 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEvent8.md b/packages/java/docs/models/components/ActivityDataEvent8.md new file mode 100644 index 000000000..a161e3d65 --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEvent8.md @@ -0,0 +1,10 @@ +# ActivityDataEvent8 + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataEventExternal.md b/packages/java/docs/models/components/ActivityDataEventExternal.md new file mode 100644 index 000000000..cf2a3a15c --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataEventExternal.md @@ -0,0 +1,12 @@ +# ActivityDataEventExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataExhibitorExternal.md b/packages/java/docs/models/components/ActivityDataExhibitorExternal.md new file mode 100644 index 000000000..1f14606dd --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataExhibitorExternal.md @@ -0,0 +1,12 @@ +# ActivityDataExhibitorExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJson.md b/packages/java/docs/models/components/ActivityDataJson.md deleted file mode 100644 index 7a37d84a9..000000000 --- a/packages/java/docs/models/components/ActivityDataJson.md +++ /dev/null @@ -1,4 +0,0 @@ -# ActivityDataJson - -This is used to denote the type of the attendee activity - diff --git a/packages/java/docs/models/components/ActivityDataJsonAppointmentExternal.md b/packages/java/docs/models/components/ActivityDataJsonAppointmentExternal.md deleted file mode 100644 index bdb8606ea..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonAppointmentExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonAppointmentExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent1.md b/packages/java/docs/models/components/ActivityDataJsonEvent1.md deleted file mode 100644 index 435ea49b0..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent1.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent1 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent10.md b/packages/java/docs/models/components/ActivityDataJsonEvent10.md deleted file mode 100644 index 984d167a1..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent10.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent10 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent11.md b/packages/java/docs/models/components/ActivityDataJsonEvent11.md deleted file mode 100644 index 02d1bf723..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent11.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent11 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent2.md b/packages/java/docs/models/components/ActivityDataJsonEvent2.md deleted file mode 100644 index 19cf23588..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent2.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent2 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent3.md b/packages/java/docs/models/components/ActivityDataJsonEvent3.md deleted file mode 100644 index 2532b4320..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent3.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent3 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent4.md b/packages/java/docs/models/components/ActivityDataJsonEvent4.md deleted file mode 100644 index 95f0647fc..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent4.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent4 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent5.md b/packages/java/docs/models/components/ActivityDataJsonEvent5.md deleted file mode 100644 index d1021dc41..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent5.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent5 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent6.md b/packages/java/docs/models/components/ActivityDataJsonEvent6.md deleted file mode 100644 index ddb72bc2b..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent6.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent6 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent7.md b/packages/java/docs/models/components/ActivityDataJsonEvent7.md deleted file mode 100644 index 70ecfe5a6..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent7.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent7 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent8.md b/packages/java/docs/models/components/ActivityDataJsonEvent8.md deleted file mode 100644 index e4b811a72..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent8.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent8 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEvent9.md b/packages/java/docs/models/components/ActivityDataJsonEvent9.md deleted file mode 100644 index 153722995..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEvent9.md +++ /dev/null @@ -1,10 +0,0 @@ -# ActivityDataJsonEvent9 - -The event in which this activity occurred. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonEventExternal.md b/packages/java/docs/models/components/ActivityDataJsonEventExternal.md deleted file mode 100644 index ebd34db99..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonEventExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonEventExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonExhibitorExternal.md b/packages/java/docs/models/components/ActivityDataJsonExhibitorExternal.md deleted file mode 100644 index c0fb34b77..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonExhibitorExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonExhibitorExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataJsonSessionExternal.md b/packages/java/docs/models/components/ActivityDataJsonSessionExternal.md deleted file mode 100644 index 3b9cc1b9f..000000000 --- a/packages/java/docs/models/components/ActivityDataJsonSessionExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ActivityDataJsonSessionExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityDataSessionExternal.md b/packages/java/docs/models/components/ActivityDataSessionExternal.md new file mode 100644 index 000000000..1bdee1aa1 --- /dev/null +++ b/packages/java/docs/models/components/ActivityDataSessionExternal.md @@ -0,0 +1,12 @@ +# ActivityDataSessionExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitor.md b/packages/java/docs/models/components/ActivityExhibitor.md new file mode 100644 index 000000000..c04750193 --- /dev/null +++ b/packages/java/docs/models/components/ActivityExhibitor.md @@ -0,0 +1,13 @@ +# ActivityExhibitor + +An activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the exhibitor. | | +| `code` | *Optional\* | :heavy_minus_sign: | Unique code of an exhibitor at a booth. | CODE_UPDATE_1 | +| `marketingCode` | *Optional\* | :heavy_minus_sign: | The marketing code of an exhibitor. | MARKETING_CODE_1 | +| `name` | *Optional\* | :heavy_minus_sign: | The Name of an exhibitor. | Example Company | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorDocument.md b/packages/java/docs/models/components/ActivityExhibitorDocument.md new file mode 100644 index 000000000..bc9df757a --- /dev/null +++ b/packages/java/docs/models/components/ActivityExhibitorDocument.md @@ -0,0 +1,13 @@ +# ActivityExhibitorDocument + +Document for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the document. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *Optional\* | :heavy_minus_sign: | The title of the document. | FAQs | +| `format` | *Optional\* | :heavy_minus_sign: | The format of the document eg. doc, docx, gif, jpg, pdf, etc. | pdf | +| `downloaded` | *Optional\* | :heavy_minus_sign: | If the document is downloaded. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorDocumentJson.md b/packages/java/docs/models/components/ActivityExhibitorDocumentJson.md deleted file mode 100644 index cdae9d47a..000000000 --- a/packages/java/docs/models/components/ActivityExhibitorDocumentJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityExhibitorDocumentJson - -Document for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the document. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *Optional\* | :heavy_minus_sign: | The title of the document. | FAQs | -| `format` | *Optional\* | :heavy_minus_sign: | The format of the document eg. doc, docx, gif, jpg, pdf, etc. | pdf | -| `downloaded` | *Optional\* | :heavy_minus_sign: | If the document is downloaded. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorJson.md b/packages/java/docs/models/components/ActivityExhibitorJson.md deleted file mode 100644 index d5b8ce543..000000000 --- a/packages/java/docs/models/components/ActivityExhibitorJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityExhibitorJson - -An activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the exhibitor. | | -| `code` | *Optional\* | :heavy_minus_sign: | Unique code of an exhibitor at a booth. | CODE_UPDATE_1 | -| `marketingCode` | *Optional\* | :heavy_minus_sign: | The marketing code of an exhibitor. | MARKETING_CODE_1 | -| `name` | *Optional\* | :heavy_minus_sign: | The Name of an exhibitor. | Example Company | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorNavigationSource.md b/packages/java/docs/models/components/ActivityExhibitorNavigationSource.md new file mode 100644 index 000000000..1948401b5 --- /dev/null +++ b/packages/java/docs/models/components/ActivityExhibitorNavigationSource.md @@ -0,0 +1,11 @@ +# ActivityExhibitorNavigationSource + +Navigation source for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `type` | *Optional\* | :heavy_minus_sign: | The source type in the attendee hub from where the user navigated to the exhibitor booth. | Sponsored Session | +| `name` | *Optional\* | :heavy_minus_sign: | The source name in the attendee hub from where the user navigated to the exhibitor booth. | Session name | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorNavigationSourceJson.md b/packages/java/docs/models/components/ActivityExhibitorNavigationSourceJson.md deleted file mode 100644 index 72d342f98..000000000 --- a/packages/java/docs/models/components/ActivityExhibitorNavigationSourceJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActivityExhibitorNavigationSourceJson - -Navigation source for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `type` | *Optional\* | :heavy_minus_sign: | The source type in the attendee hub from where the user navigated to the exhibitor booth. | Sponsored Session | -| `name` | *Optional\* | :heavy_minus_sign: | The source name in the attendee hub from where the user navigated to the exhibitor booth. | Session name | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorSponsorshipLevel.md b/packages/java/docs/models/components/ActivityExhibitorSponsorshipLevel.md new file mode 100644 index 000000000..a24a4c7dd --- /dev/null +++ b/packages/java/docs/models/components/ActivityExhibitorSponsorshipLevel.md @@ -0,0 +1,11 @@ +# ActivityExhibitorSponsorshipLevel + +Sponsorship level for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the sponsorship level. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the sponsorship level. | Gold | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorSponsorshipLevelJson.md b/packages/java/docs/models/components/ActivityExhibitorSponsorshipLevelJson.md deleted file mode 100644 index b913b329d..000000000 --- a/packages/java/docs/models/components/ActivityExhibitorSponsorshipLevelJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActivityExhibitorSponsorshipLevelJson - -Sponsorship level for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the sponsorship level. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the sponsorship level. | Gold | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorWebLinkJson.md b/packages/java/docs/models/components/ActivityExhibitorWebLinkJson.md deleted file mode 100644 index 987f4e9a8..000000000 --- a/packages/java/docs/models/components/ActivityExhibitorWebLinkJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActivityExhibitorWebLinkJson - -A web-link for an activity exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the weblink. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the weblink. | Cvent's website | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityExhibitorWeblink.md b/packages/java/docs/models/components/ActivityExhibitorWeblink.md new file mode 100644 index 000000000..3b5f2208a --- /dev/null +++ b/packages/java/docs/models/components/ActivityExhibitorWeblink.md @@ -0,0 +1,11 @@ +# ActivityExhibitorWeblink + +A web-link for an activity exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the weblink. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the weblink. | Cvent's website | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityJson.md b/packages/java/docs/models/components/ActivityJson.md deleted file mode 100644 index 13861f61b..000000000 --- a/packages/java/docs/models/components/ActivityJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityJson - -An attendee activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `attendee` | [UuidJson](../../models/components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [EventActivityDetailsJson](../../models/components/EventActivityDetailsJson.md) | :heavy_check_mark: | Details for an event activity. | | -| `time` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | -| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | -| `name` | *Optional\* | :heavy_minus_sign: | Unique name corresponding to the attendee activity type. | Registered for Event | -| `type` | [Optional\](../../models/components/ActivityTypeJson.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity. | event.registered | -| `data` | [Optional\](../../models/components/ActivityDataJson.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityLead.md b/packages/java/docs/models/components/ActivityLead.md new file mode 100644 index 000000000..8707bad6b --- /dev/null +++ b/packages/java/docs/models/components/ActivityLead.md @@ -0,0 +1,13 @@ +# ActivityLead + +An activity lead. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | Activity Lead ID | | +| `deviceId` | *Optional\* | :heavy_minus_sign: | The unique identifier of the device. | 123 | +| `deviceName` | *Optional\* | :heavy_minus_sign: | Name of the device. | Jack's iPhone | +| `boothStaff` | [Optional\](../../models/components/ActivityBoothStaff.md) | :heavy_minus_sign: | Booth staff for an activity. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityLeadJson.md b/packages/java/docs/models/components/ActivityLeadJson.md deleted file mode 100644 index 7c45df7d8..000000000 --- a/packages/java/docs/models/components/ActivityLeadJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActivityLeadJson - -An activity lead. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Activity Lead ID | | -| `deviceId` | *Optional\* | :heavy_minus_sign: | The unique identifier of the device. | 123 | -| `deviceName` | *Optional\* | :heavy_minus_sign: | Name of the device. | Jack's iPhone | -| `boothStaff` | [Optional\](../../models/components/ZeroAllOf4.md) | :heavy_minus_sign: | Booth staff for an activity. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityType.md b/packages/java/docs/models/components/ActivityType.md new file mode 100644 index 000000000..77c0ef67d --- /dev/null +++ b/packages/java/docs/models/components/ActivityType.md @@ -0,0 +1,69 @@ +# ActivityType + +This is used to denote the type of the attendee activity. + +## Example Usage + +```java +import com.cvent.models.components.ActivityType; + +ActivityType value = ActivityType.APPOINTMENT_ACCEPTED; +``` + + +## Values + +| Name | Value | +| --------------------------------- | --------------------------------- | +| `APPOINTMENT_ACCEPTED` | appointment.accepted | +| `APPOINTMENT_CANCELLED` | appointment.cancelled | +| `APPOINTMENT_CHECKED_IN` | appointment.checkedIn | +| `APPOINTMENT_CREATED` | appointment.created | +| `APPOINTMENT_DECLINED` | appointment.declined | +| `APPOINTMENT_DENIED` | appointment.denied | +| `APPOINTMENT_RESCHEDULED` | appointment.rescheduled | +| `EMAIL_BOUNCED` | email.bounced | +| `EMAIL_CLICKED` | email.clicked | +| `EMAIL_OPENED` | email.opened | +| `EMAIL_SENT` | email.sent | +| `EMAIL_UNDELIVERED` | email.undelivered | +| `EVENT_ATTENDEE_HUB_VISITED` | event.attendeeHubVisited | +| `EVENT_ATTENDEE_SUBSTITUTED` | event.attendeeSubstituted | +| `EVENT_BANNER_LINK_CLICKED` | event.bannerLinkClicked | +| `EVENT_CHECKED_IN` | event.checkedIn | +| `EVENT_CHECKED_OUT` | event.checkedOut | +| `EVENT_CUSTOM_CARD_OPENED` | event.customCardOpened | +| `EVENT_FEEDBACK_SUBMITTED` | event.feedbackSubmitted | +| `EVENT_NO_SHOW` | event.noShow | +| `EVENT_PAGE_VISIT_TRACKED` | event.pageVisitTracked | +| `EVENT_REGISTERED` | event.registered | +| `EVENT_REGISTRATION_ABANDONED` | event.registrationAbandoned | +| `EVENT_REGISTRATION_CANCELLED` | event.registrationCancelled | +| `EVENT_VIDEO_PLAYED` | event.videoPlayed | +| `EVENT_WAITLISTED` | event.waitlisted | +| `EXHIBITOR_DOCUMENT_OPENED` | exhibitor.documentOpened | +| `EXHIBITOR_SOCIAL_LINK_OPENED` | exhibitor.socialLinkOpened | +| `EXHIBITOR_VIEWED` | exhibitor.viewed | +| `EXHIBITOR_VIRTUAL_BOOTH_JOINED` | exhibitor.virtualBoothJoined | +| `EXHIBITOR_WEBLINK_OPENED` | exhibitor.weblinkOpened | +| `LEAD_INBOUND_CREATED` | lead.inboundCreated | +| `LEAD_QUALIFIED` | lead.qualified | +| `LEAD_SCANNED` | lead.scanned | +| `SESSION_CHECKED_IN` | session.checkedIn | +| `SESSION_CHECKED_OUT` | session.checkedOut | +| `SESSION_ENROLLED` | session.enrolled | +| `SESSION_FEEDBACK_SUBMITTED` | session.feedbackSubmitted | +| `SESSION_NO_SHOW` | session.noShow | +| `SESSION_POLL_RESPONSE_SUBMITTED` | session.pollResponseSubmitted | +| `SESSION_QUESTION_ASKED` | session.questionAsked | +| `SESSION_QUESTION_UPVOTED` | session.questionUpvoted | +| `SESSION_UNENROLLED` | session.unenrolled | +| `SESSION_WAITLISTED` | session.waitlisted | +| `SPEAKER_FEEDBACK_SUBMITTED` | speaker.feedbackSubmitted | +| `SPEAKER_FILE_DOWNLOADED` | speaker.fileDownloaded | +| `APPOINTMENT_EXTERNAL` | appointment.external | +| `EVENT_EXTERNAL` | event.external | +| `EXHIBITOR_EXTERNAL` | exhibitor.external | +| `SESSION_EXTERNAL` | session.external | +| `EVENT_AD_VIEWED` | event.adViewed | +| `EVENT_AD_CLICKED` | event.adClicked | \ No newline at end of file diff --git a/packages/java/docs/models/components/ActivityTypeJson.md b/packages/java/docs/models/components/ActivityTypeJson.md deleted file mode 100644 index cefb39616..000000000 --- a/packages/java/docs/models/components/ActivityTypeJson.md +++ /dev/null @@ -1,69 +0,0 @@ -# ActivityTypeJson - -This is used to denote the type of the attendee activity. - -## Example Usage - -```java -import com.cvent.models.components.ActivityTypeJson; - -ActivityTypeJson value = ActivityTypeJson.APPOINTMENT_ACCEPTED; -``` - - -## Values - -| Name | Value | -| --------------------------------- | --------------------------------- | -| `APPOINTMENT_ACCEPTED` | appointment.accepted | -| `APPOINTMENT_CANCELLED` | appointment.cancelled | -| `APPOINTMENT_CHECKED_IN` | appointment.checkedIn | -| `APPOINTMENT_CREATED` | appointment.created | -| `APPOINTMENT_DECLINED` | appointment.declined | -| `APPOINTMENT_DENIED` | appointment.denied | -| `APPOINTMENT_RESCHEDULED` | appointment.rescheduled | -| `EMAIL_BOUNCED` | email.bounced | -| `EMAIL_CLICKED` | email.clicked | -| `EMAIL_OPENED` | email.opened | -| `EMAIL_SENT` | email.sent | -| `EMAIL_UNDELIVERED` | email.undelivered | -| `EVENT_ATTENDEE_HUB_VISITED` | event.attendeeHubVisited | -| `EVENT_ATTENDEE_SUBSTITUTED` | event.attendeeSubstituted | -| `EVENT_BANNER_LINK_CLICKED` | event.bannerLinkClicked | -| `EVENT_CHECKED_IN` | event.checkedIn | -| `EVENT_CHECKED_OUT` | event.checkedOut | -| `EVENT_CUSTOM_CARD_OPENED` | event.customCardOpened | -| `EVENT_FEEDBACK_SUBMITTED` | event.feedbackSubmitted | -| `EVENT_NO_SHOW` | event.noShow | -| `EVENT_PAGE_VISIT_TRACKED` | event.pageVisitTracked | -| `EVENT_REGISTERED` | event.registered | -| `EVENT_REGISTRATION_ABANDONED` | event.registrationAbandoned | -| `EVENT_REGISTRATION_CANCELLED` | event.registrationCancelled | -| `EVENT_VIDEO_PLAYED` | event.videoPlayed | -| `EVENT_WAITLISTED` | event.waitlisted | -| `EXHIBITOR_DOCUMENT_OPENED` | exhibitor.documentOpened | -| `EXHIBITOR_SOCIAL_LINK_OPENED` | exhibitor.socialLinkOpened | -| `EXHIBITOR_VIEWED` | exhibitor.viewed | -| `EXHIBITOR_VIRTUAL_BOOTH_JOINED` | exhibitor.virtualBoothJoined | -| `EXHIBITOR_WEBLINK_OPENED` | exhibitor.weblinkOpened | -| `LEAD_INBOUND_CREATED` | lead.inboundCreated | -| `LEAD_QUALIFIED` | lead.qualified | -| `LEAD_SCANNED` | lead.scanned | -| `SESSION_CHECKED_IN` | session.checkedIn | -| `SESSION_CHECKED_OUT` | session.checkedOut | -| `SESSION_ENROLLED` | session.enrolled | -| `SESSION_FEEDBACK_SUBMITTED` | session.feedbackSubmitted | -| `SESSION_NO_SHOW` | session.noShow | -| `SESSION_POLL_RESPONSE_SUBMITTED` | session.pollResponseSubmitted | -| `SESSION_QUESTION_ASKED` | session.questionAsked | -| `SESSION_QUESTION_UPVOTED` | session.questionUpvoted | -| `SESSION_UNENROLLED` | session.unenrolled | -| `SESSION_WAITLISTED` | session.waitlisted | -| `SPEAKER_FEEDBACK_SUBMITTED` | speaker.feedbackSubmitted | -| `SPEAKER_FILE_DOWNLOADED` | speaker.fileDownloaded | -| `APPOINTMENT_EXTERNAL` | appointment.external | -| `EVENT_EXTERNAL` | event.external | -| `EXHIBITOR_EXTERNAL` | exhibitor.external | -| `SESSION_EXTERNAL` | session.external | -| `EVENT_AD_VIEWED` | event.adViewed | -| `EVENT_AD_CLICKED` | event.adClicked | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdLocation.md b/packages/java/docs/models/components/AdLocation.md new file mode 100644 index 000000000..ac3156d1b --- /dev/null +++ b/packages/java/docs/models/components/AdLocation.md @@ -0,0 +1,20 @@ +# AdLocation + +The placement of the ad within the specific product. + +## Example Usage + +```java +import com.cvent.models.components.AdLocation; + +AdLocation value = AdLocation.HOME_PAGE; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `HOME_PAGE` | Home Page | +| `EXHIBITOR_LIST` | Exhibitor List | +| `SESSION_LIST` | Session List | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdLocationJson.md b/packages/java/docs/models/components/AdLocationJson.md deleted file mode 100644 index b705f1f87..000000000 --- a/packages/java/docs/models/components/AdLocationJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# AdLocationJson - -The placement of the ad within the specific product. - -## Example Usage - -```java -import com.cvent.models.components.AdLocationJson; - -AdLocationJson value = AdLocationJson.HOME_PAGE; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `HOME_PAGE` | Home Page | -| `EXHIBITOR_LIST` | Exhibitor List | -| `SESSION_LIST` | Session List | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressInfo.md b/packages/java/docs/models/components/AddressInfo.md new file mode 100644 index 000000000..787d7d3a5 --- /dev/null +++ b/packages/java/docs/models/components/AddressInfo.md @@ -0,0 +1,16 @@ +# AddressInfo + +Venue address information. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *Optional\* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *Optional\* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *String* | :heavy_check_mark: | City. | Vienna | +| `stateProvince` | [Optional\](../../models/components/StateProvince1.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `zipPostalCode` | *Optional\* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [Country](../../models/components/Country.md) | :heavy_check_mark: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `directions` | *Optional\* | :heavy_minus_sign: | Directions or instructions for getting to the venue. | Take I-66 West to Exit 67, then follow signs to Trap Road. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Answer2.md b/packages/java/docs/models/components/Answer2.md deleted file mode 100644 index 3c9195576..000000000 --- a/packages/java/docs/models/components/Answer2.md +++ /dev/null @@ -1,12 +0,0 @@ -# Answer2 - -A JSON schema representing an answer object. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `type` | [AnswerType1](../../models/components/AnswerType1.md) | :heavy_check_mark: | Type of answer | Choice | -| `value` | *Optional\* | :heavy_minus_sign: | Answered value like: Choice text, text answer input etc. | Choice A | -| `choice` | [Optional\](../../models/components/Answer2Choice.md) | :heavy_minus_sign: | The choice that was selected. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/Answer21.md b/packages/java/docs/models/components/Answer21.md new file mode 100644 index 000000000..18fb94d73 --- /dev/null +++ b/packages/java/docs/models/components/Answer21.md @@ -0,0 +1,12 @@ +# Answer21 + +A question answer. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| ~~`type`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. | simple | \ No newline at end of file diff --git a/packages/java/docs/models/components/Answer22.md b/packages/java/docs/models/components/Answer22.md new file mode 100644 index 000000000..ff6f9509c --- /dev/null +++ b/packages/java/docs/models/components/Answer22.md @@ -0,0 +1,12 @@ +# Answer22 + +A JSON schema representing an answer object. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `type` | [AnswerType11](../../models/components/AnswerType11.md) | :heavy_check_mark: | Type of answer | Choice | +| `value` | *Optional\* | :heavy_minus_sign: | Answered value like: Choice text, text answer input etc. | Choice A | +| `choice` | [Optional\](../../models/components/Answer2Choice.md) | :heavy_minus_sign: | The choice that was selected. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AnswerJson.md b/packages/java/docs/models/components/AnswerJson.md index 770dfdb20..4102d2131 100644 --- a/packages/java/docs/models/components/AnswerJson.md +++ b/packages/java/docs/models/components/AnswerJson.md @@ -7,7 +7,7 @@ A survey answer. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [AnswerTypeJson1](../../models/components/AnswerTypeJson1.md) | :heavy_check_mark: | Type of answer | ChoiceText | +| `type` | [AnswerTypeJson](../../models/components/AnswerTypeJson.md) | :heavy_check_mark: | Type of answer | ChoiceText | | `value` | *Optional\* | :heavy_minus_sign: | Value property is used to send information like string, number and date in case of following types of answers only: ChoiceText, Text, Comment, Other. In case of Rank Order question, rank should be put into value. Refer to questions resource to get choice label or category label from their respective ids. | 1 | | `choice` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `category` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/java/docs/models/components/AnswerJson1.md b/packages/java/docs/models/components/AnswerJson1.md deleted file mode 100644 index b45cdfcf1..000000000 --- a/packages/java/docs/models/components/AnswerJson1.md +++ /dev/null @@ -1,12 +0,0 @@ -# AnswerJson1 - -A question answer. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| ~~`type`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. | simple | \ No newline at end of file diff --git a/packages/java/docs/models/components/AnswerType1.md b/packages/java/docs/models/components/AnswerType1.md deleted file mode 100644 index 5bcb2fb20..000000000 --- a/packages/java/docs/models/components/AnswerType1.md +++ /dev/null @@ -1,21 +0,0 @@ -# AnswerType1 - -Type of answer - -## Example Usage - -```java -import com.cvent.models.components.AnswerType1; - -AnswerType1 value = AnswerType1.CHOICE; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `CHOICE` | Choice | -| `TEXT` | Text | -| `OTHER` | Other | -| `NA` | NA | \ No newline at end of file diff --git a/packages/java/docs/models/components/AnswerType11.md b/packages/java/docs/models/components/AnswerType11.md new file mode 100644 index 000000000..8a2e78d73 --- /dev/null +++ b/packages/java/docs/models/components/AnswerType11.md @@ -0,0 +1,21 @@ +# AnswerType11 + +Type of answer + +## Example Usage + +```java +import com.cvent.models.components.AnswerType11; + +AnswerType11 value = AnswerType11.CHOICE; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `CHOICE` | Choice | +| `TEXT` | Text | +| `OTHER` | Other | +| `NA` | NA | \ No newline at end of file diff --git a/packages/java/docs/models/components/AnswerType12.md b/packages/java/docs/models/components/AnswerType12.md new file mode 100644 index 000000000..35115acf0 --- /dev/null +++ b/packages/java/docs/models/components/AnswerType12.md @@ -0,0 +1,25 @@ +# AnswerType12 + +Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + +Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + +Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + +In all other cases, `answerType` is not expected to be set. + +## Example Usage + +```java +import com.cvent.models.components.AnswerType12; + +AnswerType12 value = AnswerType12.OTHER; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `OTHER` | Other | +| `NA` | NA | \ No newline at end of file diff --git a/packages/java/docs/models/components/AnswerTypeJson.md b/packages/java/docs/models/components/AnswerTypeJson.md index 3bd522e53..892d7d1c3 100644 --- a/packages/java/docs/models/components/AnswerTypeJson.md +++ b/packages/java/docs/models/components/AnswerTypeJson.md @@ -1,25 +1,24 @@ # AnswerTypeJson -Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - -Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - -Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - -In all other cases, `answerType` is not expected to be set. +Type of answer ## Example Usage ```java import com.cvent.models.components.AnswerTypeJson; -AnswerTypeJson value = AnswerTypeJson.OTHER; +AnswerTypeJson value = AnswerTypeJson.CHOICE; ``` ## Values -| Name | Value | -| ------- | ------- | -| `OTHER` | Other | -| `NA` | NA | \ No newline at end of file +| Name | Value | +| ------------- | ------------- | +| `CHOICE` | Choice | +| `TEXT` | Text | +| `CHOICE_TEXT` | ChoiceText | +| `COMMENT` | Comment | +| `OTHER` | Other | +| `NA` | NA | +| `FILE` | File | \ No newline at end of file diff --git a/packages/java/docs/models/components/AnswerTypeJson1.md b/packages/java/docs/models/components/AnswerTypeJson1.md deleted file mode 100644 index 793eb64ea..000000000 --- a/packages/java/docs/models/components/AnswerTypeJson1.md +++ /dev/null @@ -1,24 +0,0 @@ -# AnswerTypeJson1 - -Type of answer - -## Example Usage - -```java -import com.cvent.models.components.AnswerTypeJson1; - -AnswerTypeJson1 value = AnswerTypeJson1.CHOICE; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `CHOICE` | Choice | -| `TEXT` | Text | -| `CHOICE_TEXT` | ChoiceText | -| `COMMENT` | Comment | -| `OTHER` | Other | -| `NA` | NA | -| `FILE` | File | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentAccepted.md b/packages/java/docs/models/components/AppointmentAccepted.md index 5ad52263e..e629893db 100644 --- a/packages/java/docs/models/components/AppointmentAccepted.md +++ b/packages/java/docs/models/components/AppointmentAccepted.md @@ -5,7 +5,7 @@ Appointment activity ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [Optional\](../../models/components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [Optional\](../../models/components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentCancelled.md b/packages/java/docs/models/components/AppointmentCancelled.md index 1eb8386fb..07a586878 100644 --- a/packages/java/docs/models/components/AppointmentCancelled.md +++ b/packages/java/docs/models/components/AppointmentCancelled.md @@ -5,7 +5,7 @@ Appointment activity ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [Optional\](../../models/components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [Optional\](../../models/components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentCheckedIn.md b/packages/java/docs/models/components/AppointmentCheckedIn.md index ad8b8735f..48f97a6dc 100644 --- a/packages/java/docs/models/components/AppointmentCheckedIn.md +++ b/packages/java/docs/models/components/AppointmentCheckedIn.md @@ -7,6 +7,6 @@ Appointment checked-in activity. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `appointment` | [Optional\](../../models/components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | | +| `appointment` | [Optional\](../../models/components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | | | `checkedIn` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked in to the appointment. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentCreated.md b/packages/java/docs/models/components/AppointmentCreated.md index 38164dba0..ffee5bbc5 100644 --- a/packages/java/docs/models/components/AppointmentCreated.md +++ b/packages/java/docs/models/components/AppointmentCreated.md @@ -5,7 +5,7 @@ Appointment created activity. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [Optional\](../../models/components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [Optional\](../../models/components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentDeclined.md b/packages/java/docs/models/components/AppointmentDeclined.md index 110441a8b..82950cc8d 100644 --- a/packages/java/docs/models/components/AppointmentDeclined.md +++ b/packages/java/docs/models/components/AppointmentDeclined.md @@ -5,7 +5,7 @@ Appointment activity ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [Optional\](../../models/components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [Optional\](../../models/components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentDenied.md b/packages/java/docs/models/components/AppointmentDenied.md index 18c45497a..b315916a1 100644 --- a/packages/java/docs/models/components/AppointmentDenied.md +++ b/packages/java/docs/models/components/AppointmentDenied.md @@ -5,7 +5,7 @@ Appointment denied activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `appointment` | [Optional\](../../models/components/ActivityBaseAppointmentJson.md) | :heavy_minus_sign: | Base entity of an activity appointment. | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `appointment` | [Optional\](../../models/components/ActivityBaseAppointment.md) | :heavy_minus_sign: | Base entity of an activity appointment. | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentPaginatedResponse.md b/packages/java/docs/models/components/AppointmentPaginatedResponse.md index d6ef4692d..ea8106e83 100644 --- a/packages/java/docs/models/components/AppointmentPaginatedResponse.md +++ b/packages/java/docs/models/components/AppointmentPaginatedResponse.md @@ -8,4 +8,4 @@ The response for a request of appointments, including the paging object. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[ZeroAllOf3](../../models/components/ZeroAllOf3.md)> | :heavy_check_mark: | Collection of appointments and their related details. | \ No newline at end of file +| `data` | List\<[ZeroAllOf2](../../models/components/ZeroAllOf2.md)> | :heavy_check_mark: | Collection of appointments and their related details. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentRescheduled.md b/packages/java/docs/models/components/AppointmentRescheduled.md index 435360df7..711bea9be 100644 --- a/packages/java/docs/models/components/AppointmentRescheduled.md +++ b/packages/java/docs/models/components/AppointmentRescheduled.md @@ -5,7 +5,7 @@ Appointment created activity. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [Optional\](../../models/components/ActivityAppointmentJson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [Optional\](../../models/components/ActivityAppointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AreaMeasurement.md b/packages/java/docs/models/components/AreaMeasurement.md new file mode 100644 index 000000000..d6f1239e3 --- /dev/null +++ b/packages/java/docs/models/components/AreaMeasurement.md @@ -0,0 +1,11 @@ +# AreaMeasurement + +Measurement of area in square feet or square meters. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | The numeric value of the area measurement. | 1500 | +| `unit` | [AreaMeasurementUnit](../../models/components/AreaMeasurementUnit.md) | :heavy_check_mark: | The unit of measurement for the area. | SQUARE_FEET | \ No newline at end of file diff --git a/packages/java/docs/models/components/AreaMeasurementUnit.md b/packages/java/docs/models/components/AreaMeasurementUnit.md new file mode 100644 index 000000000..1d5d4e384 --- /dev/null +++ b/packages/java/docs/models/components/AreaMeasurementUnit.md @@ -0,0 +1,19 @@ +# AreaMeasurementUnit + +The unit of measurement for the area. + +## Example Usage + +```java +import com.cvent.models.components.AreaMeasurementUnit; + +AreaMeasurementUnit value = AreaMeasurementUnit.SQUARE_FEET; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `SQUARE_FEET` | SQUARE_FEET | +| `SQUARE_METERS` | SQUARE_METERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee11.md b/packages/java/docs/models/components/Attendee11.md index 0c042df18..8bbe291ca 100644 --- a/packages/java/docs/models/components/Attendee11.md +++ b/packages/java/docs/models/components/Attendee11.md @@ -32,14 +32,14 @@ An event attendee. | `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 | +| `unsubscribed` | *Optional\* | :heavy_minus_sign: | 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 is read-only; to update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). | 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. | | +| ~~`questions`~~ | List\<[CustomFieldSchema1](../../models/components/CustomFieldSchema1.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 | diff --git a/packages/java/docs/models/components/AttendeeActivitiesPaginatedResponse.md b/packages/java/docs/models/components/AttendeeActivitiesPaginatedResponse.md index 70626f9fc..b7efa2ea9 100644 --- a/packages/java/docs/models/components/AttendeeActivitiesPaginatedResponse.md +++ b/packages/java/docs/models/components/AttendeeActivitiesPaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of attendee activities. This include ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[ActivityJson](../../models/components/ActivityJson.md)> | :heavy_check_mark: | Collection of attendee activities. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[AttendeeActivity](../../models/components/AttendeeActivity.md)> | :heavy_check_mark: | Collection of attendee activities. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeActivity.md b/packages/java/docs/models/components/AttendeeActivity.md new file mode 100644 index 000000000..1ceaa00bb --- /dev/null +++ b/packages/java/docs/models/components/AttendeeActivity.md @@ -0,0 +1,17 @@ +# AttendeeActivity + +An attendee activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | +| `attendee` | [Uuid](../../models/components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `event` | [EventActivityDetail](../../models/components/EventActivityDetail.md) | :heavy_check_mark: | Details for an event activity. | | +| `time` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | +| `name` | *Optional\* | :heavy_minus_sign: | Unique name corresponding to the attendee activity type. | Registered for Event | +| `type` | [Optional\](../../models/components/ActivityType.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity. | event.registered | +| `data` | [Optional\](../../models/components/ActivityData.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md b/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md index 5da83df05..55f756150 100644 --- a/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md +++ b/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md @@ -11,4 +11,4 @@ Represents an error response for the checkin APIs with additional details of cas | `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | | `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | | `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | List\<[ZeroAllOf7](../../models/components/ZeroAllOf7.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| `details` | List\<[ZeroAllOf5](../../models/components/ZeroAllOf5.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeContactInfo.md b/packages/java/docs/models/components/AttendeeContactInfo.md index 5ba0496dd..3ceec0d97 100644 --- a/packages/java/docs/models/components/AttendeeContactInfo.md +++ b/packages/java/docs/models/components/AttendeeContactInfo.md @@ -32,7 +32,7 @@ Information about attendee contact added to an event. | `workPhone` | *Optional\* | :heavy_minus_sign: | Work phone number | 555-555-5555 | | `workFax` | *Optional\* | :heavy_minus_sign: | Work FAX number | 555-555-5555 | | `optOut` | [Optional\](../../models/components/OptOut.md) | :heavy_minus_sign: | Opt-out choices. | | -| `customFields` | List\<[CustomFieldSchema](../../models/components/CustomFieldSchema.md)> | :heavy_minus_sign: | Collection of custom fields. | | +| `customFields` | List\<[CustomFieldSchema1](../../models/components/CustomFieldSchema1.md)> | :heavy_minus_sign: | Collection of custom fields. | | | `sourceId` | *Optional\* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name has part of the ID | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *Optional\* | :heavy_minus_sign: | Mobile phone number | 555-555-5555 | | `compliance` | List\<[Compliance](../../models/components/Compliance.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | diff --git a/packages/java/docs/models/components/AttendeeStatusJson.md b/packages/java/docs/models/components/AttendeeStatusJson.md deleted file mode 100644 index 16eca69f7..000000000 --- a/packages/java/docs/models/components/AttendeeStatusJson.md +++ /dev/null @@ -1,25 +0,0 @@ -# AttendeeStatusJson - -This is used to denote the status of an attendee. - -## Example Usage - -```java -import com.cvent.models.components.AttendeeStatusJson; - -AttendeeStatusJson value = AttendeeStatusJson.NO_RESPONSE; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `NO_RESPONSE` | No Response | -| `ACCEPTED` | Accepted | -| `DECLINED` | Declined | -| `VISITED` | Visited | -| `WAITLISTED` | Waitlisted | -| `CANCELLED` | Cancelled | -| `PENDING_APPROVAL` | Pending Approval | -| `DENIED_APPROVAL` | Denied Approval | \ No newline at end of file diff --git a/packages/java/docs/models/components/BannerLinkTarget.md b/packages/java/docs/models/components/BannerLinkTarget.md new file mode 100644 index 000000000..479211ce2 --- /dev/null +++ b/packages/java/docs/models/components/BannerLinkTarget.md @@ -0,0 +1,11 @@ +# BannerLinkTarget + +The target of the link clicked on the banner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [Optional\](../../models/components/BannerLinkTargetType.md) | :heavy_minus_sign: | The type of target associated with the banner link. | | +| `details` | *Optional\* | :heavy_minus_sign: | The details of the target associated with the banner link. | https://www.cvent.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/BannerLinkTargetJson.md b/packages/java/docs/models/components/BannerLinkTargetJson.md deleted file mode 100644 index 22b247ea5..000000000 --- a/packages/java/docs/models/components/BannerLinkTargetJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# BannerLinkTargetJson - -The target of the link clicked on the banner. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `type` | [Optional\](../../models/components/BannerLinkTargetJsonType.md) | :heavy_minus_sign: | The type of target associated with the banner link. | | -| `details` | *Optional\* | :heavy_minus_sign: | The details of the target associated with the banner link. | https://www.cvent.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/BannerLinkTargetJsonType.md b/packages/java/docs/models/components/BannerLinkTargetJsonType.md deleted file mode 100644 index f290d08a1..000000000 --- a/packages/java/docs/models/components/BannerLinkTargetJsonType.md +++ /dev/null @@ -1,24 +0,0 @@ -# BannerLinkTargetJsonType - -The type of target associated with the banner link. - -## Example Usage - -```java -import com.cvent.models.components.BannerLinkTargetJsonType; - -BannerLinkTargetJsonType value = BannerLinkTargetJsonType.ATTENDEE_HUB_PAGE; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `ATTENDEE_HUB_PAGE` | Attendee Hub Page | -| `DISCUSSION_TOPIC` | Discussion Topic | -| `EXTERNAL_URL` | External Url | -| `FLOOR_PLAN_DETAILS` | Floor Plan Details | -| `SESSION_DETAILS` | Session Details | -| `SPEAKER_DETAILS` | Speaker Details | -| `VIRTUAL_BOOTH` | Virtual Booth | \ No newline at end of file diff --git a/packages/java/docs/models/components/BannerLinkTargetType.md b/packages/java/docs/models/components/BannerLinkTargetType.md new file mode 100644 index 000000000..2c025c96f --- /dev/null +++ b/packages/java/docs/models/components/BannerLinkTargetType.md @@ -0,0 +1,24 @@ +# BannerLinkTargetType + +The type of target associated with the banner link. + +## Example Usage + +```java +import com.cvent.models.components.BannerLinkTargetType; + +BannerLinkTargetType value = BannerLinkTargetType.ATTENDEE_HUB_PAGE; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `ATTENDEE_HUB_PAGE` | Attendee Hub Page | +| `DISCUSSION_TOPIC` | Discussion Topic | +| `EXTERNAL_URL` | External Url | +| `FLOOR_PLAN_DETAILS` | Floor Plan Details | +| `SESSION_DETAILS` | Session Details | +| `SPEAKER_DETAILS` | Speaker Details | +| `VIRTUAL_BOOTH` | Virtual Booth | \ No newline at end of file diff --git a/packages/java/docs/models/components/BaseAnswer.md b/packages/java/docs/models/components/BaseAnswer.md new file mode 100644 index 000000000..2bf3d1d8e --- /dev/null +++ b/packages/java/docs/models/components/BaseAnswer.md @@ -0,0 +1,11 @@ +# BaseAnswer + +Base entity of a question answer. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the Answer | | +| `value` | *Optional\* | :heavy_minus_sign: | Value of an answer. | my answer | \ No newline at end of file diff --git a/packages/java/docs/models/components/BaseAnswerJson.md b/packages/java/docs/models/components/BaseAnswerJson.md deleted file mode 100644 index 9465029aa..000000000 --- a/packages/java/docs/models/components/BaseAnswerJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# BaseAnswerJson - -Base entity of a question answer. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the Answer | | -| `value` | *Optional\* | :heavy_minus_sign: | Value of an answer. | my answer | \ No newline at end of file diff --git a/packages/java/docs/models/components/BaseQuestion.md b/packages/java/docs/models/components/BaseQuestion.md new file mode 100644 index 000000000..3a5611728 --- /dev/null +++ b/packages/java/docs/models/components/BaseQuestion.md @@ -0,0 +1,11 @@ +# BaseQuestion + +The question that was answered. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | \ No newline at end of file diff --git a/packages/java/docs/models/components/BaseQuestionResponse.md b/packages/java/docs/models/components/BaseQuestionResponse.md new file mode 100644 index 000000000..d31c447b9 --- /dev/null +++ b/packages/java/docs/models/components/BaseQuestionResponse.md @@ -0,0 +1,11 @@ +# BaseQuestionResponse + +Base entity for a question response. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `question` | [Optional\](../../models/components/BaseQuestion.md) | :heavy_minus_sign: | The question that was answered. | +| `answers` | List\<[BaseAnswer](../../models/components/BaseAnswer.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/BaseQuestionResponseJson.md b/packages/java/docs/models/components/BaseQuestionResponseJson.md deleted file mode 100644 index fade1e813..000000000 --- a/packages/java/docs/models/components/BaseQuestionResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# BaseQuestionResponseJson - -Base entity for a question response. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `question` | [Optional\](../../models/components/ZeroAllOf5.md) | :heavy_minus_sign: | The question that was answered. | -| `answers` | List\<[BaseAnswerJson](../../models/components/BaseAnswerJson.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/BidItemStatusType.md b/packages/java/docs/models/components/BidItemStatusType.md index 6f4a8b5de..af02492d9 100644 --- a/packages/java/docs/models/components/BidItemStatusType.md +++ b/packages/java/docs/models/components/BidItemStatusType.md @@ -1,6 +1,6 @@ # BidItemStatusType -The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. +The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). ## Example Usage @@ -18,4 +18,4 @@ BidItemStatusType value = BidItemStatusType.REQUESTED; | `REQUESTED` | requested | | `DELETE_REQUESTED` | delete_requested | | `DELETED` | deleted | -| `NOT_AVAILABLE` | not_available | \ No newline at end of file +| `NOT_OFFERED` | not_offered | \ No newline at end of file diff --git a/packages/java/docs/models/components/BudgetCategory.md b/packages/java/docs/models/components/BudgetCategory.md new file mode 100644 index 000000000..cf000e668 --- /dev/null +++ b/packages/java/docs/models/components/BudgetCategory.md @@ -0,0 +1,11 @@ +# BudgetCategory + +Denotes the category assigned to the budget item. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *long* | :heavy_check_mark: | Unique identifier of the budget category. | 3 | +| `name` | *Optional\* | :heavy_minus_sign: | Name of the budget category assigned to the budget item. | Travel | \ No newline at end of file diff --git a/packages/java/docs/models/components/BudgetCostDetail.md b/packages/java/docs/models/components/BudgetCostDetail.md new file mode 100644 index 000000000..ff425ed19 --- /dev/null +++ b/packages/java/docs/models/components/BudgetCostDetail.md @@ -0,0 +1,14 @@ +# BudgetCostDetail + +The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `category` | [Optional\](../../models/components/BudgetCategory.md) | :heavy_minus_sign: | Denotes the category assigned to the budget item. | | +| `subCategory` | [Optional\](../../models/components/BudgetSubCategory.md) | :heavy_minus_sign: | This is used to denote the sub category for a budget. | | +| `units` | *Optional\* | :heavy_minus_sign: | The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. | 5.2 | +| `cost` | *Optional\* | :heavy_minus_sign: | The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. | 100.5 | +| `totalCost` | *Optional\* | :heavy_minus_sign: | The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. | 100.5 | \ No newline at end of file diff --git a/packages/java/docs/models/components/BudgetCostDetailJson1.md b/packages/java/docs/models/components/BudgetCostDetailJson1.md deleted file mode 100644 index 2bca6be24..000000000 --- a/packages/java/docs/models/components/BudgetCostDetailJson1.md +++ /dev/null @@ -1,14 +0,0 @@ -# BudgetCostDetailJson1 - -The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `category` | [Optional\](../../models/components/BudgetCategoryJson.md) | :heavy_minus_sign: | Denotes the category assigned to the budget item. | | -| `subCategory` | [Optional\](../../models/components/BudgetSubCategoryJson.md) | :heavy_minus_sign: | This is used to denote the sub category for a budget. | | -| `units` | *Optional\* | :heavy_minus_sign: | The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. | 5.2 | -| `cost` | *Optional\* | :heavy_minus_sign: | The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. | 100.5 | -| `totalCost` | *Optional\* | :heavy_minus_sign: | The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. | 100.5 | \ No newline at end of file diff --git a/packages/java/docs/models/components/BudgetCostType.md b/packages/java/docs/models/components/BudgetCostType.md new file mode 100644 index 000000000..0ab461e1e --- /dev/null +++ b/packages/java/docs/models/components/BudgetCostType.md @@ -0,0 +1,19 @@ +# BudgetCostType + +Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + +## Example Usage + +```java +import com.cvent.models.components.BudgetCostType; + +BudgetCostType value = BudgetCostType.FIXED; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `FIXED` | FIXED | +| `VARIABLE` | VARIABLE | \ No newline at end of file diff --git a/packages/java/docs/models/components/BudgetEstimate.md b/packages/java/docs/models/components/BudgetEstimate.md new file mode 100644 index 000000000..7ff7f9ee9 --- /dev/null +++ b/packages/java/docs/models/components/BudgetEstimate.md @@ -0,0 +1,12 @@ +# BudgetEstimate + +The estimated budget of the Meeting Request. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `currency` | *Optional\* | :heavy_minus_sign: | The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. | USD | +| `costType` | [Optional\](../../models/components/BudgetCostType.md) | :heavy_minus_sign: | Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. | FIXED | +| `costDetail` | List\<[BudgetCostDetail](../../models/components/BudgetCostDetail.md)> | :heavy_minus_sign: | A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/BudgetEstimateJson.md b/packages/java/docs/models/components/BudgetEstimateJson.md deleted file mode 100644 index 62c4d2d9f..000000000 --- a/packages/java/docs/models/components/BudgetEstimateJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# BudgetEstimateJson - -The estimated budget of the Meeting Request. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `currency` | *Optional\* | :heavy_minus_sign: | The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. | USD | -| `costType` | [Optional\](../../models/components/BudgetCostTypeJson.md) | :heavy_minus_sign: | Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. | FIXED | -| `costDetail` | List\<[BudgetCostDetailJson1](../../models/components/BudgetCostDetailJson1.md)> | :heavy_minus_sign: | A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/BudgetSubCategory.md b/packages/java/docs/models/components/BudgetSubCategory.md new file mode 100644 index 000000000..401fcd895 --- /dev/null +++ b/packages/java/docs/models/components/BudgetSubCategory.md @@ -0,0 +1,11 @@ +# BudgetSubCategory + +This is used to denote the sub category for a budget. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | Name of the budget subcategory assigned to the budget item. | utilities | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkData.md b/packages/java/docs/models/components/BulkData.md index 7aebe07b2..58ce18c4a 100644 --- a/packages/java/docs/models/components/BulkData.md +++ b/packages/java/docs/models/components/BulkData.md @@ -5,6 +5,6 @@ The model representing an arbitrary list of JSON data loaded to bulk job. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `data` | List\<[BulkDataPropertyJson](../../models/components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `data` | List\<[BulkDataProperty](../../models/components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkDataProperty.md b/packages/java/docs/models/components/BulkDataProperty.md index c7bb36678..28b4d8e8e 100644 --- a/packages/java/docs/models/components/BulkDataProperty.md +++ b/packages/java/docs/models/components/BulkDataProperty.md @@ -1,6 +1,6 @@ # BulkDataProperty -The response data for the bulk operation. +Data Record envelope ## Fields @@ -10,4 +10,4 @@ The response data for the bulk operation. | `pathParams` | Map\ | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
"id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
} | | `queryParams` | Map\ | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | | `headers` | Map\ | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | -| `dataRecord` | Map\ | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file +| `dataRecord` | Map\ | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkDataPropertyJson.md b/packages/java/docs/models/components/BulkDataPropertyJson.md deleted file mode 100644 index 4507c0a7a..000000000 --- a/packages/java/docs/models/components/BulkDataPropertyJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# BulkDataPropertyJson - -Data Record envelope - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `pathParams` | Map\ | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
"id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
} | -| `queryParams` | Map\ | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | -| `headers` | Map\ | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | -| `dataRecord` | Map\ | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkDataRecord.md b/packages/java/docs/models/components/BulkDataRecord.md new file mode 100644 index 000000000..23cccee61 --- /dev/null +++ b/packages/java/docs/models/components/BulkDataRecord.md @@ -0,0 +1,7 @@ +# BulkDataRecord + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkDataRecordJson.md b/packages/java/docs/models/components/BulkDataRecordJson.md deleted file mode 100644 index 859ea840a..000000000 --- a/packages/java/docs/models/components/BulkDataRecordJson.md +++ /dev/null @@ -1,7 +0,0 @@ -# BulkDataRecordJson - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkDataUploadResponse.md b/packages/java/docs/models/components/BulkDataUploadResponse.md index 64aac926c..386fbc1e5 100644 --- a/packages/java/docs/models/components/BulkDataUploadResponse.md +++ b/packages/java/docs/models/components/BulkDataUploadResponse.md @@ -5,7 +5,7 @@ The model representing the results of a bulk data upload ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `data` | List\<[BulkDataPropertyJson](../../models/components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | | -| `count` | *Optional\* | :heavy_minus_sign: | The number of successfully uploaded data records | 100 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `data` | List\<[BulkDataProperty](../../models/components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | | +| `count` | *Optional\* | :heavy_minus_sign: | The number of successfully uploaded data records | 100 | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkJobWithData.md b/packages/java/docs/models/components/BulkJobWithData.md index c57fcd3da..74baccc0e 100644 --- a/packages/java/docs/models/components/BulkJobWithData.md +++ b/packages/java/docs/models/components/BulkJobWithData.md @@ -23,4 +23,4 @@ The model representing a bulk job that can load data asynchronously including th | `totalRecords` | *Optional\* | :heavy_minus_sign: | Total number of records uploaded for the bulk job. | 5000 | | `successful` | *Optional\* | :heavy_minus_sign: | Total number of records that were successfully processed by the bulk job. | 4950 | | `failed` | *Optional\* | :heavy_minus_sign: | Total number of records that were unsuccessfully processed by the bulk job. | 50 | -| `data` | List\<[BulkDataPropertyJson](../../models/components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file +| `data` | List\<[BulkDataProperty](../../models/components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkJobWithDataInput.md b/packages/java/docs/models/components/BulkJobWithDataInput.md index fa6e05b0a..321b74aa5 100644 --- a/packages/java/docs/models/components/BulkJobWithDataInput.md +++ b/packages/java/docs/models/components/BulkJobWithDataInput.md @@ -12,4 +12,4 @@ The model representing a bulk job that can load data asynchronously including th | `operation` | [BulkJobWithDataOperation](../../models/components/BulkJobWithDataOperation.md) | :heavy_check_mark: | Operation to be performed in the destination API. | PUT | | `headers` | Map\ | :heavy_minus_sign: | Headers to be passed on the destination API. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | | `queryParams` | Map\ | :heavy_minus_sign: | Query Params to be passed on to the destination API. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | -| `data` | List\<[BulkDataPropertyJson](../../models/components/BulkDataPropertyJson.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file +| `data` | List\<[BulkDataProperty](../../models/components/BulkDataProperty.md)> | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkResult.md b/packages/java/docs/models/components/BulkResult.md new file mode 100644 index 000000000..0fe137296 --- /dev/null +++ b/packages/java/docs/models/components/BulkResult.md @@ -0,0 +1,16 @@ +# BulkResult + +This entity is used to represent a single item that is returned as part of a Bulk Job Result call. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `data` | [BulkResultBulkDataProperty](../../models/components/BulkResultBulkDataProperty.md) | :heavy_check_mark: | The response data for the bulk operation. | | +| `status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | +| `message` | *Optional\* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | +| `request` | Map\ | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | +| `id` | *Optional\* | :heavy_minus_sign: | The bulk result identifier. | 1234 | +| `job` | [Optional\](../../models/components/Job.md) | :heavy_minus_sign: | Unique identifier of the bulk job linked to this result. | {
"id": "766d1986-9aaa-454f-86f5-d605c45b3131"
} | +| `failed` | *Optional\* | :heavy_minus_sign: | A `true` value indicates the target operation returned an HTTP error status code.

**Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be `false` even when individual items within the response body indicate failure. For such operations, inspect the `data` field to determine which items succeeded or failed. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkResultBulkDataProperty.md b/packages/java/docs/models/components/BulkResultBulkDataProperty.md new file mode 100644 index 000000000..f3c686948 --- /dev/null +++ b/packages/java/docs/models/components/BulkResultBulkDataProperty.md @@ -0,0 +1,13 @@ +# BulkResultBulkDataProperty + +The response data for the bulk operation. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `pathParams` | Map\ | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
"id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
} | +| `queryParams` | Map\ | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
"param1": "param1Value",
"param2": "param2Value"
} | +| `headers` | Map\ | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
"header1": "header1Value",
"header2": "header2Value"
} | +| `dataRecord` | Map\ | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
"event": {
"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
},
"title": "Day 1 Keynote Session",
"start": "2020-02-03T13:00:00.000Z",
"end": "2020-02-07T17:00:00.000Z",
"status": "Active"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkResultJson.md b/packages/java/docs/models/components/BulkResultJson.md deleted file mode 100644 index a907e6aaf..000000000 --- a/packages/java/docs/models/components/BulkResultJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# BulkResultJson - -This entity is used to represent a single item that is returned as part of a Bulk Job Result call. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [BulkDataProperty](../../models/components/BulkDataProperty.md) | :heavy_check_mark: | The response data for the bulk operation. | | -| `status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | -| `message` | *Optional\* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | -| `request` | Map\ | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | -| `id` | *Optional\* | :heavy_minus_sign: | The bulk result identifier. | 1234 | -| `job` | [Optional\](../../models/components/Job.md) | :heavy_minus_sign: | Unique identifier of the bulk job linked to this result. | {
"id": "766d1986-9aaa-454f-86f5-d605c45b3131"
} | -| `failed` | *Optional\* | :heavy_minus_sign: | Indicator that specifies if the bulk result failed. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/BulkResultsPaginatedResponse.md b/packages/java/docs/models/components/BulkResultsPaginatedResponse.md index d4e3029bc..8d08273bb 100644 --- a/packages/java/docs/models/components/BulkResultsPaginatedResponse.md +++ b/packages/java/docs/models/components/BulkResultsPaginatedResponse.md @@ -6,7 +6,7 @@ as the collection of bulk results. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[BulkResultJson](../../models/components/BulkResultJson.md)> | :heavy_check_mark: | Collection of bulk result objects. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[BulkResult](../../models/components/BulkResult.md)> | :heavy_check_mark: | Collection of bulk result objects. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Capacities.md b/packages/java/docs/models/components/Capacities.md new file mode 100644 index 000000000..748821679 --- /dev/null +++ b/packages/java/docs/models/components/Capacities.md @@ -0,0 +1,11 @@ +# Capacities + +Capacity information for the meeting room, grouped by category. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `exhibits` | List\<[MeetingRoomExhibitCapacity](../../models/components/MeetingRoomExhibitCapacity.md)> | :heavy_minus_sign: | Maximum number of exhibits per room setup. | +| `seating` | List\<[MeetingRoomSeatingCapacity](../../models/components/MeetingRoomSeatingCapacity.md)> | :heavy_minus_sign: | Maximum number of attendees per seating style. | \ No newline at end of file diff --git a/packages/java/docs/models/components/CardTransactionJson.md b/packages/java/docs/models/components/CardTransactionJson.md index 7e9b4f4bd..fe212b443 100644 --- a/packages/java/docs/models/components/CardTransactionJson.md +++ b/packages/java/docs/models/components/CardTransactionJson.md @@ -16,5 +16,5 @@ Card transaction associated with an event. | `currency` | *Optional\* | :heavy_minus_sign: | The ISO 4217 standard format currency code used of transaction currency. | USD | | `merchant` | *Optional\* | :heavy_minus_sign: | Merchant name. | Test Merchant | | `reconciliation` | [Optional\](../../models/components/TransactionReconciliation.md) | :heavy_minus_sign: | N/A | | -| `reconciliations` | List\<[ZeroAllOf6](../../models/components/ZeroAllOf6.md)> | :heavy_minus_sign: | The list of reconciled item. | | +| `reconciliations` | List\<[ZeroAllOf4](../../models/components/ZeroAllOf4.md)> | :heavy_minus_sign: | The list of reconciled item. | | | `descriptions` | List\<*String*> | :heavy_minus_sign: | The list of transaction description. | [
"Electricity bill",
"Event ticket",
"Miscellaneous charge",
"Purchase car",
"Accommodation charge"
] | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChainScale.md b/packages/java/docs/models/components/ChainScale.md new file mode 100644 index 000000000..0d6ec1f5e --- /dev/null +++ b/packages/java/docs/models/components/ChainScale.md @@ -0,0 +1,39 @@ +# ChainScale + +A market segment classification of a venue chain based on Average Daily Rate and other factors. + +Values: +- `BLANK` — Blank +- `ECONOMYCHAINS` — Economy Chains +- `INDEPENDENTS` — Independents +- `LUXURY_CHAINS` — Luxury Chains +- `MIDSCALE_CHAINS` — Midscale Chains +- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains +- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains +- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains +- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains +- `UPSCALE_CHAINS` — Upscale Chains + +## Example Usage + +```java +import com.cvent.models.components.ChainScale; + +ChainScale value = ChainScale.BLANK; +``` + + +## Values + +| Name | Value | +| ---------------------------- | ---------------------------- | +| `BLANK` | BLANK | +| `ECONOMYCHAINS` | ECONOMYCHAINS | +| `INDEPENDENTS` | INDEPENDENTS | +| `LUXURY_CHAINS` | LUXURY_CHAINS | +| `MIDSCALE_CHAINS` | MIDSCALE_CHAINS | +| `MIDSCALE_WITH_FB_CHAINS` | MIDSCALE_WITH_FB_CHAINS | +| `MIDSCALE_WITHOUT_FB_CHAINS` | MIDSCALE_WITHOUT_FB_CHAINS | +| `UPPER_MIDSCALE_CHAINS` | UPPER_MIDSCALE_CHAINS | +| `UPPER_UPSCALE_CHAINS` | UPPER_UPSCALE_CHAINS | +| `UPSCALE_CHAINS` | UPSCALE_CHAINS | \ No newline at end of file diff --git a/packages/java/docs/models/components/CompositeValue.md b/packages/java/docs/models/components/CompositeValue.md new file mode 100644 index 000000000..791e7a2c6 --- /dev/null +++ b/packages/java/docs/models/components/CompositeValue.md @@ -0,0 +1,6 @@ +# CompositeValue + +The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. + +The structure of the array depends on the question `type`. + diff --git a/packages/java/docs/models/components/CompositeValueJson.md b/packages/java/docs/models/components/CompositeValueJson.md deleted file mode 100644 index 35f3dcba9..000000000 --- a/packages/java/docs/models/components/CompositeValueJson.md +++ /dev/null @@ -1,6 +0,0 @@ -# CompositeValueJson - -The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. - -The structure of the array depends on the question `type`. - diff --git a/packages/java/docs/models/components/ContactCommonJson.md b/packages/java/docs/models/components/ContactCommonJson.md deleted file mode 100644 index e67497866..000000000 --- a/packages/java/docs/models/components/ContactCommonJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ContactCommonJson - -Details of a contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Contact ID | | -| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactFields.md b/packages/java/docs/models/components/ContactFields.md deleted file mode 100644 index 1381fc29e..000000000 --- a/packages/java/docs/models/components/ContactFields.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactFields - -An array of standard contact fields supported by Cvent. - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `data` | List\<[ContactFieldJson](../../models/components/ContactFieldJson.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactFields1.md b/packages/java/docs/models/components/ContactFields1.md new file mode 100644 index 000000000..af53f5260 --- /dev/null +++ b/packages/java/docs/models/components/ContactFields1.md @@ -0,0 +1,13 @@ +# ContactFields1 + +Details of a contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Contact ID | | +| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactFields2.md b/packages/java/docs/models/components/ContactFields2.md new file mode 100644 index 000000000..f908ee9d0 --- /dev/null +++ b/packages/java/docs/models/components/ContactFields2.md @@ -0,0 +1,10 @@ +# ContactFields2 + +An array of standard contact fields supported by Cvent. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `data` | List\<[ContactFieldJson](../../models/components/ContactFieldJson.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Country.md b/packages/java/docs/models/components/Country.md new file mode 100644 index 000000000..812bce251 --- /dev/null +++ b/packages/java/docs/models/components/Country.md @@ -0,0 +1,274 @@ +# Country + +ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + +## Example Usage + +```java +import com.cvent.models.components.Country; + +Country value = Country.BLANK; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `BLANK` | BLANK | +| `AD` | AD | +| `AE` | AE | +| `AF` | AF | +| `AG` | AG | +| `AI` | AI | +| `AL` | AL | +| `AM` | AM | +| `AN` | AN | +| `AO` | AO | +| `AQ` | AQ | +| `AR` | AR | +| `AS` | AS | +| `AT` | AT | +| `AU` | AU | +| `AW` | AW | +| `AX` | AX | +| `AZ` | AZ | +| `BA` | BA | +| `BB` | BB | +| `BD` | BD | +| `BE` | BE | +| `BF` | BF | +| `BG` | BG | +| `BH` | BH | +| `BI` | BI | +| `BJ` | BJ | +| `BL` | BL | +| `BM` | BM | +| `BN` | BN | +| `BO` | BO | +| `BQ` | BQ | +| `BR` | BR | +| `BS` | BS | +| `BT` | BT | +| `BV` | BV | +| `BW` | BW | +| `BY` | BY | +| `BZ` | BZ | +| `CA` | CA | +| `CC` | CC | +| `CD` | CD | +| `CF` | CF | +| `CG` | CG | +| `CH` | CH | +| `CI` | CI | +| `CK` | CK | +| `CL` | CL | +| `CM` | CM | +| `CN` | CN | +| `CO` | CO | +| `CR` | CR | +| `CU` | CU | +| `CV` | CV | +| `CW` | CW | +| `CX` | CX | +| `CY` | CY | +| `CZ` | CZ | +| `DE` | DE | +| `DJ` | DJ | +| `DK` | DK | +| `DM` | DM | +| `DO` | DO | +| `DZ` | DZ | +| `EC` | EC | +| `EE` | EE | +| `EG` | EG | +| `EH` | EH | +| `ER` | ER | +| `ES` | ES | +| `ET` | ET | +| `FI` | FI | +| `FJ` | FJ | +| `FK` | FK | +| `FM` | FM | +| `FO` | FO | +| `FR` | FR | +| `GA` | GA | +| `GB` | GB | +| `GB1` | GB_1 | +| `GB2` | GB_2 | +| `GB3` | GB_3 | +| `GB4` | GB_4 | +| `GD` | GD | +| `GE` | GE | +| `GF` | GF | +| `GG` | GG | +| `GH` | GH | +| `GI` | GI | +| `GL` | GL | +| `GM` | GM | +| `GN` | GN | +| `GP` | GP | +| `GQ` | GQ | +| `GR` | GR | +| `GS` | GS | +| `GT` | GT | +| `GU` | GU | +| `GW` | GW | +| `GY` | GY | +| `HK` | HK | +| `HM` | HM | +| `HN` | HN | +| `HR` | HR | +| `HT` | HT | +| `HU` | HU | +| `ID` | ID | +| `IE` | IE | +| `IL` | IL | +| `IM` | IM | +| `IN` | IN | +| `IO` | IO | +| `IQ` | IQ | +| `IR` | IR | +| `IS` | IS | +| `IT` | IT | +| `JE` | JE | +| `JM` | JM | +| `JO` | JO | +| `JP` | JP | +| `KE` | KE | +| `KG` | KG | +| `KH` | KH | +| `KI` | KI | +| `KM` | KM | +| `KN` | KN | +| `KO` | KO | +| `KP` | KP | +| `KR` | KR | +| `KW` | KW | +| `KY` | KY | +| `KZ` | KZ | +| `LA` | LA | +| `LB` | LB | +| `LC` | LC | +| `LI` | LI | +| `LK` | LK | +| `LR` | LR | +| `LS` | LS | +| `LT` | LT | +| `LU` | LU | +| `LV` | LV | +| `LY` | LY | +| `MA` | MA | +| `MC` | MC | +| `MD` | MD | +| `ME` | ME | +| `MF` | MF | +| `MG` | MG | +| `MH` | MH | +| `MK` | MK | +| `ML` | ML | +| `MM` | MM | +| `MN` | MN | +| `MO` | MO | +| `MP` | MP | +| `MQ` | MQ | +| `MR` | MR | +| `MS` | MS | +| `MT` | MT | +| `MU` | MU | +| `MV` | MV | +| `MW` | MW | +| `MX` | MX | +| `MY` | MY | +| `MZ` | MZ | +| `NA` | NA | +| `NC` | NC | +| `NE` | NE | +| `NF` | NF | +| `NG` | NG | +| `NI` | NI | +| `NL` | NL | +| `NO` | NO | +| `NP` | NP | +| `NR` | NR | +| `NU` | NU | +| `NZ` | NZ | +| `OM` | OM | +| `PA` | PA | +| `PE` | PE | +| `PF` | PF | +| `PG` | PG | +| `PH` | PH | +| `PK` | PK | +| `PL` | PL | +| `PM` | PM | +| `PN` | PN | +| `PR` | PR | +| `PS` | PS | +| `PT` | PT | +| `PW` | PW | +| `PY` | PY | +| `QA` | QA | +| `RE` | RE | +| `RO` | RO | +| `RS` | RS | +| `RU` | RU | +| `RW` | RW | +| `SA` | SA | +| `SB` | SB | +| `SC` | SC | +| `SD` | SD | +| `SE` | SE | +| `SG` | SG | +| `SH` | SH | +| `SI` | SI | +| `SJ` | SJ | +| `SK` | SK | +| `SL` | SL | +| `SM` | SM | +| `SN` | SN | +| `SO` | SO | +| `SR` | SR | +| `SS` | SS | +| `ST` | ST | +| `SV` | SV | +| `SX` | SX | +| `SY` | SY | +| `SZ` | SZ | +| `TC` | TC | +| `TD` | TD | +| `TF` | TF | +| `TG` | TG | +| `TH` | TH | +| `TJ` | TJ | +| `TK` | TK | +| `TL` | TL | +| `TM` | TM | +| `TN` | TN | +| `TO` | TO | +| `TP` | TP | +| `TR` | TR | +| `TT` | TT | +| `TV` | TV | +| `TW` | TW | +| `TZ` | TZ | +| `UA` | UA | +| `UG` | UG | +| `UM` | UM | +| `US` | US | +| `UY` | UY | +| `UZ` | UZ | +| `VA` | VA | +| `VC` | VC | +| `VE` | VE | +| `VG` | VG | +| `VI` | VI | +| `VN` | VN | +| `VU` | VU | +| `WF` | WF | +| `WS` | WS | +| `YE` | YE | +| `YT` | YT | +| `ZA` | ZA | +| `ZM` | ZM | +| `ZW` | ZW | \ No newline at end of file diff --git a/packages/java/docs/models/components/Currency.md b/packages/java/docs/models/components/Currency.md new file mode 100644 index 000000000..73c5e8810 --- /dev/null +++ b/packages/java/docs/models/components/Currency.md @@ -0,0 +1,184 @@ +# Currency + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```java +import com.cvent.models.components.Currency; + +Currency value = Currency.USD; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `USD` | USD | +| `CAD` | CAD | +| `AUD` | AUD | +| `EUR` | EUR | +| `GBP` | GBP | +| `HKD` | HKD | +| `NZD` | NZD | +| `AED` | AED | +| `NOK` | NOK | +| `INR` | INR | +| `MXN` | MXN | +| `SEK` | SEK | +| `DKK` | DKK | +| `MYR` | MYR | +| `JPY` | JPY | +| `SGD` | SGD | +| `THB` | THB | +| `IDR` | IDR | +| `KRW` | KRW | +| `CNY` | CNY | +| `TWD` | TWD | +| `RUB` | RUB | +| `CHF` | CHF | +| `CZK` | CZK | +| `HUF` | HUF | +| `QAR` | QAR | +| `ZAR` | ZAR | +| `RON` | RON | +| `HRK` | HRK | +| `TRY` | TRY | +| `BRL` | BRL | +| `PHP` | PHP | +| `SAR` | SAR | +| `PLN` | PLN | +| `ARS` | ARS | +| `AWG` | AWG | +| `AZN` | AZN | +| `BSD` | BSD | +| `BBD` | BBD | +| `BMD` | BMD | +| `CLP` | CLP | +| `COP` | COP | +| `CRC` | CRC | +| `DOP` | DOP | +| `XCD` | XCD | +| `ILS` | ILS | +| `JMD` | JMD | +| `LVL` | LVL | +| `LTL` | LTL | +| `MDL` | MDL | +| `ANG` | ANG | +| `OMR` | OMR | +| `TTD` | TTD | +| `UAH` | UAH | +| `UYU` | UYU | +| `RSD` | RSD | +| `AFN` | AFN | +| `AMD` | AMD | +| `AOA` | AOA | +| `BAM` | BAM | +| `BDT` | BDT | +| `BGN` | BGN | +| `BHD` | BHD | +| `BOB` | BOB | +| `DZD` | DZD | +| `EEK` | EEK | +| `EGP` | EGP | +| `FJD` | FJD | +| `GTQ` | GTQ | +| `HNL` | HNL | +| `ISK` | ISK | +| `JOD` | JOD | +| `KYD` | KYD | +| `KZT` | KZT | +| `LBP` | LBP | +| `MAD` | MAD | +| `NGN` | NGN | +| `NIO` | NIO | +| `ESP` | ESP | +| `FRF` | FRF | +| `PAB` | PAB | +| `PEN` | PEN | +| `PKR` | PKR | +| `PYG` | PYG | +| `SVC` | SVC | +| `SYP` | SYP | +| `VEF` | VEF | +| `VND` | VND | +| `XPF` | XPF | +| `GYD` | GYD | +| `MOP` | MOP | +| `PGK` | PGK | +| `XOF` | XOF | +| `XAF` | XAF | +| `BZD` | BZD | +| `BYR` | BYR | +| `BWP` | BWP | +| `BND` | BND | +| `BIF` | BIF | +| `KHR` | KHR | +| `CVE` | CVE | +| `KMF` | KMF | +| `CDF` | CDF | +| `DJF` | DJF | +| `ERN` | ERN | +| `FKP` | FKP | +| `GMD` | GMD | +| `GEL` | GEL | +| `GHS` | GHS | +| `GIP` | GIP | +| `GNF` | GNF | +| `HTG` | HTG | +| `KES` | KES | +| `KWD` | KWD | +| `KGS` | KGS | +| `LAK` | LAK | +| `LRD` | LRD | +| `MKD` | MKD | +| `MGA` | MGA | +| `MWK` | MWK | +| `MVR` | MVR | +| `MRO` | MRO | +| `MUR` | MUR | +| `MNT` | MNT | +| `MZN` | MZN | +| `MMK` | MMK | +| `NAD` | NAD | +| `NPR` | NPR | +| `RWF` | RWF | +| `SHP` | SHP | +| `WST` | WST | +| `STD` | STD | +| `SLL` | SLL | +| `SBD` | SBD | +| `SOS` | SOS | +| `LKR` | LKR | +| `SRD` | SRD | +| `SZL` | SZL | +| `TOP` | TOP | +| `TND` | TND | +| `UGX` | UGX | +| `UZS` | UZS | +| `VUV` | VUV | +| `YER` | YER | +| `ZMK` | ZMK | +| `ZWD` | ZWD | +| `SR` | SR | +| `ETB` | ETB | +| `GH` | GH | +| `GWP` | GWP | +| `IQD` | IQD | +| `IRR` | IRR | +| `KPW` | KPW | +| `LSL` | LSL | +| `ROL` | ROL | +| `SDG` | SDG | +| `SKK` | SKK | +| `TJS` | TJS | +| `TMT` | TMT | +| `TZS` | TZS | +| `ALL` | ALL | +| `BTN` | BTN | +| `CUP` | CUP | +| `LD` | LD | +| `SCR` | SCR | +| `ZMW` | ZMW | +| `ZWL` | ZWL | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldSchema.md b/packages/java/docs/models/components/CustomFieldSchema.md deleted file mode 100644 index b7aaf0d58..000000000 --- a/packages/java/docs/models/components/CustomFieldSchema.md +++ /dev/null @@ -1,14 +0,0 @@ -# CustomFieldSchema - -A Custom Field - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `type` | [Optional\](../../models/components/CustomFieldSchemaCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldSchema1.md b/packages/java/docs/models/components/CustomFieldSchema1.md new file mode 100644 index 000000000..f04f62212 --- /dev/null +++ b/packages/java/docs/models/components/CustomFieldSchema1.md @@ -0,0 +1,14 @@ +# CustomFieldSchema1 + +A Custom Field + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `type` | [Optional\](../../models/components/CustomFieldSchemaCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldSchema2.md b/packages/java/docs/models/components/CustomFieldSchema2.md new file mode 100644 index 000000000..7d366bf93 --- /dev/null +++ b/packages/java/docs/models/components/CustomFieldSchema2.md @@ -0,0 +1,25 @@ +# CustomFieldSchema2 + +Custom field for a meeting request. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *Optional\* | :heavy_minus_sign: | The displayed field name which can be customized. | What is your favorite color? | +| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `type` | [Optional\](../../models/components/CustomFieldSchemaCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | +| `field` | *Optional\* | :heavy_minus_sign: | True indicates the question is of the field type. | true | +| `fieldName` | *Optional\* | :heavy_minus_sign: | The fixed field name. | Event Theme Color | +| `hidden` | *Optional\* | :heavy_minus_sign: | True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. | false | +| `required` | *Optional\* | :heavy_minus_sign: | True indicates the given question must be answered. | true | +| `minLength` | *Optional\* | :heavy_minus_sign: | The minimum length of a text field. | 0 | +| `maxLength` | *Optional\* | :heavy_minus_sign: | The maximum length of a text field. | 100 | +| `minChoice` | *Optional\* | :heavy_minus_sign: | The minimum number of choices required for a multi-choice field. | 0 | +| `maxChoice` | *Optional\* | :heavy_minus_sign: | The maximum number of choices allowed for a multi-choice field. | 10 | +| `minDate` | *Optional\* | :heavy_minus_sign: | The ISO 8601 minimum date value for a date field. | 1970-12-23 | +| `maxDate` | *Optional\* | :heavy_minus_sign: | The ISO 8601 maximum date value for a date field. | 2100-12-31 | +| `answerTypes` | List\<[AnswerType12](../../models/components/AnswerType12.md)> | :heavy_minus_sign: | List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/Dimension.md b/packages/java/docs/models/components/Dimension.md new file mode 100644 index 000000000..2ebc8dcdc --- /dev/null +++ b/packages/java/docs/models/components/Dimension.md @@ -0,0 +1,11 @@ +# Dimension + +A dimension measurement in feet or meters. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | The numeric value of the dimension. | 12.5 | +| `unit` | [DimensionUnit](../../models/components/DimensionUnit.md) | :heavy_check_mark: | The unit of measurement for the dimension. | FEET | \ No newline at end of file diff --git a/packages/java/docs/models/components/DimensionUnit.md b/packages/java/docs/models/components/DimensionUnit.md new file mode 100644 index 000000000..e1b58493a --- /dev/null +++ b/packages/java/docs/models/components/DimensionUnit.md @@ -0,0 +1,19 @@ +# DimensionUnit + +The unit of measurement for the dimension. + +## Example Usage + +```java +import com.cvent.models.components.DimensionUnit; + +DimensionUnit value = DimensionUnit.FEET; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `FEET` | FEET | +| `METERS` | METERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistanceMeasurementUnit.md b/packages/java/docs/models/components/DistanceMeasurementUnit.md new file mode 100644 index 000000000..31fc8f035 --- /dev/null +++ b/packages/java/docs/models/components/DistanceMeasurementUnit.md @@ -0,0 +1,23 @@ +# DistanceMeasurementUnit + +Unit of measurement for distance. + +Values: +- `MILES` — Miles +- `KILOMETERS` — Kilometers + +## Example Usage + +```java +import com.cvent.models.components.DistanceMeasurementUnit; + +DistanceMeasurementUnit value = DistanceMeasurementUnit.MILES; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `MILES` | MILES | +| `KILOMETERS` | KILOMETERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailBounced.md b/packages/java/docs/models/components/EmailBounced.md index 0985d28c7..36ef952a8 100644 --- a/packages/java/docs/models/components/EmailBounced.md +++ b/packages/java/docs/models/components/EmailBounced.md @@ -9,7 +9,7 @@ An email-bounced activity. | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `type` | *Optional\* | :heavy_minus_sign: | Type of the email. | Invitation Reminder | | `reason` | *Optional\* | :heavy_minus_sign: | Reason for the bounced email. | 5.x.x - delivery error | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | | | `bounced` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when an email bounced. | 2020-02-03T13:00:00.000Z | | `smtpCode` | *Optional\* | :heavy_minus_sign: | The Simple Mail Transfer Protocol (SMTP) response status code. | 500 | | `dsnDiagnostic` | *Optional\* | :heavy_minus_sign: | Delivery Status Notification diagnostic details. | smtp;500 ESS - global exclusion | diff --git a/packages/java/docs/models/components/EmailUndelivered.md b/packages/java/docs/models/components/EmailUndelivered.md index 0bf065af6..858b60b2a 100644 --- a/packages/java/docs/models/components/EmailUndelivered.md +++ b/packages/java/docs/models/components/EmailUndelivered.md @@ -8,5 +8,5 @@ An email-undelivered activity. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `type` | *Optional\* | :heavy_minus_sign: | Type of the email. | Invitation Reminder | -| `contact` | [Optional\](../../models/components/ActivityContactJson.md) | :heavy_minus_sign: | An activity contact. | | +| `contact` | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | An activity contact. | | | `undelivered` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when an email was undelivered. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/ErrorResponse.md b/packages/java/docs/models/components/ErrorResponse.md index b37e2969c..706bc6a90 100644 --- a/packages/java/docs/models/components/ErrorResponse.md +++ b/packages/java/docs/models/components/ErrorResponse.md @@ -10,4 +10,4 @@ Represents an error response with additional details of cascading error messages | `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 +| `details` | List\<[ZeroAllOf3](../../models/components/ZeroAllOf3.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventActivityDetail.md b/packages/java/docs/models/components/EventActivityDetail.md new file mode 100644 index 000000000..98a4bc28c --- /dev/null +++ b/packages/java/docs/models/components/EventActivityDetail.md @@ -0,0 +1,13 @@ +# EventActivityDetail + +Details for an event activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | +| `title` | *Optional\* | :heavy_minus_sign: | The title of the event. | Cvent Connect 2020 | +| `code` | *Optional\* | :heavy_minus_sign: | The code of the event. | XRNGB4YY3CX | +| `timezone` | *Optional\* | :heavy_minus_sign: | The timezone of the event. | America/New_York | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventActivityDetailInput.md b/packages/java/docs/models/components/EventActivityDetailInput.md new file mode 100644 index 000000000..9807bab6b --- /dev/null +++ b/packages/java/docs/models/components/EventActivityDetailInput.md @@ -0,0 +1,10 @@ +# EventActivityDetailInput + +Details for an event activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventActivityDetailsJson.md b/packages/java/docs/models/components/EventActivityDetailsJson.md deleted file mode 100644 index fd9e2db88..000000000 --- a/packages/java/docs/models/components/EventActivityDetailsJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# EventActivityDetailsJson - -Details for an event activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | -| `title` | *Optional\* | :heavy_minus_sign: | The title of the event. | Cvent Connect 2020 | -| `code` | *Optional\* | :heavy_minus_sign: | The code of the event. | XRNGB4YY3CX | -| `timezone` | *Optional\* | :heavy_minus_sign: | The timezone of the event. | America/New_York | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventActivityDetailsJsonInput.md b/packages/java/docs/models/components/EventActivityDetailsJsonInput.md deleted file mode 100644 index c6527f3be..000000000 --- a/packages/java/docs/models/components/EventActivityDetailsJsonInput.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventActivityDetailsJsonInput - -Details for an event activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventAdClicked.md b/packages/java/docs/models/components/EventAdClicked.md index da570d72c..53b2ec77a 100644 --- a/packages/java/docs/models/components/EventAdClicked.md +++ b/packages/java/docs/models/components/EventAdClicked.md @@ -5,8 +5,8 @@ Clicked an Event Ad. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent11.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | -| `ad` | [Optional\](../../models/components/ActivityAdJson.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [Optional\](../../models/components/ActivityDataEvent8.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | +| `ad` | [Optional\](../../models/components/ActivityAd.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventAdViewed.md b/packages/java/docs/models/components/EventAdViewed.md index aa9e99fb3..ffcb4e19c 100644 --- a/packages/java/docs/models/components/EventAdViewed.md +++ b/packages/java/docs/models/components/EventAdViewed.md @@ -5,8 +5,8 @@ Viewed an Event Ad. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent10.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | -| `ad` | [Optional\](../../models/components/ActivityAdJson.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [Optional\](../../models/components/ActivityDataEvent7.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | +| `ad` | [Optional\](../../models/components/ActivityAd.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventAttendeeSubstituted.md b/packages/java/docs/models/components/EventAttendeeSubstituted.md index 94ed09588..9d6cdc8d0 100644 --- a/packages/java/docs/models/components/EventAttendeeSubstituted.md +++ b/packages/java/docs/models/components/EventAttendeeSubstituted.md @@ -5,8 +5,8 @@ An attendee-substituted activity. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent1.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `oldContact` | [Optional\](../../models/components/ContactCommonJson.md) | :heavy_minus_sign: | Details of a contact. | -| `newContact` | [Optional\](../../models/components/ContactCommonJson.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `event` | [Optional\](../../models/components/EventAttendeeSubstitutedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | +| `oldContact` | [Optional\](../../models/components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | +| `newContact` | [Optional\](../../models/components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventAttendeeSubstitutedEvent.md b/packages/java/docs/models/components/EventAttendeeSubstitutedEvent.md new file mode 100644 index 000000000..bf83f6929 --- /dev/null +++ b/packages/java/docs/models/components/EventAttendeeSubstitutedEvent.md @@ -0,0 +1,10 @@ +# EventAttendeeSubstitutedEvent + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventBannerLinkClicked.md b/packages/java/docs/models/components/EventBannerLinkClicked.md index e1be83911..3f2403ea6 100644 --- a/packages/java/docs/models/components/EventBannerLinkClicked.md +++ b/packages/java/docs/models/components/EventBannerLinkClicked.md @@ -5,9 +5,9 @@ The link on the banner clicked by an attendee. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `exhibitor` | [Optional\](../../models/components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `banner` | [Optional\](../../models/components/Banner.md) | :heavy_minus_sign: | The related banner | | -| `target` | [Optional\](../../models/components/BannerLinkTargetJson.md) | :heavy_minus_sign: | The target of the link clicked on the banner. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `exhibitor` | [Optional\](../../models/components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `banner` | [Optional\](../../models/components/Banner.md) | :heavy_minus_sign: | The related banner | | +| `target` | [Optional\](../../models/components/BannerLinkTarget.md) | :heavy_minus_sign: | The target of the link clicked on the banner. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventCheckedIn.md b/packages/java/docs/models/components/EventCheckedIn.md index 713f58272..ac729c6ac 100644 --- a/packages/java/docs/models/components/EventCheckedIn.md +++ b/packages/java/docs/models/components/EventCheckedIn.md @@ -7,5 +7,5 @@ An email-checked-in activity. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent2.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `event` | [Optional\](../../models/components/ActivityDataEvent1.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `checkedIn` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked in to an event. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventCheckedOut.md b/packages/java/docs/models/components/EventCheckedOut.md index 2497bffb1..b59c42654 100644 --- a/packages/java/docs/models/components/EventCheckedOut.md +++ b/packages/java/docs/models/components/EventCheckedOut.md @@ -7,5 +7,5 @@ An email-checked-out activity. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent3.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `event` | [Optional\](../../models/components/ActivityDataEvent2.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `checkOut` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked out from an event. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventFeedbackSubmitted.md b/packages/java/docs/models/components/EventFeedbackSubmitted.md index 79e672401..5e347857d 100644 --- a/packages/java/docs/models/components/EventFeedbackSubmitted.md +++ b/packages/java/docs/models/components/EventFeedbackSubmitted.md @@ -5,7 +5,7 @@ An event-feedback-submitted activity. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent4.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `survey` | [Optional\](../../models/components/SurveyResponseJson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `event` | [Optional\](../../models/components/EventFeedbackSubmittedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | +| `survey` | [Optional\](../../models/components/SurveyResponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventFeedbackSubmittedEvent.md b/packages/java/docs/models/components/EventFeedbackSubmittedEvent.md new file mode 100644 index 000000000..070cfdfb2 --- /dev/null +++ b/packages/java/docs/models/components/EventFeedbackSubmittedEvent.md @@ -0,0 +1,10 @@ +# EventFeedbackSubmittedEvent + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventInsurance.md b/packages/java/docs/models/components/EventInsurance.md new file mode 100644 index 000000000..32534cc7c --- /dev/null +++ b/packages/java/docs/models/components/EventInsurance.md @@ -0,0 +1,27 @@ +# EventInsurance + +Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +Values: +- `BLANK` — Indicates no selection, leaves the field blank +- `REQUIRED` — Required +- `MAY_BE_REQUIRED` — May Be Required +- `NOT_REQUIRED` — Not Required + +## Example Usage + +```java +import com.cvent.models.components.EventInsurance; + +EventInsurance value = EventInsurance.BLANK; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `BLANK` | BLANK | +| `REQUIRED` | REQUIRED | +| `MAY_BE_REQUIRED` | MAY_BE_REQUIRED | +| `NOT_REQUIRED` | NOT_REQUIRED | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventNoShow.md b/packages/java/docs/models/components/EventNoShow.md index fa6f69741..0ac77e136 100644 --- a/packages/java/docs/models/components/EventNoShow.md +++ b/packages/java/docs/models/components/EventNoShow.md @@ -5,6 +5,6 @@ An email activity. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent5.md) | :heavy_minus_sign: | The event in which this activity occurred. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [Optional\](../../models/components/ActivityDataEvent3.md) | :heavy_minus_sign: | The event in which this activity occurred. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventPageVisitTracked.md b/packages/java/docs/models/components/EventPageVisitTracked.md index bd75147a0..c554abc71 100644 --- a/packages/java/docs/models/components/EventPageVisitTracked.md +++ b/packages/java/docs/models/components/EventPageVisitTracked.md @@ -7,7 +7,7 @@ Contains Urchin Tracking Module (UTM) data. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent6.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `event` | [Optional\](../../models/components/EventPageVisitTrackedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `source` | *Optional\* | :heavy_minus_sign: | Identifies which site sent the traffic. | twitter | | `medium` | *Optional\* | :heavy_minus_sign: | Identifies what type of link was used, such as cost per click or email. | social | | `campaign` | *Optional\* | :heavy_minus_sign: | Identifies a specific product promotion or strategic campaign. | sale | diff --git a/packages/java/docs/models/components/EventPageVisitTrackedEvent.md b/packages/java/docs/models/components/EventPageVisitTrackedEvent.md new file mode 100644 index 000000000..4da2dfd60 --- /dev/null +++ b/packages/java/docs/models/components/EventPageVisitTrackedEvent.md @@ -0,0 +1,10 @@ +# EventPageVisitTrackedEvent + +The event in which this activity occurred. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventQuestionJson.md b/packages/java/docs/models/components/EventQuestionJson.md index 05bbaadc8..3266c1ece 100644 --- a/packages/java/docs/models/components/EventQuestionJson.md +++ b/packages/java/docs/models/components/EventQuestionJson.md @@ -18,5 +18,5 @@ Represents a question associated with an event. | `tag` | *Optional\* | :heavy_minus_sign: | Tag of the question. It allows comparison of similar questions across multiple events. | All Admission Items | | `session` | [Optional\](../../models/components/EventQuestionJsonSession.md) | :heavy_minus_sign: | Represents the session associated to the question, if any. Blank if no session is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | | `admissionItem` | [Optional\](../../models/components/EventQuestionJsonAdmissionItem.md) | :heavy_minus_sign: | Represents the admission item associated to the question, if any. Blank if no admission item is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | -| `type` | [Optional\](../../models/components/QuestionTypeJson2.md) | :heavy_minus_sign: | This object represents the type of a question | | +| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | This object represents the type of a question | | | `internalNote` | *Optional\* | :heavy_minus_sign: | Optional description to provide additional context of the question. | This question is for the event registration form. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRegistered.md b/packages/java/docs/models/components/EventRegistered.md index 2bf299c31..018118da6 100644 --- a/packages/java/docs/models/components/EventRegistered.md +++ b/packages/java/docs/models/components/EventRegistered.md @@ -5,7 +5,7 @@ An event-registered activity. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent7.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `status` | [Optional\](../../models/components/AttendeeStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [Optional\](../../models/components/ActivityDataEvent4.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `status` | [Optional\](../../models/components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRegistrationAbandoned.md b/packages/java/docs/models/components/EventRegistrationAbandoned.md index 1130145df..3333ba5b3 100644 --- a/packages/java/docs/models/components/EventRegistrationAbandoned.md +++ b/packages/java/docs/models/components/EventRegistrationAbandoned.md @@ -9,4 +9,4 @@ An event registration-abandoned activity. | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | `lastSavedRegistrationPageName` | *Optional\* | :heavy_minus_sign: | The last page where an invitee left during the registration. | Personal Information | | `lastActivity` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when an invitee left the registration process. | 2020-02-03T13:00:00.000Z | -| ~~`contact`~~ | [Optional\](../../models/components/ActivityContact.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Related contact. | | \ No newline at end of file +| ~~`contact`~~ | [Optional\](../../models/components/EventRegistrationAbandonedActivityContact.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Related contact. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRegistrationAbandonedActivityContact.md b/packages/java/docs/models/components/EventRegistrationAbandonedActivityContact.md new file mode 100644 index 000000000..50397f2ab --- /dev/null +++ b/packages/java/docs/models/components/EventRegistrationAbandonedActivityContact.md @@ -0,0 +1,14 @@ +# ~~EventRegistrationAbandonedActivityContact~~ + +Related contact. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the attendee. | Henry | +| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the attendee. | Potterfield | +| `email` | *Optional\* | :heavy_minus_sign: | The email address of the attendee. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRegistrationCancelled.md b/packages/java/docs/models/components/EventRegistrationCancelled.md index c6c89c4d2..01f519df0 100644 --- a/packages/java/docs/models/components/EventRegistrationCancelled.md +++ b/packages/java/docs/models/components/EventRegistrationCancelled.md @@ -5,7 +5,7 @@ An event-registered activity. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent8.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `status` | [Optional\](../../models/components/AttendeeStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [Optional\](../../models/components/ActivityDataEvent5.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `status` | [Optional\](../../models/components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRole.md b/packages/java/docs/models/components/EventRole.md new file mode 100644 index 000000000..f14e7c51a --- /dev/null +++ b/packages/java/docs/models/components/EventRole.md @@ -0,0 +1,10 @@ +# EventRole + +An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The ID of the event role. | 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleAssignment.md b/packages/java/docs/models/components/EventRoleAssignment.md new file mode 100644 index 000000000..04f749f36 --- /dev/null +++ b/packages/java/docs/models/components/EventRoleAssignment.md @@ -0,0 +1,15 @@ +# EventRoleAssignment + +An assignment of an event role to a user for an event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 | +| `event` | [Optional\](../../models/components/EventRoleAssignmentEvent.md) | :heavy_minus_sign: | The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. | | +| `user` | [Optional\](../../models/components/EventRoleAssignmentUser.md) | :heavy_minus_sign: | The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. | | +| `eventRole` | [Optional\](../../models/components/EventRole.md) | :heavy_minus_sign: | An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. | | +| `assigned` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date-time when the event role was assigned to the user. | 2017-01-02T02:00:00Z | +| `assignedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user who assigned the event role. | hporter | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleAssignmentEvent.md b/packages/java/docs/models/components/EventRoleAssignmentEvent.md new file mode 100644 index 000000000..894adbc58 --- /dev/null +++ b/packages/java/docs/models/components/EventRoleAssignmentEvent.md @@ -0,0 +1,10 @@ +# EventRoleAssignmentEvent + +The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleAssignmentJson.md b/packages/java/docs/models/components/EventRoleAssignmentJson.md deleted file mode 100644 index 10535788b..000000000 --- a/packages/java/docs/models/components/EventRoleAssignmentJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# EventRoleAssignmentJson - -An assignment of an event role to a user for an event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 | -| `event` | [Optional\](../../models/components/EventRoleAssignmentJsonEvent.md) | :heavy_minus_sign: | The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. | | -| `user` | [Optional\](../../models/components/EventRoleAssignmentJsonUser.md) | :heavy_minus_sign: | The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. | | -| `eventRole` | [Optional\](../../models/components/EventRoleJson.md) | :heavy_minus_sign: | An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. | | -| `assigned` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date-time when the event role was assigned to the user. | 2017-01-02T02:00:00Z | -| `assignedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user who assigned the event role. | hporter | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleAssignmentJsonEvent.md b/packages/java/docs/models/components/EventRoleAssignmentJsonEvent.md deleted file mode 100644 index d22d36c99..000000000 --- a/packages/java/docs/models/components/EventRoleAssignmentJsonEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventRoleAssignmentJsonEvent - -The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleAssignmentJsonUser.md b/packages/java/docs/models/components/EventRoleAssignmentJsonUser.md deleted file mode 100644 index 89073fa45..000000000 --- a/packages/java/docs/models/components/EventRoleAssignmentJsonUser.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventRoleAssignmentJsonUser - -The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the user. | 6807e044-993b-428c-aec8-7316f13c1b95 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleAssignmentUser.md b/packages/java/docs/models/components/EventRoleAssignmentUser.md new file mode 100644 index 000000000..61cfb46c3 --- /dev/null +++ b/packages/java/docs/models/components/EventRoleAssignmentUser.md @@ -0,0 +1,10 @@ +# EventRoleAssignmentUser + +The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the user. | 6807e044-993b-428c-aec8-7316f13c1b95 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleAssignmentsPaginatedResponse.md b/packages/java/docs/models/components/EventRoleAssignmentsPaginatedResponse.md index cdf18613a..6098f8caf 100644 --- a/packages/java/docs/models/components/EventRoleAssignmentsPaginatedResponse.md +++ b/packages/java/docs/models/components/EventRoleAssignmentsPaginatedResponse.md @@ -5,7 +5,7 @@ The response to a request to get a paginated list of event role assignments. Thi ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[EventRoleAssignmentJson](../../models/components/EventRoleAssignmentJson.md)> | :heavy_check_mark: | A collection of event role assignments. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[EventRoleAssignment](../../models/components/EventRoleAssignment.md)> | :heavy_check_mark: | A collection of event role assignments. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventRoleJson.md b/packages/java/docs/models/components/EventRoleJson.md deleted file mode 100644 index 8a4113254..000000000 --- a/packages/java/docs/models/components/EventRoleJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventRoleJson - -An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The ID of the event role. | 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventSurveyQuestionJson.md b/packages/java/docs/models/components/EventSurveyQuestionJson.md index 4c19949f5..50d3ade9d 100644 --- a/packages/java/docs/models/components/EventSurveyQuestionJson.md +++ b/packages/java/docs/models/components/EventSurveyQuestionJson.md @@ -16,7 +16,7 @@ An event survey question. | `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *Optional\* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `type` | [Optional\](../../models/components/QuestionTypeJson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `choices` | List\<[ChoiceJson1](../../models/components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | | `categories` | List\<[CategoryJson1](../../models/components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | | `subCategories` | List\<[TextFieldJson](../../models/components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/java/docs/models/components/EventWaitlisted.md b/packages/java/docs/models/components/EventWaitlisted.md index 277c25feb..601c5c5ea 100644 --- a/packages/java/docs/models/components/EventWaitlisted.md +++ b/packages/java/docs/models/components/EventWaitlisted.md @@ -5,7 +5,7 @@ An event-registered activity. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/ActivityDataJsonEvent9.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `status` | [Optional\](../../models/components/AttendeeStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [Optional\](../../models/components/ActivityDataEvent6.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `status` | [Optional\](../../models/components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitLayoutType.md b/packages/java/docs/models/components/ExhibitLayoutType.md new file mode 100644 index 000000000..ea885f0cc --- /dev/null +++ b/packages/java/docs/models/components/ExhibitLayoutType.md @@ -0,0 +1,23 @@ +# ExhibitLayoutType + +The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + +## Example Usage + +```java +import com.cvent.models.components.ExhibitLayoutType; + +ExhibitLayoutType value = ExhibitLayoutType.BOOTH10X10; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `BOOTH10X10` | BOOTH_10x10 | +| `BOOTH8X10` | BOOTH_8x10 | +| `ISLAND_EXHIBIT` | ISLAND_EXHIBIT | +| `PENINSULA_EXHIBIT` | PENINSULA_EXHIBIT | +| `PERIMETER_EXHIBIT` | PERIMETER_EXHIBIT | +| `TABLETOP_EXHIBIT` | TABLETOP_EXHIBIT | \ No newline at end of file diff --git a/packages/java/docs/models/components/Exhibitor1.md b/packages/java/docs/models/components/Exhibitor1.md new file mode 100644 index 000000000..1f57ed5eb --- /dev/null +++ b/packages/java/docs/models/components/Exhibitor1.md @@ -0,0 +1,13 @@ +# Exhibitor1 + +An exhibitor. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the exhibitor. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | The Name of an exhibitor. | AutoExpo | +| `featured` | *Optional\* | :heavy_minus_sign: | If the exhibitor is featured. | true | +| `eventSponsor` | *Optional\* | :heavy_minus_sign: | If the exhibitor is an event sponsor. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitorDocumentOpened.md b/packages/java/docs/models/components/ExhibitorDocumentOpened.md index ff20963bd..d6eb18986 100644 --- a/packages/java/docs/models/components/ExhibitorDocumentOpened.md +++ b/packages/java/docs/models/components/ExhibitorDocumentOpened.md @@ -5,8 +5,8 @@ An exhibitor document-opened activity. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `exhibitor` | [Optional\](../../models/components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `document` | [Optional\](../../models/components/ActivityExhibitorDocumentJson.md) | :heavy_minus_sign: | Document for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `exhibitor` | [Optional\](../../models/components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `document` | [Optional\](../../models/components/ActivityExhibitorDocument.md) | :heavy_minus_sign: | Document for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitorJson.md b/packages/java/docs/models/components/ExhibitorJson.md deleted file mode 100644 index 6712c2d8a..000000000 --- a/packages/java/docs/models/components/ExhibitorJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ExhibitorJson - -An exhibitor. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the exhibitor. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *Optional\* | :heavy_minus_sign: | The Name of an exhibitor. | AutoExpo | -| `featured` | *Optional\* | :heavy_minus_sign: | If the exhibitor is featured. | true | -| `eventSponsor` | *Optional\* | :heavy_minus_sign: | If the exhibitor is an event sponsor. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitorSocialLinkOpened.md b/packages/java/docs/models/components/ExhibitorSocialLinkOpened.md index 6ede126a3..fac604206 100644 --- a/packages/java/docs/models/components/ExhibitorSocialLinkOpened.md +++ b/packages/java/docs/models/components/ExhibitorSocialLinkOpened.md @@ -5,10 +5,10 @@ An exhibitor social-link-opened activity. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [Optional\](../../models/components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `sponsorshipLevel` | [Optional\](../../models/components/ActivityExhibitorSponsorshipLevelJson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `socialNetwork` | *Optional\* | :heavy_minus_sign: | The name of the social network. | LinkedIn | -| `url` | *Optional\* | :heavy_minus_sign: | The link opened by the attendee. | https://www.linkedin.com/company/cvent/mycompany/ | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `exhibitor` | [Optional\](../../models/components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `sponsorshipLevel` | [Optional\](../../models/components/ActivityExhibitorSponsorshipLevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `socialNetwork` | *Optional\* | :heavy_minus_sign: | The name of the social network. | LinkedIn | +| `url` | *Optional\* | :heavy_minus_sign: | The link opened by the attendee. | https://www.linkedin.com/company/cvent/mycompany/ | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitorViewed.md b/packages/java/docs/models/components/ExhibitorViewed.md index bece3beab..ec37f0ed9 100644 --- a/packages/java/docs/models/components/ExhibitorViewed.md +++ b/packages/java/docs/models/components/ExhibitorViewed.md @@ -5,9 +5,9 @@ An exhibitor viewed activity. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [Optional\](../../models/components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `sponsorshipLevel` | [Optional\](../../models/components/ActivityExhibitorSponsorshipLevelJson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `navigationSource` | [Optional\](../../models/components/ActivityExhibitorNavigationSourceJson.md) | :heavy_minus_sign: | Navigation source for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `exhibitor` | [Optional\](../../models/components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `sponsorshipLevel` | [Optional\](../../models/components/ActivityExhibitorSponsorshipLevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `navigationSource` | [Optional\](../../models/components/ActivityExhibitorNavigationSource.md) | :heavy_minus_sign: | Navigation source for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitorVirtualBoothJoined.md b/packages/java/docs/models/components/ExhibitorVirtualBoothJoined.md index 30e361f2d..87706b1bb 100644 --- a/packages/java/docs/models/components/ExhibitorVirtualBoothJoined.md +++ b/packages/java/docs/models/components/ExhibitorVirtualBoothJoined.md @@ -5,9 +5,9 @@ An exhibitor virtual-booth-joined activity. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [Optional\](../../models/components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `sponsorshipLevel` | [Optional\](../../models/components/ActivityExhibitorSponsorshipLevelJson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `solutionType` | *Optional\* | :heavy_minus_sign: | The solution type used for the virtual booth. | CVC | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `exhibitor` | [Optional\](../../models/components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `sponsorshipLevel` | [Optional\](../../models/components/ActivityExhibitorSponsorshipLevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `solutionType` | *Optional\* | :heavy_minus_sign: | The solution type used for the virtual booth. | CVC | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitorWeblinkOpened.md b/packages/java/docs/models/components/ExhibitorWeblinkOpened.md index a548b2b0d..fb8c9cf2f 100644 --- a/packages/java/docs/models/components/ExhibitorWeblinkOpened.md +++ b/packages/java/docs/models/components/ExhibitorWeblinkOpened.md @@ -5,8 +5,8 @@ An exhibitor weblink-opened activity. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `exhibitor` | [Optional\](../../models/components/ExhibitorJson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `weblink` | [Optional\](../../models/components/ActivityExhibitorWebLinkJson.md) | :heavy_minus_sign: | A web-link for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `exhibitor` | [Optional\](../../models/components/Exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `weblink` | [Optional\](../../models/components/ActivityExhibitorWeblink.md) | :heavy_minus_sign: | A web-link for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingExhibitorAnswer.md b/packages/java/docs/models/components/ExistingExhibitorAnswer.md index d01cf2c2f..81253d6e6 100644 --- a/packages/java/docs/models/components/ExistingExhibitorAnswer.md +++ b/packages/java/docs/models/components/ExistingExhibitorAnswer.md @@ -14,5 +14,5 @@ Existing Exhibitor Answer schema | `question` | [Uuid](../../models/components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | | `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | -| `answers` | List\<[Answer2](../../models/components/Answer2.md)> | :heavy_check_mark: | List of answers | | +| `answers` | List\<[Answer22](../../models/components/Answer22.md)> | :heavy_check_mark: | List of answers | | | `id` | *String* | :heavy_check_mark: | Exhibitor Answer id | 06d2bfce-1793-11ec-9621-0242ac130002 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md b/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md index 650a9ab45..baf7b4f06 100644 --- a/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md +++ b/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md @@ -10,4 +10,4 @@ Existing Exhibitor Answer schema | `question` | [Uuid](../../models/components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | -| `answers` | List\<[Answer2](../../models/components/Answer2.md)> | :heavy_check_mark: | List of answers | \ No newline at end of file +| `answers` | List\<[Answer22](../../models/components/Answer22.md)> | :heavy_check_mark: | List of answers | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingHub.md b/packages/java/docs/models/components/ExistingHub.md index 9cbbf482e..d3a624e7f 100644 --- a/packages/java/docs/models/components/ExistingHub.md +++ b/packages/java/docs/models/components/ExistingHub.md @@ -27,5 +27,6 @@ Represents an existing Events+ hub. | `utmOverride` | [Optional\](../../models/components/UTMOverride.md) | :heavy_minus_sign: | 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. | use-custom-parameter | | `fonts` | [Optional\](../../models/components/HubFonts.md) | :heavy_minus_sign: | The fonts of the Events+ hub. | | | `login` | [Optional\](../../models/components/HubLogin.md) | :heavy_minus_sign: | Fields relating to the login process for the Events+ hub. | | +| `websiteTheming` | *Optional\* | :heavy_minus_sign: | True indicates the Events+ hub is opted into the new website theming experience. False indicates the hub uses the legacy theming experience. | true | | `id` | *Optional\* | :heavy_minus_sign: | The unique ID of an Events+ Hub. | 1e7e0f38-d73c-4326-9f93-422086b91304 | | `status` | [Optional\](../../models/components/HubStatusProperty.md) | :heavy_minus_sign: | The current Events+ Hub status. Inactive: The Events+ Hub is inactive and unavailable to members. Active: Members can access the Events+ Hub. Deleted: The Events+ Hub has been deleted and is unavailable to members or planners. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingMeetingRoom.md b/packages/java/docs/models/components/ExistingMeetingRoom.md new file mode 100644 index 000000000..827f2e1e8 --- /dev/null +++ b/packages/java/docs/models/components/ExistingMeetingRoom.md @@ -0,0 +1,23 @@ +# ExistingMeetingRoom + +An existing venue meeting room with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `name` | *String* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `description` | *Optional\* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [ExistingMeetingRoomDimensions](../../models/components/ExistingMeetingRoomDimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `displayOrder` | *Optional\* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *Optional\* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `rates` | [Optional\](../../models/components/ExistingMeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [Optional\](../../models/components/MeetingRoomCapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `amenities` | List\<[MeetingRoomAmenity](../../models/components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *Optional\* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | +| `id` | *String* | :heavy_check_mark: | The unique identifier for the meeting room. | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingMeetingRoomDimensions.md b/packages/java/docs/models/components/ExistingMeetingRoomDimensions.md new file mode 100644 index 000000000..8d25d87e4 --- /dev/null +++ b/packages/java/docs/models/components/ExistingMeetingRoomDimensions.md @@ -0,0 +1,13 @@ +# ExistingMeetingRoomDimensions + +Physical dimensions for the meeting room. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `totalSpace` | [AreaMeasurement](../../models/components/AreaMeasurement.md) | :heavy_check_mark: | Measurement of area in square feet or square meters. | +| `ceilingHeight` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `length` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `width` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingMeetingRoomInput.md b/packages/java/docs/models/components/ExistingMeetingRoomInput.md new file mode 100644 index 000000000..43470b573 --- /dev/null +++ b/packages/java/docs/models/components/ExistingMeetingRoomInput.md @@ -0,0 +1,18 @@ +# ExistingMeetingRoomInput + +An existing venue meeting room with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `name` | *String* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `description` | *Optional\* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [ExistingMeetingRoomDimensions](../../models/components/ExistingMeetingRoomDimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `displayOrder` | *Optional\* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *Optional\* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `rates` | [Optional\](../../models/components/ExistingMeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [Optional\](../../models/components/MeetingRoomCapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `amenities` | List\<[MeetingRoomAmenity](../../models/components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *Optional\* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingMeetingRoomRates.md b/packages/java/docs/models/components/ExistingMeetingRoomRates.md new file mode 100644 index 000000000..69f2b10c7 --- /dev/null +++ b/packages/java/docs/models/components/ExistingMeetingRoomRates.md @@ -0,0 +1,12 @@ +# ExistingMeetingRoomRates + +Rate information for move in/out and events. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `moveIn` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `moveOut` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `event` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueDetails.md b/packages/java/docs/models/components/ExistingVenueDetails.md new file mode 100644 index 000000000..fdb6e7061 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueDetails.md @@ -0,0 +1,33 @@ +# ExistingVenueDetails + +An existing venue details model with read-only generated properties. + + +## 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 | +| `type` | [VenueType](../../models/components/VenueType.md) | :heavy_check_mark: | Type of venue.

Values:
- `AQUARIUM_ZOO` — Aquarium/Zoo
- `ARENA_STADIUM` — Arena/Stadium
- `BANQUET_FACILITY` — Banquet Facility
- `BAR_CLUB` — Bar/Club
- `BLANK` — Blank
- `BOUTIQUE_HOTEL` — Boutique Hotel
- `CONFERENCE_CENTER` — Conference Center
- `CONVENTION_CENTER` — Convention Center
- `CORPORATE_OFFICE_SPACE` — Corporate Office Space
- `CVB` — CVB
- `DMC` — Destination Management Company
- `EDUCATIONAL_FACILITY` — Educational Facility
- `ENTERTAINMENT_VENUE` — Entertainment Venue
- `EXPOSITION_CENTER` — Exposition Center
- `GALLERY_MUSEUM` — Gallery/Museum
- `GOLF_COURSE` — Golf Course
- `HOTEL` — Hotel
- `INTERNAL_VENUE` — Internal Venue
- `LUXURY_HOTEL` — Luxury Hotel
- `MOVIE_THEATRE` — Movie Theatre
- `RESORT` — Resort
- `RESTAURANT` — Restaurant
- `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `timeZone` | *Optional\* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

[Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `brand` | *Optional\* | :heavy_minus_sign: | Venue brand. | Quality Hotels | +| `chainScale` | [Optional\](../../models/components/ChainScale.md) | :heavy_minus_sign: | A market segment classification of a venue chain based on Average Daily Rate and other factors.

Values:
- `BLANK` — Blank
- `ECONOMYCHAINS` — Economy Chains
- `INDEPENDENTS` — Independents
- `LUXURY_CHAINS` — Luxury Chains
- `MIDSCALE_CHAINS` — Midscale Chains
- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
- `UPSCALE_CHAINS` — Upscale Chains | UPSCALE_CHAINS | +| `mainPhoneNumber` | *String* | :heavy_check_mark: | Primary phone number for the venue. | +1-703-555-0100 | +| `mainFaxNumber` | *String* | :heavy_check_mark: | Primary fax number for the venue. | +1-703-555-0101 | +| `salesPhoneNumber` | *Optional\* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `salesFaxNumber` | *Optional\* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `tollFreeNumber` | *Optional\* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `websiteAddress` | *Optional\* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `currency` | [Optional\](../../models/components/Currency.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `openingDate` | *Optional\* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `description` | *Optional\* | :heavy_minus_sign: | Venue description. | A modern conference venue in downtown. | +| `additionalInformation` | *Optional\* | :heavy_minus_sign: | Additional information about the venue. | Free parking available on-site. | +| `cancellationPolicy` | *Optional\* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | Full refund if cancelled 48 hours before event. | +| `locationTypes` | List\<[LocationType](../../models/components/LocationType.md)> | :heavy_minus_sign: | Location classifications. | | +| `address` | [AddressInfo](../../models/components/AddressInfo.md) | :heavy_check_mark: | Venue address information. | | +| `id` | *String* | :heavy_check_mark: | Venue ID. | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `name` | *String* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | +| `metroArea` | *Optional\* | :heavy_minus_sign: | Metro area name. Populated once the venue is approved. | Washington DC Metro | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueDetailsInput.md b/packages/java/docs/models/components/ExistingVenueDetailsInput.md new file mode 100644 index 000000000..4f4b41b88 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueDetailsInput.md @@ -0,0 +1,26 @@ +# ExistingVenueDetailsInput + +An existing venue details model with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [VenueType](../../models/components/VenueType.md) | :heavy_check_mark: | Type of venue.

Values:
- `AQUARIUM_ZOO` — Aquarium/Zoo
- `ARENA_STADIUM` — Arena/Stadium
- `BANQUET_FACILITY` — Banquet Facility
- `BAR_CLUB` — Bar/Club
- `BLANK` — Blank
- `BOUTIQUE_HOTEL` — Boutique Hotel
- `CONFERENCE_CENTER` — Conference Center
- `CONVENTION_CENTER` — Convention Center
- `CORPORATE_OFFICE_SPACE` — Corporate Office Space
- `CVB` — CVB
- `DMC` — Destination Management Company
- `EDUCATIONAL_FACILITY` — Educational Facility
- `ENTERTAINMENT_VENUE` — Entertainment Venue
- `EXPOSITION_CENTER` — Exposition Center
- `GALLERY_MUSEUM` — Gallery/Museum
- `GOLF_COURSE` — Golf Course
- `HOTEL` — Hotel
- `INTERNAL_VENUE` — Internal Venue
- `LUXURY_HOTEL` — Luxury Hotel
- `MOVIE_THEATRE` — Movie Theatre
- `RESORT` — Resort
- `RESTAURANT` — Restaurant
- `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `timeZone` | *Optional\* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

[Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `brand` | *Optional\* | :heavy_minus_sign: | Venue brand. | Quality Hotels | +| `chainScale` | [Optional\](../../models/components/ChainScale.md) | :heavy_minus_sign: | A market segment classification of a venue chain based on Average Daily Rate and other factors.

Values:
- `BLANK` — Blank
- `ECONOMYCHAINS` — Economy Chains
- `INDEPENDENTS` — Independents
- `LUXURY_CHAINS` — Luxury Chains
- `MIDSCALE_CHAINS` — Midscale Chains
- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
- `UPSCALE_CHAINS` — Upscale Chains | UPSCALE_CHAINS | +| `mainPhoneNumber` | *String* | :heavy_check_mark: | Primary phone number for the venue. | +1-703-555-0100 | +| `mainFaxNumber` | *String* | :heavy_check_mark: | Primary fax number for the venue. | +1-703-555-0101 | +| `salesPhoneNumber` | *Optional\* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `salesFaxNumber` | *Optional\* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `tollFreeNumber` | *Optional\* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `websiteAddress` | *Optional\* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `currency` | [Optional\](../../models/components/Currency.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `openingDate` | *Optional\* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `description` | *Optional\* | :heavy_minus_sign: | Venue description. | A modern conference venue in downtown. | +| `additionalInformation` | *Optional\* | :heavy_minus_sign: | Additional information about the venue. | Free parking available on-site. | +| `cancellationPolicy` | *Optional\* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | Full refund if cancelled 48 hours before event. | +| `locationTypes` | List\<[LocationType](../../models/components/LocationType.md)> | :heavy_minus_sign: | Location classifications. | | +| `address` | [AddressInfo](../../models/components/AddressInfo.md) | :heavy_check_mark: | Venue address information. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacility.md b/packages/java/docs/models/components/ExistingVenueFacility.md new file mode 100644 index 000000000..d9db65a3c --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacility.md @@ -0,0 +1,28 @@ +# ExistingVenueFacility + +An existing venue facility model with read-only generated properties. + + +## 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 | +| `numberOfMeetingRooms` | *Optional\* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `space` | [Optional\](../../models/components/ExistingVenueFacilitySpace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `sleeping` | [Optional\](../../models/components/ExistingVenueFacilitySleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `singleRate` | [Optional\](../../models/components/ExistingVenueFacilitySingleRate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `doubleRate` | [Optional\](../../models/components/ExistingVenueFacilityDoubleRate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `taxRate` | *Optional\* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `occupancyRate` | *Optional\* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `yearBuilt` | *Optional\* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `yearRenovated` | *Optional\* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `proximityFromAirport` | [Optional\](../../models/components/ExistingVenueFacilityProximityFromAirport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `restrictions` | *Optional\* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `maximumCapacity` | [Optional\](../../models/components/ExistingVenueFacilityMaximumCapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `eventInsurance` | [Optional\](../../models/components/EventInsurance.md) | :heavy_minus_sign: | Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BLANK` — Indicates no selection, leaves the field blank
- `REQUIRED` — Required
- `MAY_BE_REQUIRED` — May Be Required
- `NOT_REQUIRED` — Not Required | | +| `id` | *String* | :heavy_check_mark: | Venue ID. | e1c05096-e352-4f2e-af1c-a6e022d36b34 | +| `name` | *String* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacilityDoubleRate.md b/packages/java/docs/models/components/ExistingVenueFacilityDoubleRate.md new file mode 100644 index 000000000..184ffbc67 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacilityDoubleRate.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilityDoubleRate + +Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *Optional\* | :heavy_minus_sign: | Lowest published rate for a double-occupancy room. | 149.99 | +| `high` | *Optional\* | :heavy_minus_sign: | Highest published rate for a double-occupancy room. | 299.99 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacilityInput.md b/packages/java/docs/models/components/ExistingVenueFacilityInput.md new file mode 100644 index 000000000..952246b79 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacilityInput.md @@ -0,0 +1,22 @@ +# ExistingVenueFacilityInput + +An existing venue facility model with read-only generated properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `numberOfMeetingRooms` | *Optional\* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `space` | [Optional\](../../models/components/ExistingVenueFacilitySpace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `sleeping` | [Optional\](../../models/components/ExistingVenueFacilitySleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `singleRate` | [Optional\](../../models/components/ExistingVenueFacilitySingleRate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `doubleRate` | [Optional\](../../models/components/ExistingVenueFacilityDoubleRate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `taxRate` | *Optional\* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `occupancyRate` | *Optional\* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `yearBuilt` | *Optional\* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `yearRenovated` | *Optional\* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `proximityFromAirport` | [Optional\](../../models/components/ExistingVenueFacilityProximityFromAirport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `restrictions` | *Optional\* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `maximumCapacity` | [Optional\](../../models/components/ExistingVenueFacilityMaximumCapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `eventInsurance` | [Optional\](../../models/components/EventInsurance.md) | :heavy_minus_sign: | Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BLANK` — Indicates no selection, leaves the field blank
- `REQUIRED` — Required
- `MAY_BE_REQUIRED` — May Be Required
- `NOT_REQUIRED` — Not Required | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacilityMaximumCapacity.md b/packages/java/docs/models/components/ExistingVenueFacilityMaximumCapacity.md new file mode 100644 index 000000000..3e4a2ab41 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacilityMaximumCapacity.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilityMaximumCapacity + +Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `seated` | *Optional\* | :heavy_minus_sign: | Maximum seated capacity at the venue. | 500 | +| `standing` | *Optional\* | :heavy_minus_sign: | Maximum standing capacity at the venue. | 800 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacilityProximityFromAirport.md b/packages/java/docs/models/components/ExistingVenueFacilityProximityFromAirport.md new file mode 100644 index 000000000..ee9cb9a9f --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacilityProximityFromAirport.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilityProximityFromAirport + +Distance from the nearest airport. `unit` is required when `distance` is provided. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `distance` | *Optional\* | :heavy_minus_sign: | Distance from the nearest airport, expressed in `unit`. Up to four digits. | 12.5 | +| `unit` | [Optional\](../../models/components/DistanceMeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for distance.

Values:
- `MILES` — Miles
- `KILOMETERS` — Kilometers | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacilitySingleRate.md b/packages/java/docs/models/components/ExistingVenueFacilitySingleRate.md new file mode 100644 index 000000000..7dd4bf8fb --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacilitySingleRate.md @@ -0,0 +1,11 @@ +# ExistingVenueFacilitySingleRate + +Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *Optional\* | :heavy_minus_sign: | Lowest published rate for a single-occupancy room. | 129.99 | +| `high` | *Optional\* | :heavy_minus_sign: | Highest published rate for a single-occupancy room. | 249.99 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacilitySleeping.md b/packages/java/docs/models/components/ExistingVenueFacilitySleeping.md new file mode 100644 index 000000000..ef9c00290 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacilitySleeping.md @@ -0,0 +1,13 @@ +# ExistingVenueFacilitySleeping + +Sleeping room inventory at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `totalRooms` | *Optional\* | :heavy_minus_sign: | Total number of sleeping rooms at the venue. | 350 | +| `suites` | *Optional\* | :heavy_minus_sign: | Total number of suites at the venue. | 20 | +| `singleRooms` | *Optional\* | :heavy_minus_sign: | Total number of single-occupancy rooms at the venue. | 200 | +| `doubleRooms` | *Optional\* | :heavy_minus_sign: | Total number of double-occupancy rooms at the venue. | 130 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueFacilitySpace.md b/packages/java/docs/models/components/ExistingVenueFacilitySpace.md new file mode 100644 index 000000000..14271c521 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueFacilitySpace.md @@ -0,0 +1,12 @@ +# ExistingVenueFacilitySpace + +Facility space measurements at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `unitOfMeasurement` | [Optional\](../../models/components/MeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | +| `totalMeetingRoomSpace` | *Optional\* | :heavy_minus_sign: | Total meeting room space at the venue. | 50000 | +| `totalExhibitSpace` | *Optional\* | :heavy_minus_sign: | Total exhibit space at the venue. | 75000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.md b/packages/java/docs/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.md deleted file mode 100644 index 1ecb7f942..000000000 --- a/packages/java/docs/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ExternalActivitiesAdditionalFieldsMetadataJson - -Additional fields metadata for an external activity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `name` | *String* | :heavy_check_mark: | The name of the additional field. | facebook_social.media | -| `description` | *Optional\* | :heavy_minus_sign: | Description of the additional field. | Contains data for facebook social media activity. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivity.md b/packages/java/docs/models/components/ExternalActivity.md index 1b6ced9c1..1afae808c 100644 --- a/packages/java/docs/models/components/ExternalActivity.md +++ b/packages/java/docs/models/components/ExternalActivity.md @@ -8,10 +8,10 @@ An external attendee activity. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `id` | *Optional\* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `attendee` | [UuidJson](../../models/components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [EventActivityDetailsJson](../../models/components/EventActivityDetailsJson.md) | :heavy_check_mark: | Details for an event activity. | | +| `attendee` | [Uuid](../../models/components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `event` | [EventActivityDetail](../../models/components/EventActivityDetail.md) | :heavy_check_mark: | Details for an event activity. | | | `time` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | | `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | | `name` | *String* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | -| `type` | [ExternalActivityTypeJson](../../models/components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `data` | [ExternalActivityDataJson](../../models/components/ExternalActivityDataJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file +| `type` | [ExternalActivityType](../../models/components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `data` | [ExternalActivityData](../../models/components/ExternalActivityData.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityAdditionalFieldsMetadata.md b/packages/java/docs/models/components/ExternalActivityAdditionalFieldsMetadata.md new file mode 100644 index 000000000..ba288ecf6 --- /dev/null +++ b/packages/java/docs/models/components/ExternalActivityAdditionalFieldsMetadata.md @@ -0,0 +1,11 @@ +# ExternalActivityAdditionalFieldsMetadata + +Additional fields metadata for an external activity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `name` | *String* | :heavy_check_mark: | The name of the additional field. | facebook_social.media | +| `description` | *Optional\* | :heavy_minus_sign: | Description of the additional field. | Contains data for facebook social media activity. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityData.md b/packages/java/docs/models/components/ExternalActivityData.md new file mode 100644 index 000000000..1dca5d195 --- /dev/null +++ b/packages/java/docs/models/components/ExternalActivityData.md @@ -0,0 +1,4 @@ +# ExternalActivityData + +This is used to denote the type of the external attendee activity. + diff --git a/packages/java/docs/models/components/ExternalActivityDataAppointmentExternal.md b/packages/java/docs/models/components/ExternalActivityDataAppointmentExternal.md new file mode 100644 index 000000000..de0d04996 --- /dev/null +++ b/packages/java/docs/models/components/ExternalActivityDataAppointmentExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataAppointmentExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityDataEventExternal.md b/packages/java/docs/models/components/ExternalActivityDataEventExternal.md new file mode 100644 index 000000000..68d3d08b3 --- /dev/null +++ b/packages/java/docs/models/components/ExternalActivityDataEventExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataEventExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityDataExhibitorExternal.md b/packages/java/docs/models/components/ExternalActivityDataExhibitorExternal.md new file mode 100644 index 000000000..e7417bddb --- /dev/null +++ b/packages/java/docs/models/components/ExternalActivityDataExhibitorExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataExhibitorExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityDataJson.md b/packages/java/docs/models/components/ExternalActivityDataJson.md deleted file mode 100644 index 5cc4e5b09..000000000 --- a/packages/java/docs/models/components/ExternalActivityDataJson.md +++ /dev/null @@ -1,4 +0,0 @@ -# ExternalActivityDataJson - -This is used to denote the type of the external attendee activity. - diff --git a/packages/java/docs/models/components/ExternalActivityDataJsonAppointmentExternal.md b/packages/java/docs/models/components/ExternalActivityDataJsonAppointmentExternal.md deleted file mode 100644 index 1e52a52fe..000000000 --- a/packages/java/docs/models/components/ExternalActivityDataJsonAppointmentExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonAppointmentExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityDataJsonEventExternal.md b/packages/java/docs/models/components/ExternalActivityDataJsonEventExternal.md deleted file mode 100644 index 5a4a55574..000000000 --- a/packages/java/docs/models/components/ExternalActivityDataJsonEventExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonEventExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityDataJsonExhibitorExternal.md b/packages/java/docs/models/components/ExternalActivityDataJsonExhibitorExternal.md deleted file mode 100644 index 8b3b17be8..000000000 --- a/packages/java/docs/models/components/ExternalActivityDataJsonExhibitorExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonExhibitorExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityDataJsonSessionExternal.md b/packages/java/docs/models/components/ExternalActivityDataJsonSessionExternal.md deleted file mode 100644 index faf52b50d..000000000 --- a/packages/java/docs/models/components/ExternalActivityDataJsonSessionExternal.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalActivityDataJsonSessionExternal - -Additional fields for external activities. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityDataSessionExternal.md b/packages/java/docs/models/components/ExternalActivityDataSessionExternal.md new file mode 100644 index 000000000..743507bdc --- /dev/null +++ b/packages/java/docs/models/components/ExternalActivityDataSessionExternal.md @@ -0,0 +1,12 @@ +# ExternalActivityDataSessionExternal + +Additional fields for external activities. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Map\ | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
"venue": "tokyo",
"submitted": "true"
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityInput.md b/packages/java/docs/models/components/ExternalActivityInput.md index a7fbe825d..a89ccd648 100644 --- a/packages/java/docs/models/components/ExternalActivityInput.md +++ b/packages/java/docs/models/components/ExternalActivityInput.md @@ -5,10 +5,10 @@ An external attendee activity. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `attendee` | [UuidJson](../../models/components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [EventActivityDetailsJsonInput](../../models/components/EventActivityDetailsJsonInput.md) | :heavy_check_mark: | Details for an event activity. | | -| `name` | *String* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | -| `type` | [ExternalActivityTypeJson](../../models/components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `data` | [ExternalActivityDataJson](../../models/components/ExternalActivityDataJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `attendee` | [Uuid](../../models/components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `event` | [EventActivityDetailInput](../../models/components/EventActivityDetailInput.md) | :heavy_check_mark: | Details for an event activity. | | +| `name` | *String* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | +| `type` | [ExternalActivityType](../../models/components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `data` | [ExternalActivityData](../../models/components/ExternalActivityData.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityMetadata.md b/packages/java/docs/models/components/ExternalActivityMetadata.md index 2cc30bd69..7bb3841e2 100644 --- a/packages/java/docs/models/components/ExternalActivityMetadata.md +++ b/packages/java/docs/models/components/ExternalActivityMetadata.md @@ -5,14 +5,14 @@ Metadata for an activity. ## 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 identifier of external attendee activity metadata. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `type` | [ExternalActivityTypeJson](../../models/components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `name` | *String* | :heavy_check_mark: | Name of an external attendee activity. | social.media | -| `description` | *Optional\* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | -| `fields` | List\<[ExternalActivitiesAdditionalFieldsMetadataJson](../../models/components/ExternalActivitiesAdditionalFieldsMetadataJson.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ 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 identifier of external attendee activity metadata. | 9463c74e-18c6-401a-a710-ae0f485bf059 | +| `type` | [ExternalActivityType](../../models/components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `name` | *String* | :heavy_check_mark: | Name of an external attendee activity. | social.media | +| `description` | *Optional\* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | +| `fields` | List\<[ExternalActivityAdditionalFieldsMetadata](../../models/components/ExternalActivityAdditionalFieldsMetadata.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityMetadataInput.md b/packages/java/docs/models/components/ExternalActivityMetadataInput.md index a06f704b7..239f48353 100644 --- a/packages/java/docs/models/components/ExternalActivityMetadataInput.md +++ b/packages/java/docs/models/components/ExternalActivityMetadataInput.md @@ -5,9 +5,9 @@ Metadata for an activity. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [ExternalActivityTypeJson](../../models/components/ExternalActivityTypeJson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `name` | *String* | :heavy_check_mark: | Name of an external attendee activity. | social.media | -| `description` | *Optional\* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | -| `fields` | List\<[ExternalActivitiesAdditionalFieldsMetadataJson](../../models/components/ExternalActivitiesAdditionalFieldsMetadataJson.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `type` | [ExternalActivityType](../../models/components/ExternalActivityType.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `name` | *String* | :heavy_check_mark: | Name of an external attendee activity. | social.media | +| `description` | *Optional\* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | +| `fields` | List\<[ExternalActivityAdditionalFieldsMetadata](../../models/components/ExternalActivityAdditionalFieldsMetadata.md)> | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityMetadataPaginatedResponse.md b/packages/java/docs/models/components/ExternalActivityMetadataPaginatedResponse.md index 1cde376ca..7e1341db5 100644 --- a/packages/java/docs/models/components/ExternalActivityMetadataPaginatedResponse.md +++ b/packages/java/docs/models/components/ExternalActivityMetadataPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of activities metadata in an account | 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\<[ExternalActivityMetadata](../../models/components/ExternalActivityMetadata.md)> | :heavy_check_mark: | Collection of external attendee activities metadata in an account. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityType.md b/packages/java/docs/models/components/ExternalActivityType.md new file mode 100644 index 000000000..de7b32bcd --- /dev/null +++ b/packages/java/docs/models/components/ExternalActivityType.md @@ -0,0 +1,21 @@ +# ExternalActivityType + +This is used to denote the type of the external attendee activity. + +## Example Usage + +```java +import com.cvent.models.components.ExternalActivityType; + +ExternalActivityType value = ExternalActivityType.EVENT_EXTERNAL; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `EVENT_EXTERNAL` | event.external | +| `SESSION_EXTERNAL` | session.external | +| `APPOINTMENT_EXTERNAL` | appointment.external | +| `EXHIBITOR_EXTERNAL` | exhibitor.external | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExternalActivityTypeJson.md b/packages/java/docs/models/components/ExternalActivityTypeJson.md deleted file mode 100644 index 8f9d9c9b4..000000000 --- a/packages/java/docs/models/components/ExternalActivityTypeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ExternalActivityTypeJson - -This is used to denote the type of the external attendee activity. - -## Example Usage - -```java -import com.cvent.models.components.ExternalActivityTypeJson; - -ExternalActivityTypeJson value = ExternalActivityTypeJson.EVENT_EXTERNAL; -``` - - -## Values - -| Name | Value | -| ---------------------- | ---------------------- | -| `EVENT_EXTERNAL` | event.external | -| `SESSION_EXTERNAL` | session.external | -| `APPOINTMENT_EXTERNAL` | appointment.external | -| `EXHIBITOR_EXTERNAL` | exhibitor.external | \ No newline at end of file diff --git a/packages/java/docs/models/components/HousingEventSummaryList.md b/packages/java/docs/models/components/HousingEventSummaryList.md index 060188428..0a95ce800 100644 --- a/packages/java/docs/models/components/HousingEventSummaryList.md +++ b/packages/java/docs/models/components/HousingEventSummaryList.md @@ -8,4 +8,4 @@ List of housing events with key information, providing a summarized view of each | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[ZeroAllOf8](../../models/components/ZeroAllOf8.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file +| `data` | List\<[ZeroAllOf6](../../models/components/ZeroAllOf6.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadInboundCreated.md b/packages/java/docs/models/components/LeadInboundCreated.md index db901d023..f00b76f60 100644 --- a/packages/java/docs/models/components/LeadInboundCreated.md +++ b/packages/java/docs/models/components/LeadInboundCreated.md @@ -5,7 +5,7 @@ A lead inbound-created activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `exhibitor` | [Optional\](../../models/components/ActivityExhibitorJson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `lead` | [Optional\](../../models/components/LeadObjectJson.md) | :heavy_minus_sign: | A Lead | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `exhibitor` | [Optional\](../../models/components/ActivityExhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `lead` | [Optional\](../../models/components/LeadObject.md) | :heavy_minus_sign: | A Lead | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadObject.md b/packages/java/docs/models/components/LeadObject.md new file mode 100644 index 000000000..56bb21b12 --- /dev/null +++ b/packages/java/docs/models/components/LeadObject.md @@ -0,0 +1,13 @@ +# LeadObject + +A Lead + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| ~~`deviceId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique identifier of the device. | ID1 | +| ~~`deviceName`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Name of the device. | Device 1 | +| ~~`boothStaff`~~ | [Optional\](../../models/components/LeadObjectActivityBoothStaff.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Booth staff for the lead. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadObjectActivityBoothStaff.md b/packages/java/docs/models/components/LeadObjectActivityBoothStaff.md new file mode 100644 index 000000000..586c00741 --- /dev/null +++ b/packages/java/docs/models/components/LeadObjectActivityBoothStaff.md @@ -0,0 +1,15 @@ +# ~~LeadObjectActivityBoothStaff~~ + +Booth staff for the lead. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the exhibitor booth staff. | | +| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the booth staff that captured the lead. | John | +| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the booth staff that captured the lead. | Doe | +| `email` | *Optional\* | :heavy_minus_sign: | The email address of the booth staff that captured the lead. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadObjectJson.md b/packages/java/docs/models/components/LeadObjectJson.md deleted file mode 100644 index 74b78ec55..000000000 --- a/packages/java/docs/models/components/LeadObjectJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# LeadObjectJson - -A Lead - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| ~~`deviceId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique identifier of the device. | ID1 | -| ~~`deviceName`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Name of the device. | Device 1 | -| ~~`boothStaff`~~ | [Optional\](../../models/components/ActivityBoothStaff.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Booth staff for the lead. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadQualified.md b/packages/java/docs/models/components/LeadQualified.md index 44f0434c6..4247475fd 100644 --- a/packages/java/docs/models/components/LeadQualified.md +++ b/packages/java/docs/models/components/LeadQualified.md @@ -5,8 +5,8 @@ A qualified lead. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [Optional\](../../models/components/ActivityExhibitorJson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `lead` | [Optional\](../../models/components/ActivityLeadJson.md) | :heavy_minus_sign: | An activity lead. | -| `responses` | List\<[LeadQualifiedQuestionResponseJson](../../models/components/LeadQualifiedQuestionResponseJson.md)> | :heavy_minus_sign: | The list of responses provided by the attendee. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `exhibitor` | [Optional\](../../models/components/ActivityExhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `lead` | [Optional\](../../models/components/ActivityLead.md) | :heavy_minus_sign: | An activity lead. | +| `responses` | List\<[LeadQualifiedQuestionResponse](../../models/components/LeadQualifiedQuestionResponse.md)> | :heavy_minus_sign: | The list of responses provided by the attendee. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadQualifiedAnswer.md b/packages/java/docs/models/components/LeadQualifiedAnswer.md new file mode 100644 index 000000000..2eac8eaf5 --- /dev/null +++ b/packages/java/docs/models/components/LeadQualifiedAnswer.md @@ -0,0 +1,12 @@ +# LeadQualifiedAnswer + +A question answer. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `type` | *Optional\* | :heavy_minus_sign: | Data type of an answer. | simple | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadQualifiedAnswerJson.md b/packages/java/docs/models/components/LeadQualifiedAnswerJson.md deleted file mode 100644 index 2aa0314c7..000000000 --- a/packages/java/docs/models/components/LeadQualifiedAnswerJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# LeadQualifiedAnswerJson - -A question answer. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `type` | *Optional\* | :heavy_minus_sign: | Data type of an answer. | simple | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadQualifiedQuestionResponse.md b/packages/java/docs/models/components/LeadQualifiedQuestionResponse.md new file mode 100644 index 000000000..6157f7e1d --- /dev/null +++ b/packages/java/docs/models/components/LeadQualifiedQuestionResponse.md @@ -0,0 +1,11 @@ +# LeadQualifiedQuestionResponse + +A Question response. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `question` | [Optional\](../../models/components/Question2.md) | :heavy_minus_sign: | The question that was answered. | +| `answers` | List\<[LeadQualifiedAnswer](../../models/components/LeadQualifiedAnswer.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadQualifiedQuestionResponseJson.md b/packages/java/docs/models/components/LeadQualifiedQuestionResponseJson.md deleted file mode 100644 index 061fed26d..000000000 --- a/packages/java/docs/models/components/LeadQualifiedQuestionResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# LeadQualifiedQuestionResponseJson - -A Question response. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `question` | [Optional\](../../models/components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | -| `answers` | List\<[LeadQualifiedAnswerJson](../../models/components/LeadQualifiedAnswerJson.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadScanned.md b/packages/java/docs/models/components/LeadScanned.md index 7230ebaa0..e5ad4944a 100644 --- a/packages/java/docs/models/components/LeadScanned.md +++ b/packages/java/docs/models/components/LeadScanned.md @@ -5,7 +5,7 @@ A lead activity ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `exhibitor` | [Optional\](../../models/components/ActivityExhibitorJson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `lead` | [Optional\](../../models/components/ActivityLeadJson.md) | :heavy_minus_sign: | An activity lead. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `exhibitor` | [Optional\](../../models/components/ActivityExhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `lead` | [Optional\](../../models/components/ActivityLead.md) | :heavy_minus_sign: | An activity lead. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LocationJson.md b/packages/java/docs/models/components/LocationJson.md index 39bc47f4e..2e9cd7c29 100644 --- a/packages/java/docs/models/components/LocationJson.md +++ b/packages/java/docs/models/components/LocationJson.md @@ -9,5 +9,5 @@ Details of a location. | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | `id` | *String* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | | `name` | *String* | :heavy_check_mark: | The name of the location. | Conference Room B | -| `parentLocation` | [Optional\](../../models/components/ZeroAllOf2.md) | :heavy_minus_sign: | Details of a location. | | +| `parentLocation` | [Optional\](../../models/components/ZeroAllOf1.md) | :heavy_minus_sign: | Details of a location. | | | `capacity` | *Optional\* | :heavy_minus_sign: | The number of attendees that can be accommodated in this location. -1 indicates unlimited capacity. | 5 | \ No newline at end of file diff --git a/packages/java/docs/models/components/LocationType.md b/packages/java/docs/models/components/LocationType.md new file mode 100644 index 000000000..5878e4840 --- /dev/null +++ b/packages/java/docs/models/components/LocationType.md @@ -0,0 +1,23 @@ +# LocationType + +Location classification for the venue. + +## Example Usage + +```java +import com.cvent.models.components.LocationType; + +LocationType value = LocationType.AIRPORT; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `AIRPORT` | AIRPORT | +| `INTERSTATE` | INTERSTATE | +| `RESORT` | RESORT | +| `SMALL_METRO_TOWN` | SMALL_METRO_TOWN | +| `SUBURBAN` | SUBURBAN | +| `URBAN` | URBAN | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequest.md b/packages/java/docs/models/components/MeetingRequest.md index 765e0942e..c3cf311de 100644 --- a/packages/java/docs/models/components/MeetingRequest.md +++ b/packages/java/docs/models/components/MeetingRequest.md @@ -16,7 +16,7 @@ A meeting request. | `status` | *Optional\* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | | `statusNote` | *Optional\* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | | `meetingRequestForm` | [MeetingRequestMeetingRequestForm](../../models/components/MeetingRequestMeetingRequestForm.md) | :heavy_check_mark: | The meeting request form the request is associated with. | | -| `questions` | List\<[MeetingRequestQuestionJson](../../models/components/MeetingRequestQuestionJson.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | +| `questions` | List\<[MeetingRequestQuestion](../../models/components/MeetingRequestQuestion.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | | `event` | [Optional\](../../models/components/MeetingRequestEvent.md) | :heavy_minus_sign: | The event the request is associated with. | | | `sourceId` | *Optional\* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | | `code` | *Optional\* | :heavy_minus_sign: | The meeting request code for reference. | VPNH3JGMTND | diff --git a/packages/java/docs/models/components/MeetingRequestBulkResponseItem.md b/packages/java/docs/models/components/MeetingRequestBulkResponseItem.md new file mode 100644 index 000000000..d1d2fcc9c --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestBulkResponseItem.md @@ -0,0 +1,13 @@ +# MeetingRequestBulkResponseItem + +Represents a single meeting request that's returned as part of a bulk request call. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `data` | [MeetingRequest](../../models/components/MeetingRequest.md) | :heavy_check_mark: | A meeting request. | | +| `status` | *long* | :heavy_check_mark: | HTTP status code representing the processing status of a single item. | 200 | +| `message` | *Optional\* | :heavy_minus_sign: | Quick description of what happened during processing. | Successful | +| `request` | [Optional\](../../models/components/Request.md) | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | Example request information. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestBulkResponseItemJson.md b/packages/java/docs/models/components/MeetingRequestBulkResponseItemJson.md deleted file mode 100644 index 52da112c2..000000000 --- a/packages/java/docs/models/components/MeetingRequestBulkResponseItemJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# MeetingRequestBulkResponseItemJson - -Represents a single meeting request that's returned as part of a bulk request call. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `data` | [MeetingRequest](../../models/components/MeetingRequest.md) | :heavy_check_mark: | A meeting request. | | -| `status` | *long* | :heavy_check_mark: | HTTP status code representing the processing status of a single item. | 200 | -| `message` | *Optional\* | :heavy_minus_sign: | Quick description of what happened during processing. | Successful | -| `request` | [Optional\](../../models/components/Request.md) | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | Example request information. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestBulkResponseItemJsonRequest.md b/packages/java/docs/models/components/MeetingRequestBulkResponseItemJsonRequest.md deleted file mode 100644 index c040bcfd7..000000000 --- a/packages/java/docs/models/components/MeetingRequestBulkResponseItemJsonRequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# MeetingRequestBulkResponseItemJsonRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestBulkResponseItemRequest.md b/packages/java/docs/models/components/MeetingRequestBulkResponseItemRequest.md new file mode 100644 index 000000000..1683e0d7c --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestBulkResponseItemRequest.md @@ -0,0 +1,7 @@ +# MeetingRequestBulkResponseItemRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestCreate.md b/packages/java/docs/models/components/MeetingRequestCreate.md new file mode 100644 index 000000000..dfc93870b --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestCreate.md @@ -0,0 +1,12 @@ +# MeetingRequestCreate + +A meeting request to create. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *String* | :heavy_check_mark: | The name of the specific meeting request. | ####test | +| `sourceId` | *Optional\* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | +| `questions` | List\<[MeetingRequestQuestionInput](../../models/components/MeetingRequestQuestionInput.md)> | :heavy_check_mark: | Questions for the meeting request. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestCreateJson.md b/packages/java/docs/models/components/MeetingRequestCreateJson.md deleted file mode 100644 index eca847174..000000000 --- a/packages/java/docs/models/components/MeetingRequestCreateJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# MeetingRequestCreateJson - -A meeting request to create. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | *String* | :heavy_check_mark: | The name of the specific meeting request. | ####test | -| `sourceId` | *Optional\* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | -| `questions` | List\<[RequestedMeetingRequestQuestionJson](../../models/components/RequestedMeetingRequestQuestionJson.md)> | :heavy_check_mark: | Questions for the meeting request. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestCustomFieldJson.md b/packages/java/docs/models/components/MeetingRequestCustomFieldJson.md deleted file mode 100644 index 6120d52e1..000000000 --- a/packages/java/docs/models/components/MeetingRequestCustomFieldJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# MeetingRequestCustomFieldJson - -Custom field for a meeting request. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `type` | [Optional\](../../models/components/MeetingRequestCustomFieldJsonCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | -| `field` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | | -| `hidden` | *Optional\* | :heavy_minus_sign: | True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. | false | -| `required` | *Optional\* | :heavy_minus_sign: | True indicates the given question must be answered. | true | -| `minLength` | *Optional\* | :heavy_minus_sign: | The minimum length of a text field. | 0 | -| `maxLength` | *Optional\* | :heavy_minus_sign: | The maximum length of a text field. | 100 | -| `minChoice` | *Optional\* | :heavy_minus_sign: | The minimum number of choices required for a multi-choice field. | 0 | -| `maxChoice` | *Optional\* | :heavy_minus_sign: | The maximum number of choices allowed for a multi-choice field. | 10 | -| `minDate` | *Optional\* | :heavy_minus_sign: | The ISO 8601 minimum date value for a date field. | 1970-12-23 | -| `maxDate` | *Optional\* | :heavy_minus_sign: | The ISO 8601 maximum date value for a date field. | 2100-12-31 | -| `answerTypes` | List\<[AnswerTypeJson](../../models/components/AnswerTypeJson.md)> | :heavy_minus_sign: | List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestCustomFieldJsonCustomFieldType.md b/packages/java/docs/models/components/MeetingRequestCustomFieldJsonCustomFieldType.md deleted file mode 100644 index e3676f2a4..000000000 --- a/packages/java/docs/models/components/MeetingRequestCustomFieldJsonCustomFieldType.md +++ /dev/null @@ -1,36 +0,0 @@ -# MeetingRequestCustomFieldJsonCustomFieldType - -The type of data collected by a custom field. - -## Example Usage - -```java -import com.cvent.models.components.MeetingRequestCustomFieldJsonCustomFieldType; - -MeetingRequestCustomFieldJsonCustomFieldType value = MeetingRequestCustomFieldJsonCustomFieldType.AUTO_INCREMENT; -``` - - -## Values - -| Name | Value | -| ---------------------- | ---------------------- | -| `AUTO_INCREMENT` | AutoIncrement | -| `CONSENT_QUESTION` | ConsentQuestion | -| `CURRENCY` | Currency | -| `DECIMAL` | Decimal | -| `DATE` | Date | -| `DATE_TIME` | DateTime | -| `EMAIL` | Email | -| `FILE_UPLOAD` | FileUpload | -| `FREE_TEXT` | FreeText | -| `GENERAL` | General | -| `MULTI_CHOICE` | MultiChoice | -| `MULTI_SELECT` | MultiSelect | -| `NUMBER` | Number | -| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | -| `OPEN_ENDED_TEXT` | OpenEndedText | -| `SINGLE_CHOICE` | SingleChoice | -| `SINGLE_SELECT` | SingleSelect | -| `US_PHONE_NUMBER` | USPhoneNumber | -| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestDocument.md b/packages/java/docs/models/components/MeetingRequestDocument.md new file mode 100644 index 000000000..3319349d7 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestDocument.md @@ -0,0 +1,19 @@ +# MeetingRequestDocument + +Document attached to a meeting request that can be downloaded. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique identifier of the document. | | +| `name` | *Optional\* | :heavy_minus_sign: | Name of the document. | Agenda | +| `size` | *Optional\* | :heavy_minus_sign: | Size of the document in bytes | 204800 | +| `uploaded` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO-8601 formatted date and time when the document was uploaded. | 2024-06-15T13:45:30Z | +| `uploadedBy` | *Optional\* | :heavy_minus_sign: | The user who uploaded the document. | John Doe | +| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO-8601 formatted date and time when this document was last updated. | 2024-10-12T03:00:00Z | +| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The user who last updated the document. | John Doe | +| `mimeType` | *Optional\* | :heavy_minus_sign: | The MIME type of the document | application/pdf | +| `referenceLink` | [Optional\](../../models/components/MeetingRequestDocumentReferenceLink.md) | :heavy_minus_sign: | A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. | | +| `meetingRequest` | [Optional\](../../models/components/MeetingRequestDocumentMeetingRequest.md) | :heavy_minus_sign: | The meeting request this document is attached to. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestDocumentJson.md b/packages/java/docs/models/components/MeetingRequestDocumentJson.md deleted file mode 100644 index e4de85d03..000000000 --- a/packages/java/docs/models/components/MeetingRequestDocumentJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# MeetingRequestDocumentJson - -Document attached to a meeting request that can be downloaded. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | Unique identifier of the document. | | -| `name` | *Optional\* | :heavy_minus_sign: | Name of the document. | Agenda | -| `size` | *Optional\* | :heavy_minus_sign: | Size of the document in bytes | 204800 | -| `uploaded` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO-8601 formatted date and time when the document was uploaded. | 2024-06-15T13:45:30Z | -| `uploadedBy` | *Optional\* | :heavy_minus_sign: | The user who uploaded the document. | John Doe | -| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO-8601 formatted date and time when this document was last updated. | 2024-10-12T03:00:00Z | -| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The user who last updated the document. | John Doe | -| `mimeType` | *Optional\* | :heavy_minus_sign: | The MIME type of the document | application/pdf | -| `referenceLink` | [Optional\](../../models/components/MeetingRequestDocumentReferenceLinkJson.md) | :heavy_minus_sign: | A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. | | -| `meetingRequest` | [Optional\](../../models/components/MeetingRequestDocumentJsonMeetingRequest.md) | :heavy_minus_sign: | The meeting request this document is attached to. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestDocumentJsonMeetingRequest.md b/packages/java/docs/models/components/MeetingRequestDocumentJsonMeetingRequest.md deleted file mode 100644 index 79823a046..000000000 --- a/packages/java/docs/models/components/MeetingRequestDocumentJsonMeetingRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# MeetingRequestDocumentJsonMeetingRequest - -The meeting request this document is attached to. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Meeting Request ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestDocumentMeetingRequest.md b/packages/java/docs/models/components/MeetingRequestDocumentMeetingRequest.md new file mode 100644 index 000000000..f8505e329 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestDocumentMeetingRequest.md @@ -0,0 +1,10 @@ +# MeetingRequestDocumentMeetingRequest + +The meeting request this document is attached to. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Meeting Request ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestDocumentPaginatedResponse.md b/packages/java/docs/models/components/MeetingRequestDocumentPaginatedResponse.md index 1d99aa360..068226d94 100644 --- a/packages/java/docs/models/components/MeetingRequestDocumentPaginatedResponse.md +++ b/packages/java/docs/models/components/MeetingRequestDocumentPaginatedResponse.md @@ -5,7 +5,7 @@ Paginated collection of meeting request documents. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[MeetingRequestDocumentJson](../../models/components/MeetingRequestDocumentJson.md)> | :heavy_check_mark: | Collection of meeting request object documents. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[MeetingRequestDocument](../../models/components/MeetingRequestDocument.md)> | :heavy_check_mark: | Collection of meeting request object documents. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestDocumentReferenceLink.md b/packages/java/docs/models/components/MeetingRequestDocumentReferenceLink.md new file mode 100644 index 000000000..b62f267ee --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestDocumentReferenceLink.md @@ -0,0 +1,11 @@ +# MeetingRequestDocumentReferenceLink + +A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `url` | *Optional\* | :heavy_minus_sign: | The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. | https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf | +| `expiration` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. | 2025-12-31T23:59:59Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestDocumentReferenceLinkJson.md b/packages/java/docs/models/components/MeetingRequestDocumentReferenceLinkJson.md deleted file mode 100644 index 04f38fbb6..000000000 --- a/packages/java/docs/models/components/MeetingRequestDocumentReferenceLinkJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# MeetingRequestDocumentReferenceLinkJson - -A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `url` | *Optional\* | :heavy_minus_sign: | The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. | https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf | -| `expiration` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. | 2025-12-31T23:59:59Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestForm.md b/packages/java/docs/models/components/MeetingRequestForm.md index 82771f094..79352b29d 100644 --- a/packages/java/docs/models/components/MeetingRequestForm.md +++ b/packages/java/docs/models/components/MeetingRequestForm.md @@ -11,4 +11,4 @@ A meeting request form. | `name` | *String* | :heavy_check_mark: | User-defined name of the meeting request form. | Request for Medical Meetups | | `statuses` | List\<*String*> | :heavy_minus_sign: | User-defined list of statuses for the meeting request form. | | | `active` | *Optional\* | :heavy_minus_sign: | A boolean indicating a meeting request form's active status. When true, the meeting request form is available for new request submissions. When false, only updates can be made to existing requests for this form | true | -| `questions` | List\<[MeetingRequestCustomFieldJson](../../models/components/MeetingRequestCustomFieldJson.md)> | :heavy_minus_sign: | The list of questions that will need to be answered by someone creating a meeting request from this form. | | \ No newline at end of file +| `questions` | List\<[CustomFieldSchema2](../../models/components/CustomFieldSchema2.md)> | :heavy_minus_sign: | The list of questions that will need to be answered by someone creating a meeting request from this form. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestFormPaginatedResponse.md b/packages/java/docs/models/components/MeetingRequestFormPaginatedResponse.md index b2d3dcc92..a7b3002e7 100644 --- a/packages/java/docs/models/components/MeetingRequestFormPaginatedResponse.md +++ b/packages/java/docs/models/components/MeetingRequestFormPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of meeting request forms. This inclu | 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\<[MeetingRequestForm](../../models/components/MeetingRequestForm.md)> | :heavy_check_mark: | Collection of meeting request form objects. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestPaginatedResponse.md b/packages/java/docs/models/components/MeetingRequestPaginatedResponse.md index 25cc0f7b9..ba2310542 100644 --- a/packages/java/docs/models/components/MeetingRequestPaginatedResponse.md +++ b/packages/java/docs/models/components/MeetingRequestPaginatedResponse.md @@ -7,5 +7,5 @@ Paginated collection of meeting requests. | 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\<[MeetingRequest](../../models/components/MeetingRequest.md)> | :heavy_check_mark: | Collection of meeting request objects. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestQuestion.md b/packages/java/docs/models/components/MeetingRequestQuestion.md new file mode 100644 index 000000000..32e5e4db4 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestQuestion.md @@ -0,0 +1,16 @@ +# MeetingRequestQuestion + +A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `name` | *Optional\* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | +| `type` | [Optional\](../../models/components/QuestionType1.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | +| `value` | List\<*String*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

In all other cases, `answerType` is not expected to be set. | Other | +| `secondaryValue` | *Optional\* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | +| `compositeValue` | [Optional\](../../models/components/CompositeValue.md) | :heavy_minus_sign: | The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.

The structure of the array depends on the question `type`. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestQuestionInput.md b/packages/java/docs/models/components/MeetingRequestQuestionInput.md new file mode 100644 index 000000000..639c7669c --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestQuestionInput.md @@ -0,0 +1,13 @@ +# MeetingRequestQuestionInput + +A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `value` | List\<*String*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

In all other cases, `answerType` is not expected to be set. | Other | +| `secondaryValue` | *Optional\* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestQuestionJson.md b/packages/java/docs/models/components/MeetingRequestQuestionJson.md deleted file mode 100644 index e521f5f4c..000000000 --- a/packages/java/docs/models/components/MeetingRequestQuestionJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# MeetingRequestQuestionJson - -A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `name` | *Optional\* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | -| `type` | [Optional\](../../models/components/QuestionTypeJson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | -| `value` | List\<*String*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

In all other cases, `answerType` is not expected to be set. | Other | -| `secondaryValue` | *Optional\* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | -| `compositeValue` | [Optional\](../../models/components/CompositeValueJson.md) | :heavy_minus_sign: | The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.

The structure of the array depends on the question `type`. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestUpdate.md b/packages/java/docs/models/components/MeetingRequestUpdate.md new file mode 100644 index 000000000..a83715ac6 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRequestUpdate.md @@ -0,0 +1,15 @@ +# MeetingRequestUpdate + +An updated meeting request. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The ID of a meeting request. | 017f1149-0f3a-4531-b1aa-6f66a6cb04f3 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the specific meeting request. | Limited MR | +| `questions` | List\<[MeetingRequestQuestionInput](../../models/components/MeetingRequestQuestionInput.md)> | :heavy_minus_sign: | Questions for the meeting request. | | +| `status` | *Optional\* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | +| `sourceId` | *Optional\* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | +| `statusNote` | *Optional\* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestUpdateJson.md b/packages/java/docs/models/components/MeetingRequestUpdateJson.md deleted file mode 100644 index 34b722b83..000000000 --- a/packages/java/docs/models/components/MeetingRequestUpdateJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# MeetingRequestUpdateJson - -An updated meeting request. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The ID of a meeting request. | 017f1149-0f3a-4531-b1aa-6f66a6cb04f3 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the specific meeting request. | Limited MR | -| `questions` | List\<[RequestedMeetingRequestQuestionJson](../../models/components/RequestedMeetingRequestQuestionJson.md)> | :heavy_minus_sign: | Questions for the meeting request. | | -| `status` | *Optional\* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | -| `sourceId` | *Optional\* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | -| `statusNote` | *Optional\* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoom.md b/packages/java/docs/models/components/MeetingRoom.md new file mode 100644 index 000000000..6a97af843 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoom.md @@ -0,0 +1,18 @@ +# MeetingRoom + +A venue meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `name` | *String* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `description` | *Optional\* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [MeetingRoomDimensions](../../models/components/MeetingRoomDimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `displayOrder` | *Optional\* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *Optional\* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `rates` | [Optional\](../../models/components/MeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [Optional\](../../models/components/MeetingRoomCapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `amenities` | List\<[MeetingRoomAmenity](../../models/components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *Optional\* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomAgendaItemType.md b/packages/java/docs/models/components/MeetingRoomAgendaItemType.md new file mode 100644 index 000000000..dffbded44 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomAgendaItemType.md @@ -0,0 +1,36 @@ +# MeetingRoomAgendaItemType + +Defines the agenda item types of a meeting room requirement. + +## Example Usage + +```java +import com.cvent.models.components.MeetingRoomAgendaItemType; + +MeetingRoomAgendaItemType value = MeetingRoomAgendaItemType.BREAK; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `BREAK` | Break | +| `BREAKFAST` | Breakfast | +| `BREAKOUT` | Breakout | +| `DINNER` | Dinner | +| `EXHIBIT` | Exhibit | +| `GENERAL_SESSION` | General Session | +| `HOSPITALITY_DESK` | Hospitality Desk | +| `HOSPITALITY_SUITE` | Hospitality Suite | +| `LUNCH` | Lunch | +| `MEETING` | Meeting | +| `OFFICE` | Office | +| `OTHER` | Other | +| `RECEPTION` | Reception | +| `REGISTRATION` | Registration | +| `SETUP` | Setup | +| `SNACK` | Snack | +| `SPEAKER_ROOM` | Speaker Room | +| `STORAGE_ROOM` | Storage Room | +| `TEARDOWN` | Teardown | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomAgendaItemTypeJson.md b/packages/java/docs/models/components/MeetingRoomAgendaItemTypeJson.md deleted file mode 100644 index c13c59fd3..000000000 --- a/packages/java/docs/models/components/MeetingRoomAgendaItemTypeJson.md +++ /dev/null @@ -1,36 +0,0 @@ -# MeetingRoomAgendaItemTypeJson - -Defines the agenda item types of a meeting room requirement. - -## Example Usage - -```java -import com.cvent.models.components.MeetingRoomAgendaItemTypeJson; - -MeetingRoomAgendaItemTypeJson value = MeetingRoomAgendaItemTypeJson.BREAK; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `BREAK` | Break | -| `BREAKFAST` | Breakfast | -| `BREAKOUT` | Breakout | -| `DINNER` | Dinner | -| `EXHIBIT` | Exhibit | -| `GENERAL_SESSION` | General Session | -| `HOSPITALITY_DESK` | Hospitality Desk | -| `HOSPITALITY_SUITE` | Hospitality Suite | -| `LUNCH` | Lunch | -| `MEETING` | Meeting | -| `OFFICE` | Office | -| `OTHER` | Other | -| `RECEPTION` | Reception | -| `REGISTRATION` | Registration | -| `SETUP` | Setup | -| `SNACK` | Snack | -| `SPEAKER_ROOM` | Speaker Room | -| `STORAGE_ROOM` | Storage Room | -| `TEARDOWN` | Teardown | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomAmenity.md b/packages/java/docs/models/components/MeetingRoomAmenity.md new file mode 100644 index 000000000..b338f8dff --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomAmenity.md @@ -0,0 +1,44 @@ +# MeetingRoomAmenity + +Available amenities for a meeting room. + +## Example Usage + +```java +import com.cvent.models.components.MeetingRoomAmenity; + +MeetingRoomAmenity value = MeetingRoomAmenity.AUDIO_RECORDING; +``` + + +## Values + +| Name | Value | +| ----------------------- | ----------------------- | +| `AUDIO_RECORDING` | AUDIO_RECORDING | +| `BACKGROUND_MUSIC` | BACKGROUND_MUSIC | +| `BLACKBOARD` | BLACKBOARD | +| `BUILT_IN_SCREEN` | BUILT_IN_SCREEN | +| `CLOSED_CIRCUIT_VIDEO` | CLOSED_CIRCUIT_VIDEO | +| `DRY_ERASE_BOARD` | DRY_ERASE_BOARD | +| `DVD_PLAYER` | DVD_PLAYER | +| `EASEL` | EASEL | +| `ELECTRIC_POINTER` | ELECTRIC_POINTER | +| `FLIPCHART_MARKERS` | FLIPCHART_MARKERS | +| `INTERNET` | INTERNET | +| `LECTERN` | LECTERN | +| `MICROPHONE` | MICROPHONE | +| `MONITOR_CART` | MONITOR_CART | +| `OUTDOOR_SPACE` | OUTDOOR_SPACE | +| `PERSONAL_COMPUTER` | PERSONAL_COMPUTER | +| `POWERED_SPEAKER` | POWERED_SPEAKER | +| `PRIVATE_SPACE` | PRIVATE_SPACE | +| `PROJECTION_STAND` | PROJECTION_STAND | +| `PROJECTOR` | PROJECTOR | +| `SEMI_PRIVATE_SPACE` | SEMI_PRIVATE_SPACE | +| `TELEVISION` | TELEVISION | +| `VHS_PLAYER` | VHS_PLAYER | +| `VIDEO_CAMERA` | VIDEO_CAMERA | +| `VIDEO_MONITOR` | VIDEO_MONITOR | +| `VIDEO_RECORDING` | VIDEO_RECORDING | +| `WHEELCHAIR_ACCESSIBLE` | WHEELCHAIR_ACCESSIBLE | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomCapacities.md b/packages/java/docs/models/components/MeetingRoomCapacities.md new file mode 100644 index 000000000..aab9c15b5 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomCapacities.md @@ -0,0 +1,11 @@ +# MeetingRoomCapacities + +Capacity information for a meeting room, grouped by category. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `exhibits` | List\<[MeetingRoomExhibitCapacity](../../models/components/MeetingRoomExhibitCapacity.md)> | :heavy_minus_sign: | Maximum number of exhibits per room setup. | +| `seating` | List\<[MeetingRoomSeatingCapacity](../../models/components/MeetingRoomSeatingCapacity.md)> | :heavy_minus_sign: | Maximum number of attendees per seating style. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomDimensions.md b/packages/java/docs/models/components/MeetingRoomDimensions.md new file mode 100644 index 000000000..1928ea344 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomDimensions.md @@ -0,0 +1,13 @@ +# MeetingRoomDimensions + +Physical dimensions for the meeting room. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `totalSpace` | [AreaMeasurement](../../models/components/AreaMeasurement.md) | :heavy_check_mark: | Measurement of area in square feet or square meters. | +| `ceilingHeight` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `length` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `width` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomExhibitCapacity.md b/packages/java/docs/models/components/MeetingRoomExhibitCapacity.md new file mode 100644 index 000000000..dd4f1382d --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomExhibitCapacity.md @@ -0,0 +1,11 @@ +# MeetingRoomExhibitCapacity + +Maximum number of exhibits for a specific exhibit layout type in a meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `layoutType` | [ExhibitLayoutType](../../models/components/ExhibitLayoutType.md) | :heavy_check_mark: | The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. | BOOTH_10x10 | +| `maxExhibits` | *long* | :heavy_check_mark: | Maximum number of exhibits for this layout type. | 50 | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomOverview.md b/packages/java/docs/models/components/MeetingRoomOverview.md new file mode 100644 index 000000000..4e104d3a8 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomOverview.md @@ -0,0 +1,13 @@ +# MeetingRoomOverview + +An overview of a venue meeting room containing key identifiers and display properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The ID of the meeting room. | b2c3d4e5-f6a7-8901-bcde-f12345678901 | +| `name` | *String* | :heavy_check_mark: | The display name of the meeting room. | Grand Ballroom | +| `hiddenOnProfile` | *Optional\* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | +| `displayOrder` | *Optional\* | :heavy_minus_sign: | Position of this meeting room in the venue's room listing, with 1 being the first position. | 1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomRate.md b/packages/java/docs/models/components/MeetingRoomRate.md new file mode 100644 index 000000000..3f378e7d0 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomRate.md @@ -0,0 +1,11 @@ +# MeetingRoomRate + +Meeting room rate with a value and application type. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | The monetary value of the rate. | 500 | +| `applicationType` | [RateApplicationType](../../models/components/RateApplicationType.md) | :heavy_check_mark: | How the rate is applied to the meeting room booking.

Values:
- `COMPLIMENTARY` — Complimentary
- `INCLUDED` — Included
- `ONETIME_FEE` — One-Time Fee
- `PER_DAY` — Per Day
- `PER_HOUR` — Per Hour
- `PER_SQ_FT` — Per Square Foot
- `PER_SQ_MTR` — Per Square Meter
- `TOTAL` — Total | PER_DAY | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomRates.md b/packages/java/docs/models/components/MeetingRoomRates.md new file mode 100644 index 000000000..1a0b92dc4 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomRates.md @@ -0,0 +1,12 @@ +# MeetingRoomRates + +Rate information for move in/out and events. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `moveIn` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `moveOut` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `event` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomRequirement.md b/packages/java/docs/models/components/MeetingRoomRequirement.md new file mode 100644 index 000000000..26a1ecf96 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomRequirement.md @@ -0,0 +1,19 @@ +# MeetingRoomRequirement + +The requirement of a meeting room on the specified date. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `date` | *String* | :heavy_check_mark: | The date for the meeting room, in format of YYYY-MM-DD. | 2099-12-11 | +| `startTime` | *Optional\* | :heavy_minus_sign: | The start time for the meeting room, in format of HH:MM:SS. | 09:30:00 | +| `endTime` | *Optional\* | :heavy_minus_sign: | The end time for the meeting room, in format of HH:MM:SS. | 14:45:00 | +| `agendaItem` | *Optional\* | :heavy_minus_sign: | The agenda item for the meeting room. | Meeting Room Agenda point 1. | +| `agendaItemType` | List\<[MeetingRoomAgendaItemType](../../models/components/MeetingRoomAgendaItemType.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. | | +| `setupType` | List\<[MeetingRoomSetupType](../../models/components/MeetingRoomSetupType.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. | | +| `roomSize` | *Optional\* | :heavy_minus_sign: | The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. | 100 | +| `numberOfPeople` | *Optional\* | :heavy_minus_sign: | The number of people for the meeting room. | 250 | +| `twentyFourHourHold` | *Optional\* | :heavy_minus_sign: | True indicates the meeting room is held for 24 hours. | false | +| `note` | *Optional\* | :heavy_minus_sign: | The meeting room requirement note. | Meeting room note. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomRequirementJson.md b/packages/java/docs/models/components/MeetingRoomRequirementJson.md deleted file mode 100644 index 61cbe5119..000000000 --- a/packages/java/docs/models/components/MeetingRoomRequirementJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# MeetingRoomRequirementJson - -The requirement of a meeting room on the specified date. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `date` | *String* | :heavy_check_mark: | The date for the meeting room, in format of YYYY-MM-DD. | 2099-12-11 | -| `startTime` | *Optional\* | :heavy_minus_sign: | The start time for the meeting room, in format of HH:MM:SS. | 09:30:00 | -| `endTime` | *Optional\* | :heavy_minus_sign: | The end time for the meeting room, in format of HH:MM:SS. | 14:45:00 | -| `agendaItem` | *Optional\* | :heavy_minus_sign: | The agenda item for the meeting room. | Meeting Room Agenda point 1. | -| `agendaItemType` | List\<[MeetingRoomAgendaItemTypeJson](../../models/components/MeetingRoomAgendaItemTypeJson.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. | | -| `setupType` | List\<[MeetingRoomSetupTypeJson](../../models/components/MeetingRoomSetupTypeJson.md)> | :heavy_minus_sign: | For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. | | -| `roomSize` | *Optional\* | :heavy_minus_sign: | The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. | 100 | -| `numberOfPeople` | *Optional\* | :heavy_minus_sign: | The number of people for the meeting room. | 250 | -| `twentyFourHourHold` | *Optional\* | :heavy_minus_sign: | True indicates the meeting room is held for 24 hours. | false | -| `note` | *Optional\* | :heavy_minus_sign: | The meeting room requirement note. | Meeting room note. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomSeatingCapacity.md b/packages/java/docs/models/components/MeetingRoomSeatingCapacity.md new file mode 100644 index 000000000..9fc147dbc --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomSeatingCapacity.md @@ -0,0 +1,11 @@ +# MeetingRoomSeatingCapacity + +Maximum number of attendees for a specific seating style in a meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `layoutType` | [SeatingLayoutType](../../models/components/SeatingLayoutType.md) | :heavy_check_mark: | The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. | THEATER | +| `maxAttendees` | *long* | :heavy_check_mark: | Maximum number of attendees for this seating style. | 250 | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomSetupType.md b/packages/java/docs/models/components/MeetingRoomSetupType.md new file mode 100644 index 000000000..1ea173039 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomSetupType.md @@ -0,0 +1,42 @@ +# MeetingRoomSetupType + +Defines the setup types of a meeting room requirement. + +## Example Usage + +```java +import com.cvent.models.components.MeetingRoomSetupType; + +MeetingRoomSetupType value = MeetingRoomSetupType.TENX10; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `TENX10` | 10x10 | +| `EIGHTX10` | 8x10 | +| `BUFFET` | Buffet | +| `CABARET` | Cabaret | +| `CHEVRON` | Chevron | +| `CLASSROOM` | Classroom | +| `CONFERENCE` | Conference | +| `CRESCENT_ROUNDS` | Crescent Rounds | +| `FLOW` | Flow | +| `HERRINGBONE` | Herringbone | +| `HOLLOW_SQUARE` | Hollow Square | +| `ISLAND` | Island | +| `OTHER` | Other | +| `PENINSULA` | Peninsula | +| `PLATED` | Plated | +| `RECEPTION` | Reception | +| `ROUNDS` | Rounds | +| `ROUNDS_OF10` | Rounds of 10 | +| `ROUNDS_OF6` | Rounds of 6 | +| `ROUNDS_OF8` | Rounds of 8 | +| `SCHOOL_ROOM` | School Room | +| `TABLETOP` | Tabletop | +| `THEATER` | Theater | +| `T_SHAPED` | T-Shaped | +| `U_SHAPED` | U-Shaped | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomSetupTypeJson.md b/packages/java/docs/models/components/MeetingRoomSetupTypeJson.md deleted file mode 100644 index 3aad0b21d..000000000 --- a/packages/java/docs/models/components/MeetingRoomSetupTypeJson.md +++ /dev/null @@ -1,42 +0,0 @@ -# MeetingRoomSetupTypeJson - -Defines the setup types of a meeting room requirement. - -## Example Usage - -```java -import com.cvent.models.components.MeetingRoomSetupTypeJson; - -MeetingRoomSetupTypeJson value = MeetingRoomSetupTypeJson.TENX10; -``` - - -## Values - -| Name | Value | -| ----------------- | ----------------- | -| `TENX10` | 10x10 | -| `EIGHTX10` | 8x10 | -| `BUFFET` | Buffet | -| `CABARET` | Cabaret | -| `CHEVRON` | Chevron | -| `CLASSROOM` | Classroom | -| `CONFERENCE` | Conference | -| `CRESCENT_ROUNDS` | Crescent Rounds | -| `FLOW` | Flow | -| `HERRINGBONE` | Herringbone | -| `HOLLOW_SQUARE` | Hollow Square | -| `ISLAND` | Island | -| `OTHER` | Other | -| `PENINSULA` | Peninsula | -| `PLATED` | Plated | -| `RECEPTION` | Reception | -| `ROUNDS` | Rounds | -| `ROUNDS_OF10` | Rounds of 10 | -| `ROUNDS_OF6` | Rounds of 6 | -| `ROUNDS_OF8` | Rounds of 8 | -| `SCHOOL_ROOM` | School Room | -| `TABLETOP` | Tabletop | -| `THEATER` | Theater | -| `T_SHAPED` | T-Shaped | -| `U_SHAPED` | U-Shaped | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRoomsOverviewResponse.md b/packages/java/docs/models/components/MeetingRoomsOverviewResponse.md new file mode 100644 index 000000000..72d21f389 --- /dev/null +++ b/packages/java/docs/models/components/MeetingRoomsOverviewResponse.md @@ -0,0 +1,11 @@ +# MeetingRoomsOverviewResponse + +Paginated overview of meeting rooms for a venue. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[MeetingRoomOverview](../../models/components/MeetingRoomOverview.md)> | :heavy_check_mark: | Overview of meeting rooms. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PatchMeetingRoom.md b/packages/java/docs/models/components/PatchMeetingRoom.md new file mode 100644 index 000000000..6ee336cd3 --- /dev/null +++ b/packages/java/docs/models/components/PatchMeetingRoom.md @@ -0,0 +1,18 @@ +# PatchMeetingRoom + +Partial update payload for a venue meeting room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the meeting room. | Grand Ballroom | +| `description` | *JsonNullable\* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [Optional\](../../models/components/PatchMeetingRoomDimensions.md) | :heavy_minus_sign: | Physical dimensions for the meeting room. | | +| `displayOrder` | *Optional\* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *JsonNullable\* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-RM-12345 | +| `rates` | [JsonNullable\](../../models/components/PatchMeetingRoomRates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [JsonNullable\](../../models/components/Capacities.md) | :heavy_minus_sign: | Capacity information for the meeting room, grouped by category. | | +| `amenities` | List\<[MeetingRoomAmenity](../../models/components/MeetingRoomAmenity.md)> | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *Optional\* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/PatchMeetingRoomDimensions.md b/packages/java/docs/models/components/PatchMeetingRoomDimensions.md new file mode 100644 index 000000000..ac3756b9d --- /dev/null +++ b/packages/java/docs/models/components/PatchMeetingRoomDimensions.md @@ -0,0 +1,13 @@ +# PatchMeetingRoomDimensions + +Physical dimensions for the meeting room. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `totalSpace` | [Optional\](../../models/components/AreaMeasurement.md) | :heavy_minus_sign: | Measurement of area in square feet or square meters. | +| `ceilingHeight` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `length` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `width` | [Optional\](../../models/components/Dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PatchMeetingRoomRates.md b/packages/java/docs/models/components/PatchMeetingRoomRates.md new file mode 100644 index 000000000..5ca1d26d7 --- /dev/null +++ b/packages/java/docs/models/components/PatchMeetingRoomRates.md @@ -0,0 +1,12 @@ +# PatchMeetingRoomRates + +Rate information for move in/out and events. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `moveIn` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `moveOut` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `event` | [Optional\](../../models/components/MeetingRoomRate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PollResponse.md b/packages/java/docs/models/components/PollResponse.md new file mode 100644 index 000000000..aa8711e08 --- /dev/null +++ b/packages/java/docs/models/components/PollResponse.md @@ -0,0 +1,11 @@ +# PollResponse + +This is used to denote the poll details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the poll. | Do you like the session? | +| `responses` | List\<[BaseQuestionResponse](../../models/components/BaseQuestionResponse.md)> | :heavy_minus_sign: | The list of question and answers for a poll. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/PollResponseJson.md b/packages/java/docs/models/components/PollResponseJson.md deleted file mode 100644 index 25c28f811..000000000 --- a/packages/java/docs/models/components/PollResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# PollResponseJson - -This is used to denote the poll details. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the poll. | Do you like the session? | -| `responses` | List\<[BaseQuestionResponseJson](../../models/components/BaseQuestionResponseJson.md)> | :heavy_minus_sign: | The list of question and answers for a poll. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessForm.md b/packages/java/docs/models/components/ProcessForm.md new file mode 100644 index 000000000..8fc2189e8 --- /dev/null +++ b/packages/java/docs/models/components/ProcessForm.md @@ -0,0 +1,12 @@ +# ProcessForm + +An object that contains the process form ID. + +This is an **expandable** object and if requested will contain the name of a process form object. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The ID of the process form. | 9c97eb50-9f88-4972-a603-f617fc3258dd | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormJson.md b/packages/java/docs/models/components/ProcessFormJson.md deleted file mode 100644 index b54986e95..000000000 --- a/packages/java/docs/models/components/ProcessFormJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# ProcessFormJson - -An object that contains the process form ID. - -This is an **expandable** object and if requested will contain the name of a process form object. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The ID of the process form. | 9c97eb50-9f88-4972-a603-f617fc3258dd | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormQuestionTypeJson.md b/packages/java/docs/models/components/ProcessFormQuestionTypeJson.md deleted file mode 100644 index 961bbcbc9..000000000 --- a/packages/java/docs/models/components/ProcessFormQuestionTypeJson.md +++ /dev/null @@ -1,28 +0,0 @@ -# ProcessFormQuestionTypeJson - -Denotes the type of data collected by a question. - -## Example Usage - -```java -import com.cvent.models.components.ProcessFormQuestionTypeJson; - -ProcessFormQuestionTypeJson value = ProcessFormQuestionTypeJson.COMMENT_BOX; -``` - - -## Values - -| Name | Value | -| ----------------- | ----------------- | -| `COMMENT_BOX` | CommentBox | -| `CURRENCY` | Currency | -| `DECIMAL` | Decimal | -| `DATE_TIME` | DateTime | -| `EMAIL` | Email | -| `GENERAL` | General | -| `NUMBER` | Number | -| `MULTI_SELECT` | MultiSelect | -| `SINGLE_SELECT` | SingleSelect | -| `US_PHONE_NUMBER` | USPhoneNumber | -| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormSubmission.md b/packages/java/docs/models/components/ProcessFormSubmission.md new file mode 100644 index 000000000..3fef160f1 --- /dev/null +++ b/packages/java/docs/models/components/ProcessFormSubmission.md @@ -0,0 +1,18 @@ +# ProcessFormSubmission + +Represents a process form submission in the context of a specific event. + + +## 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` | *String* | :heavy_check_mark: | The unique ID representing the process form submission. | f66a6cb0-4531-0f3a-cb1a-64f3017f1149 | +| `event` | [ProcessFormSubmissionEvent](../../models/components/ProcessFormSubmissionEvent.md) | :heavy_check_mark: | The event which the process form submission is associated with. | | +| `processForm` | [Optional\](../../models/components/ProcessForm.md) | :heavy_minus_sign: | An object that contains the process form ID.

This is an **expandable** object and if requested will contain the name of a process form object. | | +| `status` | *Optional\* | :heavy_minus_sign: | The status of the process form submission. The status is planner defined and can be any string. | initialized | +| `questions` | List\<[ProcessFormSubmissionQuestion](../../models/components/ProcessFormSubmissionQuestion.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormSubmissionEvent.md b/packages/java/docs/models/components/ProcessFormSubmissionEvent.md new file mode 100644 index 000000000..215c8e530 --- /dev/null +++ b/packages/java/docs/models/components/ProcessFormSubmissionEvent.md @@ -0,0 +1,10 @@ +# ProcessFormSubmissionEvent + +The event which the process form submission is associated with. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormSubmissionJson.md b/packages/java/docs/models/components/ProcessFormSubmissionJson.md deleted file mode 100644 index 615cd6594..000000000 --- a/packages/java/docs/models/components/ProcessFormSubmissionJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# ProcessFormSubmissionJson - -Represents a process form submission in the context of a specific event. - - -## 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` | *String* | :heavy_check_mark: | The unique ID representing the process form submission. | f66a6cb0-4531-0f3a-cb1a-64f3017f1149 | -| `event` | [ProcessFormSubmissionJsonEvent](../../models/components/ProcessFormSubmissionJsonEvent.md) | :heavy_check_mark: | The event which the process form submission is associated with. | | -| `processForm` | [Optional\](../../models/components/ProcessFormJson.md) | :heavy_minus_sign: | An object that contains the process form ID.

This is an **expandable** object and if requested will contain the name of a process form object. | | -| `status` | *Optional\* | :heavy_minus_sign: | The status of the process form submission. The status is planner defined and can be any string. | initialized | -| `questions` | List\<[ProcessFormSubmissionQuestionJson](../../models/components/ProcessFormSubmissionQuestionJson.md)> | :heavy_minus_sign: | The list of possible answers to a question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormSubmissionJsonEvent.md b/packages/java/docs/models/components/ProcessFormSubmissionJsonEvent.md deleted file mode 100644 index 72d061522..000000000 --- a/packages/java/docs/models/components/ProcessFormSubmissionJsonEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# ProcessFormSubmissionJsonEvent - -The event which the process form submission is associated with. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormSubmissionQuestion.md b/packages/java/docs/models/components/ProcessFormSubmissionQuestion.md new file mode 100644 index 000000000..002c8d30e --- /dev/null +++ b/packages/java/docs/models/components/ProcessFormSubmissionQuestion.md @@ -0,0 +1,13 @@ +# ProcessFormSubmissionQuestion + +A question for a process form submission. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID representing this question. | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `type` | [Optional\](../../models/components/QuestionType11.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | FreeText | +| `value` | List\<*String*> | :heavy_check_mark: | The set of answers to the question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormSubmissionQuestionJson.md b/packages/java/docs/models/components/ProcessFormSubmissionQuestionJson.md deleted file mode 100644 index cf1b3fcd8..000000000 --- a/packages/java/docs/models/components/ProcessFormSubmissionQuestionJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ProcessFormSubmissionQuestionJson - -A question for a process form submission. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `id` | *String* | :heavy_check_mark: | The unique ID representing this question. | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `type` | [Optional\](../../models/components/ProcessFormQuestionTypeJson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | FreeText | -| `value` | List\<*String*> | :heavy_check_mark: | The set of answers to the question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProcessFormSubmissionsPaginatedResponse.md b/packages/java/docs/models/components/ProcessFormSubmissionsPaginatedResponse.md index 1b16a084a..489f41a33 100644 --- a/packages/java/docs/models/components/ProcessFormSubmissionsPaginatedResponse.md +++ b/packages/java/docs/models/components/ProcessFormSubmissionsPaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of process form submissions. This in ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[ProcessFormSubmissionJson](../../models/components/ProcessFormSubmissionJson.md)> | :heavy_check_mark: | Collection of process form submission objects. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[ProcessFormSubmission](../../models/components/ProcessFormSubmission.md)> | :heavy_check_mark: | Collection of process form submission objects. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Question2.md b/packages/java/docs/models/components/Question2.md new file mode 100644 index 000000000..01dd0c321 --- /dev/null +++ b/packages/java/docs/models/components/Question2.md @@ -0,0 +1,12 @@ +# Question2 + +The question that was answered. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `code` | *Optional\* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionDetail.md b/packages/java/docs/models/components/QuestionDetail.md new file mode 100644 index 000000000..c33d597e6 --- /dev/null +++ b/packages/java/docs/models/components/QuestionDetail.md @@ -0,0 +1,11 @@ +# QuestionDetail + +The question asked in a session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `text` | *Optional\* | :heavy_minus_sign: | Question text. | Is this a new session? | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionDetailJson.md b/packages/java/docs/models/components/QuestionDetailJson.md deleted file mode 100644 index a8b915448..000000000 --- a/packages/java/docs/models/components/QuestionDetailJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# QuestionDetailJson - -The question asked in a session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `text` | *Optional\* | :heavy_minus_sign: | Question text. | Is this a new session? | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionJson1.md b/packages/java/docs/models/components/QuestionJson1.md index ef332f456..350a56dcb 100644 --- a/packages/java/docs/models/components/QuestionJson1.md +++ b/packages/java/docs/models/components/QuestionJson1.md @@ -16,7 +16,7 @@ A survey question. | `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *Optional\* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `type` | [Optional\](../../models/components/QuestionTypeJson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `choices` | List\<[ChoiceJson1](../../models/components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | | `categories` | List\<[CategoryJson1](../../models/components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | | `subCategories` | List\<[TextFieldJson](../../models/components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/java/docs/models/components/QuestionJson2.md b/packages/java/docs/models/components/QuestionJson2.md deleted file mode 100644 index 285ed37a6..000000000 --- a/packages/java/docs/models/components/QuestionJson2.md +++ /dev/null @@ -1,12 +0,0 @@ -# QuestionJson2 - -The question that was answered. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `code` | *Optional\* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponse.md b/packages/java/docs/models/components/QuestionResponse.md new file mode 100644 index 000000000..6bb9986e6 --- /dev/null +++ b/packages/java/docs/models/components/QuestionResponse.md @@ -0,0 +1,11 @@ +# QuestionResponse + +A Question response. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `question` | [Optional\](../../models/components/Question2.md) | :heavy_minus_sign: | The question that was answered. | +| `answers` | List\<[Answer21](../../models/components/Answer21.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseJson.md b/packages/java/docs/models/components/QuestionResponseJson.md deleted file mode 100644 index ef9d7cef5..000000000 --- a/packages/java/docs/models/components/QuestionResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# QuestionResponseJson - -A Question response. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `question` | [Optional\](../../models/components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | -| `answers` | List\<[AnswerJson1](../../models/components/AnswerJson1.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionType1.md b/packages/java/docs/models/components/QuestionType1.md new file mode 100644 index 000000000..9b8270bc2 --- /dev/null +++ b/packages/java/docs/models/components/QuestionType1.md @@ -0,0 +1,36 @@ +# QuestionType1 + +Denotes the type of data collected by a question. + +## Example Usage + +```java +import com.cvent.models.components.QuestionType1; + +QuestionType1 value = QuestionType1.AUTO_INCREMENT; +``` + + +## Values + +| Name | Value | +| ---------------------------- | ---------------------------- | +| `AUTO_INCREMENT` | AutoIncrement | +| `BUDGET_ESTIMATES` | BudgetEstimates | +| `CONSENT_QUESTION` | ConsentQuestion | +| `COUNTRY` | Country | +| `CURRENCY` | Currency | +| `DECIMAL` | Decimal | +| `DATE` | Date | +| `DATE_TIME` | DateTime | +| `EMAIL` | Email | +| `FILE_UPLOAD` | FileUpload | +| `FREE_TEXT` | FreeText | +| `GENERAL` | General | +| `NUMBER` | Number | +| `MEETING_ROOM_REQUIREMENTS` | MeetingRoomRequirements | +| `MULTI_SELECT` | MultiSelect | +| `SINGLE_SELECT` | SingleSelect | +| `SLEEPING_ROOM_REQUIREMENTS` | SleepingRoomRequirements | +| `US_PHONE_NUMBER` | USPhoneNumber | +| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionType11.md b/packages/java/docs/models/components/QuestionType11.md new file mode 100644 index 000000000..34ab6cbcb --- /dev/null +++ b/packages/java/docs/models/components/QuestionType11.md @@ -0,0 +1,28 @@ +# QuestionType11 + +Denotes the type of data collected by a question. + +## Example Usage + +```java +import com.cvent.models.components.QuestionType11; + +QuestionType11 value = QuestionType11.COMMENT_BOX; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `COMMENT_BOX` | CommentBox | +| `CURRENCY` | Currency | +| `DECIMAL` | Decimal | +| `DATE_TIME` | DateTime | +| `EMAIL` | Email | +| `GENERAL` | General | +| `NUMBER` | Number | +| `MULTI_SELECT` | MultiSelect | +| `SINGLE_SELECT` | SingleSelect | +| `US_PHONE_NUMBER` | USPhoneNumber | +| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionTypeJson.md b/packages/java/docs/models/components/QuestionTypeJson.md index 2454892fd..f81731dfa 100644 --- a/packages/java/docs/models/components/QuestionTypeJson.md +++ b/packages/java/docs/models/components/QuestionTypeJson.md @@ -1,36 +1,35 @@ # QuestionTypeJson -Denotes the type of data collected by a question. +Question Type. ## Example Usage ```java import com.cvent.models.components.QuestionTypeJson; -QuestionTypeJson value = QuestionTypeJson.AUTO_INCREMENT; +QuestionTypeJson value = QuestionTypeJson.SINGLE_CHOICE; ``` ## Values -| Name | Value | -| ---------------------------- | ---------------------------- | -| `AUTO_INCREMENT` | AutoIncrement | -| `BUDGET_ESTIMATES` | BudgetEstimates | -| `CONSENT_QUESTION` | ConsentQuestion | -| `COUNTRY` | Country | -| `CURRENCY` | Currency | -| `DECIMAL` | Decimal | -| `DATE` | Date | -| `DATE_TIME` | DateTime | -| `EMAIL` | Email | -| `FILE_UPLOAD` | FileUpload | -| `FREE_TEXT` | FreeText | -| `GENERAL` | General | -| `NUMBER` | Number | -| `MEETING_ROOM_REQUIREMENTS` | MeetingRoomRequirements | -| `MULTI_SELECT` | MultiSelect | -| `SINGLE_SELECT` | SingleSelect | -| `SLEEPING_ROOM_REQUIREMENTS` | SleepingRoomRequirements | -| `US_PHONE_NUMBER` | USPhoneNumber | -| `UNKNOWN` | Unknown | \ No newline at end of file +| Name | Value | +| ---------------------- | ---------------------- | +| `SINGLE_CHOICE` | SingleChoice | +| `MULTI_CHOICE` | MultiChoice | +| `MATRIX_SINGLE_CHOICE` | MatrixSingleChoice | +| `MATRIX_MULTI_CHOICE` | MatrixMultiChoice | +| `MATRIX_SIDE_BY_SIDE` | MatrixSideBySide | +| `MATRIX_SPREAD_SHEET` | MatrixSpreadSheet | +| `DATE_TIME` | DateTime | +| `NUMBER` | Number | +| `TEXT` | Text | +| `COMMENT_BOX` | CommentBox | +| `FORM` | Form | +| `RANK_ORDER` | RankOrder | +| `FILE_UPLOAD` | FileUpload | +| `NET_PROMOTER` | NetPromoter | +| `RATING` | Rating | +| `MATRIX_RATING` | MatrixRating | +| `NUMBER_ALLOCATION` | NumberAllocation | +| `LARGE_CHOICES` | LargeChoices | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionTypeJson1.md b/packages/java/docs/models/components/QuestionTypeJson1.md index 98afd7ab5..b05ba680a 100644 --- a/packages/java/docs/models/components/QuestionTypeJson1.md +++ b/packages/java/docs/models/components/QuestionTypeJson1.md @@ -1,6 +1,6 @@ # QuestionTypeJson1 -Question Type. +This object represents the type of a question ## Example Usage @@ -13,23 +13,14 @@ QuestionTypeJson1 value = QuestionTypeJson1.SINGLE_CHOICE; ## Values -| Name | Value | -| ---------------------- | ---------------------- | -| `SINGLE_CHOICE` | SingleChoice | -| `MULTI_CHOICE` | MultiChoice | -| `MATRIX_SINGLE_CHOICE` | MatrixSingleChoice | -| `MATRIX_MULTI_CHOICE` | MatrixMultiChoice | -| `MATRIX_SIDE_BY_SIDE` | MatrixSideBySide | -| `MATRIX_SPREAD_SHEET` | MatrixSpreadSheet | -| `DATE_TIME` | DateTime | -| `NUMBER` | Number | -| `TEXT` | Text | -| `COMMENT_BOX` | CommentBox | -| `FORM` | Form | -| `RANK_ORDER` | RankOrder | -| `FILE_UPLOAD` | FileUpload | -| `NET_PROMOTER` | NetPromoter | -| `RATING` | Rating | -| `MATRIX_RATING` | MatrixRating | -| `NUMBER_ALLOCATION` | NumberAllocation | -| `LARGE_CHOICES` | LargeChoices | \ No newline at end of file +| Name | Value | +| ----------------------------- | ----------------------------- | +| `SINGLE_CHOICE` | SingleChoice | +| `MULTI_CHOICE` | MultiChoice | +| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | +| `OPEN_ENDED_TEXT_ONE_LINE` | OpenEndedTextOneLine | +| `OPEN_ENDED_TEXT_COMMENT_BOX` | OpenEndedTextCommentBox | +| `OPEN_ENDED_NUMERIC` | OpenEndedNumeric | +| `FILE_UPLOAD` | FileUpload | +| `MATRIX_SINGLE_PER_ROW` | MatrixSinglePerRow | +| `MATRIX_MULTI_PER_ROW` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionTypeJson2.md b/packages/java/docs/models/components/QuestionTypeJson2.md deleted file mode 100644 index 39c538a06..000000000 --- a/packages/java/docs/models/components/QuestionTypeJson2.md +++ /dev/null @@ -1,26 +0,0 @@ -# QuestionTypeJson2 - -This object represents the type of a question - -## Example Usage - -```java -import com.cvent.models.components.QuestionTypeJson2; - -QuestionTypeJson2 value = QuestionTypeJson2.SINGLE_CHOICE; -``` - - -## Values - -| Name | Value | -| ----------------------------- | ----------------------------- | -| `SINGLE_CHOICE` | SingleChoice | -| `MULTI_CHOICE` | MultiChoice | -| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | -| `OPEN_ENDED_TEXT_ONE_LINE` | OpenEndedTextOneLine | -| `OPEN_ENDED_TEXT_COMMENT_BOX` | OpenEndedTextCommentBox | -| `OPEN_ENDED_NUMERIC` | OpenEndedNumeric | -| `FILE_UPLOAD` | FileUpload | -| `MATRIX_SINGLE_PER_ROW` | MatrixSinglePerRow | -| `MATRIX_MULTI_PER_ROW` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/java/docs/models/components/RateApplicationType.md b/packages/java/docs/models/components/RateApplicationType.md new file mode 100644 index 000000000..eabaed693 --- /dev/null +++ b/packages/java/docs/models/components/RateApplicationType.md @@ -0,0 +1,35 @@ +# RateApplicationType + +How the rate is applied to the meeting room booking. + +Values: +- `COMPLIMENTARY` — Complimentary +- `INCLUDED` — Included +- `ONETIME_FEE` — One-Time Fee +- `PER_DAY` — Per Day +- `PER_HOUR` — Per Hour +- `PER_SQ_FT` — Per Square Foot +- `PER_SQ_MTR` — Per Square Meter +- `TOTAL` — Total + +## Example Usage + +```java +import com.cvent.models.components.RateApplicationType; + +RateApplicationType value = RateApplicationType.COMPLIMENTARY; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `COMPLIMENTARY` | COMPLIMENTARY | +| `INCLUDED` | INCLUDED | +| `ONETIME_FEE` | ONETIME_FEE | +| `PER_DAY` | PER_DAY | +| `PER_HOUR` | PER_HOUR | +| `PER_SQ_FT` | PER_SQ_FT | +| `PER_SQ_MTR` | PER_SQ_MTR | +| `TOTAL` | TOTAL | \ No newline at end of file diff --git a/packages/java/docs/models/components/RequestedMeetingRequestQuestionJson.md b/packages/java/docs/models/components/RequestedMeetingRequestQuestionJson.md deleted file mode 100644 index 7f45523a3..000000000 --- a/packages/java/docs/models/components/RequestedMeetingRequestQuestionJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# RequestedMeetingRequestQuestionJson - -A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine how to format the `value` array. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `value` | List\<*String*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

**Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`).

**Country/Region questions (`type: Country`):** Provide either the country name (for example, `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes).

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object.

*Meeting Room Requirement example (one item in value array):*
`"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"`

*Sleeping Room Requirement example:*
`"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"`

*Budget Estimate example:*
`"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` | | -| `answerType` | [Optional\](../../models/components/AnswerTypeJson.md) | :heavy_minus_sign: | Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.

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

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

In all other cases, `answerType` is not expected to be set. | Other | -| `secondaryValue` | *Optional\* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SeatingLayoutType.md b/packages/java/docs/models/components/SeatingLayoutType.md new file mode 100644 index 000000000..a93662fda --- /dev/null +++ b/packages/java/docs/models/components/SeatingLayoutType.md @@ -0,0 +1,31 @@ +# SeatingLayoutType + +The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + +## Example Usage + +```java +import com.cvent.models.components.SeatingLayoutType; + +SeatingLayoutType value = SeatingLayoutType.BANQUET; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `BANQUET` | BANQUET | +| `CLASSROOM` | CLASSROOM | +| `COCKTAIL_ROUNDS` | COCKTAIL_ROUNDS | +| `CONFERENCE` | CONFERENCE | +| `CRESCENT_ROUNDS` | CRESCENT_ROUNDS | +| `E_SHAPE` | E_SHAPE | +| `HOLLOW_SQUARE` | HOLLOW_SQUARE | +| `MAXIMUM_CAPACITY` | MAXIMUM_CAPACITY | +| `PERIMETER_SEATING` | PERIMETER_SEATING | +| `ROYAL_CONFERENCE` | ROYAL_CONFERENCE | +| `TALK_SHOW` | TALK_SHOW | +| `THEATER` | THEATER | +| `T_SHAPE` | T_SHAPE | +| `U_SHAPE` | U_SHAPE | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionActivity10.md b/packages/java/docs/models/components/SessionActivity10.md deleted file mode 100644 index f65198c76..000000000 --- a/packages/java/docs/models/components/SessionActivity10.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity10 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionActivity11.md b/packages/java/docs/models/components/SessionActivity11.md deleted file mode 100644 index 13f535d98..000000000 --- a/packages/java/docs/models/components/SessionActivity11.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity11 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionActivity8.md b/packages/java/docs/models/components/SessionActivity8.md deleted file mode 100644 index acd8d8dbd..000000000 --- a/packages/java/docs/models/components/SessionActivity8.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity8 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionActivity9.md b/packages/java/docs/models/components/SessionActivity9.md deleted file mode 100644 index 47082c62a..000000000 --- a/packages/java/docs/models/components/SessionActivity9.md +++ /dev/null @@ -1,12 +0,0 @@ -# SessionActivity9 - -The activity session. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionFeedbackSubmitted.md b/packages/java/docs/models/components/SessionFeedbackSubmitted.md index d950e79f3..d06f6a6ea 100644 --- a/packages/java/docs/models/components/SessionFeedbackSubmitted.md +++ b/packages/java/docs/models/components/SessionFeedbackSubmitted.md @@ -5,7 +5,7 @@ A session feedback-submitted activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [Optional\](../../models/components/SessionActivity4.md) | :heavy_minus_sign: | The activity session. | -| `survey` | [Optional\](../../models/components/SurveyResponseJson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `session` | [Optional\](../../models/components/SessionFeedbackSubmittedSessionActivity.md) | :heavy_minus_sign: | The activity session. | +| `survey` | [Optional\](../../models/components/SurveyResponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionFeedbackSubmittedSessionActivity.md b/packages/java/docs/models/components/SessionFeedbackSubmittedSessionActivity.md new file mode 100644 index 000000000..17bbafc92 --- /dev/null +++ b/packages/java/docs/models/components/SessionFeedbackSubmittedSessionActivity.md @@ -0,0 +1,12 @@ +# SessionFeedbackSubmittedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionNoShow.md b/packages/java/docs/models/components/SessionNoShow.md index 74923059f..546dd567a 100644 --- a/packages/java/docs/models/components/SessionNoShow.md +++ b/packages/java/docs/models/components/SessionNoShow.md @@ -7,4 +7,4 @@ A session activity. | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `session` | [Optional\](../../models/components/SessionActivity5.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| `session` | [Optional\](../../models/components/SessionActivity4.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionPollResponseSubmitted.md b/packages/java/docs/models/components/SessionPollResponseSubmitted.md index e6081d9d9..22da88574 100644 --- a/packages/java/docs/models/components/SessionPollResponseSubmitted.md +++ b/packages/java/docs/models/components/SessionPollResponseSubmitted.md @@ -5,7 +5,7 @@ The poll created for a session. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `session` | [Optional\](../../models/components/SessionActivity6.md) | :heavy_minus_sign: | The activity session. | -| `poll` | [Optional\](../../models/components/PollResponseJson.md) | :heavy_minus_sign: | This is used to denote the poll details. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `session` | [Optional\](../../models/components/SessionPollResponseSubmittedSessionActivity.md) | :heavy_minus_sign: | The activity session. | +| `poll` | [Optional\](../../models/components/PollResponse.md) | :heavy_minus_sign: | This is used to denote the poll details. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionPollResponseSubmittedSessionActivity.md b/packages/java/docs/models/components/SessionPollResponseSubmittedSessionActivity.md new file mode 100644 index 000000000..8d2b3d0ea --- /dev/null +++ b/packages/java/docs/models/components/SessionPollResponseSubmittedSessionActivity.md @@ -0,0 +1,12 @@ +# SessionPollResponseSubmittedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionQuestionAsked.md b/packages/java/docs/models/components/SessionQuestionAsked.md index 5351e6aa0..e581ec0f5 100644 --- a/packages/java/docs/models/components/SessionQuestionAsked.md +++ b/packages/java/docs/models/components/SessionQuestionAsked.md @@ -5,10 +5,10 @@ The question asked activity details for the session. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [Optional\](../../models/components/SessionActivity7.md) | :heavy_minus_sign: | The activity session. | | -| `question` | [Optional\](../../models/components/QuestionDetailJson.md) | :heavy_minus_sign: | The question asked in a session. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `votes` | *Optional\* | :heavy_minus_sign: | The number of votes for a question. | 0 | -| `anonymous` | *Optional\* | :heavy_minus_sign: | True indicates the question was posted anonymously. | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `session` | [Optional\](../../models/components/SessionQuestionAskedSessionActivity.md) | :heavy_minus_sign: | The activity session. | | +| `question` | [Optional\](../../models/components/QuestionDetail.md) | :heavy_minus_sign: | The question asked in a session. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `votes` | *Optional\* | :heavy_minus_sign: | The number of votes for a question. | 0 | +| `anonymous` | *Optional\* | :heavy_minus_sign: | True indicates the question was posted anonymously. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionQuestionAskedSessionActivity.md b/packages/java/docs/models/components/SessionQuestionAskedSessionActivity.md new file mode 100644 index 000000000..60589db9e --- /dev/null +++ b/packages/java/docs/models/components/SessionQuestionAskedSessionActivity.md @@ -0,0 +1,12 @@ +# SessionQuestionAskedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionQuestionUpvoted.md b/packages/java/docs/models/components/SessionQuestionUpvoted.md index 2ac40121d..bc553c575 100644 --- a/packages/java/docs/models/components/SessionQuestionUpvoted.md +++ b/packages/java/docs/models/components/SessionQuestionUpvoted.md @@ -5,9 +5,9 @@ This denotes the question asked in the session. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [Optional\](../../models/components/SessionActivity8.md) | :heavy_minus_sign: | The activity session. | | -| `question` | [Optional\](../../models/components/QuestionDetailJson.md) | :heavy_minus_sign: | The question asked in a session. | | -| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `votes` | *Optional\* | :heavy_minus_sign: | The number of votes for a question. | 0 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `session` | [Optional\](../../models/components/SessionActivity5.md) | :heavy_minus_sign: | The activity session. | | +| `question` | [Optional\](../../models/components/QuestionDetail.md) | :heavy_minus_sign: | The question asked in a session. | | +| `platform` | *Optional\* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `votes` | *Optional\* | :heavy_minus_sign: | The number of votes for a question. | 0 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionUnenrolled.md b/packages/java/docs/models/components/SessionUnenrolled.md index b34d4107a..d58d78b39 100644 --- a/packages/java/docs/models/components/SessionUnenrolled.md +++ b/packages/java/docs/models/components/SessionUnenrolled.md @@ -7,4 +7,4 @@ A session activity. | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `session` | [Optional\](../../models/components/SessionActivity9.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| `session` | [Optional\](../../models/components/SessionActivity6.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionWaitlisted.md b/packages/java/docs/models/components/SessionWaitlisted.md index 12989e710..4277a7e0d 100644 --- a/packages/java/docs/models/components/SessionWaitlisted.md +++ b/packages/java/docs/models/components/SessionWaitlisted.md @@ -5,6 +5,6 @@ A session activity. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `session` | [Optional\](../../models/components/SessionActivity10.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `session` | [Optional\](../../models/components/SessionActivity7.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SleepingRoomRequirement.md b/packages/java/docs/models/components/SleepingRoomRequirement.md new file mode 100644 index 000000000..2276fdf45 --- /dev/null +++ b/packages/java/docs/models/components/SleepingRoomRequirement.md @@ -0,0 +1,15 @@ +# SleepingRoomRequirement + +The requirements of a sleeping room on the specified date. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `date` | *String* | :heavy_check_mark: | The date for the sleeping room, in format of YYYY-MM-DD. | 2099-12-11 | +| `any` | *Optional\* | :heavy_minus_sign: | The number of any sleeping rooms. | 10 | +| `single` | *Optional\* | :heavy_minus_sign: | The number of 1 bed sleeping rooms. | 10 | +| `suite` | *Optional\* | :heavy_minus_sign: | The number of suite sleeping rooms. | 10 | +| `staff` | *Optional\* | :heavy_minus_sign: | The number of sleeping rooms for staff. | 10 | +| `doubleBeds` | *Optional\* | :heavy_minus_sign: | The number of 2 beds sleeping rooms. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SleepingRoomRequirementJson.md b/packages/java/docs/models/components/SleepingRoomRequirementJson.md deleted file mode 100644 index 3a8a9a996..000000000 --- a/packages/java/docs/models/components/SleepingRoomRequirementJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# SleepingRoomRequirementJson - -The requirements of a sleeping room on the specified date. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `date` | *String* | :heavy_check_mark: | The date for the sleeping room, in format of YYYY-MM-DD. | 2099-12-11 | -| `any` | *Optional\* | :heavy_minus_sign: | The number of any sleeping rooms. | 10 | -| `single` | *Optional\* | :heavy_minus_sign: | The number of 1 bed sleeping rooms. | 10 | -| `suite` | *Optional\* | :heavy_minus_sign: | The number of suite sleeping rooms. | 10 | -| `staff` | *Optional\* | :heavy_minus_sign: | The number of sleeping rooms for staff. | 10 | -| `doubleBeds` | *Optional\* | :heavy_minus_sign: | The number of 2 beds sleeping rooms. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Speaker1.md b/packages/java/docs/models/components/Speaker1.md new file mode 100644 index 000000000..04d5804f5 --- /dev/null +++ b/packages/java/docs/models/components/Speaker1.md @@ -0,0 +1,11 @@ +# Speaker1 + +An activity speaker. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the speaker. | | +| `name` | *Optional\* | :heavy_minus_sign: | Name of the speaker. | Henry Ford | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerFeedbackSubmitted.md b/packages/java/docs/models/components/SpeakerFeedbackSubmitted.md index 4b23e1b3a..fcf713ca3 100644 --- a/packages/java/docs/models/components/SpeakerFeedbackSubmitted.md +++ b/packages/java/docs/models/components/SpeakerFeedbackSubmitted.md @@ -5,8 +5,8 @@ A speaker feedback-submitted activity. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [Optional\](../../models/components/SessionActivity11.md) | :heavy_minus_sign: | The activity session. | -| `speaker` | [Optional\](../../models/components/SpeakerJson.md) | :heavy_minus_sign: | An activity speaker. | -| `survey` | [Optional\](../../models/components/SurveyResponseJson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `session` | [Optional\](../../models/components/SpeakerFeedbackSubmittedSessionActivity.md) | :heavy_minus_sign: | The activity session. | +| `speaker` | [Optional\](../../models/components/Speaker1.md) | :heavy_minus_sign: | An activity speaker. | +| `survey` | [Optional\](../../models/components/SurveyResponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerFeedbackSubmittedSessionActivity.md b/packages/java/docs/models/components/SpeakerFeedbackSubmittedSessionActivity.md new file mode 100644 index 000000000..86f599d43 --- /dev/null +++ b/packages/java/docs/models/components/SpeakerFeedbackSubmittedSessionActivity.md @@ -0,0 +1,12 @@ +# SpeakerFeedbackSubmittedSessionActivity + +The activity session. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *Optional\* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *Optional\* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerFileDownloaded.md b/packages/java/docs/models/components/SpeakerFileDownloaded.md index acb9f641e..85fd6f677 100644 --- a/packages/java/docs/models/components/SpeakerFileDownloaded.md +++ b/packages/java/docs/models/components/SpeakerFileDownloaded.md @@ -5,10 +5,10 @@ A speaker file-downloaded activity. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `browser` | *Optional\* | :heavy_minus_sign: | The name of the web browser. | firefox | -| `operatingSystem` | *Optional\* | :heavy_minus_sign: | The name of the operating system. | windows | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the file. | Instructions | -| `type` | *Optional\* | :heavy_minus_sign: | The type of the file. | docx | -| `speaker` | [Optional\](../../models/components/SpeakerJson.md) | :heavy_minus_sign: | An activity speaker. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `browser` | *Optional\* | :heavy_minus_sign: | The name of the web browser. | firefox | +| `operatingSystem` | *Optional\* | :heavy_minus_sign: | The name of the operating system. | windows | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the file. | Instructions | +| `type` | *Optional\* | :heavy_minus_sign: | The type of the file. | docx | +| `speaker` | [Optional\](../../models/components/Speaker1.md) | :heavy_minus_sign: | An activity speaker. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerJson.md b/packages/java/docs/models/components/SpeakerJson.md deleted file mode 100644 index e0ab1f8ea..000000000 --- a/packages/java/docs/models/components/SpeakerJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# SpeakerJson - -An activity speaker. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the speaker. | | -| `name` | *Optional\* | :heavy_minus_sign: | Name of the speaker. | Henry Ford | \ No newline at end of file diff --git a/packages/java/docs/models/components/StandardSurveyQuestionJson.md b/packages/java/docs/models/components/StandardSurveyQuestionJson.md index 4fb466a56..e5ce1f341 100644 --- a/packages/java/docs/models/components/StandardSurveyQuestionJson.md +++ b/packages/java/docs/models/components/StandardSurveyQuestionJson.md @@ -16,7 +16,7 @@ A standard survey question. | `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *Optional\* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `type` | [Optional\](../../models/components/QuestionTypeJson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `choices` | List\<[ChoiceJson1](../../models/components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | | `categories` | List\<[CategoryJson1](../../models/components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | | `subCategories` | List\<[TextFieldJson](../../models/components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/java/docs/models/components/StateProvince1.md b/packages/java/docs/models/components/StateProvince1.md new file mode 100644 index 000000000..a075af397 --- /dev/null +++ b/packages/java/docs/models/components/StateProvince1.md @@ -0,0 +1,839 @@ +# StateProvince1 + +The state province code used for contact information. + +## Example Usage + +```java +import com.cvent.models.components.StateProvince1; + +StateProvince1 value = StateProvince1.BLANK; +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `BLANK` | BLANK | +| `AA` | AA | +| `AB` | AB | +| `ABD` | ABD | +| `ABE` | ABE | +| `ACT_AUS` | ACT_AUS | +| `AE` | AE | +| `AGB` | AGB | +| `AGY` | AGY | +| `AK` | AK | +| `AL` | AL | +| `ANS` | ANS | +| `ANT` | ANT | +| `AP` | AP | +| `AR` | AR | +| `ARD` | ARD | +| `ARM` | ARM | +| `AS` | AS | +| `AT1` | AT_1 | +| `AT2` | AT_2 | +| `AT3` | AT_3 | +| `AT4` | AT_4 | +| `AT5` | AT_5 | +| `AT6` | AT_6 | +| `AT7` | AT_7 | +| `AT8` | AT_8 | +| `AT9` | AT_9 | +| `AZ` | AZ | +| `BAN` | BAN | +| `BAS` | BAS | +| `BBD` | BBD | +| `BC` | BC | +| `BDF` | BDF | +| `BE_BRU` | BE_BRU | +| `BEN` | BEN | +| `BE_VAN` | BE_VAN | +| `BE_VBR` | BE_VBR | +| `BE_VLI` | BE_VLI | +| `BE_VOV` | BE_VOV | +| `BE_VWV` | BE_VWV | +| `BE_WBR` | BE_WBR | +| `BE_WHT` | BE_WHT | +| `BE_WLG` | BE_WLG | +| `BE_WLX` | BE_WLX | +| `BE_WNA` | BE_WNA | +| `BEX` | BEX | +| `BFS` | BFS | +| `BGE` | BGE | +| `BGW` | BGW | +| `BIR` | BIR | +| `BKM` | BKM | +| `BLA` | BLA | +| `BLY` | BLY | +| `BMH` | BMH | +| `BNB` | BNB | +| `BNE` | BNE | +| `BNH` | BNH | +| `BNS` | BNS | +| `BOL` | BOL | +| `BPL` | BPL | +| `BR_AC` | BR_AC | +| `BR_AL` | BR_AL | +| `BR_AM` | BR_AM | +| `BR_AP` | BR_AP | +| `BR_BA` | BR_BA | +| `BRC` | BRC | +| `BR_CE` | BR_CE | +| `BRD` | BRD | +| `BR_DF` | BR_DF | +| `BR_ES` | BR_ES | +| `BR_GO` | BR_GO | +| `BRK` | BRK | +| `BR_MA` | BR_MA | +| `BR_MG` | BR_MG | +| `BR_MS` | BR_MS | +| `BR_MT` | BR_MT | +| `BR_PA` | BR_PA | +| `BR_PB` | BR_PB | +| `BR_PE` | BR_PE | +| `BR_PI` | BR_PI | +| `BR_PR` | BR_PR | +| `BR_RJ` | BR_RJ | +| `BR_RN` | BR_RN | +| `BR_RO` | BR_RO | +| `BR_RR` | BR_RR | +| `BR_RS` | BR_RS | +| `BR_SC` | BR_SC | +| `BR_SE` | BR_SE | +| `BR_SP` | BR_SP | +| `BR_TO` | BR_TO | +| `BRY` | BRY | +| `BST` | BST | +| `BUR` | BUR | +| `CA` | CA | +| `CAM` | CAM | +| `CAY` | CAY | +| `CGN` | CGN | +| `CGV` | CGV | +| `CH_AG` | CH_AG | +| `CH_AI` | CH_AI | +| `CH_AR` | CH_AR | +| `CH_BE` | CH_BE | +| `CH_BL` | CH_BL | +| `CH_BS` | CH_BS | +| `CH_FR` | CH_FR | +| `CH_GE` | CH_GE | +| `CH_GL` | CH_GL | +| `CH_GR` | CH_GR | +| `CHI` | CHI | +| `CH_JU` | CH_JU | +| `CH_LU` | CH_LU | +| `CH_NE` | CH_NE | +| `CH_NW` | CH_NW | +| `CH_OW` | CH_OW | +| `CHS` | CHS | +| `CH_SG` | CH_SG | +| `CH_SH` | CH_SH | +| `CH_SO` | CH_SO | +| `CH_SZ` | CH_SZ | +| `CH_TG` | CH_TG | +| `CH_TI` | CH_TI | +| `CH_UR` | CH_UR | +| `CH_VD` | CH_VD | +| `CH_VS` | CH_VS | +| `CH_ZG` | CH_ZG | +| `CH_ZH` | CH_ZH | +| `CKF` | CKF | +| `CKT` | CKT | +| `CLD` | CLD | +| `CLK` | CLK | +| `CLR` | CLR | +| `CMA` | CMA | +| `CMD` | CMD | +| `CMN` | CMN | +| `CN11` | CN_11 | +| `CN12` | CN_12 | +| `CN13` | CN_13 | +| `CN14` | CN_14 | +| `CN15` | CN_15 | +| `CN21` | CN_21 | +| `CN22` | CN_22 | +| `CN23` | CN_23 | +| `CN31` | CN_31 | +| `CN32` | CN_32 | +| `CN33` | CN_33 | +| `CN34` | CN_34 | +| `CN35` | CN_35 | +| `CN36` | CN_36 | +| `CN37` | CN_37 | +| `CN41` | CN_41 | +| `CN42` | CN_42 | +| `CN43` | CN_43 | +| `CN44` | CN_44 | +| `CN45` | CN_45 | +| `CN46` | CN_46 | +| `CN50` | CN_50 | +| `CN51` | CN_51 | +| `CN52` | CN_52 | +| `CN53` | CN_53 | +| `CN54` | CN_54 | +| `CN61` | CN_61 | +| `CN62` | CN_62 | +| `CN63` | CN_63 | +| `CN64` | CN_64 | +| `CN65` | CN_65 | +| `CN91` | CN_91 | +| `CN92` | CN_92 | +| `CO` | CO | +| `CON` | CON | +| `COV` | COV | +| `CRF` | CRF | +| `CRY` | CRY | +| `CSR` | CSR | +| `CT` | CT | +| `CWD` | CWD | +| `CWY` | CWY | +| `DAL` | DAL | +| `DBY` | DBY | +| `DC` | DC | +| `DE` | DE | +| `DEN` | DEN | +| `DER` | DER | +| `DEV` | DEV | +| `DGN` | DGN | +| `DGY` | DGY | +| `DK015` | DK_015 | +| `DK020` | DK_020 | +| `DK025` | DK_025 | +| `DK030` | DK_030 | +| `DK035` | DK_035 | +| `DK040` | DK_040 | +| `DK042` | DK_042 | +| `DK050` | DK_050 | +| `DK055` | DK_055 | +| `DK060` | DK_060 | +| `DK065` | DK_065 | +| `DK070` | DK_070 | +| `DK076` | DK_076 | +| `DK080` | DK_080 | +| `DK101` | DK_101 | +| `DK147` | DK_147 | +| `DK81` | DK_81 | +| `DK82` | DK_82 | +| `DK83` | DK_83 | +| `DK84` | DK_84 | +| `DK85` | DK_85 | +| `DNC` | DNC | +| `DND` | DND | +| `DOR` | DOR | +| `DOW` | DOW | +| `DRY` | DRY | +| `DUD` | DUD | +| `DUR` | DUR | +| `EAL` | EAL | +| `EAY` | EAY | +| `EDH` | EDH | +| `EDU` | EDU | +| `ELN` | ELN | +| `ELS` | ELS | +| `ENF` | ENF | +| `ERW` | ERW | +| `ERY` | ERY | +| `ESS` | ESS | +| `ESX` | ESX | +| `FAL` | FAL | +| `FER` | FER | +| `FIF` | FIF | +| `FL` | FL | +| `FLN` | FLN | +| `FM` | FM | +| `GA` | GA | +| `GAT` | GAT | +| `GB` | GB | +| `GLG` | GLG | +| `GLN` | GLN | +| `GLS` | GLS | +| `GR01` | GR_01 | +| `GR03` | GR_03 | +| `GR04` | GR_04 | +| `GR05` | GR_05 | +| `GR06` | GR_06 | +| `GR07` | GR_07 | +| `GR11` | GR_11 | +| `GR12` | GR_12 | +| `GR13` | GR_13 | +| `GR14` | GR_14 | +| `GR15` | GR_15 | +| `GR16` | GR_16 | +| `GR17` | GR_17 | +| `GR21` | GR_21 | +| `GR22` | GR_22 | +| `GR23` | GR_23 | +| `GR24` | GR_24 | +| `GR31` | GR_31 | +| `GR32` | GR_32 | +| `GR33` | GR_33 | +| `GR34` | GR_34 | +| `GR41` | GR_41 | +| `GR42` | GR_42 | +| `GR43` | GR_43 | +| `GR44` | GR_44 | +| `GR51` | GR_51 | +| `GR52` | GR_52 | +| `GR53` | GR_53 | +| `GR54` | GR_54 | +| `GR55` | GR_55 | +| `GR56` | GR_56 | +| `GR57` | GR_57 | +| `GR58` | GR_58 | +| `GR59` | GR_59 | +| `GR61` | GR_61 | +| `GR62` | GR_62 | +| `GR63` | GR_63 | +| `GR64` | GR_64 | +| `GR69` | GR_69 | +| `GR71` | GR_71 | +| `GR72` | GR_72 | +| `GR73` | GR_73 | +| `GR81` | GR_81 | +| `GR82` | GR_82 | +| `GR83` | GR_83 | +| `GR84` | GR_84 | +| `GR85` | GR_85 | +| `GR91` | GR_91 | +| `GR92` | GR_92 | +| `GR93` | GR_93 | +| `GR94` | GR_94 | +| `GR_A1` | GR_A_1 | +| `GRE` | GRE | +| `GTM` | GTM | +| `GU` | GU | +| `GWN` | GWN | +| `HAL` | HAL | +| `HAM` | HAM | +| `HAV` | HAV | +| `HCK` | HCK | +| `HEF` | HEF | +| `HI` | HI | +| `HIL` | HIL | +| `HLD` | HLD | +| `HMF` | HMF | +| `HNS` | HNS | +| `HPL` | HPL | +| `HRT` | HRT | +| `HRW` | HRW | +| `HRY` | HRY | +| `IA` | IA | +| `ID` | ID | +| `IE_C` | IE_C | +| `IE_CE` | IE_CE | +| `IE_CN` | IE_CN | +| `IE_CW` | IE_CW | +| `IE_D` | IE_D | +| `IE_DL` | IE_DL | +| `IE_G` | IE_G | +| `IE_KE` | IE_KE | +| `IE_KK` | IE_KK | +| `IE_KY` | IE_KY | +| `IE_LD` | IE_LD | +| `IE_LH` | IE_LH | +| `IE_LK` | IE_LK | +| `IE_LM` | IE_LM | +| `IE_LS` | IE_LS | +| `IE_MH` | IE_MH | +| `IE_MN` | IE_MN | +| `IE_MO` | IE_MO | +| `IE_OY` | IE_OY | +| `IE_RN` | IE_RN | +| `IE_SO` | IE_SO | +| `IE_TA` | IE_TA | +| `IE_WD` | IE_WD | +| `IE_WH` | IE_WH | +| `IE_WW` | IE_WW | +| `IE_WX` | IE_WX | +| `IL` | IL | +| `IN` | IN | +| `IN_AN` | IN_AN | +| `IN_AP` | IN_AP | +| `IN_AR` | IN_AR | +| `IN_AS` | IN_AS | +| `IN_BR` | IN_BR | +| `IN_CH` | IN_CH | +| `IN_CT` | IN_CT | +| `IN_DD` | IN_DD | +| `IN_DL` | IN_DL | +| `IN_DN` | IN_DN | +| `IN_GA` | IN_GA | +| `IN_GJ` | IN_GJ | +| `IN_HP` | IN_HP | +| `IN_HR` | IN_HR | +| `IN_JH` | IN_JH | +| `IN_JK` | IN_JK | +| `IN_KA` | IN_KA | +| `IN_KL` | IN_KL | +| `IN_LD` | IN_LD | +| `IN_MH` | IN_MH | +| `IN_ML` | IN_ML | +| `IN_MN` | IN_MN | +| `IN_MP` | IN_MP | +| `IN_MZ` | IN_MZ | +| `IN_NL` | IN_NL | +| `IN_OR` | IN_OR | +| `IN_PB` | IN_PB | +| `IN_PY` | IN_PY | +| `IN_RJ` | IN_RJ | +| `IN_SK` | IN_SK | +| `IN_TG` | IN_TG | +| `IN_TN` | IN_TN | +| `IN_TR` | IN_TR | +| `IN_UL` | IN_UL | +| `IN_UP` | IN_UP | +| `IN_WB` | IN_WB | +| `IOA` | IOA | +| `IOI` | IOI | +| `IOL` | IOL | +| `IOM` | IOM | +| `IOS` | IOS | +| `IOW` | IOW | +| `IOY` | IOY | +| `ISL` | ISL | +| `IT21` | IT_21 | +| `IT23` | IT_23 | +| `IT25` | IT_25 | +| `IT32` | IT_32 | +| `IT34` | IT_34 | +| `IT36` | IT_36 | +| `IT42` | IT_42 | +| `IT45` | IT_45 | +| `IT52` | IT_52 | +| `IT55` | IT_55 | +| `IT57` | IT_57 | +| `IT62` | IT_62 | +| `IT65` | IT_65 | +| `IT67` | IT_67 | +| `IT72` | IT_72 | +| `IT75` | IT_75 | +| `IT77` | IT_77 | +| `IT78` | IT_78 | +| `IT82` | IT_82 | +| `IT88` | IT_88 | +| `IT_AG` | IT_AG | +| `IT_AL` | IT_AL | +| `IT_AN` | IT_AN | +| `IT_AO` | IT_AO | +| `IT_AP` | IT_AP | +| `IT_AQ` | IT_AQ | +| `IT_AR` | IT_AR | +| `IT_AT` | IT_AT | +| `IT_AV` | IT_AV | +| `IT_BA` | IT_BA | +| `IT_BG` | IT_BG | +| `IT_BI` | IT_BI | +| `IT_BL` | IT_BL | +| `IT_BN` | IT_BN | +| `IT_BO` | IT_BO | +| `IT_BR` | IT_BR | +| `IT_BS` | IT_BS | +| `IT_BT` | IT_BT | +| `IT_BZ` | IT_BZ | +| `IT_CA` | IT_CA | +| `IT_CB` | IT_CB | +| `IT_CE` | IT_CE | +| `IT_CH` | IT_CH | +| `IT_CI` | IT_CI | +| `IT_CL` | IT_CL | +| `IT_CN` | IT_CN | +| `IT_CO` | IT_CO | +| `IT_CR` | IT_CR | +| `IT_CS` | IT_CS | +| `IT_CT` | IT_CT | +| `IT_CZ` | IT_CZ | +| `IT_EN` | IT_EN | +| `IT_FC` | IT_FC | +| `IT_FE` | IT_FE | +| `IT_FG` | IT_FG | +| `IT_FI` | IT_FI | +| `IT_FM` | IT_FM | +| `IT_FR` | IT_FR | +| `IT_GE` | IT_GE | +| `IT_GO` | IT_GO | +| `IT_GR` | IT_GR | +| `IT_IM` | IT_IM | +| `IT_IS` | IT_IS | +| `IT_KR` | IT_KR | +| `IT_LC` | IT_LC | +| `IT_LE` | IT_LE | +| `IT_LI` | IT_LI | +| `IT_LO` | IT_LO | +| `IT_LT` | IT_LT | +| `IT_LU` | IT_LU | +| `IT_MB` | IT_MB | +| `IT_MC` | IT_MC | +| `IT_ME` | IT_ME | +| `IT_MI` | IT_MI | +| `IT_MN` | IT_MN | +| `IT_MO` | IT_MO | +| `IT_MS` | IT_MS | +| `IT_MT` | IT_MT | +| `IT_NA` | IT_NA | +| `IT_NO` | IT_NO | +| `IT_NU` | IT_NU | +| `IT_OG` | IT_OG | +| `IT_OR` | IT_OR | +| `IT_OT` | IT_OT | +| `IT_PA` | IT_PA | +| `IT_PC` | IT_PC | +| `IT_PD` | IT_PD | +| `IT_PE` | IT_PE | +| `IT_PG` | IT_PG | +| `IT_PI` | IT_PI | +| `IT_PN` | IT_PN | +| `IT_PO` | IT_PO | +| `IT_PR` | IT_PR | +| `IT_PT` | IT_PT | +| `IT_PU` | IT_PU | +| `IT_PV` | IT_PV | +| `IT_PZ` | IT_PZ | +| `IT_RA` | IT_RA | +| `IT_RC` | IT_RC | +| `IT_RE` | IT_RE | +| `IT_RG` | IT_RG | +| `IT_RI` | IT_RI | +| `IT_RM` | IT_RM | +| `IT_RN` | IT_RN | +| `IT_RO` | IT_RO | +| `IT_SA` | IT_SA | +| `IT_SI` | IT_SI | +| `IT_SO` | IT_SO | +| `IT_SP` | IT_SP | +| `IT_SR` | IT_SR | +| `IT_SS` | IT_SS | +| `IT_SV` | IT_SV | +| `IT_TA` | IT_TA | +| `IT_TE` | IT_TE | +| `IT_TN` | IT_TN | +| `IT_TO` | IT_TO | +| `IT_TP` | IT_TP | +| `IT_TR` | IT_TR | +| `IT_TS` | IT_TS | +| `IT_TV` | IT_TV | +| `IT_UD` | IT_UD | +| `IT_VA` | IT_VA | +| `IT_VB` | IT_VB | +| `IT_VC` | IT_VC | +| `IT_VE` | IT_VE | +| `IT_VI` | IT_VI | +| `IT_VR` | IT_VR | +| `IT_VS` | IT_VS | +| `IT_VT` | IT_VT | +| `IT_VV` | IT_VV | +| `IVK` | IVK | +| `JP01` | JP_01 | +| `JP02` | JP_02 | +| `JP03` | JP_03 | +| `JP04` | JP_04 | +| `JP05` | JP_05 | +| `JP06` | JP_06 | +| `JP07` | JP_07 | +| `JP08` | JP_08 | +| `JP09` | JP_09 | +| `JP10` | JP_10 | +| `JP11` | JP_11 | +| `JP12` | JP_12 | +| `JP13` | JP_13 | +| `JP14` | JP_14 | +| `JP15` | JP_15 | +| `JP16` | JP_16 | +| `JP17` | JP_17 | +| `JP18` | JP_18 | +| `JP19` | JP_19 | +| `JP20` | JP_20 | +| `JP21` | JP_21 | +| `JP22` | JP_22 | +| `JP23` | JP_23 | +| `JP24` | JP_24 | +| `JP25` | JP_25 | +| `JP26` | JP_26 | +| `JP27` | JP_27 | +| `JP28` | JP_28 | +| `JP29` | JP_29 | +| `JP30` | JP_30 | +| `JP31` | JP_31 | +| `JP32` | JP_32 | +| `JP33` | JP_33 | +| `JP34` | JP_34 | +| `JP35` | JP_35 | +| `JP36` | JP_36 | +| `JP37` | JP_37 | +| `JP38` | JP_38 | +| `JP39` | JP_39 | +| `JP40` | JP_40 | +| `JP41` | JP_41 | +| `JP42` | JP_42 | +| `JP43` | JP_43 | +| `JP44` | JP_44 | +| `JP45` | JP_45 | +| `JP46` | JP_46 | +| `JP47` | JP_47 | +| `KEC` | KEC | +| `KEN` | KEN | +| `KHL` | KHL | +| `KIR` | KIR | +| `KS` | KS | +| `KTT` | KTT | +| `KWL` | KWL | +| `KY` | KY | +| `LA` | LA | +| `LAN` | LAN | +| `LBH` | LBH | +| `LCE` | LCE | +| `LDS` | LDS | +| `LEC` | LEC | +| `LEW` | LEW | +| `LIN` | LIN | +| `LIV` | LIV | +| `LMV` | LMV | +| `LND` | LND | +| `LRN` | LRN | +| `LSB` | LSB | +| `LU_D` | LU_D | +| `LU_G` | LU_G | +| `LU_L` | LU_L | +| `LUT` | LUT | +| `MA` | MA | +| `MAN` | MAN | +| `MB` | MB | +| `MD` | MD | +| `MDB` | MDB | +| `MDS` | MDS | +| `MDW` | MDW | +| `ME` | ME | +| `MFT` | MFT | +| `MGM` | MGM | +| `MH` | MH | +| `MI` | MI | +| `MIK` | MIK | +| `MLN` | MLN | +| `MN` | MN | +| `MO` | MO | +| `MON` | MON | +| `MP` | MP | +| `MRT` | MRT | +| `MRY` | MRY | +| `MS` | MS | +| `MSY` | MSY | +| `MT` | MT | +| `MTY` | MTY | +| `MX_AGU` | MX_AGU | +| `MX_BCN` | MX_BCN | +| `MX_BCS` | MX_BCS | +| `MX_CAM` | MX_CAM | +| `MX_CHH` | MX_CHH | +| `MX_CHP` | MX_CHP | +| `MX_COA` | MX_COA | +| `MX_COL` | MX_COL | +| `MX_DIF` | MX_DIF | +| `MX_DUR` | MX_DUR | +| `MX_GRO` | MX_GRO | +| `MX_GUA` | MX_GUA | +| `MX_HID` | MX_HID | +| `MX_JAL` | MX_JAL | +| `MX_MEX` | MX_MEX | +| `MX_MIC` | MX_MIC | +| `MX_MOR` | MX_MOR | +| `MX_NAY` | MX_NAY | +| `MX_NLE` | MX_NLE | +| `MX_OAX` | MX_OAX | +| `MX_PUE` | MX_PUE | +| `MX_QUE` | MX_QUE | +| `MX_ROO` | MX_ROO | +| `MX_SIN` | MX_SIN | +| `MX_SLP` | MX_SLP | +| `MX_SON` | MX_SON | +| `MX_TAB` | MX_TAB | +| `MX_TAM` | MX_TAM | +| `MX_TLA` | MX_TLA | +| `MX_VER` | MX_VER | +| `MX_YUC` | MX_YUC | +| `MX_ZAC` | MX_ZAC | +| `MYL` | MYL | +| `NAY` | NAY | +| `NB` | NB | +| `NBL` | NBL | +| `NC` | NC | +| `ND` | ND | +| `NDN` | NDN | +| `NE` | NE | +| `NEL` | NEL | +| `NET` | NET | +| `NFK` | NFK | +| `NGM` | NGM | +| `NH` | NH | +| `NJ` | NJ | +| `NL` | NL | +| `NL_DR` | NL_DR | +| `NL_FL` | NL_FL | +| `NL_FR` | NL_FR | +| `NL_GE` | NL_GE | +| `NL_GR` | NL_GR | +| `NLK` | NLK | +| `NL_LI` | NL_LI | +| `NLN` | NLN | +| `NL_NB` | NL_NB | +| `NL_NH` | NL_NH | +| `NL_OV` | NL_OV | +| `NL_UT` | NL_UT | +| `NL_ZE` | NL_ZE | +| `NL_ZH` | NL_ZH | +| `NM` | NM | +| `NO01` | NO_01 | +| `NO02` | NO_02 | +| `NO03` | NO_03 | +| `NO04` | NO_04 | +| `NO05` | NO_05 | +| `NO06` | NO_06 | +| `NO07` | NO_07 | +| `NO08` | NO_08 | +| `NO09` | NO_09 | +| `NO10` | NO_10 | +| `NO11` | NO_11 | +| `NO12` | NO_12 | +| `NO14` | NO_14 | +| `NO15` | NO_15 | +| `NO16` | NO_16 | +| `NO17` | NO_17 | +| `NO18` | NO_18 | +| `NO19` | NO_19 | +| `NO20` | NO_20 | +| `NO21` | NO_21 | +| `NO22` | NO_22 | +| `NRY` | NRY | +| `NS` | NS | +| `NSM` | NSM | +| `NSW_AUS` | NSW_AUS | +| `NT` | NT | +| `NT_AUS` | NT_AUS | +| `NTA` | NTA | +| `NTH` | NTH | +| `NTL` | NTL | +| `NTT` | NTT | +| `NTY` | NTY | +| `NU` | NU | +| `NV` | NV | +| `NWM` | NWM | +| `NWP` | NWP | +| `NY` | NY | +| `NYK` | NYK | +| `NYM` | NYM | +| `OH` | OH | +| `OK` | OK | +| `OLD` | OLD | +| `OMH` | OMH | +| `ON` | ON | +| `OR` | OR | +| `ORK` | ORK | +| `OXF` | OXF | +| `PA` | PA | +| `PE` | PE | +| `PEM` | PEM | +| `PKN` | PKN | +| `PLY` | PLY | +| `POL` | POL | +| `POR` | POR | +| `POW` | POW | +| `PR` | PR | +| `PTE` | PTE | +| `PW` | PW | +| `QC` | QC | +| `QLD_AUS` | QLD_AUS | +| `RCC` | RCC | +| `RCH` | RCH | +| `RCT` | RCT | +| `RDB` | RDB | +| `RDG` | RDG | +| `RFW` | RFW | +| `RI` | RI | +| `RIC` | RIC | +| `ROT` | ROT | +| `RUT` | RUT | +| `SA_AUS` | SA_AUS | +| `SAW` | SAW | +| `SAY` | SAY | +| `SC` | SC | +| `SCB` | SCB | +| `SD` | SD | +| `SFK` | SFK | +| `SFT` | SFT | +| `SGC` | SGC | +| `SGM` | SGM | +| `SHF` | SHF | +| `SHN` | SHN | +| `SHR` | SHR | +| `SK` | SK | +| `SKP` | SKP | +| `SLF` | SLF | +| `SLG` | SLG | +| `SLK` | SLK | +| `SOL` | SOL | +| `SOM` | SOM | +| `SOS` | SOS | +| `SRY` | SRY | +| `STB` | STB | +| `STE` | STE | +| `STG` | STG | +| `STH` | STH | +| `STN` | STN | +| `STS` | STS | +| `STT` | STT | +| `STY` | STY | +| `SWA` | SWA | +| `SWD` | SWD | +| `SWK` | SWK | +| `SYK` | SYK | +| `TAM` | TAM | +| `TAS_AUS` | TAS_AUS | +| `TFW` | TFW | +| `THR` | THR | +| `TN` | TN | +| `TOB` | TOB | +| `TOF` | TOF | +| `TRF` | TRF | +| `TWH` | TWH | +| `TWR` | TWR | +| `TX` | TX | +| `TYR` | TYR | +| `UT` | UT | +| `VA` | VA | +| `VGL` | VGL | +| `VI` | VI | +| `VIC_AUS` | VIC_AUS | +| `VT` | VT | +| `WA` | WA | +| `WA_AUS` | WA_AUS | +| `WAR` | WAR | +| `WBK` | WBK | +| `WDU` | WDU | +| `WFT` | WFT | +| `WGM` | WGM | +| `WGN` | WGN | +| `WI` | WI | +| `WIL` | WIL | +| `WIS` | WIS | +| `WKF` | WKF | +| `WLL` | WLL | +| `WLN` | WLN | +| `WLV` | WLV | +| `WMD` | WMD | +| `WND` | WND | +| `WNM` | WNM | +| `WOK` | WOK | +| `WOR` | WOR | +| `WRL` | WRL | +| `WRT` | WRT | +| `WRX` | WRX | +| `WSM` | WSM | +| `WSX` | WSX | +| `WV` | WV | +| `WY` | WY | +| `WYK` | WYK | +| `YOR` | YOR | +| `YT` | YT | +| `ZET` | ZET | \ No newline at end of file diff --git a/packages/java/docs/models/components/SurveyResponse.md b/packages/java/docs/models/components/SurveyResponse.md new file mode 100644 index 000000000..a426ffc0c --- /dev/null +++ b/packages/java/docs/models/components/SurveyResponse.md @@ -0,0 +1,12 @@ +# SurveyResponse + +A survey response. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the survey. | | +| `responseMethod` | *Optional\* | :heavy_minus_sign: | The method used to capture the survey response. | sample method | +| `responses` | List\<[QuestionResponse](../../models/components/QuestionResponse.md)> | :heavy_minus_sign: | The list of question and answers for a survey. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/SurveyResponseJson.md b/packages/java/docs/models/components/SurveyResponseJson.md deleted file mode 100644 index c1154e0d7..000000000 --- a/packages/java/docs/models/components/SurveyResponseJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# SurveyResponseJson - -A survey response. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the survey. | | -| `responseMethod` | *Optional\* | :heavy_minus_sign: | The method used to capture the survey response. | sample method | -| `responses` | List\<[QuestionResponseJson](../../models/components/QuestionResponseJson.md)> | :heavy_minus_sign: | The list of question and answers for a survey. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidAmenity.md b/packages/java/docs/models/components/TravelBidAmenity.md index 7ae256095..11d52208c 100644 --- a/packages/java/docs/models/components/TravelBidAmenity.md +++ b/packages/java/docs/models/components/TravelBidAmenity.md @@ -5,14 +5,14 @@ Amenity details for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [Optional\](../../models/components/AmenityType.md) | :heavy_minus_sign: | Amenity type | amenity | -| `code` | *Optional\* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | -| `category` | *Optional\* | :heavy_minus_sign: | The category of the amenity. | Parking | -| `included` | *Optional\* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | -| `price` | *Optional\* | :heavy_minus_sign: | The price of the amenity. | 100 | -| `discountAmount` | *Optional\* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | -| `internalCost` | *Optional\* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | -| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [Optional\](../../models/components/AmenityType.md) | :heavy_minus_sign: | Amenity type | amenity | +| `code` | *Optional\* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | +| `category` | *Optional\* | :heavy_minus_sign: | The category of the amenity. | Parking | +| `included` | *Optional\* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | +| `price` | *Optional\* | :heavy_minus_sign: | The price of the amenity. | 100 | +| `discountAmount` | *Optional\* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | +| `internalCost` | *Optional\* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | +| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDiscount.md b/packages/java/docs/models/components/TravelBidDiscount.md index e4439d7df..11cd544b8 100644 --- a/packages/java/docs/models/components/TravelBidDiscount.md +++ b/packages/java/docs/models/components/TravelBidDiscount.md @@ -5,8 +5,8 @@ Discount for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidDiscountPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `discount` | *Optional\* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [Optional\](../../models/components/TravelBidDiscountPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `discount` | *Optional\* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeason.md b/packages/java/docs/models/components/TravelBidFairSeason.md index c75f39e25..c156a6476 100644 --- a/packages/java/docs/models/components/TravelBidFairSeason.md +++ b/packages/java/docs/models/components/TravelBidFairSeason.md @@ -5,13 +5,13 @@ The fair season for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [Optional\](../../models/components/FairSeasonType.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | -| `name` | *Optional\* | :heavy_minus_sign: | Fair season name. | Fair season 1 | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | -| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | -| `minLengthOfStay` | *Optional\* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | -| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | -| `rates` | List\<[TravelBidFairSeasonRate](../../models/components/TravelBidFairSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [Optional\](../../models/components/FairSeasonType.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | +| `name` | *Optional\* | :heavy_minus_sign: | Fair season name. | Fair season 1 | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | +| `minLengthOfStay` | *Optional\* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | +| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | +| `rates` | List\<[TravelBidFairSeasonRate](../../models/components/TravelBidFairSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeasonRate.md b/packages/java/docs/models/components/TravelBidFairSeasonRate.md index 088da5485..c5370acb0 100644 --- a/packages/java/docs/models/components/TravelBidFairSeasonRate.md +++ b/packages/java/docs/models/components/TravelBidFairSeasonRate.md @@ -5,12 +5,12 @@ The negotiated rates for a property room during the fair season. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidFairSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *Optional\* | :heavy_minus_sign: | The single room rate. | 100 | -| `doubleRate` | *Optional\* | :heavy_minus_sign: | The double room rate. | 101 | -| `tripleRate` | *Optional\* | :heavy_minus_sign: | The triple room rate. | 102 | -| `quadRate` | *Optional\* | :heavy_minus_sign: | The quadruple room rate. | 103 | -| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [Optional\](../../models/components/TravelBidFairSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *Optional\* | :heavy_minus_sign: | The single room rate. | 100 | +| `doubleRate` | *Optional\* | :heavy_minus_sign: | The double room rate. | 101 | +| `tripleRate` | *Optional\* | :heavy_minus_sign: | The triple room rate. | 102 | +| `quadRate` | *Optional\* | :heavy_minus_sign: | The quadruple room rate. | 103 | +| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidPolicy.md b/packages/java/docs/models/components/TravelBidPolicy.md index c0688af8d..3fccbf1c6 100644 --- a/packages/java/docs/models/components/TravelBidPolicy.md +++ b/packages/java/docs/models/components/TravelBidPolicy.md @@ -5,12 +5,12 @@ A policy that is associated with a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | *Optional\* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | -| `category` | *Optional\* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | -| `value` | *Optional\* | :heavy_minus_sign: | The value of the policy. | 24h | -| `valueType` | [Optional\](../../models/components/PolicyValueType.md) | :heavy_minus_sign: | Value type of the policy | | -| `included` | *Optional\* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | -| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | *Optional\* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | +| `category` | *Optional\* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | +| `value` | *Optional\* | :heavy_minus_sign: | The value of the policy. | 24h | +| `valueType` | [Optional\](../../models/components/PolicyValueType.md) | :heavy_minus_sign: | Value type of the policy | | +| `included` | *Optional\* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | +| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidRoom.md b/packages/java/docs/models/components/TravelBidRoom.md index 9e279af10..4a026eed2 100644 --- a/packages/java/docs/models/components/TravelBidRoom.md +++ b/packages/java/docs/models/components/TravelBidRoom.md @@ -5,9 +5,9 @@ A room in a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `allocation` | *Optional\* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | -| `order` | *Optional\* | :heavy_minus_sign: | The order of the room in the bid. | 1 | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [Optional\](../../models/components/TravelBidRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `allocation` | *Optional\* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | +| `order` | *Optional\* | :heavy_minus_sign: | The order of the room in the bid. | 1 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeason.md b/packages/java/docs/models/components/TravelBidSeason.md index 396d952ea..8aa80c64f 100644 --- a/packages/java/docs/models/components/TravelBidSeason.md +++ b/packages/java/docs/models/components/TravelBidSeason.md @@ -5,13 +5,13 @@ Season details for a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *Optional\* | :heavy_minus_sign: | Season name. | Season 1 | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | -| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | -| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Number of release periods. | 1 | -| `weekendReleasePeriod` | *Optional\* | :heavy_minus_sign: | Number of weekend release periods. | 2 | -| `rates` | List\<[TravelBidSeasonRate](../../models/components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the season. | | -| `weekendRates` | List\<[TravelBidSeasonRate](../../models/components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *Optional\* | :heavy_minus_sign: | Season name. | Season 1 | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | +| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Number of release periods. | 1 | +| `weekendReleasePeriod` | *Optional\* | :heavy_minus_sign: | Number of weekend release periods. | 2 | +| `rates` | List\<[TravelBidSeasonRate](../../models/components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the season. | | +| `weekendRates` | List\<[TravelBidSeasonRate](../../models/components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeasonRate.md b/packages/java/docs/models/components/TravelBidSeasonRate.md index da985f969..f6c131555 100644 --- a/packages/java/docs/models/components/TravelBidSeasonRate.md +++ b/packages/java/docs/models/components/TravelBidSeasonRate.md @@ -5,14 +5,14 @@ The negotiated rates for a property room during a specific season. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | -| `doubleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | -| `tripleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | -| `quadRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | -| `nlraSingleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | -| `nlraDoubleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | -| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [Optional\](../../models/components/TravelBidSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | +| `doubleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | +| `tripleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | +| `quadRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | +| `nlraSingleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | +| `nlraDoubleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | +| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ 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 7249a9e3a..c754b9136 100644 --- a/packages/java/docs/models/components/TravelBidTaxAndFee.md +++ b/packages/java/docs/models/components/TravelBidTaxAndFee.md @@ -5,11 +5,11 @@ A tax or fee associated with a travel bid. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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. | | -| `notes` | *Optional\* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | -| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `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. | | +| `notes` | *Optional\* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueDetailsOverview.md b/packages/java/docs/models/components/VenueDetailsOverview.md new file mode 100644 index 000000000..ad957b13c --- /dev/null +++ b/packages/java/docs/models/components/VenueDetailsOverview.md @@ -0,0 +1,11 @@ +# VenueDetailsOverview + +An overview of venue details containing key identifiers and display properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Venue ID. | b2c3d4e5-f6a7-8901-bcde-f12345678901 | +| `name` | *String* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueDetailsPatch.md b/packages/java/docs/models/components/VenueDetailsPatch.md new file mode 100644 index 000000000..0bd1fbf8c --- /dev/null +++ b/packages/java/docs/models/components/VenueDetailsPatch.md @@ -0,0 +1,26 @@ +# VenueDetailsPatch + +Partial update payload for venue details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [Optional\](../../models/components/VenueType.md) | :heavy_minus_sign: | Type of venue.

Values:
- `AQUARIUM_ZOO` — Aquarium/Zoo
- `ARENA_STADIUM` — Arena/Stadium
- `BANQUET_FACILITY` — Banquet Facility
- `BAR_CLUB` — Bar/Club
- `BLANK` — Blank
- `BOUTIQUE_HOTEL` — Boutique Hotel
- `CONFERENCE_CENTER` — Conference Center
- `CONVENTION_CENTER` — Convention Center
- `CORPORATE_OFFICE_SPACE` — Corporate Office Space
- `CVB` — CVB
- `DMC` — Destination Management Company
- `EDUCATIONAL_FACILITY` — Educational Facility
- `ENTERTAINMENT_VENUE` — Entertainment Venue
- `EXPOSITION_CENTER` — Exposition Center
- `GALLERY_MUSEUM` — Gallery/Museum
- `GOLF_COURSE` — Golf Course
- `HOTEL` — Hotel
- `INTERNAL_VENUE` — Internal Venue
- `LUXURY_HOTEL` — Luxury Hotel
- `MOVIE_THEATRE` — Movie Theatre
- `RESORT` — Resort
- `RESTAURANT` — Restaurant
- `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `timeZone` | *JsonNullable\* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

[Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `brand` | *JsonNullable\* | :heavy_minus_sign: | Venue brand. Brands vary by venue type. | Quality Hotels | +| `chainScale` | [JsonNullable\](../../models/components/VenueDetailsPatchChainScale.md) | :heavy_minus_sign: | N/A | UPSCALE_CHAINS | +| `mainPhoneNumber` | *Optional\* | :heavy_minus_sign: | Primary phone number for the venue. | +1-703-555-0100 | +| `mainFaxNumber` | *Optional\* | :heavy_minus_sign: | Primary fax number for the venue. | +1-703-555-0101 | +| `salesPhoneNumber` | *JsonNullable\* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `salesFaxNumber` | *JsonNullable\* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `tollFreeNumber` | *JsonNullable\* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `websiteAddress` | *JsonNullable\* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `currency` | [JsonNullable\](../../models/components/VenueDetailsPatchCurrency.md) | :heavy_minus_sign: | N/A | | +| `openingDate` | *JsonNullable\* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `description` | *JsonNullable\* | :heavy_minus_sign: | Venue description. | A premier conference and event venue in the heart of Northern Virginia. | +| `additionalInformation` | *JsonNullable\* | :heavy_minus_sign: | Additional information about the venue. | Complimentary parking available for all event attendees. | +| `cancellationPolicy` | *JsonNullable\* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | 48-hour cancellation policy applies for all event bookings. | +| `locationTypes` | List\<[LocationType](../../models/components/LocationType.md)> | :heavy_minus_sign: | Location classifications. | | +| `address` | [JsonNullable\](../../models/components/VenueDetailsPatchAddress.md) | :heavy_minus_sign: | Venue address information. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueDetailsPatchAddress.md b/packages/java/docs/models/components/VenueDetailsPatchAddress.md new file mode 100644 index 000000000..94881124e --- /dev/null +++ b/packages/java/docs/models/components/VenueDetailsPatchAddress.md @@ -0,0 +1,16 @@ +# VenueDetailsPatchAddress + +Venue address information. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *JsonNullable\* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *JsonNullable\* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *Optional\* | :heavy_minus_sign: | City. | Vienna | +| `stateProvince` | [Optional\](../../models/components/StateProvince1.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `zipPostalCode` | *JsonNullable\* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [Optional\](../../models/components/Country.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `directions` | *JsonNullable\* | :heavy_minus_sign: | Directions or instructions for getting to the venue. | Take I-66 West to Exit 67, then follow signs to Trap Road. | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueDetailsPatchChainScale.md b/packages/java/docs/models/components/VenueDetailsPatchChainScale.md new file mode 100644 index 000000000..10bf8f673 --- /dev/null +++ b/packages/java/docs/models/components/VenueDetailsPatchChainScale.md @@ -0,0 +1,39 @@ +# VenueDetailsPatchChainScale + +A market segment classification of a venue chain based on Average Daily Rate and other factors. + +Values: +- `BLANK` — Blank +- `ECONOMYCHAINS` — Economy Chains +- `INDEPENDENTS` — Independents +- `LUXURY_CHAINS` — Luxury Chains +- `MIDSCALE_CHAINS` — Midscale Chains +- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains +- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains +- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains +- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains +- `UPSCALE_CHAINS` — Upscale Chains + +## Example Usage + +```java +import com.cvent.models.components.VenueDetailsPatchChainScale; + +VenueDetailsPatchChainScale value = VenueDetailsPatchChainScale.BLANK; +``` + + +## Values + +| Name | Value | +| ---------------------------- | ---------------------------- | +| `BLANK` | BLANK | +| `ECONOMYCHAINS` | ECONOMYCHAINS | +| `INDEPENDENTS` | INDEPENDENTS | +| `LUXURY_CHAINS` | LUXURY_CHAINS | +| `MIDSCALE_CHAINS` | MIDSCALE_CHAINS | +| `MIDSCALE_WITH_FB_CHAINS` | MIDSCALE_WITH_FB_CHAINS | +| `MIDSCALE_WITHOUT_FB_CHAINS` | MIDSCALE_WITHOUT_FB_CHAINS | +| `UPPER_MIDSCALE_CHAINS` | UPPER_MIDSCALE_CHAINS | +| `UPPER_UPSCALE_CHAINS` | UPPER_UPSCALE_CHAINS | +| `UPSCALE_CHAINS` | UPSCALE_CHAINS | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueDetailsPatchCurrency.md b/packages/java/docs/models/components/VenueDetailsPatchCurrency.md new file mode 100644 index 000000000..6c99e9922 --- /dev/null +++ b/packages/java/docs/models/components/VenueDetailsPatchCurrency.md @@ -0,0 +1,184 @@ +# VenueDetailsPatchCurrency + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```java +import com.cvent.models.components.VenueDetailsPatchCurrency; + +VenueDetailsPatchCurrency value = VenueDetailsPatchCurrency.USD; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `USD` | USD | +| `CAD` | CAD | +| `AUD` | AUD | +| `EUR` | EUR | +| `GBP` | GBP | +| `HKD` | HKD | +| `NZD` | NZD | +| `AED` | AED | +| `NOK` | NOK | +| `INR` | INR | +| `MXN` | MXN | +| `SEK` | SEK | +| `DKK` | DKK | +| `MYR` | MYR | +| `JPY` | JPY | +| `SGD` | SGD | +| `THB` | THB | +| `IDR` | IDR | +| `KRW` | KRW | +| `CNY` | CNY | +| `TWD` | TWD | +| `RUB` | RUB | +| `CHF` | CHF | +| `CZK` | CZK | +| `HUF` | HUF | +| `QAR` | QAR | +| `ZAR` | ZAR | +| `RON` | RON | +| `HRK` | HRK | +| `TRY` | TRY | +| `BRL` | BRL | +| `PHP` | PHP | +| `SAR` | SAR | +| `PLN` | PLN | +| `ARS` | ARS | +| `AWG` | AWG | +| `AZN` | AZN | +| `BSD` | BSD | +| `BBD` | BBD | +| `BMD` | BMD | +| `CLP` | CLP | +| `COP` | COP | +| `CRC` | CRC | +| `DOP` | DOP | +| `XCD` | XCD | +| `ILS` | ILS | +| `JMD` | JMD | +| `LVL` | LVL | +| `LTL` | LTL | +| `MDL` | MDL | +| `ANG` | ANG | +| `OMR` | OMR | +| `TTD` | TTD | +| `UAH` | UAH | +| `UYU` | UYU | +| `RSD` | RSD | +| `AFN` | AFN | +| `AMD` | AMD | +| `AOA` | AOA | +| `BAM` | BAM | +| `BDT` | BDT | +| `BGN` | BGN | +| `BHD` | BHD | +| `BOB` | BOB | +| `DZD` | DZD | +| `EEK` | EEK | +| `EGP` | EGP | +| `FJD` | FJD | +| `GTQ` | GTQ | +| `HNL` | HNL | +| `ISK` | ISK | +| `JOD` | JOD | +| `KYD` | KYD | +| `KZT` | KZT | +| `LBP` | LBP | +| `MAD` | MAD | +| `NGN` | NGN | +| `NIO` | NIO | +| `ESP` | ESP | +| `FRF` | FRF | +| `PAB` | PAB | +| `PEN` | PEN | +| `PKR` | PKR | +| `PYG` | PYG | +| `SVC` | SVC | +| `SYP` | SYP | +| `VEF` | VEF | +| `VND` | VND | +| `XPF` | XPF | +| `GYD` | GYD | +| `MOP` | MOP | +| `PGK` | PGK | +| `XOF` | XOF | +| `XAF` | XAF | +| `BZD` | BZD | +| `BYR` | BYR | +| `BWP` | BWP | +| `BND` | BND | +| `BIF` | BIF | +| `KHR` | KHR | +| `CVE` | CVE | +| `KMF` | KMF | +| `CDF` | CDF | +| `DJF` | DJF | +| `ERN` | ERN | +| `FKP` | FKP | +| `GMD` | GMD | +| `GEL` | GEL | +| `GHS` | GHS | +| `GIP` | GIP | +| `GNF` | GNF | +| `HTG` | HTG | +| `KES` | KES | +| `KWD` | KWD | +| `KGS` | KGS | +| `LAK` | LAK | +| `LRD` | LRD | +| `MKD` | MKD | +| `MGA` | MGA | +| `MWK` | MWK | +| `MVR` | MVR | +| `MRO` | MRO | +| `MUR` | MUR | +| `MNT` | MNT | +| `MZN` | MZN | +| `MMK` | MMK | +| `NAD` | NAD | +| `NPR` | NPR | +| `RWF` | RWF | +| `SHP` | SHP | +| `WST` | WST | +| `STD` | STD | +| `SLL` | SLL | +| `SBD` | SBD | +| `SOS` | SOS | +| `LKR` | LKR | +| `SRD` | SRD | +| `SZL` | SZL | +| `TOP` | TOP | +| `TND` | TND | +| `UGX` | UGX | +| `UZS` | UZS | +| `VUV` | VUV | +| `YER` | YER | +| `ZMK` | ZMK | +| `ZWD` | ZWD | +| `SR` | SR | +| `ETB` | ETB | +| `GH` | GH | +| `GWP` | GWP | +| `IQD` | IQD | +| `IRR` | IRR | +| `KPW` | KPW | +| `LSL` | LSL | +| `ROL` | ROL | +| `SDG` | SDG | +| `SKK` | SKK | +| `TJS` | TJS | +| `TMT` | TMT | +| `TZS` | TZS | +| `ALL` | ALL | +| `BTN` | BTN | +| `CUP` | CUP | +| `LD` | LD | +| `SCR` | SCR | +| `ZMW` | ZMW | +| `ZWL` | ZWL | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatch.md b/packages/java/docs/models/components/VenueFacilityPatch.md new file mode 100644 index 000000000..efbaddc60 --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatch.md @@ -0,0 +1,22 @@ +# VenueFacilityPatch + +Partial update payload for venue facility information. Only fields present in the request body are updated; omitted fields remain unchanged. Set leaf fields to `null` to unset them. For grouped objects, update or clear each child field explicitly instead of setting the entire group to `null`. Field applicability varies by venue type; values supplied for fields that do not apply to the venue's type will be rejected. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `numberOfMeetingRooms` | *JsonNullable\* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `space` | [Optional\](../../models/components/VenueFacilityPatchSpace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `sleeping` | [Optional\](../../models/components/VenueFacilityPatchSleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `singleRate` | [Optional\](../../models/components/VenueFacilityPatchSingleRate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `doubleRate` | [Optional\](../../models/components/VenueFacilityPatchDoubleRate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `taxRate` | *JsonNullable\* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `occupancyRate` | *JsonNullable\* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `yearBuilt` | *JsonNullable\* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `yearRenovated` | *JsonNullable\* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `proximityFromAirport` | [Optional\](../../models/components/VenueFacilityPatchProximityFromAirport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `restrictions` | *JsonNullable\* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `maximumCapacity` | [Optional\](../../models/components/VenueFacilityPatchMaximumCapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `eventInsurance` | [JsonNullable\](../../models/components/VenueFacilityPatchEventInsurance.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchDistanceMeasurementUnit.md b/packages/java/docs/models/components/VenueFacilityPatchDistanceMeasurementUnit.md new file mode 100644 index 000000000..3aade7120 --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchDistanceMeasurementUnit.md @@ -0,0 +1,23 @@ +# VenueFacilityPatchDistanceMeasurementUnit + +Unit of measurement for distance. + +Values: +- `MILES` — Miles +- `KILOMETERS` — Kilometers + +## Example Usage + +```java +import com.cvent.models.components.VenueFacilityPatchDistanceMeasurementUnit; + +VenueFacilityPatchDistanceMeasurementUnit value = VenueFacilityPatchDistanceMeasurementUnit.MILES; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `MILES` | MILES | +| `KILOMETERS` | KILOMETERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchDoubleRate.md b/packages/java/docs/models/components/VenueFacilityPatchDoubleRate.md new file mode 100644 index 000000000..cd166733c --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchDoubleRate.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchDoubleRate + +Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *JsonNullable\* | :heavy_minus_sign: | Lowest published rate for a double-occupancy room. | 149.99 | +| `high` | *JsonNullable\* | :heavy_minus_sign: | Highest published rate for a double-occupancy room. | 299.99 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchEventInsurance.md b/packages/java/docs/models/components/VenueFacilityPatchEventInsurance.md new file mode 100644 index 000000000..80e986ea2 --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchEventInsurance.md @@ -0,0 +1,27 @@ +# VenueFacilityPatchEventInsurance + +Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +Values: +- `BLANK` — Indicates no selection, leaves the field blank +- `REQUIRED` — Required +- `MAY_BE_REQUIRED` — May Be Required +- `NOT_REQUIRED` — Not Required + +## Example Usage + +```java +import com.cvent.models.components.VenueFacilityPatchEventInsurance; + +VenueFacilityPatchEventInsurance value = VenueFacilityPatchEventInsurance.BLANK; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `BLANK` | BLANK | +| `REQUIRED` | REQUIRED | +| `MAY_BE_REQUIRED` | MAY_BE_REQUIRED | +| `NOT_REQUIRED` | NOT_REQUIRED | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchMaximumCapacity.md b/packages/java/docs/models/components/VenueFacilityPatchMaximumCapacity.md new file mode 100644 index 000000000..5d1de8628 --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchMaximumCapacity.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchMaximumCapacity + +Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `seated` | *JsonNullable\* | :heavy_minus_sign: | Maximum seated capacity at the venue. | 500 | +| `standing` | *JsonNullable\* | :heavy_minus_sign: | Maximum standing capacity at the venue. | 800 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchMeasurementUnit.md b/packages/java/docs/models/components/VenueFacilityPatchMeasurementUnit.md new file mode 100644 index 000000000..e7c317bbb --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchMeasurementUnit.md @@ -0,0 +1,23 @@ +# VenueFacilityPatchMeasurementUnit + +Unit of measurement for area or space. + +Values: +- `SQUARE_FEET` — Square Feet +- `SQUARE_METERS` — Square Meters + +## Example Usage + +```java +import com.cvent.models.components.VenueFacilityPatchMeasurementUnit; + +VenueFacilityPatchMeasurementUnit value = VenueFacilityPatchMeasurementUnit.SQUARE_FEET; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `SQUARE_FEET` | SQUARE_FEET | +| `SQUARE_METERS` | SQUARE_METERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchProximityFromAirport.md b/packages/java/docs/models/components/VenueFacilityPatchProximityFromAirport.md new file mode 100644 index 000000000..22605777e --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchProximityFromAirport.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchProximityFromAirport + +Distance from the nearest airport. `unit` is required when `distance` is provided. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `distance` | *JsonNullable\* | :heavy_minus_sign: | Distance from the nearest airport, expressed in `unit`. Up to four digits. | 12.5 | +| `unit` | [JsonNullable\](../../models/components/VenueFacilityPatchDistanceMeasurementUnit.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchSingleRate.md b/packages/java/docs/models/components/VenueFacilityPatchSingleRate.md new file mode 100644 index 000000000..4a2571c21 --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchSingleRate.md @@ -0,0 +1,11 @@ +# VenueFacilityPatchSingleRate + +Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *JsonNullable\* | :heavy_minus_sign: | Lowest published rate for a single-occupancy room. | 129.99 | +| `high` | *JsonNullable\* | :heavy_minus_sign: | Highest published rate for a single-occupancy room. | 249.99 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchSleeping.md b/packages/java/docs/models/components/VenueFacilityPatchSleeping.md new file mode 100644 index 000000000..b66d6c409 --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchSleeping.md @@ -0,0 +1,13 @@ +# VenueFacilityPatchSleeping + +Sleeping room inventory at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `totalRooms` | *JsonNullable\* | :heavy_minus_sign: | Total number of sleeping rooms at the venue. | 350 | +| `suites` | *JsonNullable\* | :heavy_minus_sign: | Total number of suites at the venue. | 20 | +| `singleRooms` | *JsonNullable\* | :heavy_minus_sign: | Total number of single-occupancy rooms at the venue. | 200 | +| `doubleRooms` | *JsonNullable\* | :heavy_minus_sign: | Total number of double-occupancy rooms at the venue. | 130 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueFacilityPatchSpace.md b/packages/java/docs/models/components/VenueFacilityPatchSpace.md new file mode 100644 index 000000000..80d45052b --- /dev/null +++ b/packages/java/docs/models/components/VenueFacilityPatchSpace.md @@ -0,0 +1,12 @@ +# VenueFacilityPatchSpace + +Facility space measurements at the venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `unitOfMeasurement` | [JsonNullable\](../../models/components/VenueFacilityPatchMeasurementUnit.md) | :heavy_minus_sign: | N/A | | +| `totalMeetingRoomSpace` | *JsonNullable\* | :heavy_minus_sign: | Total meeting room space at the venue. | 50000 | +| `totalExhibitSpace` | *JsonNullable\* | :heavy_minus_sign: | Total exhibit space at the venue. | 75000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueType.md b/packages/java/docs/models/components/VenueType.md new file mode 100644 index 000000000..b88efc574 --- /dev/null +++ b/packages/java/docs/models/components/VenueType.md @@ -0,0 +1,65 @@ +# VenueType + +Type of venue. + +Values: +- `AQUARIUM_ZOO` — Aquarium/Zoo +- `ARENA_STADIUM` — Arena/Stadium +- `BANQUET_FACILITY` — Banquet Facility +- `BAR_CLUB` — Bar/Club +- `BLANK` — Blank +- `BOUTIQUE_HOTEL` — Boutique Hotel +- `CONFERENCE_CENTER` — Conference Center +- `CONVENTION_CENTER` — Convention Center +- `CORPORATE_OFFICE_SPACE` — Corporate Office Space +- `CVB` — CVB +- `DMC` — Destination Management Company +- `EDUCATIONAL_FACILITY` — Educational Facility +- `ENTERTAINMENT_VENUE` — Entertainment Venue +- `EXPOSITION_CENTER` — Exposition Center +- `GALLERY_MUSEUM` — Gallery/Museum +- `GOLF_COURSE` — Golf Course +- `HOTEL` — Hotel +- `INTERNAL_VENUE` — Internal Venue +- `LUXURY_HOTEL` — Luxury Hotel +- `MOVIE_THEATRE` — Movie Theatre +- `RESORT` — Resort +- `RESTAURANT` — Restaurant +- `SPECIAL_EVENT_VENUE` — Special Event Venue + +## Example Usage + +```java +import com.cvent.models.components.VenueType; + +VenueType value = VenueType.AQUARIUM_ZOO; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `AQUARIUM_ZOO` | AQUARIUM_ZOO | +| `ARENA_STADIUM` | ARENA_STADIUM | +| `BANQUET_FACILITY` | BANQUET_FACILITY | +| `BAR_CLUB` | BAR_CLUB | +| `BLANK` | BLANK | +| `BOUTIQUE_HOTEL` | BOUTIQUE_HOTEL | +| `CONFERENCE_CENTER` | CONFERENCE_CENTER | +| `CONVENTION_CENTER` | CONVENTION_CENTER | +| `CORPORATE_OFFICE_SPACE` | CORPORATE_OFFICE_SPACE | +| `CVB` | CVB | +| `DMC` | DMC | +| `EDUCATIONAL_FACILITY` | EDUCATIONAL_FACILITY | +| `ENTERTAINMENT_VENUE` | ENTERTAINMENT_VENUE | +| `EXPOSITION_CENTER` | EXPOSITION_CENTER | +| `GALLERY_MUSEUM` | GALLERY_MUSEUM | +| `GOLF_COURSE` | GOLF_COURSE | +| `HOTEL` | HOTEL | +| `INTERNAL_VENUE` | INTERNAL_VENUE | +| `LUXURY_HOTEL` | LUXURY_HOTEL | +| `MOVIE_THEATRE` | MOVIE_THEATRE | +| `RESORT` | RESORT | +| `RESTAURANT` | RESTAURANT | +| `SPECIAL_EVENT_VENUE` | SPECIAL_EVENT_VENUE | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf1.md b/packages/java/docs/models/components/ZeroAllOf1.md index 57c00e45f..9c0d03a0d 100644 --- a/packages/java/docs/models/components/ZeroAllOf1.md +++ b/packages/java/docs/models/components/ZeroAllOf1.md @@ -1,12 +1,11 @@ # ZeroAllOf1 -Represents an error response with no additional details. +Details of a location. ## 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 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | +| `name` | *String* | :heavy_check_mark: | The name of the location. | Conference Room B | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf2.md b/packages/java/docs/models/components/ZeroAllOf2.md index dbf3e291c..bf45a7388 100644 --- a/packages/java/docs/models/components/ZeroAllOf2.md +++ b/packages/java/docs/models/components/ZeroAllOf2.md @@ -1,11 +1,28 @@ # ZeroAllOf2 -Details of a location. +Details of an event appointment. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | -| `name` | *String* | :heavy_check_mark: | The name of the location. | Conference Room B | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique ID representing the appointment. | 0046e875-79a5-4851-8332-da105d58088a | +| `code` | *Optional\* | :heavy_minus_sign: | The unique appointment code in Cvent or unique reference id of an appointment in the external systems. | APPT-0001 | +| `name` | *String* | :heavy_check_mark: | The name of the appointment. | Meeting with Cvent | +| `description` | *Optional\* | :heavy_minus_sign: | The description of the appointment. | Discuss about marketing. | +| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted start date/time of the appointment. | 2019-04-12T15:20:00.000Z | +| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted end date/time of the appointment. | 2019-04-12T15:30:00.000Z | +| `status` | [Optional\](../../models/components/AppointmentStatusJson.md) | :heavy_minus_sign: | Denotes the status of an appointment. | CONFIRMED | +| `location` | [Optional\](../../models/components/LocationAllOf.md) | :heavy_minus_sign: | The location of the appointment. | | +| `type` | [TypeAllOf](../../models/components/TypeAllOf.md) | :heavy_check_mark: | The type of the appointment. | | +| `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 | +| `appointmentEvent` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| `participants` | List\<[AppointmentParticipantJson](../../models/components/AppointmentParticipantJson.md)> | :heavy_minus_sign: | Collection of attendees participating in this appointment, and their related details. | | +| `autoAcceptAttendees` | *Optional\* | :heavy_minus_sign: | True indicates participants will be automatically marked as accepted for the appointment. | false | +| `enforceScheduleRules` | *Optional\* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | +| ~~`modified`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | +| `deleted` | *Optional\* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf3.md b/packages/java/docs/models/components/ZeroAllOf3.md index bafcc923c..718f7095e 100644 --- a/packages/java/docs/models/components/ZeroAllOf3.md +++ b/packages/java/docs/models/components/ZeroAllOf3.md @@ -1,28 +1,12 @@ # ZeroAllOf3 -Details of an event appointment. +Represents an error response with no additional details. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID representing the appointment. | 0046e875-79a5-4851-8332-da105d58088a | -| `code` | *Optional\* | :heavy_minus_sign: | The unique appointment code in Cvent or unique reference id of an appointment in the external systems. | APPT-0001 | -| `name` | *String* | :heavy_check_mark: | The name of the appointment. | Meeting with Cvent | -| `description` | *Optional\* | :heavy_minus_sign: | The description of the appointment. | Discuss about marketing. | -| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted start date/time of the appointment. | 2019-04-12T15:20:00.000Z | -| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted end date/time of the appointment. | 2019-04-12T15:30:00.000Z | -| `status` | [Optional\](../../models/components/AppointmentStatusJson.md) | :heavy_minus_sign: | Denotes the status of an appointment. | CONFIRMED | -| `location` | [Optional\](../../models/components/LocationAllOf.md) | :heavy_minus_sign: | The location of the appointment. | | -| `type` | [TypeAllOf](../../models/components/TypeAllOf.md) | :heavy_check_mark: | The type of the appointment. | | -| `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 | -| `appointmentEvent` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `participants` | List\<[AppointmentParticipantJson](../../models/components/AppointmentParticipantJson.md)> | :heavy_minus_sign: | Collection of attendees participating in this appointment, and their related details. | | -| `autoAcceptAttendees` | *Optional\* | :heavy_minus_sign: | True indicates participants will be automatically marked as accepted for the appointment. | false | -| `enforceScheduleRules` | *Optional\* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | -| ~~`modified`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | -| `deleted` | *Optional\* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf4.md b/packages/java/docs/models/components/ZeroAllOf4.md index 47b288474..7d4d11c28 100644 --- a/packages/java/docs/models/components/ZeroAllOf4.md +++ b/packages/java/docs/models/components/ZeroAllOf4.md @@ -1,13 +1,14 @@ # ZeroAllOf4 -Booth staff for an activity. +A transaction reconciliation record. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the exhibitor booth staff. | | -| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the booth staff that captured the lead. | John | -| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the booth staff that captured the lead. | Doe | -| `email` | *Optional\* | :heavy_minus_sign: | The email address of the booth staff that captured the lead. | h.potterfield@test.com | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `budgetItem` | [Optional\](../../models/components/BudgetItemAllOf.md) | :heavy_minus_sign: | The identifier of reconciled budget item. | | +| `status` | [Optional\](../../models/components/ReconciliationStatusJson.md) | :heavy_minus_sign: | This is used to denote the reconciliation status for a transaction. | Reconciled | +| `amount` | *Optional\* | :heavy_minus_sign: | Reconciliation amount. | 100.5 | +| `reconciledBy` | *Optional\* | :heavy_minus_sign: | Reconciled by user. | Test User | +| `reconciledDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date and time for Reconciled date. | 2020-02-07T09:37:50Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf5.md b/packages/java/docs/models/components/ZeroAllOf5.md index ce0dabe2d..d6aedd472 100644 --- a/packages/java/docs/models/components/ZeroAllOf5.md +++ b/packages/java/docs/models/components/ZeroAllOf5.md @@ -1,11 +1,13 @@ # ZeroAllOf5 -The question that was answered. +Represents an error response for the checkin APIs that includes a unique id. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | +| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf6.md b/packages/java/docs/models/components/ZeroAllOf6.md index 42f71bbc9..cbf5f8c11 100644 --- a/packages/java/docs/models/components/ZeroAllOf6.md +++ b/packages/java/docs/models/components/ZeroAllOf6.md @@ -1,14 +1,17 @@ # ZeroAllOf6 -A transaction reconciliation record. +Information about housing event with key information, providing a summarized view. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `budgetItem` | [Optional\](../../models/components/BudgetItemAllOf.md) | :heavy_minus_sign: | The identifier of reconciled budget item. | | -| `status` | [Optional\](../../models/components/ReconciliationStatusJson.md) | :heavy_minus_sign: | This is used to denote the reconciliation status for a transaction. | Reconciled | -| `amount` | *Optional\* | :heavy_minus_sign: | Reconciliation amount. | 100.5 | -| `reconciledBy` | *Optional\* | :heavy_minus_sign: | Reconciled by user. | Test User | -| `reconciledDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date and time for Reconciled date. | 2020-02-07T09:37:50Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | +| `name` | *String* | :heavy_check_mark: | Event name. | Summit 2027 | +| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | +| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | +| `cutOff` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | +| `timeZone` | *String* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | +| `venue` | [VenueJson1](../../models/components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | +| `status` | [HousingEventStatusesJson](../../models/components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf7.md b/packages/java/docs/models/components/ZeroAllOf7.md deleted file mode 100644 index 2433141ef..000000000 --- a/packages/java/docs/models/components/ZeroAllOf7.md +++ /dev/null @@ -1,13 +0,0 @@ -# ZeroAllOf7 - -Represents an error response for the checkin APIs that includes a unique id. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | -| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf8.md b/packages/java/docs/models/components/ZeroAllOf8.md deleted file mode 100644 index 1c6de59e6..000000000 --- a/packages/java/docs/models/components/ZeroAllOf8.md +++ /dev/null @@ -1,17 +0,0 @@ -# ZeroAllOf8 - -Information about housing event with key information, providing a summarized view. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | -| `name` | *String* | :heavy_check_mark: | Event name. | Summit 2027 | -| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | -| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | -| `cutOff` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | -| `timeZone` | *String* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | -| `venue` | [VenueJson1](../../models/components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | -| `status` | [HousingEventStatusesJson](../../models/components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/java/docs/models/errors/ErrorResponse.md b/packages/java/docs/models/errors/ErrorResponse.md index b37e2969c..706bc6a90 100644 --- a/packages/java/docs/models/errors/ErrorResponse.md +++ b/packages/java/docs/models/errors/ErrorResponse.md @@ -10,4 +10,4 @@ Represents an error response with additional details of cascading error messages | `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 +| `details` | List\<[ZeroAllOf3](../../models/components/ZeroAllOf3.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/errors/SegmentsErrorResponse.md b/packages/java/docs/models/errors/SegmentsErrorResponse.md index bd4f9ba09..fc1600d4f 100644 --- a/packages/java/docs/models/errors/SegmentsErrorResponse.md +++ b/packages/java/docs/models/errors/SegmentsErrorResponse.md @@ -10,5 +10,5 @@ Segments error response details. | `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. | | +| `details` | List\<[ZeroAllOf3](../../models/components/ZeroAllOf3.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | | `validationCode` | [Optional\](../../models/errors/ValidationCode.md) | :heavy_minus_sign: | Business validation code for bad requests. | SEGMENTS_PER_EVENT_LIMIT_REACHED | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateMeetingRequestRequest.md b/packages/java/docs/models/operations/CreateMeetingRequestRequest.md index 1d3e594b4..fda61fed3 100644 --- a/packages/java/docs/models/operations/CreateMeetingRequestRequest.md +++ b/packages/java/docs/models/operations/CreateMeetingRequestRequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `skipRequiredQuestionValidation` | *Optional\* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | -| `requestBody` | List\<[MeetingRequestCreateJson](../../models/components/MeetingRequestCreateJson.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be created per call. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `skipRequiredQuestionValidation` | *Optional\* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | +| `requestBody` | List\<[MeetingRequestCreate](../../models/components/MeetingRequestCreate.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be created per call. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateMeetingRequestResponse.md b/packages/java/docs/models/operations/CreateMeetingRequestResponse.md index 7b3395020..0ef58e523 100644 --- a/packages/java/docs/models/operations/CreateMeetingRequestResponse.md +++ b/packages/java/docs/models/operations/CreateMeetingRequestResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `meetingRequestBulkResponse` | List\<[MeetingRequestBulkResponseItemJson](../../models/components/MeetingRequestBulkResponseItemJson.md)> | :heavy_minus_sign: | Meeting request(s) were successfully created. | \ No newline at end of file +| `meetingRequestBulkResponse` | List\<[MeetingRequestBulkResponseItem](../../models/components/MeetingRequestBulkResponseItem.md)> | :heavy_minus_sign: | Meeting request(s) were successfully created. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateMeetingRoomRequest.md b/packages/java/docs/models/operations/CreateMeetingRoomRequest.md new file mode 100644 index 000000000..d4ca29de8 --- /dev/null +++ b/packages/java/docs/models/operations/CreateMeetingRoomRequest.md @@ -0,0 +1,9 @@ +# CreateMeetingRoomRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoom` | [MeetingRoom](../../models/components/MeetingRoom.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateMeetingRoomResponse.md b/packages/java/docs/models/operations/CreateMeetingRoomResponse.md new file mode 100644 index 000000000..3046688d1 --- /dev/null +++ b/packages/java/docs/models/operations/CreateMeetingRoomResponse.md @@ -0,0 +1,12 @@ +# CreateMeetingRoomResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingMeetingRoom` | [Optional\](../../models/components/ExistingMeetingRoom.md) | :heavy_minus_sign: | Meeting room created successfully. | +| `headers` | Map\> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetAirActualDetailRequest.md b/packages/java/docs/models/operations/GetAirActualDetailRequest.md index 6a63b2352..33d7f77a9 100644 --- a/packages/java/docs/models/operations/GetAirActualDetailRequest.md +++ b/packages/java/docs/models/operations/GetAirActualDetailRequest.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `expand` | List\<[ExpandAirActualQuestionAnswer](../../models/components/ExpandAirActualQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* airActualDetails.airActualAnswers.question (List Event Questions)
| airActualDetails.airActualAnswers.question | | `sort` | *Optional\* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

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

The following fields are sortable:
* airActualDetails.name
* airActualDetails.lastModified
where i <= limit
| airActualDetails.name:DESC,airActualDetails.lastModified:ASC | -| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetAirRequestsRequest.md b/packages/java/docs/models/operations/GetAirRequestsRequest.md index 57b6b8f1b..c435d68f5 100644 --- a/packages/java/docs/models/operations/GetAirRequestsRequest.md +++ b/packages/java/docs/models/operations/GetAirRequestsRequest.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `sort` | *Optional\* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

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

The following fields are sortable:
* airRequestDetails.requesterFirstName
* airRequestDetails.requesterLastName
* airRequestDetails.lastModified
| airRequestDetails.requesterFirstName:DESC,airRequestDetails.requesterLastName:ASC | | `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `expand` | List\<[ExpandAirRequestQuestionAnswer](../../models/components/ExpandAirRequestQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* airRequestDetails.airRequestAnswers.question (List Event Questions)
| airRequestDetails.airRequestAnswers.question | -| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `expand` | List\<[ExpandAirRequestQuestionAnswer](../../models/components/ExpandAirRequestQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* airRequestDetails.airRequestAnswers.question (List Event Questions)
| airRequestDetails.airRequestAnswers.question | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetAlternateTravelAnswersRequest.md b/packages/java/docs/models/operations/GetAlternateTravelAnswersRequest.md index 93ec1dd9c..f8caad826 100644 --- a/packages/java/docs/models/operations/GetAlternateTravelAnswersRequest.md +++ b/packages/java/docs/models/operations/GetAlternateTravelAnswersRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetBudgetAllocationsRequest.md b/packages/java/docs/models/operations/GetBudgetAllocationsRequest.md index 58343ecab..708cfce1a 100644 --- a/packages/java/docs/models/operations/GetBudgetAllocationsRequest.md +++ b/packages/java/docs/models/operations/GetBudgetAllocationsRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|:-----------------\|:-----------------------------\|
\| budgetVersion.id \| `eq` \|
\| budgetItem.id \| `eq` \|
\| category.id \| `eq`, `ne` \|
\| subcategory.id \| `eq`, `ne` \|
\| generalLedger.id \| `eq`, `ne` \|
\| value \| `lt`, `le`, `gt`, `ge`, `eq` \|

The following logical operators are supported for combining filters:
* and
* or
| category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000 | -| `id` | *String* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
\|:-----------------\|:-----------------------------\|
\| budgetVersion.id \| `eq` \|
\| budgetItem.id \| `eq` \|
\| category.id \| `eq`, `ne` \|
\| subcategory.id \| `eq`, `ne` \|
\| generalLedger.id \| `eq`, `ne` \|
\| value \| `lt`, `le`, `gt`, `ge`, `eq` \|

The following logical operators are supported for combining filters:
* and
* or
| category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000 | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetEventFeaturesRequest.md b/packages/java/docs/models/operations/GetEventFeaturesRequest.md index e6eb8cbb0..bdac33092 100644 --- a/packages/java/docs/models/operations/GetEventFeaturesRequest.md +++ b/packages/java/docs/models/operations/GetEventFeaturesRequest.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `locale` | *Optional\* | :heavy_minus_sign: | Locale code in IETF Language tag format. Indicates desired locale of return values. | en-US | -| `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 \|
\|---------\|-----------\|
\| enabled \| `eq` \|
| enabled eq 'true' | -| `id` | *String* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
\|---------\|-----------\|
\| enabled \| `eq` \|
| enabled eq 'true' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetEventSurveyQuestionsRequest.md b/packages/java/docs/models/operations/GetEventSurveyQuestionsRequest.md index 8acebfb55..083a816d6 100644 --- a/packages/java/docs/models/operations/GetEventSurveyQuestionsRequest.md +++ b/packages/java/docs/models/operations/GetEventSurveyQuestionsRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | -| `id` | *String* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetEventSurveyResponsesRequest.md b/packages/java/docs/models/operations/GetEventSurveyResponsesRequest.md index f01f8056e..945fa57e7 100644 --- a/packages/java/docs/models/operations/GetEventSurveyResponsesRequest.md +++ b/packages/java/docs/models/operations/GetEventSurveyResponsesRequest.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|---------------\|-------------\|
\| id \| `eq`, `ne` \|
\| respondent.id \| `eq`, `ne` \|
\| session.id \| `eq`, `ne` \|
\| speaker.id \| `eq`, `ne` \|
\| question.id \| `eq`, `ne` \|
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | -| `id` | *String* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
\|---------------\|-------------\|
\| id \| `eq`, `ne` \|
\| respondent.id \| `eq`, `ne` \|
\| session.id \| `eq`, `ne` \|
\| speaker.id \| `eq`, `ne` \|
\| question.id \| `eq`, `ne` \|
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetEventSurveysRequest.md b/packages/java/docs/models/operations/GetEventSurveysRequest.md index 0070f20e0..a657b5896 100644 --- a/packages/java/docs/models/operations/GetEventSurveysRequest.md +++ b/packages/java/docs/models/operations/GetEventSurveysRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|----------\|-------------\|--------------------------------\|
\| id \| `eq`, `ne` \| chapter ID of the event survey \|
\| type \| `eq`, `ne` \| \|
\| sessions \| `eq`, `ne` \| \|

The following logical operators are supported for combining filters:
* `and`
* `or`
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | -| `id` | *String* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|----------\|-------------\|--------------------------------\|
\| id \| `eq`, `ne` \| chapter ID of the event survey \|
\| type \| `eq`, `ne` \| \|
\| sessions \| `eq`, `ne` \| \|

The following logical operators are supported for combining filters:
* `and`
* `or`
| id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetHotelRequestsRequest.md b/packages/java/docs/models/operations/GetHotelRequestsRequest.md index 8efc5fdce..3d10eef27 100644 --- a/packages/java/docs/models/operations/GetHotelRequestsRequest.md +++ b/packages/java/docs/models/operations/GetHotelRequestsRequest.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `expand` | List\<[ExpandHotelRequestQuestionAnswer](../../models/components/ExpandHotelRequestQuestionAnswer.md)> | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

The following fields are expandable:
* hotelRequestDetails.hotelRequestAnswers.question (List Event Questions)
| hotelRequestDetails.hotelRequestAnswers.question | | `sort` | *Optional\* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

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

The following fields are sortable:
* hotelRequestDetails.requesterFirstName
* hotelRequestDetails.requesterLastName
* hotelRequestDetails.lastModified
| hotelRequestDetails.requesterFirstName:DESC,hotelRequestDetails.requesterLastName:ASC | -| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetHousingReservationRequestsRequest.md b/packages/java/docs/models/operations/GetHousingReservationRequestsRequest.md index 001b2a656..3f06ffdae 100644 --- a/packages/java/docs/models/operations/GetHousingReservationRequestsRequest.md +++ b/packages/java/docs/models/operations/GetHousingReservationRequestsRequest.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *String* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------------\|
\| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

The following logical operators are supported for combining filters:
* or
| (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetMeetingRoomOverviewRequest.md b/packages/java/docs/models/operations/GetMeetingRoomOverviewRequest.md new file mode 100644 index 000000000..598864e72 --- /dev/null +++ b/packages/java/docs/models/operations/GetMeetingRoomOverviewRequest.md @@ -0,0 +1,9 @@ +# GetMeetingRoomOverviewRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoomId` | *String* | :heavy_check_mark: | Unique identifier for a meeting room. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetMeetingRoomOverviewResponse.md b/packages/java/docs/models/operations/GetMeetingRoomOverviewResponse.md new file mode 100644 index 000000000..b00cf1ada --- /dev/null +++ b/packages/java/docs/models/operations/GetMeetingRoomOverviewResponse.md @@ -0,0 +1,11 @@ +# GetMeetingRoomOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `meetingRoomOverview` | [Optional\](../../models/components/MeetingRoomOverview.md) | :heavy_minus_sign: | Successfully retrieved the meeting room overview. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetOrderItemsRequest.md b/packages/java/docs/models/operations/GetOrderItemsRequest.md index c7ac5cfd4..a90a4b29a 100644 --- a/packages/java/docs/models/operations/GetOrderItemsRequest.md +++ b/packages/java/docs/models/operations/GetOrderItemsRequest.md @@ -11,4 +11,4 @@ | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|--------------\|------------------------------------\|
\| id \| `eq`, `ne` \|
\| attendee.id \| `eq`, `ne` \|
\| event.id \| `eq`, `ne` \|
\| order.id \| `eq`, `ne` \|
\| product.id \| `eq`, `ne` \|
\| product.type \| `eq`, `ne` \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (product.id eq '65322e75-076f-4070-a6e6-3315c581728d' OR product.id eq 'e1874067-a5ed-4111-ac8a-63de9aa18929') | -| `deleted` | *Optional\* | :heavy_minus_sign: | This sets whether or not to fetch deleted order items in the response. If set to true, the response will include records for the deleted order items.
| | \ No newline at end of file +| `deleted` | *Optional\* | :heavy_minus_sign: | When `true`, includes soft-deleted records in the response. Defaults to `false`. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetOrdersRequest.md b/packages/java/docs/models/operations/GetOrdersRequest.md index ee8feaee0..267d8edaa 100644 --- a/packages/java/docs/models/operations/GetOrdersRequest.md +++ b/packages/java/docs/models/operations/GetOrdersRequest.md @@ -11,4 +11,4 @@ | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|--------------\|------------------------------------\|
\| id \| `eq`, `ne` \|
\| attendee.id \| `eq`, `ne` \|
\| event.id \| `eq`, `ne` \|
\| type \| `eq`, `ne` \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (type eq 'Online Charge' OR type eq 'Online Refund') | -| `deleted` | *Optional\* | :heavy_minus_sign: | This sets whether or not to fetch deleted orders in the response. If set to true, the response will include records for the deleted orders.
| | \ No newline at end of file +| `deleted` | *Optional\* | :heavy_minus_sign: | When `true`, includes soft-deleted records in the response. Defaults to `false`. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetStandardSurveyEmailTemplatesRequest.md b/packages/java/docs/models/operations/GetStandardSurveyEmailTemplatesRequest.md index f79f5d432..951046b1e 100644 --- a/packages/java/docs/models/operations/GetStandardSurveyEmailTemplatesRequest.md +++ b/packages/java/docs/models/operations/GetStandardSurveyEmailTemplatesRequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | -| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetStandardSurveyQuestionsRequest.md b/packages/java/docs/models/operations/GetStandardSurveyQuestionsRequest.md index 2540bd043..edeff0ace 100644 --- a/packages/java/docs/models/operations/GetStandardSurveyQuestionsRequest.md +++ b/packages/java/docs/models/operations/GetStandardSurveyQuestionsRequest.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | -| `surveyId` | *String* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetVenueDetailsOverviewRequest.md b/packages/java/docs/models/operations/GetVenueDetailsOverviewRequest.md new file mode 100644 index 000000000..0ccb92c8c --- /dev/null +++ b/packages/java/docs/models/operations/GetVenueDetailsOverviewRequest.md @@ -0,0 +1,8 @@ +# GetVenueDetailsOverviewRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetVenueDetailsOverviewResponse.md b/packages/java/docs/models/operations/GetVenueDetailsOverviewResponse.md new file mode 100644 index 000000000..d4e2c7865 --- /dev/null +++ b/packages/java/docs/models/operations/GetVenueDetailsOverviewResponse.md @@ -0,0 +1,11 @@ +# GetVenueDetailsOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `venueDetailsOverview` | [Optional\](../../models/components/VenueDetailsOverview.md) | :heavy_minus_sign: | Successfully retrieved the venue details overview. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListAttendeesRequest.md b/packages/java/docs/models/operations/ListAttendeesRequest.md index 00e04bb51..120d50fef 100644 --- a/packages/java/docs/models/operations/ListAttendeesRequest.md +++ b/packages/java/docs/models/operations/ListAttendeesRequest.md @@ -3,13 +3,13 @@ ## 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 | -| `expand` | List\<[Expand](../../models/components/Expand.md)> | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
The expanded entity is retrieved and displayed inline for each specified expand value.

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

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

The respective scopes for each expansion are required.

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

The following fields are sortable:
* contact.firstName
* contact.lastName
* contact.title
* contact.company
* registeredAt
* checkIn
| contact.company:DESC,contact.title:ASC | -| `includeDeletedGuests` | *Optional\* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
The `deletedGuest` filter has no effect unless this parameter is `true`.
| | -| `filter` | *Optional\* | :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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------\|
\| event.id \| `eq`, `ne` \| \|
\| id \| `eq`, `ne` \| \|
\| confirmationNumber \| `eq`, `ne` \| \|
\| checkedIn \| `eq`, `ne` \| \|
\| checkIn \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| checkOut \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationPath.id \| `eq`, `ne` \| \|
\| invitationList.id \| `eq`, `ne` \| \|
\| registrationType.id \| `eq`, `ne`, `is null`, `is not null`, `is empty`, `is not empty` \| \|
\| referenceId \| `eq`, `ne` \| \|
\| externalReference.type \| `eq` \| \|
\| externalReference.id \| `eq` \| \|
\| externalReference.referenceId \| `eq` \| \|
\| note \| `eq`, `ne` \| \|
\| guest \| `eq`, `ne` \| \|
\| group.leader \| `eq`, `ne` \| \|
\| group.id \| `eq`, `ne` \| \|
\| unsubscribed \| `eq`, `ne` \| **DEPRECATED**: Please use PUT /attendees/{id}/email-subscriptions instead \|
\| registeredAt \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| invitedBy \| `eq`, `ne` \| \|
\| responseMethod \| `eq`, `ne` \| \|
\| status \| `eq`, `ne` \| \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated when any field in the response has changed. Used by the 'before' and 'after' filters. \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| contact.id \| `eq`, `ne` \| \|
\| visibility \| `eq`, `ne` \| \|
\| contact.title \| `eq`, `ne`, `sw` \| \|
\| contact.company \| `eq`, `ne`, `sw` \| \|
\| contact.firstName \| `eq`, `ne`, `sw` \| \|
\| contact.lastName \| `eq`, `ne`, `sw` \| \|
\| answers.question.{question id} \| `eq`, `ne` \| \|
\| contact.email \| `eq`, `ne`, `sw` \| \|
\| attendeeLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated only when some field other than contact.* has changed. Not used by the 'before' and 'after' filters. \|
\| appointmentGroup.id \| `eq`, `ne` \| \|
\| contact.deleted \| `eq`, `ne` \| \|
\| primaryId \| `eq`, `ne` \| \|
\| deletedGuest \| `eq`, `ne` \| Filter returns guests marked as deleted. This filter works only when the query parameter `includeDeletedGuests` is `true`. \|
| contact.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or checkedIn eq 'true' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `expand` | List\<[Expand](../../models/components/Expand.md)> | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
The expanded entity is retrieved and displayed inline for each specified expand value.

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

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

The respective scopes for each expansion are required.

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

The following fields are sortable:
* contact.firstName
* contact.lastName
* contact.title
* contact.company
* registeredAt
* checkIn
| contact.company:DESC,contact.title:ASC | +| `includeDeletedGuests` | *Optional\* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
The `deletedGuest` filter has no effect unless this parameter is `true`.
| | +| `filter` | *Optional\* | :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 \| Notes \|
\|------------------\|-------------------------------------\|------------------------------------------\|
\| event.id \| `eq`, `ne` \| \|
\| id \| `eq`, `ne` \| \|
\| confirmationNumber \| `eq`, `ne` \| \|
\| checkedIn \| `eq`, `ne` \| \|
\| checkIn \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| checkOut \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationPath.id \| `eq`, `ne` \| \|
\| invitationList.id \| `eq`, `ne` \| \|
\| registrationType.id \| `eq`, `ne`, `is null`, `is not null`, `is empty`, `is not empty` \| \|
\| referenceId \| `eq`, `ne` \| \|
\| externalReference.type \| `eq` \| \|
\| externalReference.id \| `eq` \| \|
\| externalReference.referenceId \| `eq` \| \|
\| note \| `eq`, `ne` \| \|
\| guest \| `eq`, `ne` \| \|
\| group.leader \| `eq`, `ne` \| \|
\| group.id \| `eq`, `ne` \| \|
\| unsubscribed \| `eq`, `ne` \| Read-only. To update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) \|
\| registeredAt \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| registrationLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| invitedBy \| `eq`, `ne` \| \|
\| responseMethod \| `eq`, `ne` \| \|
\| status \| `eq`, `ne` \| \|
\| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated when any field in the response has changed. Used by the 'before' and 'after' filters. \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
\| contact.id \| `eq`, `ne` \| \|
\| visibility \| `eq`, `ne` \| \|
\| contact.title \| `eq`, `ne`, `sw` \| \|
\| contact.company \| `eq`, `ne`, `sw` \| \|
\| contact.firstName \| `eq`, `ne`, `sw` \| \|
\| contact.lastName \| `eq`, `ne`, `sw` \| \|
\| answers.question.{question id} \| `eq`, `ne` \| \|
\| contact.email \| `eq`, `ne`, `sw` \| \|
\| attendeeLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated only when some field other than contact.* has changed. Not used by the 'before' and 'after' filters. \|
\| appointmentGroup.id \| `eq`, `ne` \| \|
\| contact.deleted \| `eq`, `ne` \| \|
\| primaryId \| `eq`, `ne` \| \|
\| deletedGuest \| `eq`, `ne` \| Filter returns guests marked as deleted. This filter works only when the query parameter `includeDeletedGuests` is `true`. \|
| contact.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or checkedIn eq 'true' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListBulkJobResultRequest.md b/packages/java/docs/models/operations/ListBulkJobResultRequest.md index f19f02211..aed468de0 100644 --- a/packages/java/docs/models/operations/ListBulkJobResultRequest.md +++ b/packages/java/docs/models/operations/ListBulkJobResultRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | A uuid path parameter. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | -| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *Optional\* | :heavy_minus_sign: | A filter query string narrows search results and supports the combination of logical and comparison operators.
The filter adheres to the pattern filter='field' comparisonType 'value'.

These are the comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne

The following fields are filterable:
* failed (eq\|ne)
| failed eq "true" | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | A uuid path parameter. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `filter` | *Optional\* | :heavy_minus_sign: | A filter query string narrows search results and supports the combination of logical and comparison operators.
The filter adheres to the pattern filter='field' comparisonType 'value'.

These are the comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne

The following fields are filterable:
* failed (eq\|ne)

**Note:** this filters for the top-level HTTP status of the target operation.
For operations that return 207 (Multi-Status), filter results may not capture all failed records.
Inspect individual record statuses in the `data` field for a complete picture.
| failed eq "true" | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListEventWeblinksRequest.md b/packages/java/docs/models/operations/ListEventWeblinksRequest.md index 8eb7aadcf..f2a96636b 100644 --- a/packages/java/docs/models/operations/ListEventWeblinksRequest.md +++ b/packages/java/docs/models/operations/ListEventWeblinksRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `locale` | *Optional\* | :heavy_minus_sign: | Locale code in IETF Language tag format. Indicates desired locale of return values. | en-US | -| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | | -| `id` | *String* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListMeetingRoomsOverviewsRequest.md b/packages/java/docs/models/operations/ListMeetingRoomsOverviewsRequest.md new file mode 100644 index 000000000..387f6cd61 --- /dev/null +++ b/packages/java/docs/models/operations/ListMeetingRoomsOverviewsRequest.md @@ -0,0 +1,11 @@ +# ListMeetingRoomsOverviewsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous request. This must be a valid UUID v4 if provided. This will override any other pageable parameters provided. | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results to data that matches your criteria. See [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details. Supported fields and operators are listed below:

* `hiddenOnProfile` (`eq`)
| hiddenOnProfile eq 'false' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListMeetingRoomsOverviewsResponse.md b/packages/java/docs/models/operations/ListMeetingRoomsOverviewsResponse.md new file mode 100644 index 000000000..4ffa981a5 --- /dev/null +++ b/packages/java/docs/models/operations/ListMeetingRoomsOverviewsResponse.md @@ -0,0 +1,11 @@ +# ListMeetingRoomsOverviewsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `meetingRoomsOverviewResponse` | [Optional\](../../models/components/MeetingRoomsOverviewResponse.md) | :heavy_minus_sign: | Successfully retrieved overview of meeting rooms. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchMeetingRoomRequest.md b/packages/java/docs/models/operations/PatchMeetingRoomRequest.md new file mode 100644 index 000000000..c6c8d710d --- /dev/null +++ b/packages/java/docs/models/operations/PatchMeetingRoomRequest.md @@ -0,0 +1,10 @@ +# PatchMeetingRoomRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoomId` | *String* | :heavy_check_mark: | Unique identifier for a meeting room. | | +| `patchMeetingRoom` | [PatchMeetingRoom](../../models/components/PatchMeetingRoom.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchMeetingRoomResponse.md b/packages/java/docs/models/operations/PatchMeetingRoomResponse.md new file mode 100644 index 000000000..4ea3fa052 --- /dev/null +++ b/packages/java/docs/models/operations/PatchMeetingRoomResponse.md @@ -0,0 +1,11 @@ +# PatchMeetingRoomResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `patchMeetingRoom` | [Optional\](../../models/components/PatchMeetingRoom.md) | :heavy_minus_sign: | Successfully updated the meeting room. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchVenueDetailsRequest.md b/packages/java/docs/models/operations/PatchVenueDetailsRequest.md new file mode 100644 index 000000000..676a062e2 --- /dev/null +++ b/packages/java/docs/models/operations/PatchVenueDetailsRequest.md @@ -0,0 +1,9 @@ +# PatchVenueDetailsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `venueDetailsPatch` | [VenueDetailsPatch](../../models/components/VenueDetailsPatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchVenueDetailsResponse.md b/packages/java/docs/models/operations/PatchVenueDetailsResponse.md new file mode 100644 index 000000000..f219042d5 --- /dev/null +++ b/packages/java/docs/models/operations/PatchVenueDetailsResponse.md @@ -0,0 +1,11 @@ +# PatchVenueDetailsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `venueDetailsPatch` | [Optional\](../../models/components/VenueDetailsPatch.md) | :heavy_minus_sign: | Successfully updated the venue details. The response contains only the fields that were provided in the request payload. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchVenueFacilityRequest.md b/packages/java/docs/models/operations/PatchVenueFacilityRequest.md new file mode 100644 index 000000000..2ba1e9733 --- /dev/null +++ b/packages/java/docs/models/operations/PatchVenueFacilityRequest.md @@ -0,0 +1,9 @@ +# PatchVenueFacilityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `venueFacilityPatch` | [VenueFacilityPatch](../../models/components/VenueFacilityPatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchVenueFacilityResponse.md b/packages/java/docs/models/operations/PatchVenueFacilityResponse.md new file mode 100644 index 000000000..c91fd9d7f --- /dev/null +++ b/packages/java/docs/models/operations/PatchVenueFacilityResponse.md @@ -0,0 +1,11 @@ +# PatchVenueFacilityResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `venueFacilityPatch` | [Optional\](../../models/components/VenueFacilityPatch.md) | :heavy_minus_sign: | Successfully updated the venue facility information. The response contains only the fields that were provided in the request payload. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateMeetingRequestRequest.md b/packages/java/docs/models/operations/UpdateMeetingRequestRequest.md index 6f8f954c0..31193ac4b 100644 --- a/packages/java/docs/models/operations/UpdateMeetingRequestRequest.md +++ b/packages/java/docs/models/operations/UpdateMeetingRequestRequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `skipRequiredQuestionValidation` | *Optional\* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | -| `requestBody` | List\<[MeetingRequestUpdateJson](../../models/components/MeetingRequestUpdateJson.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be updated per call. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `skipRequiredQuestionValidation` | *Optional\* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | +| `requestBody` | List\<[MeetingRequestUpdate](../../models/components/MeetingRequestUpdate.md)> | :heavy_check_mark: | Up to **5 meeting requests** can be updated per call. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateMeetingRequestResponse.md b/packages/java/docs/models/operations/UpdateMeetingRequestResponse.md index 32d7d4f99..859d40841 100644 --- a/packages/java/docs/models/operations/UpdateMeetingRequestResponse.md +++ b/packages/java/docs/models/operations/UpdateMeetingRequestResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `meetingRequestBulkResponse` | List\<[MeetingRequestBulkResponseItemJson](../../models/components/MeetingRequestBulkResponseItemJson.md)> | :heavy_minus_sign: | Meeting request was successfully updated. | \ No newline at end of file +| `meetingRequestBulkResponse` | List\<[MeetingRequestBulkResponseItem](../../models/components/MeetingRequestBulkResponseItem.md)> | :heavy_minus_sign: | Meeting request was successfully updated. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateMeetingRoomRequest.md b/packages/java/docs/models/operations/UpdateMeetingRoomRequest.md new file mode 100644 index 000000000..7e4cf5c83 --- /dev/null +++ b/packages/java/docs/models/operations/UpdateMeetingRoomRequest.md @@ -0,0 +1,10 @@ +# UpdateMeetingRoomRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoomId` | *String* | :heavy_check_mark: | Unique identifier for a meeting room. | | +| `existingMeetingRoom` | [ExistingMeetingRoomInput](../../models/components/ExistingMeetingRoomInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateMeetingRoomResponse.md b/packages/java/docs/models/operations/UpdateMeetingRoomResponse.md new file mode 100644 index 000000000..262361ea1 --- /dev/null +++ b/packages/java/docs/models/operations/UpdateMeetingRoomResponse.md @@ -0,0 +1,11 @@ +# UpdateMeetingRoomResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingMeetingRoom` | [Optional\](../../models/components/ExistingMeetingRoom.md) | :heavy_minus_sign: | Successfully updated the meeting room. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateVenueDetailsRequest.md b/packages/java/docs/models/operations/UpdateVenueDetailsRequest.md new file mode 100644 index 000000000..997657370 --- /dev/null +++ b/packages/java/docs/models/operations/UpdateVenueDetailsRequest.md @@ -0,0 +1,9 @@ +# UpdateVenueDetailsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `existingVenueDetails` | [ExistingVenueDetailsInput](../../models/components/ExistingVenueDetailsInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateVenueDetailsResponse.md b/packages/java/docs/models/operations/UpdateVenueDetailsResponse.md new file mode 100644 index 000000000..3519c72ff --- /dev/null +++ b/packages/java/docs/models/operations/UpdateVenueDetailsResponse.md @@ -0,0 +1,11 @@ +# UpdateVenueDetailsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingVenueDetails` | [Optional\](../../models/components/ExistingVenueDetails.md) | :heavy_minus_sign: | Successfully updated the venue details. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateVenueFacilityRequest.md b/packages/java/docs/models/operations/UpdateVenueFacilityRequest.md new file mode 100644 index 000000000..99bfd2dd2 --- /dev/null +++ b/packages/java/docs/models/operations/UpdateVenueFacilityRequest.md @@ -0,0 +1,9 @@ +# UpdateVenueFacilityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `existingVenueFacility` | [ExistingVenueFacilityInput](../../models/components/ExistingVenueFacilityInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateVenueFacilityResponse.md b/packages/java/docs/models/operations/UpdateVenueFacilityResponse.md new file mode 100644 index 000000000..a4da6b44f --- /dev/null +++ b/packages/java/docs/models/operations/UpdateVenueFacilityResponse.md @@ -0,0 +1,11 @@ +# UpdateVenueFacilityResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingVenueFacility` | [Optional\](../../models/components/ExistingVenueFacility.md) | :heavy_minus_sign: | Successfully updated the venue facility information. | \ 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 57a3e3a01..45d1ef8dd 100644 --- a/packages/java/docs/sdks/appointments/README.md +++ b/packages/java/docs/sdks/appointments/README.md @@ -620,7 +620,6 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse; import com.cvent.models.operations.CreateAppointmentRequest; import com.cvent.models.operations.CreateAppointmentResponse; import java.lang.Exception; @@ -629,7 +628,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -690,8 +689,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## updateAppointment @@ -710,7 +708,6 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse; import com.cvent.models.operations.UpdateAppointmentRequest; import com.cvent.models.operations.UpdateAppointmentResponse; import java.lang.Exception; @@ -719,7 +716,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -779,8 +776,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## cancelAppointment diff --git a/packages/java/docs/sdks/attendeeactivities/README.md b/packages/java/docs/sdks/attendeeactivities/README.md index a8ef077ee..87ec7009f 100644 --- a/packages/java/docs/sdks/attendeeactivities/README.md +++ b/packages/java/docs/sdks/attendeeactivities/README.md @@ -138,15 +138,15 @@ public class Application { .build(); ExternalActivityInput req = ExternalActivityInput.builder() - .attendee(UuidJson.builder() + .attendee(Uuid.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .build()) - .event(EventActivityDetailsJsonInput.builder() + .event(EventActivityDetailInput.builder() .id("d84855b0-eeda-41c4-8e7a-53e80364cb95") .build()) .name("Registered for Event") - .type(ExternalActivityTypeJson.EVENT_EXTERNAL) - .data(ExternalActivityDataJson.of(ExternalActivityDataJsonEventExternal.builder() + .type(ExternalActivityType.EVENT_EXTERNAL) + .data(ExternalActivityData.of(ExternalActivityDataEventExternal.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .externalActivityDate(OffsetDateTime.parse("2019-08-24T14:15:22Z")) .additionalFields(Map.ofEntries( @@ -293,11 +293,11 @@ public class Application { .build(); ExternalActivityMetadataInput req = ExternalActivityMetadataInput.builder() - .type(ExternalActivityTypeJson.EVENT_EXTERNAL) + .type(ExternalActivityType.EVENT_EXTERNAL) .name("social.media") .description("This external activity contains data of social activities for an attendee.") .fields(List.of( - ExternalActivitiesAdditionalFieldsMetadataJson.builder() + ExternalActivityAdditionalFieldsMetadata.builder() .name("facebook_social.media") .description("Contains data for facebook social media activity.") .build())) @@ -437,11 +437,11 @@ public class Application { UpdateExternalAttendeeActivityMetadataRequest req = UpdateExternalAttendeeActivityMetadataRequest.builder() .id("9463c74e-18c6-401a-a710-ae0f485bf059") .externalActivityMetadata(ExternalActivityMetadataInput.builder() - .type(ExternalActivityTypeJson.EVENT_EXTERNAL) + .type(ExternalActivityType.EVENT_EXTERNAL) .name("social.media") .description("This external activity contains data of social activities for an attendee.") .fields(List.of( - ExternalActivitiesAdditionalFieldsMetadataJson.builder() + ExternalActivityAdditionalFieldsMetadata.builder() .name("facebook_social.media") .description("Contains data for facebook social media activity.") .build())) diff --git a/packages/java/docs/sdks/audiencesegments/README.md b/packages/java/docs/sdks/audiencesegments/README.md index 74cae1fe5..f92dc1ea3 100644 --- a/packages/java/docs/sdks/audiencesegments/README.md +++ b/packages/java/docs/sdks/audiencesegments/README.md @@ -250,14 +250,15 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; -import com.cvent.models.errors.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.SegmentsErrorResponse; import com.cvent.models.operations.CreateAudienceSegmentResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -304,8 +305,7 @@ public class Application { | Error Type | Status Code | Content Type | | ----------------------------------- | ----------------------------------- | ----------------------------------- | | models/errors/SegmentsErrorResponse | 400 | application/json | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 401, 403, 429 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## listAudienceSegments @@ -551,7 +551,6 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse; import com.cvent.models.operations.UpdateAudienceSegmentRequest; import com.cvent.models.operations.UpdateAudienceSegmentResponse; import java.lang.Exception; @@ -559,7 +558,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -608,8 +607,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## deleteAudienceSegment @@ -771,7 +769,8 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.SegmentsErrorResponse; import com.cvent.models.operations.AssociateAttendeeToSegmentRequest; import com.cvent.models.operations.AssociateAttendeeToSegmentResponse; import java.lang.Exception; @@ -779,7 +778,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -821,8 +820,7 @@ public class Application { | Error Type | Status Code | Content Type | | ----------------------------------- | ----------------------------------- | ----------------------------------- | | models/errors/SegmentsErrorResponse | 400 | application/json | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## disassociateAttendeeFromAudienceSegment diff --git a/packages/java/docs/sdks/bulk/README.md b/packages/java/docs/sdks/bulk/README.md index 8ac3749ec..0c7c487fa 100644 --- a/packages/java/docs/sdks/bulk/README.md +++ b/packages/java/docs/sdks/bulk/README.md @@ -80,17 +80,17 @@ public class Application { Map.entry("param1", "param1Value"), Map.entry("param2", "param2Value"))) .data(List.of( - BulkDataPropertyJson.builder() + BulkDataProperty.builder() .dataRecord(Map.ofEntries( - Map.entry("event", BulkDataRecordJson.builder() + Map.entry("event", BulkDataRecord.builder() .build()), - Map.entry("title", BulkDataRecordJson.builder() + Map.entry("title", BulkDataRecord.builder() .build()), - Map.entry("start", BulkDataRecordJson.builder() + Map.entry("start", BulkDataRecord.builder() .build()), - Map.entry("end", BulkDataRecordJson.builder() + Map.entry("end", BulkDataRecord.builder() .build()), - Map.entry("status", BulkDataRecordJson.builder() + Map.entry("status", BulkDataRecord.builder() .build()))) .pathParams(Map.ofEntries( Map.entry("id", "11111111-0dc3-487b-953e-86d6abbdf7d3"))) @@ -309,17 +309,17 @@ public class Application { .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .bulkData(BulkData.builder() .data(List.of( - BulkDataPropertyJson.builder() + BulkDataProperty.builder() .dataRecord(Map.ofEntries( - Map.entry("event", BulkDataRecordJson.builder() + Map.entry("event", BulkDataRecord.builder() .build()), - Map.entry("title", BulkDataRecordJson.builder() + Map.entry("title", BulkDataRecord.builder() .build()), - Map.entry("start", BulkDataRecordJson.builder() + Map.entry("start", BulkDataRecord.builder() .build()), - Map.entry("end", BulkDataRecordJson.builder() + Map.entry("end", BulkDataRecord.builder() .build()), - Map.entry("status", BulkDataRecordJson.builder() + Map.entry("status", BulkDataRecord.builder() .build()))) .pathParams(Map.ofEntries( Map.entry("id", "11111111-0dc3-487b-953e-86d6abbdf7d3"))) @@ -364,7 +364,14 @@ public class Application { ## listBulkJobResult -Used to list the results of a bulk Job. +Used to list the results of a bulk job. + +**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation +is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record +reflects only whether the target operation returned an HTTP error — it does not capture partial item-level +failures within the multi-status response body. For these operations, inspect each result record's `data` field +to determine which items succeeded or failed. + ### Example Usage diff --git a/packages/java/docs/sdks/exhibitor/README.md b/packages/java/docs/sdks/exhibitor/README.md index cd58f6813..8e9df30c7 100644 --- a/packages/java/docs/sdks/exhibitor/README.md +++ b/packages/java/docs/sdks/exhibitor/README.md @@ -1456,8 +1456,8 @@ public class Application { .id("4888db54-db22-11eb-8d19-0242ac130003") .build()) .answers(List.of( - Answer2.builder() - .type(AnswerType1.CHOICE) + Answer22.builder() + .type(AnswerType11.CHOICE) .value("Choice A") .build())) .build())) diff --git a/packages/java/docs/sdks/exhibitorcontent/README.md b/packages/java/docs/sdks/exhibitorcontent/README.md index 1ab02fe3e..f0e229fdc 100644 --- a/packages/java/docs/sdks/exhibitorcontent/README.md +++ b/packages/java/docs/sdks/exhibitorcontent/README.md @@ -175,7 +175,6 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse; import com.cvent.models.operations.UpdateExhibitorFileRequest; import com.cvent.models.operations.UpdateExhibitorFileResponse; import java.lang.Exception; @@ -183,7 +182,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -237,8 +236,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## disassociateExhibitorFile @@ -396,7 +394,6 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse; import com.cvent.models.operations.CreateExhibitorWeblinkRequest; import com.cvent.models.operations.CreateExhibitorWeblinkResponse; import java.lang.Exception; @@ -404,7 +401,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -458,8 +455,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getExhibitorWeblink @@ -549,7 +545,6 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.ErrorResponse; import com.cvent.models.operations.UpdateExhibitorWeblinkRequest; import com.cvent.models.operations.UpdateExhibitorWeblinkResponse; import java.lang.Exception; @@ -557,7 +552,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -612,8 +607,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## deleteExhibitorWeblink diff --git a/packages/java/docs/sdks/meetingrequest/README.md b/packages/java/docs/sdks/meetingrequest/README.md index 5d546a530..158734e45 100644 --- a/packages/java/docs/sdks/meetingrequest/README.md +++ b/packages/java/docs/sdks/meetingrequest/README.md @@ -171,7 +171,6 @@ 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.ErrorResponse; import com.cvent.models.operations.GetMRFByIdRequest; import com.cvent.models.operations.GetMRFByIdResponse; import java.lang.Exception; @@ -179,7 +178,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -221,8 +220,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse | 422 | application/json | -| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## createMeetingRequest @@ -266,10 +264,10 @@ public class Application { CreateMeetingRequestRequest req = CreateMeetingRequestRequest.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .requestBody(List.of( - MeetingRequestCreateJson.builder() + MeetingRequestCreate.builder() .name("####test") .questions(List.of( - RequestedMeetingRequestQuestionJson.builder() + MeetingRequestQuestionInput.builder() .id("f1ea56cd-6860-4f1a-baf7-973118384384") .value(List.of( "Green")) diff --git a/packages/java/docs/sdks/surveys/README.md b/packages/java/docs/sdks/surveys/README.md index 12d21a981..bffb1e4e5 100644 --- a/packages/java/docs/sdks/surveys/README.md +++ b/packages/java/docs/sdks/surveys/README.md @@ -508,7 +508,7 @@ public class Application { .build()) .answers(List.of( AnswerJson.builder() - .type(AnswerTypeJson1.CHOICE_TEXT) + .type(AnswerTypeJson.CHOICE_TEXT) .value("1") .choice(UuidJson.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") @@ -1608,7 +1608,7 @@ public class Application { .build()) .answers(List.of( AnswerJson.builder() - .type(AnswerTypeJson1.CHOICE_TEXT) + .type(AnswerTypeJson.CHOICE_TEXT) .value("1") .choice(UuidJson.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") diff --git a/packages/java/docs/sdks/venuemeetingrooms/README.md b/packages/java/docs/sdks/venuemeetingrooms/README.md new file mode 100644 index 000000000..f029f8b6a --- /dev/null +++ b/packages/java/docs/sdks/venuemeetingrooms/README.md @@ -0,0 +1,484 @@ +# VenueMeetingRooms + +## Overview + +Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. + +### Available Operations + +* [createMeetingRoom](#createmeetingroom) - Create Meeting Room +* [listMeetingRoomsOverviews](#listmeetingroomsoverviews) - List Meeting Rooms Overviews +* [updateMeetingRoom](#updatemeetingroom) - Update Meeting Room +* [patchMeetingRoom](#patchmeetingroom) - Patch Meeting Room +* [getMeetingRoomOverview](#getmeetingroomoverview) - Get Meeting Room Overview + +## createMeetingRoom + +Create a new meeting room for the specified venue. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.CreateMeetingRoomRequest; +import com.cvent.models.operations.CreateMeetingRoomResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + CreateMeetingRoomRequest req = CreateMeetingRoomRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .meetingRoom(MeetingRoom.builder() + .name("Grand Ballroom") + .dimensions(MeetingRoomDimensions.builder() + .totalSpace(AreaMeasurement.builder() + .value(1500d) + .unit(AreaMeasurementUnit.SQUARE_FEET) + .build()) + .ceilingHeight(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .length(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .width(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .build()) + .description("Large conference space with natural lighting") + .displayOrder(1L) + .externalSourceId("EXT-123") + .rates(MeetingRoomRates.builder() + .moveIn(MeetingRoomRate.builder() + .value(500d) + .applicationType(RateApplicationType.PER_DAY) + .build()) + .moveOut(MeetingRoomRate.builder() + .value(500d) + .applicationType(RateApplicationType.PER_DAY) + .build()) + .event(MeetingRoomRate.builder() + .value(500d) + .applicationType(RateApplicationType.PER_DAY) + .build()) + .build()) + .capacities(MeetingRoomCapacities.builder() + .exhibits(List.of( + MeetingRoomExhibitCapacity.builder() + .layoutType(ExhibitLayoutType.BOOTH10X10) + .maxExhibits(50L) + .build())) + .seating(List.of( + MeetingRoomSeatingCapacity.builder() + .layoutType(SeatingLayoutType.THEATER) + .maxAttendees(250L) + .build())) + .build()) + .amenities(List.of( + MeetingRoomAmenity.PROJECTOR)) + .build()) + .build(); + + CreateMeetingRoomResponse res = sdk.venueMeetingRooms().createMeetingRoom() + .request(req) + .call(); + + if (res.existingMeetingRoom().isPresent()) { + System.out.println(res.existingMeetingRoom().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [CreateMeetingRoomRequest](../../models/operations/CreateMeetingRoomRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[CreateMeetingRoomResponse](../../models/operations/CreateMeetingRoomResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## listMeetingRoomsOverviews + +Retrieve a paginated list of meeting room overviews for the specified venue. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.SchemeOAuth2ClientCredentials; +import com.cvent.models.components.Security; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.ListMeetingRoomsOverviewsRequest; +import com.cvent.models.operations.ListMeetingRoomsOverviewsResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + ListMeetingRoomsOverviewsRequest req = ListMeetingRoomsOverviewsRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .token("0e28af57-511f-47ab-ae46-46cd1ca51a1a") + .filter("hiddenOnProfile eq 'false'") + .build(); + + ListMeetingRoomsOverviewsResponse res = sdk.venueMeetingRooms().listMeetingRoomsOverviews() + .request(req) + .call(); + + if (res.meetingRoomsOverviewResponse().isPresent()) { + System.out.println(res.meetingRoomsOverviewResponse().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `request` | [ListMeetingRoomsOverviewsRequest](../../models/operations/ListMeetingRoomsOverviewsRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListMeetingRoomsOverviewsResponse](../../models/operations/ListMeetingRoomsOverviewsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## updateMeetingRoom + +Update a meeting room for the specified venue, replacing the existing meeting room data. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.UpdateMeetingRoomRequest; +import com.cvent.models.operations.UpdateMeetingRoomResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + UpdateMeetingRoomRequest req = UpdateMeetingRoomRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .meetingRoomId("2344f9ab-537e-412f-ad6d-264fedbf17a6") + .existingMeetingRoom(ExistingMeetingRoomInput.builder() + .name("Grand Ballroom") + .dimensions(ExistingMeetingRoomDimensions.builder() + .totalSpace(AreaMeasurement.builder() + .value(1500d) + .unit(AreaMeasurementUnit.SQUARE_FEET) + .build()) + .ceilingHeight(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .length(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .width(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .build()) + .description("Large conference space with natural lighting") + .displayOrder(1L) + .externalSourceId("EXT-123") + .rates(ExistingMeetingRoomRates.builder() + .moveIn(MeetingRoomRate.builder() + .value(500d) + .applicationType(RateApplicationType.PER_DAY) + .build()) + .moveOut(MeetingRoomRate.builder() + .value(500d) + .applicationType(RateApplicationType.PER_DAY) + .build()) + .event(MeetingRoomRate.builder() + .value(500d) + .applicationType(RateApplicationType.PER_DAY) + .build()) + .build()) + .capacities(MeetingRoomCapacities.builder() + .exhibits(List.of( + MeetingRoomExhibitCapacity.builder() + .layoutType(ExhibitLayoutType.BOOTH10X10) + .maxExhibits(50L) + .build())) + .seating(List.of( + MeetingRoomSeatingCapacity.builder() + .layoutType(SeatingLayoutType.THEATER) + .maxAttendees(250L) + .build())) + .build()) + .amenities(List.of( + MeetingRoomAmenity.PROJECTOR)) + .build()) + .build(); + + UpdateMeetingRoomResponse res = sdk.venueMeetingRooms().updateMeetingRoom() + .request(req) + .call(); + + if (res.existingMeetingRoom().isPresent()) { + System.out.println(res.existingMeetingRoom().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [UpdateMeetingRoomRequest](../../models/operations/UpdateMeetingRoomRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateMeetingRoomResponse](../../models/operations/UpdateMeetingRoomResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## patchMeetingRoom + +Partially update a meeting room for the specified venue. + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged. +- All changes are applied atomically. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.PatchMeetingRoomRequest; +import com.cvent.models.operations.PatchMeetingRoomResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + PatchMeetingRoomRequest req = PatchMeetingRoomRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .meetingRoomId("2a12f958-0ac4-4665-9210-449812da553a") + .patchMeetingRoom(PatchMeetingRoom.builder() + .name("Grand Ballroom") + .description("Large conference space with natural lighting") + .dimensions(PatchMeetingRoomDimensions.builder() + .totalSpace(AreaMeasurement.builder() + .value(1500d) + .unit(AreaMeasurementUnit.SQUARE_FEET) + .build()) + .ceilingHeight(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .length(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .width(Dimension.builder() + .value(12.5) + .unit(DimensionUnit.FEET) + .build()) + .build()) + .displayOrder(1L) + .externalSourceId("EXT-RM-12345") + .rates(null) + .capacities(null) + .amenities(List.of( + MeetingRoomAmenity.PROJECTOR)) + .hiddenOnProfile(false) + .build()) + .build(); + + PatchMeetingRoomResponse res = sdk.venueMeetingRooms().patchMeetingRoom() + .request(req) + .call(); + + if (res.patchMeetingRoom().isPresent()) { + System.out.println(res.patchMeetingRoom().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [PatchMeetingRoomRequest](../../models/operations/PatchMeetingRoomRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchMeetingRoomResponse](../../models/operations/PatchMeetingRoomResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## getMeetingRoomOverview + +Retrieve an overview of a specific meeting room for the specified venue. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.SchemeOAuth2ClientCredentials; +import com.cvent.models.components.Security; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.GetMeetingRoomOverviewRequest; +import com.cvent.models.operations.GetMeetingRoomOverviewResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + GetMeetingRoomOverviewRequest req = GetMeetingRoomOverviewRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .meetingRoomId("081078e3-8a73-49c6-b757-a3d52dbc2cc8") + .build(); + + GetMeetingRoomOverviewResponse res = sdk.venueMeetingRooms().getMeetingRoomOverview() + .request(req) + .call(); + + if (res.meetingRoomOverview().isPresent()) { + System.out.println(res.meetingRoomOverview().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `request` | [GetMeetingRoomOverviewRequest](../../models/operations/GetMeetingRoomOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetMeetingRoomOverviewResponse](../../models/operations/GetMeetingRoomOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/java/docs/sdks/venueprofiles/README.md b/packages/java/docs/sdks/venueprofiles/README.md new file mode 100644 index 000000000..1b2561d2e --- /dev/null +++ b/packages/java/docs/sdks/venueprofiles/README.md @@ -0,0 +1,479 @@ +# VenueProfiles + +## Overview + +Manage venue profile details including type, contact information, address, and other venue properties. + +### Available Operations + +* [updateVenueDetails](#updatevenuedetails) - Update Venue Details +* [patchVenueDetails](#patchvenuedetails) - Patch Venue Details +* [getVenueDetailsOverview](#getvenuedetailsoverview) - Get Venue Details Overview +* [updateVenueFacility](#updatevenuefacility) - Update Venue Facility +* [patchVenueFacility](#patchvenuefacility) - Patch Venue Facility + +## updateVenueDetails + +Update venue details for the specified venue, replacing the existing venue details data. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.UpdateVenueDetailsRequest; +import com.cvent.models.operations.UpdateVenueDetailsResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + UpdateVenueDetailsRequest req = UpdateVenueDetailsRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .existingVenueDetails(ExistingVenueDetailsInput.builder() + .type(VenueType.HOTEL) + .mainPhoneNumber("+1-703-555-0100") + .mainFaxNumber("+1-703-555-0101") + .address(AddressInfo.builder() + .city("Vienna") + .country(Country.LA) + .streetAddress1("1234 Trap Road") + .streetAddress2("Suite 100") + .zipPostalCode("22182") + .directions("Take I-66 West to Exit 67, then follow signs to Trap Road.") + .build()) + .timeZone("America/New_York") + .brand("Quality Hotels") + .chainScale(ChainScale.UPSCALE_CHAINS) + .salesPhoneNumber("+1-703-555-0102") + .salesFaxNumber("+1-703-555-0103") + .tollFreeNumber("1-800-555-0100") + .websiteAddress("https://www.example-hotel.com") + .openingDate("Spring 2025") + .description("A modern conference venue in downtown.") + .additionalInformation("Free parking available on-site.") + .cancellationPolicy("Full refund if cancelled 48 hours before event.") + .locationTypes(List.of( + LocationType.SUBURBAN)) + .build()) + .build(); + + UpdateVenueDetailsResponse res = sdk.venueProfiles().updateVenueDetails() + .request(req) + .call(); + + if (res.existingVenueDetails().isPresent()) { + System.out.println(res.existingVenueDetails().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `request` | [UpdateVenueDetailsRequest](../../models/operations/UpdateVenueDetailsRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateVenueDetailsResponse](../../models/operations/UpdateVenueDetailsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## patchVenueDetails + +Partially updates the specified venue's details using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- If any part of the patch fails, the entire request will fail. + +**Array Handling:** +- Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. +- If an array property is not included in the payload, no updates are made to that field. +- If an empty array is sent, it replaces the existing array with an empty array. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.PatchVenueDetailsRequest; +import com.cvent.models.operations.PatchVenueDetailsResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + PatchVenueDetailsRequest req = PatchVenueDetailsRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .venueDetailsPatch(VenueDetailsPatch.builder() + .type(VenueType.HOTEL) + .timeZone("America/New_York") + .brand("Quality Hotels") + .chainScale(VenueDetailsPatchChainScale.UPSCALE_CHAINS) + .mainPhoneNumber("+1-703-555-0100") + .mainFaxNumber("+1-703-555-0101") + .salesPhoneNumber("+1-703-555-0102") + .salesFaxNumber("+1-703-555-0103") + .tollFreeNumber("1-800-555-0100") + .websiteAddress("https://www.example-hotel.com") + .openingDate("Spring 2025") + .description("A premier conference and event venue in the heart of Northern Virginia.") + .additionalInformation("Complimentary parking available for all event attendees.") + .cancellationPolicy("48-hour cancellation policy applies for all event bookings.") + .locationTypes(List.of( + LocationType.SUBURBAN)) + .address(VenueDetailsPatchAddress.builder() + .streetAddress1("1234 Trap Road") + .streetAddress2("Suite 100") + .city("Vienna") + .zipPostalCode("22182") + .directions("Take I-66 West to Exit 67, then follow signs to Trap Road.") + .build()) + .build()) + .build(); + + PatchVenueDetailsResponse res = sdk.venueProfiles().patchVenueDetails() + .request(req) + .call(); + + if (res.venueDetailsPatch().isPresent()) { + System.out.println(res.venueDetailsPatch().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [PatchVenueDetailsRequest](../../models/operations/PatchVenueDetailsRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchVenueDetailsResponse](../../models/operations/PatchVenueDetailsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## getVenueDetailsOverview + +Retrieve an overview of venue details for the specified venue. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.SchemeOAuth2ClientCredentials; +import com.cvent.models.components.Security; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.GetVenueDetailsOverviewRequest; +import com.cvent.models.operations.GetVenueDetailsOverviewResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + GetVenueDetailsOverviewRequest req = GetVenueDetailsOverviewRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .build(); + + GetVenueDetailsOverviewResponse res = sdk.venueProfiles().getVenueDetailsOverview() + .request(req) + .call(); + + if (res.venueDetailsOverview().isPresent()) { + System.out.println(res.venueDetailsOverview().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `request` | [GetVenueDetailsOverviewRequest](../../models/operations/GetVenueDetailsOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetVenueDetailsOverviewResponse](../../models/operations/GetVenueDetailsOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## updateVenueFacility + +Update the facility information for the specified venue, replacing all existing values with those provided in the request body. + +Field applicability varies by venue type: +- Most facility information fields do not apply to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.UpdateVenueFacilityRequest; +import com.cvent.models.operations.UpdateVenueFacilityResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + UpdateVenueFacilityRequest req = UpdateVenueFacilityRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .existingVenueFacility(ExistingVenueFacilityInput.builder() + .numberOfMeetingRooms(25L) + .space(ExistingVenueFacilitySpace.builder() + .totalMeetingRoomSpace(50000L) + .totalExhibitSpace(75000L) + .build()) + .sleeping(ExistingVenueFacilitySleeping.builder() + .totalRooms(350L) + .suites(20L) + .singleRooms(200L) + .doubleRooms(130L) + .build()) + .singleRate(ExistingVenueFacilitySingleRate.builder() + .low(129.99) + .high(249.99) + .build()) + .doubleRate(ExistingVenueFacilityDoubleRate.builder() + .low(149.99) + .high(299.99) + .build()) + .taxRate(8.5) + .occupancyRate(75.5) + .yearBuilt(1998L) + .yearRenovated(2021L) + .proximityFromAirport(ExistingVenueFacilityProximityFromAirport.builder() + .distance(12.5) + .build()) + .restrictions("No outside food or beverage permitted. Music must end by 11 PM.") + .maximumCapacity(ExistingVenueFacilityMaximumCapacity.builder() + .seated(500L) + .standing(800L) + .build()) + .build()) + .build(); + + UpdateVenueFacilityResponse res = sdk.venueProfiles().updateVenueFacility() + .request(req) + .call(); + + if (res.existingVenueFacility().isPresent()) { + System.out.println(res.existingVenueFacility().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `request` | [UpdateVenueFacilityRequest](../../models/operations/UpdateVenueFacilityRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateVenueFacilityResponse](../../models/operations/UpdateVenueFacilityResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## patchVenueFacility + +Partially update the facility information for the specified venue using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- If any part of the patch fails, the entire request will fail. +- `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + +Field applicability varies by venue type: +- Most facility information fields do not apply to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.PatchVenueFacilityRequest; +import com.cvent.models.operations.PatchVenueFacilityResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + PatchVenueFacilityRequest req = PatchVenueFacilityRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .venueFacilityPatch(VenueFacilityPatch.builder() + .numberOfMeetingRooms(25L) + .space(VenueFacilityPatchSpace.builder() + .totalMeetingRoomSpace(50000L) + .totalExhibitSpace(75000L) + .build()) + .sleeping(VenueFacilityPatchSleeping.builder() + .totalRooms(350L) + .suites(20L) + .singleRooms(200L) + .doubleRooms(130L) + .build()) + .singleRate(VenueFacilityPatchSingleRate.builder() + .low(129.99) + .high(249.99) + .build()) + .doubleRate(VenueFacilityPatchDoubleRate.builder() + .low(149.99) + .high(299.99) + .build()) + .taxRate(8.5) + .occupancyRate(75.5) + .yearBuilt(1998L) + .yearRenovated(2021L) + .proximityFromAirport(VenueFacilityPatchProximityFromAirport.builder() + .distance(12.5) + .build()) + .restrictions("No outside food or beverage permitted. Music must end by 11 PM.") + .maximumCapacity(VenueFacilityPatchMaximumCapacity.builder() + .seated(500L) + .standing(800L) + .build()) + .build()) + .build(); + + PatchVenueFacilityResponse res = sdk.venueProfiles().patchVenueFacility() + .request(req) + .call(); + + if (res.venueFacilityPatch().isPresent()) { + System.out.println(res.venueFacilityPatch().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `request` | [PatchVenueFacilityRequest](../../models/operations/PatchVenueFacilityRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchVenueFacilityResponse](../../models/operations/PatchVenueFacilityResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| 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/gradle.properties b/packages/java/gradle.properties index 0ed26f70c..f0eb5910a 100644 --- a/packages/java/gradle.properties +++ b/packages/java/gradle.properties @@ -1,4 +1,4 @@ groupId=com.cvent artifactId=sdk -version=1.5.2 +version=1.6.0 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/packages/java/src/main/java/com/cvent/AsyncBulk.java b/packages/java/src/main/java/com/cvent/AsyncBulk.java index 8e0343d40..dca4bf920 100644 --- a/packages/java/src/main/java/com/cvent/AsyncBulk.java +++ b/packages/java/src/main/java/com/cvent/AsyncBulk.java @@ -286,7 +286,17 @@ public CompletableFuture uploadBulkJobData( /** * List Bulk Job Result * - *

Used to list the results of a bulk Job. + *

Used to list the results of a bulk job. + * + *

**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target + * operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each + * result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial + * item-level + * failures within the multi-status response body. For these operations, inspect each result record's + * `data` field + * to determine which items succeeded or failed. * * @return The async call builder */ @@ -297,7 +307,17 @@ public ListBulkJobResultRequestBuilder listBulkJobResult() { /** * List Bulk Job Result * - *

Used to list the results of a bulk Job. + *

Used to list the results of a bulk job. + * + *

**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target + * operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each + * result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial + * item-level + * failures within the multi-status response body. For these operations, inspect each result record's + * `data` field + * to determine which items succeeded or failed. * * @param request The request object containing all the parameters for the API call. * @return {@code CompletableFuture} - The async response @@ -309,7 +329,17 @@ public CompletableFuture listBulkJobResult(@Nonnull L /** * List Bulk Job Result * - *

Used to list the results of a bulk Job. + *

Used to list the results of a bulk job. + * + *

**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target + * operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each + * result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial + * item-level + * failures within the multi-status response body. For these operations, inspect each result record's + * `data` field + * to determine which items succeeded or failed. * * @param request The request object containing all the parameters for the API call. * @param options additional options diff --git a/packages/java/src/main/java/com/cvent/AsyncCventSDK.java b/packages/java/src/main/java/com/cvent/AsyncCventSDK.java index 1189d2c5d..5291adb2d 100644 --- a/packages/java/src/main/java/com/cvent/AsyncCventSDK.java +++ b/packages/java/src/main/java/com/cvent/AsyncCventSDK.java @@ -434,6 +434,16 @@ public class AsyncCventSDK { * Limits](#section/Getting-Started/Rate-Limits) */ private final AsyncUsage usage; + /** + * Manage venue profile details including type, contact information, address, and other venue + * properties. + */ + private final AsyncVenueProfiles venueProfiles; + /** + * Manage meeting rooms for a venue, including creating and updating room details, configuring + * capacities and amenities, and associating images. + */ + private final AsyncVenueMeetingRooms venueMeetingRooms; /** * Videos can be added to Cvent events with renditions at various resolutions, audio files, reactions * tracks, and text tracks. Attendee viewership is tracked to get insight into durations, devices used @@ -968,6 +978,20 @@ public AsyncTravelSuppliers travelSuppliers() { public AsyncUsage usage() { return usage; } + /** + * Manage venue profile details including type, contact information, address, and other venue + * properties. + */ + public AsyncVenueProfiles venueProfiles() { + return venueProfiles; + } + /** + * Manage meeting rooms for a venue, including creating and updating room details, configuring + * capacities and amenities, and associating images. + */ + public AsyncVenueMeetingRooms venueMeetingRooms() { + return venueMeetingRooms; + } /** * Videos can be added to Cvent events with renditions at various resolutions, audio files, reactions * tracks, and text tracks. Attendee viewership is tracked to get insight into durations, devices used @@ -1044,6 +1068,8 @@ public AsyncWebcasts webcasts() { this.travelRFPs = new AsyncTravelRFPs(syncSDK.travelRFPs(), sdkConfiguration); this.travelSuppliers = new AsyncTravelSuppliers(syncSDK.travelSuppliers(), sdkConfiguration); this.usage = new AsyncUsage(syncSDK.usage(), sdkConfiguration); + this.venueProfiles = new AsyncVenueProfiles(syncSDK.venueProfiles(), sdkConfiguration); + this.venueMeetingRooms = new AsyncVenueMeetingRooms(syncSDK.venueMeetingRooms(), sdkConfiguration); this.video = new AsyncVideo(syncSDK.video(), sdkConfiguration); this.webcasts = new AsyncWebcasts(syncSDK.webcasts(), sdkConfiguration); } diff --git a/packages/java/src/main/java/com/cvent/AsyncVenueMeetingRooms.java b/packages/java/src/main/java/com/cvent/AsyncVenueMeetingRooms.java new file mode 100644 index 000000000..4b6586ac2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/AsyncVenueMeetingRooms.java @@ -0,0 +1,271 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.models.operations.CreateMeetingRoomRequest; +import com.cvent.models.operations.GetMeetingRoomOverviewRequest; +import com.cvent.models.operations.ListMeetingRoomsOverviewsRequest; +import com.cvent.models.operations.PatchMeetingRoomRequest; +import com.cvent.models.operations.UpdateMeetingRoomRequest; +import com.cvent.models.operations.async.CreateMeetingRoomRequestBuilder; +import com.cvent.models.operations.async.CreateMeetingRoomResponse; +import com.cvent.models.operations.async.GetMeetingRoomOverviewRequestBuilder; +import com.cvent.models.operations.async.GetMeetingRoomOverviewResponse; +import com.cvent.models.operations.async.ListMeetingRoomsOverviewsRequestBuilder; +import com.cvent.models.operations.async.ListMeetingRoomsOverviewsResponse; +import com.cvent.models.operations.async.PatchMeetingRoomRequestBuilder; +import com.cvent.models.operations.async.PatchMeetingRoomResponse; +import com.cvent.models.operations.async.UpdateMeetingRoomRequestBuilder; +import com.cvent.models.operations.async.UpdateMeetingRoomResponse; +import com.cvent.operations.CreateMeetingRoom; +import com.cvent.operations.GetMeetingRoomOverview; +import com.cvent.operations.ListMeetingRoomsOverviews; +import com.cvent.operations.PatchMeetingRoom; +import com.cvent.operations.UpdateMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +/** + * Manage meeting rooms for a venue, including creating and updating room details, configuring + * capacities and amenities, and associating images. + */ +public class AsyncVenueMeetingRooms { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final VenueMeetingRooms syncSDK; + + AsyncVenueMeetingRooms(VenueMeetingRooms syncSDK, SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.syncSDK = syncSDK; + } + + /** + * Switches to the sync SDK. + * + * @return The sync SDK + */ + public VenueMeetingRooms sync() { + return syncSDK; + } + + /** + * Create Meeting Room + * + *

Create a new meeting room for the specified venue. + * + * @return The async call builder + */ + public CreateMeetingRoomRequestBuilder createMeetingRoom() { + return new CreateMeetingRoomRequestBuilder(sdkConfiguration); + } + + /** + * Create Meeting Room + * + *

Create a new meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture createMeetingRoom(@Nonnull CreateMeetingRoomRequest request) { + return createMeetingRoom(request, null); + } + + /** + * Create Meeting Room + * + *

Create a new meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture createMeetingRoom( + @Nonnull CreateMeetingRoomRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new CreateMeetingRoom.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * List Meeting Rooms Overviews + * + *

Retrieve a paginated list of meeting room overviews for the specified venue. + * + * @return The async call builder + */ + public ListMeetingRoomsOverviewsRequestBuilder listMeetingRoomsOverviews() { + return new ListMeetingRoomsOverviewsRequestBuilder(sdkConfiguration); + } + + /** + * List Meeting Rooms Overviews + * + *

Retrieve a paginated list of meeting room overviews for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture listMeetingRoomsOverviews( + @Nonnull ListMeetingRoomsOverviewsRequest request) { + return listMeetingRoomsOverviews(request, null); + } + + /** + * List Meeting Rooms Overviews + * + *

Retrieve a paginated list of meeting room overviews for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture listMeetingRoomsOverviews( + @Nonnull ListMeetingRoomsOverviewsRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new ListMeetingRoomsOverviews.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Update Meeting Room + * + *

Update a meeting room for the specified venue, replacing the existing meeting room data. + * + * @return The async call builder + */ + public UpdateMeetingRoomRequestBuilder updateMeetingRoom() { + return new UpdateMeetingRoomRequestBuilder(sdkConfiguration); + } + + /** + * Update Meeting Room + * + *

Update a meeting room for the specified venue, replacing the existing meeting room data. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateMeetingRoom(@Nonnull UpdateMeetingRoomRequest request) { + return updateMeetingRoom(request, null); + } + + /** + * Update Meeting Room + * + *

Update a meeting room for the specified venue, replacing the existing meeting room data. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateMeetingRoom( + @Nonnull UpdateMeetingRoomRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new UpdateMeetingRoom.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Patch Meeting Room + * + *

Partially update a meeting room for the specified venue. + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is + * replaced, not merged. + * - All changes are applied atomically. + * + * @return The async call builder + */ + public PatchMeetingRoomRequestBuilder patchMeetingRoom() { + return new PatchMeetingRoomRequestBuilder(sdkConfiguration); + } + + /** + * Patch Meeting Room + * + *

Partially update a meeting room for the specified venue. + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is + * replaced, not merged. + * - All changes are applied atomically. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchMeetingRoom(@Nonnull PatchMeetingRoomRequest request) { + return patchMeetingRoom(request, null); + } + + /** + * Patch Meeting Room + * + *

Partially update a meeting room for the specified venue. + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is + * replaced, not merged. + * - All changes are applied atomically. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchMeetingRoom( + @Nonnull PatchMeetingRoomRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new PatchMeetingRoom.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Get Meeting Room Overview + * + *

Retrieve an overview of a specific meeting room for the specified venue. + * + * @return The async call builder + */ + public GetMeetingRoomOverviewRequestBuilder getMeetingRoomOverview() { + return new GetMeetingRoomOverviewRequestBuilder(sdkConfiguration); + } + + /** + * Get Meeting Room Overview + * + *

Retrieve an overview of a specific meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getMeetingRoomOverview( + @Nonnull GetMeetingRoomOverviewRequest request) { + return getMeetingRoomOverview(request, null); + } + + /** + * Get Meeting Room Overview + * + *

Retrieve an overview of a specific meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getMeetingRoomOverview( + @Nonnull GetMeetingRoomOverviewRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new GetMeetingRoomOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/AsyncVenueProfiles.java b/packages/java/src/main/java/com/cvent/AsyncVenueProfiles.java new file mode 100644 index 000000000..36cf42aa1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/AsyncVenueProfiles.java @@ -0,0 +1,324 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.models.operations.GetVenueDetailsOverviewRequest; +import com.cvent.models.operations.PatchVenueDetailsRequest; +import com.cvent.models.operations.PatchVenueFacilityRequest; +import com.cvent.models.operations.UpdateVenueDetailsRequest; +import com.cvent.models.operations.UpdateVenueFacilityRequest; +import com.cvent.models.operations.async.GetVenueDetailsOverviewRequestBuilder; +import com.cvent.models.operations.async.GetVenueDetailsOverviewResponse; +import com.cvent.models.operations.async.PatchVenueDetailsRequestBuilder; +import com.cvent.models.operations.async.PatchVenueDetailsResponse; +import com.cvent.models.operations.async.PatchVenueFacilityRequestBuilder; +import com.cvent.models.operations.async.PatchVenueFacilityResponse; +import com.cvent.models.operations.async.UpdateVenueDetailsRequestBuilder; +import com.cvent.models.operations.async.UpdateVenueDetailsResponse; +import com.cvent.models.operations.async.UpdateVenueFacilityRequestBuilder; +import com.cvent.models.operations.async.UpdateVenueFacilityResponse; +import com.cvent.operations.GetVenueDetailsOverview; +import com.cvent.operations.PatchVenueDetails; +import com.cvent.operations.PatchVenueFacility; +import com.cvent.operations.UpdateVenueDetails; +import com.cvent.operations.UpdateVenueFacility; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +/** + * Manage venue profile details including type, contact information, address, and other venue + * properties. + */ +public class AsyncVenueProfiles { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final VenueProfiles syncSDK; + + AsyncVenueProfiles(VenueProfiles syncSDK, SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.syncSDK = syncSDK; + } + + /** + * Switches to the sync SDK. + * + * @return The sync SDK + */ + public VenueProfiles sync() { + return syncSDK; + } + + /** + * Update Venue Details + * + *

Update venue details for the specified venue, replacing the existing venue details data. + * + * @return The async call builder + */ + public UpdateVenueDetailsRequestBuilder updateVenueDetails() { + return new UpdateVenueDetailsRequestBuilder(sdkConfiguration); + } + + /** + * Update Venue Details + * + *

Update venue details for the specified venue, replacing the existing venue details data. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateVenueDetails( + @Nonnull UpdateVenueDetailsRequest request) { + return updateVenueDetails(request, null); + } + + /** + * Update Venue Details + * + *

Update venue details for the specified venue, replacing the existing venue details data. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateVenueDetails( + @Nonnull UpdateVenueDetailsRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new UpdateVenueDetails.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Patch Venue Details + * + *

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

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + *

**Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + * + * @return The async call builder + */ + public PatchVenueDetailsRequestBuilder patchVenueDetails() { + return new PatchVenueDetailsRequestBuilder(sdkConfiguration); + } + + /** + * Patch Venue Details + * + *

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

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + *

**Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchVenueDetails(@Nonnull PatchVenueDetailsRequest request) { + return patchVenueDetails(request, null); + } + + /** + * Patch Venue Details + * + *

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

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + *

**Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchVenueDetails( + @Nonnull PatchVenueDetailsRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new PatchVenueDetails.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Get Venue Details Overview + * + *

Retrieve an overview of venue details for the specified venue. + * + * @return The async call builder + */ + public GetVenueDetailsOverviewRequestBuilder getVenueDetailsOverview() { + return new GetVenueDetailsOverviewRequestBuilder(sdkConfiguration); + } + + /** + * Get Venue Details Overview + * + *

Retrieve an overview of venue details for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getVenueDetailsOverview( + @Nonnull GetVenueDetailsOverviewRequest request) { + return getVenueDetailsOverview(request, null); + } + + /** + * Get Venue Details Overview + * + *

Retrieve an overview of venue details for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getVenueDetailsOverview( + @Nonnull GetVenueDetailsOverviewRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new GetVenueDetailsOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Update Venue Facility + * + *

Update the facility information for the specified venue, replacing all existing values with those + * provided in the request body. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @return The async call builder + */ + public UpdateVenueFacilityRequestBuilder updateVenueFacility() { + return new UpdateVenueFacilityRequestBuilder(sdkConfiguration); + } + + /** + * Update Venue Facility + * + *

Update the facility information for the specified venue, replacing all existing values with those + * provided in the request body. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateVenueFacility( + @Nonnull UpdateVenueFacilityRequest request) { + return updateVenueFacility(request, null); + } + + /** + * Update Venue Facility + * + *

Update the facility information for the specified venue, replacing all existing values with those + * provided in the request body. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateVenueFacility( + @Nonnull UpdateVenueFacilityRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new UpdateVenueFacility.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Patch Venue Facility + * + *

Partially update the facility information for the specified venue using JSON Merge Patch, as defined + * in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @return The async call builder + */ + public PatchVenueFacilityRequestBuilder patchVenueFacility() { + return new PatchVenueFacilityRequestBuilder(sdkConfiguration); + } + + /** + * Patch Venue Facility + * + *

Partially update the facility information for the specified venue using JSON Merge Patch, as defined + * in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchVenueFacility( + @Nonnull PatchVenueFacilityRequest request) { + return patchVenueFacility(request, null); + } + + /** + * Patch Venue Facility + * + *

Partially update the facility information for the specified venue using JSON Merge Patch, as defined + * in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchVenueFacility( + @Nonnull PatchVenueFacilityRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new PatchVenueFacility.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/Bulk.java b/packages/java/src/main/java/com/cvent/Bulk.java index f3dbbbcc0..330737605 100644 --- a/packages/java/src/main/java/com/cvent/Bulk.java +++ b/packages/java/src/main/java/com/cvent/Bulk.java @@ -290,7 +290,17 @@ public UploadBulkJobDataResponse uploadBulkJobData( /** * List Bulk Job Result * - *

Used to list the results of a bulk Job. + *

Used to list the results of a bulk job. + * + *

**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target + * operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each + * result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial + * item-level + * failures within the multi-status response body. For these operations, inspect each result record's + * `data` field + * to determine which items succeeded or failed. * * @return The call builder */ @@ -301,7 +311,17 @@ public ListBulkJobResultRequestBuilder listBulkJobResult() { /** * List Bulk Job Result * - *

Used to list the results of a bulk Job. + *

Used to list the results of a bulk job. + * + *

**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target + * operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each + * result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial + * item-level + * failures within the multi-status response body. For these operations, inspect each result record's + * `data` field + * to determine which items succeeded or failed. * * @param request The request object containing all the parameters for the API call. * @return The response from the API call @@ -314,7 +334,17 @@ public ListBulkJobResultResponse listBulkJobResult(@Nonnull ListBulkJobResultReq /** * List Bulk Job Result * - *

Used to list the results of a bulk Job. + *

Used to list the results of a bulk job. + * + *

**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target + * operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each + * result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial + * item-level + * failures within the multi-status response body. For these operations, inspect each result record's + * `data` field + * to determine which items succeeded or failed. * * @param request The request object containing all the parameters for the API call. * @param options additional options diff --git a/packages/java/src/main/java/com/cvent/CventSDK.java b/packages/java/src/main/java/com/cvent/CventSDK.java index 18bfce89f..7df1ee582 100644 --- a/packages/java/src/main/java/com/cvent/CventSDK.java +++ b/packages/java/src/main/java/com/cvent/CventSDK.java @@ -499,6 +499,18 @@ public class CventSDK { */ private final Usage usage; + /** + * Manage venue profile details including type, contact information, address, and other venue + * properties. + */ + private final VenueProfiles venueProfiles; + + /** + * Manage meeting rooms for a venue, including creating and updating room details, configuring + * capacities and amenities, and associating images. + */ + private final VenueMeetingRooms venueMeetingRooms; + /** * Videos can be added to Cvent events with renditions at various resolutions, audio files, reactions * tracks, and text tracks. Attendee viewership is tracked to get insight into durations, devices used @@ -1085,6 +1097,22 @@ public Usage usage() { return usage; } + /** + * Manage venue profile details including type, contact information, address, and other venue + * properties. + */ + public VenueProfiles venueProfiles() { + return venueProfiles; + } + + /** + * Manage meeting rooms for a venue, including creating and updating room details, configuring + * capacities and amenities, and associating images. + */ + public VenueMeetingRooms venueMeetingRooms() { + return venueMeetingRooms; + } + /** * Videos can be added to Cvent events with renditions at various resolutions, audio files, reactions * tracks, and text tracks. Attendee viewership is tracked to get insight into durations, devices used @@ -1303,6 +1331,8 @@ private CventSDK(SDKConfiguration sdkConfiguration) { this.travelRFPs = new TravelRFPs(sdkConfiguration); this.travelSuppliers = new TravelSuppliers(sdkConfiguration); this.usage = new Usage(sdkConfiguration); + this.venueProfiles = new VenueProfiles(sdkConfiguration); + this.venueMeetingRooms = new VenueMeetingRooms(sdkConfiguration); this.video = new Video(sdkConfiguration); this.webcasts = new Webcasts(sdkConfiguration); sdkConfiguration = sdkConfiguration.hooks().sdkInit(sdkConfiguration); diff --git a/packages/java/src/main/java/com/cvent/SDKConfiguration.java b/packages/java/src/main/java/com/cvent/SDKConfiguration.java index 4bd83f6aa..4e8b048a3 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.2"; + public static final String SDK_VERSION = "1.6.0"; public static final String GEN_VERSION = "2.859.2"; private static final String BASE_PACKAGE = "com.cvent"; public static final String USER_AGENT = String.format( diff --git a/packages/java/src/main/java/com/cvent/VenueMeetingRooms.java b/packages/java/src/main/java/com/cvent/VenueMeetingRooms.java new file mode 100644 index 000000000..32b65243c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/VenueMeetingRooms.java @@ -0,0 +1,279 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.models.operations.CreateMeetingRoomRequest; +import com.cvent.models.operations.CreateMeetingRoomRequestBuilder; +import com.cvent.models.operations.CreateMeetingRoomResponse; +import com.cvent.models.operations.GetMeetingRoomOverviewRequest; +import com.cvent.models.operations.GetMeetingRoomOverviewRequestBuilder; +import com.cvent.models.operations.GetMeetingRoomOverviewResponse; +import com.cvent.models.operations.ListMeetingRoomsOverviewsRequest; +import com.cvent.models.operations.ListMeetingRoomsOverviewsRequestBuilder; +import com.cvent.models.operations.ListMeetingRoomsOverviewsResponse; +import com.cvent.models.operations.PatchMeetingRoomRequest; +import com.cvent.models.operations.PatchMeetingRoomRequestBuilder; +import com.cvent.models.operations.PatchMeetingRoomResponse; +import com.cvent.models.operations.UpdateMeetingRoomRequest; +import com.cvent.models.operations.UpdateMeetingRoomRequestBuilder; +import com.cvent.models.operations.UpdateMeetingRoomResponse; +import com.cvent.operations.CreateMeetingRoom; +import com.cvent.operations.GetMeetingRoomOverview; +import com.cvent.operations.ListMeetingRoomsOverviews; +import com.cvent.operations.PatchMeetingRoom; +import com.cvent.operations.UpdateMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +/** + * Manage meeting rooms for a venue, including creating and updating room details, configuring + * capacities and amenities, and associating images. + */ +public class VenueMeetingRooms { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final AsyncVenueMeetingRooms asyncSDK; + + VenueMeetingRooms(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.asyncSDK = new AsyncVenueMeetingRooms(this, sdkConfiguration); + } + + /** + * Switches to the async SDK. + * + * @return The async SDK + */ + public AsyncVenueMeetingRooms async() { + return asyncSDK; + } + + /** + * Create Meeting Room + * + *

Create a new meeting room for the specified venue. + * + * @return The call builder + */ + public CreateMeetingRoomRequestBuilder createMeetingRoom() { + return new CreateMeetingRoomRequestBuilder(sdkConfiguration); + } + + /** + * Create Meeting Room + * + *

Create a new meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public CreateMeetingRoomResponse createMeetingRoom(@Nonnull CreateMeetingRoomRequest request) { + return createMeetingRoom(request, null); + } + + /** + * Create Meeting Room + * + *

Create a new meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public CreateMeetingRoomResponse createMeetingRoom( + @Nonnull CreateMeetingRoomRequest request, @Nullable Options options) { + RequestOperation operation = + new CreateMeetingRoom.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * List Meeting Rooms Overviews + * + *

Retrieve a paginated list of meeting room overviews for the specified venue. + * + * @return The call builder + */ + public ListMeetingRoomsOverviewsRequestBuilder listMeetingRoomsOverviews() { + return new ListMeetingRoomsOverviewsRequestBuilder(sdkConfiguration); + } + + /** + * List Meeting Rooms Overviews + * + *

Retrieve a paginated list of meeting room overviews for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public ListMeetingRoomsOverviewsResponse listMeetingRoomsOverviews( + @Nonnull ListMeetingRoomsOverviewsRequest request) { + return listMeetingRoomsOverviews(request, null); + } + + /** + * List Meeting Rooms Overviews + * + *

Retrieve a paginated list of meeting room overviews for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public ListMeetingRoomsOverviewsResponse listMeetingRoomsOverviews( + @Nonnull ListMeetingRoomsOverviewsRequest request, @Nullable Options options) { + RequestOperation operation = + new ListMeetingRoomsOverviews.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Update Meeting Room + * + *

Update a meeting room for the specified venue, replacing the existing meeting room data. + * + * @return The call builder + */ + public UpdateMeetingRoomRequestBuilder updateMeetingRoom() { + return new UpdateMeetingRoomRequestBuilder(sdkConfiguration); + } + + /** + * Update Meeting Room + * + *

Update a meeting room for the specified venue, replacing the existing meeting room data. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateMeetingRoomResponse updateMeetingRoom(@Nonnull UpdateMeetingRoomRequest request) { + return updateMeetingRoom(request, null); + } + + /** + * Update Meeting Room + * + *

Update a meeting room for the specified venue, replacing the existing meeting room data. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateMeetingRoomResponse updateMeetingRoom( + @Nonnull UpdateMeetingRoomRequest request, @Nullable Options options) { + RequestOperation operation = + new UpdateMeetingRoom.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Patch Meeting Room + * + *

Partially update a meeting room for the specified venue. + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is + * replaced, not merged. + * - All changes are applied atomically. + * + * @return The call builder + */ + public PatchMeetingRoomRequestBuilder patchMeetingRoom() { + return new PatchMeetingRoomRequestBuilder(sdkConfiguration); + } + + /** + * Patch Meeting Room + * + *

Partially update a meeting room for the specified venue. + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is + * replaced, not merged. + * - All changes are applied atomically. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchMeetingRoomResponse patchMeetingRoom(@Nonnull PatchMeetingRoomRequest request) { + return patchMeetingRoom(request, null); + } + + /** + * Patch Meeting Room + * + *

Partially update a meeting room for the specified venue. + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is + * replaced, not merged. + * - All changes are applied atomically. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchMeetingRoomResponse patchMeetingRoom( + @Nonnull PatchMeetingRoomRequest request, @Nullable Options options) { + RequestOperation operation = + new PatchMeetingRoom.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Get Meeting Room Overview + * + *

Retrieve an overview of a specific meeting room for the specified venue. + * + * @return The call builder + */ + public GetMeetingRoomOverviewRequestBuilder getMeetingRoomOverview() { + return new GetMeetingRoomOverviewRequestBuilder(sdkConfiguration); + } + + /** + * Get Meeting Room Overview + * + *

Retrieve an overview of a specific meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetMeetingRoomOverviewResponse getMeetingRoomOverview(@Nonnull GetMeetingRoomOverviewRequest request) { + return getMeetingRoomOverview(request, null); + } + + /** + * Get Meeting Room Overview + * + *

Retrieve an overview of a specific meeting room for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetMeetingRoomOverviewResponse getMeetingRoomOverview( + @Nonnull GetMeetingRoomOverviewRequest request, @Nullable Options options) { + RequestOperation operation = + new GetMeetingRoomOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } +} diff --git a/packages/java/src/main/java/com/cvent/VenueProfiles.java b/packages/java/src/main/java/com/cvent/VenueProfiles.java new file mode 100644 index 000000000..bb540c510 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/VenueProfiles.java @@ -0,0 +1,329 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.models.operations.GetVenueDetailsOverviewRequest; +import com.cvent.models.operations.GetVenueDetailsOverviewRequestBuilder; +import com.cvent.models.operations.GetVenueDetailsOverviewResponse; +import com.cvent.models.operations.PatchVenueDetailsRequest; +import com.cvent.models.operations.PatchVenueDetailsRequestBuilder; +import com.cvent.models.operations.PatchVenueDetailsResponse; +import com.cvent.models.operations.PatchVenueFacilityRequest; +import com.cvent.models.operations.PatchVenueFacilityRequestBuilder; +import com.cvent.models.operations.PatchVenueFacilityResponse; +import com.cvent.models.operations.UpdateVenueDetailsRequest; +import com.cvent.models.operations.UpdateVenueDetailsRequestBuilder; +import com.cvent.models.operations.UpdateVenueDetailsResponse; +import com.cvent.models.operations.UpdateVenueFacilityRequest; +import com.cvent.models.operations.UpdateVenueFacilityRequestBuilder; +import com.cvent.models.operations.UpdateVenueFacilityResponse; +import com.cvent.operations.GetVenueDetailsOverview; +import com.cvent.operations.PatchVenueDetails; +import com.cvent.operations.PatchVenueFacility; +import com.cvent.operations.UpdateVenueDetails; +import com.cvent.operations.UpdateVenueFacility; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +/** + * Manage venue profile details including type, contact information, address, and other venue + * properties. + */ +public class VenueProfiles { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final AsyncVenueProfiles asyncSDK; + + VenueProfiles(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.asyncSDK = new AsyncVenueProfiles(this, sdkConfiguration); + } + + /** + * Switches to the async SDK. + * + * @return The async SDK + */ + public AsyncVenueProfiles async() { + return asyncSDK; + } + + /** + * Update Venue Details + * + *

Update venue details for the specified venue, replacing the existing venue details data. + * + * @return The call builder + */ + public UpdateVenueDetailsRequestBuilder updateVenueDetails() { + return new UpdateVenueDetailsRequestBuilder(sdkConfiguration); + } + + /** + * Update Venue Details + * + *

Update venue details for the specified venue, replacing the existing venue details data. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateVenueDetailsResponse updateVenueDetails(@Nonnull UpdateVenueDetailsRequest request) { + return updateVenueDetails(request, null); + } + + /** + * Update Venue Details + * + *

Update venue details for the specified venue, replacing the existing venue details data. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateVenueDetailsResponse updateVenueDetails( + @Nonnull UpdateVenueDetailsRequest request, @Nullable Options options) { + RequestOperation operation = + new UpdateVenueDetails.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Patch Venue Details + * + *

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

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + *

**Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + * + * @return The call builder + */ + public PatchVenueDetailsRequestBuilder patchVenueDetails() { + return new PatchVenueDetailsRequestBuilder(sdkConfiguration); + } + + /** + * Patch Venue Details + * + *

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

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + *

**Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchVenueDetailsResponse patchVenueDetails(@Nonnull PatchVenueDetailsRequest request) { + return patchVenueDetails(request, null); + } + + /** + * Patch Venue Details + * + *

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

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + *

**Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchVenueDetailsResponse patchVenueDetails( + @Nonnull PatchVenueDetailsRequest request, @Nullable Options options) { + RequestOperation operation = + new PatchVenueDetails.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Get Venue Details Overview + * + *

Retrieve an overview of venue details for the specified venue. + * + * @return The call builder + */ + public GetVenueDetailsOverviewRequestBuilder getVenueDetailsOverview() { + return new GetVenueDetailsOverviewRequestBuilder(sdkConfiguration); + } + + /** + * Get Venue Details Overview + * + *

Retrieve an overview of venue details for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetVenueDetailsOverviewResponse getVenueDetailsOverview(@Nonnull GetVenueDetailsOverviewRequest request) { + return getVenueDetailsOverview(request, null); + } + + /** + * Get Venue Details Overview + * + *

Retrieve an overview of venue details for the specified venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetVenueDetailsOverviewResponse getVenueDetailsOverview( + @Nonnull GetVenueDetailsOverviewRequest request, @Nullable Options options) { + RequestOperation operation = + new GetVenueDetailsOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Update Venue Facility + * + *

Update the facility information for the specified venue, replacing all existing values with those + * provided in the request body. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @return The call builder + */ + public UpdateVenueFacilityRequestBuilder updateVenueFacility() { + return new UpdateVenueFacilityRequestBuilder(sdkConfiguration); + } + + /** + * Update Venue Facility + * + *

Update the facility information for the specified venue, replacing all existing values with those + * provided in the request body. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateVenueFacilityResponse updateVenueFacility(@Nonnull UpdateVenueFacilityRequest request) { + return updateVenueFacility(request, null); + } + + /** + * Update Venue Facility + * + *

Update the facility information for the specified venue, replacing all existing values with those + * provided in the request body. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateVenueFacilityResponse updateVenueFacility( + @Nonnull UpdateVenueFacilityRequest request, @Nullable Options options) { + RequestOperation operation = + new UpdateVenueFacility.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Patch Venue Facility + * + *

Partially update the facility information for the specified venue using JSON Merge Patch, as defined + * in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @return The call builder + */ + public PatchVenueFacilityRequestBuilder patchVenueFacility() { + return new PatchVenueFacilityRequestBuilder(sdkConfiguration); + } + + /** + * Patch Venue Facility + * + *

Partially update the facility information for the specified venue using JSON Merge Patch, as defined + * in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchVenueFacilityResponse patchVenueFacility(@Nonnull PatchVenueFacilityRequest request) { + return patchVenueFacility(request, null); + } + + /** + * Patch Venue Facility + * + *

Partially update the facility information for the specified venue using JSON Merge Patch, as defined + * in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + *

Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchVenueFacilityResponse patchVenueFacility( + @Nonnull PatchVenueFacilityRequest request, @Nullable Options options) { + RequestOperation operation = + new PatchVenueFacility.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } +} diff --git a/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java b/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java index 35ae07d08..9b54aceaa 100644 --- a/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java +++ b/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java @@ -196,6 +196,16 @@ public static enum OAuth2AuthorizationCode { */ BusinessTransientProposalsRead("business-transient/proposals:read"), + /** + * Allows the reading of BT Bid data + */ + BusinessTravelBidsRead("business-travel/bids:read"), + + /** + * Allows the reading of BT Proposal data + */ + BusinessTravelProposalsRead("business-travel/proposals:read"), + /** * Allows the reading of communication compliance */ @@ -1004,7 +1014,32 @@ public static enum OAuth2AuthorizationCode { /** * Allows the reading of event surveys */ - SurveySurveysRead("survey/surveys:read"); + SurveySurveysRead("survey/surveys:read"), + + /** + * Allows read access for overview of meeting room. + */ + VenueMeetingRoomOverviewsRead("venue/meeting-room-overviews:read"), + + /** + * Allows the creation and modification of meeting rooms. + */ + VenueMeetingRoomsWrite("venue/meeting-rooms:write"), + + /** + * Allows read access for overview of venue details. + */ + VenueVenueDetailsOverviewRead("venue/venue-details-overview:read"), + + /** + * Allows the creation and modification of venue details. + */ + VenueVenueDetailsWrite("venue/venue-details:write"), + + /** + * Allows the modification of venue facility information. + */ + VenueVenueFacilityWrite("venue/venue-facility:write"); private final java.lang.String value; @@ -1214,12 +1249,12 @@ public static enum OAuth2ClientCredentials { BulkBulkJobsWrite("bulk/bulk-jobs:write"), /** - * Allows the reading of BT Bid data + * Allows the reading of Business Transient Bid data */ BusinessTransientBidsRead("business-transient/bids:read"), /** - * Allows the reading of BT Proposal data + * Allows the reading of Business Transient Proposal data */ BusinessTransientProposalsRead("business-transient/proposals:read"), @@ -1263,6 +1298,16 @@ public static enum OAuth2ClientCredentials { */ BusinessTransientTravelSupplierAccountsRead("business-transient/travel-supplier-accounts:read"), + /** + * Allows the reading of Business Travel Bid data + */ + BusinessTravelBidsRead("business-travel/bids:read"), + + /** + * Allows the reading of Business Travel Proposal data + */ + BusinessTravelProposalsRead("business-travel/proposals:read"), + /** * Allows the reading of business travel account data. */ @@ -2171,7 +2216,32 @@ public static enum OAuth2ClientCredentials { /** * Allows the reading of event surveys */ - SurveySurveysRead("survey/surveys:read"); + SurveySurveysRead("survey/surveys:read"), + + /** + * Allows read access for overview of meeting room. + */ + VenueMeetingRoomOverviewsRead("venue/meeting-room-overviews:read"), + + /** + * Allows the creation and modification of meeting rooms. + */ + VenueMeetingRoomsWrite("venue/meeting-rooms:write"), + + /** + * Allows read access for overview of venue details. + */ + VenueVenueDetailsOverviewRead("venue/venue-details-overview:read"), + + /** + * Allows the creation and modification of venue details. + */ + VenueVenueDetailsWrite("venue/venue-details:write"), + + /** + * Allows the modification of venue facility information. + */ + VenueVenueFacilityWrite("venue/venue-facility:write"); private final java.lang.String value; diff --git a/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java b/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java index 4c5572026..dfa16d2d7 100644 --- a/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java +++ b/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.callbacks; -import com.cvent.models.components.ContactFields; +import com.cvent.models.components.ContactFields2; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -35,14 +35,14 @@ public class CreateContactHookContactTransactionCallbackResponse implements Resp * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - private ContactFields contactFields; + private ContactFields2 contactFields; @JsonCreator public CreateContactHookContactTransactionCallbackResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable ContactFields contactFields) { + @Nullable ContactFields2 contactFields) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -81,7 +81,7 @@ public HttpResponse rawResponse() { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Optional contactFields() { + public Optional contactFields() { return Optional.ofNullable(this.contactFields); } @@ -119,7 +119,7 @@ public CreateContactHookContactTransactionCallbackResponse withRawResponse( * fields present in your system. */ public CreateContactHookContactTransactionCallbackResponse withContactFields( - @Nullable ContactFields contactFields) { + @Nullable ContactFields2 contactFields) { this.contactFields = contactFields; return this; } @@ -168,7 +168,7 @@ public static final class Builder { private HttpResponse rawResponse; - private ContactFields contactFields; + private ContactFields2 contactFields; private Builder() { // force use of static builder() method @@ -202,7 +202,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Builder contactFields(@Nullable ContactFields contactFields) { + public Builder contactFields(@Nullable ContactFields2 contactFields) { this.contactFields = contactFields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java b/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java index 1ae749c49..c515da350 100644 --- a/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java +++ b/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.callbacks.async; -import com.cvent.models.components.ContactFields; +import com.cvent.models.components.ContactFields2; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -36,14 +36,14 @@ public class CreateContactHookContactTransactionCallbackResponse implements Asyn * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - private ContactFields contactFields; + private ContactFields2 contactFields; @JsonCreator public CreateContactHookContactTransactionCallbackResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable ContactFields contactFields) { + @Nullable ContactFields2 contactFields) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -82,7 +82,7 @@ public HttpResponse rawResponse() { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Optional contactFields() { + public Optional contactFields() { return Optional.ofNullable(this.contactFields); } @@ -120,7 +120,7 @@ public CreateContactHookContactTransactionCallbackResponse withRawResponse( * fields present in your system. */ public CreateContactHookContactTransactionCallbackResponse withContactFields( - @Nullable ContactFields contactFields) { + @Nullable ContactFields2 contactFields) { this.contactFields = contactFields; return this; } @@ -169,7 +169,7 @@ public static final class Builder { private HttpResponse rawResponse; - private ContactFields contactFields; + private ContactFields2 contactFields; private Builder() { // force use of static builder() method @@ -203,7 +203,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Builder contactFields(@Nullable ContactFields contactFields) { + public Builder contactFields(@Nullable ContactFields2 contactFields) { this.contactFields = contactFields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityAd.java b/packages/java/src/main/java/com/cvent/models/components/ActivityAd.java new file mode 100644 index 000000000..3f1c922c6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityAd.java @@ -0,0 +1,252 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * ActivityAd + * + *

The details of the advertisement. + */ +public class ActivityAd { + /** + * The unique identifier of the ad. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The name of the ad. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The product for which ad is created + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("product") + private String product; + + /** + * The placement of the ad within the specific product. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("location") + private AdLocation location; + + /** + * The entity to which the ad is associated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attribution") + private Attribution attribution; + + @JsonCreator + public ActivityAd( + @JsonProperty("id") @Nullable String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("product") @Nullable String product, + @JsonProperty("location") @Nullable AdLocation location, + @JsonProperty("attribution") @Nullable Attribution attribution) { + this.id = id; + this.name = name; + this.product = product; + this.location = location; + this.attribution = attribution; + } + + public ActivityAd() { + this(null, null, null, null, null); + } + + /** + * The unique identifier of the ad. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the ad. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The product for which ad is created + */ + public Optional product() { + return Optional.ofNullable(this.product); + } + + /** + * The placement of the ad within the specific product. + */ + public Optional location() { + return Optional.ofNullable(this.location); + } + + /** + * The entity to which the ad is associated. + */ + public Optional attribution() { + return Optional.ofNullable(this.attribution); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the ad. + */ + public ActivityAd withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the ad. + */ + public ActivityAd withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The product for which ad is created + */ + public ActivityAd withProduct(@Nullable String product) { + this.product = product; + return this; + } + + /** + * The placement of the ad within the specific product. + */ + public ActivityAd withLocation(@Nullable AdLocation location) { + this.location = location; + return this; + } + + /** + * The entity to which the ad is associated. + */ + public ActivityAd withAttribution(@Nullable Attribution attribution) { + this.attribution = attribution; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityAd other = (ActivityAd) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.product, other.product) + && Utils.enhancedDeepEquals(this.location, other.location) + && Utils.enhancedDeepEquals(this.attribution, other.attribution); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, product, location, attribution); + } + + @Override + public String toString() { + return Utils.toString( + ActivityAd.class, + "id", + id, + "name", + name, + "product", + product, + "location", + location, + "attribution", + attribution); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private String product; + + private AdLocation location; + + private Attribution attribution; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the ad. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the ad. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The product for which ad is created + */ + public Builder product(@Nullable String product) { + this.product = product; + return this; + } + + /** + * The placement of the ad within the specific product. + */ + public Builder location(@Nullable AdLocation location) { + this.location = location; + return this; + } + + /** + * The entity to which the ad is associated. + */ + public Builder attribution(@Nullable Attribution attribution) { + this.attribution = attribution; + return this; + } + + public ActivityAd build() { + return new ActivityAd(id, name, product, location, attribution); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityAdJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityAdJson.java deleted file mode 100644 index 3fe5ce2b1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityAdJson.java +++ /dev/null @@ -1,252 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityAdJson - * - *

The details of the advertisement. - */ -public class ActivityAdJson { - /** - * The unique identifier of the ad. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The name of the ad. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The product for which ad is created - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("product") - private String product; - - /** - * The placement of the ad within the specific product. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("location") - private AdLocationJson location; - - /** - * The entity to which the ad is associated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("attribution") - private Attribution attribution; - - @JsonCreator - public ActivityAdJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("product") @Nullable String product, - @JsonProperty("location") @Nullable AdLocationJson location, - @JsonProperty("attribution") @Nullable Attribution attribution) { - this.id = id; - this.name = name; - this.product = product; - this.location = location; - this.attribution = attribution; - } - - public ActivityAdJson() { - this(null, null, null, null, null); - } - - /** - * The unique identifier of the ad. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the ad. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The product for which ad is created - */ - public Optional product() { - return Optional.ofNullable(this.product); - } - - /** - * The placement of the ad within the specific product. - */ - public Optional location() { - return Optional.ofNullable(this.location); - } - - /** - * The entity to which the ad is associated. - */ - public Optional attribution() { - return Optional.ofNullable(this.attribution); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the ad. - */ - public ActivityAdJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the ad. - */ - public ActivityAdJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The product for which ad is created - */ - public ActivityAdJson withProduct(@Nullable String product) { - this.product = product; - return this; - } - - /** - * The placement of the ad within the specific product. - */ - public ActivityAdJson withLocation(@Nullable AdLocationJson location) { - this.location = location; - return this; - } - - /** - * The entity to which the ad is associated. - */ - public ActivityAdJson withAttribution(@Nullable Attribution attribution) { - this.attribution = attribution; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityAdJson other = (ActivityAdJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.product, other.product) - && Utils.enhancedDeepEquals(this.location, other.location) - && Utils.enhancedDeepEquals(this.attribution, other.attribution); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, product, location, attribution); - } - - @Override - public String toString() { - return Utils.toString( - ActivityAdJson.class, - "id", - id, - "name", - name, - "product", - product, - "location", - location, - "attribution", - attribution); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private String product; - - private AdLocationJson location; - - private Attribution attribution; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the ad. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the ad. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The product for which ad is created - */ - public Builder product(@Nullable String product) { - this.product = product; - return this; - } - - /** - * The placement of the ad within the specific product. - */ - public Builder location(@Nullable AdLocationJson location) { - this.location = location; - return this; - } - - /** - * The entity to which the ad is associated. - */ - public Builder attribution(@Nullable Attribution attribution) { - this.attribution = attribution; - return this; - } - - public ActivityAdJson build() { - return new ActivityAdJson(id, name, product, location, attribution); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityAppointment.java b/packages/java/src/main/java/com/cvent/models/components/ActivityAppointment.java new file mode 100644 index 000000000..dd3165a8d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityAppointment.java @@ -0,0 +1,278 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * ActivityAppointment + * + *

An activity appointment. + */ +public class ActivityAppointment { + /** + * 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 appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The code of an appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("appointmentEvent") + private ActivityAppointmentAppointmentEvent appointmentEvent; + + /** + * The ISO 8601 zoned date time when an appointment starts. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start") + private OffsetDateTime start; + + /** + * The ISO 8601 zoned date time when an appointment ends. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end") + private OffsetDateTime end; + + @JsonCreator + public ActivityAppointment( + @JsonProperty("id") @Nullable String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("code") @Nullable String code, + @JsonProperty("appointmentEvent") @Nullable ActivityAppointmentAppointmentEvent appointmentEvent, + @JsonProperty("start") @Nullable OffsetDateTime start, + @JsonProperty("end") @Nullable OffsetDateTime end) { + this.id = id; + this.name = name; + this.code = code; + this.appointmentEvent = appointmentEvent; + this.start = start; + this.end = end; + } + + public ActivityAppointment() { + this(null, null, null, null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the appointment. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The code of an appointment. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public Optional appointmentEvent() { + return Optional.ofNullable(this.appointmentEvent); + } + + /** + * The ISO 8601 zoned date time when an appointment starts. + */ + public Optional start() { + return Optional.ofNullable(this.start); + } + + /** + * The ISO 8601 zoned date time when an appointment ends. + */ + public Optional end() { + return Optional.ofNullable(this.end); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public ActivityAppointment withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the appointment. + */ + public ActivityAppointment withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The code of an appointment. + */ + public ActivityAppointment withCode(@Nullable String code) { + this.code = code; + return this; + } + + public ActivityAppointment withAppointmentEvent(@Nullable ActivityAppointmentAppointmentEvent appointmentEvent) { + this.appointmentEvent = appointmentEvent; + return this; + } + + /** + * The ISO 8601 zoned date time when an appointment starts. + */ + public ActivityAppointment withStart(@Nullable OffsetDateTime start) { + this.start = start; + return this; + } + + /** + * The ISO 8601 zoned date time when an appointment ends. + */ + public ActivityAppointment withEnd(@Nullable OffsetDateTime end) { + this.end = end; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityAppointment other = (ActivityAppointment) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.appointmentEvent, other.appointmentEvent) + && Utils.enhancedDeepEquals(this.start, other.start) + && Utils.enhancedDeepEquals(this.end, other.end); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, code, appointmentEvent, start, end); + } + + @Override + public String toString() { + return Utils.toString( + ActivityAppointment.class, + "id", + id, + "name", + name, + "code", + code, + "appointmentEvent", + appointmentEvent, + "start", + start, + "end", + end); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private String code; + + private ActivityAppointmentAppointmentEvent appointmentEvent; + + private OffsetDateTime start; + + private OffsetDateTime end; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the appointment. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The code of an appointment. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public Builder appointmentEvent(@Nullable ActivityAppointmentAppointmentEvent appointmentEvent) { + this.appointmentEvent = appointmentEvent; + return this; + } + + /** + * The ISO 8601 zoned date time when an appointment starts. + */ + public Builder start(@Nullable OffsetDateTime start) { + this.start = start; + return this; + } + + /** + * The ISO 8601 zoned date time when an appointment ends. + */ + public Builder end(@Nullable OffsetDateTime end) { + this.end = end; + return this; + } + + public ActivityAppointment build() { + return new ActivityAppointment(id, name, code, appointmentEvent, start, end); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentAppointmentEvent.java b/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentAppointmentEvent.java new file mode 100644 index 000000000..916d9969a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentAppointmentEvent.java @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.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; + +public class ActivityAppointmentAppointmentEvent { + /** + * The title of linked appointment event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The code of linked appointment event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonCreator + public ActivityAppointmentAppointmentEvent( + @JsonProperty("title") @Nullable String title, @JsonProperty("code") @Nullable String code) { + this.title = title; + this.code = code; + } + + public ActivityAppointmentAppointmentEvent() { + this(null, null); + } + + /** + * The title of linked appointment event. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The code of linked appointment event. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The title of linked appointment event. + */ + public ActivityAppointmentAppointmentEvent withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of linked appointment event. + */ + public ActivityAppointmentAppointmentEvent withCode(@Nullable String code) { + this.code = code; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityAppointmentAppointmentEvent other = (ActivityAppointmentAppointmentEvent) o; + return Utils.enhancedDeepEquals(this.title, other.title) && Utils.enhancedDeepEquals(this.code, other.code); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(title, code); + } + + @Override + public String toString() { + return Utils.toString(ActivityAppointmentAppointmentEvent.class, "title", title, "code", code); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String title; + + private String code; + + private Builder() { + // force use of static builder() method + } + + /** + * The title of linked appointment event. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of linked appointment event. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public ActivityAppointmentAppointmentEvent build() { + return new ActivityAppointmentAppointmentEvent(title, code); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentJson.java deleted file mode 100644 index a81628d1b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentJson.java +++ /dev/null @@ -1,279 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * ActivityAppointmentJson - * - *

An activity appointment. - */ -public class ActivityAppointmentJson { - /** - * 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 appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The code of an appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("appointmentEvent") - private ActivityAppointmentJsonAppointmentEvent appointmentEvent; - - /** - * The ISO 8601 zoned date time when an appointment starts. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("start") - private OffsetDateTime start; - - /** - * The ISO 8601 zoned date time when an appointment ends. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("end") - private OffsetDateTime end; - - @JsonCreator - public ActivityAppointmentJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("code") @Nullable String code, - @JsonProperty("appointmentEvent") @Nullable ActivityAppointmentJsonAppointmentEvent appointmentEvent, - @JsonProperty("start") @Nullable OffsetDateTime start, - @JsonProperty("end") @Nullable OffsetDateTime end) { - this.id = id; - this.name = name; - this.code = code; - this.appointmentEvent = appointmentEvent; - this.start = start; - this.end = end; - } - - public ActivityAppointmentJson() { - this(null, null, null, null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the appointment. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The code of an appointment. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public Optional appointmentEvent() { - return Optional.ofNullable(this.appointmentEvent); - } - - /** - * The ISO 8601 zoned date time when an appointment starts. - */ - public Optional start() { - return Optional.ofNullable(this.start); - } - - /** - * The ISO 8601 zoned date time when an appointment ends. - */ - public Optional end() { - return Optional.ofNullable(this.end); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public ActivityAppointmentJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the appointment. - */ - public ActivityAppointmentJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The code of an appointment. - */ - public ActivityAppointmentJson withCode(@Nullable String code) { - this.code = code; - return this; - } - - public ActivityAppointmentJson withAppointmentEvent( - @Nullable ActivityAppointmentJsonAppointmentEvent appointmentEvent) { - this.appointmentEvent = appointmentEvent; - return this; - } - - /** - * The ISO 8601 zoned date time when an appointment starts. - */ - public ActivityAppointmentJson withStart(@Nullable OffsetDateTime start) { - this.start = start; - return this; - } - - /** - * The ISO 8601 zoned date time when an appointment ends. - */ - public ActivityAppointmentJson withEnd(@Nullable OffsetDateTime end) { - this.end = end; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityAppointmentJson other = (ActivityAppointmentJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.appointmentEvent, other.appointmentEvent) - && Utils.enhancedDeepEquals(this.start, other.start) - && Utils.enhancedDeepEquals(this.end, other.end); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, code, appointmentEvent, start, end); - } - - @Override - public String toString() { - return Utils.toString( - ActivityAppointmentJson.class, - "id", - id, - "name", - name, - "code", - code, - "appointmentEvent", - appointmentEvent, - "start", - start, - "end", - end); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private String code; - - private ActivityAppointmentJsonAppointmentEvent appointmentEvent; - - private OffsetDateTime start; - - private OffsetDateTime end; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the appointment. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The code of an appointment. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public Builder appointmentEvent(@Nullable ActivityAppointmentJsonAppointmentEvent appointmentEvent) { - this.appointmentEvent = appointmentEvent; - return this; - } - - /** - * The ISO 8601 zoned date time when an appointment starts. - */ - public Builder start(@Nullable OffsetDateTime start) { - this.start = start; - return this; - } - - /** - * The ISO 8601 zoned date time when an appointment ends. - */ - public Builder end(@Nullable OffsetDateTime end) { - this.end = end; - return this; - } - - public ActivityAppointmentJson build() { - return new ActivityAppointmentJson(id, name, code, appointmentEvent, start, end); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentJsonAppointmentEvent.java b/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentJsonAppointmentEvent.java deleted file mode 100644 index 00a9e5310..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityAppointmentJsonAppointmentEvent.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.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; - -public class ActivityAppointmentJsonAppointmentEvent { - /** - * The title of linked appointment event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The code of linked appointment event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public ActivityAppointmentJsonAppointmentEvent( - @JsonProperty("title") @Nullable String title, @JsonProperty("code") @Nullable String code) { - this.title = title; - this.code = code; - } - - public ActivityAppointmentJsonAppointmentEvent() { - this(null, null); - } - - /** - * The title of linked appointment event. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The code of linked appointment event. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The title of linked appointment event. - */ - public ActivityAppointmentJsonAppointmentEvent withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of linked appointment event. - */ - public ActivityAppointmentJsonAppointmentEvent withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityAppointmentJsonAppointmentEvent other = (ActivityAppointmentJsonAppointmentEvent) o; - return Utils.enhancedDeepEquals(this.title, other.title) && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(title, code); - } - - @Override - public String toString() { - return Utils.toString(ActivityAppointmentJsonAppointmentEvent.class, "title", title, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String title; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * The title of linked appointment event. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of linked appointment event. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public ActivityAppointmentJsonAppointmentEvent build() { - return new ActivityAppointmentJsonAppointmentEvent(title, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointment.java b/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointment.java new file mode 100644 index 000000000..7fe4faaf5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointment.java @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * ActivityBaseAppointment + * + *

Base entity of an activity appointment. + */ +public class ActivityBaseAppointment { + /** + * 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 appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The code of an appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("appointmentEvent") + private ActivityBaseAppointmentAppointmentEvent appointmentEvent; + + @JsonCreator + public ActivityBaseAppointment( + @JsonProperty("id") @Nullable String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("code") @Nullable String code, + @JsonProperty("appointmentEvent") @Nullable ActivityBaseAppointmentAppointmentEvent appointmentEvent) { + this.id = id; + this.name = name; + this.code = code; + this.appointmentEvent = appointmentEvent; + } + + public ActivityBaseAppointment() { + this(null, null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the appointment. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The code of an appointment. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public Optional appointmentEvent() { + return Optional.ofNullable(this.appointmentEvent); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public ActivityBaseAppointment withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the appointment. + */ + public ActivityBaseAppointment withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The code of an appointment. + */ + public ActivityBaseAppointment withCode(@Nullable String code) { + this.code = code; + return this; + } + + public ActivityBaseAppointment withAppointmentEvent( + @Nullable ActivityBaseAppointmentAppointmentEvent appointmentEvent) { + this.appointmentEvent = appointmentEvent; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityBaseAppointment other = (ActivityBaseAppointment) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.appointmentEvent, other.appointmentEvent); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, code, appointmentEvent); + } + + @Override + public String toString() { + return Utils.toString( + ActivityBaseAppointment.class, + "id", + id, + "name", + name, + "code", + code, + "appointmentEvent", + appointmentEvent); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private String code; + + private ActivityBaseAppointmentAppointmentEvent appointmentEvent; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the appointment. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The code of an appointment. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public Builder appointmentEvent(@Nullable ActivityBaseAppointmentAppointmentEvent appointmentEvent) { + this.appointmentEvent = appointmentEvent; + return this; + } + + public ActivityBaseAppointment build() { + return new ActivityBaseAppointment(id, name, code, appointmentEvent); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentAppointmentEvent.java b/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentAppointmentEvent.java new file mode 100644 index 000000000..2f4edb2f2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentAppointmentEvent.java @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.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; + +public class ActivityBaseAppointmentAppointmentEvent { + /** + * The title of linked appointment event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The code of linked appointment event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonCreator + public ActivityBaseAppointmentAppointmentEvent( + @JsonProperty("title") @Nullable String title, @JsonProperty("code") @Nullable String code) { + this.title = title; + this.code = code; + } + + public ActivityBaseAppointmentAppointmentEvent() { + this(null, null); + } + + /** + * The title of linked appointment event. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The code of linked appointment event. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The title of linked appointment event. + */ + public ActivityBaseAppointmentAppointmentEvent withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of linked appointment event. + */ + public ActivityBaseAppointmentAppointmentEvent withCode(@Nullable String code) { + this.code = code; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityBaseAppointmentAppointmentEvent other = (ActivityBaseAppointmentAppointmentEvent) o; + return Utils.enhancedDeepEquals(this.title, other.title) && Utils.enhancedDeepEquals(this.code, other.code); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(title, code); + } + + @Override + public String toString() { + return Utils.toString(ActivityBaseAppointmentAppointmentEvent.class, "title", title, "code", code); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String title; + + private String code; + + private Builder() { + // force use of static builder() method + } + + /** + * The title of linked appointment event. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of linked appointment event. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public ActivityBaseAppointmentAppointmentEvent build() { + return new ActivityBaseAppointmentAppointmentEvent(title, code); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentJson.java deleted file mode 100644 index c1f6dd620..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentJson.java +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityBaseAppointmentJson - * - *

Base entity of an activity appointment. - */ -public class ActivityBaseAppointmentJson { - /** - * 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 appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The code of an appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("appointmentEvent") - private ActivityBaseAppointmentJsonAppointmentEvent appointmentEvent; - - @JsonCreator - public ActivityBaseAppointmentJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("code") @Nullable String code, - @JsonProperty("appointmentEvent") @Nullable ActivityBaseAppointmentJsonAppointmentEvent appointmentEvent) { - this.id = id; - this.name = name; - this.code = code; - this.appointmentEvent = appointmentEvent; - } - - public ActivityBaseAppointmentJson() { - this(null, null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the appointment. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The code of an appointment. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public Optional appointmentEvent() { - return Optional.ofNullable(this.appointmentEvent); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public ActivityBaseAppointmentJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the appointment. - */ - public ActivityBaseAppointmentJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The code of an appointment. - */ - public ActivityBaseAppointmentJson withCode(@Nullable String code) { - this.code = code; - return this; - } - - public ActivityBaseAppointmentJson withAppointmentEvent( - @Nullable ActivityBaseAppointmentJsonAppointmentEvent appointmentEvent) { - this.appointmentEvent = appointmentEvent; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityBaseAppointmentJson other = (ActivityBaseAppointmentJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.appointmentEvent, other.appointmentEvent); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, code, appointmentEvent); - } - - @Override - public String toString() { - return Utils.toString( - ActivityBaseAppointmentJson.class, - "id", - id, - "name", - name, - "code", - code, - "appointmentEvent", - appointmentEvent); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private String code; - - private ActivityBaseAppointmentJsonAppointmentEvent appointmentEvent; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the appointment. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The code of an appointment. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public Builder appointmentEvent(@Nullable ActivityBaseAppointmentJsonAppointmentEvent appointmentEvent) { - this.appointmentEvent = appointmentEvent; - return this; - } - - public ActivityBaseAppointmentJson build() { - return new ActivityBaseAppointmentJson(id, name, code, appointmentEvent); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentJsonAppointmentEvent.java b/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentJsonAppointmentEvent.java deleted file mode 100644 index 627ef2b6d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityBaseAppointmentJsonAppointmentEvent.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.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; - -public class ActivityBaseAppointmentJsonAppointmentEvent { - /** - * The title of linked appointment event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The code of linked appointment event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public ActivityBaseAppointmentJsonAppointmentEvent( - @JsonProperty("title") @Nullable String title, @JsonProperty("code") @Nullable String code) { - this.title = title; - this.code = code; - } - - public ActivityBaseAppointmentJsonAppointmentEvent() { - this(null, null); - } - - /** - * The title of linked appointment event. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The code of linked appointment event. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The title of linked appointment event. - */ - public ActivityBaseAppointmentJsonAppointmentEvent withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of linked appointment event. - */ - public ActivityBaseAppointmentJsonAppointmentEvent withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityBaseAppointmentJsonAppointmentEvent other = (ActivityBaseAppointmentJsonAppointmentEvent) o; - return Utils.enhancedDeepEquals(this.title, other.title) && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(title, code); - } - - @Override - public String toString() { - return Utils.toString(ActivityBaseAppointmentJsonAppointmentEvent.class, "title", title, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String title; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * The title of linked appointment event. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of linked appointment event. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public ActivityBaseAppointmentJsonAppointmentEvent build() { - return new ActivityBaseAppointmentJsonAppointmentEvent(title, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityBoothStaff.java b/packages/java/src/main/java/com/cvent/models/components/ActivityBoothStaff.java index 6cc0cf39c..6f3529b04 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityBoothStaff.java +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityBoothStaff.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nullable; -import java.lang.Deprecated; import java.lang.Override; import java.lang.String; import java.util.Optional; @@ -17,11 +16,8 @@ /** * ActivityBoothStaff * - *

Booth staff for the lead. - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + *

Booth staff for an activity. */ -@Deprecated public class ActivityBoothStaff { /** * The unique identifier of the exhibitor booth staff. diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityContact.java b/packages/java/src/main/java/com/cvent/models/components/ActivityContact.java index bc4a05419..db6effe1a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityContact.java +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityContact.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nullable; -import java.lang.Deprecated; import java.lang.Override; import java.lang.String; import java.util.Optional; @@ -17,11 +16,8 @@ /** * ActivityContact * - *

Related contact. - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + *

An activity contact. */ -@Deprecated public class ActivityContact { /** * The first name of the attendee. diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityContactJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityContactJson.java deleted file mode 100644 index a7c2aebf1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityContactJson.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityContactJson - * - *

An activity contact. - */ -public class ActivityContactJson { - /** - * The first name of the attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("firstName") - private String firstName; - - /** - * The last name of the attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastName") - private String lastName; - - /** - * The email address of the attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - private String email; - - @JsonCreator - public ActivityContactJson( - @JsonProperty("firstName") @Nullable String firstName, - @JsonProperty("lastName") @Nullable String lastName, - @JsonProperty("email") @Nullable String email) { - this.firstName = firstName; - this.lastName = lastName; - this.email = email; - } - - public ActivityContactJson() { - this(null, null, null); - } - - /** - * The first name of the attendee. - */ - public Optional firstName() { - return Optional.ofNullable(this.firstName); - } - - /** - * The last name of the attendee. - */ - public Optional lastName() { - return Optional.ofNullable(this.lastName); - } - - /** - * The email address of the attendee. - */ - public Optional email() { - return Optional.ofNullable(this.email); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The first name of the attendee. - */ - public ActivityContactJson withFirstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the attendee. - */ - public ActivityContactJson withLastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The email address of the attendee. - */ - public ActivityContactJson withEmail(@Nullable String email) { - this.email = email; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityContactJson other = (ActivityContactJson) o; - return Utils.enhancedDeepEquals(this.firstName, other.firstName) - && Utils.enhancedDeepEquals(this.lastName, other.lastName) - && Utils.enhancedDeepEquals(this.email, other.email); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(firstName, lastName, email); - } - - @Override - public String toString() { - return Utils.toString(ActivityContactJson.class, "firstName", firstName, "lastName", lastName, "email", email); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String firstName; - - private String lastName; - - private String email; - - private Builder() { - // force use of static builder() method - } - - /** - * The first name of the attendee. - */ - public Builder firstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the attendee. - */ - public Builder lastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The email address of the attendee. - */ - public Builder email(@Nullable String email) { - this.email = email; - return this; - } - - public ActivityContactJson build() { - return new ActivityContactJson(firstName, lastName, email); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityData.java b/packages/java/src/main/java/com/cvent/models/components/ActivityData.java new file mode 100644 index 000000000..5f7e8005d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityData.java @@ -0,0 +1,449 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.OneOfDeserializer; +import com.cvent.utils.TypedObject; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.cvent.utils.Utils.TypeReferenceWithShape; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; + +/** + * ActivityData + * + *

This is used to denote the type of the attendee activity + */ +@JsonDeserialize(using = ActivityData._Deserializer.class) +public class ActivityData { + + @JsonValue + private final TypedObject value; + + private ActivityData(TypedObject value) { + this.value = value; + } + + public static ActivityData of(AppointmentAccepted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(AppointmentCancelled value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(AppointmentCheckedIn value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(AppointmentCreated value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(AppointmentDeclined value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(AppointmentDenied value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(AppointmentRescheduled value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EmailBounced value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EmailClicked value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EmailOpened value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EmailSent value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EmailUndelivered value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventAttendeeHubVisited value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventAttendeeSubstituted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventBannerLinkClicked value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventCheckedIn value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventCheckedOut value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventCustomCardOpened value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventFeedbackSubmitted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventNoShow value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventPageVisitTracked value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventRegistered value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventRegistrationAbandoned value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventRegistrationCancelled value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventVideoPlayed value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventWaitlisted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ExhibitorDocumentOpened value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ExhibitorSocialLinkOpened value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ExhibitorViewed value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ExhibitorVirtualBoothJoined value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ExhibitorWeblinkOpened value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(LeadInboundCreated value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(LeadQualified value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(LeadScanned value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionCheckedIn value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionCheckedOut value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionEnrolled value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionFeedbackSubmitted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionNoShow value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionPollResponseSubmitted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionQuestionAsked value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionQuestionUpvoted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionUnenrolled value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SessionWaitlisted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SpeakerFeedbackSubmitted value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(SpeakerFileDownloaded value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ActivityDataAppointmentExternal value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ActivityDataEventExternal value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ActivityDataExhibitorExternal value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(ActivityDataSessionExternal value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventAdViewed value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ActivityData of(EventAdClicked value) { + Utils.checkNotNull(value, "value"); + return new ActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + /** + * Returns an instance of one of these types: + *

    + *
  • {@code com.cvent.models.components.AppointmentAccepted}
  • + *
  • {@code com.cvent.models.components.AppointmentCancelled}
  • + *
  • {@code com.cvent.models.components.AppointmentCheckedIn}
  • + *
  • {@code com.cvent.models.components.AppointmentCreated}
  • + *
  • {@code com.cvent.models.components.AppointmentDeclined}
  • + *
  • {@code com.cvent.models.components.AppointmentDenied}
  • + *
  • {@code com.cvent.models.components.AppointmentRescheduled}
  • + *
  • {@code com.cvent.models.components.EmailBounced}
  • + *
  • {@code com.cvent.models.components.EmailClicked}
  • + *
  • {@code com.cvent.models.components.EmailOpened}
  • + *
  • {@code com.cvent.models.components.EmailSent}
  • + *
  • {@code com.cvent.models.components.EmailUndelivered}
  • + *
  • {@code com.cvent.models.components.EventAttendeeHubVisited}
  • + *
  • {@code com.cvent.models.components.EventAttendeeSubstituted}
  • + *
  • {@code com.cvent.models.components.EventBannerLinkClicked}
  • + *
  • {@code com.cvent.models.components.EventCheckedIn}
  • + *
  • {@code com.cvent.models.components.EventCheckedOut}
  • + *
  • {@code com.cvent.models.components.EventCustomCardOpened}
  • + *
  • {@code com.cvent.models.components.EventFeedbackSubmitted}
  • + *
  • {@code com.cvent.models.components.EventNoShow}
  • + *
  • {@code com.cvent.models.components.EventPageVisitTracked}
  • + *
  • {@code com.cvent.models.components.EventRegistered}
  • + *
  • {@code com.cvent.models.components.EventRegistrationAbandoned}
  • + *
  • {@code com.cvent.models.components.EventRegistrationCancelled}
  • + *
  • {@code com.cvent.models.components.EventVideoPlayed}
  • + *
  • {@code com.cvent.models.components.EventWaitlisted}
  • + *
  • {@code com.cvent.models.components.ExhibitorDocumentOpened}
  • + *
  • {@code com.cvent.models.components.ExhibitorSocialLinkOpened}
  • + *
  • {@code com.cvent.models.components.ExhibitorViewed}
  • + *
  • {@code com.cvent.models.components.ExhibitorVirtualBoothJoined}
  • + *
  • {@code com.cvent.models.components.ExhibitorWeblinkOpened}
  • + *
  • {@code com.cvent.models.components.LeadInboundCreated}
  • + *
  • {@code com.cvent.models.components.LeadQualified}
  • + *
  • {@code com.cvent.models.components.LeadScanned}
  • + *
  • {@code com.cvent.models.components.SessionCheckedIn}
  • + *
  • {@code com.cvent.models.components.SessionCheckedOut}
  • + *
  • {@code com.cvent.models.components.SessionEnrolled}
  • + *
  • {@code com.cvent.models.components.SessionFeedbackSubmitted}
  • + *
  • {@code com.cvent.models.components.SessionNoShow}
  • + *
  • {@code com.cvent.models.components.SessionPollResponseSubmitted}
  • + *
  • {@code com.cvent.models.components.SessionQuestionAsked}
  • + *
  • {@code com.cvent.models.components.SessionQuestionUpvoted}
  • + *
  • {@code com.cvent.models.components.SessionUnenrolled}
  • + *
  • {@code com.cvent.models.components.SessionWaitlisted}
  • + *
  • {@code com.cvent.models.components.SpeakerFeedbackSubmitted}
  • + *
  • {@code com.cvent.models.components.SpeakerFileDownloaded}
  • + *
  • {@code com.cvent.models.components.ActivityDataAppointmentExternal}
  • + *
  • {@code com.cvent.models.components.ActivityDataEventExternal}
  • + *
  • {@code com.cvent.models.components.ActivityDataExhibitorExternal}
  • + *
  • {@code com.cvent.models.components.ActivityDataSessionExternal}
  • + *
  • {@code com.cvent.models.components.EventAdViewed}
  • + *
  • {@code com.cvent.models.components.EventAdClicked}
  • + *
+ * + *

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

+     * if (obj.value() instanceof String) {
+     *     String answer = (String) obj.value();
+     *     System.out.println("answer=" + answer);
+     * }
+     * 
+ * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityData other = (ActivityData) o; + return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super( + ActivityData.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), + 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), + 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), + 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), + 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), + 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), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(ActivityData.class, "value", value); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataAppointmentExternal.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataAppointmentExternal.java new file mode 100644 index 000000000..a9c8be74f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataAppointmentExternal.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ActivityDataAppointmentExternal + * + *

Additional fields for external activities. + */ +public class ActivityDataAppointmentExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ActivityDataAppointmentExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ActivityDataAppointmentExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ActivityDataAppointmentExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ActivityDataAppointmentExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ActivityDataAppointmentExternal withAdditionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataAppointmentExternal other = (ActivityDataAppointmentExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ActivityDataAppointmentExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ActivityDataAppointmentExternal build() { + return new ActivityDataAppointmentExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent1.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent1.java new file mode 100644 index 000000000..1a77b7203 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent1.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent1 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent1 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent1(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent1() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent1 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent1 other = (ActivityDataEvent1) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent1.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent1 build() { + return new ActivityDataEvent1(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent2.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent2.java new file mode 100644 index 000000000..ee58202a4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent2.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent2 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent2 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent2(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent2() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent2 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent2 other = (ActivityDataEvent2) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent2.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent2 build() { + return new ActivityDataEvent2(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent3.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent3.java new file mode 100644 index 000000000..a99588515 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent3.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent3 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent3 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent3(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent3() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent3 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent3 other = (ActivityDataEvent3) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent3.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent3 build() { + return new ActivityDataEvent3(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent4.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent4.java new file mode 100644 index 000000000..1c06e215d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent4.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent4 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent4 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent4(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent4() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent4 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent4 other = (ActivityDataEvent4) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent4.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent4 build() { + return new ActivityDataEvent4(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent5.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent5.java new file mode 100644 index 000000000..b5fc501f8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent5.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent5 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent5 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent5(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent5() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent5 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent5 other = (ActivityDataEvent5) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent5.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent5 build() { + return new ActivityDataEvent5(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent6.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent6.java new file mode 100644 index 000000000..bbf475257 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent6.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent6 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent6 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent6(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent6() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent6 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent6 other = (ActivityDataEvent6) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent6.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent6 build() { + return new ActivityDataEvent6(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent7.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent7.java new file mode 100644 index 000000000..4663bcdc3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent7.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent7 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent7 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent7(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent7() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent7 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent7 other = (ActivityDataEvent7) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent7.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent7 build() { + return new ActivityDataEvent7(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent8.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent8.java new file mode 100644 index 000000000..e97739c51 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEvent8.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityDataEvent8 + * + *

The event in which this activity occurred. + */ +public class ActivityDataEvent8 { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ActivityDataEvent8(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ActivityDataEvent8() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public ActivityDataEvent8 withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEvent8 other = (ActivityDataEvent8) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ActivityDataEvent8.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ActivityDataEvent8 build() { + return new ActivityDataEvent8(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataEventExternal.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEventExternal.java new file mode 100644 index 000000000..5cc96de4f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataEventExternal.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ActivityDataEventExternal + * + *

Additional fields for external activities. + */ +public class ActivityDataEventExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ActivityDataEventExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ActivityDataEventExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ActivityDataEventExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ActivityDataEventExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ActivityDataEventExternal withAdditionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataEventExternal other = (ActivityDataEventExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ActivityDataEventExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ActivityDataEventExternal build() { + return new ActivityDataEventExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataExhibitorExternal.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataExhibitorExternal.java new file mode 100644 index 000000000..8d0c32f34 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataExhibitorExternal.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ActivityDataExhibitorExternal + * + *

Additional fields for external activities. + */ +public class ActivityDataExhibitorExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ActivityDataExhibitorExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ActivityDataExhibitorExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ActivityDataExhibitorExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ActivityDataExhibitorExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ActivityDataExhibitorExternal withAdditionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataExhibitorExternal other = (ActivityDataExhibitorExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ActivityDataExhibitorExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ActivityDataExhibitorExternal build() { + return new ActivityDataExhibitorExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJson.java deleted file mode 100644 index ac0fbf09b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJson.java +++ /dev/null @@ -1,451 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.OneOfDeserializer; -import com.cvent.utils.TypedObject; -import com.cvent.utils.Utils; -import com.cvent.utils.Utils.JsonShape; -import com.cvent.utils.Utils.TypeReferenceWithShape; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import java.lang.Override; -import java.lang.String; -import java.lang.SuppressWarnings; - -/** - * ActivityDataJson - * - *

This is used to denote the type of the attendee activity - */ -@JsonDeserialize(using = ActivityDataJson._Deserializer.class) -public class ActivityDataJson { - - @JsonValue - private final TypedObject value; - - private ActivityDataJson(TypedObject value) { - this.value = value; - } - - public static ActivityDataJson of(AppointmentAccepted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(AppointmentCancelled value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(AppointmentCheckedIn value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(AppointmentCreated value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(AppointmentDeclined value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(AppointmentDenied value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(AppointmentRescheduled value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EmailBounced value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EmailClicked value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EmailOpened value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EmailSent value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EmailUndelivered value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventAttendeeHubVisited value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventAttendeeSubstituted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventBannerLinkClicked value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventCheckedIn value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventCheckedOut value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventCustomCardOpened value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventFeedbackSubmitted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventNoShow value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventPageVisitTracked value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventRegistered value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventRegistrationAbandoned value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventRegistrationCancelled value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventVideoPlayed value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventWaitlisted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ExhibitorDocumentOpened value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ExhibitorSocialLinkOpened value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ExhibitorViewed value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ExhibitorVirtualBoothJoined value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ExhibitorWeblinkOpened value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(LeadInboundCreated value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(LeadQualified value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(LeadScanned value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionCheckedIn value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionCheckedOut value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionEnrolled value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionFeedbackSubmitted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionNoShow value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionPollResponseSubmitted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionQuestionAsked value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionQuestionUpvoted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionUnenrolled value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SessionWaitlisted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SpeakerFeedbackSubmitted value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(SpeakerFileDownloaded value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ActivityDataJsonAppointmentExternal value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ActivityDataJsonEventExternal value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ActivityDataJsonExhibitorExternal value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(ActivityDataJsonSessionExternal value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventAdViewed value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ActivityDataJson of(EventAdClicked value) { - Utils.checkNotNull(value, "value"); - return new ActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - /** - * Returns an instance of one of these types: - *

    - *
  • {@code com.cvent.models.components.AppointmentAccepted}
  • - *
  • {@code com.cvent.models.components.AppointmentCancelled}
  • - *
  • {@code com.cvent.models.components.AppointmentCheckedIn}
  • - *
  • {@code com.cvent.models.components.AppointmentCreated}
  • - *
  • {@code com.cvent.models.components.AppointmentDeclined}
  • - *
  • {@code com.cvent.models.components.AppointmentDenied}
  • - *
  • {@code com.cvent.models.components.AppointmentRescheduled}
  • - *
  • {@code com.cvent.models.components.EmailBounced}
  • - *
  • {@code com.cvent.models.components.EmailClicked}
  • - *
  • {@code com.cvent.models.components.EmailOpened}
  • - *
  • {@code com.cvent.models.components.EmailSent}
  • - *
  • {@code com.cvent.models.components.EmailUndelivered}
  • - *
  • {@code com.cvent.models.components.EventAttendeeHubVisited}
  • - *
  • {@code com.cvent.models.components.EventAttendeeSubstituted}
  • - *
  • {@code com.cvent.models.components.EventBannerLinkClicked}
  • - *
  • {@code com.cvent.models.components.EventCheckedIn}
  • - *
  • {@code com.cvent.models.components.EventCheckedOut}
  • - *
  • {@code com.cvent.models.components.EventCustomCardOpened}
  • - *
  • {@code com.cvent.models.components.EventFeedbackSubmitted}
  • - *
  • {@code com.cvent.models.components.EventNoShow}
  • - *
  • {@code com.cvent.models.components.EventPageVisitTracked}
  • - *
  • {@code com.cvent.models.components.EventRegistered}
  • - *
  • {@code com.cvent.models.components.EventRegistrationAbandoned}
  • - *
  • {@code com.cvent.models.components.EventRegistrationCancelled}
  • - *
  • {@code com.cvent.models.components.EventVideoPlayed}
  • - *
  • {@code com.cvent.models.components.EventWaitlisted}
  • - *
  • {@code com.cvent.models.components.ExhibitorDocumentOpened}
  • - *
  • {@code com.cvent.models.components.ExhibitorSocialLinkOpened}
  • - *
  • {@code com.cvent.models.components.ExhibitorViewed}
  • - *
  • {@code com.cvent.models.components.ExhibitorVirtualBoothJoined}
  • - *
  • {@code com.cvent.models.components.ExhibitorWeblinkOpened}
  • - *
  • {@code com.cvent.models.components.LeadInboundCreated}
  • - *
  • {@code com.cvent.models.components.LeadQualified}
  • - *
  • {@code com.cvent.models.components.LeadScanned}
  • - *
  • {@code com.cvent.models.components.SessionCheckedIn}
  • - *
  • {@code com.cvent.models.components.SessionCheckedOut}
  • - *
  • {@code com.cvent.models.components.SessionEnrolled}
  • - *
  • {@code com.cvent.models.components.SessionFeedbackSubmitted}
  • - *
  • {@code com.cvent.models.components.SessionNoShow}
  • - *
  • {@code com.cvent.models.components.SessionPollResponseSubmitted}
  • - *
  • {@code com.cvent.models.components.SessionQuestionAsked}
  • - *
  • {@code com.cvent.models.components.SessionQuestionUpvoted}
  • - *
  • {@code com.cvent.models.components.SessionUnenrolled}
  • - *
  • {@code com.cvent.models.components.SessionWaitlisted}
  • - *
  • {@code com.cvent.models.components.SpeakerFeedbackSubmitted}
  • - *
  • {@code com.cvent.models.components.SpeakerFileDownloaded}
  • - *
  • {@code com.cvent.models.components.ActivityDataJsonAppointmentExternal}
  • - *
  • {@code com.cvent.models.components.ActivityDataJsonEventExternal}
  • - *
  • {@code com.cvent.models.components.ActivityDataJsonExhibitorExternal}
  • - *
  • {@code com.cvent.models.components.ActivityDataJsonSessionExternal}
  • - *
  • {@code com.cvent.models.components.EventAdViewed}
  • - *
  • {@code com.cvent.models.components.EventAdClicked}
  • - *
- * - *

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

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

Additional fields for external activities. - */ -public class ActivityDataJsonAppointmentExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ActivityDataJsonAppointmentExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ActivityDataJsonAppointmentExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ActivityDataJsonAppointmentExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ActivityDataJsonAppointmentExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ActivityDataJsonAppointmentExternal withAdditionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonAppointmentExternal other = (ActivityDataJsonAppointmentExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ActivityDataJsonAppointmentExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ActivityDataJsonAppointmentExternal build() { - return new ActivityDataJsonAppointmentExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent1.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent1.java deleted file mode 100644 index a678b67e5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent1.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent1 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent1 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent1(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent1() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent1 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent1 other = (ActivityDataJsonEvent1) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent1.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent1 build() { - return new ActivityDataJsonEvent1(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent10.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent10.java deleted file mode 100644 index 26249488a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent10.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent10 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent10 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent10(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent10() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent10 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent10 other = (ActivityDataJsonEvent10) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent10.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent10 build() { - return new ActivityDataJsonEvent10(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent11.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent11.java deleted file mode 100644 index a966df186..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent11.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent11 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent11 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent11(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent11() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent11 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent11 other = (ActivityDataJsonEvent11) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent11.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent11 build() { - return new ActivityDataJsonEvent11(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent2.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent2.java deleted file mode 100644 index 42af40ce6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent2.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent2 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent2 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent2(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent2() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent2 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent2 other = (ActivityDataJsonEvent2) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent2.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent2 build() { - return new ActivityDataJsonEvent2(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent3.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent3.java deleted file mode 100644 index 007476dd0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent3.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent3 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent3 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent3(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent3() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent3 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent3 other = (ActivityDataJsonEvent3) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent3.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent3 build() { - return new ActivityDataJsonEvent3(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent4.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent4.java deleted file mode 100644 index 3447040b9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent4.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent4 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent4 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent4(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent4() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent4 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent4 other = (ActivityDataJsonEvent4) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent4.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent4 build() { - return new ActivityDataJsonEvent4(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent5.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent5.java deleted file mode 100644 index 20c93f774..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent5.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent5 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent5 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent5(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent5() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent5 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent5 other = (ActivityDataJsonEvent5) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent5.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent5 build() { - return new ActivityDataJsonEvent5(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent6.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent6.java deleted file mode 100644 index 4e1dfafe5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent6.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent6 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent6 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent6(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent6() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent6 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent6 other = (ActivityDataJsonEvent6) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent6.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent6 build() { - return new ActivityDataJsonEvent6(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent7.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent7.java deleted file mode 100644 index 0ae4f9b9d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent7.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent7 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent7 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent7(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent7() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent7 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent7 other = (ActivityDataJsonEvent7) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent7.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent7 build() { - return new ActivityDataJsonEvent7(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent8.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent8.java deleted file mode 100644 index 99d552d82..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent8.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent8 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent8 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent8(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent8() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent8 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent8 other = (ActivityDataJsonEvent8) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent8.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent8 build() { - return new ActivityDataJsonEvent8(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent9.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent9.java deleted file mode 100644 index b25e38db5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEvent9.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityDataJsonEvent9 - * - *

The event in which this activity occurred. - */ -public class ActivityDataJsonEvent9 { - /** - * Event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ActivityDataJsonEvent9(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ActivityDataJsonEvent9() { - this(null); - } - - /** - * Event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event ID. - */ - public ActivityDataJsonEvent9 withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEvent9 other = (ActivityDataJsonEvent9) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ActivityDataJsonEvent9.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ActivityDataJsonEvent9 build() { - return new ActivityDataJsonEvent9(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEventExternal.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEventExternal.java deleted file mode 100644 index ebde0d015..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonEventExternal.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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Map; -import java.util.Optional; - -/** - * ActivityDataJsonEventExternal - * - *

Additional fields for external activities. - */ -public class ActivityDataJsonEventExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ActivityDataJsonEventExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ActivityDataJsonEventExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ActivityDataJsonEventExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ActivityDataJsonEventExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ActivityDataJsonEventExternal withAdditionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonEventExternal other = (ActivityDataJsonEventExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ActivityDataJsonEventExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ActivityDataJsonEventExternal build() { - return new ActivityDataJsonEventExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonExhibitorExternal.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonExhibitorExternal.java deleted file mode 100644 index 2284626d2..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonExhibitorExternal.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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Map; -import java.util.Optional; - -/** - * ActivityDataJsonExhibitorExternal - * - *

Additional fields for external activities. - */ -public class ActivityDataJsonExhibitorExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ActivityDataJsonExhibitorExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ActivityDataJsonExhibitorExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ActivityDataJsonExhibitorExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ActivityDataJsonExhibitorExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ActivityDataJsonExhibitorExternal withAdditionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonExhibitorExternal other = (ActivityDataJsonExhibitorExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ActivityDataJsonExhibitorExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ActivityDataJsonExhibitorExternal build() { - return new ActivityDataJsonExhibitorExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonSessionExternal.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonSessionExternal.java deleted file mode 100644 index c80bc1ea7..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityDataJsonSessionExternal.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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Map; -import java.util.Optional; - -/** - * ActivityDataJsonSessionExternal - * - *

Additional fields for external activities. - */ -public class ActivityDataJsonSessionExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ActivityDataJsonSessionExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ActivityDataJsonSessionExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ActivityDataJsonSessionExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ActivityDataJsonSessionExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ActivityDataJsonSessionExternal withAdditionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityDataJsonSessionExternal other = (ActivityDataJsonSessionExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ActivityDataJsonSessionExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ActivityDataJsonSessionExternal build() { - return new ActivityDataJsonSessionExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityDataSessionExternal.java b/packages/java/src/main/java/com/cvent/models/components/ActivityDataSessionExternal.java new file mode 100644 index 000000000..ec8a5d386 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityDataSessionExternal.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ActivityDataSessionExternal + * + *

Additional fields for external activities. + */ +public class ActivityDataSessionExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ActivityDataSessionExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ActivityDataSessionExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ActivityDataSessionExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ActivityDataSessionExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ActivityDataSessionExternal withAdditionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityDataSessionExternal other = (ActivityDataSessionExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ActivityDataSessionExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ActivityDataSessionExternal build() { + return new ActivityDataSessionExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitor.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitor.java new file mode 100644 index 000000000..760394a74 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitor.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityExhibitor + * + *

An activity exhibitor. + */ +public class ActivityExhibitor { + /** + * The unique identifier of the exhibitor. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Unique code of an exhibitor at a booth. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * The marketing code of an exhibitor. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("marketingCode") + private String marketingCode; + + /** + * The Name of an exhibitor. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public ActivityExhibitor( + @JsonProperty("id") @Nullable String id, + @JsonProperty("code") @Nullable String code, + @JsonProperty("marketingCode") @Nullable String marketingCode, + @JsonProperty("name") @Nullable String name) { + this.id = id; + this.code = code; + this.marketingCode = marketingCode; + this.name = name; + } + + public ActivityExhibitor() { + this(null, null, null, null); + } + + /** + * The unique identifier of the exhibitor. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Unique code of an exhibitor at a booth. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * The marketing code of an exhibitor. + */ + public Optional marketingCode() { + return Optional.ofNullable(this.marketingCode); + } + + /** + * The Name of an exhibitor. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the exhibitor. + */ + public ActivityExhibitor withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Unique code of an exhibitor at a booth. + */ + public ActivityExhibitor withCode(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The marketing code of an exhibitor. + */ + public ActivityExhibitor withMarketingCode(@Nullable String marketingCode) { + this.marketingCode = marketingCode; + return this; + } + + /** + * The Name of an exhibitor. + */ + public ActivityExhibitor withName(@Nullable String name) { + this.name = name; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityExhibitor other = (ActivityExhibitor) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.marketingCode, other.marketingCode) + && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, code, marketingCode, name); + } + + @Override + public String toString() { + return Utils.toString( + ActivityExhibitor.class, "id", id, "code", code, "marketingCode", marketingCode, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String code; + + private String marketingCode; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the exhibitor. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Unique code of an exhibitor at a booth. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The marketing code of an exhibitor. + */ + public Builder marketingCode(@Nullable String marketingCode) { + this.marketingCode = marketingCode; + return this; + } + + /** + * The Name of an exhibitor. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public ActivityExhibitor build() { + return new ActivityExhibitor(id, code, marketingCode, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorDocument.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorDocument.java new file mode 100644 index 000000000..05516d577 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorDocument.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * ActivityExhibitorDocument + * + *

Document for an activity exhibitor. + */ +public class ActivityExhibitorDocument { + /** + * The unique identifier of the document. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The title of the document. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The format of the document eg. doc, docx, gif, jpg, pdf, etc. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("format") + private String format; + + /** + * If the document is downloaded. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("downloaded") + private Boolean downloaded; + + @JsonCreator + public ActivityExhibitorDocument( + @JsonProperty("id") @Nullable String id, + @JsonProperty("title") @Nullable String title, + @JsonProperty("format") @Nullable String format, + @JsonProperty("downloaded") @Nullable Boolean downloaded) { + this.id = id; + this.title = title; + this.format = format; + this.downloaded = downloaded; + } + + public ActivityExhibitorDocument() { + this(null, null, null, null); + } + + /** + * The unique identifier of the document. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The title of the document. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The format of the document eg. doc, docx, gif, jpg, pdf, etc. + */ + public Optional format() { + return Optional.ofNullable(this.format); + } + + /** + * If the document is downloaded. + */ + public Optional downloaded() { + return Optional.ofNullable(this.downloaded); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the document. + */ + public ActivityExhibitorDocument withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the document. + */ + public ActivityExhibitorDocument withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The format of the document eg. doc, docx, gif, jpg, pdf, etc. + */ + public ActivityExhibitorDocument withFormat(@Nullable String format) { + this.format = format; + return this; + } + + /** + * If the document is downloaded. + */ + public ActivityExhibitorDocument withDownloaded(@Nullable Boolean downloaded) { + this.downloaded = downloaded; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityExhibitorDocument other = (ActivityExhibitorDocument) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.format, other.format) + && Utils.enhancedDeepEquals(this.downloaded, other.downloaded); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, title, format, downloaded); + } + + @Override + public String toString() { + return Utils.toString( + ActivityExhibitorDocument.class, "id", id, "title", title, "format", format, "downloaded", downloaded); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String title; + + private String format; + + private Boolean downloaded; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the document. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the document. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The format of the document eg. doc, docx, gif, jpg, pdf, etc. + */ + public Builder format(@Nullable String format) { + this.format = format; + return this; + } + + /** + * If the document is downloaded. + */ + public Builder downloaded(@Nullable Boolean downloaded) { + this.downloaded = downloaded; + return this; + } + + public ActivityExhibitorDocument build() { + return new ActivityExhibitorDocument(id, title, format, downloaded); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorDocumentJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorDocumentJson.java deleted file mode 100644 index eadbf4380..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorDocumentJson.java +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityExhibitorDocumentJson - * - *

Document for an activity exhibitor. - */ -public class ActivityExhibitorDocumentJson { - /** - * The unique identifier of the document. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The title of the document. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The format of the document eg. doc, docx, gif, jpg, pdf, etc. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("format") - private String format; - - /** - * If the document is downloaded. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("downloaded") - private Boolean downloaded; - - @JsonCreator - public ActivityExhibitorDocumentJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("title") @Nullable String title, - @JsonProperty("format") @Nullable String format, - @JsonProperty("downloaded") @Nullable Boolean downloaded) { - this.id = id; - this.title = title; - this.format = format; - this.downloaded = downloaded; - } - - public ActivityExhibitorDocumentJson() { - this(null, null, null, null); - } - - /** - * The unique identifier of the document. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The title of the document. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The format of the document eg. doc, docx, gif, jpg, pdf, etc. - */ - public Optional format() { - return Optional.ofNullable(this.format); - } - - /** - * If the document is downloaded. - */ - public Optional downloaded() { - return Optional.ofNullable(this.downloaded); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the document. - */ - public ActivityExhibitorDocumentJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the document. - */ - public ActivityExhibitorDocumentJson withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The format of the document eg. doc, docx, gif, jpg, pdf, etc. - */ - public ActivityExhibitorDocumentJson withFormat(@Nullable String format) { - this.format = format; - return this; - } - - /** - * If the document is downloaded. - */ - public ActivityExhibitorDocumentJson withDownloaded(@Nullable Boolean downloaded) { - this.downloaded = downloaded; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityExhibitorDocumentJson other = (ActivityExhibitorDocumentJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.format, other.format) - && Utils.enhancedDeepEquals(this.downloaded, other.downloaded); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, title, format, downloaded); - } - - @Override - public String toString() { - return Utils.toString( - ActivityExhibitorDocumentJson.class, - "id", - id, - "title", - title, - "format", - format, - "downloaded", - downloaded); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String title; - - private String format; - - private Boolean downloaded; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the document. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the document. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The format of the document eg. doc, docx, gif, jpg, pdf, etc. - */ - public Builder format(@Nullable String format) { - this.format = format; - return this; - } - - /** - * If the document is downloaded. - */ - public Builder downloaded(@Nullable Boolean downloaded) { - this.downloaded = downloaded; - return this; - } - - public ActivityExhibitorDocumentJson build() { - return new ActivityExhibitorDocumentJson(id, title, format, downloaded); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorJson.java deleted file mode 100644 index fd09e68c6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorJson.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityExhibitorJson - * - *

An activity exhibitor. - */ -public class ActivityExhibitorJson { - /** - * The unique identifier of the exhibitor. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Unique code of an exhibitor at a booth. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - /** - * The marketing code of an exhibitor. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("marketingCode") - private String marketingCode; - - /** - * The Name of an exhibitor. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public ActivityExhibitorJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("code") @Nullable String code, - @JsonProperty("marketingCode") @Nullable String marketingCode, - @JsonProperty("name") @Nullable String name) { - this.id = id; - this.code = code; - this.marketingCode = marketingCode; - this.name = name; - } - - public ActivityExhibitorJson() { - this(null, null, null, null); - } - - /** - * The unique identifier of the exhibitor. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Unique code of an exhibitor at a booth. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - /** - * The marketing code of an exhibitor. - */ - public Optional marketingCode() { - return Optional.ofNullable(this.marketingCode); - } - - /** - * The Name of an exhibitor. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the exhibitor. - */ - public ActivityExhibitorJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Unique code of an exhibitor at a booth. - */ - public ActivityExhibitorJson withCode(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The marketing code of an exhibitor. - */ - public ActivityExhibitorJson withMarketingCode(@Nullable String marketingCode) { - this.marketingCode = marketingCode; - return this; - } - - /** - * The Name of an exhibitor. - */ - public ActivityExhibitorJson withName(@Nullable String name) { - this.name = name; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityExhibitorJson other = (ActivityExhibitorJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.marketingCode, other.marketingCode) - && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, code, marketingCode, name); - } - - @Override - public String toString() { - return Utils.toString( - ActivityExhibitorJson.class, "id", id, "code", code, "marketingCode", marketingCode, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String code; - - private String marketingCode; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the exhibitor. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Unique code of an exhibitor at a booth. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The marketing code of an exhibitor. - */ - public Builder marketingCode(@Nullable String marketingCode) { - this.marketingCode = marketingCode; - return this; - } - - /** - * The Name of an exhibitor. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public ActivityExhibitorJson build() { - return new ActivityExhibitorJson(id, code, marketingCode, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSource.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSource.java new file mode 100644 index 000000000..8c46529ed --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSource.java @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityExhibitorNavigationSource + * + *

Navigation source for an activity exhibitor. + */ +public class ActivityExhibitorNavigationSource { + /** + * The source type in the attendee hub from where the user navigated to the exhibitor booth. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private String type; + + /** + * The source name in the attendee hub from where the user navigated to the exhibitor booth. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public ActivityExhibitorNavigationSource( + @JsonProperty("type") @Nullable String type, @JsonProperty("name") @Nullable String name) { + this.type = type; + this.name = name; + } + + public ActivityExhibitorNavigationSource() { + this(null, null); + } + + /** + * The source type in the attendee hub from where the user navigated to the exhibitor booth. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The source name in the attendee hub from where the user navigated to the exhibitor booth. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The source type in the attendee hub from where the user navigated to the exhibitor booth. + */ + public ActivityExhibitorNavigationSource withType(@Nullable String type) { + this.type = type; + return this; + } + + /** + * The source name in the attendee hub from where the user navigated to the exhibitor booth. + */ + public ActivityExhibitorNavigationSource withName(@Nullable String name) { + this.name = name; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityExhibitorNavigationSource other = (ActivityExhibitorNavigationSource) o; + return Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(type, name); + } + + @Override + public String toString() { + return Utils.toString(ActivityExhibitorNavigationSource.class, "type", type, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String type; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * The source type in the attendee hub from where the user navigated to the exhibitor booth. + */ + public Builder type(@Nullable String type) { + this.type = type; + return this; + } + + /** + * The source name in the attendee hub from where the user navigated to the exhibitor booth. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public ActivityExhibitorNavigationSource build() { + return new ActivityExhibitorNavigationSource(type, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSourceJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSourceJson.java deleted file mode 100644 index 4d5e4e6dc..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorNavigationSourceJson.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityExhibitorNavigationSourceJson - * - *

Navigation source for an activity exhibitor. - */ -public class ActivityExhibitorNavigationSourceJson { - /** - * The source type in the attendee hub from where the user navigated to the exhibitor booth. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private String type; - - /** - * The source name in the attendee hub from where the user navigated to the exhibitor booth. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public ActivityExhibitorNavigationSourceJson( - @JsonProperty("type") @Nullable String type, @JsonProperty("name") @Nullable String name) { - this.type = type; - this.name = name; - } - - public ActivityExhibitorNavigationSourceJson() { - this(null, null); - } - - /** - * The source type in the attendee hub from where the user navigated to the exhibitor booth. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The source name in the attendee hub from where the user navigated to the exhibitor booth. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The source type in the attendee hub from where the user navigated to the exhibitor booth. - */ - public ActivityExhibitorNavigationSourceJson withType(@Nullable String type) { - this.type = type; - return this; - } - - /** - * The source name in the attendee hub from where the user navigated to the exhibitor booth. - */ - public ActivityExhibitorNavigationSourceJson withName(@Nullable String name) { - this.name = name; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityExhibitorNavigationSourceJson other = (ActivityExhibitorNavigationSourceJson) o; - return Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(type, name); - } - - @Override - public String toString() { - return Utils.toString(ActivityExhibitorNavigationSourceJson.class, "type", type, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String type; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * The source type in the attendee hub from where the user navigated to the exhibitor booth. - */ - public Builder type(@Nullable String type) { - this.type = type; - return this; - } - - /** - * The source name in the attendee hub from where the user navigated to the exhibitor booth. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public ActivityExhibitorNavigationSourceJson build() { - return new ActivityExhibitorNavigationSourceJson(type, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevel.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevel.java new file mode 100644 index 000000000..6cd9305ea --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevel.java @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityExhibitorSponsorshipLevel + * + *

Sponsorship level for an activity exhibitor. + */ +public class ActivityExhibitorSponsorshipLevel { + /** + * The unique identifier of the sponsorship level. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The name of the sponsorship level. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public ActivityExhibitorSponsorshipLevel( + @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { + this.id = id; + this.name = name; + } + + public ActivityExhibitorSponsorshipLevel() { + this(null, null); + } + + /** + * The unique identifier of the sponsorship level. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the sponsorship level. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the sponsorship level. + */ + public ActivityExhibitorSponsorshipLevel withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the sponsorship level. + */ + public ActivityExhibitorSponsorshipLevel withName(@Nullable String name) { + this.name = name; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityExhibitorSponsorshipLevel other = (ActivityExhibitorSponsorshipLevel) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name); + } + + @Override + public String toString() { + return Utils.toString(ActivityExhibitorSponsorshipLevel.class, "id", id, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the sponsorship level. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the sponsorship level. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public ActivityExhibitorSponsorshipLevel build() { + return new ActivityExhibitorSponsorshipLevel(id, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevelJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevelJson.java deleted file mode 100644 index 131bde081..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorSponsorshipLevelJson.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityExhibitorSponsorshipLevelJson - * - *

Sponsorship level for an activity exhibitor. - */ -public class ActivityExhibitorSponsorshipLevelJson { - /** - * The unique identifier of the sponsorship level. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The name of the sponsorship level. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public ActivityExhibitorSponsorshipLevelJson( - @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { - this.id = id; - this.name = name; - } - - public ActivityExhibitorSponsorshipLevelJson() { - this(null, null); - } - - /** - * The unique identifier of the sponsorship level. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the sponsorship level. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the sponsorship level. - */ - public ActivityExhibitorSponsorshipLevelJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the sponsorship level. - */ - public ActivityExhibitorSponsorshipLevelJson withName(@Nullable String name) { - this.name = name; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityExhibitorSponsorshipLevelJson other = (ActivityExhibitorSponsorshipLevelJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name); - } - - @Override - public String toString() { - return Utils.toString(ActivityExhibitorSponsorshipLevelJson.class, "id", id, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the sponsorship level. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the sponsorship level. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public ActivityExhibitorSponsorshipLevelJson build() { - return new ActivityExhibitorSponsorshipLevelJson(id, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorWebLinkJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorWebLinkJson.java deleted file mode 100644 index c1e20a3f2..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorWebLinkJson.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityExhibitorWebLinkJson - * - *

A web-link for an activity exhibitor. - */ -public class ActivityExhibitorWebLinkJson { - /** - * The unique identifier of the weblink. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The name of the weblink. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public ActivityExhibitorWebLinkJson( - @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { - this.id = id; - this.name = name; - } - - public ActivityExhibitorWebLinkJson() { - this(null, null); - } - - /** - * The unique identifier of the weblink. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The name of the weblink. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the weblink. - */ - public ActivityExhibitorWebLinkJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the weblink. - */ - public ActivityExhibitorWebLinkJson withName(@Nullable String name) { - this.name = name; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityExhibitorWebLinkJson other = (ActivityExhibitorWebLinkJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name); - } - - @Override - public String toString() { - return Utils.toString(ActivityExhibitorWebLinkJson.class, "id", id, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the weblink. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The name of the weblink. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public ActivityExhibitorWebLinkJson build() { - return new ActivityExhibitorWebLinkJson(id, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorWeblink.java b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorWeblink.java new file mode 100644 index 000000000..69a370333 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityExhibitorWeblink.java @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityExhibitorWeblink + * + *

A web-link for an activity exhibitor. + */ +public class ActivityExhibitorWeblink { + /** + * The unique identifier of the weblink. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The name of the weblink. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public ActivityExhibitorWeblink( + @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { + this.id = id; + this.name = name; + } + + public ActivityExhibitorWeblink() { + this(null, null); + } + + /** + * The unique identifier of the weblink. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the weblink. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the weblink. + */ + public ActivityExhibitorWeblink withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the weblink. + */ + public ActivityExhibitorWeblink withName(@Nullable String name) { + this.name = name; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityExhibitorWeblink other = (ActivityExhibitorWeblink) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name); + } + + @Override + public String toString() { + return Utils.toString(ActivityExhibitorWeblink.class, "id", id, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the weblink. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The name of the weblink. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public ActivityExhibitorWeblink build() { + return new ActivityExhibitorWeblink(id, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityJson.java deleted file mode 100644 index c837e10d3..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityJson.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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * ActivityJson - * - *

An attendee activity. - */ -public class ActivityJson { - /** - * The identifier of the attendee activity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - @JsonProperty("attendee") - private UuidJson attendee; - - /** - * Details for an event activity. - */ - @JsonProperty("event") - private EventActivityDetailsJson event; - - /** - * ISO 8601 date and time when this attendee activity occurred. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("time") - private OffsetDateTime time; - - /** - * ISO 8601 date and time when this record was created. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("created") - private OffsetDateTime created; - - /** - * Unique name corresponding to the attendee activity type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * This is used to denote the type of the attendee activity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private ActivityTypeJson type; - - /** - * This is used to denote the type of the attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("data") - private ActivityDataJson data; - - @JsonCreator - public ActivityJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("attendee") @Nonnull UuidJson attendee, - @JsonProperty("event") @Nonnull EventActivityDetailsJson event, - @JsonProperty("time") @Nullable OffsetDateTime time, - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("name") @Nullable String name, - @JsonProperty("type") @Nullable ActivityTypeJson type, - @JsonProperty("data") @Nullable ActivityDataJson data) { - this.id = id; - this.attendee = Optional.ofNullable(attendee) - .orElseThrow(() -> new IllegalArgumentException("attendee cannot be null")); - this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); - this.time = time; - this.created = created; - this.name = name; - this.type = type; - this.data = data; - } - - public ActivityJson(@Nonnull UuidJson attendee, @Nonnull EventActivityDetailsJson event) { - this(null, attendee, event, null, null, null, null, null); - } - - /** - * The identifier of the attendee activity. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public UuidJson attendee() { - return this.attendee; - } - - /** - * Details for an event activity. - */ - public EventActivityDetailsJson event() { - return this.event; - } - - /** - * ISO 8601 date and time when this attendee activity occurred. - */ - public Optional time() { - return Optional.ofNullable(this.time); - } - - /** - * ISO 8601 date and time when this record was created. - */ - public Optional created() { - return Optional.ofNullable(this.created); - } - - /** - * Unique name corresponding to the attendee activity type. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * This is used to denote the type of the attendee activity. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * This is used to denote the type of the attendee activity - */ - public Optional data() { - return Optional.ofNullable(this.data); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier of the attendee activity. - */ - public ActivityJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public ActivityJson withAttendee(@Nonnull UuidJson attendee) { - this.attendee = Utils.checkNotNull(attendee, "attendee"); - return this; - } - - /** - * Details for an event activity. - */ - public ActivityJson withEvent(@Nonnull EventActivityDetailsJson event) { - this.event = Utils.checkNotNull(event, "event"); - return this; - } - - /** - * ISO 8601 date and time when this attendee activity occurred. - */ - public ActivityJson withTime(@Nullable OffsetDateTime time) { - this.time = time; - return this; - } - - /** - * ISO 8601 date and time when this record was created. - */ - public ActivityJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * Unique name corresponding to the attendee activity type. - */ - public ActivityJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * This is used to denote the type of the attendee activity. - */ - public ActivityJson withType(@Nullable ActivityTypeJson type) { - this.type = type; - return this; - } - - /** - * This is used to denote the type of the attendee activity - */ - public ActivityJson withData(@Nullable ActivityDataJson data) { - this.data = data; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityJson other = (ActivityJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.attendee, other.attendee) - && Utils.enhancedDeepEquals(this.event, other.event) - && Utils.enhancedDeepEquals(this.time, other.time) - && Utils.enhancedDeepEquals(this.created, other.created) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.data, other.data); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, attendee, event, time, created, name, type, data); - } - - @Override - public String toString() { - return Utils.toString( - ActivityJson.class, - "id", - id, - "attendee", - attendee, - "event", - event, - "time", - time, - "created", - created, - "name", - name, - "type", - type, - "data", - data); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private UuidJson attendee; - - private EventActivityDetailsJson event; - - private OffsetDateTime time; - - private OffsetDateTime created; - - private String name; - - private ActivityTypeJson type; - - private ActivityDataJson data; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier of the attendee activity. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Builder attendee(@Nonnull UuidJson attendee) { - this.attendee = Utils.checkNotNull(attendee, "attendee"); - return this; - } - - /** - * Details for an event activity. - */ - public Builder event(@Nonnull EventActivityDetailsJson event) { - this.event = Utils.checkNotNull(event, "event"); - return this; - } - - /** - * ISO 8601 date and time when this attendee activity occurred. - */ - public Builder time(@Nullable OffsetDateTime time) { - this.time = time; - return this; - } - - /** - * ISO 8601 date and time when this record was created. - */ - public Builder created(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * Unique name corresponding to the attendee activity type. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * This is used to denote the type of the attendee activity. - */ - public Builder type(@Nullable ActivityTypeJson type) { - this.type = type; - return this; - } - - /** - * This is used to denote the type of the attendee activity - */ - public Builder data(@Nullable ActivityDataJson data) { - this.data = data; - return this; - } - - public ActivityJson build() { - return new ActivityJson(id, attendee, event, time, created, name, type, data); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityLead.java b/packages/java/src/main/java/com/cvent/models/components/ActivityLead.java new file mode 100644 index 000000000..5790fd9fd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityLead.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ActivityLead + * + *

An activity lead. + */ +public class ActivityLead { + /** + * Activity Lead ID + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The unique identifier of the device. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("deviceId") + private String deviceId; + + /** + * Name of the device. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("deviceName") + private String deviceName; + + /** + * Booth staff for an activity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("boothStaff") + private ActivityBoothStaff boothStaff; + + @JsonCreator + public ActivityLead( + @JsonProperty("id") @Nullable String id, + @JsonProperty("deviceId") @Nullable String deviceId, + @JsonProperty("deviceName") @Nullable String deviceName, + @JsonProperty("boothStaff") @Nullable ActivityBoothStaff boothStaff) { + this.id = id; + this.deviceId = deviceId; + this.deviceName = deviceName; + this.boothStaff = boothStaff; + } + + public ActivityLead() { + this(null, null, null, null); + } + + /** + * Activity Lead ID + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The unique identifier of the device. + */ + public Optional deviceId() { + return Optional.ofNullable(this.deviceId); + } + + /** + * Name of the device. + */ + public Optional deviceName() { + return Optional.ofNullable(this.deviceName); + } + + /** + * Booth staff for an activity. + */ + public Optional boothStaff() { + return Optional.ofNullable(this.boothStaff); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Activity Lead ID + */ + public ActivityLead withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The unique identifier of the device. + */ + public ActivityLead withDeviceId(@Nullable String deviceId) { + this.deviceId = deviceId; + return this; + } + + /** + * Name of the device. + */ + public ActivityLead withDeviceName(@Nullable String deviceName) { + this.deviceName = deviceName; + return this; + } + + /** + * Booth staff for an activity. + */ + public ActivityLead withBoothStaff(@Nullable ActivityBoothStaff boothStaff) { + this.boothStaff = boothStaff; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityLead other = (ActivityLead) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.deviceId, other.deviceId) + && Utils.enhancedDeepEquals(this.deviceName, other.deviceName) + && Utils.enhancedDeepEquals(this.boothStaff, other.boothStaff); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, deviceId, deviceName, boothStaff); + } + + @Override + public String toString() { + return Utils.toString( + ActivityLead.class, "id", id, "deviceId", deviceId, "deviceName", deviceName, "boothStaff", boothStaff); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String deviceId; + + private String deviceName; + + private ActivityBoothStaff boothStaff; + + private Builder() { + // force use of static builder() method + } + + /** + * Activity Lead ID + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The unique identifier of the device. + */ + public Builder deviceId(@Nullable String deviceId) { + this.deviceId = deviceId; + return this; + } + + /** + * Name of the device. + */ + public Builder deviceName(@Nullable String deviceName) { + this.deviceName = deviceName; + return this; + } + + /** + * Booth staff for an activity. + */ + public Builder boothStaff(@Nullable ActivityBoothStaff boothStaff) { + this.boothStaff = boothStaff; + return this; + } + + public ActivityLead build() { + return new ActivityLead(id, deviceId, deviceName, boothStaff); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityLeadJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityLeadJson.java deleted file mode 100644 index 1e2402c57..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityLeadJson.java +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ActivityLeadJson - * - *

An activity lead. - */ -public class ActivityLeadJson { - /** - * Activity Lead ID - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The unique identifier of the device. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deviceId") - private String deviceId; - - /** - * Name of the device. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deviceName") - private String deviceName; - - /** - * Booth staff for an activity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("boothStaff") - private ZeroAllOf4 boothStaff; - - @JsonCreator - public ActivityLeadJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("deviceId") @Nullable String deviceId, - @JsonProperty("deviceName") @Nullable String deviceName, - @JsonProperty("boothStaff") @Nullable ZeroAllOf4 boothStaff) { - this.id = id; - this.deviceId = deviceId; - this.deviceName = deviceName; - this.boothStaff = boothStaff; - } - - public ActivityLeadJson() { - this(null, null, null, null); - } - - /** - * Activity Lead ID - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The unique identifier of the device. - */ - public Optional deviceId() { - return Optional.ofNullable(this.deviceId); - } - - /** - * Name of the device. - */ - public Optional deviceName() { - return Optional.ofNullable(this.deviceName); - } - - /** - * Booth staff for an activity. - */ - public Optional boothStaff() { - return Optional.ofNullable(this.boothStaff); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Activity Lead ID - */ - public ActivityLeadJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The unique identifier of the device. - */ - public ActivityLeadJson withDeviceId(@Nullable String deviceId) { - this.deviceId = deviceId; - return this; - } - - /** - * Name of the device. - */ - public ActivityLeadJson withDeviceName(@Nullable String deviceName) { - this.deviceName = deviceName; - return this; - } - - /** - * Booth staff for an activity. - */ - public ActivityLeadJson withBoothStaff(@Nullable ZeroAllOf4 boothStaff) { - this.boothStaff = boothStaff; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActivityLeadJson other = (ActivityLeadJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.deviceId, other.deviceId) - && Utils.enhancedDeepEquals(this.deviceName, other.deviceName) - && Utils.enhancedDeepEquals(this.boothStaff, other.boothStaff); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, deviceId, deviceName, boothStaff); - } - - @Override - public String toString() { - return Utils.toString( - ActivityLeadJson.class, - "id", - id, - "deviceId", - deviceId, - "deviceName", - deviceName, - "boothStaff", - boothStaff); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String deviceId; - - private String deviceName; - - private ZeroAllOf4 boothStaff; - - private Builder() { - // force use of static builder() method - } - - /** - * Activity Lead ID - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The unique identifier of the device. - */ - public Builder deviceId(@Nullable String deviceId) { - this.deviceId = deviceId; - return this; - } - - /** - * Name of the device. - */ - public Builder deviceName(@Nullable String deviceName) { - this.deviceName = deviceName; - return this; - } - - /** - * Booth staff for an activity. - */ - public Builder boothStaff(@Nullable ZeroAllOf4 boothStaff) { - this.boothStaff = boothStaff; - return this; - } - - public ActivityLeadJson build() { - return new ActivityLeadJson(id, deviceId, deviceName, boothStaff); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ActivityType.java b/packages/java/src/main/java/com/cvent/models/components/ActivityType.java new file mode 100644 index 000000000..b4bc519c2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ActivityType.java @@ -0,0 +1,89 @@ +/* + * 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; + +/** + * ActivityType + * + *

This is used to denote the type of the attendee activity. + */ +public enum ActivityType { + APPOINTMENT_ACCEPTED("appointment.accepted"), + APPOINTMENT_CANCELLED("appointment.cancelled"), + APPOINTMENT_CHECKED_IN("appointment.checkedIn"), + APPOINTMENT_CREATED("appointment.created"), + APPOINTMENT_DECLINED("appointment.declined"), + APPOINTMENT_DENIED("appointment.denied"), + APPOINTMENT_RESCHEDULED("appointment.rescheduled"), + EMAIL_BOUNCED("email.bounced"), + EMAIL_CLICKED("email.clicked"), + EMAIL_OPENED("email.opened"), + EMAIL_SENT("email.sent"), + EMAIL_UNDELIVERED("email.undelivered"), + EVENT_ATTENDEE_HUB_VISITED("event.attendeeHubVisited"), + EVENT_ATTENDEE_SUBSTITUTED("event.attendeeSubstituted"), + EVENT_BANNER_LINK_CLICKED("event.bannerLinkClicked"), + EVENT_CHECKED_IN("event.checkedIn"), + EVENT_CHECKED_OUT("event.checkedOut"), + EVENT_CUSTOM_CARD_OPENED("event.customCardOpened"), + EVENT_FEEDBACK_SUBMITTED("event.feedbackSubmitted"), + EVENT_NO_SHOW("event.noShow"), + EVENT_PAGE_VISIT_TRACKED("event.pageVisitTracked"), + EVENT_REGISTERED("event.registered"), + EVENT_REGISTRATION_ABANDONED("event.registrationAbandoned"), + EVENT_REGISTRATION_CANCELLED("event.registrationCancelled"), + EVENT_VIDEO_PLAYED("event.videoPlayed"), + EVENT_WAITLISTED("event.waitlisted"), + EXHIBITOR_DOCUMENT_OPENED("exhibitor.documentOpened"), + EXHIBITOR_SOCIAL_LINK_OPENED("exhibitor.socialLinkOpened"), + EXHIBITOR_VIEWED("exhibitor.viewed"), + EXHIBITOR_VIRTUAL_BOOTH_JOINED("exhibitor.virtualBoothJoined"), + EXHIBITOR_WEBLINK_OPENED("exhibitor.weblinkOpened"), + LEAD_INBOUND_CREATED("lead.inboundCreated"), + LEAD_QUALIFIED("lead.qualified"), + LEAD_SCANNED("lead.scanned"), + SESSION_CHECKED_IN("session.checkedIn"), + SESSION_CHECKED_OUT("session.checkedOut"), + SESSION_ENROLLED("session.enrolled"), + SESSION_FEEDBACK_SUBMITTED("session.feedbackSubmitted"), + SESSION_NO_SHOW("session.noShow"), + SESSION_POLL_RESPONSE_SUBMITTED("session.pollResponseSubmitted"), + SESSION_QUESTION_ASKED("session.questionAsked"), + SESSION_QUESTION_UPVOTED("session.questionUpvoted"), + SESSION_UNENROLLED("session.unenrolled"), + SESSION_WAITLISTED("session.waitlisted"), + SPEAKER_FEEDBACK_SUBMITTED("speaker.feedbackSubmitted"), + SPEAKER_FILE_DOWNLOADED("speaker.fileDownloaded"), + APPOINTMENT_EXTERNAL("appointment.external"), + EVENT_EXTERNAL("event.external"), + EXHIBITOR_EXTERNAL("exhibitor.external"), + SESSION_EXTERNAL("session.external"), + EVENT_AD_VIEWED("event.adViewed"), + EVENT_AD_CLICKED("event.adClicked"); + + @JsonValue + private final String value; + + ActivityType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ActivityType o : ActivityType.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/ActivityTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ActivityTypeJson.java deleted file mode 100644 index a95d91b53..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ActivityTypeJson.java +++ /dev/null @@ -1,89 +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; - -/** - * ActivityTypeJson - * - *

This is used to denote the type of the attendee activity. - */ -public enum ActivityTypeJson { - APPOINTMENT_ACCEPTED("appointment.accepted"), - APPOINTMENT_CANCELLED("appointment.cancelled"), - APPOINTMENT_CHECKED_IN("appointment.checkedIn"), - APPOINTMENT_CREATED("appointment.created"), - APPOINTMENT_DECLINED("appointment.declined"), - APPOINTMENT_DENIED("appointment.denied"), - APPOINTMENT_RESCHEDULED("appointment.rescheduled"), - EMAIL_BOUNCED("email.bounced"), - EMAIL_CLICKED("email.clicked"), - EMAIL_OPENED("email.opened"), - EMAIL_SENT("email.sent"), - EMAIL_UNDELIVERED("email.undelivered"), - EVENT_ATTENDEE_HUB_VISITED("event.attendeeHubVisited"), - EVENT_ATTENDEE_SUBSTITUTED("event.attendeeSubstituted"), - EVENT_BANNER_LINK_CLICKED("event.bannerLinkClicked"), - EVENT_CHECKED_IN("event.checkedIn"), - EVENT_CHECKED_OUT("event.checkedOut"), - EVENT_CUSTOM_CARD_OPENED("event.customCardOpened"), - EVENT_FEEDBACK_SUBMITTED("event.feedbackSubmitted"), - EVENT_NO_SHOW("event.noShow"), - EVENT_PAGE_VISIT_TRACKED("event.pageVisitTracked"), - EVENT_REGISTERED("event.registered"), - EVENT_REGISTRATION_ABANDONED("event.registrationAbandoned"), - EVENT_REGISTRATION_CANCELLED("event.registrationCancelled"), - EVENT_VIDEO_PLAYED("event.videoPlayed"), - EVENT_WAITLISTED("event.waitlisted"), - EXHIBITOR_DOCUMENT_OPENED("exhibitor.documentOpened"), - EXHIBITOR_SOCIAL_LINK_OPENED("exhibitor.socialLinkOpened"), - EXHIBITOR_VIEWED("exhibitor.viewed"), - EXHIBITOR_VIRTUAL_BOOTH_JOINED("exhibitor.virtualBoothJoined"), - EXHIBITOR_WEBLINK_OPENED("exhibitor.weblinkOpened"), - LEAD_INBOUND_CREATED("lead.inboundCreated"), - LEAD_QUALIFIED("lead.qualified"), - LEAD_SCANNED("lead.scanned"), - SESSION_CHECKED_IN("session.checkedIn"), - SESSION_CHECKED_OUT("session.checkedOut"), - SESSION_ENROLLED("session.enrolled"), - SESSION_FEEDBACK_SUBMITTED("session.feedbackSubmitted"), - SESSION_NO_SHOW("session.noShow"), - SESSION_POLL_RESPONSE_SUBMITTED("session.pollResponseSubmitted"), - SESSION_QUESTION_ASKED("session.questionAsked"), - SESSION_QUESTION_UPVOTED("session.questionUpvoted"), - SESSION_UNENROLLED("session.unenrolled"), - SESSION_WAITLISTED("session.waitlisted"), - SPEAKER_FEEDBACK_SUBMITTED("speaker.feedbackSubmitted"), - SPEAKER_FILE_DOWNLOADED("speaker.fileDownloaded"), - APPOINTMENT_EXTERNAL("appointment.external"), - EVENT_EXTERNAL("event.external"), - EXHIBITOR_EXTERNAL("exhibitor.external"), - SESSION_EXTERNAL("session.external"), - EVENT_AD_VIEWED("event.adViewed"), - EVENT_AD_CLICKED("event.adClicked"); - - @JsonValue - private final String value; - - ActivityTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ActivityTypeJson o : ActivityTypeJson.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/AdLocation.java b/packages/java/src/main/java/com/cvent/models/components/AdLocation.java new file mode 100644 index 000000000..a022fcbee --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AdLocation.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * AdLocation + * + *

The placement of the ad within the specific product. + */ +public enum AdLocation { + HOME_PAGE("Home Page"), + EXHIBITOR_LIST("Exhibitor List"), + SESSION_LIST("Session List"); + + @JsonValue + private final String value; + + AdLocation(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AdLocation o : AdLocation.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/AdLocationJson.java b/packages/java/src/main/java/com/cvent/models/components/AdLocationJson.java deleted file mode 100644 index 9860ed676..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AdLocationJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * AdLocationJson - * - *

The placement of the ad within the specific product. - */ -public enum AdLocationJson { - HOME_PAGE("Home Page"), - EXHIBITOR_LIST("Exhibitor List"), - SESSION_LIST("Session List"); - - @JsonValue - private final String value; - - AdLocationJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AdLocationJson o : AdLocationJson.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/AddressInfo.java b/packages/java/src/main/java/com/cvent/models/components/AddressInfo.java new file mode 100644 index 000000000..1c8fff860 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AddressInfo.java @@ -0,0 +1,328 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * AddressInfo + * + *

Venue address information. + */ +public class AddressInfo { + /** + * Street address line 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress1") + private String streetAddress1; + + /** + * Street address line 2. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress2") + private String streetAddress2; + + /** + * City. + */ + @JsonProperty("city") + private String city; + + /** + * The state province code used for contact information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stateProvince") + private StateProvince1 stateProvince; + + /** + * ZIP or postal code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("zipPostalCode") + private String zipPostalCode; + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + @JsonProperty("country") + private Country country; + + /** + * Directions or instructions for getting to the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("directions") + private String directions; + + @JsonCreator + public AddressInfo( + @JsonProperty("streetAddress1") @Nullable String streetAddress1, + @JsonProperty("streetAddress2") @Nullable String streetAddress2, + @JsonProperty("city") @Nonnull String city, + @JsonProperty("stateProvince") @Nullable StateProvince1 stateProvince, + @JsonProperty("zipPostalCode") @Nullable String zipPostalCode, + @JsonProperty("country") @Nonnull Country country, + @JsonProperty("directions") @Nullable String directions) { + this.streetAddress1 = streetAddress1; + this.streetAddress2 = streetAddress2; + this.city = Optional.ofNullable(city).orElseThrow(() -> new IllegalArgumentException("city cannot be null")); + this.stateProvince = stateProvince; + this.zipPostalCode = zipPostalCode; + this.country = + Optional.ofNullable(country).orElseThrow(() -> new IllegalArgumentException("country cannot be null")); + this.directions = directions; + } + + public AddressInfo(@Nonnull String city, @Nonnull Country country) { + this(null, null, city, null, null, country, null); + } + + /** + * Street address line 1. + */ + public Optional streetAddress1() { + return Optional.ofNullable(this.streetAddress1); + } + + /** + * Street address line 2. + */ + public Optional streetAddress2() { + return Optional.ofNullable(this.streetAddress2); + } + + /** + * City. + */ + public String city() { + return this.city; + } + + /** + * The state province code used for contact information. + */ + public Optional stateProvince() { + return Optional.ofNullable(this.stateProvince); + } + + /** + * ZIP or postal code. + */ + public Optional zipPostalCode() { + return Optional.ofNullable(this.zipPostalCode); + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public Country country() { + return this.country; + } + + /** + * Directions or instructions for getting to the venue. + */ + public Optional directions() { + return Optional.ofNullable(this.directions); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Street address line 1. + */ + public AddressInfo withStreetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = streetAddress1; + return this; + } + + /** + * Street address line 2. + */ + public AddressInfo withStreetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = streetAddress2; + return this; + } + + /** + * City. + */ + public AddressInfo withCity(@Nonnull String city) { + this.city = Utils.checkNotNull(city, "city"); + return this; + } + + /** + * The state province code used for contact information. + */ + public AddressInfo withStateProvince(@Nullable StateProvince1 stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * ZIP or postal code. + */ + public AddressInfo withZipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = zipPostalCode; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public AddressInfo withCountry(@Nonnull Country country) { + this.country = Utils.checkNotNull(country, "country"); + return this; + } + + /** + * Directions or instructions for getting to the venue. + */ + public AddressInfo withDirections(@Nullable String directions) { + this.directions = directions; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddressInfo other = (AddressInfo) o; + return Utils.enhancedDeepEquals(this.streetAddress1, other.streetAddress1) + && Utils.enhancedDeepEquals(this.streetAddress2, other.streetAddress2) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) + && Utils.enhancedDeepEquals(this.zipPostalCode, other.zipPostalCode) + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.directions, other.directions); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country, directions); + } + + @Override + public String toString() { + return Utils.toString( + AddressInfo.class, + "streetAddress1", + streetAddress1, + "streetAddress2", + streetAddress2, + "city", + city, + "stateProvince", + stateProvince, + "zipPostalCode", + zipPostalCode, + "country", + country, + "directions", + directions); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String streetAddress1; + + private String streetAddress2; + + private String city; + + private StateProvince1 stateProvince; + + private String zipPostalCode; + + private Country country; + + private String directions; + + private Builder() { + // force use of static builder() method + } + + /** + * Street address line 1. + */ + public Builder streetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = streetAddress1; + return this; + } + + /** + * Street address line 2. + */ + public Builder streetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = streetAddress2; + return this; + } + + /** + * City. + */ + public Builder city(@Nonnull String city) { + this.city = Utils.checkNotNull(city, "city"); + return this; + } + + /** + * The state province code used for contact information. + */ + public Builder stateProvince(@Nullable StateProvince1 stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * ZIP or postal code. + */ + public Builder zipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = zipPostalCode; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public Builder country(@Nonnull Country country) { + this.country = Utils.checkNotNull(country, "country"); + return this; + } + + /** + * Directions or instructions for getting to the venue. + */ + public Builder directions(@Nullable String directions) { + this.directions = directions; + return this; + } + + public AddressInfo build() { + return new AddressInfo( + streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country, directions); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Answer2.java b/packages/java/src/main/java/com/cvent/models/components/Answer2.java deleted file mode 100644 index f8b04a926..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/Answer2.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * Answer2 - * - *

A JSON schema representing an answer object. - */ -public class Answer2 { - /** - * Type of answer - */ - @JsonProperty("type") - private AnswerType1 type; - - /** - * Answered value like: Choice text, text answer input etc. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("value") - private String value; - - /** - * The choice that was selected. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("choice") - private Answer2Choice choice; - - @JsonCreator - public Answer2( - @JsonProperty("type") @Nonnull AnswerType1 type, - @JsonProperty("value") @Nullable String value, - @JsonProperty("choice") @Nullable Answer2Choice choice) { - this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); - this.value = value; - this.choice = choice; - } - - public Answer2(@Nonnull AnswerType1 type) { - this(type, null, null); - } - - /** - * Type of answer - */ - public AnswerType1 type() { - return this.type; - } - - /** - * Answered value like: Choice text, text answer input etc. - */ - public Optional value() { - return Optional.ofNullable(this.value); - } - - /** - * The choice that was selected. - */ - public Optional choice() { - return Optional.ofNullable(this.choice); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Type of answer - */ - public Answer2 withType(@Nonnull AnswerType1 type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * Answered value like: Choice text, text answer input etc. - */ - public Answer2 withValue(@Nullable String value) { - this.value = value; - return this; - } - - /** - * The choice that was selected. - */ - public Answer2 withChoice(@Nullable Answer2Choice choice) { - this.choice = choice; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Answer2 other = (Answer2) o; - return Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.choice, other.choice); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(type, value, choice); - } - - @Override - public String toString() { - return Utils.toString(Answer2.class, "type", type, "value", value, "choice", choice); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private AnswerType1 type; - - private String value; - - private Answer2Choice choice; - - private Builder() { - // force use of static builder() method - } - - /** - * Type of answer - */ - public Builder type(@Nonnull AnswerType1 type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * Answered value like: Choice text, text answer input etc. - */ - public Builder value(@Nullable String value) { - this.value = value; - return this; - } - - /** - * The choice that was selected. - */ - public Builder choice(@Nullable Answer2Choice choice) { - this.choice = choice; - return this; - } - - public Answer2 build() { - return new Answer2(type, value, choice); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Answer21.java b/packages/java/src/main/java/com/cvent/models/components/Answer21.java new file mode 100644 index 000000000..3be3cd00f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Answer21.java @@ -0,0 +1,185 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Deprecated; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * Answer21 + * + *

A question answer. + */ +public class Answer21 { + /** + * The unique identifier of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Question text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + @Deprecated + private String type; + + @JsonCreator + public Answer21( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("type") @Nullable String type) { + this.id = id; + this.text = text; + this.type = type; + } + + public Answer21() { + this(null, null, null); + } + + /** + * The unique identifier of the question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Question text. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the question. + */ + public Answer21 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public Answer21 withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Answer21 withType(@Nullable String type) { + this.type = type; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Answer21 other = (Answer21) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.type, other.type); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, type); + } + + @Override + public String toString() { + return Utils.toString(Answer21.class, "id", id, "text", text, "type", type); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + @Deprecated + private String type; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder type(@Nullable String type) { + this.type = type; + return this; + } + + public Answer21 build() { + return new Answer21(id, text, type); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Answer22.java b/packages/java/src/main/java/com/cvent/models/components/Answer22.java new file mode 100644 index 000000000..026c52103 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Answer22.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * Answer22 + * + *

A JSON schema representing an answer object. + */ +public class Answer22 { + /** + * Type of answer + */ + @JsonProperty("type") + private AnswerType11 type; + + /** + * Answered value like: Choice text, text answer input etc. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("value") + private String value; + + /** + * The choice that was selected. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("choice") + private Answer2Choice choice; + + @JsonCreator + public Answer22( + @JsonProperty("type") @Nonnull AnswerType11 type, + @JsonProperty("value") @Nullable String value, + @JsonProperty("choice") @Nullable Answer2Choice choice) { + this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); + this.value = value; + this.choice = choice; + } + + public Answer22(@Nonnull AnswerType11 type) { + this(type, null, null); + } + + /** + * Type of answer + */ + public AnswerType11 type() { + return this.type; + } + + /** + * Answered value like: Choice text, text answer input etc. + */ + public Optional value() { + return Optional.ofNullable(this.value); + } + + /** + * The choice that was selected. + */ + public Optional choice() { + return Optional.ofNullable(this.choice); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Type of answer + */ + public Answer22 withType(@Nonnull AnswerType11 type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Answered value like: Choice text, text answer input etc. + */ + public Answer22 withValue(@Nullable String value) { + this.value = value; + return this; + } + + /** + * The choice that was selected. + */ + public Answer22 withChoice(@Nullable Answer2Choice choice) { + this.choice = choice; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Answer22 other = (Answer22) o; + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.choice, other.choice); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(type, value, choice); + } + + @Override + public String toString() { + return Utils.toString(Answer22.class, "type", type, "value", value, "choice", choice); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private AnswerType11 type; + + private String value; + + private Answer2Choice choice; + + private Builder() { + // force use of static builder() method + } + + /** + * Type of answer + */ + public Builder type(@Nonnull AnswerType11 type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Answered value like: Choice text, text answer input etc. + */ + public Builder value(@Nullable String value) { + this.value = value; + return this; + } + + /** + * The choice that was selected. + */ + public Builder choice(@Nullable Answer2Choice choice) { + this.choice = choice; + return this; + } + + public Answer22 build() { + return new Answer22(type, value, choice); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AnswerJson.java b/packages/java/src/main/java/com/cvent/models/components/AnswerJson.java index 9f95a7ea8..6f1f3be79 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AnswerJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AnswerJson.java @@ -24,7 +24,7 @@ public class AnswerJson { * Type of answer */ @JsonProperty("type") - private AnswerTypeJson1 type; + private AnswerTypeJson type; /** * Value property is used to send information like string, number and date in case of following types @@ -66,7 +66,7 @@ public class AnswerJson { @JsonCreator public AnswerJson( - @JsonProperty("type") @Nonnull AnswerTypeJson1 type, + @JsonProperty("type") @Nonnull AnswerTypeJson type, @JsonProperty("value") @Nullable String value, @JsonProperty("choice") @Nullable UuidJson choice, @JsonProperty("category") @Nullable UuidJson category, @@ -80,14 +80,14 @@ public AnswerJson( this.field = field; } - public AnswerJson(@Nonnull AnswerTypeJson1 type) { + public AnswerJson(@Nonnull AnswerTypeJson type) { this(type, null, null, null, null, null); } /** * Type of answer */ - public AnswerTypeJson1 type() { + public AnswerTypeJson type() { return this.type; } @@ -136,7 +136,7 @@ public static Builder builder() { /** * Type of answer */ - public AnswerJson withType(@Nonnull AnswerTypeJson1 type) { + public AnswerJson withType(@Nonnull AnswerTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -227,7 +227,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private AnswerTypeJson1 type; + private AnswerTypeJson type; private String value; @@ -246,7 +246,7 @@ private Builder() { /** * Type of answer */ - public Builder type(@Nonnull AnswerTypeJson1 type) { + public Builder type(@Nonnull AnswerTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AnswerJson1.java b/packages/java/src/main/java/com/cvent/models/components/AnswerJson1.java deleted file mode 100644 index 0ac6e2a62..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AnswerJson1.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Deprecated; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AnswerJson1 - * - *

A question answer. - */ -public class AnswerJson1 { - /** - * The unique identifier of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Question text. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - @Deprecated - private String type; - - @JsonCreator - public AnswerJson1( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("type") @Nullable String type) { - this.id = id; - this.text = text; - this.type = type; - } - - public AnswerJson1() { - this(null, null, null); - } - - /** - * The unique identifier of the question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Question text. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the question. - */ - public AnswerJson1 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public AnswerJson1 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public AnswerJson1 withType(@Nullable String type) { - this.type = type; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AnswerJson1 other = (AnswerJson1) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.type, other.type); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, type); - } - - @Override - public String toString() { - return Utils.toString(AnswerJson1.class, "id", id, "text", text, "type", type); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - @Deprecated - private String type; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the question. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder type(@Nullable String type) { - this.type = type; - return this; - } - - public AnswerJson1 build() { - return new AnswerJson1(id, text, type); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AnswerType1.java b/packages/java/src/main/java/com/cvent/models/components/AnswerType1.java deleted file mode 100644 index fc74eea47..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AnswerType1.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * AnswerType1 - * - *

Type of answer - */ -public enum AnswerType1 { - CHOICE("Choice"), - TEXT("Text"), - OTHER("Other"), - NA("NA"); - - @JsonValue - private final String value; - - AnswerType1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AnswerType1 o : AnswerType1.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/AnswerType11.java b/packages/java/src/main/java/com/cvent/models/components/AnswerType11.java new file mode 100644 index 000000000..eba636c17 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AnswerType11.java @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * AnswerType11 + * + *

Type of answer + */ +public enum AnswerType11 { + CHOICE("Choice"), + TEXT("Text"), + OTHER("Other"), + NA("NA"); + + @JsonValue + private final String value; + + AnswerType11(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AnswerType11 o : AnswerType11.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/AnswerType12.java b/packages/java/src/main/java/com/cvent/models/components/AnswerType12.java new file mode 100644 index 000000000..7414497d7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AnswerType12.java @@ -0,0 +1,48 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * AnswerType12 + * + *

Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ +public enum AnswerType12 { + OTHER("Other"), + NA("NA"); + + @JsonValue + private final String value; + + AnswerType12(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AnswerType12 o : AnswerType12.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/AnswerTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AnswerTypeJson.java index 36174dbeb..48493d103 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AnswerTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AnswerTypeJson.java @@ -11,20 +11,16 @@ /** * AnswerTypeJson * - *

Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

In all other cases, `answerType` is not expected to be set. + *

Type of answer */ public enum AnswerTypeJson { + CHOICE("Choice"), + TEXT("Text"), + CHOICE_TEXT("ChoiceText"), + COMMENT("Comment"), OTHER("Other"), - NA("NA"); + NA("NA"), + FILE("File"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/AnswerTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/AnswerTypeJson1.java deleted file mode 100644 index cf6e08ef8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AnswerTypeJson1.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * AnswerTypeJson1 - * - *

Type of answer - */ -public enum AnswerTypeJson1 { - CHOICE("Choice"), - TEXT("Text"), - CHOICE_TEXT("ChoiceText"), - COMMENT("Comment"), - OTHER("Other"), - NA("NA"), - FILE("File"); - - @JsonValue - private final String value; - - AnswerTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AnswerTypeJson1 o : AnswerTypeJson1.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/AppointmentAccepted.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentAccepted.java index e6fc36bf9..1a6a5c5a8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentAccepted.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentAccepted.java @@ -24,19 +24,19 @@ public class AppointmentAccepted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("appointment") - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; /** * An activity contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; @JsonCreator public AppointmentAccepted( - @JsonProperty("appointment") @Nullable ActivityAppointmentJson appointment, - @JsonProperty("contact") @Nullable ActivityContactJson contact) { + @JsonProperty("appointment") @Nullable ActivityAppointment appointment, + @JsonProperty("contact") @Nullable ActivityContact contact) { this.appointment = appointment; this.contact = contact; } @@ -48,14 +48,14 @@ public AppointmentAccepted() { /** * An activity appointment. */ - public Optional appointment() { + public Optional appointment() { return Optional.ofNullable(this.appointment); } /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * An activity appointment. */ - public AppointmentAccepted withAppointment(@Nullable ActivityAppointmentJson appointment) { + public AppointmentAccepted withAppointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -74,7 +74,7 @@ public AppointmentAccepted withAppointment(@Nullable ActivityAppointmentJson app /** * An activity contact. */ - public AppointmentAccepted withContact(@Nullable ActivityContactJson contact) { + public AppointmentAccepted withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; - private ActivityContactJson contact; + private ActivityContact contact; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * An activity appointment. */ - public Builder appointment(@Nullable ActivityAppointmentJson appointment) { + public Builder appointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -124,7 +124,7 @@ public Builder appointment(@Nullable ActivityAppointmentJson appointment) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AppointmentCancelled.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentCancelled.java index 9b4bfc770..d4c62e9d9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentCancelled.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentCancelled.java @@ -24,19 +24,19 @@ public class AppointmentCancelled { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("appointment") - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; /** * An activity contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; @JsonCreator public AppointmentCancelled( - @JsonProperty("appointment") @Nullable ActivityAppointmentJson appointment, - @JsonProperty("contact") @Nullable ActivityContactJson contact) { + @JsonProperty("appointment") @Nullable ActivityAppointment appointment, + @JsonProperty("contact") @Nullable ActivityContact contact) { this.appointment = appointment; this.contact = contact; } @@ -48,14 +48,14 @@ public AppointmentCancelled() { /** * An activity appointment. */ - public Optional appointment() { + public Optional appointment() { return Optional.ofNullable(this.appointment); } /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * An activity appointment. */ - public AppointmentCancelled withAppointment(@Nullable ActivityAppointmentJson appointment) { + public AppointmentCancelled withAppointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -74,7 +74,7 @@ public AppointmentCancelled withAppointment(@Nullable ActivityAppointmentJson ap /** * An activity contact. */ - public AppointmentCancelled withContact(@Nullable ActivityContactJson contact) { + public AppointmentCancelled withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; - private ActivityContactJson contact; + private ActivityContact contact; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * An activity appointment. */ - public Builder appointment(@Nullable ActivityAppointmentJson appointment) { + public Builder appointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -124,7 +124,7 @@ public Builder appointment(@Nullable ActivityAppointmentJson appointment) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AppointmentCheckedIn.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentCheckedIn.java index 9cbc4be44..f0c16a242 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentCheckedIn.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentCheckedIn.java @@ -25,14 +25,14 @@ public class AppointmentCheckedIn { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("appointment") - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; /** * An activity contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; /** * ISO 8601 date and time when an attendee checked in to the appointment. @@ -43,8 +43,8 @@ public class AppointmentCheckedIn { @JsonCreator public AppointmentCheckedIn( - @JsonProperty("appointment") @Nullable ActivityAppointmentJson appointment, - @JsonProperty("contact") @Nullable ActivityContactJson contact, + @JsonProperty("appointment") @Nullable ActivityAppointment appointment, + @JsonProperty("contact") @Nullable ActivityContact contact, @JsonProperty("checkedIn") @Nullable OffsetDateTime checkedIn) { this.appointment = appointment; this.contact = contact; @@ -58,14 +58,14 @@ public AppointmentCheckedIn() { /** * An activity appointment. */ - public Optional appointment() { + public Optional appointment() { return Optional.ofNullable(this.appointment); } /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -83,7 +83,7 @@ public static Builder builder() { /** * An activity appointment. */ - public AppointmentCheckedIn withAppointment(@Nullable ActivityAppointmentJson appointment) { + public AppointmentCheckedIn withAppointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -91,7 +91,7 @@ public AppointmentCheckedIn withAppointment(@Nullable ActivityAppointmentJson ap /** * An activity contact. */ - public AppointmentCheckedIn withContact(@Nullable ActivityContactJson contact) { + public AppointmentCheckedIn withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -132,9 +132,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; - private ActivityContactJson contact; + private ActivityContact contact; private OffsetDateTime checkedIn; @@ -145,7 +145,7 @@ private Builder() { /** * An activity appointment. */ - public Builder appointment(@Nullable ActivityAppointmentJson appointment) { + public Builder appointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -153,7 +153,7 @@ public Builder appointment(@Nullable ActivityAppointmentJson appointment) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AppointmentCreated.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentCreated.java index 0ad68aa18..ae12759c4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentCreated.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentCreated.java @@ -24,19 +24,19 @@ public class AppointmentCreated { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("appointment") - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; /** * An activity contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; @JsonCreator public AppointmentCreated( - @JsonProperty("appointment") @Nullable ActivityAppointmentJson appointment, - @JsonProperty("contact") @Nullable ActivityContactJson contact) { + @JsonProperty("appointment") @Nullable ActivityAppointment appointment, + @JsonProperty("contact") @Nullable ActivityContact contact) { this.appointment = appointment; this.contact = contact; } @@ -48,14 +48,14 @@ public AppointmentCreated() { /** * An activity appointment. */ - public Optional appointment() { + public Optional appointment() { return Optional.ofNullable(this.appointment); } /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * An activity appointment. */ - public AppointmentCreated withAppointment(@Nullable ActivityAppointmentJson appointment) { + public AppointmentCreated withAppointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -74,7 +74,7 @@ public AppointmentCreated withAppointment(@Nullable ActivityAppointmentJson appo /** * An activity contact. */ - public AppointmentCreated withContact(@Nullable ActivityContactJson contact) { + public AppointmentCreated withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; - private ActivityContactJson contact; + private ActivityContact contact; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * An activity appointment. */ - public Builder appointment(@Nullable ActivityAppointmentJson appointment) { + public Builder appointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -124,7 +124,7 @@ public Builder appointment(@Nullable ActivityAppointmentJson appointment) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AppointmentDeclined.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentDeclined.java index bc5f12fc2..f094b391d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentDeclined.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentDeclined.java @@ -24,19 +24,19 @@ public class AppointmentDeclined { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("appointment") - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; /** * An activity contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; @JsonCreator public AppointmentDeclined( - @JsonProperty("appointment") @Nullable ActivityAppointmentJson appointment, - @JsonProperty("contact") @Nullable ActivityContactJson contact) { + @JsonProperty("appointment") @Nullable ActivityAppointment appointment, + @JsonProperty("contact") @Nullable ActivityContact contact) { this.appointment = appointment; this.contact = contact; } @@ -48,14 +48,14 @@ public AppointmentDeclined() { /** * An activity appointment. */ - public Optional appointment() { + public Optional appointment() { return Optional.ofNullable(this.appointment); } /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * An activity appointment. */ - public AppointmentDeclined withAppointment(@Nullable ActivityAppointmentJson appointment) { + public AppointmentDeclined withAppointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -74,7 +74,7 @@ public AppointmentDeclined withAppointment(@Nullable ActivityAppointmentJson app /** * An activity contact. */ - public AppointmentDeclined withContact(@Nullable ActivityContactJson contact) { + public AppointmentDeclined withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; - private ActivityContactJson contact; + private ActivityContact contact; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * An activity appointment. */ - public Builder appointment(@Nullable ActivityAppointmentJson appointment) { + public Builder appointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -124,7 +124,7 @@ public Builder appointment(@Nullable ActivityAppointmentJson appointment) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AppointmentDenied.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentDenied.java index 896922173..6ccdfb01a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentDenied.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentDenied.java @@ -24,19 +24,19 @@ public class AppointmentDenied { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("appointment") - private ActivityBaseAppointmentJson appointment; + private ActivityBaseAppointment appointment; /** * An activity contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; @JsonCreator public AppointmentDenied( - @JsonProperty("appointment") @Nullable ActivityBaseAppointmentJson appointment, - @JsonProperty("contact") @Nullable ActivityContactJson contact) { + @JsonProperty("appointment") @Nullable ActivityBaseAppointment appointment, + @JsonProperty("contact") @Nullable ActivityContact contact) { this.appointment = appointment; this.contact = contact; } @@ -48,14 +48,14 @@ public AppointmentDenied() { /** * Base entity of an activity appointment. */ - public Optional appointment() { + public Optional appointment() { return Optional.ofNullable(this.appointment); } /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * Base entity of an activity appointment. */ - public AppointmentDenied withAppointment(@Nullable ActivityBaseAppointmentJson appointment) { + public AppointmentDenied withAppointment(@Nullable ActivityBaseAppointment appointment) { this.appointment = appointment; return this; } @@ -74,7 +74,7 @@ public AppointmentDenied withAppointment(@Nullable ActivityBaseAppointmentJson a /** * An activity contact. */ - public AppointmentDenied withContact(@Nullable ActivityContactJson contact) { + public AppointmentDenied withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityBaseAppointmentJson appointment; + private ActivityBaseAppointment appointment; - private ActivityContactJson contact; + private ActivityContact contact; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * Base entity of an activity appointment. */ - public Builder appointment(@Nullable ActivityBaseAppointmentJson appointment) { + public Builder appointment(@Nullable ActivityBaseAppointment appointment) { this.appointment = appointment; return this; } @@ -124,7 +124,7 @@ public Builder appointment(@Nullable ActivityBaseAppointmentJson appointment) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AppointmentPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentPaginatedResponse.java index fb26acc55..cba419de6 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentPaginatedResponse.java @@ -28,11 +28,11 @@ public class AppointmentPaginatedResponse { * Collection of appointments and their related details. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public AppointmentPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); @@ -48,7 +48,7 @@ public PagingJson paging() { /** * Collection of appointments and their related details. */ - public List data() { + public List data() { return this.data; } @@ -67,7 +67,7 @@ public AppointmentPaginatedResponse withPaging(@Nonnull PagingJson paging) { /** * Collection of appointments and their related details. */ - public AppointmentPaginatedResponse withData(@Nonnull List data) { + public AppointmentPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,7 +99,7 @@ public static final class Builder { private PagingJson paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of appointments and their related details. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AppointmentRescheduled.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentRescheduled.java index 19cfca659..811420155 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentRescheduled.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentRescheduled.java @@ -24,19 +24,19 @@ public class AppointmentRescheduled { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("appointment") - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; /** * An activity contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; @JsonCreator public AppointmentRescheduled( - @JsonProperty("appointment") @Nullable ActivityAppointmentJson appointment, - @JsonProperty("contact") @Nullable ActivityContactJson contact) { + @JsonProperty("appointment") @Nullable ActivityAppointment appointment, + @JsonProperty("contact") @Nullable ActivityContact contact) { this.appointment = appointment; this.contact = contact; } @@ -48,14 +48,14 @@ public AppointmentRescheduled() { /** * An activity appointment. */ - public Optional appointment() { + public Optional appointment() { return Optional.ofNullable(this.appointment); } /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * An activity appointment. */ - public AppointmentRescheduled withAppointment(@Nullable ActivityAppointmentJson appointment) { + public AppointmentRescheduled withAppointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -74,7 +74,7 @@ public AppointmentRescheduled withAppointment(@Nullable ActivityAppointmentJson /** * An activity contact. */ - public AppointmentRescheduled withContact(@Nullable ActivityContactJson contact) { + public AppointmentRescheduled withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityAppointmentJson appointment; + private ActivityAppointment appointment; - private ActivityContactJson contact; + private ActivityContact contact; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * An activity appointment. */ - public Builder appointment(@Nullable ActivityAppointmentJson appointment) { + public Builder appointment(@Nullable ActivityAppointment appointment) { this.appointment = appointment; return this; } @@ -124,7 +124,7 @@ public Builder appointment(@Nullable ActivityAppointmentJson appointment) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AreaMeasurement.java b/packages/java/src/main/java/com/cvent/models/components/AreaMeasurement.java new file mode 100644 index 000000000..7bdbc4c9a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AreaMeasurement.java @@ -0,0 +1,126 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * AreaMeasurement + * + *

Measurement of area in square feet or square meters. + */ +public class AreaMeasurement { + /** + * The numeric value of the area measurement. + */ + @JsonProperty("value") + private double value; + + /** + * The unit of measurement for the area. + */ + @JsonProperty("unit") + private AreaMeasurementUnit unit; + + @JsonCreator + public AreaMeasurement( + @JsonProperty("value") double value, @JsonProperty("unit") @Nonnull AreaMeasurementUnit unit) { + this.value = value; + this.unit = Optional.ofNullable(unit).orElseThrow(() -> new IllegalArgumentException("unit cannot be null")); + } + + /** + * The numeric value of the area measurement. + */ + public double value() { + return this.value; + } + + /** + * The unit of measurement for the area. + */ + public AreaMeasurementUnit unit() { + return this.unit; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The numeric value of the area measurement. + */ + public AreaMeasurement withValue(double value) { + this.value = value; + return this; + } + + /** + * The unit of measurement for the area. + */ + public AreaMeasurement withUnit(@Nonnull AreaMeasurementUnit unit) { + this.unit = Utils.checkNotNull(unit, "unit"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AreaMeasurement other = (AreaMeasurement) o; + return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.unit, other.unit); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value, unit); + } + + @Override + public String toString() { + return Utils.toString(AreaMeasurement.class, "value", value, "unit", unit); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private double value; + + private AreaMeasurementUnit unit; + + private Builder() { + // force use of static builder() method + } + + /** + * The numeric value of the area measurement. + */ + public Builder value(double value) { + this.value = value; + return this; + } + + /** + * The unit of measurement for the area. + */ + public Builder unit(@Nonnull AreaMeasurementUnit unit) { + this.unit = Utils.checkNotNull(unit, "unit"); + return this; + } + + public AreaMeasurement build() { + return new AreaMeasurement(value, unit); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AreaMeasurementUnit.java b/packages/java/src/main/java/com/cvent/models/components/AreaMeasurementUnit.java new file mode 100644 index 000000000..49d91ada7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AreaMeasurementUnit.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; + +/** + * AreaMeasurementUnit + * + *

The unit of measurement for the area. + */ +public enum AreaMeasurementUnit { + SQUARE_FEET("SQUARE_FEET"), + SQUARE_METERS("SQUARE_METERS"); + + @JsonValue + private final String value; + + AreaMeasurementUnit(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AreaMeasurementUnit o : AreaMeasurementUnit.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/Attendee11.java b/packages/java/src/main/java/com/cvent/models/components/Attendee11.java index e71b19619..785a6a327 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 @@ -208,17 +208,13 @@ public class Attendee11 { private Uuid administrator; /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * 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 is read-only; to update + * an attendee's subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("unsubscribed") - @Deprecated private Boolean unsubscribed; /** @@ -296,7 +292,7 @@ public class Attendee11 { @JsonInclude(Include.NON_ABSENT) @JsonProperty("questions") @Deprecated - private List questions; + private List questions; /** * The list of answers to the registration questions. @@ -428,7 +424,7 @@ public Attendee11( @JsonProperty("registrationCancelledAt") @Nullable OffsetDateTime registrationCancelledAt, @JsonProperty("invitedBy") @Nullable AttendeeInvitedBy1 invitedBy, @JsonProperty("responseMethod") @Nullable AttendeeResponseMethod1 responseMethod, - @JsonProperty("questions") @Nullable List questions, + @JsonProperty("questions") @Nullable List questions, @JsonProperty("answers") @Nullable List answers, @JsonProperty("admissionItem") @Nullable Attendee1Lookup admissionItem, @JsonProperty("visibility") @Nullable AttendeeVisibility visibility, @@ -720,15 +716,11 @@ public Optional administrator() { } /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * 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 is read-only; to update + * an attendee's subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). */ - @Deprecated public Optional unsubscribed() { return Optional.ofNullable(this.unsubscribed); } @@ -806,7 +798,7 @@ public Optional responseMethod() { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Optional> questions() { + public Optional> questions() { return Optional.ofNullable(this.questions); } @@ -1118,15 +1110,11 @@ public Attendee11 withAdministrator(@Nullable Uuid administrator) { } /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * 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 is read-only; to update + * an attendee's subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). */ - @Deprecated public Attendee11 withUnsubscribed(@Nullable Boolean unsubscribed) { this.unsubscribed = unsubscribed; return this; @@ -1211,7 +1199,7 @@ public Attendee11 withResponseMethod(@Nullable AttendeeResponseMethod1 responseM * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Attendee11 withQuestions(@Nullable List questions) { + public Attendee11 withQuestions(@Nullable List questions) { this.questions = questions; return this; } @@ -1580,7 +1568,6 @@ public static final class Builder { private Uuid administrator; - @Deprecated private Boolean unsubscribed; private AttendeeStatus status; @@ -1596,7 +1583,7 @@ public static final class Builder { private AttendeeResponseMethod1 responseMethod; @Deprecated - private List questions; + private List questions; private List answers; @@ -1835,15 +1822,11 @@ public Builder administrator(@Nullable Uuid administrator) { } /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * 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 is read-only; to update + * an attendee's subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). */ - @Deprecated public Builder unsubscribed(@Nullable Boolean unsubscribed) { this.unsubscribed = unsubscribed; return this; @@ -1928,7 +1911,7 @@ public Builder responseMethod(@Nullable AttendeeResponseMethod1 responseMethod) * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Builder questions(@Nullable List questions) { + public Builder questions(@Nullable List questions) { this.questions = questions; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeActivitiesPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeActivitiesPaginatedResponse.java index 5aab89800..ceb4893e7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeActivitiesPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeActivitiesPaginatedResponse.java @@ -23,18 +23,18 @@ public class AttendeeActivitiesPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of attendee activities. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public AttendeeActivitiesPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull Paging paging, + @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); @@ -43,14 +43,14 @@ public AttendeeActivitiesPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of attendee activities. */ - public List data() { + public List data() { return this.data; } @@ -61,7 +61,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public AttendeeActivitiesPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public AttendeeActivitiesPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -69,7 +69,7 @@ public AttendeeActivitiesPaginatedResponse withPaging(@Nonnull PagingJson paging /** * Collection of attendee activities. */ - public AttendeeActivitiesPaginatedResponse withData(@Nonnull List data) { + public AttendeeActivitiesPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,9 +99,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -110,7 +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; } @@ -118,7 +118,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of attendee activities. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeActivity.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeActivity.java new file mode 100644 index 000000000..3311e85b0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeActivity.java @@ -0,0 +1,364 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * AttendeeActivity + * + *

An attendee activity. + */ +public class AttendeeActivity { + /** + * The identifier of the attendee activity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + @JsonProperty("attendee") + private Uuid attendee; + + /** + * Details for an event activity. + */ + @JsonProperty("event") + private EventActivityDetail event; + + /** + * ISO 8601 date and time when this attendee activity occurred. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("time") + private OffsetDateTime time; + + /** + * ISO 8601 date and time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * Unique name corresponding to the attendee activity type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * This is used to denote the type of the attendee activity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private ActivityType type; + + /** + * This is used to denote the type of the attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data") + private ActivityData data; + + @JsonCreator + public AttendeeActivity( + @JsonProperty("id") @Nullable String id, + @JsonProperty("attendee") @Nonnull Uuid attendee, + @JsonProperty("event") @Nonnull EventActivityDetail event, + @JsonProperty("time") @Nullable OffsetDateTime time, + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("name") @Nullable String name, + @JsonProperty("type") @Nullable ActivityType type, + @JsonProperty("data") @Nullable ActivityData data) { + this.id = id; + this.attendee = Optional.ofNullable(attendee) + .orElseThrow(() -> new IllegalArgumentException("attendee cannot be null")); + this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); + this.time = time; + this.created = created; + this.name = name; + this.type = type; + this.data = data; + } + + public AttendeeActivity(@Nonnull Uuid attendee, @Nonnull EventActivityDetail event) { + this(null, attendee, event, null, null, null, null, null); + } + + /** + * The identifier of the attendee activity. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Uuid attendee() { + return this.attendee; + } + + /** + * Details for an event activity. + */ + public EventActivityDetail event() { + return this.event; + } + + /** + * ISO 8601 date and time when this attendee activity occurred. + */ + public Optional time() { + return Optional.ofNullable(this.time); + } + + /** + * ISO 8601 date and time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * Unique name corresponding to the attendee activity type. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * This is used to denote the type of the attendee activity. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * This is used to denote the type of the attendee activity + */ + public Optional data() { + return Optional.ofNullable(this.data); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier of the attendee activity. + */ + public AttendeeActivity withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public AttendeeActivity withAttendee(@Nonnull Uuid attendee) { + this.attendee = Utils.checkNotNull(attendee, "attendee"); + return this; + } + + /** + * Details for an event activity. + */ + public AttendeeActivity withEvent(@Nonnull EventActivityDetail event) { + this.event = Utils.checkNotNull(event, "event"); + return this; + } + + /** + * ISO 8601 date and time when this attendee activity occurred. + */ + public AttendeeActivity withTime(@Nullable OffsetDateTime time) { + this.time = time; + return this; + } + + /** + * ISO 8601 date and time when this record was created. + */ + public AttendeeActivity withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * Unique name corresponding to the attendee activity type. + */ + public AttendeeActivity withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * This is used to denote the type of the attendee activity. + */ + public AttendeeActivity withType(@Nullable ActivityType type) { + this.type = type; + return this; + } + + /** + * This is used to denote the type of the attendee activity + */ + public AttendeeActivity withData(@Nullable ActivityData data) { + this.data = data; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AttendeeActivity other = (AttendeeActivity) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.attendee, other.attendee) + && Utils.enhancedDeepEquals(this.event, other.event) + && Utils.enhancedDeepEquals(this.time, other.time) + && Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.data, other.data); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, attendee, event, time, created, name, type, data); + } + + @Override + public String toString() { + return Utils.toString( + AttendeeActivity.class, + "id", + id, + "attendee", + attendee, + "event", + event, + "time", + time, + "created", + created, + "name", + name, + "type", + type, + "data", + data); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Uuid attendee; + + private EventActivityDetail event; + + private OffsetDateTime time; + + private OffsetDateTime created; + + private String name; + + private ActivityType type; + + private ActivityData data; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier of the attendee activity. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Builder attendee(@Nonnull Uuid attendee) { + this.attendee = Utils.checkNotNull(attendee, "attendee"); + return this; + } + + /** + * Details for an event activity. + */ + public Builder event(@Nonnull EventActivityDetail event) { + this.event = Utils.checkNotNull(event, "event"); + return this; + } + + /** + * ISO 8601 date and time when this attendee activity occurred. + */ + public Builder time(@Nullable OffsetDateTime time) { + this.time = time; + return this; + } + + /** + * ISO 8601 date and time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * Unique name corresponding to the attendee activity type. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * This is used to denote the type of the attendee activity. + */ + public Builder type(@Nullable ActivityType type) { + this.type = type; + return this; + } + + /** + * This is used to denote the type of the attendee activity + */ + public Builder data(@Nullable ActivityData data) { + this.data = data; + return this; + } + + public AttendeeActivity build() { + return new AttendeeActivity(id, attendee, event, time, created, name, type, data); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java index ab95c9647..af0116f1f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java @@ -53,7 +53,7 @@ public class AttendeeAddBulkItemEventJsonErrorResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public AttendeeAddBulkItemEventJsonErrorResponse( @@ -61,7 +61,7 @@ public AttendeeAddBulkItemEventJsonErrorResponse( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.id = id; this.code = code; this.message = @@ -105,7 +105,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -148,7 +148,7 @@ public AttendeeAddBulkItemEventJsonErrorResponse withTarget(@Nullable String tar /** * Additional details of cascading error messages. */ - public AttendeeAddBulkItemEventJsonErrorResponse withDetails(@Nullable List details) { + public AttendeeAddBulkItemEventJsonErrorResponse withDetails(@Nullable List details) { this.details = details; return this; } @@ -201,7 +201,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -242,7 +242,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java index f838b16ee..88efa7619 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java @@ -237,7 +237,7 @@ public class AttendeeContactInfo { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("customFields") - private List customFields; + private List customFields; /** * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for @@ -354,7 +354,7 @@ public AttendeeContactInfo( @JsonProperty("workPhone") @Nullable String workPhone, @JsonProperty("workFax") @Nullable String workFax, @JsonProperty("optOut") @Nullable OptOut optOut, - @JsonProperty("customFields") @Nullable List customFields, + @JsonProperty("customFields") @Nullable List customFields, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("mobilePhone") @Nullable String mobilePhone, @JsonProperty("compliance") @Nullable List compliance, @@ -659,7 +659,7 @@ public Optional optOut() { /** * Collection of custom fields. */ - public Optional> customFields() { + public Optional> customFields() { return Optional.ofNullable(this.customFields); } @@ -990,7 +990,7 @@ public AttendeeContactInfo withOptOut(@Nullable OptOut optOut) { /** * Collection of custom fields. */ - public AttendeeContactInfo withCustomFields(@Nullable List customFields) { + public AttendeeContactInfo withCustomFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -1327,7 +1327,7 @@ public static final class Builder { private OptOut optOut; - private List customFields; + private List customFields; private String sourceId; @@ -1593,7 +1593,7 @@ public Builder optOut(@Nullable OptOut optOut) { /** * Collection of custom fields. */ - public Builder customFields(@Nullable List customFields) { + public Builder customFields(@Nullable List customFields) { this.customFields = customFields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeStatusJson.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeStatusJson.java deleted file mode 100644 index 973de1209..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeStatusJson.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * AttendeeStatusJson - * - *

This is used to denote the status of an attendee. - */ -public enum AttendeeStatusJson { - NO_RESPONSE("No Response"), - ACCEPTED("Accepted"), - DECLINED("Declined"), - VISITED("Visited"), - WAITLISTED("Waitlisted"), - CANCELLED("Cancelled"), - PENDING_APPROVAL("Pending Approval"), - DENIED_APPROVAL("Denied Approval"); - - @JsonValue - private final String value; - - AttendeeStatusJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AttendeeStatusJson o : AttendeeStatusJson.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/BannerLinkTarget.java b/packages/java/src/main/java/com/cvent/models/components/BannerLinkTarget.java new file mode 100644 index 000000000..21bf677ce --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BannerLinkTarget.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * BannerLinkTarget + * + *

The target of the link clicked on the banner. + */ +public class BannerLinkTarget { + /** + * The type of target associated with the banner link. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private BannerLinkTargetType type; + + /** + * The details of the target associated with the banner link. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("details") + private String details; + + @JsonCreator + public BannerLinkTarget( + @JsonProperty("type") @Nullable BannerLinkTargetType type, + @JsonProperty("details") @Nullable String details) { + this.type = type; + this.details = details; + } + + public BannerLinkTarget() { + this(null, null); + } + + /** + * The type of target associated with the banner link. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The details of the target associated with the banner link. + */ + public Optional details() { + return Optional.ofNullable(this.details); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The type of target associated with the banner link. + */ + public BannerLinkTarget withType(@Nullable BannerLinkTargetType type) { + this.type = type; + return this; + } + + /** + * The details of the target associated with the banner link. + */ + public BannerLinkTarget withDetails(@Nullable String 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; + } + BannerLinkTarget other = (BannerLinkTarget) o; + return Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.details, other.details); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(type, details); + } + + @Override + public String toString() { + return Utils.toString(BannerLinkTarget.class, "type", type, "details", details); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private BannerLinkTargetType type; + + private String details; + + private Builder() { + // force use of static builder() method + } + + /** + * The type of target associated with the banner link. + */ + public Builder type(@Nullable BannerLinkTargetType type) { + this.type = type; + return this; + } + + /** + * The details of the target associated with the banner link. + */ + public Builder details(@Nullable String details) { + this.details = details; + return this; + } + + public BannerLinkTarget build() { + return new BannerLinkTarget(type, details); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetJson.java b/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetJson.java deleted file mode 100644 index 3728449a1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetJson.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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * BannerLinkTargetJson - * - *

The target of the link clicked on the banner. - */ -public class BannerLinkTargetJson { - /** - * The type of target associated with the banner link. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private BannerLinkTargetJsonType type; - - /** - * The details of the target associated with the banner link. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("details") - private String details; - - @JsonCreator - public BannerLinkTargetJson( - @JsonProperty("type") @Nullable BannerLinkTargetJsonType type, - @JsonProperty("details") @Nullable String details) { - this.type = type; - this.details = details; - } - - public BannerLinkTargetJson() { - this(null, null); - } - - /** - * The type of target associated with the banner link. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The details of the target associated with the banner link. - */ - public Optional details() { - return Optional.ofNullable(this.details); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The type of target associated with the banner link. - */ - public BannerLinkTargetJson withType(@Nullable BannerLinkTargetJsonType type) { - this.type = type; - return this; - } - - /** - * The details of the target associated with the banner link. - */ - public BannerLinkTargetJson withDetails(@Nullable String 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; - } - BannerLinkTargetJson other = (BannerLinkTargetJson) o; - return Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.details, other.details); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(type, details); - } - - @Override - public String toString() { - return Utils.toString(BannerLinkTargetJson.class, "type", type, "details", details); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private BannerLinkTargetJsonType type; - - private String details; - - private Builder() { - // force use of static builder() method - } - - /** - * The type of target associated with the banner link. - */ - public Builder type(@Nullable BannerLinkTargetJsonType type) { - this.type = type; - return this; - } - - /** - * The details of the target associated with the banner link. - */ - public Builder details(@Nullable String details) { - this.details = details; - return this; - } - - public BannerLinkTargetJson build() { - return new BannerLinkTargetJson(type, details); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetJsonType.java b/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetJsonType.java deleted file mode 100644 index e07c0300b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetJsonType.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * BannerLinkTargetJsonType - * - *

The type of target associated with the banner link. - */ -public enum BannerLinkTargetJsonType { - ATTENDEE_HUB_PAGE("Attendee Hub Page"), - DISCUSSION_TOPIC("Discussion Topic"), - EXTERNAL_URL("External Url"), - FLOOR_PLAN_DETAILS("Floor Plan Details"), - SESSION_DETAILS("Session Details"), - SPEAKER_DETAILS("Speaker Details"), - VIRTUAL_BOOTH("Virtual Booth"); - - @JsonValue - private final String value; - - BannerLinkTargetJsonType(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (BannerLinkTargetJsonType o : BannerLinkTargetJsonType.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/BannerLinkTargetType.java b/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetType.java new file mode 100644 index 000000000..24b2347e6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BannerLinkTargetType.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * BannerLinkTargetType + * + *

The type of target associated with the banner link. + */ +public enum BannerLinkTargetType { + ATTENDEE_HUB_PAGE("Attendee Hub Page"), + DISCUSSION_TOPIC("Discussion Topic"), + EXTERNAL_URL("External Url"), + FLOOR_PLAN_DETAILS("Floor Plan Details"), + SESSION_DETAILS("Session Details"), + SPEAKER_DETAILS("Speaker Details"), + VIRTUAL_BOOTH("Virtual Booth"); + + @JsonValue + private final String value; + + BannerLinkTargetType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (BannerLinkTargetType o : BannerLinkTargetType.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/BaseAnswer.java b/packages/java/src/main/java/com/cvent/models/components/BaseAnswer.java new file mode 100644 index 000000000..2820e0c64 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BaseAnswer.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * BaseAnswer + * + *

Base entity of a question answer. + */ +public class BaseAnswer { + /** + * The unique identifier of the Answer + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Value of an answer. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("value") + private String value; + + @JsonCreator + public BaseAnswer(@JsonProperty("id") @Nullable String id, @JsonProperty("value") @Nullable String value) { + this.id = id; + this.value = value; + } + + public BaseAnswer() { + this(null, null); + } + + /** + * The unique identifier of the Answer + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Value of an answer. + */ + public Optional value() { + return Optional.ofNullable(this.value); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the Answer + */ + public BaseAnswer withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Value of an answer. + */ + public BaseAnswer withValue(@Nullable String value) { + this.value = value; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BaseAnswer other = (BaseAnswer) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.value, other.value); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, value); + } + + @Override + public String toString() { + return Utils.toString(BaseAnswer.class, "id", id, "value", value); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String value; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the Answer + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Value of an answer. + */ + public Builder value(@Nullable String value) { + this.value = value; + return this; + } + + public BaseAnswer build() { + return new BaseAnswer(id, value); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BaseAnswerJson.java b/packages/java/src/main/java/com/cvent/models/components/BaseAnswerJson.java deleted file mode 100644 index 0817396b1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BaseAnswerJson.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * BaseAnswerJson - * - *

Base entity of a question answer. - */ -public class BaseAnswerJson { - /** - * The unique identifier of the Answer - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Value of an answer. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("value") - private String value; - - @JsonCreator - public BaseAnswerJson(@JsonProperty("id") @Nullable String id, @JsonProperty("value") @Nullable String value) { - this.id = id; - this.value = value; - } - - public BaseAnswerJson() { - this(null, null); - } - - /** - * The unique identifier of the Answer - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Value of an answer. - */ - public Optional value() { - return Optional.ofNullable(this.value); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the Answer - */ - public BaseAnswerJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Value of an answer. - */ - public BaseAnswerJson withValue(@Nullable String value) { - this.value = value; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BaseAnswerJson other = (BaseAnswerJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.value, other.value); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, value); - } - - @Override - public String toString() { - return Utils.toString(BaseAnswerJson.class, "id", id, "value", value); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String value; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the Answer - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Value of an answer. - */ - public Builder value(@Nullable String value) { - this.value = value; - return this; - } - - public BaseAnswerJson build() { - return new BaseAnswerJson(id, value); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BaseQuestion.java b/packages/java/src/main/java/com/cvent/models/components/BaseQuestion.java new file mode 100644 index 000000000..8eeac33af --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BaseQuestion.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * BaseQuestion + * + *

The question that was answered. + */ +public class BaseQuestion { + /** + * The unique identifier of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Question text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + @JsonCreator + public BaseQuestion(@JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text) { + this.id = id; + this.text = text; + } + + public BaseQuestion() { + this(null, null); + } + + /** + * The unique identifier of the question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Question text. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the question. + */ + public BaseQuestion withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public BaseQuestion withText(@Nullable String text) { + this.text = text; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BaseQuestion other = (BaseQuestion) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text); + } + + @Override + public String toString() { + return Utils.toString(BaseQuestion.class, "id", id, "text", text); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + public BaseQuestion build() { + return new BaseQuestion(id, text); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BaseQuestionResponse.java b/packages/java/src/main/java/com/cvent/models/components/BaseQuestionResponse.java new file mode 100644 index 000000000..bdf16719b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BaseQuestionResponse.java @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * BaseQuestionResponse + * + *

Base entity for a question response. + */ +public class BaseQuestionResponse { + /** + * The question that was answered. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("question") + private BaseQuestion question; + + /** + * List of answers. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answers") + private List answers; + + @JsonCreator + public BaseQuestionResponse( + @JsonProperty("question") @Nullable BaseQuestion question, + @JsonProperty("answers") @Nullable List answers) { + this.question = question; + this.answers = answers; + } + + public BaseQuestionResponse() { + this(null, null); + } + + /** + * The question that was answered. + */ + public Optional question() { + return Optional.ofNullable(this.question); + } + + /** + * List of answers. + */ + public Optional> answers() { + return Optional.ofNullable(this.answers); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The question that was answered. + */ + public BaseQuestionResponse withQuestion(@Nullable BaseQuestion question) { + this.question = question; + return this; + } + + /** + * List of answers. + */ + public BaseQuestionResponse withAnswers(@Nullable List answers) { + this.answers = answers; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BaseQuestionResponse other = (BaseQuestionResponse) o; + return Utils.enhancedDeepEquals(this.question, other.question) + && Utils.enhancedDeepEquals(this.answers, other.answers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(question, answers); + } + + @Override + public String toString() { + return Utils.toString(BaseQuestionResponse.class, "question", question, "answers", answers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private BaseQuestion question; + + private List answers; + + private Builder() { + // force use of static builder() method + } + + /** + * The question that was answered. + */ + public Builder question(@Nullable BaseQuestion question) { + this.question = question; + return this; + } + + /** + * List of answers. + */ + public Builder answers(@Nullable List answers) { + this.answers = answers; + return this; + } + + public BaseQuestionResponse build() { + return new BaseQuestionResponse(question, answers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BaseQuestionResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/BaseQuestionResponseJson.java deleted file mode 100644 index 9e627698d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BaseQuestionResponseJson.java +++ /dev/null @@ -1,137 +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; - -/** - * BaseQuestionResponseJson - * - *

Base entity for a question response. - */ -public class BaseQuestionResponseJson { - /** - * The question that was answered. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("question") - private ZeroAllOf5 question; - - /** - * List of answers. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answers") - private List answers; - - @JsonCreator - public BaseQuestionResponseJson( - @JsonProperty("question") @Nullable ZeroAllOf5 question, - @JsonProperty("answers") @Nullable List answers) { - this.question = question; - this.answers = answers; - } - - public BaseQuestionResponseJson() { - this(null, null); - } - - /** - * The question that was answered. - */ - public Optional question() { - return Optional.ofNullable(this.question); - } - - /** - * List of answers. - */ - public Optional> answers() { - return Optional.ofNullable(this.answers); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The question that was answered. - */ - public BaseQuestionResponseJson withQuestion(@Nullable ZeroAllOf5 question) { - this.question = question; - return this; - } - - /** - * List of answers. - */ - public BaseQuestionResponseJson withAnswers(@Nullable List answers) { - this.answers = answers; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BaseQuestionResponseJson other = (BaseQuestionResponseJson) o; - return Utils.enhancedDeepEquals(this.question, other.question) - && Utils.enhancedDeepEquals(this.answers, other.answers); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(question, answers); - } - - @Override - public String toString() { - return Utils.toString(BaseQuestionResponseJson.class, "question", question, "answers", answers); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private ZeroAllOf5 question; - - private List answers; - - private Builder() { - // force use of static builder() method - } - - /** - * The question that was answered. - */ - public Builder question(@Nullable ZeroAllOf5 question) { - this.question = question; - return this; - } - - /** - * List of answers. - */ - public Builder answers(@Nullable List answers) { - this.answers = answers; - return this; - } - - public BaseQuestionResponseJson build() { - return new BaseQuestionResponseJson(question, answers); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.java b/packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.java index fe379c033..e376fc12e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.java +++ b/packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.java @@ -13,12 +13,14 @@ * *

The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

not_offered indicates the hotel does not offer this amenity (supply side only). */ public enum BidItemStatusType { REQUESTED("requested"), DELETE_REQUESTED("delete_requested"), DELETED("deleted"), - NOT_AVAILABLE("not_available"); + NOT_OFFERED("not_offered"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/BudgetCategory.java b/packages/java/src/main/java/com/cvent/models/components/BudgetCategory.java new file mode 100644 index 000000000..10b473488 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BudgetCategory.java @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * BudgetCategory + * + *

Denotes the category assigned to the budget item. + */ +public class BudgetCategory { + /** + * Unique identifier of the budget category. + */ + @JsonProperty("id") + private long id; + + /** + * Name of the budget category assigned to the budget item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public BudgetCategory(@JsonProperty("id") long id, @JsonProperty("name") @Nullable String name) { + this.id = id; + this.name = name; + } + + public BudgetCategory(long id) { + this(id, null); + } + + /** + * Unique identifier of the budget category. + */ + public long id() { + return this.id; + } + + /** + * Name of the budget category assigned to the budget item. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier of the budget category. + */ + public BudgetCategory withId(long id) { + this.id = id; + return this; + } + + /** + * Name of the budget category assigned to the budget item. + */ + public BudgetCategory withName(@Nullable String name) { + this.name = name; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BudgetCategory other = (BudgetCategory) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name); + } + + @Override + public String toString() { + return Utils.toString(BudgetCategory.class, "id", id, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private long id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier of the budget category. + */ + public Builder id(long id) { + this.id = id; + return this; + } + + /** + * Name of the budget category assigned to the budget item. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public BudgetCategory build() { + return new BudgetCategory(id, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BudgetCostDetail.java b/packages/java/src/main/java/com/cvent/models/components/BudgetCostDetail.java new file mode 100644 index 000000000..ebb399551 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BudgetCostDetail.java @@ -0,0 +1,270 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * BudgetCostDetail + * + *

The budget entry in detail, which consists of the budget category or sub-category, the number of + * units, the cost per unit, and the total amount. + */ +public class BudgetCostDetail { + /** + * Denotes the category assigned to the budget item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("category") + private BudgetCategory category; + + /** + * This is used to denote the sub category for a budget. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("subCategory") + private BudgetSubCategory subCategory; + + /** + * The number of units associated with a budget item. This field can be any number if the budget item + * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("units") + private Double units; + + /** + * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this + * field won't be applied to the creation or update of a Meeting Request. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("cost") + private Double cost; + + /** + * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will + * be set as the result of units times cost. The value of this field will be applied to the creation or + * update of a Meeting Request only if the cost type is *Fixed*. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalCost") + private Double totalCost; + + @JsonCreator + public BudgetCostDetail( + @JsonProperty("category") @Nullable BudgetCategory category, + @JsonProperty("subCategory") @Nullable BudgetSubCategory subCategory, + @JsonProperty("units") @Nullable Double units, + @JsonProperty("cost") @Nullable Double cost, + @JsonProperty("totalCost") @Nullable Double totalCost) { + this.category = category; + this.subCategory = subCategory; + this.units = units; + this.cost = cost; + this.totalCost = totalCost; + } + + public BudgetCostDetail() { + this(null, null, null, null, null); + } + + /** + * Denotes the category assigned to the budget item. + */ + public Optional category() { + return Optional.ofNullable(this.category); + } + + /** + * This is used to denote the sub category for a budget. + */ + public Optional subCategory() { + return Optional.ofNullable(this.subCategory); + } + + /** + * The number of units associated with a budget item. This field can be any number if the budget item + * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. + */ + public Optional units() { + return Optional.ofNullable(this.units); + } + + /** + * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this + * field won't be applied to the creation or update of a Meeting Request. + */ + public Optional cost() { + return Optional.ofNullable(this.cost); + } + + /** + * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will + * be set as the result of units times cost. The value of this field will be applied to the creation or + * update of a Meeting Request only if the cost type is *Fixed*. + */ + public Optional totalCost() { + return Optional.ofNullable(this.totalCost); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Denotes the category assigned to the budget item. + */ + public BudgetCostDetail withCategory(@Nullable BudgetCategory category) { + this.category = category; + return this; + } + + /** + * This is used to denote the sub category for a budget. + */ + public BudgetCostDetail withSubCategory(@Nullable BudgetSubCategory subCategory) { + this.subCategory = subCategory; + return this; + } + + /** + * The number of units associated with a budget item. This field can be any number if the budget item + * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. + */ + public BudgetCostDetail withUnits(@Nullable Double units) { + this.units = units; + return this; + } + + /** + * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this + * field won't be applied to the creation or update of a Meeting Request. + */ + public BudgetCostDetail withCost(@Nullable Double cost) { + this.cost = cost; + return this; + } + + /** + * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will + * be set as the result of units times cost. The value of this field will be applied to the creation or + * update of a Meeting Request only if the cost type is *Fixed*. + */ + public BudgetCostDetail withTotalCost(@Nullable Double totalCost) { + this.totalCost = totalCost; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BudgetCostDetail other = (BudgetCostDetail) o; + return Utils.enhancedDeepEquals(this.category, other.category) + && Utils.enhancedDeepEquals(this.subCategory, other.subCategory) + && Utils.enhancedDeepEquals(this.units, other.units) + && Utils.enhancedDeepEquals(this.cost, other.cost) + && Utils.enhancedDeepEquals(this.totalCost, other.totalCost); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(category, subCategory, units, cost, totalCost); + } + + @Override + public String toString() { + return Utils.toString( + BudgetCostDetail.class, + "category", + category, + "subCategory", + subCategory, + "units", + units, + "cost", + cost, + "totalCost", + totalCost); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private BudgetCategory category; + + private BudgetSubCategory subCategory; + + private Double units; + + private Double cost; + + private Double totalCost; + + private Builder() { + // force use of static builder() method + } + + /** + * Denotes the category assigned to the budget item. + */ + public Builder category(@Nullable BudgetCategory category) { + this.category = category; + return this; + } + + /** + * This is used to denote the sub category for a budget. + */ + public Builder subCategory(@Nullable BudgetSubCategory subCategory) { + this.subCategory = subCategory; + return this; + } + + /** + * The number of units associated with a budget item. This field can be any number if the budget item + * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. + */ + public Builder units(@Nullable Double units) { + this.units = units; + return this; + } + + /** + * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this + * field won't be applied to the creation or update of a Meeting Request. + */ + public Builder cost(@Nullable Double cost) { + this.cost = cost; + return this; + } + + /** + * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will + * be set as the result of units times cost. The value of this field will be applied to the creation or + * update of a Meeting Request only if the cost type is *Fixed*. + */ + public Builder totalCost(@Nullable Double totalCost) { + this.totalCost = totalCost; + return this; + } + + public BudgetCostDetail build() { + return new BudgetCostDetail(category, subCategory, units, cost, totalCost); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BudgetCostDetailJson1.java b/packages/java/src/main/java/com/cvent/models/components/BudgetCostDetailJson1.java deleted file mode 100644 index 7384953a7..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BudgetCostDetailJson1.java +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * BudgetCostDetailJson1 - * - *

The budget entry in detail, which consists of the budget category or sub-category, the number of - * units, the cost per unit, and the total amount. - */ -public class BudgetCostDetailJson1 { - /** - * Denotes the category assigned to the budget item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("category") - private BudgetCategoryJson category; - - /** - * This is used to denote the sub category for a budget. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("subCategory") - private BudgetSubCategoryJson subCategory; - - /** - * The number of units associated with a budget item. This field can be any number if the budget item - * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("units") - private Double units; - - /** - * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this - * field won't be applied to the creation or update of a Meeting Request. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("cost") - private Double cost; - - /** - * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will - * be set as the result of units times cost. The value of this field will be applied to the creation or - * update of a Meeting Request only if the cost type is *Fixed*. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalCost") - private Double totalCost; - - @JsonCreator - public BudgetCostDetailJson1( - @JsonProperty("category") @Nullable BudgetCategoryJson category, - @JsonProperty("subCategory") @Nullable BudgetSubCategoryJson subCategory, - @JsonProperty("units") @Nullable Double units, - @JsonProperty("cost") @Nullable Double cost, - @JsonProperty("totalCost") @Nullable Double totalCost) { - this.category = category; - this.subCategory = subCategory; - this.units = units; - this.cost = cost; - this.totalCost = totalCost; - } - - public BudgetCostDetailJson1() { - this(null, null, null, null, null); - } - - /** - * Denotes the category assigned to the budget item. - */ - public Optional category() { - return Optional.ofNullable(this.category); - } - - /** - * This is used to denote the sub category for a budget. - */ - public Optional subCategory() { - return Optional.ofNullable(this.subCategory); - } - - /** - * The number of units associated with a budget item. This field can be any number if the budget item - * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. - */ - public Optional units() { - return Optional.ofNullable(this.units); - } - - /** - * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this - * field won't be applied to the creation or update of a Meeting Request. - */ - public Optional cost() { - return Optional.ofNullable(this.cost); - } - - /** - * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will - * be set as the result of units times cost. The value of this field will be applied to the creation or - * update of a Meeting Request only if the cost type is *Fixed*. - */ - public Optional totalCost() { - return Optional.ofNullable(this.totalCost); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Denotes the category assigned to the budget item. - */ - public BudgetCostDetailJson1 withCategory(@Nullable BudgetCategoryJson category) { - this.category = category; - return this; - } - - /** - * This is used to denote the sub category for a budget. - */ - public BudgetCostDetailJson1 withSubCategory(@Nullable BudgetSubCategoryJson subCategory) { - this.subCategory = subCategory; - return this; - } - - /** - * The number of units associated with a budget item. This field can be any number if the budget item - * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. - */ - public BudgetCostDetailJson1 withUnits(@Nullable Double units) { - this.units = units; - return this; - } - - /** - * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this - * field won't be applied to the creation or update of a Meeting Request. - */ - public BudgetCostDetailJson1 withCost(@Nullable Double cost) { - this.cost = cost; - return this; - } - - /** - * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will - * be set as the result of units times cost. The value of this field will be applied to the creation or - * update of a Meeting Request only if the cost type is *Fixed*. - */ - public BudgetCostDetailJson1 withTotalCost(@Nullable Double totalCost) { - this.totalCost = totalCost; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BudgetCostDetailJson1 other = (BudgetCostDetailJson1) o; - return Utils.enhancedDeepEquals(this.category, other.category) - && Utils.enhancedDeepEquals(this.subCategory, other.subCategory) - && Utils.enhancedDeepEquals(this.units, other.units) - && Utils.enhancedDeepEquals(this.cost, other.cost) - && Utils.enhancedDeepEquals(this.totalCost, other.totalCost); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(category, subCategory, units, cost, totalCost); - } - - @Override - public String toString() { - return Utils.toString( - BudgetCostDetailJson1.class, - "category", - category, - "subCategory", - subCategory, - "units", - units, - "cost", - cost, - "totalCost", - totalCost); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private BudgetCategoryJson category; - - private BudgetSubCategoryJson subCategory; - - private Double units; - - private Double cost; - - private Double totalCost; - - private Builder() { - // force use of static builder() method - } - - /** - * Denotes the category assigned to the budget item. - */ - public Builder category(@Nullable BudgetCategoryJson category) { - this.category = category; - return this; - } - - /** - * This is used to denote the sub category for a budget. - */ - public Builder subCategory(@Nullable BudgetSubCategoryJson subCategory) { - this.subCategory = subCategory; - return this; - } - - /** - * The number of units associated with a budget item. This field can be any number if the budget item - * is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. - */ - public Builder units(@Nullable Double units) { - this.units = units; - return this; - } - - /** - * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this - * field won't be applied to the creation or update of a Meeting Request. - */ - public Builder cost(@Nullable Double cost) { - this.cost = cost; - return this; - } - - /** - * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will - * be set as the result of units times cost. The value of this field will be applied to the creation or - * update of a Meeting Request only if the cost type is *Fixed*. - */ - public Builder totalCost(@Nullable Double totalCost) { - this.totalCost = totalCost; - return this; - } - - public BudgetCostDetailJson1 build() { - return new BudgetCostDetailJson1(category, subCategory, units, cost, totalCost); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BudgetCostType.java b/packages/java/src/main/java/com/cvent/models/components/BudgetCostType.java new file mode 100644 index 000000000..9ec8dc37c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BudgetCostType.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * BudgetCostType + * + *

Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE + * costs are based on a quantity. + */ +public enum BudgetCostType { + FIXED("FIXED"), + VARIABLE("VARIABLE"); + + @JsonValue + private final String value; + + BudgetCostType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (BudgetCostType o : BudgetCostType.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/BudgetEstimate.java b/packages/java/src/main/java/com/cvent/models/components/BudgetEstimate.java new file mode 100644 index 000000000..be5654180 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BudgetEstimate.java @@ -0,0 +1,189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * BudgetEstimate + * + *

The estimated budget of the Meeting Request. + */ +public class BudgetEstimate { + /** + * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are + * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is + * not allowed for the account during the creation or update of the Meeting Request. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currency") + private String currency; + + /** + * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE + * costs are based on a quantity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("costType") + private BudgetCostType costType; + + /** + * A list of budget entry details. Each entry consists of the budget category or sub-category, the + * number of units, the cost per unit, and the total amount. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("costDetail") + private List costDetail; + + @JsonCreator + public BudgetEstimate( + @JsonProperty("currency") @Nullable String currency, + @JsonProperty("costType") @Nullable BudgetCostType costType, + @JsonProperty("costDetail") @Nullable List costDetail) { + this.currency = currency; + this.costType = costType; + this.costDetail = costDetail; + } + + public BudgetEstimate() { + this(null, null, null); + } + + /** + * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are + * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is + * not allowed for the account during the creation or update of the Meeting Request. + */ + public Optional currency() { + return Optional.ofNullable(this.currency); + } + + /** + * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE + * costs are based on a quantity. + */ + public Optional costType() { + return Optional.ofNullable(this.costType); + } + + /** + * A list of budget entry details. Each entry consists of the budget category or sub-category, the + * number of units, the cost per unit, and the total amount. + */ + public Optional> costDetail() { + return Optional.ofNullable(this.costDetail); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are + * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is + * not allowed for the account during the creation or update of the Meeting Request. + */ + public BudgetEstimate withCurrency(@Nullable String currency) { + this.currency = currency; + return this; + } + + /** + * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE + * costs are based on a quantity. + */ + public BudgetEstimate withCostType(@Nullable BudgetCostType costType) { + this.costType = costType; + return this; + } + + /** + * A list of budget entry details. Each entry consists of the budget category or sub-category, the + * number of units, the cost per unit, and the total amount. + */ + public BudgetEstimate withCostDetail(@Nullable List costDetail) { + this.costDetail = costDetail; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BudgetEstimate other = (BudgetEstimate) o; + return Utils.enhancedDeepEquals(this.currency, other.currency) + && Utils.enhancedDeepEquals(this.costType, other.costType) + && Utils.enhancedDeepEquals(this.costDetail, other.costDetail); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(currency, costType, costDetail); + } + + @Override + public String toString() { + return Utils.toString( + BudgetEstimate.class, "currency", currency, "costType", costType, "costDetail", costDetail); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String currency; + + private BudgetCostType costType; + + private List costDetail; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are + * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is + * not allowed for the account during the creation or update of the Meeting Request. + */ + public Builder currency(@Nullable String currency) { + this.currency = currency; + return this; + } + + /** + * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE + * costs are based on a quantity. + */ + public Builder costType(@Nullable BudgetCostType costType) { + this.costType = costType; + return this; + } + + /** + * A list of budget entry details. Each entry consists of the budget category or sub-category, the + * number of units, the cost per unit, and the total amount. + */ + public Builder costDetail(@Nullable List costDetail) { + this.costDetail = costDetail; + return this; + } + + public BudgetEstimate build() { + return new BudgetEstimate(currency, costType, costDetail); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BudgetEstimateJson.java b/packages/java/src/main/java/com/cvent/models/components/BudgetEstimateJson.java deleted file mode 100644 index ea0816f25..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BudgetEstimateJson.java +++ /dev/null @@ -1,189 +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; - -/** - * BudgetEstimateJson - * - *

The estimated budget of the Meeting Request. - */ -public class BudgetEstimateJson { - /** - * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are - * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is - * not allowed for the account during the creation or update of the Meeting Request. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("currency") - private String currency; - - /** - * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE - * costs are based on a quantity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("costType") - private BudgetCostTypeJson costType; - - /** - * A list of budget entry details. Each entry consists of the budget category or sub-category, the - * number of units, the cost per unit, and the total amount. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("costDetail") - private List costDetail; - - @JsonCreator - public BudgetEstimateJson( - @JsonProperty("currency") @Nullable String currency, - @JsonProperty("costType") @Nullable BudgetCostTypeJson costType, - @JsonProperty("costDetail") @Nullable List costDetail) { - this.currency = currency; - this.costType = costType; - this.costDetail = costDetail; - } - - public BudgetEstimateJson() { - this(null, null, null); - } - - /** - * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are - * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is - * not allowed for the account during the creation or update of the Meeting Request. - */ - public Optional currency() { - return Optional.ofNullable(this.currency); - } - - /** - * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE - * costs are based on a quantity. - */ - public Optional costType() { - return Optional.ofNullable(this.costType); - } - - /** - * A list of budget entry details. Each entry consists of the budget category or sub-category, the - * number of units, the cost per unit, and the total amount. - */ - public Optional> costDetail() { - return Optional.ofNullable(this.costDetail); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are - * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is - * not allowed for the account during the creation or update of the Meeting Request. - */ - public BudgetEstimateJson withCurrency(@Nullable String currency) { - this.currency = currency; - return this; - } - - /** - * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE - * costs are based on a quantity. - */ - public BudgetEstimateJson withCostType(@Nullable BudgetCostTypeJson costType) { - this.costType = costType; - return this; - } - - /** - * A list of budget entry details. Each entry consists of the budget category or sub-category, the - * number of units, the cost per unit, and the total amount. - */ - public BudgetEstimateJson withCostDetail(@Nullable List costDetail) { - this.costDetail = costDetail; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BudgetEstimateJson other = (BudgetEstimateJson) o; - return Utils.enhancedDeepEquals(this.currency, other.currency) - && Utils.enhancedDeepEquals(this.costType, other.costType) - && Utils.enhancedDeepEquals(this.costDetail, other.costDetail); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(currency, costType, costDetail); - } - - @Override - public String toString() { - return Utils.toString( - BudgetEstimateJson.class, "currency", currency, "costType", costType, "costDetail", costDetail); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String currency; - - private BudgetCostTypeJson costType; - - private List costDetail; - - private Builder() { - // force use of static builder() method - } - - /** - * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are - * configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is - * not allowed for the account during the creation or update of the Meeting Request. - */ - public Builder currency(@Nullable String currency) { - this.currency = currency; - return this; - } - - /** - * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE - * costs are based on a quantity. - */ - public Builder costType(@Nullable BudgetCostTypeJson costType) { - this.costType = costType; - return this; - } - - /** - * A list of budget entry details. Each entry consists of the budget category or sub-category, the - * number of units, the cost per unit, and the total amount. - */ - public Builder costDetail(@Nullable List costDetail) { - this.costDetail = costDetail; - return this; - } - - public BudgetEstimateJson build() { - return new BudgetEstimateJson(currency, costType, costDetail); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BudgetSubCategory.java b/packages/java/src/main/java/com/cvent/models/components/BudgetSubCategory.java new file mode 100644 index 000000000..8fe34e60d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BudgetSubCategory.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * BudgetSubCategory + * + *

This is used to denote the sub category for a budget. + */ +public class BudgetSubCategory { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Name of the budget subcategory assigned to the budget item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public BudgetSubCategory(@JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { + this.id = id; + this.name = name; + } + + public BudgetSubCategory() { + this(null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Name of the budget subcategory assigned to the budget item. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public BudgetSubCategory withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Name of the budget subcategory assigned to the budget item. + */ + public BudgetSubCategory withName(@Nullable String name) { + this.name = name; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BudgetSubCategory other = (BudgetSubCategory) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name); + } + + @Override + public String toString() { + return Utils.toString(BudgetSubCategory.class, "id", id, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Name of the budget subcategory assigned to the budget item. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public BudgetSubCategory build() { + return new BudgetSubCategory(id, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkData.java b/packages/java/src/main/java/com/cvent/models/components/BulkData.java index 4235a1a05..1940948c4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BulkData.java +++ b/packages/java/src/main/java/com/cvent/models/components/BulkData.java @@ -25,10 +25,10 @@ public class BulkData { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator - public BulkData(@JsonProperty("data") @Nullable List data) { + public BulkData(@JsonProperty("data") @Nullable List data) { this.data = data; } @@ -39,7 +39,7 @@ public BulkData() { /** * Collection of objects to be processed */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -50,7 +50,7 @@ public static Builder builder() { /** * Collection of objects to be processed */ - public BulkData withData(@Nullable List data) { + public BulkData withData(@Nullable List data) { this.data = data; return this; } @@ -80,7 +80,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List data; + private List data; private Builder() { // force use of static builder() method @@ -89,7 +89,7 @@ private Builder() { /** * Collection of objects to be processed */ - public Builder data(@Nullable List data) { + public Builder data(@Nullable List data) { this.data = data; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkDataProperty.java b/packages/java/src/main/java/com/cvent/models/components/BulkDataProperty.java index ad2090f26..4689032c3 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BulkDataProperty.java +++ b/packages/java/src/main/java/com/cvent/models/components/BulkDataProperty.java @@ -18,7 +18,7 @@ /** * BulkDataProperty * - *

The response data for the bulk operation. + *

Data Record envelope */ public class BulkDataProperty { /** @@ -57,14 +57,14 @@ public class BulkDataProperty { * format of the Create Session endpoint. */ @JsonProperty("dataRecord") - private Map dataRecord; + private Map dataRecord; @JsonCreator public BulkDataProperty( @JsonProperty("pathParams") @Nullable Map pathParams, @JsonProperty("queryParams") @Nullable Map queryParams, @JsonProperty("headers") @Nullable Map headers, - @JsonProperty("dataRecord") @Nonnull Map dataRecord) { + @JsonProperty("dataRecord") @Nonnull Map dataRecord) { dataRecord = Utils.emptyMapIfNull(dataRecord); this.pathParams = pathParams; this.queryParams = queryParams; @@ -73,7 +73,7 @@ public BulkDataProperty( .orElseThrow(() -> new IllegalArgumentException("dataRecord cannot be null")); } - public BulkDataProperty(@Nonnull Map dataRecord) { + public BulkDataProperty(@Nonnull Map dataRecord) { this(null, null, null, dataRecord); } @@ -112,7 +112,7 @@ public Optional> headers() { *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the * format of the Create Session endpoint. */ - public Map dataRecord() { + public Map dataRecord() { return this.dataRecord; } @@ -158,7 +158,7 @@ public BulkDataProperty withHeaders(@Nullable Map headers) { *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the * format of the Create Session endpoint. */ - public BulkDataProperty withDataRecord(@Nonnull Map dataRecord) { + public BulkDataProperty withDataRecord(@Nonnull Map dataRecord) { this.dataRecord = Utils.checkNotNull(dataRecord, "dataRecord"); return this; } @@ -206,7 +206,7 @@ public static final class Builder { private Map headers; - private Map dataRecord; + private Map dataRecord; private Builder() { // force use of static builder() method @@ -250,7 +250,7 @@ public Builder headers(@Nullable Map headers) { *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the * format of the Create Session endpoint. */ - public Builder dataRecord(@Nonnull Map dataRecord) { + public Builder dataRecord(@Nonnull Map dataRecord) { this.dataRecord = Utils.checkNotNull(dataRecord, "dataRecord"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkDataPropertyJson.java b/packages/java/src/main/java/com/cvent/models/components/BulkDataPropertyJson.java deleted file mode 100644 index 004980755..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BulkDataPropertyJson.java +++ /dev/null @@ -1,262 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Map; -import java.util.Optional; - -/** - * BulkDataPropertyJson - * - *

Data Record envelope - */ -public class BulkDataPropertyJson { - /** - * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. - * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target - * endpoint has path parameters. - * - *

Values must NOT be null. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("pathParams") - private Map pathParams; - - /** - * Query params specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level queryParams. Values must NOT be null. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("queryParams") - private Map queryParams; - - /** - * Headers specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level headers. Values must NOT be null. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("headers") - private Map headers; - - /** - * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply - * received when fetching results. For the request, this data must be structured in the way the API - * you're running a bulk job for accepts. - * - *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the - * format of the Create Session endpoint. - */ - @JsonProperty("dataRecord") - private Map dataRecord; - - @JsonCreator - public BulkDataPropertyJson( - @JsonProperty("pathParams") @Nullable Map pathParams, - @JsonProperty("queryParams") @Nullable Map queryParams, - @JsonProperty("headers") @Nullable Map headers, - @JsonProperty("dataRecord") @Nonnull Map dataRecord) { - dataRecord = Utils.emptyMapIfNull(dataRecord); - this.pathParams = pathParams; - this.queryParams = queryParams; - this.headers = headers; - this.dataRecord = Optional.ofNullable(dataRecord) - .orElseThrow(() -> new IllegalArgumentException("dataRecord cannot be null")); - } - - public BulkDataPropertyJson(@Nonnull Map dataRecord) { - this(null, null, null, dataRecord); - } - - /** - * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. - * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target - * endpoint has path parameters. - * - *

Values must NOT be null. - */ - public Optional> pathParams() { - return Optional.ofNullable(this.pathParams); - } - - /** - * Query params specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level queryParams. Values must NOT be null. - */ - public Optional> queryParams() { - return Optional.ofNullable(this.queryParams); - } - - /** - * Headers specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level headers. Values must NOT be null. - */ - public Optional> headers() { - return Optional.ofNullable(this.headers); - } - - /** - * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply - * received when fetching results. For the request, this data must be structured in the way the API - * you're running a bulk job for accepts. - * - *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the - * format of the Create Session endpoint. - */ - public Map dataRecord() { - return this.dataRecord; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. - * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target - * endpoint has path parameters. - * - *

Values must NOT be null. - */ - public BulkDataPropertyJson withPathParams(@Nullable Map pathParams) { - this.pathParams = pathParams; - return this; - } - - /** - * Query params specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level queryParams. Values must NOT be null. - */ - public BulkDataPropertyJson withQueryParams(@Nullable Map queryParams) { - this.queryParams = queryParams; - return this; - } - - /** - * Headers specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level headers. Values must NOT be null. - */ - public BulkDataPropertyJson withHeaders(@Nullable Map headers) { - this.headers = headers; - return this; - } - - /** - * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply - * received when fetching results. For the request, this data must be structured in the way the API - * you're running a bulk job for accepts. - * - *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the - * format of the Create Session endpoint. - */ - public BulkDataPropertyJson withDataRecord(@Nonnull Map dataRecord) { - this.dataRecord = Utils.checkNotNull(dataRecord, "dataRecord"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BulkDataPropertyJson other = (BulkDataPropertyJson) o; - return Utils.enhancedDeepEquals(this.pathParams, other.pathParams) - && Utils.enhancedDeepEquals(this.queryParams, other.queryParams) - && Utils.enhancedDeepEquals(this.headers, other.headers) - && Utils.enhancedDeepEquals(this.dataRecord, other.dataRecord); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(pathParams, queryParams, headers, dataRecord); - } - - @Override - public String toString() { - return Utils.toString( - BulkDataPropertyJson.class, - "pathParams", - pathParams, - "queryParams", - queryParams, - "headers", - headers, - "dataRecord", - dataRecord); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Map pathParams; - - private Map queryParams; - - private Map headers; - - private Map dataRecord; - - private Builder() { - // force use of static builder() method - } - - /** - * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. - * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target - * endpoint has path parameters. - * - *

Values must NOT be null. - */ - public Builder pathParams(@Nullable Map pathParams) { - this.pathParams = pathParams; - return this; - } - - /** - * Query params specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level queryParams. Values must NOT be null. - */ - public Builder queryParams(@Nullable Map queryParams) { - this.queryParams = queryParams; - return this; - } - - /** - * Headers specific to this data record to pass to the target endpoint. Entries merge with, and - * overlaps override, job-level headers. Values must NOT be null. - */ - public Builder headers(@Nullable Map headers) { - this.headers = headers; - return this; - } - - /** - * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply - * received when fetching results. For the request, this data must be structured in the way the API - * you're running a bulk job for accepts. - * - *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the - * format of the Create Session endpoint. - */ - public Builder dataRecord(@Nonnull Map dataRecord) { - this.dataRecord = Utils.checkNotNull(dataRecord, "dataRecord"); - return this; - } - - public BulkDataPropertyJson build() { - return new BulkDataPropertyJson(pathParams, queryParams, headers, dataRecord); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkDataRecord.java b/packages/java/src/main/java/com/cvent/models/components/BulkDataRecord.java new file mode 100644 index 000000000..565a9a0e4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BulkDataRecord.java @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.lang.Override; +import java.lang.String; + +public class BulkDataRecord { + @JsonCreator + public BulkDataRecord() {} + + public static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Utils.enhancedHash(); + } + + @Override + public String toString() { + return Utils.toString(BulkDataRecord.class); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Builder() { + // force use of static builder() method + } + + public BulkDataRecord build() { + return new BulkDataRecord(); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkDataRecordJson.java b/packages/java/src/main/java/com/cvent/models/components/BulkDataRecordJson.java deleted file mode 100644 index 4b6b777d0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BulkDataRecordJson.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import java.lang.Override; -import java.lang.String; - -public class BulkDataRecordJson { - @JsonCreator - public BulkDataRecordJson() {} - - public static Builder builder() { - return new Builder(); - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - return true; - } - - @Override - public int hashCode() { - return Utils.enhancedHash(); - } - - @Override - public String toString() { - return Utils.toString(BulkDataRecordJson.class); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Builder() { - // force use of static builder() method - } - - public BulkDataRecordJson build() { - return new BulkDataRecordJson(); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkDataUploadResponse.java b/packages/java/src/main/java/com/cvent/models/components/BulkDataUploadResponse.java index d81358fc1..4061e8fc8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BulkDataUploadResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/BulkDataUploadResponse.java @@ -26,7 +26,7 @@ public class BulkDataUploadResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; /** * The number of successfully uploaded data records @@ -37,8 +37,7 @@ public class BulkDataUploadResponse { @JsonCreator public BulkDataUploadResponse( - @JsonProperty("data") @Nullable List data, - @JsonProperty("count") @Nullable Long count) { + @JsonProperty("data") @Nullable List data, @JsonProperty("count") @Nullable Long count) { this.data = data; this.count = count; } @@ -50,7 +49,7 @@ public BulkDataUploadResponse() { /** * Collection of objects to be processed */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -68,7 +67,7 @@ public static Builder builder() { /** * Collection of objects to be processed */ - public BulkDataUploadResponse withData(@Nullable List data) { + public BulkDataUploadResponse withData(@Nullable List data) { this.data = data; return this; } @@ -106,7 +105,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List data; + private List data; private Long count; @@ -117,7 +116,7 @@ private Builder() { /** * Collection of objects to be processed */ - public Builder data(@Nullable List data) { + public Builder data(@Nullable List data) { this.data = data; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkJobWithData.java b/packages/java/src/main/java/com/cvent/models/components/BulkJobWithData.java index fa4a2c146..7b2ad199c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BulkJobWithData.java +++ b/packages/java/src/main/java/com/cvent/models/components/BulkJobWithData.java @@ -141,7 +141,7 @@ public class BulkJobWithData { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public BulkJobWithData( @@ -161,7 +161,7 @@ public BulkJobWithData( @JsonProperty("totalRecords") @Nullable Long totalRecords, @JsonProperty("successful") @Nullable Long successful, @JsonProperty("failed") @Nullable Long failed, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("data") @Nullable List data) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -303,7 +303,7 @@ public Optional failed() { /** * Collection of objects to be processed */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -444,7 +444,7 @@ public BulkJobWithData withFailed(@Nullable Long failed) { /** * Collection of objects to be processed */ - public BulkJobWithData withData(@Nullable List data) { + public BulkJobWithData withData(@Nullable List data) { this.data = data; return this; } @@ -574,7 +574,7 @@ public static final class Builder { private Long failed; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -713,7 +713,7 @@ public Builder failed(@Nullable Long failed) { /** * Collection of objects to be processed */ - public Builder data(@Nullable List data) { + public Builder data(@Nullable List data) { this.data = data; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkJobWithDataInput.java b/packages/java/src/main/java/com/cvent/models/components/BulkJobWithDataInput.java index df46d8e03..4e0371a2d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BulkJobWithDataInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/BulkJobWithDataInput.java @@ -62,7 +62,7 @@ public class BulkJobWithDataInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public BulkJobWithDataInput( @@ -71,7 +71,7 @@ public BulkJobWithDataInput( @JsonProperty("operation") @Nonnull BulkJobWithDataOperation operation, @JsonProperty("headers") @Nullable Map headers, @JsonProperty("queryParams") @Nullable Map queryParams, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("data") @Nullable List data) { this.description = description; this.url = Optional.ofNullable(url).orElseThrow(() -> new IllegalArgumentException("url cannot be null")); this.operation = Optional.ofNullable(operation) @@ -125,7 +125,7 @@ public Optional> queryParams() { /** * Collection of objects to be processed */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -178,7 +178,7 @@ public BulkJobWithDataInput withQueryParams(@Nullable Map queryP /** * Collection of objects to be processed */ - public BulkJobWithDataInput withData(@Nullable List data) { + public BulkJobWithDataInput withData(@Nullable List data) { this.data = data; return this; } @@ -236,7 +236,7 @@ public static final class Builder { private Map queryParams; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -287,7 +287,7 @@ public Builder queryParams(@Nullable Map queryParams) { /** * Collection of objects to be processed */ - public Builder data(@Nullable List data) { + public Builder data(@Nullable List data) { this.data = data; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkResult.java b/packages/java/src/main/java/com/cvent/models/components/BulkResult.java new file mode 100644 index 000000000..eee0f3b42 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BulkResult.java @@ -0,0 +1,345 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.Map; +import java.util.Optional; + +/** + * BulkResult + * + *

This entity is used to represent a single item that is returned as part of a Bulk Job Result call. + */ +public class BulkResult { + /** + * The response data for the bulk operation. + */ + @JsonProperty("data") + private BulkResultBulkDataProperty data; + + /** + * http status code representing processing status of a single item + */ + @JsonProperty("status") + private long status; + + /** + * Quick description of what happened with processing + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message") + private String message; + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("request") + private Map request; + + /** + * The bulk result identifier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private Long id; + + /** + * Unique identifier of the bulk job linked to this result. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("job") + private Job job; + + /** + * A `true` value indicates the target operation returned an HTTP error status code. + * + *

**Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be + * `false` even when individual items within the response body indicate failure. For such operations, + * inspect the `data` field to determine which items succeeded or failed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("failed") + private Boolean failed; + + @JsonCreator + public BulkResult( + @JsonProperty("data") @Nonnull BulkResultBulkDataProperty data, + @JsonProperty("status") long status, + @JsonProperty("message") @Nullable String message, + @JsonProperty("request") @Nullable Map request, + @JsonProperty("id") @Nullable Long id, + @JsonProperty("job") @Nullable Job job, + @JsonProperty("failed") @Nullable Boolean failed) { + this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); + this.status = status; + this.message = message; + this.request = request; + this.id = id; + this.job = job; + this.failed = failed; + } + + public BulkResult(@Nonnull BulkResultBulkDataProperty data, long status) { + this(data, status, null, null, null, null, null); + } + + /** + * The response data for the bulk operation. + */ + public BulkResultBulkDataProperty data() { + return this.data; + } + + /** + * http status code representing processing status of a single item + */ + public long status() { + return this.status; + } + + /** + * Quick description of what happened with processing + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public Optional> request() { + return Optional.ofNullable(this.request); + } + + /** + * The bulk result identifier. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Unique identifier of the bulk job linked to this result. + */ + public Optional job() { + return Optional.ofNullable(this.job); + } + + /** + * A `true` value indicates the target operation returned an HTTP error status code. + * + *

**Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be + * `false` even when individual items within the response body indicate failure. For such operations, + * inspect the `data` field to determine which items succeeded or failed. + */ + public Optional failed() { + return Optional.ofNullable(this.failed); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The response data for the bulk operation. + */ + public BulkResult withData(@Nonnull BulkResultBulkDataProperty data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + /** + * http status code representing processing status of a single item + */ + public BulkResult withStatus(long status) { + this.status = status; + return this; + } + + /** + * Quick description of what happened with processing + */ + public BulkResult withMessage(@Nullable String message) { + this.message = message; + return this; + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public BulkResult withRequest(@Nullable Map request) { + this.request = request; + return this; + } + + /** + * The bulk result identifier. + */ + public BulkResult withId(@Nullable Long id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the bulk job linked to this result. + */ + public BulkResult withJob(@Nullable Job job) { + this.job = job; + return this; + } + + /** + * A `true` value indicates the target operation returned an HTTP error status code. + * + *

**Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be + * `false` even when individual items within the response body indicate failure. For such operations, + * inspect the `data` field to determine which items succeeded or failed. + */ + public BulkResult withFailed(@Nullable Boolean failed) { + this.failed = failed; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BulkResult other = (BulkResult) o; + return Utils.enhancedDeepEquals(this.data, other.data) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.message, other.message) + && Utils.enhancedDeepEquals(this.request, other.request) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.job, other.job) + && Utils.enhancedDeepEquals(this.failed, other.failed); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(data, status, message, request, id, job, failed); + } + + @Override + public String toString() { + return Utils.toString( + BulkResult.class, + "data", + data, + "status", + status, + "message", + message, + "request", + request, + "id", + id, + "job", + job, + "failed", + failed); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private BulkResultBulkDataProperty data; + + private long status; + + private String message; + + private Map request; + + private Long id; + + private Job job; + + private Boolean failed; + + private Builder() { + // force use of static builder() method + } + + /** + * The response data for the bulk operation. + */ + public Builder data(@Nonnull BulkResultBulkDataProperty data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + /** + * http status code representing processing status of a single item + */ + public Builder status(long status) { + this.status = status; + return this; + } + + /** + * Quick description of what happened with processing + */ + public Builder message(@Nullable String message) { + this.message = message; + return this; + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public Builder request(@Nullable Map request) { + this.request = request; + return this; + } + + /** + * The bulk result identifier. + */ + public Builder id(@Nullable Long id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the bulk job linked to this result. + */ + public Builder job(@Nullable Job job) { + this.job = job; + return this; + } + + /** + * A `true` value indicates the target operation returned an HTTP error status code. + * + *

**Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be + * `false` even when individual items within the response body indicate failure. For such operations, + * inspect the `data` field to determine which items succeeded or failed. + */ + public Builder failed(@Nullable Boolean failed) { + this.failed = failed; + return this; + } + + public BulkResult build() { + return new BulkResult(data, status, message, request, id, job, failed); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkResultBulkDataProperty.java b/packages/java/src/main/java/com/cvent/models/components/BulkResultBulkDataProperty.java new file mode 100644 index 000000000..35114100d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BulkResultBulkDataProperty.java @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Map; +import java.util.Optional; + +/** + * BulkResultBulkDataProperty + * + *

The response data for the bulk operation. + */ +public class BulkResultBulkDataProperty { + /** + * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. + * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target + * endpoint has path parameters. + * + *

Values must NOT be null. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("pathParams") + private Map pathParams; + + /** + * Query params specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level queryParams. Values must NOT be null. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("queryParams") + private Map queryParams; + + /** + * Headers specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level headers. Values must NOT be null. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("headers") + private Map headers; + + /** + * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply + * received when fetching results. For the request, this data must be structured in the way the API + * you're running a bulk job for accepts. + * + *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the + * format of the Create Session endpoint. + */ + @JsonProperty("dataRecord") + private Map dataRecord; + + @JsonCreator + public BulkResultBulkDataProperty( + @JsonProperty("pathParams") @Nullable Map pathParams, + @JsonProperty("queryParams") @Nullable Map queryParams, + @JsonProperty("headers") @Nullable Map headers, + @JsonProperty("dataRecord") @Nonnull Map dataRecord) { + dataRecord = Utils.emptyMapIfNull(dataRecord); + this.pathParams = pathParams; + this.queryParams = queryParams; + this.headers = headers; + this.dataRecord = Optional.ofNullable(dataRecord) + .orElseThrow(() -> new IllegalArgumentException("dataRecord cannot be null")); + } + + public BulkResultBulkDataProperty(@Nonnull Map dataRecord) { + this(null, null, null, dataRecord); + } + + /** + * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. + * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target + * endpoint has path parameters. + * + *

Values must NOT be null. + */ + public Optional> pathParams() { + return Optional.ofNullable(this.pathParams); + } + + /** + * Query params specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level queryParams. Values must NOT be null. + */ + public Optional> queryParams() { + return Optional.ofNullable(this.queryParams); + } + + /** + * Headers specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level headers. Values must NOT be null. + */ + public Optional> headers() { + return Optional.ofNullable(this.headers); + } + + /** + * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply + * received when fetching results. For the request, this data must be structured in the way the API + * you're running a bulk job for accepts. + * + *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the + * format of the Create Session endpoint. + */ + public Map dataRecord() { + return this.dataRecord; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. + * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target + * endpoint has path parameters. + * + *

Values must NOT be null. + */ + public BulkResultBulkDataProperty withPathParams(@Nullable Map pathParams) { + this.pathParams = pathParams; + return this; + } + + /** + * Query params specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level queryParams. Values must NOT be null. + */ + public BulkResultBulkDataProperty withQueryParams(@Nullable Map queryParams) { + this.queryParams = queryParams; + return this; + } + + /** + * Headers specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level headers. Values must NOT be null. + */ + public BulkResultBulkDataProperty withHeaders(@Nullable Map headers) { + this.headers = headers; + return this; + } + + /** + * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply + * received when fetching results. For the request, this data must be structured in the way the API + * you're running a bulk job for accepts. + * + *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the + * format of the Create Session endpoint. + */ + public BulkResultBulkDataProperty withDataRecord(@Nonnull Map dataRecord) { + this.dataRecord = Utils.checkNotNull(dataRecord, "dataRecord"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BulkResultBulkDataProperty other = (BulkResultBulkDataProperty) o; + return Utils.enhancedDeepEquals(this.pathParams, other.pathParams) + && Utils.enhancedDeepEquals(this.queryParams, other.queryParams) + && Utils.enhancedDeepEquals(this.headers, other.headers) + && Utils.enhancedDeepEquals(this.dataRecord, other.dataRecord); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(pathParams, queryParams, headers, dataRecord); + } + + @Override + public String toString() { + return Utils.toString( + BulkResultBulkDataProperty.class, + "pathParams", + pathParams, + "queryParams", + queryParams, + "headers", + headers, + "dataRecord", + dataRecord); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Map pathParams; + + private Map queryParams; + + private Map headers; + + private Map dataRecord; + + private Builder() { + // force use of static builder() method + } + + /** + * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. + * "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target + * endpoint has path parameters. + * + *

Values must NOT be null. + */ + public Builder pathParams(@Nullable Map pathParams) { + this.pathParams = pathParams; + return this; + } + + /** + * Query params specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level queryParams. Values must NOT be null. + */ + public Builder queryParams(@Nullable Map queryParams) { + this.queryParams = queryParams; + return this; + } + + /** + * Headers specific to this data record to pass to the target endpoint. Entries merge with, and + * overlaps override, job-level headers. Values must NOT be null. + */ + public Builder headers(@Nullable Map headers) { + this.headers = headers; + return this; + } + + /** + * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply + * received when fetching results. For the request, this data must be structured in the way the API + * you're running a bulk job for accepts. + * + *

For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the + * format of the Create Session endpoint. + */ + public Builder dataRecord(@Nonnull Map dataRecord) { + this.dataRecord = Utils.checkNotNull(dataRecord, "dataRecord"); + return this; + } + + public BulkResultBulkDataProperty build() { + return new BulkResultBulkDataProperty(pathParams, queryParams, headers, dataRecord); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkResultJson.java b/packages/java/src/main/java/com/cvent/models/components/BulkResultJson.java deleted file mode 100644 index 7abd529d9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BulkResultJson.java +++ /dev/null @@ -1,329 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Long; -import java.lang.Object; -import java.lang.Override; -import java.lang.String; -import java.util.Map; -import java.util.Optional; - -/** - * BulkResultJson - * - *

This entity is used to represent a single item that is returned as part of a Bulk Job Result call. - */ -public class BulkResultJson { - /** - * The response data for the bulk operation. - */ - @JsonProperty("data") - private BulkDataProperty data; - - /** - * http status code representing processing status of a single item - */ - @JsonProperty("status") - private long status; - - /** - * Quick description of what happened with processing - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("message") - private String message; - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("request") - private Map request; - - /** - * The bulk result identifier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private Long id; - - /** - * Unique identifier of the bulk job linked to this result. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("job") - private Job job; - - /** - * Indicator that specifies if the bulk result failed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("failed") - private Boolean failed; - - @JsonCreator - public BulkResultJson( - @JsonProperty("data") @Nonnull BulkDataProperty data, - @JsonProperty("status") long status, - @JsonProperty("message") @Nullable String message, - @JsonProperty("request") @Nullable Map request, - @JsonProperty("id") @Nullable Long id, - @JsonProperty("job") @Nullable Job job, - @JsonProperty("failed") @Nullable Boolean failed) { - this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); - this.status = status; - this.message = message; - this.request = request; - this.id = id; - this.job = job; - this.failed = failed; - } - - public BulkResultJson(@Nonnull BulkDataProperty data, long status) { - this(data, status, null, null, null, null, null); - } - - /** - * The response data for the bulk operation. - */ - public BulkDataProperty data() { - return this.data; - } - - /** - * http status code representing processing status of a single item - */ - public long status() { - return this.status; - } - - /** - * Quick description of what happened with processing - */ - public Optional message() { - return Optional.ofNullable(this.message); - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public Optional> request() { - return Optional.ofNullable(this.request); - } - - /** - * The bulk result identifier. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Unique identifier of the bulk job linked to this result. - */ - public Optional job() { - return Optional.ofNullable(this.job); - } - - /** - * Indicator that specifies if the bulk result failed. - */ - public Optional failed() { - return Optional.ofNullable(this.failed); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The response data for the bulk operation. - */ - public BulkResultJson withData(@Nonnull BulkDataProperty data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - /** - * http status code representing processing status of a single item - */ - public BulkResultJson withStatus(long status) { - this.status = status; - return this; - } - - /** - * Quick description of what happened with processing - */ - public BulkResultJson withMessage(@Nullable String message) { - this.message = message; - return this; - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public BulkResultJson withRequest(@Nullable Map request) { - this.request = request; - return this; - } - - /** - * The bulk result identifier. - */ - public BulkResultJson withId(@Nullable Long id) { - this.id = id; - return this; - } - - /** - * Unique identifier of the bulk job linked to this result. - */ - public BulkResultJson withJob(@Nullable Job job) { - this.job = job; - return this; - } - - /** - * Indicator that specifies if the bulk result failed. - */ - public BulkResultJson withFailed(@Nullable Boolean failed) { - this.failed = failed; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BulkResultJson other = (BulkResultJson) o; - return Utils.enhancedDeepEquals(this.data, other.data) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.message, other.message) - && Utils.enhancedDeepEquals(this.request, other.request) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.job, other.job) - && Utils.enhancedDeepEquals(this.failed, other.failed); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(data, status, message, request, id, job, failed); - } - - @Override - public String toString() { - return Utils.toString( - BulkResultJson.class, - "data", - data, - "status", - status, - "message", - message, - "request", - request, - "id", - id, - "job", - job, - "failed", - failed); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private BulkDataProperty data; - - private long status; - - private String message; - - private Map request; - - private Long id; - - private Job job; - - private Boolean failed; - - private Builder() { - // force use of static builder() method - } - - /** - * The response data for the bulk operation. - */ - public Builder data(@Nonnull BulkDataProperty data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - /** - * http status code representing processing status of a single item - */ - public Builder status(long status) { - this.status = status; - return this; - } - - /** - * Quick description of what happened with processing - */ - public Builder message(@Nullable String message) { - this.message = message; - return this; - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public Builder request(@Nullable Map request) { - this.request = request; - return this; - } - - /** - * The bulk result identifier. - */ - public Builder id(@Nullable Long id) { - this.id = id; - return this; - } - - /** - * Unique identifier of the bulk job linked to this result. - */ - public Builder job(@Nullable Job job) { - this.job = job; - return this; - } - - /** - * Indicator that specifies if the bulk result failed. - */ - public Builder failed(@Nullable Boolean failed) { - this.failed = failed; - return this; - } - - public BulkResultJson build() { - return new BulkResultJson(data, status, message, request, id, job, failed); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BulkResultsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/BulkResultsPaginatedResponse.java index 3b11627fb..a6c3b56f1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BulkResultsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/BulkResultsPaginatedResponse.java @@ -28,37 +28,36 @@ public class BulkResultsPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of bulk result objects. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public BulkResultsPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nonnull List data) { this.paging = paging; this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); } - public BulkResultsPaginatedResponse(@Nonnull List data) { + public BulkResultsPaginatedResponse(@Nonnull List data) { this(null, data); } /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * Collection of bulk result objects. */ - public List data() { + public List data() { return this.data; } @@ -69,7 +68,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public BulkResultsPaginatedResponse withPaging(@Nullable PagingJson paging) { + public BulkResultsPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -77,7 +76,7 @@ public BulkResultsPaginatedResponse withPaging(@Nullable PagingJson paging) { /** * Collection of bulk result objects. */ - public BulkResultsPaginatedResponse withData(@Nonnull List data) { + public BulkResultsPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -107,9 +106,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -118,7 +117,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -126,7 +125,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * Collection of bulk result objects. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Capacities.java b/packages/java/src/main/java/com/cvent/models/components/Capacities.java new file mode 100644 index 000000000..90f202011 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Capacities.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * Capacities + * + *

Capacity information for the meeting room, grouped by category. + */ +public class Capacities { + /** + * Maximum number of exhibits per room setup. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("exhibits") + private JsonNullable> exhibits; + + /** + * Maximum number of attendees per seating style. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seating") + private JsonNullable> seating; + + @JsonCreator + public Capacities( + @JsonProperty("exhibits") @Nullable JsonNullable> exhibits, + @JsonProperty("seating") @Nullable JsonNullable> seating) { + this.exhibits = Optional.ofNullable(exhibits).orElse(JsonNullable.undefined()); + this.seating = Optional.ofNullable(seating).orElse(JsonNullable.undefined()); + } + + public Capacities() { + this(null, null); + } + + /** + * Maximum number of exhibits per room setup. + */ + public JsonNullable> exhibits() { + return this.exhibits; + } + + /** + * Maximum number of attendees per seating style. + */ + public JsonNullable> seating() { + return this.seating; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Maximum number of exhibits per room setup. + */ + public Capacities withExhibits(@Nullable List exhibits) { + this.exhibits = JsonNullable.of(exhibits); + return this; + } + + /** + * Maximum number of attendees per seating style. + */ + public Capacities withSeating(@Nullable List seating) { + this.seating = JsonNullable.of(seating); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Capacities other = (Capacities) o; + return Utils.enhancedDeepEquals(this.exhibits, other.exhibits) + && Utils.enhancedDeepEquals(this.seating, other.seating); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(exhibits, seating); + } + + @Override + public String toString() { + return Utils.toString(Capacities.class, "exhibits", exhibits, "seating", seating); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable> exhibits; + + private JsonNullable> seating; + + private Builder() { + // force use of static builder() method + } + + /** + * Maximum number of exhibits per room setup. + */ + public Builder exhibits(@Nullable List exhibits) { + this.exhibits = JsonNullable.of(exhibits); + return this; + } + + /** + * Maximum number of attendees per seating style. + */ + public Builder seating(@Nullable List seating) { + this.seating = JsonNullable.of(seating); + return this; + } + + public Capacities build() { + return new Capacities(exhibits, seating); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/CardTransactionJson.java b/packages/java/src/main/java/com/cvent/models/components/CardTransactionJson.java index 4e5fd8c71..ea2784523 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CardTransactionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/CardTransactionJson.java @@ -87,7 +87,7 @@ public class CardTransactionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("reconciliations") - private List reconciliations; + private List reconciliations; /** * The list of transaction description. @@ -107,7 +107,7 @@ public CardTransactionJson( @JsonProperty("currency") @Nullable String currency, @JsonProperty("merchant") @Nullable String merchant, @JsonProperty("reconciliation") @Nullable TransactionReconciliation reconciliation, - @JsonProperty("reconciliations") @Nullable List reconciliations, + @JsonProperty("reconciliations") @Nullable List reconciliations, @JsonProperty("descriptions") @Nullable List descriptions) { this.event = event; this.card = card; @@ -189,7 +189,7 @@ public Optional reconciliation() { /** * The list of reconciled item. */ - public Optional> reconciliations() { + public Optional> reconciliations() { return Optional.ofNullable(this.reconciliations); } @@ -276,7 +276,7 @@ public CardTransactionJson withReconciliation(@Nullable TransactionReconciliatio /** * The list of reconciled item. */ - public CardTransactionJson withReconciliations(@Nullable List reconciliations) { + public CardTransactionJson withReconciliations(@Nullable List reconciliations) { this.reconciliations = reconciliations; return this; } @@ -376,7 +376,7 @@ public static final class Builder { private TransactionReconciliation reconciliation; - private List reconciliations; + private List reconciliations; private List descriptions; @@ -456,7 +456,7 @@ public Builder reconciliation(@Nullable TransactionReconciliation reconciliation /** * The list of reconciled item. */ - public Builder reconciliations(@Nullable List reconciliations) { + public Builder reconciliations(@Nullable List reconciliations) { this.reconciliations = reconciliations; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ChainScale.java b/packages/java/src/main/java/com/cvent/models/components/ChainScale.java new file mode 100644 index 000000000..673ee9f09 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ChainScale.java @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * ChainScale + * + *

A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ +public enum ChainScale { + BLANK("BLANK"), + ECONOMYCHAINS("ECONOMYCHAINS"), + INDEPENDENTS("INDEPENDENTS"), + LUXURY_CHAINS("LUXURY_CHAINS"), + MIDSCALE_CHAINS("MIDSCALE_CHAINS"), + MIDSCALE_WITH_FB_CHAINS("MIDSCALE_WITH_FB_CHAINS"), + MIDSCALE_WITHOUT_FB_CHAINS("MIDSCALE_WITHOUT_FB_CHAINS"), + UPPER_MIDSCALE_CHAINS("UPPER_MIDSCALE_CHAINS"), + UPPER_UPSCALE_CHAINS("UPPER_UPSCALE_CHAINS"), + UPSCALE_CHAINS("UPSCALE_CHAINS"); + + @JsonValue + private final String value; + + ChainScale(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ChainScale o : ChainScale.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/CompositeValue.java b/packages/java/src/main/java/com/cvent/models/components/CompositeValue.java new file mode 100644 index 000000000..1b871d254 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CompositeValue.java @@ -0,0 +1,110 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.OneOfDeserializer; +import com.cvent.utils.TypedObject; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.cvent.utils.Utils.TypeReferenceWithShape; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; + +/** + * CompositeValue + * + *

The structured representation of a complex question answer. Contains the same data as `value`, + * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write + * complex question answers, use `value` instead. + * + *

The structure of the array depends on the question `type`. + */ +@JsonDeserialize(using = CompositeValue._Deserializer.class) +public class CompositeValue { + + @JsonValue + private final TypedObject value; + + private CompositeValue(TypedObject value) { + this.value = value; + } + + public static CompositeValue ofMeetingRoomRequirement(List value) { + Utils.checkNotNull(value, "value"); + return new CompositeValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static CompositeValue ofSleepingRoomRequirement(List value) { + Utils.checkNotNull(value, "value"); + return new CompositeValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static CompositeValue ofBudgetEstimate(List value) { + Utils.checkNotNull(value, "value"); + return new CompositeValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + /** + * Returns an instance of one of these types: + *

    + *
  • {@code java.util.List}
  • + *
  • {@code java.util.List}
  • + *
  • {@code java.util.List}
  • + *
+ * + *

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

+     * if (obj.value() instanceof String) {
+     *     String answer = (String) obj.value();
+     *     System.out.println("answer=" + answer);
+     * }
+     * 
+ * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CompositeValue other = (CompositeValue) o; + return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super( + CompositeValue.class, + false, + TypeReferenceWithShape.of(new TypeReference>() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference>() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference>() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(CompositeValue.class, "value", value); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/CompositeValueJson.java b/packages/java/src/main/java/com/cvent/models/components/CompositeValueJson.java deleted file mode 100644 index 769c3dca8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CompositeValueJson.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.OneOfDeserializer; -import com.cvent.utils.TypedObject; -import com.cvent.utils.Utils; -import com.cvent.utils.Utils.JsonShape; -import com.cvent.utils.Utils.TypeReferenceWithShape; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import java.lang.Override; -import java.lang.String; -import java.lang.SuppressWarnings; -import java.util.List; - -/** - * CompositeValueJson - * - *

The structured representation of a complex question answer. Contains the same data as `value`, - * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write - * complex question answers, use `value` instead. - * - *

The structure of the array depends on the question `type`. - */ -@JsonDeserialize(using = CompositeValueJson._Deserializer.class) -public class CompositeValueJson { - - @JsonValue - private final TypedObject value; - - private CompositeValueJson(TypedObject value) { - this.value = value; - } - - public static CompositeValueJson ofMeetingRoomRequirementJson(List value) { - Utils.checkNotNull(value, "value"); - return new CompositeValueJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static CompositeValueJson ofSleepingRoomRequirementJson(List value) { - Utils.checkNotNull(value, "value"); - return new CompositeValueJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static CompositeValueJson ofBudgetEstimateJson(List value) { - Utils.checkNotNull(value, "value"); - return new CompositeValueJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - /** - * Returns an instance of one of these types: - *

    - *
  • {@code java.util.List}
  • - *
  • {@code java.util.List}
  • - *
  • {@code java.util.List}
  • - *
- * - *

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

-     * if (obj.value() instanceof String) {
-     *     String answer = (String) obj.value();
-     *     System.out.println("answer=" + answer);
-     * }
-     * 
- * - * @return value of oneOf type - **/ - public java.lang.Object value() { - return value.value(); - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CompositeValueJson other = (CompositeValueJson) o; - return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(value.value()); - } - - @SuppressWarnings("serial") - public static final class _Deserializer extends OneOfDeserializer { - - public _Deserializer() { - super( - CompositeValueJson.class, - false, - TypeReferenceWithShape.of( - new TypeReference>() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of( - new TypeReference>() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference>() {}, JsonShape.DEFAULT)); - } - } - - @Override - public String toString() { - return Utils.toString(CompositeValueJson.class, "value", value); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactCommonJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactCommonJson.java deleted file mode 100644 index 935aa5978..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactCommonJson.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ContactCommonJson - * - *

Details of a contact. - */ -public class ContactCommonJson { - /** - * Contact ID - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The first name of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("firstName") - private String firstName; - - /** - * The last name of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastName") - private String lastName; - - /** - * The email address of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - private String email; - - @JsonCreator - public ContactCommonJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("firstName") @Nullable String firstName, - @JsonProperty("lastName") @Nullable String lastName, - @JsonProperty("email") @Nullable String email) { - this.id = id; - this.firstName = firstName; - this.lastName = lastName; - this.email = email; - } - - public ContactCommonJson() { - this(null, null, null, null); - } - - /** - * Contact ID - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The first name of the contact. - */ - public Optional firstName() { - return Optional.ofNullable(this.firstName); - } - - /** - * The last name of the contact. - */ - public Optional lastName() { - return Optional.ofNullable(this.lastName); - } - - /** - * The email address of the contact. - */ - public Optional email() { - return Optional.ofNullable(this.email); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Contact ID - */ - public ContactCommonJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The first name of the contact. - */ - public ContactCommonJson withFirstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the contact. - */ - public ContactCommonJson withLastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The email address of the contact. - */ - public ContactCommonJson withEmail(@Nullable String email) { - this.email = email; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactCommonJson other = (ContactCommonJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.firstName, other.firstName) - && Utils.enhancedDeepEquals(this.lastName, other.lastName) - && Utils.enhancedDeepEquals(this.email, other.email); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, firstName, lastName, email); - } - - @Override - public String toString() { - return Utils.toString( - ContactCommonJson.class, "id", id, "firstName", firstName, "lastName", lastName, "email", email); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String firstName; - - private String lastName; - - private String email; - - private Builder() { - // force use of static builder() method - } - - /** - * Contact ID - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The first name of the contact. - */ - public Builder firstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the contact. - */ - public Builder lastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The email address of the contact. - */ - public Builder email(@Nullable String email) { - this.email = email; - return this; - } - - public ContactCommonJson build() { - return new ContactCommonJson(id, firstName, lastName, email); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactFields.java b/packages/java/src/main/java/com/cvent/models/components/ContactFields.java deleted file mode 100644 index feb07c361..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactFields.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * ContactFields - * - *

An array of standard contact fields supported by Cvent. - */ -public class ContactFields { - /** - * Collection of standard contact fields. - */ - @JsonProperty("data") - private List data; - - @JsonCreator - public ContactFields(@JsonProperty("data") @Nonnull List data) { - this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); - } - - /** - * Collection of standard contact fields. - */ - public List data() { - return this.data; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Collection of standard contact fields. - */ - public ContactFields withData(@Nonnull List data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactFields other = (ContactFields) o; - return Utils.enhancedDeepEquals(this.data, other.data); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(data); - } - - @Override - public String toString() { - return Utils.toString(ContactFields.class, "data", data); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private List data; - - private Builder() { - // force use of static builder() method - } - - /** - * Collection of standard contact fields. - */ - public Builder data(@Nonnull List data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - public ContactFields build() { - return new ContactFields(data); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactFields1.java b/packages/java/src/main/java/com/cvent/models/components/ContactFields1.java new file mode 100644 index 000000000..544fed505 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactFields1.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ContactFields1 + * + *

Details of a contact. + */ +public class ContactFields1 { + /** + * Contact ID + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The first name of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("firstName") + private String firstName; + + /** + * The last name of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastName") + private String lastName; + + /** + * The email address of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private String email; + + @JsonCreator + public ContactFields1( + @JsonProperty("id") @Nullable String id, + @JsonProperty("firstName") @Nullable String firstName, + @JsonProperty("lastName") @Nullable String lastName, + @JsonProperty("email") @Nullable String email) { + this.id = id; + this.firstName = firstName; + this.lastName = lastName; + this.email = email; + } + + public ContactFields1() { + this(null, null, null, null); + } + + /** + * Contact ID + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The first name of the contact. + */ + public Optional firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * The last name of the contact. + */ + public Optional lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * The email address of the contact. + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Contact ID + */ + public ContactFields1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The first name of the contact. + */ + public ContactFields1 withFirstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the contact. + */ + public ContactFields1 withLastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the contact. + */ + public ContactFields1 withEmail(@Nullable String email) { + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactFields1 other = (ContactFields1) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.email, other.email); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, firstName, lastName, email); + } + + @Override + public String toString() { + return Utils.toString( + ContactFields1.class, "id", id, "firstName", firstName, "lastName", lastName, "email", email); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String firstName; + + private String lastName; + + private String email; + + private Builder() { + // force use of static builder() method + } + + /** + * Contact ID + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The first name of the contact. + */ + public Builder firstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the contact. + */ + public Builder lastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the contact. + */ + public Builder email(@Nullable String email) { + this.email = email; + return this; + } + + public ContactFields1 build() { + return new ContactFields1(id, firstName, lastName, email); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactFields2.java b/packages/java/src/main/java/com/cvent/models/components/ContactFields2.java new file mode 100644 index 000000000..290e9c20b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactFields2.java @@ -0,0 +1,94 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * ContactFields2 + * + *

An array of standard contact fields supported by Cvent. + */ +public class ContactFields2 { + /** + * Collection of standard contact fields. + */ + @JsonProperty("data") + private List data; + + @JsonCreator + public ContactFields2(@JsonProperty("data") @Nonnull List data) { + this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); + } + + /** + * Collection of standard contact fields. + */ + public List data() { + return this.data; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Collection of standard contact fields. + */ + public ContactFields2 withData(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactFields2 other = (ContactFields2) o; + return Utils.enhancedDeepEquals(this.data, other.data); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(data); + } + + @Override + public String toString() { + return Utils.toString(ContactFields2.class, "data", data); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private List data; + + private Builder() { + // force use of static builder() method + } + + /** + * Collection of standard contact fields. + */ + public Builder data(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + public ContactFields2 build() { + return new ContactFields2(data); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Country.java b/packages/java/src/main/java/com/cvent/models/components/Country.java new file mode 100644 index 000000000..cd5623482 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Country.java @@ -0,0 +1,294 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * Country + * + *

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

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

A Custom Field - */ -public class CustomFieldSchema { - /** - * The unique ID representing this custom field. - */ - @JsonProperty("id") - private String id; - - /** - * The actual text of the custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The set of answers or possible answers to a question. - */ - @JsonProperty("value") - private List value; - - /** - * The order of this question in the bigger list of questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - /** - * The type of data collected by a custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private CustomFieldSchemaCustomFieldType type; - - @JsonCreator - public CustomFieldSchema( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("value") @Nonnull List value, - @JsonProperty("order") @Nullable Long order, - @JsonProperty("type") @Nullable CustomFieldSchemaCustomFieldType type) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - this.order = order; - this.type = type; - } - - public CustomFieldSchema(@Nonnull String id, @Nonnull List value) { - this(id, null, value, null, null); - } - - /** - * The unique ID representing this custom field. - */ - public String id() { - return this.id; - } - - /** - * The actual text of the custom field. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The set of answers or possible answers to a question. - */ - public List value() { - return this.value; - } - - /** - * The order of this question in the bigger list of questions. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - /** - * The type of data collected by a custom field. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID representing this custom field. - */ - public CustomFieldSchema withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public CustomFieldSchema withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The set of answers or possible answers to a question. - */ - public CustomFieldSchema withValue(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * The order of this question in the bigger list of questions. - */ - public CustomFieldSchema withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The type of data collected by a custom field. - */ - public CustomFieldSchema withType(@Nullable CustomFieldSchemaCustomFieldType type) { - this.type = type; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CustomFieldSchema other = (CustomFieldSchema) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.order, other.order) - && Utils.enhancedDeepEquals(this.type, other.type); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, value, order, type); - } - - @Override - public String toString() { - return Utils.toString( - CustomFieldSchema.class, "id", id, "name", name, "value", value, "order", order, "type", type); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private List value; - - private Long order; - - private CustomFieldSchemaCustomFieldType type; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID representing this custom field. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The set of answers or possible answers to a question. - */ - public Builder value(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * The order of this question in the bigger list of questions. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The type of data collected by a custom field. - */ - public Builder type(@Nullable CustomFieldSchemaCustomFieldType type) { - this.type = type; - return this; - } - - public CustomFieldSchema build() { - return new CustomFieldSchema(id, name, value, order, type); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldSchema1.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldSchema1.java new file mode 100644 index 000000000..08a6af3f8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldSchema1.java @@ -0,0 +1,243 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * CustomFieldSchema1 + * + *

A Custom Field + */ +public class CustomFieldSchema1 { + /** + * The unique ID representing this custom field. + */ + @JsonProperty("id") + private String id; + + /** + * The actual text of the custom field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The set of answers or possible answers to a question. + */ + @JsonProperty("value") + private List value; + + /** + * The order of this question in the bigger list of questions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + /** + * The type of data collected by a custom field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private CustomFieldSchemaCustomFieldType type; + + @JsonCreator + public CustomFieldSchema1( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("value") @Nonnull List value, + @JsonProperty("order") @Nullable Long order, + @JsonProperty("type") @Nullable CustomFieldSchemaCustomFieldType type) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + this.order = order; + this.type = type; + } + + public CustomFieldSchema1(@Nonnull String id, @Nonnull List value) { + this(id, null, value, null, null); + } + + /** + * The unique ID representing this custom field. + */ + public String id() { + return this.id; + } + + /** + * The actual text of the custom field. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The set of answers or possible answers to a question. + */ + public List value() { + return this.value; + } + + /** + * The order of this question in the bigger list of questions. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + /** + * The type of data collected by a custom field. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID representing this custom field. + */ + public CustomFieldSchema1 withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The actual text of the custom field. + */ + public CustomFieldSchema1 withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The set of answers or possible answers to a question. + */ + public CustomFieldSchema1 withValue(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * The order of this question in the bigger list of questions. + */ + public CustomFieldSchema1 withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * The type of data collected by a custom field. + */ + public CustomFieldSchema1 withType(@Nullable CustomFieldSchemaCustomFieldType type) { + this.type = type; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CustomFieldSchema1 other = (CustomFieldSchema1) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.order, other.order) + && Utils.enhancedDeepEquals(this.type, other.type); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, value, order, type); + } + + @Override + public String toString() { + return Utils.toString( + CustomFieldSchema1.class, "id", id, "name", name, "value", value, "order", order, "type", type); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private List value; + + private Long order; + + private CustomFieldSchemaCustomFieldType type; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID representing this custom field. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The actual text of the custom field. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The set of answers or possible answers to a question. + */ + public Builder value(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * The order of this question in the bigger list of questions. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * The type of data collected by a custom field. + */ + public Builder type(@Nullable CustomFieldSchemaCustomFieldType type) { + this.type = type; + return this; + } + + public CustomFieldSchema1 build() { + return new CustomFieldSchema1(id, name, value, order, type); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldSchema2.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldSchema2.java new file mode 100644 index 000000000..3d62136d3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldSchema2.java @@ -0,0 +1,702 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * CustomFieldSchema2 + * + *

Custom field for a meeting request. + */ +public class CustomFieldSchema2 { + /** + * The unique ID representing this custom field. + */ + @JsonProperty("id") + private String id; + + /** + * The displayed field name which can be customized. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The set of answers or possible answers to a question. + */ + @JsonProperty("value") + private List value; + + /** + * The order of this question in the bigger list of questions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + /** + * The type of data collected by a custom field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private CustomFieldSchemaCustomFieldType type; + + /** + * True indicates the question is of the field type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("field") + private Boolean field; + + /** + * The fixed field name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fieldName") + private String fieldName; + + /** + * True indicates a question on the meeting request form should be hidden from the user filling out the + * meeting request. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hidden") + private Boolean hidden; + + /** + * True indicates the given question must be answered. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("required") + private Boolean required; + + /** + * The minimum length of a text field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("minLength") + private Double minLength; + + /** + * The maximum length of a text field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxLength") + private Double maxLength; + + /** + * The minimum number of choices required for a multi-choice field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("minChoice") + private Double minChoice; + + /** + * The maximum number of choices allowed for a multi-choice field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxChoice") + private Double maxChoice; + + /** + * The ISO 8601 minimum date value for a date field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("minDate") + private String minDate; + + /** + * The ISO 8601 maximum date value for a date field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxDate") + private String maxDate; + + /** + * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is + * omitted when no non-default answer type is defined for the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answerTypes") + private List answerTypes; + + @JsonCreator + public CustomFieldSchema2( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("value") @Nonnull List value, + @JsonProperty("order") @Nullable Long order, + @JsonProperty("type") @Nullable CustomFieldSchemaCustomFieldType type, + @JsonProperty("field") @Nullable Boolean field, + @JsonProperty("fieldName") @Nullable String fieldName, + @JsonProperty("hidden") @Nullable Boolean hidden, + @JsonProperty("required") @Nullable Boolean required, + @JsonProperty("minLength") @Nullable Double minLength, + @JsonProperty("maxLength") @Nullable Double maxLength, + @JsonProperty("minChoice") @Nullable Double minChoice, + @JsonProperty("maxChoice") @Nullable Double maxChoice, + @JsonProperty("minDate") @Nullable String minDate, + @JsonProperty("maxDate") @Nullable String maxDate, + @JsonProperty("answerTypes") @Nullable List answerTypes) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + this.order = order; + this.type = type; + this.field = field; + this.fieldName = fieldName; + this.hidden = hidden; + this.required = required; + this.minLength = minLength; + this.maxLength = maxLength; + this.minChoice = minChoice; + this.maxChoice = maxChoice; + this.minDate = minDate; + this.maxDate = maxDate; + this.answerTypes = answerTypes; + } + + public CustomFieldSchema2(@Nonnull String id, @Nonnull List value) { + this(id, null, value, null, null, null, null, null, null, null, null, null, null, null, null, null); + } + + /** + * The unique ID representing this custom field. + */ + public String id() { + return this.id; + } + + /** + * The displayed field name which can be customized. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The set of answers or possible answers to a question. + */ + public List value() { + return this.value; + } + + /** + * The order of this question in the bigger list of questions. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + /** + * The type of data collected by a custom field. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * True indicates the question is of the field type. + */ + public Optional field() { + return Optional.ofNullable(this.field); + } + + /** + * The fixed field name. + */ + public Optional fieldName() { + return Optional.ofNullable(this.fieldName); + } + + /** + * True indicates a question on the meeting request form should be hidden from the user filling out the + * meeting request. + */ + public Optional hidden() { + return Optional.ofNullable(this.hidden); + } + + /** + * True indicates the given question must be answered. + */ + public Optional required() { + return Optional.ofNullable(this.required); + } + + /** + * The minimum length of a text field. + */ + public Optional minLength() { + return Optional.ofNullable(this.minLength); + } + + /** + * The maximum length of a text field. + */ + public Optional maxLength() { + return Optional.ofNullable(this.maxLength); + } + + /** + * The minimum number of choices required for a multi-choice field. + */ + public Optional minChoice() { + return Optional.ofNullable(this.minChoice); + } + + /** + * The maximum number of choices allowed for a multi-choice field. + */ + public Optional maxChoice() { + return Optional.ofNullable(this.maxChoice); + } + + /** + * The ISO 8601 minimum date value for a date field. + */ + public Optional minDate() { + return Optional.ofNullable(this.minDate); + } + + /** + * The ISO 8601 maximum date value for a date field. + */ + public Optional maxDate() { + return Optional.ofNullable(this.maxDate); + } + + /** + * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is + * omitted when no non-default answer type is defined for the question. + */ + public Optional> answerTypes() { + return Optional.ofNullable(this.answerTypes); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID representing this custom field. + */ + public CustomFieldSchema2 withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The displayed field name which can be customized. + */ + public CustomFieldSchema2 withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The set of answers or possible answers to a question. + */ + public CustomFieldSchema2 withValue(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * The order of this question in the bigger list of questions. + */ + public CustomFieldSchema2 withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * The type of data collected by a custom field. + */ + public CustomFieldSchema2 withType(@Nullable CustomFieldSchemaCustomFieldType type) { + this.type = type; + return this; + } + + /** + * True indicates the question is of the field type. + */ + public CustomFieldSchema2 withField(@Nullable Boolean field) { + this.field = field; + return this; + } + + /** + * The fixed field name. + */ + public CustomFieldSchema2 withFieldName(@Nullable String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * True indicates a question on the meeting request form should be hidden from the user filling out the + * meeting request. + */ + public CustomFieldSchema2 withHidden(@Nullable Boolean hidden) { + this.hidden = hidden; + return this; + } + + /** + * True indicates the given question must be answered. + */ + public CustomFieldSchema2 withRequired(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * The minimum length of a text field. + */ + public CustomFieldSchema2 withMinLength(@Nullable Double minLength) { + this.minLength = minLength; + return this; + } + + /** + * The maximum length of a text field. + */ + public CustomFieldSchema2 withMaxLength(@Nullable Double maxLength) { + this.maxLength = maxLength; + return this; + } + + /** + * The minimum number of choices required for a multi-choice field. + */ + public CustomFieldSchema2 withMinChoice(@Nullable Double minChoice) { + this.minChoice = minChoice; + return this; + } + + /** + * The maximum number of choices allowed for a multi-choice field. + */ + public CustomFieldSchema2 withMaxChoice(@Nullable Double maxChoice) { + this.maxChoice = maxChoice; + return this; + } + + /** + * The ISO 8601 minimum date value for a date field. + */ + public CustomFieldSchema2 withMinDate(@Nullable String minDate) { + this.minDate = minDate; + return this; + } + + /** + * The ISO 8601 maximum date value for a date field. + */ + public CustomFieldSchema2 withMaxDate(@Nullable String maxDate) { + this.maxDate = maxDate; + return this; + } + + /** + * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is + * omitted when no non-default answer type is defined for the question. + */ + public CustomFieldSchema2 withAnswerTypes(@Nullable List answerTypes) { + this.answerTypes = answerTypes; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CustomFieldSchema2 other = (CustomFieldSchema2) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.order, other.order) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.field, other.field) + && Utils.enhancedDeepEquals(this.fieldName, other.fieldName) + && Utils.enhancedDeepEquals(this.hidden, other.hidden) + && Utils.enhancedDeepEquals(this.required, other.required) + && Utils.enhancedDeepEquals(this.minLength, other.minLength) + && Utils.enhancedDeepEquals(this.maxLength, other.maxLength) + && Utils.enhancedDeepEquals(this.minChoice, other.minChoice) + && Utils.enhancedDeepEquals(this.maxChoice, other.maxChoice) + && Utils.enhancedDeepEquals(this.minDate, other.minDate) + && Utils.enhancedDeepEquals(this.maxDate, other.maxDate) + && Utils.enhancedDeepEquals(this.answerTypes, other.answerTypes); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + id, + name, + value, + order, + type, + field, + fieldName, + hidden, + required, + minLength, + maxLength, + minChoice, + maxChoice, + minDate, + maxDate, + answerTypes); + } + + @Override + public String toString() { + return Utils.toString( + CustomFieldSchema2.class, + "id", + id, + "name", + name, + "value", + value, + "order", + order, + "type", + type, + "field", + field, + "fieldName", + fieldName, + "hidden", + hidden, + "required", + required, + "minLength", + minLength, + "maxLength", + maxLength, + "minChoice", + minChoice, + "maxChoice", + maxChoice, + "minDate", + minDate, + "maxDate", + maxDate, + "answerTypes", + answerTypes); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private List value; + + private Long order; + + private CustomFieldSchemaCustomFieldType type; + + private Boolean field; + + private String fieldName; + + private Boolean hidden; + + private Boolean required; + + private Double minLength; + + private Double maxLength; + + private Double minChoice; + + private Double maxChoice; + + private String minDate; + + private String maxDate; + + private List answerTypes; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID representing this custom field. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The displayed field name which can be customized. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The set of answers or possible answers to a question. + */ + public Builder value(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * The order of this question in the bigger list of questions. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * The type of data collected by a custom field. + */ + public Builder type(@Nullable CustomFieldSchemaCustomFieldType type) { + this.type = type; + return this; + } + + /** + * True indicates the question is of the field type. + */ + public Builder field(@Nullable Boolean field) { + this.field = field; + return this; + } + + /** + * The fixed field name. + */ + public Builder fieldName(@Nullable String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * True indicates a question on the meeting request form should be hidden from the user filling out the + * meeting request. + */ + public Builder hidden(@Nullable Boolean hidden) { + this.hidden = hidden; + return this; + } + + /** + * True indicates the given question must be answered. + */ + public Builder required(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * The minimum length of a text field. + */ + public Builder minLength(@Nullable Double minLength) { + this.minLength = minLength; + return this; + } + + /** + * The maximum length of a text field. + */ + public Builder maxLength(@Nullable Double maxLength) { + this.maxLength = maxLength; + return this; + } + + /** + * The minimum number of choices required for a multi-choice field. + */ + public Builder minChoice(@Nullable Double minChoice) { + this.minChoice = minChoice; + return this; + } + + /** + * The maximum number of choices allowed for a multi-choice field. + */ + public Builder maxChoice(@Nullable Double maxChoice) { + this.maxChoice = maxChoice; + return this; + } + + /** + * The ISO 8601 minimum date value for a date field. + */ + public Builder minDate(@Nullable String minDate) { + this.minDate = minDate; + return this; + } + + /** + * The ISO 8601 maximum date value for a date field. + */ + public Builder maxDate(@Nullable String maxDate) { + this.maxDate = maxDate; + return this; + } + + /** + * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is + * omitted when no non-default answer type is defined for the question. + */ + public Builder answerTypes(@Nullable List answerTypes) { + this.answerTypes = answerTypes; + return this; + } + + public CustomFieldSchema2 build() { + return new CustomFieldSchema2( + id, + name, + value, + order, + type, + field, + fieldName, + hidden, + required, + minLength, + maxLength, + minChoice, + maxChoice, + minDate, + maxDate, + answerTypes); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Dimension.java b/packages/java/src/main/java/com/cvent/models/components/Dimension.java new file mode 100644 index 000000000..a23d962b7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Dimension.java @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * Dimension + * + *

A dimension measurement in feet or meters. + */ +public class Dimension { + /** + * The numeric value of the dimension. + */ + @JsonProperty("value") + private double value; + + /** + * The unit of measurement for the dimension. + */ + @JsonProperty("unit") + private DimensionUnit unit; + + @JsonCreator + public Dimension(@JsonProperty("value") double value, @JsonProperty("unit") @Nonnull DimensionUnit unit) { + this.value = value; + this.unit = Optional.ofNullable(unit).orElseThrow(() -> new IllegalArgumentException("unit cannot be null")); + } + + /** + * The numeric value of the dimension. + */ + public double value() { + return this.value; + } + + /** + * The unit of measurement for the dimension. + */ + public DimensionUnit unit() { + return this.unit; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The numeric value of the dimension. + */ + public Dimension withValue(double value) { + this.value = value; + return this; + } + + /** + * The unit of measurement for the dimension. + */ + public Dimension withUnit(@Nonnull DimensionUnit unit) { + this.unit = Utils.checkNotNull(unit, "unit"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Dimension other = (Dimension) o; + return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.unit, other.unit); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value, unit); + } + + @Override + public String toString() { + return Utils.toString(Dimension.class, "value", value, "unit", unit); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private double value; + + private DimensionUnit unit; + + private Builder() { + // force use of static builder() method + } + + /** + * The numeric value of the dimension. + */ + public Builder value(double value) { + this.value = value; + return this; + } + + /** + * The unit of measurement for the dimension. + */ + public Builder unit(@Nonnull DimensionUnit unit) { + this.unit = Utils.checkNotNull(unit, "unit"); + return this; + } + + public Dimension build() { + return new Dimension(value, unit); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DimensionUnit.java b/packages/java/src/main/java/com/cvent/models/components/DimensionUnit.java new file mode 100644 index 000000000..7d8d8db38 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DimensionUnit.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; + +/** + * DimensionUnit + * + *

The unit of measurement for the dimension. + */ +public enum DimensionUnit { + FEET("FEET"), + METERS("METERS"); + + @JsonValue + private final String value; + + DimensionUnit(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DimensionUnit o : DimensionUnit.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/DistanceMeasurementUnit.java b/packages/java/src/main/java/com/cvent/models/components/DistanceMeasurementUnit.java new file mode 100644 index 000000000..b25956544 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DistanceMeasurementUnit.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * DistanceMeasurementUnit + * + *

Unit of measurement for distance. + * + *

Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ +public enum DistanceMeasurementUnit { + MILES("MILES"), + KILOMETERS("KILOMETERS"); + + @JsonValue + private final String value; + + DistanceMeasurementUnit(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DistanceMeasurementUnit o : DistanceMeasurementUnit.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/EmailBounced.java b/packages/java/src/main/java/com/cvent/models/components/EmailBounced.java index f48592909..d794538f3 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EmailBounced.java +++ b/packages/java/src/main/java/com/cvent/models/components/EmailBounced.java @@ -43,7 +43,7 @@ public class EmailBounced { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; /** * ISO 8601 date and time when an email bounced. @@ -77,7 +77,7 @@ public class EmailBounced { public EmailBounced( @JsonProperty("type") @Nullable String type, @JsonProperty("reason") @Nullable String reason, - @JsonProperty("contact") @Nullable ActivityContactJson contact, + @JsonProperty("contact") @Nullable ActivityContact contact, @JsonProperty("bounced") @Nullable OffsetDateTime bounced, @JsonProperty("smtpCode") @Nullable Long smtpCode, @JsonProperty("dsnDiagnostic") @Nullable String dsnDiagnostic, @@ -112,7 +112,7 @@ public Optional reason() { /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -167,7 +167,7 @@ public EmailBounced withReason(@Nullable String reason) { /** * An activity contact. */ - public EmailBounced withContact(@Nullable ActivityContactJson contact) { + public EmailBounced withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -254,7 +254,7 @@ public static final class Builder { private String reason; - private ActivityContactJson contact; + private ActivityContact contact; private OffsetDateTime bounced; @@ -287,7 +287,7 @@ public Builder reason(@Nullable String reason) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EmailUndelivered.java b/packages/java/src/main/java/com/cvent/models/components/EmailUndelivered.java index 050c44145..95646da6b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EmailUndelivered.java +++ b/packages/java/src/main/java/com/cvent/models/components/EmailUndelivered.java @@ -32,7 +32,7 @@ public class EmailUndelivered { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ActivityContactJson contact; + private ActivityContact contact; /** * ISO 8601 date and time when an email was undelivered. @@ -44,7 +44,7 @@ public class EmailUndelivered { @JsonCreator public EmailUndelivered( @JsonProperty("type") @Nullable String type, - @JsonProperty("contact") @Nullable ActivityContactJson contact, + @JsonProperty("contact") @Nullable ActivityContact contact, @JsonProperty("undelivered") @Nullable OffsetDateTime undelivered) { this.type = type; this.contact = contact; @@ -65,7 +65,7 @@ public Optional type() { /** * An activity contact. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -91,7 +91,7 @@ public EmailUndelivered withType(@Nullable String type) { /** * An activity contact. */ - public EmailUndelivered withContact(@Nullable ActivityContactJson contact) { + public EmailUndelivered withContact(@Nullable ActivityContact contact) { this.contact = contact; return this; } @@ -133,7 +133,7 @@ public static final class Builder { private String type; - private ActivityContactJson contact; + private ActivityContact contact; private OffsetDateTime undelivered; @@ -152,7 +152,7 @@ public Builder type(@Nullable String type) { /** * An activity contact. */ - public Builder contact(@Nullable ActivityContactJson contact) { + public Builder contact(@Nullable ActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ErrorResponse.java b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse.java index 260fa3e59..f388ca459 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ErrorResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse.java @@ -45,14 +45,14 @@ public class ErrorResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public ErrorResponse( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.code = code; this.message = Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); @@ -88,7 +88,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -123,7 +123,7 @@ public ErrorResponse withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public ErrorResponse withDetails(@Nullable List details) { + public ErrorResponse withDetails(@Nullable List details) { this.details = details; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventActivityDetail.java b/packages/java/src/main/java/com/cvent/models/components/EventActivityDetail.java new file mode 100644 index 000000000..6dfc329bb --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventActivityDetail.java @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventActivityDetail + * + *

Details for an event activity. + */ +public class EventActivityDetail { + /** + * The identifier of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The title of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The code of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * The timezone of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("timezone") + private String timezone; + + @JsonCreator + public EventActivityDetail( + @JsonProperty("id") @Nullable String id, + @JsonProperty("title") @Nullable String title, + @JsonProperty("code") @Nullable String code, + @JsonProperty("timezone") @Nullable String timezone) { + this.id = id; + this.title = title; + this.code = code; + this.timezone = timezone; + } + + public EventActivityDetail() { + this(null, null, null, null); + } + + /** + * The identifier of the event. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The title of the event. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The code of the event. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * The timezone of the event. + */ + public Optional timezone() { + return Optional.ofNullable(this.timezone); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier of the event. + */ + public EventActivityDetail withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the event. + */ + public EventActivityDetail withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the event. + */ + public EventActivityDetail withCode(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The timezone of the event. + */ + public EventActivityDetail withTimezone(@Nullable String timezone) { + this.timezone = timezone; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventActivityDetail other = (EventActivityDetail) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.timezone, other.timezone); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, title, code, timezone); + } + + @Override + public String toString() { + return Utils.toString(EventActivityDetail.class, "id", id, "title", title, "code", code, "timezone", timezone); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String title; + + private String code; + + private String timezone; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier of the event. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the event. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the event. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The timezone of the event. + */ + public Builder timezone(@Nullable String timezone) { + this.timezone = timezone; + return this; + } + + public EventActivityDetail build() { + return new EventActivityDetail(id, title, code, timezone); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailInput.java b/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailInput.java new file mode 100644 index 000000000..036c282d5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailInput.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventActivityDetailInput + * + *

Details for an event activity. + */ +public class EventActivityDetailInput { + /** + * The identifier of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventActivityDetailInput(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventActivityDetailInput() { + this(null); + } + + /** + * The identifier of the event. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier of the event. + */ + public EventActivityDetailInput withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventActivityDetailInput other = (EventActivityDetailInput) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventActivityDetailInput.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier of the event. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventActivityDetailInput build() { + return new EventActivityDetailInput(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailsJson.java b/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailsJson.java deleted file mode 100644 index ae62a70f9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailsJson.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventActivityDetailsJson - * - *

Details for an event activity. - */ -public class EventActivityDetailsJson { - /** - * The identifier of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The title of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The code of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - /** - * The timezone of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("timezone") - private String timezone; - - @JsonCreator - public EventActivityDetailsJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("title") @Nullable String title, - @JsonProperty("code") @Nullable String code, - @JsonProperty("timezone") @Nullable String timezone) { - this.id = id; - this.title = title; - this.code = code; - this.timezone = timezone; - } - - public EventActivityDetailsJson() { - this(null, null, null, null); - } - - /** - * The identifier of the event. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The title of the event. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The code of the event. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - /** - * The timezone of the event. - */ - public Optional timezone() { - return Optional.ofNullable(this.timezone); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier of the event. - */ - public EventActivityDetailsJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the event. - */ - public EventActivityDetailsJson withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the event. - */ - public EventActivityDetailsJson withCode(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The timezone of the event. - */ - public EventActivityDetailsJson withTimezone(@Nullable String timezone) { - this.timezone = timezone; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - EventActivityDetailsJson other = (EventActivityDetailsJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.timezone, other.timezone); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, title, code, timezone); - } - - @Override - public String toString() { - return Utils.toString( - EventActivityDetailsJson.class, "id", id, "title", title, "code", code, "timezone", timezone); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String title; - - private String code; - - private String timezone; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier of the event. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the event. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the event. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The timezone of the event. - */ - public Builder timezone(@Nullable String timezone) { - this.timezone = timezone; - return this; - } - - public EventActivityDetailsJson build() { - return new EventActivityDetailsJson(id, title, code, timezone); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailsJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailsJsonInput.java deleted file mode 100644 index 1a2399b0b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventActivityDetailsJsonInput.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventActivityDetailsJsonInput - * - *

Details for an event activity. - */ -public class EventActivityDetailsJsonInput { - /** - * The identifier of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventActivityDetailsJsonInput(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventActivityDetailsJsonInput() { - this(null); - } - - /** - * The identifier of the event. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier of the event. - */ - public EventActivityDetailsJsonInput withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - EventActivityDetailsJsonInput other = (EventActivityDetailsJsonInput) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventActivityDetailsJsonInput.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier of the event. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventActivityDetailsJsonInput build() { - return new EventActivityDetailsJsonInput(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventAdClicked.java b/packages/java/src/main/java/com/cvent/models/components/EventAdClicked.java index c3f99a972..945199c31 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventAdClicked.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventAdClicked.java @@ -24,7 +24,7 @@ public class EventAdClicked { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent11 event; + private ActivityDataEvent8 event; /** * The platform used by the user. @@ -38,13 +38,13 @@ public class EventAdClicked { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ad") - private ActivityAdJson ad; + private ActivityAd ad; @JsonCreator public EventAdClicked( - @JsonProperty("event") @Nullable ActivityDataJsonEvent11 event, + @JsonProperty("event") @Nullable ActivityDataEvent8 event, @JsonProperty("platform") @Nullable String platform, - @JsonProperty("ad") @Nullable ActivityAdJson ad) { + @JsonProperty("ad") @Nullable ActivityAd ad) { this.event = event; this.platform = platform; this.ad = ad; @@ -57,7 +57,7 @@ public EventAdClicked() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -71,7 +71,7 @@ public Optional platform() { /** * The details of the advertisement. */ - public Optional ad() { + public Optional ad() { return Optional.ofNullable(this.ad); } @@ -82,7 +82,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventAdClicked withEvent(@Nullable ActivityDataJsonEvent11 event) { + public EventAdClicked withEvent(@Nullable ActivityDataEvent8 event) { this.event = event; return this; } @@ -98,7 +98,7 @@ public EventAdClicked withPlatform(@Nullable String platform) { /** * The details of the advertisement. */ - public EventAdClicked withAd(@Nullable ActivityAdJson ad) { + public EventAdClicked withAd(@Nullable ActivityAd ad) { this.ad = ad; return this; } @@ -130,11 +130,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent11 event; + private ActivityDataEvent8 event; private String platform; - private ActivityAdJson ad; + private ActivityAd ad; private Builder() { // force use of static builder() method @@ -143,7 +143,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent11 event) { + public Builder event(@Nullable ActivityDataEvent8 event) { this.event = event; return this; } @@ -159,7 +159,7 @@ public Builder platform(@Nullable String platform) { /** * The details of the advertisement. */ - public Builder ad(@Nullable ActivityAdJson ad) { + public Builder ad(@Nullable ActivityAd ad) { this.ad = ad; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventAdViewed.java b/packages/java/src/main/java/com/cvent/models/components/EventAdViewed.java index e2b612613..14f31b311 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventAdViewed.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventAdViewed.java @@ -24,7 +24,7 @@ public class EventAdViewed { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent10 event; + private ActivityDataEvent7 event; /** * The platform used by the user. @@ -38,13 +38,13 @@ public class EventAdViewed { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ad") - private ActivityAdJson ad; + private ActivityAd ad; @JsonCreator public EventAdViewed( - @JsonProperty("event") @Nullable ActivityDataJsonEvent10 event, + @JsonProperty("event") @Nullable ActivityDataEvent7 event, @JsonProperty("platform") @Nullable String platform, - @JsonProperty("ad") @Nullable ActivityAdJson ad) { + @JsonProperty("ad") @Nullable ActivityAd ad) { this.event = event; this.platform = platform; this.ad = ad; @@ -57,7 +57,7 @@ public EventAdViewed() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -71,7 +71,7 @@ public Optional platform() { /** * The details of the advertisement. */ - public Optional ad() { + public Optional ad() { return Optional.ofNullable(this.ad); } @@ -82,7 +82,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventAdViewed withEvent(@Nullable ActivityDataJsonEvent10 event) { + public EventAdViewed withEvent(@Nullable ActivityDataEvent7 event) { this.event = event; return this; } @@ -98,7 +98,7 @@ public EventAdViewed withPlatform(@Nullable String platform) { /** * The details of the advertisement. */ - public EventAdViewed withAd(@Nullable ActivityAdJson ad) { + public EventAdViewed withAd(@Nullable ActivityAd ad) { this.ad = ad; return this; } @@ -130,11 +130,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent10 event; + private ActivityDataEvent7 event; private String platform; - private ActivityAdJson ad; + private ActivityAd ad; private Builder() { // force use of static builder() method @@ -143,7 +143,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent10 event) { + public Builder event(@Nullable ActivityDataEvent7 event) { this.event = event; return this; } @@ -159,7 +159,7 @@ public Builder platform(@Nullable String platform) { /** * The details of the advertisement. */ - public Builder ad(@Nullable ActivityAdJson ad) { + public Builder ad(@Nullable ActivityAd ad) { this.ad = ad; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java b/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java index c2a7a0c9e..2d3e28a72 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java @@ -24,27 +24,27 @@ public class EventAttendeeSubstituted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent1 event; + private EventAttendeeSubstitutedEvent event; /** * Details of a contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("oldContact") - private ContactCommonJson oldContact; + private ContactFields1 oldContact; /** * Details of a contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("newContact") - private ContactCommonJson newContact; + private ContactFields1 newContact; @JsonCreator public EventAttendeeSubstituted( - @JsonProperty("event") @Nullable ActivityDataJsonEvent1 event, - @JsonProperty("oldContact") @Nullable ContactCommonJson oldContact, - @JsonProperty("newContact") @Nullable ContactCommonJson newContact) { + @JsonProperty("event") @Nullable EventAttendeeSubstitutedEvent event, + @JsonProperty("oldContact") @Nullable ContactFields1 oldContact, + @JsonProperty("newContact") @Nullable ContactFields1 newContact) { this.event = event; this.oldContact = oldContact; this.newContact = newContact; @@ -57,21 +57,21 @@ public EventAttendeeSubstituted() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } /** * Details of a contact. */ - public Optional oldContact() { + public Optional oldContact() { return Optional.ofNullable(this.oldContact); } /** * Details of a contact. */ - public Optional newContact() { + public Optional newContact() { return Optional.ofNullable(this.newContact); } @@ -82,7 +82,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventAttendeeSubstituted withEvent(@Nullable ActivityDataJsonEvent1 event) { + public EventAttendeeSubstituted withEvent(@Nullable EventAttendeeSubstitutedEvent event) { this.event = event; return this; } @@ -90,7 +90,7 @@ public EventAttendeeSubstituted withEvent(@Nullable ActivityDataJsonEvent1 event /** * Details of a contact. */ - public EventAttendeeSubstituted withOldContact(@Nullable ContactCommonJson oldContact) { + public EventAttendeeSubstituted withOldContact(@Nullable ContactFields1 oldContact) { this.oldContact = oldContact; return this; } @@ -98,7 +98,7 @@ public EventAttendeeSubstituted withOldContact(@Nullable ContactCommonJson oldCo /** * Details of a contact. */ - public EventAttendeeSubstituted withNewContact(@Nullable ContactCommonJson newContact) { + public EventAttendeeSubstituted withNewContact(@Nullable ContactFields1 newContact) { this.newContact = newContact; return this; } @@ -131,11 +131,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent1 event; + private EventAttendeeSubstitutedEvent event; - private ContactCommonJson oldContact; + private ContactFields1 oldContact; - private ContactCommonJson newContact; + private ContactFields1 newContact; private Builder() { // force use of static builder() method @@ -144,7 +144,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent1 event) { + public Builder event(@Nullable EventAttendeeSubstitutedEvent event) { this.event = event; return this; } @@ -152,7 +152,7 @@ public Builder event(@Nullable ActivityDataJsonEvent1 event) { /** * Details of a contact. */ - public Builder oldContact(@Nullable ContactCommonJson oldContact) { + public Builder oldContact(@Nullable ContactFields1 oldContact) { this.oldContact = oldContact; return this; } @@ -160,7 +160,7 @@ public Builder oldContact(@Nullable ContactCommonJson oldContact) { /** * Details of a contact. */ - public Builder newContact(@Nullable ContactCommonJson newContact) { + public Builder newContact(@Nullable ContactFields1 newContact) { this.newContact = newContact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstitutedEvent.java b/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstitutedEvent.java new file mode 100644 index 000000000..a4495279d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstitutedEvent.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventAttendeeSubstitutedEvent + * + *

The event in which this activity occurred. + */ +public class EventAttendeeSubstitutedEvent { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventAttendeeSubstitutedEvent(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventAttendeeSubstitutedEvent() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public EventAttendeeSubstitutedEvent withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventAttendeeSubstitutedEvent other = (EventAttendeeSubstitutedEvent) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventAttendeeSubstitutedEvent.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventAttendeeSubstitutedEvent build() { + return new EventAttendeeSubstitutedEvent(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventBannerLinkClicked.java b/packages/java/src/main/java/com/cvent/models/components/EventBannerLinkClicked.java index b2f96538c..1faa5320f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventBannerLinkClicked.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventBannerLinkClicked.java @@ -24,7 +24,7 @@ public class EventBannerLinkClicked { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; /** * The platform used by the user. @@ -45,14 +45,14 @@ public class EventBannerLinkClicked { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("target") - private BannerLinkTargetJson target; + private BannerLinkTarget target; @JsonCreator public EventBannerLinkClicked( - @JsonProperty("exhibitor") @Nullable ExhibitorJson exhibitor, + @JsonProperty("exhibitor") @Nullable Exhibitor1 exhibitor, @JsonProperty("platform") @Nullable String platform, @JsonProperty("banner") @Nullable Banner banner, - @JsonProperty("target") @Nullable BannerLinkTargetJson target) { + @JsonProperty("target") @Nullable BannerLinkTarget target) { this.exhibitor = exhibitor; this.platform = platform; this.banner = banner; @@ -66,7 +66,7 @@ public EventBannerLinkClicked() { /** * An exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } @@ -87,7 +87,7 @@ public Optional banner() { /** * The target of the link clicked on the banner. */ - public Optional target() { + public Optional target() { return Optional.ofNullable(this.target); } @@ -98,7 +98,7 @@ public static Builder builder() { /** * An exhibitor. */ - public EventBannerLinkClicked withExhibitor(@Nullable ExhibitorJson exhibitor) { + public EventBannerLinkClicked withExhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -122,7 +122,7 @@ public EventBannerLinkClicked withBanner(@Nullable Banner banner) { /** * The target of the link clicked on the banner. */ - public EventBannerLinkClicked withTarget(@Nullable BannerLinkTargetJson target) { + public EventBannerLinkClicked withTarget(@Nullable BannerLinkTarget target) { this.target = target; return this; } @@ -164,13 +164,13 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; private String platform; private Banner banner; - private BannerLinkTargetJson target; + private BannerLinkTarget target; private Builder() { // force use of static builder() method @@ -179,7 +179,7 @@ private Builder() { /** * An exhibitor. */ - public Builder exhibitor(@Nullable ExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -203,7 +203,7 @@ public Builder banner(@Nullable Banner banner) { /** * The target of the link clicked on the banner. */ - public Builder target(@Nullable BannerLinkTargetJson target) { + public Builder target(@Nullable BannerLinkTarget target) { this.target = target; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventCheckedIn.java b/packages/java/src/main/java/com/cvent/models/components/EventCheckedIn.java index e9027ca96..6b694ffd1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventCheckedIn.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventCheckedIn.java @@ -25,7 +25,7 @@ public class EventCheckedIn { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent2 event; + private ActivityDataEvent1 event; /** * ISO 8601 date and time when an attendee checked in to an event. @@ -36,7 +36,7 @@ public class EventCheckedIn { @JsonCreator public EventCheckedIn( - @JsonProperty("event") @Nullable ActivityDataJsonEvent2 event, + @JsonProperty("event") @Nullable ActivityDataEvent1 event, @JsonProperty("checkedIn") @Nullable OffsetDateTime checkedIn) { this.event = event; this.checkedIn = checkedIn; @@ -49,7 +49,7 @@ public EventCheckedIn() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventCheckedIn withEvent(@Nullable ActivityDataJsonEvent2 event) { + public EventCheckedIn withEvent(@Nullable ActivityDataEvent1 event) { this.event = event; return this; } @@ -106,7 +106,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent2 event; + private ActivityDataEvent1 event; private OffsetDateTime checkedIn; @@ -117,7 +117,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent2 event) { + public Builder event(@Nullable ActivityDataEvent1 event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventCheckedOut.java b/packages/java/src/main/java/com/cvent/models/components/EventCheckedOut.java index bed6da245..29e852455 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventCheckedOut.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventCheckedOut.java @@ -25,7 +25,7 @@ public class EventCheckedOut { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent3 event; + private ActivityDataEvent2 event; /** * ISO 8601 date and time when an attendee checked out from an event. @@ -36,7 +36,7 @@ public class EventCheckedOut { @JsonCreator public EventCheckedOut( - @JsonProperty("event") @Nullable ActivityDataJsonEvent3 event, + @JsonProperty("event") @Nullable ActivityDataEvent2 event, @JsonProperty("checkOut") @Nullable OffsetDateTime checkOut) { this.event = event; this.checkOut = checkOut; @@ -49,7 +49,7 @@ public EventCheckedOut() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventCheckedOut withEvent(@Nullable ActivityDataJsonEvent3 event) { + public EventCheckedOut withEvent(@Nullable ActivityDataEvent2 event) { this.event = event; return this; } @@ -105,7 +105,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent3 event; + private ActivityDataEvent2 event; private OffsetDateTime checkOut; @@ -116,7 +116,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent3 event) { + public Builder event(@Nullable ActivityDataEvent2 event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventFeedbackSubmitted.java b/packages/java/src/main/java/com/cvent/models/components/EventFeedbackSubmitted.java index 3e7b6c9ed..bc94d8404 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventFeedbackSubmitted.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventFeedbackSubmitted.java @@ -24,19 +24,19 @@ public class EventFeedbackSubmitted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent4 event; + private EventFeedbackSubmittedEvent event; /** * A survey response. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey") - private SurveyResponseJson survey; + private SurveyResponse survey; @JsonCreator public EventFeedbackSubmitted( - @JsonProperty("event") @Nullable ActivityDataJsonEvent4 event, - @JsonProperty("survey") @Nullable SurveyResponseJson survey) { + @JsonProperty("event") @Nullable EventFeedbackSubmittedEvent event, + @JsonProperty("survey") @Nullable SurveyResponse survey) { this.event = event; this.survey = survey; } @@ -48,14 +48,14 @@ public EventFeedbackSubmitted() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } /** * A survey response. */ - public Optional survey() { + public Optional survey() { return Optional.ofNullable(this.survey); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventFeedbackSubmitted withEvent(@Nullable ActivityDataJsonEvent4 event) { + public EventFeedbackSubmitted withEvent(@Nullable EventFeedbackSubmittedEvent event) { this.event = event; return this; } @@ -74,7 +74,7 @@ public EventFeedbackSubmitted withEvent(@Nullable ActivityDataJsonEvent4 event) /** * A survey response. */ - public EventFeedbackSubmitted withSurvey(@Nullable SurveyResponseJson survey) { + public EventFeedbackSubmitted withSurvey(@Nullable SurveyResponse survey) { this.survey = survey; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent4 event; + private EventFeedbackSubmittedEvent event; - private SurveyResponseJson survey; + private SurveyResponse survey; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent4 event) { + public Builder event(@Nullable EventFeedbackSubmittedEvent event) { this.event = event; return this; } @@ -123,7 +123,7 @@ public Builder event(@Nullable ActivityDataJsonEvent4 event) { /** * A survey response. */ - public Builder survey(@Nullable SurveyResponseJson survey) { + public Builder survey(@Nullable SurveyResponse survey) { this.survey = survey; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventFeedbackSubmittedEvent.java b/packages/java/src/main/java/com/cvent/models/components/EventFeedbackSubmittedEvent.java new file mode 100644 index 000000000..c93fec9e8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventFeedbackSubmittedEvent.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventFeedbackSubmittedEvent + * + *

The event in which this activity occurred. + */ +public class EventFeedbackSubmittedEvent { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventFeedbackSubmittedEvent(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventFeedbackSubmittedEvent() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public EventFeedbackSubmittedEvent withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventFeedbackSubmittedEvent other = (EventFeedbackSubmittedEvent) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventFeedbackSubmittedEvent.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventFeedbackSubmittedEvent build() { + return new EventFeedbackSubmittedEvent(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventInsurance.java b/packages/java/src/main/java/com/cvent/models/components/EventInsurance.java new file mode 100644 index 000000000..21c843254 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventInsurance.java @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * EventInsurance + * + *

Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ +public enum EventInsurance { + BLANK("BLANK"), + REQUIRED("REQUIRED"), + MAY_BE_REQUIRED("MAY_BE_REQUIRED"), + NOT_REQUIRED("NOT_REQUIRED"); + + @JsonValue + private final String value; + + EventInsurance(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (EventInsurance o : EventInsurance.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/EventNoShow.java b/packages/java/src/main/java/com/cvent/models/components/EventNoShow.java index 6cc6214ed..f65c713ec 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventNoShow.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventNoShow.java @@ -24,10 +24,10 @@ public class EventNoShow { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent5 event; + private ActivityDataEvent3 event; @JsonCreator - public EventNoShow(@JsonProperty("event") @Nullable ActivityDataJsonEvent5 event) { + public EventNoShow(@JsonProperty("event") @Nullable ActivityDataEvent3 event) { this.event = event; } @@ -38,7 +38,7 @@ public EventNoShow() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -49,7 +49,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventNoShow withEvent(@Nullable ActivityDataJsonEvent5 event) { + public EventNoShow withEvent(@Nullable ActivityDataEvent3 event) { this.event = event; return this; } @@ -79,7 +79,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent5 event; + private ActivityDataEvent3 event; private Builder() { // force use of static builder() method @@ -88,7 +88,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent5 event) { + public Builder event(@Nullable ActivityDataEvent3 event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventPageVisitTracked.java b/packages/java/src/main/java/com/cvent/models/components/EventPageVisitTracked.java index 22f4f4bab..0bab108c9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventPageVisitTracked.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventPageVisitTracked.java @@ -25,7 +25,7 @@ public class EventPageVisitTracked { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent6 event; + private EventPageVisitTrackedEvent event; /** * Identifies which site sent the traffic. @@ -80,7 +80,7 @@ public class EventPageVisitTracked { @JsonCreator public EventPageVisitTracked( - @JsonProperty("event") @Nullable ActivityDataJsonEvent6 event, + @JsonProperty("event") @Nullable EventPageVisitTrackedEvent event, @JsonProperty("source") @Nullable String source, @JsonProperty("medium") @Nullable String medium, @JsonProperty("campaign") @Nullable String campaign, @@ -105,7 +105,7 @@ public EventPageVisitTracked() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -167,7 +167,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventPageVisitTracked withEvent(@Nullable ActivityDataJsonEvent6 event) { + public EventPageVisitTracked withEvent(@Nullable EventPageVisitTrackedEvent event) { this.event = event; return this; } @@ -279,7 +279,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent6 event; + private EventPageVisitTrackedEvent event; private String source; @@ -302,7 +302,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent6 event) { + public Builder event(@Nullable EventPageVisitTrackedEvent event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventPageVisitTrackedEvent.java b/packages/java/src/main/java/com/cvent/models/components/EventPageVisitTrackedEvent.java new file mode 100644 index 000000000..64972ba7e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventPageVisitTrackedEvent.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventPageVisitTrackedEvent + * + *

The event in which this activity occurred. + */ +public class EventPageVisitTrackedEvent { + /** + * Event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventPageVisitTrackedEvent(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventPageVisitTrackedEvent() { + this(null); + } + + /** + * Event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event ID. + */ + public EventPageVisitTrackedEvent withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventPageVisitTrackedEvent other = (EventPageVisitTrackedEvent) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventPageVisitTrackedEvent.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventPageVisitTrackedEvent build() { + return new EventPageVisitTrackedEvent(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java index c3bb665de..48f171014 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java @@ -105,7 +105,7 @@ public class EventQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson2 type; + private QuestionTypeJson1 type; /** * Optional description to provide additional context of the question. @@ -127,7 +127,7 @@ public EventQuestionJson( @JsonProperty("tag") @Nullable String tag, @JsonProperty("session") @Nullable EventQuestionJsonSession session, @JsonProperty("admissionItem") @Nullable EventQuestionJsonAdmissionItem admissionItem, - @JsonProperty("type") @Nullable QuestionTypeJson2 type, + @JsonProperty("type") @Nullable QuestionTypeJson1 type, @JsonProperty("internalNote") @Nullable String internalNote) { this.created = created; this.createdBy = createdBy; @@ -231,7 +231,7 @@ public Optional admissionItem() { /** * This object represents the type of a question */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -340,7 +340,7 @@ public EventQuestionJson withAdmissionItem(@Nullable EventQuestionJsonAdmissionI /** * This object represents the type of a question */ - public EventQuestionJson withType(@Nullable QuestionTypeJson2 type) { + public EventQuestionJson withType(@Nullable QuestionTypeJson1 type) { this.type = type; return this; } @@ -452,7 +452,7 @@ public static final class Builder { private EventQuestionJsonAdmissionItem admissionItem; - private QuestionTypeJson2 type; + private QuestionTypeJson1 type; private String internalNote; @@ -554,7 +554,7 @@ public Builder admissionItem(@Nullable EventQuestionJsonAdmissionItem admissionI /** * This object represents the type of a question */ - public Builder type(@Nullable QuestionTypeJson2 type) { + public Builder type(@Nullable QuestionTypeJson1 type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRegistered.java b/packages/java/src/main/java/com/cvent/models/components/EventRegistered.java index 08b6c079b..a6705f6aa 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventRegistered.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventRegistered.java @@ -24,19 +24,19 @@ public class EventRegistered { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent7 event; + private ActivityDataEvent4 event; /** * This is used to denote the status of an attendee. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private AttendeeStatusJson status; + private AttendeeStatus status; @JsonCreator public EventRegistered( - @JsonProperty("event") @Nullable ActivityDataJsonEvent7 event, - @JsonProperty("status") @Nullable AttendeeStatusJson status) { + @JsonProperty("event") @Nullable ActivityDataEvent4 event, + @JsonProperty("status") @Nullable AttendeeStatus status) { this.event = event; this.status = status; } @@ -48,14 +48,14 @@ public EventRegistered() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } /** * This is used to denote the status of an attendee. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventRegistered withEvent(@Nullable ActivityDataJsonEvent7 event) { + public EventRegistered withEvent(@Nullable ActivityDataEvent4 event) { this.event = event; return this; } @@ -74,7 +74,7 @@ public EventRegistered withEvent(@Nullable ActivityDataJsonEvent7 event) { /** * This is used to denote the status of an attendee. */ - public EventRegistered withStatus(@Nullable AttendeeStatusJson status) { + public EventRegistered withStatus(@Nullable AttendeeStatus status) { this.status = status; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent7 event; + private ActivityDataEvent4 event; - private AttendeeStatusJson status; + private AttendeeStatus status; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent7 event) { + public Builder event(@Nullable ActivityDataEvent4 event) { this.event = event; return this; } @@ -123,7 +123,7 @@ public Builder event(@Nullable ActivityDataJsonEvent7 event) { /** * This is used to denote the status of an attendee. */ - public Builder status(@Nullable AttendeeStatusJson status) { + public Builder status(@Nullable AttendeeStatus status) { this.status = status; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRegistrationAbandoned.java b/packages/java/src/main/java/com/cvent/models/components/EventRegistrationAbandoned.java index 881566d6d..f19f1581e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventRegistrationAbandoned.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventRegistrationAbandoned.java @@ -43,13 +43,13 @@ public class EventRegistrationAbandoned { @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") @Deprecated - private ActivityContact contact; + private EventRegistrationAbandonedActivityContact contact; @JsonCreator public EventRegistrationAbandoned( @JsonProperty("lastSavedRegistrationPageName") @Nullable String lastSavedRegistrationPageName, @JsonProperty("lastActivity") @Nullable OffsetDateTime lastActivity, - @JsonProperty("contact") @Nullable ActivityContact contact) { + @JsonProperty("contact") @Nullable EventRegistrationAbandonedActivityContact contact) { this.lastSavedRegistrationPageName = lastSavedRegistrationPageName; this.lastActivity = lastActivity; this.contact = contact; @@ -79,7 +79,7 @@ public Optional lastActivity() { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -110,7 +110,7 @@ public EventRegistrationAbandoned withLastActivity(@Nullable OffsetDateTime last * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public EventRegistrationAbandoned withContact(@Nullable ActivityContact contact) { + public EventRegistrationAbandoned withContact(@Nullable EventRegistrationAbandonedActivityContact contact) { this.contact = contact; return this; } @@ -154,7 +154,7 @@ public static final class Builder { private OffsetDateTime lastActivity; @Deprecated - private ActivityContact contact; + private EventRegistrationAbandonedActivityContact contact; private Builder() { // force use of static builder() method @@ -182,7 +182,7 @@ public Builder lastActivity(@Nullable OffsetDateTime lastActivity) { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Builder contact(@Nullable ActivityContact contact) { + public Builder contact(@Nullable EventRegistrationAbandonedActivityContact contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRegistrationAbandonedActivityContact.java b/packages/java/src/main/java/com/cvent/models/components/EventRegistrationAbandonedActivityContact.java new file mode 100644 index 000000000..210a4b943 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventRegistrationAbandonedActivityContact.java @@ -0,0 +1,182 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Deprecated; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventRegistrationAbandonedActivityContact + * + *

Related contact. + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +@Deprecated +public class EventRegistrationAbandonedActivityContact { + /** + * The first name of the attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("firstName") + private String firstName; + + /** + * The last name of the attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastName") + private String lastName; + + /** + * The email address of the attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private String email; + + @JsonCreator + public EventRegistrationAbandonedActivityContact( + @JsonProperty("firstName") @Nullable String firstName, + @JsonProperty("lastName") @Nullable String lastName, + @JsonProperty("email") @Nullable String email) { + this.firstName = firstName; + this.lastName = lastName; + this.email = email; + } + + public EventRegistrationAbandonedActivityContact() { + this(null, null, null); + } + + /** + * The first name of the attendee. + */ + public Optional firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * The last name of the attendee. + */ + public Optional lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * The email address of the attendee. + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The first name of the attendee. + */ + public EventRegistrationAbandonedActivityContact withFirstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the attendee. + */ + public EventRegistrationAbandonedActivityContact withLastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the attendee. + */ + public EventRegistrationAbandonedActivityContact withEmail(@Nullable String email) { + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventRegistrationAbandonedActivityContact other = (EventRegistrationAbandonedActivityContact) o; + return Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.email, other.email); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(firstName, lastName, email); + } + + @Override + public String toString() { + return Utils.toString( + EventRegistrationAbandonedActivityContact.class, + "firstName", + firstName, + "lastName", + lastName, + "email", + email); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String firstName; + + private String lastName; + + private String email; + + private Builder() { + // force use of static builder() method + } + + /** + * The first name of the attendee. + */ + public Builder firstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the attendee. + */ + public Builder lastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the attendee. + */ + public Builder email(@Nullable String email) { + this.email = email; + return this; + } + + public EventRegistrationAbandonedActivityContact build() { + return new EventRegistrationAbandonedActivityContact(firstName, lastName, email); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRegistrationCancelled.java b/packages/java/src/main/java/com/cvent/models/components/EventRegistrationCancelled.java index a5b79848f..af82d3fcc 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventRegistrationCancelled.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventRegistrationCancelled.java @@ -24,19 +24,19 @@ public class EventRegistrationCancelled { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent8 event; + private ActivityDataEvent5 event; /** * This is used to denote the status of an attendee. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private AttendeeStatusJson status; + private AttendeeStatus status; @JsonCreator public EventRegistrationCancelled( - @JsonProperty("event") @Nullable ActivityDataJsonEvent8 event, - @JsonProperty("status") @Nullable AttendeeStatusJson status) { + @JsonProperty("event") @Nullable ActivityDataEvent5 event, + @JsonProperty("status") @Nullable AttendeeStatus status) { this.event = event; this.status = status; } @@ -48,14 +48,14 @@ public EventRegistrationCancelled() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } /** * This is used to denote the status of an attendee. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventRegistrationCancelled withEvent(@Nullable ActivityDataJsonEvent8 event) { + public EventRegistrationCancelled withEvent(@Nullable ActivityDataEvent5 event) { this.event = event; return this; } @@ -74,7 +74,7 @@ public EventRegistrationCancelled withEvent(@Nullable ActivityDataJsonEvent8 eve /** * This is used to denote the status of an attendee. */ - public EventRegistrationCancelled withStatus(@Nullable AttendeeStatusJson status) { + public EventRegistrationCancelled withStatus(@Nullable AttendeeStatus status) { this.status = status; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent8 event; + private ActivityDataEvent5 event; - private AttendeeStatusJson status; + private AttendeeStatus status; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent8 event) { + public Builder event(@Nullable ActivityDataEvent5 event) { this.event = event; return this; } @@ -123,7 +123,7 @@ public Builder event(@Nullable ActivityDataJsonEvent8 event) { /** * This is used to denote the status of an attendee. */ - public Builder status(@Nullable AttendeeStatusJson status) { + public Builder status(@Nullable AttendeeStatus status) { this.status = status; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRole.java b/packages/java/src/main/java/com/cvent/models/components/EventRole.java new file mode 100644 index 000000000..2cd5f2a7b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventRole.java @@ -0,0 +1,101 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventRole + * + *

An object that contains the event role ID. This is an **expandable** object and, if requested, will + * contain the name of the event role. + */ +public class EventRole { + /** + * The ID of the event role. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventRole(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventRole() { + this(null); + } + + /** + * The ID of the event role. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ID of the event role. + */ + public EventRole withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventRole other = (EventRole) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventRole.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID of the event role. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventRole build() { + return new EventRole(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignment.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignment.java new file mode 100644 index 000000000..998a70bf9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignment.java @@ -0,0 +1,306 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * EventRoleAssignment + * + *

An assignment of an event role to a user for an event. + */ +public class EventRoleAssignment { + /** + * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, + * and the user assigned the role. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The event where the user gets a role. For more details, use the [Get + * Event](#tag/Events/operation/getEventById) endpoint with the event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("event") + private EventRoleAssignmentEvent event; + + /** + * The user to whom the event role is assigned. For more details, use the [Get + * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("user") + private EventRoleAssignmentUser user; + + /** + * An object that contains the event role ID. This is an **expandable** object and, if requested, will + * contain the name of the event role. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("eventRole") + private EventRole eventRole; + + /** + * The ISO 8601 zoned date-time when the event role was assigned to the user. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("assigned") + private OffsetDateTime assigned; + + /** + * The identifier of the user who assigned the event role. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("assignedBy") + private String assignedBy; + + @JsonCreator + public EventRoleAssignment( + @JsonProperty("id") @Nullable String id, + @JsonProperty("event") @Nullable EventRoleAssignmentEvent event, + @JsonProperty("user") @Nullable EventRoleAssignmentUser user, + @JsonProperty("eventRole") @Nullable EventRole eventRole, + @JsonProperty("assigned") @Nullable OffsetDateTime assigned, + @JsonProperty("assignedBy") @Nullable String assignedBy) { + this.id = id; + this.event = event; + this.user = user; + this.eventRole = eventRole; + this.assigned = assigned; + this.assignedBy = assignedBy; + } + + public EventRoleAssignment() { + this(null, null, null, null, null, null); + } + + /** + * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, + * and the user assigned the role. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The event where the user gets a role. For more details, use the [Get + * Event](#tag/Events/operation/getEventById) endpoint with the event ID. + */ + public Optional event() { + return Optional.ofNullable(this.event); + } + + /** + * The user to whom the event role is assigned. For more details, use the [Get + * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + */ + public Optional user() { + return Optional.ofNullable(this.user); + } + + /** + * An object that contains the event role ID. This is an **expandable** object and, if requested, will + * contain the name of the event role. + */ + public Optional eventRole() { + return Optional.ofNullable(this.eventRole); + } + + /** + * The ISO 8601 zoned date-time when the event role was assigned to the user. + */ + public Optional assigned() { + return Optional.ofNullable(this.assigned); + } + + /** + * The identifier of the user who assigned the event role. + */ + public Optional assignedBy() { + return Optional.ofNullable(this.assignedBy); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, + * and the user assigned the role. + */ + public EventRoleAssignment withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The event where the user gets a role. For more details, use the [Get + * Event](#tag/Events/operation/getEventById) endpoint with the event ID. + */ + public EventRoleAssignment withEvent(@Nullable EventRoleAssignmentEvent event) { + this.event = event; + return this; + } + + /** + * The user to whom the event role is assigned. For more details, use the [Get + * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + */ + public EventRoleAssignment withUser(@Nullable EventRoleAssignmentUser user) { + this.user = user; + return this; + } + + /** + * An object that contains the event role ID. This is an **expandable** object and, if requested, will + * contain the name of the event role. + */ + public EventRoleAssignment withEventRole(@Nullable EventRole eventRole) { + this.eventRole = eventRole; + return this; + } + + /** + * The ISO 8601 zoned date-time when the event role was assigned to the user. + */ + public EventRoleAssignment withAssigned(@Nullable OffsetDateTime assigned) { + this.assigned = assigned; + return this; + } + + /** + * The identifier of the user who assigned the event role. + */ + public EventRoleAssignment withAssignedBy(@Nullable String assignedBy) { + this.assignedBy = assignedBy; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventRoleAssignment other = (EventRoleAssignment) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.event, other.event) + && Utils.enhancedDeepEquals(this.user, other.user) + && Utils.enhancedDeepEquals(this.eventRole, other.eventRole) + && Utils.enhancedDeepEquals(this.assigned, other.assigned) + && Utils.enhancedDeepEquals(this.assignedBy, other.assignedBy); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, event, user, eventRole, assigned, assignedBy); + } + + @Override + public String toString() { + return Utils.toString( + EventRoleAssignment.class, + "id", + id, + "event", + event, + "user", + user, + "eventRole", + eventRole, + "assigned", + assigned, + "assignedBy", + assignedBy); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private EventRoleAssignmentEvent event; + + private EventRoleAssignmentUser user; + + private EventRole eventRole; + + private OffsetDateTime assigned; + + private String assignedBy; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, + * and the user assigned the role. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The event where the user gets a role. For more details, use the [Get + * Event](#tag/Events/operation/getEventById) endpoint with the event ID. + */ + public Builder event(@Nullable EventRoleAssignmentEvent event) { + this.event = event; + return this; + } + + /** + * The user to whom the event role is assigned. For more details, use the [Get + * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + */ + public Builder user(@Nullable EventRoleAssignmentUser user) { + this.user = user; + return this; + } + + /** + * An object that contains the event role ID. This is an **expandable** object and, if requested, will + * contain the name of the event role. + */ + public Builder eventRole(@Nullable EventRole eventRole) { + this.eventRole = eventRole; + return this; + } + + /** + * The ISO 8601 zoned date-time when the event role was assigned to the user. + */ + public Builder assigned(@Nullable OffsetDateTime assigned) { + this.assigned = assigned; + return this; + } + + /** + * The identifier of the user who assigned the event role. + */ + public Builder assignedBy(@Nullable String assignedBy) { + this.assignedBy = assignedBy; + return this; + } + + public EventRoleAssignment build() { + return new EventRoleAssignment(id, event, user, eventRole, assigned, assignedBy); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentEvent.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentEvent.java new file mode 100644 index 000000000..e38672069 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentEvent.java @@ -0,0 +1,101 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventRoleAssignmentEvent + * + *

The event where the user gets a role. For more details, use the [Get + * Event](#tag/Events/operation/getEventById) endpoint with the event ID. + */ +public class EventRoleAssignmentEvent { + /** + * The unique ID of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventRoleAssignmentEvent(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventRoleAssignmentEvent() { + this(null); + } + + /** + * The unique ID of the event. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the event. + */ + public EventRoleAssignmentEvent withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventRoleAssignmentEvent other = (EventRoleAssignmentEvent) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventRoleAssignmentEvent.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the event. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventRoleAssignmentEvent build() { + return new EventRoleAssignmentEvent(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJson.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJson.java deleted file mode 100644 index 9c3595e5d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJson.java +++ /dev/null @@ -1,306 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * EventRoleAssignmentJson - * - *

An assignment of an event role to a user for an event. - */ -public class EventRoleAssignmentJson { - /** - * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, - * and the user assigned the role. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The event where the user gets a role. For more details, use the [Get - * Event](#tag/Events/operation/getEventById) endpoint with the event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("event") - private EventRoleAssignmentJsonEvent event; - - /** - * The user to whom the event role is assigned. For more details, use the [Get - * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("user") - private EventRoleAssignmentJsonUser user; - - /** - * An object that contains the event role ID. This is an **expandable** object and, if requested, will - * contain the name of the event role. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("eventRole") - private EventRoleJson eventRole; - - /** - * The ISO 8601 zoned date-time when the event role was assigned to the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("assigned") - private OffsetDateTime assigned; - - /** - * The identifier of the user who assigned the event role. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("assignedBy") - private String assignedBy; - - @JsonCreator - public EventRoleAssignmentJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("event") @Nullable EventRoleAssignmentJsonEvent event, - @JsonProperty("user") @Nullable EventRoleAssignmentJsonUser user, - @JsonProperty("eventRole") @Nullable EventRoleJson eventRole, - @JsonProperty("assigned") @Nullable OffsetDateTime assigned, - @JsonProperty("assignedBy") @Nullable String assignedBy) { - this.id = id; - this.event = event; - this.user = user; - this.eventRole = eventRole; - this.assigned = assigned; - this.assignedBy = assignedBy; - } - - public EventRoleAssignmentJson() { - this(null, null, null, null, null, null); - } - - /** - * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, - * and the user assigned the role. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The event where the user gets a role. For more details, use the [Get - * Event](#tag/Events/operation/getEventById) endpoint with the event ID. - */ - public Optional event() { - return Optional.ofNullable(this.event); - } - - /** - * The user to whom the event role is assigned. For more details, use the [Get - * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - */ - public Optional user() { - return Optional.ofNullable(this.user); - } - - /** - * An object that contains the event role ID. This is an **expandable** object and, if requested, will - * contain the name of the event role. - */ - public Optional eventRole() { - return Optional.ofNullable(this.eventRole); - } - - /** - * The ISO 8601 zoned date-time when the event role was assigned to the user. - */ - public Optional assigned() { - return Optional.ofNullable(this.assigned); - } - - /** - * The identifier of the user who assigned the event role. - */ - public Optional assignedBy() { - return Optional.ofNullable(this.assignedBy); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, - * and the user assigned the role. - */ - public EventRoleAssignmentJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The event where the user gets a role. For more details, use the [Get - * Event](#tag/Events/operation/getEventById) endpoint with the event ID. - */ - public EventRoleAssignmentJson withEvent(@Nullable EventRoleAssignmentJsonEvent event) { - this.event = event; - return this; - } - - /** - * The user to whom the event role is assigned. For more details, use the [Get - * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - */ - public EventRoleAssignmentJson withUser(@Nullable EventRoleAssignmentJsonUser user) { - this.user = user; - return this; - } - - /** - * An object that contains the event role ID. This is an **expandable** object and, if requested, will - * contain the name of the event role. - */ - public EventRoleAssignmentJson withEventRole(@Nullable EventRoleJson eventRole) { - this.eventRole = eventRole; - return this; - } - - /** - * The ISO 8601 zoned date-time when the event role was assigned to the user. - */ - public EventRoleAssignmentJson withAssigned(@Nullable OffsetDateTime assigned) { - this.assigned = assigned; - return this; - } - - /** - * The identifier of the user who assigned the event role. - */ - public EventRoleAssignmentJson withAssignedBy(@Nullable String assignedBy) { - this.assignedBy = assignedBy; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - EventRoleAssignmentJson other = (EventRoleAssignmentJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.event, other.event) - && Utils.enhancedDeepEquals(this.user, other.user) - && Utils.enhancedDeepEquals(this.eventRole, other.eventRole) - && Utils.enhancedDeepEquals(this.assigned, other.assigned) - && Utils.enhancedDeepEquals(this.assignedBy, other.assignedBy); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, event, user, eventRole, assigned, assignedBy); - } - - @Override - public String toString() { - return Utils.toString( - EventRoleAssignmentJson.class, - "id", - id, - "event", - event, - "user", - user, - "eventRole", - eventRole, - "assigned", - assigned, - "assignedBy", - assignedBy); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private EventRoleAssignmentJsonEvent event; - - private EventRoleAssignmentJsonUser user; - - private EventRoleJson eventRole; - - private OffsetDateTime assigned; - - private String assignedBy; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, - * and the user assigned the role. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The event where the user gets a role. For more details, use the [Get - * Event](#tag/Events/operation/getEventById) endpoint with the event ID. - */ - public Builder event(@Nullable EventRoleAssignmentJsonEvent event) { - this.event = event; - return this; - } - - /** - * The user to whom the event role is assigned. For more details, use the [Get - * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - */ - public Builder user(@Nullable EventRoleAssignmentJsonUser user) { - this.user = user; - return this; - } - - /** - * An object that contains the event role ID. This is an **expandable** object and, if requested, will - * contain the name of the event role. - */ - public Builder eventRole(@Nullable EventRoleJson eventRole) { - this.eventRole = eventRole; - return this; - } - - /** - * The ISO 8601 zoned date-time when the event role was assigned to the user. - */ - public Builder assigned(@Nullable OffsetDateTime assigned) { - this.assigned = assigned; - return this; - } - - /** - * The identifier of the user who assigned the event role. - */ - public Builder assignedBy(@Nullable String assignedBy) { - this.assignedBy = assignedBy; - return this; - } - - public EventRoleAssignmentJson build() { - return new EventRoleAssignmentJson(id, event, user, eventRole, assigned, assignedBy); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJsonEvent.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJsonEvent.java deleted file mode 100644 index 10ccf009c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJsonEvent.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventRoleAssignmentJsonEvent - * - *

The event where the user gets a role. For more details, use the [Get - * Event](#tag/Events/operation/getEventById) endpoint with the event ID. - */ -public class EventRoleAssignmentJsonEvent { - /** - * The unique ID of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventRoleAssignmentJsonEvent(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventRoleAssignmentJsonEvent() { - this(null); - } - - /** - * The unique ID of the event. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the event. - */ - public EventRoleAssignmentJsonEvent withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - EventRoleAssignmentJsonEvent other = (EventRoleAssignmentJsonEvent) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventRoleAssignmentJsonEvent.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the event. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventRoleAssignmentJsonEvent build() { - return new EventRoleAssignmentJsonEvent(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJsonUser.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJsonUser.java deleted file mode 100644 index eee7da666..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentJsonUser.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventRoleAssignmentJsonUser - * - *

The user to whom the event role is assigned. For more details, use the [Get - * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - */ -public class EventRoleAssignmentJsonUser { - /** - * The unique ID of the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventRoleAssignmentJsonUser(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventRoleAssignmentJsonUser() { - this(null); - } - - /** - * The unique ID of the user. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the user. - */ - public EventRoleAssignmentJsonUser withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - EventRoleAssignmentJsonUser other = (EventRoleAssignmentJsonUser) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventRoleAssignmentJsonUser.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 user. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventRoleAssignmentJsonUser build() { - return new EventRoleAssignmentJsonUser(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentUser.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentUser.java new file mode 100644 index 000000000..b1873c38b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentUser.java @@ -0,0 +1,101 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventRoleAssignmentUser + * + *

The user to whom the event role is assigned. For more details, use the [Get + * User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + */ +public class EventRoleAssignmentUser { + /** + * The unique ID of the user. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventRoleAssignmentUser(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventRoleAssignmentUser() { + this(null); + } + + /** + * The unique ID of the user. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the user. + */ + public EventRoleAssignmentUser withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventRoleAssignmentUser other = (EventRoleAssignmentUser) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventRoleAssignmentUser.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 user. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventRoleAssignmentUser build() { + return new EventRoleAssignmentUser(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentsPaginatedResponse.java index c3038dd12..d7993a182 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventRoleAssignmentsPaginatedResponse.java @@ -23,18 +23,18 @@ public class EventRoleAssignmentsPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * A collection of event role assignments. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public EventRoleAssignmentsPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull Paging paging, + @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); @@ -43,14 +43,14 @@ public EventRoleAssignmentsPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * A collection of event role assignments. */ - public List data() { + public List data() { return this.data; } @@ -61,7 +61,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public EventRoleAssignmentsPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public EventRoleAssignmentsPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -69,7 +69,7 @@ public EventRoleAssignmentsPaginatedResponse withPaging(@Nonnull PagingJson pagi /** * A collection of event role assignments. */ - public EventRoleAssignmentsPaginatedResponse withData(@Nonnull List data) { + public EventRoleAssignmentsPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,9 +99,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -110,7 +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; } @@ -118,7 +118,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * A collection of event role assignments. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventRoleJson.java b/packages/java/src/main/java/com/cvent/models/components/EventRoleJson.java deleted file mode 100644 index 13565e783..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventRoleJson.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventRoleJson - * - *

An object that contains the event role ID. This is an **expandable** object and, if requested, will - * contain the name of the event role. - */ -public class EventRoleJson { - /** - * The ID of the event role. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventRoleJson(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventRoleJson() { - this(null); - } - - /** - * The ID of the event role. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ID of the event role. - */ - public EventRoleJson withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - EventRoleJson other = (EventRoleJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventRoleJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The ID of the event role. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventRoleJson build() { - return new EventRoleJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java index 0400f6523..a3d5cee40 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java @@ -94,7 +94,7 @@ public class EventSurveyQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson1 type; + private QuestionTypeJson type; /** * List of choices for the question. @@ -191,7 +191,7 @@ public EventSurveyQuestionJson( @JsonProperty("shortText") @Nullable String shortText, @JsonProperty("htmlText") @Nullable String htmlText, @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable QuestionTypeJson1 type, + @JsonProperty("type") @Nullable QuestionTypeJson type, @JsonProperty("choices") @Nullable List choices, @JsonProperty("categories") @Nullable List categories, @JsonProperty("subCategories") @Nullable List subCategories, @@ -320,7 +320,7 @@ public Optional code() { /** * Question Type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -487,7 +487,7 @@ public EventSurveyQuestionJson withCode(@Nullable String code) { /** * Question Type. */ - public EventSurveyQuestionJson withType(@Nullable QuestionTypeJson1 type) { + public EventSurveyQuestionJson withType(@Nullable QuestionTypeJson type) { this.type = type; return this; } @@ -719,7 +719,7 @@ public static final class Builder { private String code; - private QuestionTypeJson1 type; + private QuestionTypeJson type; private List choices; @@ -824,7 +824,7 @@ public Builder code(@Nullable String code) { /** * Question Type. */ - public Builder type(@Nullable QuestionTypeJson1 type) { + public Builder type(@Nullable QuestionTypeJson type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventWaitlisted.java b/packages/java/src/main/java/com/cvent/models/components/EventWaitlisted.java index 3b570bede..ec67c1de9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventWaitlisted.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventWaitlisted.java @@ -24,19 +24,19 @@ public class EventWaitlisted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private ActivityDataJsonEvent9 event; + private ActivityDataEvent6 event; /** * This is used to denote the status of an attendee. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private AttendeeStatusJson status; + private AttendeeStatus status; @JsonCreator public EventWaitlisted( - @JsonProperty("event") @Nullable ActivityDataJsonEvent9 event, - @JsonProperty("status") @Nullable AttendeeStatusJson status) { + @JsonProperty("event") @Nullable ActivityDataEvent6 event, + @JsonProperty("status") @Nullable AttendeeStatus status) { this.event = event; this.status = status; } @@ -48,14 +48,14 @@ public EventWaitlisted() { /** * The event in which this activity occurred. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } /** * This is used to denote the status of an attendee. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * The event in which this activity occurred. */ - public EventWaitlisted withEvent(@Nullable ActivityDataJsonEvent9 event) { + public EventWaitlisted withEvent(@Nullable ActivityDataEvent6 event) { this.event = event; return this; } @@ -74,7 +74,7 @@ public EventWaitlisted withEvent(@Nullable ActivityDataJsonEvent9 event) { /** * This is used to denote the status of an attendee. */ - public EventWaitlisted withStatus(@Nullable AttendeeStatusJson status) { + public EventWaitlisted withStatus(@Nullable AttendeeStatus status) { this.status = status; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityDataJsonEvent9 event; + private ActivityDataEvent6 event; - private AttendeeStatusJson status; + private AttendeeStatus status; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * The event in which this activity occurred. */ - public Builder event(@Nullable ActivityDataJsonEvent9 event) { + public Builder event(@Nullable ActivityDataEvent6 event) { this.event = event; return this; } @@ -123,7 +123,7 @@ public Builder event(@Nullable ActivityDataJsonEvent9 event) { /** * This is used to denote the status of an attendee. */ - public Builder status(@Nullable AttendeeStatusJson status) { + public Builder status(@Nullable AttendeeStatus status) { this.status = status; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitLayoutType.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitLayoutType.java new file mode 100644 index 000000000..28573e517 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitLayoutType.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * ExhibitLayoutType + * + *

The exhibit setup type for a meeting room. Values represent standard exhibit booth and display + * configurations. + */ +public enum ExhibitLayoutType { + BOOTH10X10("BOOTH_10x10"), + BOOTH8X10("BOOTH_8x10"), + ISLAND_EXHIBIT("ISLAND_EXHIBIT"), + PENINSULA_EXHIBIT("PENINSULA_EXHIBIT"), + PERIMETER_EXHIBIT("PERIMETER_EXHIBIT"), + TABLETOP_EXHIBIT("TABLETOP_EXHIBIT"); + + @JsonValue + private final String value; + + ExhibitLayoutType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ExhibitLayoutType o : ExhibitLayoutType.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/Exhibitor1.java b/packages/java/src/main/java/com/cvent/models/components/Exhibitor1.java new file mode 100644 index 000000000..4e58772f1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Exhibitor1.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * Exhibitor1 + * + *

An exhibitor. + */ +public class Exhibitor1 { + /** + * The unique identifier of the exhibitor. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The Name of an exhibitor. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * If the exhibitor is featured. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("featured") + private Boolean featured; + + /** + * If the exhibitor is an event sponsor. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("eventSponsor") + private Boolean eventSponsor; + + @JsonCreator + public Exhibitor1( + @JsonProperty("id") @Nullable String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("featured") @Nullable Boolean featured, + @JsonProperty("eventSponsor") @Nullable Boolean eventSponsor) { + this.id = id; + this.name = name; + this.featured = featured; + this.eventSponsor = eventSponsor; + } + + public Exhibitor1() { + this(null, null, null, null); + } + + /** + * The unique identifier of the exhibitor. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The Name of an exhibitor. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * If the exhibitor is featured. + */ + public Optional featured() { + return Optional.ofNullable(this.featured); + } + + /** + * If the exhibitor is an event sponsor. + */ + public Optional eventSponsor() { + return Optional.ofNullable(this.eventSponsor); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the exhibitor. + */ + public Exhibitor1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The Name of an exhibitor. + */ + public Exhibitor1 withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * If the exhibitor is featured. + */ + public Exhibitor1 withFeatured(@Nullable Boolean featured) { + this.featured = featured; + return this; + } + + /** + * If the exhibitor is an event sponsor. + */ + public Exhibitor1 withEventSponsor(@Nullable Boolean eventSponsor) { + this.eventSponsor = eventSponsor; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Exhibitor1 other = (Exhibitor1) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.featured, other.featured) + && Utils.enhancedDeepEquals(this.eventSponsor, other.eventSponsor); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, featured, eventSponsor); + } + + @Override + public String toString() { + return Utils.toString( + Exhibitor1.class, "id", id, "name", name, "featured", featured, "eventSponsor", eventSponsor); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Boolean featured; + + private Boolean eventSponsor; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the exhibitor. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The Name of an exhibitor. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * If the exhibitor is featured. + */ + public Builder featured(@Nullable Boolean featured) { + this.featured = featured; + return this; + } + + /** + * If the exhibitor is an event sponsor. + */ + public Builder eventSponsor(@Nullable Boolean eventSponsor) { + this.eventSponsor = eventSponsor; + return this; + } + + public Exhibitor1 build() { + return new Exhibitor1(id, name, featured, eventSponsor); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorDocumentOpened.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorDocumentOpened.java index 7c8f54c5a..82b1795ce 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorDocumentOpened.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorDocumentOpened.java @@ -24,7 +24,7 @@ public class ExhibitorDocumentOpened { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; /** * The platform used by the user. @@ -38,13 +38,13 @@ public class ExhibitorDocumentOpened { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("document") - private ActivityExhibitorDocumentJson document; + private ActivityExhibitorDocument document; @JsonCreator public ExhibitorDocumentOpened( - @JsonProperty("exhibitor") @Nullable ExhibitorJson exhibitor, + @JsonProperty("exhibitor") @Nullable Exhibitor1 exhibitor, @JsonProperty("platform") @Nullable String platform, - @JsonProperty("document") @Nullable ActivityExhibitorDocumentJson document) { + @JsonProperty("document") @Nullable ActivityExhibitorDocument document) { this.exhibitor = exhibitor; this.platform = platform; this.document = document; @@ -57,7 +57,7 @@ public ExhibitorDocumentOpened() { /** * An exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } @@ -71,7 +71,7 @@ public Optional platform() { /** * Document for an activity exhibitor. */ - public Optional document() { + public Optional document() { return Optional.ofNullable(this.document); } @@ -82,7 +82,7 @@ public static Builder builder() { /** * An exhibitor. */ - public ExhibitorDocumentOpened withExhibitor(@Nullable ExhibitorJson exhibitor) { + public ExhibitorDocumentOpened withExhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -98,7 +98,7 @@ public ExhibitorDocumentOpened withPlatform(@Nullable String platform) { /** * Document for an activity exhibitor. */ - public ExhibitorDocumentOpened withDocument(@Nullable ActivityExhibitorDocumentJson document) { + public ExhibitorDocumentOpened withDocument(@Nullable ActivityExhibitorDocument document) { this.document = document; return this; } @@ -131,11 +131,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; private String platform; - private ActivityExhibitorDocumentJson document; + private ActivityExhibitorDocument document; private Builder() { // force use of static builder() method @@ -144,7 +144,7 @@ private Builder() { /** * An exhibitor. */ - public Builder exhibitor(@Nullable ExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -160,7 +160,7 @@ public Builder platform(@Nullable String platform) { /** * Document for an activity exhibitor. */ - public Builder document(@Nullable ActivityExhibitorDocumentJson document) { + public Builder document(@Nullable ActivityExhibitorDocument document) { this.document = document; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorJson.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorJson.java deleted file mode 100644 index bee8853bd..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorJson.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ExhibitorJson - * - *

An exhibitor. - */ -public class ExhibitorJson { - /** - * The unique identifier of the exhibitor. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The Name of an exhibitor. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * If the exhibitor is featured. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("featured") - private Boolean featured; - - /** - * If the exhibitor is an event sponsor. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("eventSponsor") - private Boolean eventSponsor; - - @JsonCreator - public ExhibitorJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("featured") @Nullable Boolean featured, - @JsonProperty("eventSponsor") @Nullable Boolean eventSponsor) { - this.id = id; - this.name = name; - this.featured = featured; - this.eventSponsor = eventSponsor; - } - - public ExhibitorJson() { - this(null, null, null, null); - } - - /** - * The unique identifier of the exhibitor. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The Name of an exhibitor. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * If the exhibitor is featured. - */ - public Optional featured() { - return Optional.ofNullable(this.featured); - } - - /** - * If the exhibitor is an event sponsor. - */ - public Optional eventSponsor() { - return Optional.ofNullable(this.eventSponsor); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the exhibitor. - */ - public ExhibitorJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The Name of an exhibitor. - */ - public ExhibitorJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * If the exhibitor is featured. - */ - public ExhibitorJson withFeatured(@Nullable Boolean featured) { - this.featured = featured; - return this; - } - - /** - * If the exhibitor is an event sponsor. - */ - public ExhibitorJson withEventSponsor(@Nullable Boolean eventSponsor) { - this.eventSponsor = eventSponsor; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExhibitorJson other = (ExhibitorJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.featured, other.featured) - && Utils.enhancedDeepEquals(this.eventSponsor, other.eventSponsor); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, featured, eventSponsor); - } - - @Override - public String toString() { - return Utils.toString( - ExhibitorJson.class, "id", id, "name", name, "featured", featured, "eventSponsor", eventSponsor); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private Boolean featured; - - private Boolean eventSponsor; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the exhibitor. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The Name of an exhibitor. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * If the exhibitor is featured. - */ - public Builder featured(@Nullable Boolean featured) { - this.featured = featured; - return this; - } - - /** - * If the exhibitor is an event sponsor. - */ - public Builder eventSponsor(@Nullable Boolean eventSponsor) { - this.eventSponsor = eventSponsor; - return this; - } - - public ExhibitorJson build() { - return new ExhibitorJson(id, name, featured, eventSponsor); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorSocialLinkOpened.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorSocialLinkOpened.java index 0c4398339..4f3ada31d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorSocialLinkOpened.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorSocialLinkOpened.java @@ -24,7 +24,7 @@ public class ExhibitorSocialLinkOpened { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; /** * The platform used by the user. @@ -38,7 +38,7 @@ public class ExhibitorSocialLinkOpened { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sponsorshipLevel") - private ActivityExhibitorSponsorshipLevelJson sponsorshipLevel; + private ActivityExhibitorSponsorshipLevel sponsorshipLevel; /** * The name of the social network. @@ -56,9 +56,9 @@ public class ExhibitorSocialLinkOpened { @JsonCreator public ExhibitorSocialLinkOpened( - @JsonProperty("exhibitor") @Nullable ExhibitorJson exhibitor, + @JsonProperty("exhibitor") @Nullable Exhibitor1 exhibitor, @JsonProperty("platform") @Nullable String platform, - @JsonProperty("sponsorshipLevel") @Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel, + @JsonProperty("sponsorshipLevel") @Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel, @JsonProperty("socialNetwork") @Nullable String socialNetwork, @JsonProperty("url") @Nullable String url) { this.exhibitor = exhibitor; @@ -75,7 +75,7 @@ public ExhibitorSocialLinkOpened() { /** * An exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } @@ -89,7 +89,7 @@ public Optional platform() { /** * Sponsorship level for an activity exhibitor. */ - public Optional sponsorshipLevel() { + public Optional sponsorshipLevel() { return Optional.ofNullable(this.sponsorshipLevel); } @@ -114,7 +114,7 @@ public static Builder builder() { /** * An exhibitor. */ - public ExhibitorSocialLinkOpened withExhibitor(@Nullable ExhibitorJson exhibitor) { + public ExhibitorSocialLinkOpened withExhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -131,7 +131,7 @@ public ExhibitorSocialLinkOpened withPlatform(@Nullable String platform) { * Sponsorship level for an activity exhibitor. */ public ExhibitorSocialLinkOpened withSponsorshipLevel( - @Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel) { + @Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel) { this.sponsorshipLevel = sponsorshipLevel; return this; } @@ -192,11 +192,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; private String platform; - private ActivityExhibitorSponsorshipLevelJson sponsorshipLevel; + private ActivityExhibitorSponsorshipLevel sponsorshipLevel; private String socialNetwork; @@ -209,7 +209,7 @@ private Builder() { /** * An exhibitor. */ - public Builder exhibitor(@Nullable ExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -225,7 +225,7 @@ public Builder platform(@Nullable String platform) { /** * Sponsorship level for an activity exhibitor. */ - public Builder sponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel) { + public Builder sponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel) { this.sponsorshipLevel = sponsorshipLevel; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorViewed.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorViewed.java index 40670b26e..acb885f5f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorViewed.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorViewed.java @@ -24,7 +24,7 @@ public class ExhibitorViewed { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; /** * The platform used by the user. @@ -38,21 +38,21 @@ public class ExhibitorViewed { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sponsorshipLevel") - private ActivityExhibitorSponsorshipLevelJson sponsorshipLevel; + private ActivityExhibitorSponsorshipLevel sponsorshipLevel; /** * Navigation source for an activity exhibitor. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("navigationSource") - private ActivityExhibitorNavigationSourceJson navigationSource; + private ActivityExhibitorNavigationSource navigationSource; @JsonCreator public ExhibitorViewed( - @JsonProperty("exhibitor") @Nullable ExhibitorJson exhibitor, + @JsonProperty("exhibitor") @Nullable Exhibitor1 exhibitor, @JsonProperty("platform") @Nullable String platform, - @JsonProperty("sponsorshipLevel") @Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel, - @JsonProperty("navigationSource") @Nullable ActivityExhibitorNavigationSourceJson navigationSource) { + @JsonProperty("sponsorshipLevel") @Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel, + @JsonProperty("navigationSource") @Nullable ActivityExhibitorNavigationSource navigationSource) { this.exhibitor = exhibitor; this.platform = platform; this.sponsorshipLevel = sponsorshipLevel; @@ -66,7 +66,7 @@ public ExhibitorViewed() { /** * An exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } @@ -80,14 +80,14 @@ public Optional platform() { /** * Sponsorship level for an activity exhibitor. */ - public Optional sponsorshipLevel() { + public Optional sponsorshipLevel() { return Optional.ofNullable(this.sponsorshipLevel); } /** * Navigation source for an activity exhibitor. */ - public Optional navigationSource() { + public Optional navigationSource() { return Optional.ofNullable(this.navigationSource); } @@ -98,7 +98,7 @@ public static Builder builder() { /** * An exhibitor. */ - public ExhibitorViewed withExhibitor(@Nullable ExhibitorJson exhibitor) { + public ExhibitorViewed withExhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -114,7 +114,7 @@ public ExhibitorViewed withPlatform(@Nullable String platform) { /** * Sponsorship level for an activity exhibitor. */ - public ExhibitorViewed withSponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel) { + public ExhibitorViewed withSponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel) { this.sponsorshipLevel = sponsorshipLevel; return this; } @@ -122,7 +122,7 @@ public ExhibitorViewed withSponsorshipLevel(@Nullable ActivityExhibitorSponsorsh /** * Navigation source for an activity exhibitor. */ - public ExhibitorViewed withNavigationSource(@Nullable ActivityExhibitorNavigationSourceJson navigationSource) { + public ExhibitorViewed withNavigationSource(@Nullable ActivityExhibitorNavigationSource navigationSource) { this.navigationSource = navigationSource; return this; } @@ -164,13 +164,13 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; private String platform; - private ActivityExhibitorSponsorshipLevelJson sponsorshipLevel; + private ActivityExhibitorSponsorshipLevel sponsorshipLevel; - private ActivityExhibitorNavigationSourceJson navigationSource; + private ActivityExhibitorNavigationSource navigationSource; private Builder() { // force use of static builder() method @@ -179,7 +179,7 @@ private Builder() { /** * An exhibitor. */ - public Builder exhibitor(@Nullable ExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -195,7 +195,7 @@ public Builder platform(@Nullable String platform) { /** * Sponsorship level for an activity exhibitor. */ - public Builder sponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel) { + public Builder sponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel) { this.sponsorshipLevel = sponsorshipLevel; return this; } @@ -203,7 +203,7 @@ public Builder sponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevelJson /** * Navigation source for an activity exhibitor. */ - public Builder navigationSource(@Nullable ActivityExhibitorNavigationSourceJson navigationSource) { + public Builder navigationSource(@Nullable ActivityExhibitorNavigationSource navigationSource) { this.navigationSource = navigationSource; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorVirtualBoothJoined.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorVirtualBoothJoined.java index e33b4dbd4..d4c67b148 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorVirtualBoothJoined.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorVirtualBoothJoined.java @@ -24,7 +24,7 @@ public class ExhibitorVirtualBoothJoined { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; /** * The platform used by the user. @@ -38,7 +38,7 @@ public class ExhibitorVirtualBoothJoined { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sponsorshipLevel") - private ActivityExhibitorSponsorshipLevelJson sponsorshipLevel; + private ActivityExhibitorSponsorshipLevel sponsorshipLevel; /** * The solution type used for the virtual booth. @@ -49,9 +49,9 @@ public class ExhibitorVirtualBoothJoined { @JsonCreator public ExhibitorVirtualBoothJoined( - @JsonProperty("exhibitor") @Nullable ExhibitorJson exhibitor, + @JsonProperty("exhibitor") @Nullable Exhibitor1 exhibitor, @JsonProperty("platform") @Nullable String platform, - @JsonProperty("sponsorshipLevel") @Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel, + @JsonProperty("sponsorshipLevel") @Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel, @JsonProperty("solutionType") @Nullable String solutionType) { this.exhibitor = exhibitor; this.platform = platform; @@ -66,7 +66,7 @@ public ExhibitorVirtualBoothJoined() { /** * An exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } @@ -80,7 +80,7 @@ public Optional platform() { /** * Sponsorship level for an activity exhibitor. */ - public Optional sponsorshipLevel() { + public Optional sponsorshipLevel() { return Optional.ofNullable(this.sponsorshipLevel); } @@ -98,7 +98,7 @@ public static Builder builder() { /** * An exhibitor. */ - public ExhibitorVirtualBoothJoined withExhibitor(@Nullable ExhibitorJson exhibitor) { + public ExhibitorVirtualBoothJoined withExhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -115,7 +115,7 @@ public ExhibitorVirtualBoothJoined withPlatform(@Nullable String platform) { * Sponsorship level for an activity exhibitor. */ public ExhibitorVirtualBoothJoined withSponsorshipLevel( - @Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel) { + @Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel) { this.sponsorshipLevel = sponsorshipLevel; return this; } @@ -165,11 +165,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; private String platform; - private ActivityExhibitorSponsorshipLevelJson sponsorshipLevel; + private ActivityExhibitorSponsorshipLevel sponsorshipLevel; private String solutionType; @@ -180,7 +180,7 @@ private Builder() { /** * An exhibitor. */ - public Builder exhibitor(@Nullable ExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -196,7 +196,7 @@ public Builder platform(@Nullable String platform) { /** * Sponsorship level for an activity exhibitor. */ - public Builder sponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevelJson sponsorshipLevel) { + public Builder sponsorshipLevel(@Nullable ActivityExhibitorSponsorshipLevel sponsorshipLevel) { this.sponsorshipLevel = sponsorshipLevel; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorWeblinkOpened.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorWeblinkOpened.java index 51ea4c24c..465644069 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorWeblinkOpened.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorWeblinkOpened.java @@ -24,7 +24,7 @@ public class ExhibitorWeblinkOpened { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; /** * The platform used by the user. @@ -38,13 +38,13 @@ public class ExhibitorWeblinkOpened { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("weblink") - private ActivityExhibitorWebLinkJson weblink; + private ActivityExhibitorWeblink weblink; @JsonCreator public ExhibitorWeblinkOpened( - @JsonProperty("exhibitor") @Nullable ExhibitorJson exhibitor, + @JsonProperty("exhibitor") @Nullable Exhibitor1 exhibitor, @JsonProperty("platform") @Nullable String platform, - @JsonProperty("weblink") @Nullable ActivityExhibitorWebLinkJson weblink) { + @JsonProperty("weblink") @Nullable ActivityExhibitorWeblink weblink) { this.exhibitor = exhibitor; this.platform = platform; this.weblink = weblink; @@ -57,7 +57,7 @@ public ExhibitorWeblinkOpened() { /** * An exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } @@ -71,7 +71,7 @@ public Optional platform() { /** * A web-link for an activity exhibitor. */ - public Optional weblink() { + public Optional weblink() { return Optional.ofNullable(this.weblink); } @@ -82,7 +82,7 @@ public static Builder builder() { /** * An exhibitor. */ - public ExhibitorWeblinkOpened withExhibitor(@Nullable ExhibitorJson exhibitor) { + public ExhibitorWeblinkOpened withExhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -98,7 +98,7 @@ public ExhibitorWeblinkOpened withPlatform(@Nullable String platform) { /** * A web-link for an activity exhibitor. */ - public ExhibitorWeblinkOpened withWeblink(@Nullable ActivityExhibitorWebLinkJson weblink) { + public ExhibitorWeblinkOpened withWeblink(@Nullable ActivityExhibitorWeblink weblink) { this.weblink = weblink; return this; } @@ -131,11 +131,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ExhibitorJson exhibitor; + private Exhibitor1 exhibitor; private String platform; - private ActivityExhibitorWebLinkJson weblink; + private ActivityExhibitorWeblink weblink; private Builder() { // force use of static builder() method @@ -144,7 +144,7 @@ private Builder() { /** * An exhibitor. */ - public Builder exhibitor(@Nullable ExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable Exhibitor1 exhibitor) { this.exhibitor = exhibitor; return this; } @@ -160,7 +160,7 @@ public Builder platform(@Nullable String platform) { /** * A web-link for an activity exhibitor. */ - public Builder weblink(@Nullable ActivityExhibitorWebLinkJson weblink) { + public Builder weblink(@Nullable ActivityExhibitorWeblink weblink) { this.weblink = weblink; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java index d1cbb8ac2..e0358afe1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java @@ -72,7 +72,7 @@ public class ExistingExhibitorAnswer { * List of answers */ @JsonProperty("answers") - private List answers; + private List answers; /** * Exhibitor Answer id @@ -89,7 +89,7 @@ public ExistingExhibitorAnswer( @JsonProperty("question") @Nonnull Uuid question, @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, - @JsonProperty("answers") @Nonnull List answers, + @JsonProperty("answers") @Nonnull List answers, @JsonProperty("id") @Nonnull String id) { this.created = created; this.createdBy = createdBy; @@ -109,7 +109,7 @@ public ExistingExhibitorAnswer( @Nonnull Uuid question, @Nonnull Event3 event, @Nonnull Exhibitor exhibitor, - @Nonnull List answers, + @Nonnull List answers, @Nonnull String id) { this(null, null, null, null, question, event, exhibitor, answers, id); } @@ -166,7 +166,7 @@ public Exhibitor exhibitor() { /** * List of answers */ - public List answers() { + public List answers() { return this.answers; } @@ -240,7 +240,7 @@ public ExistingExhibitorAnswer withExhibitor(@Nonnull Exhibitor exhibitor) { /** * List of answers */ - public ExistingExhibitorAnswer withAnswers(@Nonnull List answers) { + public ExistingExhibitorAnswer withAnswers(@Nonnull List answers) { this.answers = Utils.checkNotNull(answers, "answers"); return this; } @@ -320,7 +320,7 @@ public static final class Builder { private Exhibitor exhibitor; - private List answers; + private List answers; private String id; @@ -387,7 +387,7 @@ public Builder exhibitor(@Nonnull Exhibitor exhibitor) { /** * List of answers */ - public Builder answers(@Nonnull List answers) { + public Builder answers(@Nonnull List answers) { this.answers = Utils.checkNotNull(answers, "answers"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java index a100cd4d1..959917150 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java @@ -40,14 +40,14 @@ public class ExistingExhibitorAnswerInput { * List of answers */ @JsonProperty("answers") - private List answers; + private List answers; @JsonCreator public ExistingExhibitorAnswerInput( @JsonProperty("question") @Nonnull Uuid question, @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, - @JsonProperty("answers") @Nonnull List answers) { + @JsonProperty("answers") @Nonnull List answers) { this.question = Optional.ofNullable(question) .orElseThrow(() -> new IllegalArgumentException("question cannot be null")); this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); @@ -81,7 +81,7 @@ public Exhibitor exhibitor() { /** * List of answers */ - public List answers() { + public List answers() { return this.answers; } @@ -116,7 +116,7 @@ public ExistingExhibitorAnswerInput withExhibitor(@Nonnull Exhibitor exhibitor) /** * List of answers */ - public ExistingExhibitorAnswerInput withAnswers(@Nonnull List answers) { + public ExistingExhibitorAnswerInput withAnswers(@Nonnull List answers) { this.answers = Utils.checkNotNull(answers, "answers"); return this; } @@ -164,7 +164,7 @@ public static final class Builder { private Exhibitor exhibitor; - private List answers; + private List answers; private Builder() { // force use of static builder() method @@ -197,7 +197,7 @@ public Builder exhibitor(@Nonnull Exhibitor exhibitor) { /** * List of answers */ - public Builder answers(@Nonnull List answers) { + public Builder answers(@Nonnull List answers) { this.answers = Utils.checkNotNull(answers, "answers"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingHub.java b/packages/java/src/main/java/com/cvent/models/components/ExistingHub.java index 3c18bfd75..39f277d6d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingHub.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingHub.java @@ -165,6 +165,14 @@ public class ExistingHub { @JsonProperty("login") private HubLogin login; + /** + * True indicates the Events+ hub is opted into the new website theming experience. False indicates the + * hub uses the legacy theming experience. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("websiteTheming") + private Boolean websiteTheming; + /** * The unique ID of an Events+ Hub. */ @@ -204,6 +212,7 @@ public ExistingHub( @JsonProperty("utmOverride") @Nullable UTMOverride utmOverride, @JsonProperty("fonts") @Nullable HubFonts fonts, @JsonProperty("login") @Nullable HubLogin login, + @JsonProperty("websiteTheming") @Nullable Boolean websiteTheming, @JsonProperty("id") @Nullable String id, @JsonProperty("status") @Nullable HubStatusProperty status) { this.created = created; @@ -226,6 +235,8 @@ public ExistingHub( this.utmOverride = Optional.ofNullable(utmOverride).orElse(Builder._SINGLETON_VALUE_UtmOverride.value()); this.fonts = fonts; this.login = login; + this.websiteTheming = + Optional.ofNullable(websiteTheming).orElse(Builder._SINGLETON_VALUE_WebsiteTheming.value()); this.id = id; this.status = status; } @@ -253,6 +264,7 @@ public ExistingHub(@Nonnull String title, @Nonnull HubOwner owner) { null, null, null, + null, null); } @@ -399,6 +411,14 @@ public Optional login() { return Optional.ofNullable(this.login); } + /** + * True indicates the Events+ hub is opted into the new website theming experience. False indicates the + * hub uses the legacy theming experience. + */ + public Optional websiteTheming() { + return Optional.ofNullable(this.websiteTheming); + } + /** * The unique ID of an Events+ Hub. */ @@ -583,6 +603,15 @@ public ExistingHub withLogin(@Nullable HubLogin login) { return this; } + /** + * True indicates the Events+ hub is opted into the new website theming experience. False indicates the + * hub uses the legacy theming experience. + */ + public ExistingHub withWebsiteTheming(@Nullable Boolean websiteTheming) { + this.websiteTheming = websiteTheming; + return this; + } + /** * The unique ID of an Events+ Hub. */ @@ -631,6 +660,7 @@ public boolean equals(java.lang.Object o) { && Utils.enhancedDeepEquals(this.utmOverride, other.utmOverride) && Utils.enhancedDeepEquals(this.fonts, other.fonts) && Utils.enhancedDeepEquals(this.login, other.login) + && Utils.enhancedDeepEquals(this.websiteTheming, other.websiteTheming) && Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.status, other.status); } @@ -658,6 +688,7 @@ public int hashCode() { utmOverride, fonts, login, + websiteTheming, id, status); } @@ -706,6 +737,8 @@ public String toString() { fonts, "login", login, + "websiteTheming", + websiteTheming, "id", id, "status", @@ -755,6 +788,8 @@ public static final class Builder { private HubLogin login; + private Boolean websiteTheming; + private String id; private HubStatusProperty status; @@ -926,6 +961,15 @@ public Builder login(@Nullable HubLogin login) { return this; } + /** + * True indicates the Events+ hub is opted into the new website theming experience. False indicates the + * hub uses the legacy theming experience. + */ + public Builder websiteTheming(@Nullable Boolean websiteTheming) { + this.websiteTheming = websiteTheming; + return this; + } + /** * The unique ID of an Events+ Hub. */ @@ -967,6 +1011,7 @@ public ExistingHub build() { utmOverride, fonts, login, + websiteTheming, id, status); } @@ -975,5 +1020,8 @@ public ExistingHub build() { new LazySingletonValue<>("themeSafeMode", "false", new TypeReference() {}); private static final LazySingletonValue _SINGLETON_VALUE_UtmOverride = new LazySingletonValue<>("utmOverride", "\"use-existing-parameter\"", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_WebsiteTheming = + new LazySingletonValue<>("websiteTheming", "false", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoom.java b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoom.java new file mode 100644 index 000000000..7235a2800 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoom.java @@ -0,0 +1,623 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Optional; + +/** + * ExistingMeetingRoom + * + *

An existing venue meeting room with read-only generated properties. + */ +public class ExistingMeetingRoom { + /** + * The ISO 8601 zoned date time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The identifier of the user that created this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("createdBy") + private String createdBy; + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The identifier of the user that last updated this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * The name of the meeting room. + */ + @JsonProperty("name") + private String name; + + /** + * The detailed description of the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * Physical dimensions for the meeting room. + */ + @JsonProperty("dimensions") + private ExistingMeetingRoomDimensions dimensions; + + /** + * The position of this meeting room in the venue's room listing. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("displayOrder") + private Long displayOrder; + + /** + * The provider's own identifier for this meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalSourceId") + private String externalSourceId; + + /** + * Rate information for move in/out and events. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rates") + private ExistingMeetingRoomRates rates; + + /** + * Capacity information for a meeting room, grouped by category. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("capacities") + private MeetingRoomCapacities capacities; + + /** + * List of amenities available in the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amenities") + private List amenities; + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hiddenOnProfile") + private Boolean hiddenOnProfile; + + /** + * The unique identifier for the meeting room. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public ExistingMeetingRoom( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("description") @Nullable String description, + @JsonProperty("dimensions") @Nonnull ExistingMeetingRoomDimensions dimensions, + @JsonProperty("displayOrder") @Nullable Long displayOrder, + @JsonProperty("externalSourceId") @Nullable String externalSourceId, + @JsonProperty("rates") @Nullable ExistingMeetingRoomRates rates, + @JsonProperty("capacities") @Nullable MeetingRoomCapacities capacities, + @JsonProperty("amenities") @Nullable List amenities, + @JsonProperty("hiddenOnProfile") @Nullable Boolean hiddenOnProfile, + @JsonProperty("id") @Nonnull String id) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.description = description; + this.dimensions = Optional.ofNullable(dimensions) + .orElseThrow(() -> new IllegalArgumentException("dimensions cannot be null")); + this.displayOrder = displayOrder; + this.externalSourceId = externalSourceId; + this.rates = rates; + this.capacities = capacities; + this.amenities = amenities; + this.hiddenOnProfile = + Optional.ofNullable(hiddenOnProfile).orElse(Builder._SINGLETON_VALUE_HiddenOnProfile.value()); + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + public ExistingMeetingRoom( + @Nonnull String name, @Nonnull ExistingMeetingRoomDimensions dimensions, @Nonnull String id) { + this(null, null, null, null, name, null, dimensions, null, null, null, null, null, null, id); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * The name of the meeting room. + */ + public String name() { + return this.name; + } + + /** + * The detailed description of the meeting room. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * Physical dimensions for the meeting room. + */ + public ExistingMeetingRoomDimensions dimensions() { + return this.dimensions; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Optional displayOrder() { + return Optional.ofNullable(this.displayOrder); + } + + /** + * The provider's own identifier for this meeting room. + */ + public Optional externalSourceId() { + return Optional.ofNullable(this.externalSourceId); + } + + /** + * Rate information for move in/out and events. + */ + public Optional rates() { + return Optional.ofNullable(this.rates); + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public Optional capacities() { + return Optional.ofNullable(this.capacities); + } + + /** + * List of amenities available in the meeting room. + */ + public Optional> amenities() { + return Optional.ofNullable(this.amenities); + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Optional hiddenOnProfile() { + return Optional.ofNullable(this.hiddenOnProfile); + } + + /** + * The unique identifier for the meeting room. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public ExistingMeetingRoom withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public ExistingMeetingRoom withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public ExistingMeetingRoom withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public ExistingMeetingRoom withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The name of the meeting room. + */ + public ExistingMeetingRoom withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The detailed description of the meeting room. + */ + public ExistingMeetingRoom withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public ExistingMeetingRoom withDimensions(@Nonnull ExistingMeetingRoomDimensions dimensions) { + this.dimensions = Utils.checkNotNull(dimensions, "dimensions"); + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public ExistingMeetingRoom withDisplayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public ExistingMeetingRoom withExternalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = externalSourceId; + return this; + } + + /** + * Rate information for move in/out and events. + */ + public ExistingMeetingRoom withRates(@Nullable ExistingMeetingRoomRates rates) { + this.rates = rates; + return this; + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public ExistingMeetingRoom withCapacities(@Nullable MeetingRoomCapacities capacities) { + this.capacities = capacities; + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public ExistingMeetingRoom withAmenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public ExistingMeetingRoom withHiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + /** + * The unique identifier for the meeting room. + */ + public ExistingMeetingRoom 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; + } + ExistingMeetingRoom other = (ExistingMeetingRoom) o; + return Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.dimensions, other.dimensions) + && Utils.enhancedDeepEquals(this.displayOrder, other.displayOrder) + && Utils.enhancedDeepEquals(this.externalSourceId, other.externalSourceId) + && Utils.enhancedDeepEquals(this.rates, other.rates) + && Utils.enhancedDeepEquals(this.capacities, other.capacities) + && Utils.enhancedDeepEquals(this.amenities, other.amenities) + && Utils.enhancedDeepEquals(this.hiddenOnProfile, other.hiddenOnProfile) + && Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile, + id); + } + + @Override + public String toString() { + return Utils.toString( + ExistingMeetingRoom.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "name", + name, + "description", + description, + "dimensions", + dimensions, + "displayOrder", + displayOrder, + "externalSourceId", + externalSourceId, + "rates", + rates, + "capacities", + capacities, + "amenities", + amenities, + "hiddenOnProfile", + hiddenOnProfile, + "id", + id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private String name; + + private String description; + + private ExistingMeetingRoomDimensions dimensions; + + private Long displayOrder; + + private String externalSourceId; + + private ExistingMeetingRoomRates rates; + + private MeetingRoomCapacities capacities; + + private List amenities; + + private Boolean hiddenOnProfile; + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The name of the meeting room. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The detailed description of the meeting room. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public Builder dimensions(@Nonnull ExistingMeetingRoomDimensions dimensions) { + this.dimensions = Utils.checkNotNull(dimensions, "dimensions"); + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Builder displayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public Builder externalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = externalSourceId; + return this; + } + + /** + * Rate information for move in/out and events. + */ + public Builder rates(@Nullable ExistingMeetingRoomRates rates) { + this.rates = rates; + return this; + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public Builder capacities(@Nullable MeetingRoomCapacities capacities) { + this.capacities = capacities; + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public Builder amenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Builder hiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + /** + * The unique identifier for the meeting room. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public ExistingMeetingRoom build() { + return new ExistingMeetingRoom( + created, + createdBy, + lastModified, + lastModifiedBy, + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile, + id); + } + + private static final LazySingletonValue _SINGLETON_VALUE_HiddenOnProfile = + new LazySingletonValue<>("hiddenOnProfile", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomDimensions.java b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomDimensions.java new file mode 100644 index 000000000..42df9ab23 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomDimensions.java @@ -0,0 +1,216 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingMeetingRoomDimensions + * + *

Physical dimensions for the meeting room. + */ +public class ExistingMeetingRoomDimensions { + /** + * Measurement of area in square feet or square meters. + */ + @JsonProperty("totalSpace") + private AreaMeasurement totalSpace; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ceilingHeight") + private Dimension ceilingHeight; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("length") + private Dimension length; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("width") + private Dimension width; + + @JsonCreator + public ExistingMeetingRoomDimensions( + @JsonProperty("totalSpace") @Nonnull AreaMeasurement totalSpace, + @JsonProperty("ceilingHeight") @Nullable Dimension ceilingHeight, + @JsonProperty("length") @Nullable Dimension length, + @JsonProperty("width") @Nullable Dimension width) { + this.totalSpace = Optional.ofNullable(totalSpace) + .orElseThrow(() -> new IllegalArgumentException("totalSpace cannot be null")); + this.ceilingHeight = ceilingHeight; + this.length = length; + this.width = width; + } + + public ExistingMeetingRoomDimensions(@Nonnull AreaMeasurement totalSpace) { + this(totalSpace, null, null, null); + } + + /** + * Measurement of area in square feet or square meters. + */ + public AreaMeasurement totalSpace() { + return this.totalSpace; + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional ceilingHeight() { + return Optional.ofNullable(this.ceilingHeight); + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional length() { + return Optional.ofNullable(this.length); + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional width() { + return Optional.ofNullable(this.width); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Measurement of area in square feet or square meters. + */ + public ExistingMeetingRoomDimensions withTotalSpace(@Nonnull AreaMeasurement totalSpace) { + this.totalSpace = Utils.checkNotNull(totalSpace, "totalSpace"); + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public ExistingMeetingRoomDimensions withCeilingHeight(@Nullable Dimension ceilingHeight) { + this.ceilingHeight = ceilingHeight; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public ExistingMeetingRoomDimensions withLength(@Nullable Dimension length) { + this.length = length; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public ExistingMeetingRoomDimensions withWidth(@Nullable Dimension width) { + this.width = width; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingMeetingRoomDimensions other = (ExistingMeetingRoomDimensions) o; + return Utils.enhancedDeepEquals(this.totalSpace, other.totalSpace) + && Utils.enhancedDeepEquals(this.ceilingHeight, other.ceilingHeight) + && Utils.enhancedDeepEquals(this.length, other.length) + && Utils.enhancedDeepEquals(this.width, other.width); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(totalSpace, ceilingHeight, length, width); + } + + @Override + public String toString() { + return Utils.toString( + ExistingMeetingRoomDimensions.class, + "totalSpace", + totalSpace, + "ceilingHeight", + ceilingHeight, + "length", + length, + "width", + width); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private AreaMeasurement totalSpace; + + private Dimension ceilingHeight; + + private Dimension length; + + private Dimension width; + + private Builder() { + // force use of static builder() method + } + + /** + * Measurement of area in square feet or square meters. + */ + public Builder totalSpace(@Nonnull AreaMeasurement totalSpace) { + this.totalSpace = Utils.checkNotNull(totalSpace, "totalSpace"); + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder ceilingHeight(@Nullable Dimension ceilingHeight) { + this.ceilingHeight = ceilingHeight; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder length(@Nullable Dimension length) { + this.length = length; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder width(@Nullable Dimension width) { + this.width = width; + return this; + } + + public ExistingMeetingRoomDimensions build() { + return new ExistingMeetingRoomDimensions(totalSpace, ceilingHeight, length, width); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomInput.java new file mode 100644 index 000000000..83d550827 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomInput.java @@ -0,0 +1,427 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * ExistingMeetingRoomInput + * + *

An existing venue meeting room with read-only generated properties. + */ +public class ExistingMeetingRoomInput { + /** + * The name of the meeting room. + */ + @JsonProperty("name") + private String name; + + /** + * The detailed description of the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * Physical dimensions for the meeting room. + */ + @JsonProperty("dimensions") + private ExistingMeetingRoomDimensions dimensions; + + /** + * The position of this meeting room in the venue's room listing. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("displayOrder") + private Long displayOrder; + + /** + * The provider's own identifier for this meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalSourceId") + private String externalSourceId; + + /** + * Rate information for move in/out and events. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rates") + private ExistingMeetingRoomRates rates; + + /** + * Capacity information for a meeting room, grouped by category. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("capacities") + private MeetingRoomCapacities capacities; + + /** + * List of amenities available in the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amenities") + private List amenities; + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hiddenOnProfile") + private Boolean hiddenOnProfile; + + @JsonCreator + public ExistingMeetingRoomInput( + @JsonProperty("name") @Nonnull String name, + @JsonProperty("description") @Nullable String description, + @JsonProperty("dimensions") @Nonnull ExistingMeetingRoomDimensions dimensions, + @JsonProperty("displayOrder") @Nullable Long displayOrder, + @JsonProperty("externalSourceId") @Nullable String externalSourceId, + @JsonProperty("rates") @Nullable ExistingMeetingRoomRates rates, + @JsonProperty("capacities") @Nullable MeetingRoomCapacities capacities, + @JsonProperty("amenities") @Nullable List amenities, + @JsonProperty("hiddenOnProfile") @Nullable Boolean hiddenOnProfile) { + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.description = description; + this.dimensions = Optional.ofNullable(dimensions) + .orElseThrow(() -> new IllegalArgumentException("dimensions cannot be null")); + this.displayOrder = displayOrder; + this.externalSourceId = externalSourceId; + this.rates = rates; + this.capacities = capacities; + this.amenities = amenities; + this.hiddenOnProfile = + Optional.ofNullable(hiddenOnProfile).orElse(Builder._SINGLETON_VALUE_HiddenOnProfile.value()); + } + + public ExistingMeetingRoomInput(@Nonnull String name, @Nonnull ExistingMeetingRoomDimensions dimensions) { + this(name, null, dimensions, null, null, null, null, null, null); + } + + /** + * The name of the meeting room. + */ + public String name() { + return this.name; + } + + /** + * The detailed description of the meeting room. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * Physical dimensions for the meeting room. + */ + public ExistingMeetingRoomDimensions dimensions() { + return this.dimensions; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Optional displayOrder() { + return Optional.ofNullable(this.displayOrder); + } + + /** + * The provider's own identifier for this meeting room. + */ + public Optional externalSourceId() { + return Optional.ofNullable(this.externalSourceId); + } + + /** + * Rate information for move in/out and events. + */ + public Optional rates() { + return Optional.ofNullable(this.rates); + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public Optional capacities() { + return Optional.ofNullable(this.capacities); + } + + /** + * List of amenities available in the meeting room. + */ + public Optional> amenities() { + return Optional.ofNullable(this.amenities); + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Optional hiddenOnProfile() { + return Optional.ofNullable(this.hiddenOnProfile); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of the meeting room. + */ + public ExistingMeetingRoomInput withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The detailed description of the meeting room. + */ + public ExistingMeetingRoomInput withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public ExistingMeetingRoomInput withDimensions(@Nonnull ExistingMeetingRoomDimensions dimensions) { + this.dimensions = Utils.checkNotNull(dimensions, "dimensions"); + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public ExistingMeetingRoomInput withDisplayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public ExistingMeetingRoomInput withExternalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = externalSourceId; + return this; + } + + /** + * Rate information for move in/out and events. + */ + public ExistingMeetingRoomInput withRates(@Nullable ExistingMeetingRoomRates rates) { + this.rates = rates; + return this; + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public ExistingMeetingRoomInput withCapacities(@Nullable MeetingRoomCapacities capacities) { + this.capacities = capacities; + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public ExistingMeetingRoomInput withAmenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public ExistingMeetingRoomInput withHiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingMeetingRoomInput other = (ExistingMeetingRoomInput) o; + return Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.dimensions, other.dimensions) + && Utils.enhancedDeepEquals(this.displayOrder, other.displayOrder) + && Utils.enhancedDeepEquals(this.externalSourceId, other.externalSourceId) + && Utils.enhancedDeepEquals(this.rates, other.rates) + && Utils.enhancedDeepEquals(this.capacities, other.capacities) + && Utils.enhancedDeepEquals(this.amenities, other.amenities) + && Utils.enhancedDeepEquals(this.hiddenOnProfile, other.hiddenOnProfile); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile); + } + + @Override + public String toString() { + return Utils.toString( + ExistingMeetingRoomInput.class, + "name", + name, + "description", + description, + "dimensions", + dimensions, + "displayOrder", + displayOrder, + "externalSourceId", + externalSourceId, + "rates", + rates, + "capacities", + capacities, + "amenities", + amenities, + "hiddenOnProfile", + hiddenOnProfile); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private String description; + + private ExistingMeetingRoomDimensions dimensions; + + private Long displayOrder; + + private String externalSourceId; + + private ExistingMeetingRoomRates rates; + + private MeetingRoomCapacities capacities; + + private List amenities; + + private Boolean hiddenOnProfile; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the meeting room. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The detailed description of the meeting room. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public Builder dimensions(@Nonnull ExistingMeetingRoomDimensions dimensions) { + this.dimensions = Utils.checkNotNull(dimensions, "dimensions"); + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Builder displayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public Builder externalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = externalSourceId; + return this; + } + + /** + * Rate information for move in/out and events. + */ + public Builder rates(@Nullable ExistingMeetingRoomRates rates) { + this.rates = rates; + return this; + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public Builder capacities(@Nullable MeetingRoomCapacities capacities) { + this.capacities = capacities; + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public Builder amenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Builder hiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + public ExistingMeetingRoomInput build() { + return new ExistingMeetingRoomInput( + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile); + } + + private static final LazySingletonValue _SINGLETON_VALUE_HiddenOnProfile = + new LazySingletonValue<>("hiddenOnProfile", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomRates.java b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomRates.java new file mode 100644 index 000000000..083b419cc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingMeetingRoomRates.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingMeetingRoomRates + * + *

Rate information for move in/out and events. + */ +public class ExistingMeetingRoomRates { + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("moveIn") + private MeetingRoomRate moveIn; + + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("moveOut") + private MeetingRoomRate moveOut; + + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("event") + private MeetingRoomRate event; + + @JsonCreator + public ExistingMeetingRoomRates( + @JsonProperty("moveIn") @Nullable MeetingRoomRate moveIn, + @JsonProperty("moveOut") @Nullable MeetingRoomRate moveOut, + @JsonProperty("event") @Nullable MeetingRoomRate event) { + this.moveIn = moveIn; + this.moveOut = moveOut; + this.event = event; + } + + public ExistingMeetingRoomRates() { + this(null, null, null); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional moveIn() { + return Optional.ofNullable(this.moveIn); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional moveOut() { + return Optional.ofNullable(this.moveOut); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional event() { + return Optional.ofNullable(this.event); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Meeting room rate with a value and application type. + */ + public ExistingMeetingRoomRates withMoveIn(@Nullable MeetingRoomRate moveIn) { + this.moveIn = moveIn; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public ExistingMeetingRoomRates withMoveOut(@Nullable MeetingRoomRate moveOut) { + this.moveOut = moveOut; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public ExistingMeetingRoomRates withEvent(@Nullable MeetingRoomRate event) { + this.event = event; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingMeetingRoomRates other = (ExistingMeetingRoomRates) o; + return Utils.enhancedDeepEquals(this.moveIn, other.moveIn) + && Utils.enhancedDeepEquals(this.moveOut, other.moveOut) + && Utils.enhancedDeepEquals(this.event, other.event); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(moveIn, moveOut, event); + } + + @Override + public String toString() { + return Utils.toString(ExistingMeetingRoomRates.class, "moveIn", moveIn, "moveOut", moveOut, "event", event); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private MeetingRoomRate moveIn; + + private MeetingRoomRate moveOut; + + private MeetingRoomRate event; + + private Builder() { + // force use of static builder() method + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder moveIn(@Nullable MeetingRoomRate moveIn) { + this.moveIn = moveIn; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder moveOut(@Nullable MeetingRoomRate moveOut) { + this.moveOut = moveOut; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder event(@Nullable MeetingRoomRate event) { + this.event = event; + return this; + } + + public ExistingMeetingRoomRates build() { + return new ExistingMeetingRoomRates(moveIn, moveOut, event); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueDetails.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueDetails.java new file mode 100644 index 000000000..def76dae3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueDetails.java @@ -0,0 +1,1189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Optional; + +/** + * ExistingVenueDetails + * + *

An existing venue details model with read-only generated properties. + */ +public class ExistingVenueDetails { + /** + * The ISO 8601 zoned date time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The identifier of the user that created this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("createdBy") + private String createdBy; + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The identifier of the user that last updated this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + @JsonProperty("type") + private VenueType type; + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("timeZone") + private String timeZone; + + /** + * Venue brand. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("brand") + private String brand; + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("chainScale") + private ChainScale chainScale; + + /** + * Primary phone number for the venue. + */ + @JsonProperty("mainPhoneNumber") + private String mainPhoneNumber; + + /** + * Primary fax number for the venue. + */ + @JsonProperty("mainFaxNumber") + private String mainFaxNumber; + + /** + * Sales phone number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("salesPhoneNumber") + private String salesPhoneNumber; + + /** + * Sales fax number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("salesFaxNumber") + private String salesFaxNumber; + + /** + * Toll-free number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tollFreeNumber") + private String tollFreeNumber; + + /** + * Website address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("websiteAddress") + private String websiteAddress; + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currency") + private Currency currency; + + /** + * Venue opening date as free-form text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("openingDate") + private String openingDate; + + /** + * Venue description. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * Additional information about the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInformation") + private String additionalInformation; + + /** + * Cancellation policy for bookings at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("cancellationPolicy") + private String cancellationPolicy; + + /** + * Location classifications. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locationTypes") + private List locationTypes; + + /** + * Venue address information. + */ + @JsonProperty("address") + private AddressInfo address; + + /** + * Venue ID. + */ + @JsonProperty("id") + private String id; + + /** + * Venue name. + */ + @JsonProperty("name") + private String name; + + /** + * Metro area name. Populated once the venue is approved. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("metroArea") + private String metroArea; + + @JsonCreator + public ExistingVenueDetails( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("type") @Nonnull VenueType type, + @JsonProperty("timeZone") @Nullable String timeZone, + @JsonProperty("brand") @Nullable String brand, + @JsonProperty("chainScale") @Nullable ChainScale chainScale, + @JsonProperty("mainPhoneNumber") @Nonnull String mainPhoneNumber, + @JsonProperty("mainFaxNumber") @Nonnull String mainFaxNumber, + @JsonProperty("salesPhoneNumber") @Nullable String salesPhoneNumber, + @JsonProperty("salesFaxNumber") @Nullable String salesFaxNumber, + @JsonProperty("tollFreeNumber") @Nullable String tollFreeNumber, + @JsonProperty("websiteAddress") @Nullable String websiteAddress, + @JsonProperty("currency") @Nullable Currency currency, + @JsonProperty("openingDate") @Nullable String openingDate, + @JsonProperty("description") @Nullable String description, + @JsonProperty("additionalInformation") @Nullable String additionalInformation, + @JsonProperty("cancellationPolicy") @Nullable String cancellationPolicy, + @JsonProperty("locationTypes") @Nullable List locationTypes, + @JsonProperty("address") @Nonnull AddressInfo address, + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("metroArea") @Nullable String metroArea) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); + this.timeZone = timeZone; + this.brand = brand; + this.chainScale = chainScale; + this.mainPhoneNumber = Optional.ofNullable(mainPhoneNumber) + .orElseThrow(() -> new IllegalArgumentException("mainPhoneNumber cannot be null")); + this.mainFaxNumber = Optional.ofNullable(mainFaxNumber) + .orElseThrow(() -> new IllegalArgumentException("mainFaxNumber cannot be null")); + this.salesPhoneNumber = salesPhoneNumber; + this.salesFaxNumber = salesFaxNumber; + this.tollFreeNumber = tollFreeNumber; + this.websiteAddress = websiteAddress; + this.currency = currency; + this.openingDate = openingDate; + this.description = description; + this.additionalInformation = additionalInformation; + this.cancellationPolicy = cancellationPolicy; + this.locationTypes = locationTypes; + this.address = + Optional.ofNullable(address).orElseThrow(() -> new IllegalArgumentException("address cannot be null")); + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.metroArea = metroArea; + } + + public ExistingVenueDetails( + @Nonnull VenueType type, + @Nonnull String mainPhoneNumber, + @Nonnull String mainFaxNumber, + @Nonnull AddressInfo address, + @Nonnull String id, + @Nonnull String name) { + this( + null, + null, + null, + null, + type, + null, + null, + null, + mainPhoneNumber, + mainFaxNumber, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + address, + id, + name, + null); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public VenueType type() { + return this.type; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + public Optional timeZone() { + return Optional.ofNullable(this.timeZone); + } + + /** + * Venue brand. + */ + public Optional brand() { + return Optional.ofNullable(this.brand); + } + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + public Optional chainScale() { + return Optional.ofNullable(this.chainScale); + } + + /** + * Primary phone number for the venue. + */ + public String mainPhoneNumber() { + return this.mainPhoneNumber; + } + + /** + * Primary fax number for the venue. + */ + public String mainFaxNumber() { + return this.mainFaxNumber; + } + + /** + * Sales phone number of the venue. + */ + public Optional salesPhoneNumber() { + return Optional.ofNullable(this.salesPhoneNumber); + } + + /** + * Sales fax number of the venue. + */ + public Optional salesFaxNumber() { + return Optional.ofNullable(this.salesFaxNumber); + } + + /** + * Toll-free number of the venue. + */ + public Optional tollFreeNumber() { + return Optional.ofNullable(this.tollFreeNumber); + } + + /** + * Website address. + */ + public Optional websiteAddress() { + return Optional.ofNullable(this.websiteAddress); + } + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + public Optional currency() { + return Optional.ofNullable(this.currency); + } + + /** + * Venue opening date as free-form text. + */ + public Optional openingDate() { + return Optional.ofNullable(this.openingDate); + } + + /** + * Venue description. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * Additional information about the venue. + */ + public Optional additionalInformation() { + return Optional.ofNullable(this.additionalInformation); + } + + /** + * Cancellation policy for bookings at the venue. + */ + public Optional cancellationPolicy() { + return Optional.ofNullable(this.cancellationPolicy); + } + + /** + * Location classifications. + */ + public Optional> locationTypes() { + return Optional.ofNullable(this.locationTypes); + } + + /** + * Venue address information. + */ + public AddressInfo address() { + return this.address; + } + + /** + * Venue ID. + */ + public String id() { + return this.id; + } + + /** + * Venue name. + */ + public String name() { + return this.name; + } + + /** + * Metro area name. Populated once the venue is approved. + */ + public Optional metroArea() { + return Optional.ofNullable(this.metroArea); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public ExistingVenueDetails withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public ExistingVenueDetails withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public ExistingVenueDetails withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public ExistingVenueDetails withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public ExistingVenueDetails withType(@Nonnull VenueType type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + public ExistingVenueDetails withTimeZone(@Nullable String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * Venue brand. + */ + public ExistingVenueDetails withBrand(@Nullable String brand) { + this.brand = brand; + return this; + } + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + public ExistingVenueDetails withChainScale(@Nullable ChainScale chainScale) { + this.chainScale = chainScale; + return this; + } + + /** + * Primary phone number for the venue. + */ + public ExistingVenueDetails withMainPhoneNumber(@Nonnull String mainPhoneNumber) { + this.mainPhoneNumber = Utils.checkNotNull(mainPhoneNumber, "mainPhoneNumber"); + return this; + } + + /** + * Primary fax number for the venue. + */ + public ExistingVenueDetails withMainFaxNumber(@Nonnull String mainFaxNumber) { + this.mainFaxNumber = Utils.checkNotNull(mainFaxNumber, "mainFaxNumber"); + return this; + } + + /** + * Sales phone number of the venue. + */ + public ExistingVenueDetails withSalesPhoneNumber(@Nullable String salesPhoneNumber) { + this.salesPhoneNumber = salesPhoneNumber; + return this; + } + + /** + * Sales fax number of the venue. + */ + public ExistingVenueDetails withSalesFaxNumber(@Nullable String salesFaxNumber) { + this.salesFaxNumber = salesFaxNumber; + return this; + } + + /** + * Toll-free number of the venue. + */ + public ExistingVenueDetails withTollFreeNumber(@Nullable String tollFreeNumber) { + this.tollFreeNumber = tollFreeNumber; + return this; + } + + /** + * Website address. + */ + public ExistingVenueDetails withWebsiteAddress(@Nullable String websiteAddress) { + this.websiteAddress = websiteAddress; + return this; + } + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + public ExistingVenueDetails withCurrency(@Nullable Currency currency) { + this.currency = currency; + return this; + } + + /** + * Venue opening date as free-form text. + */ + public ExistingVenueDetails withOpeningDate(@Nullable String openingDate) { + this.openingDate = openingDate; + return this; + } + + /** + * Venue description. + */ + public ExistingVenueDetails withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Additional information about the venue. + */ + public ExistingVenueDetails withAdditionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = additionalInformation; + return this; + } + + /** + * Cancellation policy for bookings at the venue. + */ + public ExistingVenueDetails withCancellationPolicy(@Nullable String cancellationPolicy) { + this.cancellationPolicy = cancellationPolicy; + return this; + } + + /** + * Location classifications. + */ + public ExistingVenueDetails withLocationTypes(@Nullable List locationTypes) { + this.locationTypes = locationTypes; + return this; + } + + /** + * Venue address information. + */ + public ExistingVenueDetails withAddress(@Nonnull AddressInfo address) { + this.address = Utils.checkNotNull(address, "address"); + return this; + } + + /** + * Venue ID. + */ + public ExistingVenueDetails withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Venue name. + */ + public ExistingVenueDetails withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Metro area name. Populated once the venue is approved. + */ + public ExistingVenueDetails withMetroArea(@Nullable String metroArea) { + this.metroArea = metroArea; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueDetails other = (ExistingVenueDetails) o; + return Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.timeZone, other.timeZone) + && Utils.enhancedDeepEquals(this.brand, other.brand) + && Utils.enhancedDeepEquals(this.chainScale, other.chainScale) + && Utils.enhancedDeepEquals(this.mainPhoneNumber, other.mainPhoneNumber) + && Utils.enhancedDeepEquals(this.mainFaxNumber, other.mainFaxNumber) + && Utils.enhancedDeepEquals(this.salesPhoneNumber, other.salesPhoneNumber) + && Utils.enhancedDeepEquals(this.salesFaxNumber, other.salesFaxNumber) + && Utils.enhancedDeepEquals(this.tollFreeNumber, other.tollFreeNumber) + && Utils.enhancedDeepEquals(this.websiteAddress, other.websiteAddress) + && Utils.enhancedDeepEquals(this.currency, other.currency) + && Utils.enhancedDeepEquals(this.openingDate, other.openingDate) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.additionalInformation, other.additionalInformation) + && Utils.enhancedDeepEquals(this.cancellationPolicy, other.cancellationPolicy) + && Utils.enhancedDeepEquals(this.locationTypes, other.locationTypes) + && Utils.enhancedDeepEquals(this.address, other.address) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.metroArea, other.metroArea); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + type, + timeZone, + brand, + chainScale, + mainPhoneNumber, + mainFaxNumber, + salesPhoneNumber, + salesFaxNumber, + tollFreeNumber, + websiteAddress, + currency, + openingDate, + description, + additionalInformation, + cancellationPolicy, + locationTypes, + address, + id, + name, + metroArea); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueDetails.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "type", + type, + "timeZone", + timeZone, + "brand", + brand, + "chainScale", + chainScale, + "mainPhoneNumber", + mainPhoneNumber, + "mainFaxNumber", + mainFaxNumber, + "salesPhoneNumber", + salesPhoneNumber, + "salesFaxNumber", + salesFaxNumber, + "tollFreeNumber", + tollFreeNumber, + "websiteAddress", + websiteAddress, + "currency", + currency, + "openingDate", + openingDate, + "description", + description, + "additionalInformation", + additionalInformation, + "cancellationPolicy", + cancellationPolicy, + "locationTypes", + locationTypes, + "address", + address, + "id", + id, + "name", + name, + "metroArea", + metroArea); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private VenueType type; + + private String timeZone; + + private String brand; + + private ChainScale chainScale; + + private String mainPhoneNumber; + + private String mainFaxNumber; + + private String salesPhoneNumber; + + private String salesFaxNumber; + + private String tollFreeNumber; + + private String websiteAddress; + + private Currency currency; + + private String openingDate; + + private String description; + + private String additionalInformation; + + private String cancellationPolicy; + + private List locationTypes; + + private AddressInfo address; + + private String id; + + private String name; + + private String metroArea; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public Builder type(@Nonnull VenueType type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + public Builder timeZone(@Nullable String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * Venue brand. + */ + public Builder brand(@Nullable String brand) { + this.brand = brand; + return this; + } + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + public Builder chainScale(@Nullable ChainScale chainScale) { + this.chainScale = chainScale; + return this; + } + + /** + * Primary phone number for the venue. + */ + public Builder mainPhoneNumber(@Nonnull String mainPhoneNumber) { + this.mainPhoneNumber = Utils.checkNotNull(mainPhoneNumber, "mainPhoneNumber"); + return this; + } + + /** + * Primary fax number for the venue. + */ + public Builder mainFaxNumber(@Nonnull String mainFaxNumber) { + this.mainFaxNumber = Utils.checkNotNull(mainFaxNumber, "mainFaxNumber"); + return this; + } + + /** + * Sales phone number of the venue. + */ + public Builder salesPhoneNumber(@Nullable String salesPhoneNumber) { + this.salesPhoneNumber = salesPhoneNumber; + return this; + } + + /** + * Sales fax number of the venue. + */ + public Builder salesFaxNumber(@Nullable String salesFaxNumber) { + this.salesFaxNumber = salesFaxNumber; + return this; + } + + /** + * Toll-free number of the venue. + */ + public Builder tollFreeNumber(@Nullable String tollFreeNumber) { + this.tollFreeNumber = tollFreeNumber; + return this; + } + + /** + * Website address. + */ + public Builder websiteAddress(@Nullable String websiteAddress) { + this.websiteAddress = websiteAddress; + return this; + } + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + public Builder currency(@Nullable Currency currency) { + this.currency = currency; + return this; + } + + /** + * Venue opening date as free-form text. + */ + public Builder openingDate(@Nullable String openingDate) { + this.openingDate = openingDate; + return this; + } + + /** + * Venue description. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Additional information about the venue. + */ + public Builder additionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = additionalInformation; + return this; + } + + /** + * Cancellation policy for bookings at the venue. + */ + public Builder cancellationPolicy(@Nullable String cancellationPolicy) { + this.cancellationPolicy = cancellationPolicy; + return this; + } + + /** + * Location classifications. + */ + public Builder locationTypes(@Nullable List locationTypes) { + this.locationTypes = locationTypes; + return this; + } + + /** + * Venue address information. + */ + public Builder address(@Nonnull AddressInfo address) { + this.address = Utils.checkNotNull(address, "address"); + return this; + } + + /** + * Venue ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Venue name. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Metro area name. Populated once the venue is approved. + */ + public Builder metroArea(@Nullable String metroArea) { + this.metroArea = metroArea; + return this; + } + + public ExistingVenueDetails build() { + return new ExistingVenueDetails( + created, + createdBy, + lastModified, + lastModifiedBy, + type, + timeZone, + brand, + chainScale, + mainPhoneNumber, + mainFaxNumber, + salesPhoneNumber, + salesFaxNumber, + tollFreeNumber, + websiteAddress, + currency, + openingDate, + description, + additionalInformation, + cancellationPolicy, + locationTypes, + address, + id, + name, + metroArea); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueDetailsInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueDetailsInput.java new file mode 100644 index 000000000..037ad746a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueDetailsInput.java @@ -0,0 +1,908 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * ExistingVenueDetailsInput + * + *

An existing venue details model with read-only generated properties. + */ +public class ExistingVenueDetailsInput { + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + @JsonProperty("type") + private VenueType type; + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("timeZone") + private String timeZone; + + /** + * Venue brand. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("brand") + private String brand; + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("chainScale") + private ChainScale chainScale; + + /** + * Primary phone number for the venue. + */ + @JsonProperty("mainPhoneNumber") + private String mainPhoneNumber; + + /** + * Primary fax number for the venue. + */ + @JsonProperty("mainFaxNumber") + private String mainFaxNumber; + + /** + * Sales phone number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("salesPhoneNumber") + private String salesPhoneNumber; + + /** + * Sales fax number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("salesFaxNumber") + private String salesFaxNumber; + + /** + * Toll-free number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tollFreeNumber") + private String tollFreeNumber; + + /** + * Website address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("websiteAddress") + private String websiteAddress; + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currency") + private Currency currency; + + /** + * Venue opening date as free-form text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("openingDate") + private String openingDate; + + /** + * Venue description. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * Additional information about the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInformation") + private String additionalInformation; + + /** + * Cancellation policy for bookings at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("cancellationPolicy") + private String cancellationPolicy; + + /** + * Location classifications. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locationTypes") + private List locationTypes; + + /** + * Venue address information. + */ + @JsonProperty("address") + private AddressInfo address; + + @JsonCreator + public ExistingVenueDetailsInput( + @JsonProperty("type") @Nonnull VenueType type, + @JsonProperty("timeZone") @Nullable String timeZone, + @JsonProperty("brand") @Nullable String brand, + @JsonProperty("chainScale") @Nullable ChainScale chainScale, + @JsonProperty("mainPhoneNumber") @Nonnull String mainPhoneNumber, + @JsonProperty("mainFaxNumber") @Nonnull String mainFaxNumber, + @JsonProperty("salesPhoneNumber") @Nullable String salesPhoneNumber, + @JsonProperty("salesFaxNumber") @Nullable String salesFaxNumber, + @JsonProperty("tollFreeNumber") @Nullable String tollFreeNumber, + @JsonProperty("websiteAddress") @Nullable String websiteAddress, + @JsonProperty("currency") @Nullable Currency currency, + @JsonProperty("openingDate") @Nullable String openingDate, + @JsonProperty("description") @Nullable String description, + @JsonProperty("additionalInformation") @Nullable String additionalInformation, + @JsonProperty("cancellationPolicy") @Nullable String cancellationPolicy, + @JsonProperty("locationTypes") @Nullable List locationTypes, + @JsonProperty("address") @Nonnull AddressInfo address) { + this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); + this.timeZone = timeZone; + this.brand = brand; + this.chainScale = chainScale; + this.mainPhoneNumber = Optional.ofNullable(mainPhoneNumber) + .orElseThrow(() -> new IllegalArgumentException("mainPhoneNumber cannot be null")); + this.mainFaxNumber = Optional.ofNullable(mainFaxNumber) + .orElseThrow(() -> new IllegalArgumentException("mainFaxNumber cannot be null")); + this.salesPhoneNumber = salesPhoneNumber; + this.salesFaxNumber = salesFaxNumber; + this.tollFreeNumber = tollFreeNumber; + this.websiteAddress = websiteAddress; + this.currency = currency; + this.openingDate = openingDate; + this.description = description; + this.additionalInformation = additionalInformation; + this.cancellationPolicy = cancellationPolicy; + this.locationTypes = locationTypes; + this.address = + Optional.ofNullable(address).orElseThrow(() -> new IllegalArgumentException("address cannot be null")); + } + + public ExistingVenueDetailsInput( + @Nonnull VenueType type, + @Nonnull String mainPhoneNumber, + @Nonnull String mainFaxNumber, + @Nonnull AddressInfo address) { + this( + type, + null, + null, + null, + mainPhoneNumber, + mainFaxNumber, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + address); + } + + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public VenueType type() { + return this.type; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + public Optional timeZone() { + return Optional.ofNullable(this.timeZone); + } + + /** + * Venue brand. + */ + public Optional brand() { + return Optional.ofNullable(this.brand); + } + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + public Optional chainScale() { + return Optional.ofNullable(this.chainScale); + } + + /** + * Primary phone number for the venue. + */ + public String mainPhoneNumber() { + return this.mainPhoneNumber; + } + + /** + * Primary fax number for the venue. + */ + public String mainFaxNumber() { + return this.mainFaxNumber; + } + + /** + * Sales phone number of the venue. + */ + public Optional salesPhoneNumber() { + return Optional.ofNullable(this.salesPhoneNumber); + } + + /** + * Sales fax number of the venue. + */ + public Optional salesFaxNumber() { + return Optional.ofNullable(this.salesFaxNumber); + } + + /** + * Toll-free number of the venue. + */ + public Optional tollFreeNumber() { + return Optional.ofNullable(this.tollFreeNumber); + } + + /** + * Website address. + */ + public Optional websiteAddress() { + return Optional.ofNullable(this.websiteAddress); + } + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + public Optional currency() { + return Optional.ofNullable(this.currency); + } + + /** + * Venue opening date as free-form text. + */ + public Optional openingDate() { + return Optional.ofNullable(this.openingDate); + } + + /** + * Venue description. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * Additional information about the venue. + */ + public Optional additionalInformation() { + return Optional.ofNullable(this.additionalInformation); + } + + /** + * Cancellation policy for bookings at the venue. + */ + public Optional cancellationPolicy() { + return Optional.ofNullable(this.cancellationPolicy); + } + + /** + * Location classifications. + */ + public Optional> locationTypes() { + return Optional.ofNullable(this.locationTypes); + } + + /** + * Venue address information. + */ + public AddressInfo address() { + return this.address; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public ExistingVenueDetailsInput withType(@Nonnull VenueType type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + public ExistingVenueDetailsInput withTimeZone(@Nullable String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * Venue brand. + */ + public ExistingVenueDetailsInput withBrand(@Nullable String brand) { + this.brand = brand; + return this; + } + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + public ExistingVenueDetailsInput withChainScale(@Nullable ChainScale chainScale) { + this.chainScale = chainScale; + return this; + } + + /** + * Primary phone number for the venue. + */ + public ExistingVenueDetailsInput withMainPhoneNumber(@Nonnull String mainPhoneNumber) { + this.mainPhoneNumber = Utils.checkNotNull(mainPhoneNumber, "mainPhoneNumber"); + return this; + } + + /** + * Primary fax number for the venue. + */ + public ExistingVenueDetailsInput withMainFaxNumber(@Nonnull String mainFaxNumber) { + this.mainFaxNumber = Utils.checkNotNull(mainFaxNumber, "mainFaxNumber"); + return this; + } + + /** + * Sales phone number of the venue. + */ + public ExistingVenueDetailsInput withSalesPhoneNumber(@Nullable String salesPhoneNumber) { + this.salesPhoneNumber = salesPhoneNumber; + return this; + } + + /** + * Sales fax number of the venue. + */ + public ExistingVenueDetailsInput withSalesFaxNumber(@Nullable String salesFaxNumber) { + this.salesFaxNumber = salesFaxNumber; + return this; + } + + /** + * Toll-free number of the venue. + */ + public ExistingVenueDetailsInput withTollFreeNumber(@Nullable String tollFreeNumber) { + this.tollFreeNumber = tollFreeNumber; + return this; + } + + /** + * Website address. + */ + public ExistingVenueDetailsInput withWebsiteAddress(@Nullable String websiteAddress) { + this.websiteAddress = websiteAddress; + return this; + } + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + public ExistingVenueDetailsInput withCurrency(@Nullable Currency currency) { + this.currency = currency; + return this; + } + + /** + * Venue opening date as free-form text. + */ + public ExistingVenueDetailsInput withOpeningDate(@Nullable String openingDate) { + this.openingDate = openingDate; + return this; + } + + /** + * Venue description. + */ + public ExistingVenueDetailsInput withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Additional information about the venue. + */ + public ExistingVenueDetailsInput withAdditionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = additionalInformation; + return this; + } + + /** + * Cancellation policy for bookings at the venue. + */ + public ExistingVenueDetailsInput withCancellationPolicy(@Nullable String cancellationPolicy) { + this.cancellationPolicy = cancellationPolicy; + return this; + } + + /** + * Location classifications. + */ + public ExistingVenueDetailsInput withLocationTypes(@Nullable List locationTypes) { + this.locationTypes = locationTypes; + return this; + } + + /** + * Venue address information. + */ + public ExistingVenueDetailsInput withAddress(@Nonnull AddressInfo address) { + this.address = Utils.checkNotNull(address, "address"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueDetailsInput other = (ExistingVenueDetailsInput) o; + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.timeZone, other.timeZone) + && Utils.enhancedDeepEquals(this.brand, other.brand) + && Utils.enhancedDeepEquals(this.chainScale, other.chainScale) + && Utils.enhancedDeepEquals(this.mainPhoneNumber, other.mainPhoneNumber) + && Utils.enhancedDeepEquals(this.mainFaxNumber, other.mainFaxNumber) + && Utils.enhancedDeepEquals(this.salesPhoneNumber, other.salesPhoneNumber) + && Utils.enhancedDeepEquals(this.salesFaxNumber, other.salesFaxNumber) + && Utils.enhancedDeepEquals(this.tollFreeNumber, other.tollFreeNumber) + && Utils.enhancedDeepEquals(this.websiteAddress, other.websiteAddress) + && Utils.enhancedDeepEquals(this.currency, other.currency) + && Utils.enhancedDeepEquals(this.openingDate, other.openingDate) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.additionalInformation, other.additionalInformation) + && Utils.enhancedDeepEquals(this.cancellationPolicy, other.cancellationPolicy) + && Utils.enhancedDeepEquals(this.locationTypes, other.locationTypes) + && Utils.enhancedDeepEquals(this.address, other.address); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + type, + timeZone, + brand, + chainScale, + mainPhoneNumber, + mainFaxNumber, + salesPhoneNumber, + salesFaxNumber, + tollFreeNumber, + websiteAddress, + currency, + openingDate, + description, + additionalInformation, + cancellationPolicy, + locationTypes, + address); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueDetailsInput.class, + "type", + type, + "timeZone", + timeZone, + "brand", + brand, + "chainScale", + chainScale, + "mainPhoneNumber", + mainPhoneNumber, + "mainFaxNumber", + mainFaxNumber, + "salesPhoneNumber", + salesPhoneNumber, + "salesFaxNumber", + salesFaxNumber, + "tollFreeNumber", + tollFreeNumber, + "websiteAddress", + websiteAddress, + "currency", + currency, + "openingDate", + openingDate, + "description", + description, + "additionalInformation", + additionalInformation, + "cancellationPolicy", + cancellationPolicy, + "locationTypes", + locationTypes, + "address", + address); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private VenueType type; + + private String timeZone; + + private String brand; + + private ChainScale chainScale; + + private String mainPhoneNumber; + + private String mainFaxNumber; + + private String salesPhoneNumber; + + private String salesFaxNumber; + + private String tollFreeNumber; + + private String websiteAddress; + + private Currency currency; + + private String openingDate; + + private String description; + + private String additionalInformation; + + private String cancellationPolicy; + + private List locationTypes; + + private AddressInfo address; + + private Builder() { + // force use of static builder() method + } + + /** + * Type of venue. + * + *

Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public Builder type(@Nonnull VenueType type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

Supported Timezones + */ + public Builder timeZone(@Nullable String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * Venue brand. + */ + public Builder brand(@Nullable String brand) { + this.brand = brand; + return this; + } + + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + public Builder chainScale(@Nullable ChainScale chainScale) { + this.chainScale = chainScale; + return this; + } + + /** + * Primary phone number for the venue. + */ + public Builder mainPhoneNumber(@Nonnull String mainPhoneNumber) { + this.mainPhoneNumber = Utils.checkNotNull(mainPhoneNumber, "mainPhoneNumber"); + return this; + } + + /** + * Primary fax number for the venue. + */ + public Builder mainFaxNumber(@Nonnull String mainFaxNumber) { + this.mainFaxNumber = Utils.checkNotNull(mainFaxNumber, "mainFaxNumber"); + return this; + } + + /** + * Sales phone number of the venue. + */ + public Builder salesPhoneNumber(@Nullable String salesPhoneNumber) { + this.salesPhoneNumber = salesPhoneNumber; + return this; + } + + /** + * Sales fax number of the venue. + */ + public Builder salesFaxNumber(@Nullable String salesFaxNumber) { + this.salesFaxNumber = salesFaxNumber; + return this; + } + + /** + * Toll-free number of the venue. + */ + public Builder tollFreeNumber(@Nullable String tollFreeNumber) { + this.tollFreeNumber = tollFreeNumber; + return this; + } + + /** + * Website address. + */ + public Builder websiteAddress(@Nullable String websiteAddress) { + this.websiteAddress = websiteAddress; + return this; + } + + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + public Builder currency(@Nullable Currency currency) { + this.currency = currency; + return this; + } + + /** + * Venue opening date as free-form text. + */ + public Builder openingDate(@Nullable String openingDate) { + this.openingDate = openingDate; + return this; + } + + /** + * Venue description. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Additional information about the venue. + */ + public Builder additionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = additionalInformation; + return this; + } + + /** + * Cancellation policy for bookings at the venue. + */ + public Builder cancellationPolicy(@Nullable String cancellationPolicy) { + this.cancellationPolicy = cancellationPolicy; + return this; + } + + /** + * Location classifications. + */ + public Builder locationTypes(@Nullable List locationTypes) { + this.locationTypes = locationTypes; + return this; + } + + /** + * Venue address information. + */ + public Builder address(@Nonnull AddressInfo address) { + this.address = Utils.checkNotNull(address, "address"); + return this; + } + + public ExistingVenueDetailsInput build() { + return new ExistingVenueDetailsInput( + type, + timeZone, + brand, + chainScale, + mainPhoneNumber, + mainFaxNumber, + salesPhoneNumber, + salesFaxNumber, + tollFreeNumber, + websiteAddress, + currency, + openingDate, + description, + additionalInformation, + cancellationPolicy, + locationTypes, + address); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacility.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacility.java new file mode 100644 index 000000000..a609235f7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacility.java @@ -0,0 +1,871 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * ExistingVenueFacility + * + *

An existing venue facility model with read-only generated properties. + */ +public class ExistingVenueFacility { + /** + * The ISO 8601 zoned date time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The identifier of the user that created this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("createdBy") + private String createdBy; + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The identifier of the user that last updated this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * Total number of meeting rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("numberOfMeetingRooms") + private Long numberOfMeetingRooms; + + /** + * Facility space measurements at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("space") + private ExistingVenueFacilitySpace space; + + /** + * Sleeping room inventory at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sleeping") + private ExistingVenueFacilitySleeping sleeping; + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("singleRate") + private ExistingVenueFacilitySingleRate singleRate; + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleRate") + private ExistingVenueFacilityDoubleRate doubleRate; + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxRate") + private Double taxRate; + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("occupancyRate") + private Double occupancyRate; + + /** + * Four-digit year the venue was built. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("yearBuilt") + private Long yearBuilt; + + /** + * Four-digit year the venue was last renovated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("yearRenovated") + private Long yearRenovated; + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("proximityFromAirport") + private ExistingVenueFacilityProximityFromAirport proximityFromAirport; + + /** + * Free-form description of any facility restrictions at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("restrictions") + private String restrictions; + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maximumCapacity") + private ExistingVenueFacilityMaximumCapacity maximumCapacity; + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("eventInsurance") + private EventInsurance eventInsurance; + + /** + * Venue ID. + */ + @JsonProperty("id") + private String id; + + /** + * Venue name. + */ + @JsonProperty("name") + private String name; + + @JsonCreator + public ExistingVenueFacility( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("numberOfMeetingRooms") @Nullable Long numberOfMeetingRooms, + @JsonProperty("space") @Nullable ExistingVenueFacilitySpace space, + @JsonProperty("sleeping") @Nullable ExistingVenueFacilitySleeping sleeping, + @JsonProperty("singleRate") @Nullable ExistingVenueFacilitySingleRate singleRate, + @JsonProperty("doubleRate") @Nullable ExistingVenueFacilityDoubleRate doubleRate, + @JsonProperty("taxRate") @Nullable Double taxRate, + @JsonProperty("occupancyRate") @Nullable Double occupancyRate, + @JsonProperty("yearBuilt") @Nullable Long yearBuilt, + @JsonProperty("yearRenovated") @Nullable Long yearRenovated, + @JsonProperty("proximityFromAirport") @Nullable + ExistingVenueFacilityProximityFromAirport proximityFromAirport, + @JsonProperty("restrictions") @Nullable String restrictions, + @JsonProperty("maximumCapacity") @Nullable ExistingVenueFacilityMaximumCapacity maximumCapacity, + @JsonProperty("eventInsurance") @Nullable EventInsurance eventInsurance, + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nonnull String name) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.numberOfMeetingRooms = numberOfMeetingRooms; + this.space = space; + this.sleeping = sleeping; + this.singleRate = singleRate; + this.doubleRate = doubleRate; + this.taxRate = taxRate; + this.occupancyRate = occupancyRate; + this.yearBuilt = yearBuilt; + this.yearRenovated = yearRenovated; + this.proximityFromAirport = proximityFromAirport; + this.restrictions = restrictions; + this.maximumCapacity = maximumCapacity; + this.eventInsurance = eventInsurance; + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + } + + public ExistingVenueFacility(@Nonnull String id, @Nonnull String name) { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + id, + name); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * Total number of meeting rooms at the venue. + */ + public Optional numberOfMeetingRooms() { + return Optional.ofNullable(this.numberOfMeetingRooms); + } + + /** + * Facility space measurements at the venue. + */ + public Optional space() { + return Optional.ofNullable(this.space); + } + + /** + * Sleeping room inventory at the venue. + */ + public Optional sleeping() { + return Optional.ofNullable(this.sleeping); + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public Optional singleRate() { + return Optional.ofNullable(this.singleRate); + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public Optional doubleRate() { + return Optional.ofNullable(this.doubleRate); + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public Optional taxRate() { + return Optional.ofNullable(this.taxRate); + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public Optional occupancyRate() { + return Optional.ofNullable(this.occupancyRate); + } + + /** + * Four-digit year the venue was built. + */ + public Optional yearBuilt() { + return Optional.ofNullable(this.yearBuilt); + } + + /** + * Four-digit year the venue was last renovated. + */ + public Optional yearRenovated() { + return Optional.ofNullable(this.yearRenovated); + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public Optional proximityFromAirport() { + return Optional.ofNullable(this.proximityFromAirport); + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public Optional restrictions() { + return Optional.ofNullable(this.restrictions); + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public Optional maximumCapacity() { + return Optional.ofNullable(this.maximumCapacity); + } + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + public Optional eventInsurance() { + return Optional.ofNullable(this.eventInsurance); + } + + /** + * Venue ID. + */ + public String id() { + return this.id; + } + + /** + * Venue name. + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public ExistingVenueFacility withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public ExistingVenueFacility withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public ExistingVenueFacility withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public ExistingVenueFacility withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Total number of meeting rooms at the venue. + */ + public ExistingVenueFacility withNumberOfMeetingRooms(@Nullable Long numberOfMeetingRooms) { + this.numberOfMeetingRooms = numberOfMeetingRooms; + return this; + } + + /** + * Facility space measurements at the venue. + */ + public ExistingVenueFacility withSpace(@Nullable ExistingVenueFacilitySpace space) { + this.space = space; + return this; + } + + /** + * Sleeping room inventory at the venue. + */ + public ExistingVenueFacility withSleeping(@Nullable ExistingVenueFacilitySleeping sleeping) { + this.sleeping = sleeping; + return this; + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public ExistingVenueFacility withSingleRate(@Nullable ExistingVenueFacilitySingleRate singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public ExistingVenueFacility withDoubleRate(@Nullable ExistingVenueFacilityDoubleRate doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public ExistingVenueFacility withTaxRate(@Nullable Double taxRate) { + this.taxRate = taxRate; + return this; + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public ExistingVenueFacility withOccupancyRate(@Nullable Double occupancyRate) { + this.occupancyRate = occupancyRate; + return this; + } + + /** + * Four-digit year the venue was built. + */ + public ExistingVenueFacility withYearBuilt(@Nullable Long yearBuilt) { + this.yearBuilt = yearBuilt; + return this; + } + + /** + * Four-digit year the venue was last renovated. + */ + public ExistingVenueFacility withYearRenovated(@Nullable Long yearRenovated) { + this.yearRenovated = yearRenovated; + return this; + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public ExistingVenueFacility withProximityFromAirport( + @Nullable ExistingVenueFacilityProximityFromAirport proximityFromAirport) { + this.proximityFromAirport = proximityFromAirport; + return this; + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public ExistingVenueFacility withRestrictions(@Nullable String restrictions) { + this.restrictions = restrictions; + return this; + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public ExistingVenueFacility withMaximumCapacity(@Nullable ExistingVenueFacilityMaximumCapacity maximumCapacity) { + this.maximumCapacity = maximumCapacity; + return this; + } + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + public ExistingVenueFacility withEventInsurance(@Nullable EventInsurance eventInsurance) { + this.eventInsurance = eventInsurance; + return this; + } + + /** + * Venue ID. + */ + public ExistingVenueFacility withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Venue name. + */ + public ExistingVenueFacility withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacility other = (ExistingVenueFacility) o; + return Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.numberOfMeetingRooms, other.numberOfMeetingRooms) + && Utils.enhancedDeepEquals(this.space, other.space) + && Utils.enhancedDeepEquals(this.sleeping, other.sleeping) + && Utils.enhancedDeepEquals(this.singleRate, other.singleRate) + && Utils.enhancedDeepEquals(this.doubleRate, other.doubleRate) + && Utils.enhancedDeepEquals(this.taxRate, other.taxRate) + && Utils.enhancedDeepEquals(this.occupancyRate, other.occupancyRate) + && Utils.enhancedDeepEquals(this.yearBuilt, other.yearBuilt) + && Utils.enhancedDeepEquals(this.yearRenovated, other.yearRenovated) + && Utils.enhancedDeepEquals(this.proximityFromAirport, other.proximityFromAirport) + && Utils.enhancedDeepEquals(this.restrictions, other.restrictions) + && Utils.enhancedDeepEquals(this.maximumCapacity, other.maximumCapacity) + && Utils.enhancedDeepEquals(this.eventInsurance, other.eventInsurance) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + numberOfMeetingRooms, + space, + sleeping, + singleRate, + doubleRate, + taxRate, + occupancyRate, + yearBuilt, + yearRenovated, + proximityFromAirport, + restrictions, + maximumCapacity, + eventInsurance, + id, + name); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueFacility.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "numberOfMeetingRooms", + numberOfMeetingRooms, + "space", + space, + "sleeping", + sleeping, + "singleRate", + singleRate, + "doubleRate", + doubleRate, + "taxRate", + taxRate, + "occupancyRate", + occupancyRate, + "yearBuilt", + yearBuilt, + "yearRenovated", + yearRenovated, + "proximityFromAirport", + proximityFromAirport, + "restrictions", + restrictions, + "maximumCapacity", + maximumCapacity, + "eventInsurance", + eventInsurance, + "id", + id, + "name", + name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private Long numberOfMeetingRooms; + + private ExistingVenueFacilitySpace space; + + private ExistingVenueFacilitySleeping sleeping; + + private ExistingVenueFacilitySingleRate singleRate; + + private ExistingVenueFacilityDoubleRate doubleRate; + + private Double taxRate; + + private Double occupancyRate; + + private Long yearBuilt; + + private Long yearRenovated; + + private ExistingVenueFacilityProximityFromAirport proximityFromAirport; + + private String restrictions; + + private ExistingVenueFacilityMaximumCapacity maximumCapacity; + + private EventInsurance eventInsurance; + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Total number of meeting rooms at the venue. + */ + public Builder numberOfMeetingRooms(@Nullable Long numberOfMeetingRooms) { + this.numberOfMeetingRooms = numberOfMeetingRooms; + return this; + } + + /** + * Facility space measurements at the venue. + */ + public Builder space(@Nullable ExistingVenueFacilitySpace space) { + this.space = space; + return this; + } + + /** + * Sleeping room inventory at the venue. + */ + public Builder sleeping(@Nullable ExistingVenueFacilitySleeping sleeping) { + this.sleeping = sleeping; + return this; + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public Builder singleRate(@Nullable ExistingVenueFacilitySingleRate singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public Builder doubleRate(@Nullable ExistingVenueFacilityDoubleRate doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public Builder taxRate(@Nullable Double taxRate) { + this.taxRate = taxRate; + return this; + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public Builder occupancyRate(@Nullable Double occupancyRate) { + this.occupancyRate = occupancyRate; + return this; + } + + /** + * Four-digit year the venue was built. + */ + public Builder yearBuilt(@Nullable Long yearBuilt) { + this.yearBuilt = yearBuilt; + return this; + } + + /** + * Four-digit year the venue was last renovated. + */ + public Builder yearRenovated(@Nullable Long yearRenovated) { + this.yearRenovated = yearRenovated; + return this; + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public Builder proximityFromAirport(@Nullable ExistingVenueFacilityProximityFromAirport proximityFromAirport) { + this.proximityFromAirport = proximityFromAirport; + return this; + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public Builder restrictions(@Nullable String restrictions) { + this.restrictions = restrictions; + return this; + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public Builder maximumCapacity(@Nullable ExistingVenueFacilityMaximumCapacity maximumCapacity) { + this.maximumCapacity = maximumCapacity; + return this; + } + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + public Builder eventInsurance(@Nullable EventInsurance eventInsurance) { + this.eventInsurance = eventInsurance; + return this; + } + + /** + * Venue ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Venue name. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + public ExistingVenueFacility build() { + return new ExistingVenueFacility( + created, + createdBy, + lastModified, + lastModifiedBy, + numberOfMeetingRooms, + space, + sleeping, + singleRate, + doubleRate, + taxRate, + occupancyRate, + yearBuilt, + yearRenovated, + proximityFromAirport, + restrictions, + maximumCapacity, + eventInsurance, + id, + name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityDoubleRate.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityDoubleRate.java new file mode 100644 index 000000000..bafb2f2cd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityDoubleRate.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingVenueFacilityDoubleRate + * + *

Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ +public class ExistingVenueFacilityDoubleRate { + /** + * Lowest published rate for a double-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("low") + private Double low; + + /** + * Highest published rate for a double-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("high") + private Double high; + + @JsonCreator + public ExistingVenueFacilityDoubleRate( + @JsonProperty("low") @Nullable Double low, @JsonProperty("high") @Nullable Double high) { + this.low = low; + this.high = high; + } + + public ExistingVenueFacilityDoubleRate() { + this(null, null); + } + + /** + * Lowest published rate for a double-occupancy room. + */ + public Optional low() { + return Optional.ofNullable(this.low); + } + + /** + * Highest published rate for a double-occupancy room. + */ + public Optional high() { + return Optional.ofNullable(this.high); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Lowest published rate for a double-occupancy room. + */ + public ExistingVenueFacilityDoubleRate withLow(@Nullable Double low) { + this.low = low; + return this; + } + + /** + * Highest published rate for a double-occupancy room. + */ + public ExistingVenueFacilityDoubleRate withHigh(@Nullable Double high) { + this.high = high; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacilityDoubleRate other = (ExistingVenueFacilityDoubleRate) o; + return Utils.enhancedDeepEquals(this.low, other.low) && Utils.enhancedDeepEquals(this.high, other.high); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(low, high); + } + + @Override + public String toString() { + return Utils.toString(ExistingVenueFacilityDoubleRate.class, "low", low, "high", high); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Double low; + + private Double high; + + private Builder() { + // force use of static builder() method + } + + /** + * Lowest published rate for a double-occupancy room. + */ + public Builder low(@Nullable Double low) { + this.low = low; + return this; + } + + /** + * Highest published rate for a double-occupancy room. + */ + public Builder high(@Nullable Double high) { + this.high = high; + return this; + } + + public ExistingVenueFacilityDoubleRate build() { + return new ExistingVenueFacilityDoubleRate(low, high); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityInput.java new file mode 100644 index 000000000..681bb0fd2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityInput.java @@ -0,0 +1,619 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingVenueFacilityInput + * + *

An existing venue facility model with read-only generated properties. + */ +public class ExistingVenueFacilityInput { + /** + * Total number of meeting rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("numberOfMeetingRooms") + private Long numberOfMeetingRooms; + + /** + * Facility space measurements at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("space") + private ExistingVenueFacilitySpace space; + + /** + * Sleeping room inventory at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sleeping") + private ExistingVenueFacilitySleeping sleeping; + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("singleRate") + private ExistingVenueFacilitySingleRate singleRate; + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleRate") + private ExistingVenueFacilityDoubleRate doubleRate; + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxRate") + private Double taxRate; + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("occupancyRate") + private Double occupancyRate; + + /** + * Four-digit year the venue was built. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("yearBuilt") + private Long yearBuilt; + + /** + * Four-digit year the venue was last renovated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("yearRenovated") + private Long yearRenovated; + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("proximityFromAirport") + private ExistingVenueFacilityProximityFromAirport proximityFromAirport; + + /** + * Free-form description of any facility restrictions at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("restrictions") + private String restrictions; + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maximumCapacity") + private ExistingVenueFacilityMaximumCapacity maximumCapacity; + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("eventInsurance") + private EventInsurance eventInsurance; + + @JsonCreator + public ExistingVenueFacilityInput( + @JsonProperty("numberOfMeetingRooms") @Nullable Long numberOfMeetingRooms, + @JsonProperty("space") @Nullable ExistingVenueFacilitySpace space, + @JsonProperty("sleeping") @Nullable ExistingVenueFacilitySleeping sleeping, + @JsonProperty("singleRate") @Nullable ExistingVenueFacilitySingleRate singleRate, + @JsonProperty("doubleRate") @Nullable ExistingVenueFacilityDoubleRate doubleRate, + @JsonProperty("taxRate") @Nullable Double taxRate, + @JsonProperty("occupancyRate") @Nullable Double occupancyRate, + @JsonProperty("yearBuilt") @Nullable Long yearBuilt, + @JsonProperty("yearRenovated") @Nullable Long yearRenovated, + @JsonProperty("proximityFromAirport") @Nullable + ExistingVenueFacilityProximityFromAirport proximityFromAirport, + @JsonProperty("restrictions") @Nullable String restrictions, + @JsonProperty("maximumCapacity") @Nullable ExistingVenueFacilityMaximumCapacity maximumCapacity, + @JsonProperty("eventInsurance") @Nullable EventInsurance eventInsurance) { + this.numberOfMeetingRooms = numberOfMeetingRooms; + this.space = space; + this.sleeping = sleeping; + this.singleRate = singleRate; + this.doubleRate = doubleRate; + this.taxRate = taxRate; + this.occupancyRate = occupancyRate; + this.yearBuilt = yearBuilt; + this.yearRenovated = yearRenovated; + this.proximityFromAirport = proximityFromAirport; + this.restrictions = restrictions; + this.maximumCapacity = maximumCapacity; + this.eventInsurance = eventInsurance; + } + + public ExistingVenueFacilityInput() { + this(null, null, null, null, null, null, null, null, null, null, null, null, null); + } + + /** + * Total number of meeting rooms at the venue. + */ + public Optional numberOfMeetingRooms() { + return Optional.ofNullable(this.numberOfMeetingRooms); + } + + /** + * Facility space measurements at the venue. + */ + public Optional space() { + return Optional.ofNullable(this.space); + } + + /** + * Sleeping room inventory at the venue. + */ + public Optional sleeping() { + return Optional.ofNullable(this.sleeping); + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public Optional singleRate() { + return Optional.ofNullable(this.singleRate); + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public Optional doubleRate() { + return Optional.ofNullable(this.doubleRate); + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public Optional taxRate() { + return Optional.ofNullable(this.taxRate); + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public Optional occupancyRate() { + return Optional.ofNullable(this.occupancyRate); + } + + /** + * Four-digit year the venue was built. + */ + public Optional yearBuilt() { + return Optional.ofNullable(this.yearBuilt); + } + + /** + * Four-digit year the venue was last renovated. + */ + public Optional yearRenovated() { + return Optional.ofNullable(this.yearRenovated); + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public Optional proximityFromAirport() { + return Optional.ofNullable(this.proximityFromAirport); + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public Optional restrictions() { + return Optional.ofNullable(this.restrictions); + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public Optional maximumCapacity() { + return Optional.ofNullable(this.maximumCapacity); + } + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + public Optional eventInsurance() { + return Optional.ofNullable(this.eventInsurance); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Total number of meeting rooms at the venue. + */ + public ExistingVenueFacilityInput withNumberOfMeetingRooms(@Nullable Long numberOfMeetingRooms) { + this.numberOfMeetingRooms = numberOfMeetingRooms; + return this; + } + + /** + * Facility space measurements at the venue. + */ + public ExistingVenueFacilityInput withSpace(@Nullable ExistingVenueFacilitySpace space) { + this.space = space; + return this; + } + + /** + * Sleeping room inventory at the venue. + */ + public ExistingVenueFacilityInput withSleeping(@Nullable ExistingVenueFacilitySleeping sleeping) { + this.sleeping = sleeping; + return this; + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public ExistingVenueFacilityInput withSingleRate(@Nullable ExistingVenueFacilitySingleRate singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public ExistingVenueFacilityInput withDoubleRate(@Nullable ExistingVenueFacilityDoubleRate doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public ExistingVenueFacilityInput withTaxRate(@Nullable Double taxRate) { + this.taxRate = taxRate; + return this; + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public ExistingVenueFacilityInput withOccupancyRate(@Nullable Double occupancyRate) { + this.occupancyRate = occupancyRate; + return this; + } + + /** + * Four-digit year the venue was built. + */ + public ExistingVenueFacilityInput withYearBuilt(@Nullable Long yearBuilt) { + this.yearBuilt = yearBuilt; + return this; + } + + /** + * Four-digit year the venue was last renovated. + */ + public ExistingVenueFacilityInput withYearRenovated(@Nullable Long yearRenovated) { + this.yearRenovated = yearRenovated; + return this; + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public ExistingVenueFacilityInput withProximityFromAirport( + @Nullable ExistingVenueFacilityProximityFromAirport proximityFromAirport) { + this.proximityFromAirport = proximityFromAirport; + return this; + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public ExistingVenueFacilityInput withRestrictions(@Nullable String restrictions) { + this.restrictions = restrictions; + return this; + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public ExistingVenueFacilityInput withMaximumCapacity( + @Nullable ExistingVenueFacilityMaximumCapacity maximumCapacity) { + this.maximumCapacity = maximumCapacity; + return this; + } + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + public ExistingVenueFacilityInput withEventInsurance(@Nullable EventInsurance eventInsurance) { + this.eventInsurance = eventInsurance; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacilityInput other = (ExistingVenueFacilityInput) o; + return Utils.enhancedDeepEquals(this.numberOfMeetingRooms, other.numberOfMeetingRooms) + && Utils.enhancedDeepEquals(this.space, other.space) + && Utils.enhancedDeepEquals(this.sleeping, other.sleeping) + && Utils.enhancedDeepEquals(this.singleRate, other.singleRate) + && Utils.enhancedDeepEquals(this.doubleRate, other.doubleRate) + && Utils.enhancedDeepEquals(this.taxRate, other.taxRate) + && Utils.enhancedDeepEquals(this.occupancyRate, other.occupancyRate) + && Utils.enhancedDeepEquals(this.yearBuilt, other.yearBuilt) + && Utils.enhancedDeepEquals(this.yearRenovated, other.yearRenovated) + && Utils.enhancedDeepEquals(this.proximityFromAirport, other.proximityFromAirport) + && Utils.enhancedDeepEquals(this.restrictions, other.restrictions) + && Utils.enhancedDeepEquals(this.maximumCapacity, other.maximumCapacity) + && Utils.enhancedDeepEquals(this.eventInsurance, other.eventInsurance); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + numberOfMeetingRooms, + space, + sleeping, + singleRate, + doubleRate, + taxRate, + occupancyRate, + yearBuilt, + yearRenovated, + proximityFromAirport, + restrictions, + maximumCapacity, + eventInsurance); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueFacilityInput.class, + "numberOfMeetingRooms", + numberOfMeetingRooms, + "space", + space, + "sleeping", + sleeping, + "singleRate", + singleRate, + "doubleRate", + doubleRate, + "taxRate", + taxRate, + "occupancyRate", + occupancyRate, + "yearBuilt", + yearBuilt, + "yearRenovated", + yearRenovated, + "proximityFromAirport", + proximityFromAirport, + "restrictions", + restrictions, + "maximumCapacity", + maximumCapacity, + "eventInsurance", + eventInsurance); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Long numberOfMeetingRooms; + + private ExistingVenueFacilitySpace space; + + private ExistingVenueFacilitySleeping sleeping; + + private ExistingVenueFacilitySingleRate singleRate; + + private ExistingVenueFacilityDoubleRate doubleRate; + + private Double taxRate; + + private Double occupancyRate; + + private Long yearBuilt; + + private Long yearRenovated; + + private ExistingVenueFacilityProximityFromAirport proximityFromAirport; + + private String restrictions; + + private ExistingVenueFacilityMaximumCapacity maximumCapacity; + + private EventInsurance eventInsurance; + + private Builder() { + // force use of static builder() method + } + + /** + * Total number of meeting rooms at the venue. + */ + public Builder numberOfMeetingRooms(@Nullable Long numberOfMeetingRooms) { + this.numberOfMeetingRooms = numberOfMeetingRooms; + return this; + } + + /** + * Facility space measurements at the venue. + */ + public Builder space(@Nullable ExistingVenueFacilitySpace space) { + this.space = space; + return this; + } + + /** + * Sleeping room inventory at the venue. + */ + public Builder sleeping(@Nullable ExistingVenueFacilitySleeping sleeping) { + this.sleeping = sleeping; + return this; + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public Builder singleRate(@Nullable ExistingVenueFacilitySingleRate singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public Builder doubleRate(@Nullable ExistingVenueFacilityDoubleRate doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public Builder taxRate(@Nullable Double taxRate) { + this.taxRate = taxRate; + return this; + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public Builder occupancyRate(@Nullable Double occupancyRate) { + this.occupancyRate = occupancyRate; + return this; + } + + /** + * Four-digit year the venue was built. + */ + public Builder yearBuilt(@Nullable Long yearBuilt) { + this.yearBuilt = yearBuilt; + return this; + } + + /** + * Four-digit year the venue was last renovated. + */ + public Builder yearRenovated(@Nullable Long yearRenovated) { + this.yearRenovated = yearRenovated; + return this; + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public Builder proximityFromAirport(@Nullable ExistingVenueFacilityProximityFromAirport proximityFromAirport) { + this.proximityFromAirport = proximityFromAirport; + return this; + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public Builder restrictions(@Nullable String restrictions) { + this.restrictions = restrictions; + return this; + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public Builder maximumCapacity(@Nullable ExistingVenueFacilityMaximumCapacity maximumCapacity) { + this.maximumCapacity = maximumCapacity; + return this; + } + + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + public Builder eventInsurance(@Nullable EventInsurance eventInsurance) { + this.eventInsurance = eventInsurance; + return this; + } + + public ExistingVenueFacilityInput build() { + return new ExistingVenueFacilityInput( + numberOfMeetingRooms, + space, + sleeping, + singleRate, + doubleRate, + taxRate, + occupancyRate, + yearBuilt, + yearRenovated, + proximityFromAirport, + restrictions, + maximumCapacity, + eventInsurance); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityMaximumCapacity.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityMaximumCapacity.java new file mode 100644 index 000000000..0dbd07078 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityMaximumCapacity.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingVenueFacilityMaximumCapacity + * + *

Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ +public class ExistingVenueFacilityMaximumCapacity { + /** + * Maximum seated capacity at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seated") + private Long seated; + + /** + * Maximum standing capacity at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("standing") + private Long standing; + + @JsonCreator + public ExistingVenueFacilityMaximumCapacity( + @JsonProperty("seated") @Nullable Long seated, @JsonProperty("standing") @Nullable Long standing) { + this.seated = seated; + this.standing = standing; + } + + public ExistingVenueFacilityMaximumCapacity() { + this(null, null); + } + + /** + * Maximum seated capacity at the venue. + */ + public Optional seated() { + return Optional.ofNullable(this.seated); + } + + /** + * Maximum standing capacity at the venue. + */ + public Optional standing() { + return Optional.ofNullable(this.standing); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Maximum seated capacity at the venue. + */ + public ExistingVenueFacilityMaximumCapacity withSeated(@Nullable Long seated) { + this.seated = seated; + return this; + } + + /** + * Maximum standing capacity at the venue. + */ + public ExistingVenueFacilityMaximumCapacity withStanding(@Nullable Long standing) { + this.standing = standing; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacilityMaximumCapacity other = (ExistingVenueFacilityMaximumCapacity) o; + return Utils.enhancedDeepEquals(this.seated, other.seated) + && Utils.enhancedDeepEquals(this.standing, other.standing); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(seated, standing); + } + + @Override + public String toString() { + return Utils.toString(ExistingVenueFacilityMaximumCapacity.class, "seated", seated, "standing", standing); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Long seated; + + private Long standing; + + private Builder() { + // force use of static builder() method + } + + /** + * Maximum seated capacity at the venue. + */ + public Builder seated(@Nullable Long seated) { + this.seated = seated; + return this; + } + + /** + * Maximum standing capacity at the venue. + */ + public Builder standing(@Nullable Long standing) { + this.standing = standing; + return this; + } + + public ExistingVenueFacilityMaximumCapacity build() { + return new ExistingVenueFacilityMaximumCapacity(seated, standing); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityProximityFromAirport.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityProximityFromAirport.java new file mode 100644 index 000000000..a373feb6a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilityProximityFromAirport.java @@ -0,0 +1,152 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingVenueFacilityProximityFromAirport + * + *

Distance from the nearest airport. `unit` is required when `distance` is provided. + */ +public class ExistingVenueFacilityProximityFromAirport { + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("distance") + private Double distance; + + /** + * Unit of measurement for distance. + * + *

Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unit") + private DistanceMeasurementUnit unit; + + @JsonCreator + public ExistingVenueFacilityProximityFromAirport( + @JsonProperty("distance") @Nullable Double distance, + @JsonProperty("unit") @Nullable DistanceMeasurementUnit unit) { + this.distance = distance; + this.unit = unit; + } + + public ExistingVenueFacilityProximityFromAirport() { + this(null, null); + } + + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + public Optional distance() { + return Optional.ofNullable(this.distance); + } + + /** + * Unit of measurement for distance. + * + *

Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ + public Optional unit() { + return Optional.ofNullable(this.unit); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + public ExistingVenueFacilityProximityFromAirport withDistance(@Nullable Double distance) { + this.distance = distance; + return this; + } + + /** + * Unit of measurement for distance. + * + *

Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ + public ExistingVenueFacilityProximityFromAirport withUnit(@Nullable DistanceMeasurementUnit unit) { + this.unit = unit; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacilityProximityFromAirport other = (ExistingVenueFacilityProximityFromAirport) o; + return Utils.enhancedDeepEquals(this.distance, other.distance) && Utils.enhancedDeepEquals(this.unit, other.unit); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(distance, unit); + } + + @Override + public String toString() { + return Utils.toString(ExistingVenueFacilityProximityFromAirport.class, "distance", distance, "unit", unit); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Double distance; + + private DistanceMeasurementUnit unit; + + private Builder() { + // force use of static builder() method + } + + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + public Builder distance(@Nullable Double distance) { + this.distance = distance; + return this; + } + + /** + * Unit of measurement for distance. + * + *

Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ + public Builder unit(@Nullable DistanceMeasurementUnit unit) { + this.unit = unit; + return this; + } + + public ExistingVenueFacilityProximityFromAirport build() { + return new ExistingVenueFacilityProximityFromAirport(distance, unit); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySingleRate.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySingleRate.java new file mode 100644 index 000000000..97934fe5d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySingleRate.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingVenueFacilitySingleRate + * + *

Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ +public class ExistingVenueFacilitySingleRate { + /** + * Lowest published rate for a single-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("low") + private Double low; + + /** + * Highest published rate for a single-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("high") + private Double high; + + @JsonCreator + public ExistingVenueFacilitySingleRate( + @JsonProperty("low") @Nullable Double low, @JsonProperty("high") @Nullable Double high) { + this.low = low; + this.high = high; + } + + public ExistingVenueFacilitySingleRate() { + this(null, null); + } + + /** + * Lowest published rate for a single-occupancy room. + */ + public Optional low() { + return Optional.ofNullable(this.low); + } + + /** + * Highest published rate for a single-occupancy room. + */ + public Optional high() { + return Optional.ofNullable(this.high); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Lowest published rate for a single-occupancy room. + */ + public ExistingVenueFacilitySingleRate withLow(@Nullable Double low) { + this.low = low; + return this; + } + + /** + * Highest published rate for a single-occupancy room. + */ + public ExistingVenueFacilitySingleRate withHigh(@Nullable Double high) { + this.high = high; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacilitySingleRate other = (ExistingVenueFacilitySingleRate) o; + return Utils.enhancedDeepEquals(this.low, other.low) && Utils.enhancedDeepEquals(this.high, other.high); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(low, high); + } + + @Override + public String toString() { + return Utils.toString(ExistingVenueFacilitySingleRate.class, "low", low, "high", high); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Double low; + + private Double high; + + private Builder() { + // force use of static builder() method + } + + /** + * Lowest published rate for a single-occupancy room. + */ + public Builder low(@Nullable Double low) { + this.low = low; + return this; + } + + /** + * Highest published rate for a single-occupancy room. + */ + public Builder high(@Nullable Double high) { + this.high = high; + return this; + } + + public ExistingVenueFacilitySingleRate build() { + return new ExistingVenueFacilitySingleRate(low, high); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySleeping.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySleeping.java new file mode 100644 index 000000000..f1da79957 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySleeping.java @@ -0,0 +1,216 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * ExistingVenueFacilitySleeping + * + *

Sleeping room inventory at the venue. + */ +public class ExistingVenueFacilitySleeping { + /** + * Total number of sleeping rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalRooms") + private Long totalRooms; + + /** + * Total number of suites at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("suites") + private Long suites; + + /** + * Total number of single-occupancy rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("singleRooms") + private Long singleRooms; + + /** + * Total number of double-occupancy rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleRooms") + private Long doubleRooms; + + @JsonCreator + public ExistingVenueFacilitySleeping( + @JsonProperty("totalRooms") @Nullable Long totalRooms, + @JsonProperty("suites") @Nullable Long suites, + @JsonProperty("singleRooms") @Nullable Long singleRooms, + @JsonProperty("doubleRooms") @Nullable Long doubleRooms) { + this.totalRooms = totalRooms; + this.suites = suites; + this.singleRooms = singleRooms; + this.doubleRooms = doubleRooms; + } + + public ExistingVenueFacilitySleeping() { + this(null, null, null, null); + } + + /** + * Total number of sleeping rooms at the venue. + */ + public Optional totalRooms() { + return Optional.ofNullable(this.totalRooms); + } + + /** + * Total number of suites at the venue. + */ + public Optional suites() { + return Optional.ofNullable(this.suites); + } + + /** + * Total number of single-occupancy rooms at the venue. + */ + public Optional singleRooms() { + return Optional.ofNullable(this.singleRooms); + } + + /** + * Total number of double-occupancy rooms at the venue. + */ + public Optional doubleRooms() { + return Optional.ofNullable(this.doubleRooms); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Total number of sleeping rooms at the venue. + */ + public ExistingVenueFacilitySleeping withTotalRooms(@Nullable Long totalRooms) { + this.totalRooms = totalRooms; + return this; + } + + /** + * Total number of suites at the venue. + */ + public ExistingVenueFacilitySleeping withSuites(@Nullable Long suites) { + this.suites = suites; + return this; + } + + /** + * Total number of single-occupancy rooms at the venue. + */ + public ExistingVenueFacilitySleeping withSingleRooms(@Nullable Long singleRooms) { + this.singleRooms = singleRooms; + return this; + } + + /** + * Total number of double-occupancy rooms at the venue. + */ + public ExistingVenueFacilitySleeping withDoubleRooms(@Nullable Long doubleRooms) { + this.doubleRooms = doubleRooms; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacilitySleeping other = (ExistingVenueFacilitySleeping) o; + return Utils.enhancedDeepEquals(this.totalRooms, other.totalRooms) + && Utils.enhancedDeepEquals(this.suites, other.suites) + && Utils.enhancedDeepEquals(this.singleRooms, other.singleRooms) + && Utils.enhancedDeepEquals(this.doubleRooms, other.doubleRooms); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(totalRooms, suites, singleRooms, doubleRooms); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueFacilitySleeping.class, + "totalRooms", + totalRooms, + "suites", + suites, + "singleRooms", + singleRooms, + "doubleRooms", + doubleRooms); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Long totalRooms; + + private Long suites; + + private Long singleRooms; + + private Long doubleRooms; + + private Builder() { + // force use of static builder() method + } + + /** + * Total number of sleeping rooms at the venue. + */ + public Builder totalRooms(@Nullable Long totalRooms) { + this.totalRooms = totalRooms; + return this; + } + + /** + * Total number of suites at the venue. + */ + public Builder suites(@Nullable Long suites) { + this.suites = suites; + return this; + } + + /** + * Total number of single-occupancy rooms at the venue. + */ + public Builder singleRooms(@Nullable Long singleRooms) { + this.singleRooms = singleRooms; + return this; + } + + /** + * Total number of double-occupancy rooms at the venue. + */ + public Builder doubleRooms(@Nullable Long doubleRooms) { + this.doubleRooms = doubleRooms; + return this; + } + + public ExistingVenueFacilitySleeping build() { + return new ExistingVenueFacilitySleeping(totalRooms, suites, singleRooms, doubleRooms); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySpace.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySpace.java new file mode 100644 index 000000000..648b275ec --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueFacilitySpace.java @@ -0,0 +1,195 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * ExistingVenueFacilitySpace + * + *

Facility space measurements at the venue. + */ +public class ExistingVenueFacilitySpace { + /** + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unitOfMeasurement") + private MeasurementUnit unitOfMeasurement; + + /** + * Total meeting room space at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalMeetingRoomSpace") + private Long totalMeetingRoomSpace; + + /** + * Total exhibit space at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalExhibitSpace") + private Long totalExhibitSpace; + + @JsonCreator + public ExistingVenueFacilitySpace( + @JsonProperty("unitOfMeasurement") @Nullable MeasurementUnit unitOfMeasurement, + @JsonProperty("totalMeetingRoomSpace") @Nullable Long totalMeetingRoomSpace, + @JsonProperty("totalExhibitSpace") @Nullable Long totalExhibitSpace) { + this.unitOfMeasurement = unitOfMeasurement; + this.totalMeetingRoomSpace = totalMeetingRoomSpace; + this.totalExhibitSpace = totalExhibitSpace; + } + + public ExistingVenueFacilitySpace() { + this(null, null, null); + } + + /** + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ + public Optional unitOfMeasurement() { + return Optional.ofNullable(this.unitOfMeasurement); + } + + /** + * Total meeting room space at the venue. + */ + public Optional totalMeetingRoomSpace() { + return Optional.ofNullable(this.totalMeetingRoomSpace); + } + + /** + * Total exhibit space at the venue. + */ + public Optional totalExhibitSpace() { + return Optional.ofNullable(this.totalExhibitSpace); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ + public ExistingVenueFacilitySpace withUnitOfMeasurement(@Nullable MeasurementUnit unitOfMeasurement) { + this.unitOfMeasurement = unitOfMeasurement; + return this; + } + + /** + * Total meeting room space at the venue. + */ + public ExistingVenueFacilitySpace withTotalMeetingRoomSpace(@Nullable Long totalMeetingRoomSpace) { + this.totalMeetingRoomSpace = totalMeetingRoomSpace; + return this; + } + + /** + * Total exhibit space at the venue. + */ + public ExistingVenueFacilitySpace withTotalExhibitSpace(@Nullable Long totalExhibitSpace) { + this.totalExhibitSpace = totalExhibitSpace; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueFacilitySpace other = (ExistingVenueFacilitySpace) o; + return Utils.enhancedDeepEquals(this.unitOfMeasurement, other.unitOfMeasurement) + && Utils.enhancedDeepEquals(this.totalMeetingRoomSpace, other.totalMeetingRoomSpace) + && Utils.enhancedDeepEquals(this.totalExhibitSpace, other.totalExhibitSpace); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(unitOfMeasurement, totalMeetingRoomSpace, totalExhibitSpace); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueFacilitySpace.class, + "unitOfMeasurement", + unitOfMeasurement, + "totalMeetingRoomSpace", + totalMeetingRoomSpace, + "totalExhibitSpace", + totalExhibitSpace); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private MeasurementUnit unitOfMeasurement; + + private Long totalMeetingRoomSpace; + + private Long totalExhibitSpace; + + private Builder() { + // force use of static builder() method + } + + /** + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ + public Builder unitOfMeasurement(@Nullable MeasurementUnit unitOfMeasurement) { + this.unitOfMeasurement = unitOfMeasurement; + return this; + } + + /** + * Total meeting room space at the venue. + */ + public Builder totalMeetingRoomSpace(@Nullable Long totalMeetingRoomSpace) { + this.totalMeetingRoomSpace = totalMeetingRoomSpace; + return this; + } + + /** + * Total exhibit space at the venue. + */ + public Builder totalExhibitSpace(@Nullable Long totalExhibitSpace) { + this.totalExhibitSpace = totalExhibitSpace; + return this; + } + + public ExistingVenueFacilitySpace build() { + return new ExistingVenueFacilitySpace(unitOfMeasurement, totalMeetingRoomSpace, totalExhibitSpace); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.java deleted file mode 100644 index 385284215..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivitiesAdditionalFieldsMetadataJson.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ExternalActivitiesAdditionalFieldsMetadataJson - * - *

Additional fields metadata for an external activity. - */ -public class ExternalActivitiesAdditionalFieldsMetadataJson { - /** - * The name of the additional field. - */ - @JsonProperty("name") - private String name; - - /** - * Description of the additional field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("description") - private String description; - - @JsonCreator - public ExternalActivitiesAdditionalFieldsMetadataJson( - @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description) { - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.description = description; - } - - public ExternalActivitiesAdditionalFieldsMetadataJson(@Nonnull String name) { - this(name, null); - } - - /** - * The name of the additional field. - */ - public String name() { - return this.name; - } - - /** - * Description of the additional field. - */ - public Optional description() { - return Optional.ofNullable(this.description); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The name of the additional field. - */ - public ExternalActivitiesAdditionalFieldsMetadataJson withName(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * Description of the additional field. - */ - public ExternalActivitiesAdditionalFieldsMetadataJson withDescription(@Nullable String description) { - this.description = description; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalActivitiesAdditionalFieldsMetadataJson other = (ExternalActivitiesAdditionalFieldsMetadataJson) o; - return Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.description, other.description); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(name, description); - } - - @Override - public String toString() { - return Utils.toString( - ExternalActivitiesAdditionalFieldsMetadataJson.class, "name", name, "description", description); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String name; - - private String description; - - private Builder() { - // force use of static builder() method - } - - /** - * The name of the additional field. - */ - public Builder name(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * Description of the additional field. - */ - public Builder description(@Nullable String description) { - this.description = description; - return this; - } - - public ExternalActivitiesAdditionalFieldsMetadataJson build() { - return new ExternalActivitiesAdditionalFieldsMetadataJson(name, description); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivity.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivity.java index f9455a338..44c32c1be 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivity.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivity.java @@ -32,13 +32,13 @@ public class ExternalActivity { * The reference to the related entity. Contains only the ID of the related entity. */ @JsonProperty("attendee") - private UuidJson attendee; + private Uuid attendee; /** * Details for an event activity. */ @JsonProperty("event") - private EventActivityDetailsJson event; + private EventActivityDetail event; /** * ISO 8601 date and time when this attendee activity occurred. @@ -64,24 +64,24 @@ public class ExternalActivity { * This is used to denote the type of the external attendee activity. */ @JsonProperty("type") - private ExternalActivityTypeJson type; + private ExternalActivityType type; /** * This is used to denote the type of the external attendee activity. */ @JsonProperty("data") - private ExternalActivityDataJson data; + private ExternalActivityData data; @JsonCreator public ExternalActivity( @JsonProperty("id") @Nullable String id, - @JsonProperty("attendee") @Nonnull UuidJson attendee, - @JsonProperty("event") @Nonnull EventActivityDetailsJson event, + @JsonProperty("attendee") @Nonnull Uuid attendee, + @JsonProperty("event") @Nonnull EventActivityDetail event, @JsonProperty("time") @Nullable OffsetDateTime time, @JsonProperty("created") @Nullable OffsetDateTime created, @JsonProperty("name") @Nonnull String name, - @JsonProperty("type") @Nonnull ExternalActivityTypeJson type, - @JsonProperty("data") @Nonnull ExternalActivityDataJson data) { + @JsonProperty("type") @Nonnull ExternalActivityType type, + @JsonProperty("data") @Nonnull ExternalActivityData data) { this.id = id; this.attendee = Optional.ofNullable(attendee) .orElseThrow(() -> new IllegalArgumentException("attendee cannot be null")); @@ -94,11 +94,11 @@ public ExternalActivity( } public ExternalActivity( - @Nonnull UuidJson attendee, - @Nonnull EventActivityDetailsJson event, + @Nonnull Uuid attendee, + @Nonnull EventActivityDetail event, @Nonnull String name, - @Nonnull ExternalActivityTypeJson type, - @Nonnull ExternalActivityDataJson data) { + @Nonnull ExternalActivityType type, + @Nonnull ExternalActivityData data) { this(null, attendee, event, null, null, name, type, data); } @@ -112,14 +112,14 @@ public Optional id() { /** * The reference to the related entity. Contains only the ID of the related entity. */ - public UuidJson attendee() { + public Uuid attendee() { return this.attendee; } /** * Details for an event activity. */ - public EventActivityDetailsJson event() { + public EventActivityDetail event() { return this.event; } @@ -147,14 +147,14 @@ public String name() { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityTypeJson type() { + public ExternalActivityType type() { return this.type; } /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityDataJson data() { + public ExternalActivityData data() { return this.data; } @@ -173,7 +173,7 @@ public ExternalActivity withId(@Nullable String id) { /** * The reference to the related entity. Contains only the ID of the related entity. */ - public ExternalActivity withAttendee(@Nonnull UuidJson attendee) { + public ExternalActivity withAttendee(@Nonnull Uuid attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -181,7 +181,7 @@ public ExternalActivity withAttendee(@Nonnull UuidJson attendee) { /** * Details for an event activity. */ - public ExternalActivity withEvent(@Nonnull EventActivityDetailsJson event) { + public ExternalActivity withEvent(@Nonnull EventActivityDetail event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -213,7 +213,7 @@ public ExternalActivity withName(@Nonnull String name) { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivity withType(@Nonnull ExternalActivityTypeJson type) { + public ExternalActivity withType(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -221,7 +221,7 @@ public ExternalActivity withType(@Nonnull ExternalActivityTypeJson type) { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivity withData(@Nonnull ExternalActivityDataJson data) { + public ExternalActivity withData(@Nonnull ExternalActivityData data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -277,9 +277,9 @@ public static final class Builder { private String id; - private UuidJson attendee; + private Uuid attendee; - private EventActivityDetailsJson event; + private EventActivityDetail event; private OffsetDateTime time; @@ -287,9 +287,9 @@ public static final class Builder { private String name; - private ExternalActivityTypeJson type; + private ExternalActivityType type; - private ExternalActivityDataJson data; + private ExternalActivityData data; private Builder() { // force use of static builder() method @@ -306,7 +306,7 @@ public Builder id(@Nullable String id) { /** * The reference to the related entity. Contains only the ID of the related entity. */ - public Builder attendee(@Nonnull UuidJson attendee) { + public Builder attendee(@Nonnull Uuid attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -314,7 +314,7 @@ public Builder attendee(@Nonnull UuidJson attendee) { /** * Details for an event activity. */ - public Builder event(@Nonnull EventActivityDetailsJson event) { + public Builder event(@Nonnull EventActivityDetail event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -346,7 +346,7 @@ public Builder name(@Nonnull String name) { /** * This is used to denote the type of the external attendee activity. */ - public Builder type(@Nonnull ExternalActivityTypeJson type) { + public Builder type(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -354,7 +354,7 @@ public Builder type(@Nonnull ExternalActivityTypeJson type) { /** * This is used to denote the type of the external attendee activity. */ - public Builder data(@Nonnull ExternalActivityDataJson data) { + public Builder data(@Nonnull ExternalActivityData data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityAdditionalFieldsMetadata.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityAdditionalFieldsMetadata.java new file mode 100644 index 000000000..89e615059 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityAdditionalFieldsMetadata.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExternalActivityAdditionalFieldsMetadata + * + *

Additional fields metadata for an external activity. + */ +public class ExternalActivityAdditionalFieldsMetadata { + /** + * The name of the additional field. + */ + @JsonProperty("name") + private String name; + + /** + * Description of the additional field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + @JsonCreator + public ExternalActivityAdditionalFieldsMetadata( + @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description) { + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.description = description; + } + + public ExternalActivityAdditionalFieldsMetadata(@Nonnull String name) { + this(name, null); + } + + /** + * The name of the additional field. + */ + public String name() { + return this.name; + } + + /** + * Description of the additional field. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of the additional field. + */ + public ExternalActivityAdditionalFieldsMetadata withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Description of the additional field. + */ + public ExternalActivityAdditionalFieldsMetadata withDescription(@Nullable String description) { + this.description = description; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalActivityAdditionalFieldsMetadata other = (ExternalActivityAdditionalFieldsMetadata) o; + return Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.description, other.description); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(name, description); + } + + @Override + public String toString() { + return Utils.toString(ExternalActivityAdditionalFieldsMetadata.class, "name", name, "description", description); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private String description; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the additional field. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Description of the additional field. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + public ExternalActivityAdditionalFieldsMetadata build() { + return new ExternalActivityAdditionalFieldsMetadata(name, description); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityData.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityData.java new file mode 100644 index 000000000..8cc8b6bee --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityData.java @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.OneOfDeserializer; +import com.cvent.utils.TypedObject; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.cvent.utils.Utils.TypeReferenceWithShape; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; + +/** + * ExternalActivityData + * + *

This is used to denote the type of the external attendee activity. + */ +@JsonDeserialize(using = ExternalActivityData._Deserializer.class) +public class ExternalActivityData { + + @JsonValue + private final TypedObject value; + + private ExternalActivityData(TypedObject value) { + this.value = value; + } + + public static ExternalActivityData of(ExternalActivityDataEventExternal value) { + Utils.checkNotNull(value, "value"); + return new ExternalActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ExternalActivityData of(ExternalActivityDataSessionExternal value) { + Utils.checkNotNull(value, "value"); + return new ExternalActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ExternalActivityData of(ExternalActivityDataAppointmentExternal value) { + Utils.checkNotNull(value, "value"); + return new ExternalActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ExternalActivityData of(ExternalActivityDataExhibitorExternal value) { + Utils.checkNotNull(value, "value"); + return new ExternalActivityData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + /** + * Returns an instance of one of these types: + *

    + *
  • {@code com.cvent.models.components.ExternalActivityDataEventExternal}
  • + *
  • {@code com.cvent.models.components.ExternalActivityDataSessionExternal}
  • + *
  • {@code com.cvent.models.components.ExternalActivityDataAppointmentExternal}
  • + *
  • {@code com.cvent.models.components.ExternalActivityDataExhibitorExternal}
  • + *
+ * + *

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

+     * if (obj.value() instanceof String) {
+     *     String answer = (String) obj.value();
+     *     System.out.println("answer=" + answer);
+     * }
+     * 
+ * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalActivityData other = (ExternalActivityData) o; + return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super( + ExternalActivityData.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)); + } + } + + @Override + public String toString() { + return Utils.toString(ExternalActivityData.class, "value", value); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataAppointmentExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataAppointmentExternal.java new file mode 100644 index 000000000..0e9ca4c91 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataAppointmentExternal.java @@ -0,0 +1,182 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ExternalActivityDataAppointmentExternal + * + *

Additional fields for external activities. + */ +public class ExternalActivityDataAppointmentExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ExternalActivityDataAppointmentExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ExternalActivityDataAppointmentExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ExternalActivityDataAppointmentExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ExternalActivityDataAppointmentExternal withExternalActivityDate( + @Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ExternalActivityDataAppointmentExternal withAdditionalFields( + @Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalActivityDataAppointmentExternal other = (ExternalActivityDataAppointmentExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ExternalActivityDataAppointmentExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ExternalActivityDataAppointmentExternal build() { + return new ExternalActivityDataAppointmentExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataEventExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataEventExternal.java new file mode 100644 index 000000000..569bb9d28 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataEventExternal.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ExternalActivityDataEventExternal + * + *

Additional fields for external activities. + */ +public class ExternalActivityDataEventExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ExternalActivityDataEventExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ExternalActivityDataEventExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ExternalActivityDataEventExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ExternalActivityDataEventExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ExternalActivityDataEventExternal withAdditionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalActivityDataEventExternal other = (ExternalActivityDataEventExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ExternalActivityDataEventExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ExternalActivityDataEventExternal build() { + return new ExternalActivityDataEventExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataExhibitorExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataExhibitorExternal.java new file mode 100644 index 000000000..71b3cfd3d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataExhibitorExternal.java @@ -0,0 +1,181 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ExternalActivityDataExhibitorExternal + * + *

Additional fields for external activities. + */ +public class ExternalActivityDataExhibitorExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ExternalActivityDataExhibitorExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ExternalActivityDataExhibitorExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ExternalActivityDataExhibitorExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ExternalActivityDataExhibitorExternal withExternalActivityDate( + @Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ExternalActivityDataExhibitorExternal withAdditionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalActivityDataExhibitorExternal other = (ExternalActivityDataExhibitorExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ExternalActivityDataExhibitorExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ExternalActivityDataExhibitorExternal build() { + return new ExternalActivityDataExhibitorExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJson.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJson.java deleted file mode 100644 index 9c9989111..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJson.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.OneOfDeserializer; -import com.cvent.utils.TypedObject; -import com.cvent.utils.Utils; -import com.cvent.utils.Utils.JsonShape; -import com.cvent.utils.Utils.TypeReferenceWithShape; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import java.lang.Override; -import java.lang.String; -import java.lang.SuppressWarnings; - -/** - * ExternalActivityDataJson - * - *

This is used to denote the type of the external attendee activity. - */ -@JsonDeserialize(using = ExternalActivityDataJson._Deserializer.class) -public class ExternalActivityDataJson { - - @JsonValue - private final TypedObject value; - - private ExternalActivityDataJson(TypedObject value) { - this.value = value; - } - - public static ExternalActivityDataJson of(ExternalActivityDataJsonEventExternal value) { - Utils.checkNotNull(value, "value"); - return new ExternalActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ExternalActivityDataJson of(ExternalActivityDataJsonSessionExternal value) { - Utils.checkNotNull(value, "value"); - return new ExternalActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ExternalActivityDataJson of(ExternalActivityDataJsonAppointmentExternal value) { - Utils.checkNotNull(value, "value"); - return new ExternalActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ExternalActivityDataJson of(ExternalActivityDataJsonExhibitorExternal value) { - Utils.checkNotNull(value, "value"); - return new ExternalActivityDataJson(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - /** - * Returns an instance of one of these types: - *

    - *
  • {@code com.cvent.models.components.ExternalActivityDataJsonEventExternal}
  • - *
  • {@code com.cvent.models.components.ExternalActivityDataJsonSessionExternal}
  • - *
  • {@code com.cvent.models.components.ExternalActivityDataJsonAppointmentExternal}
  • - *
  • {@code com.cvent.models.components.ExternalActivityDataJsonExhibitorExternal}
  • - *
- * - *

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

-     * if (obj.value() instanceof String) {
-     *     String answer = (String) obj.value();
-     *     System.out.println("answer=" + answer);
-     * }
-     * 
- * - * @return value of oneOf type - **/ - public java.lang.Object value() { - return value.value(); - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalActivityDataJson other = (ExternalActivityDataJson) o; - return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(value.value()); - } - - @SuppressWarnings("serial") - public static final class _Deserializer extends OneOfDeserializer { - - public _Deserializer() { - super( - ExternalActivityDataJson.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)); - } - } - - @Override - public String toString() { - return Utils.toString(ExternalActivityDataJson.class, "value", value); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonAppointmentExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonAppointmentExternal.java deleted file mode 100644 index bdc33837f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonAppointmentExternal.java +++ /dev/null @@ -1,183 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Map; -import java.util.Optional; - -/** - * ExternalActivityDataJsonAppointmentExternal - * - *

Additional fields for external activities. - */ -public class ExternalActivityDataJsonAppointmentExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ExternalActivityDataJsonAppointmentExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ExternalActivityDataJsonAppointmentExternal( - @Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ExternalActivityDataJsonAppointmentExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ExternalActivityDataJsonAppointmentExternal withExternalActivityDate( - @Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ExternalActivityDataJsonAppointmentExternal withAdditionalFields( - @Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalActivityDataJsonAppointmentExternal other = (ExternalActivityDataJsonAppointmentExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ExternalActivityDataJsonAppointmentExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ExternalActivityDataJsonAppointmentExternal build() { - return new ExternalActivityDataJsonAppointmentExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonEventExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonEventExternal.java deleted file mode 100644 index e781c24aa..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonEventExternal.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Map; -import java.util.Optional; - -/** - * ExternalActivityDataJsonEventExternal - * - *

Additional fields for external activities. - */ -public class ExternalActivityDataJsonEventExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ExternalActivityDataJsonEventExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ExternalActivityDataJsonEventExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ExternalActivityDataJsonEventExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ExternalActivityDataJsonEventExternal withExternalActivityDate( - @Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ExternalActivityDataJsonEventExternal withAdditionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalActivityDataJsonEventExternal other = (ExternalActivityDataJsonEventExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ExternalActivityDataJsonEventExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ExternalActivityDataJsonEventExternal build() { - return new ExternalActivityDataJsonEventExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonExhibitorExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonExhibitorExternal.java deleted file mode 100644 index d17099bf8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonExhibitorExternal.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Map; -import java.util.Optional; - -/** - * ExternalActivityDataJsonExhibitorExternal - * - *

Additional fields for external activities. - */ -public class ExternalActivityDataJsonExhibitorExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ExternalActivityDataJsonExhibitorExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ExternalActivityDataJsonExhibitorExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ExternalActivityDataJsonExhibitorExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ExternalActivityDataJsonExhibitorExternal withExternalActivityDate( - @Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ExternalActivityDataJsonExhibitorExternal withAdditionalFields( - @Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalActivityDataJsonExhibitorExternal other = (ExternalActivityDataJsonExhibitorExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ExternalActivityDataJsonExhibitorExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ExternalActivityDataJsonExhibitorExternal build() { - return new ExternalActivityDataJsonExhibitorExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonSessionExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonSessionExternal.java deleted file mode 100644 index 1fac5a744..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataJsonSessionExternal.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Map; -import java.util.Optional; - -/** - * ExternalActivityDataJsonSessionExternal - * - *

Additional fields for external activities. - */ -public class ExternalActivityDataJsonSessionExternal { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - @JsonProperty("externalActivityDate") - private OffsetDateTime externalActivityDate; - - /** - * Additional fields provided for the external attendee activity - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalFields") - private Map additionalFields; - - @JsonCreator - public ExternalActivityDataJsonSessionExternal( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, - @JsonProperty("additionalFields") @Nullable Map additionalFields) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.externalActivityDate = Optional.ofNullable(externalActivityDate) - .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); - this.additionalFields = additionalFields; - } - - public ExternalActivityDataJsonSessionExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { - this(id, externalActivityDate, null); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public String id() { - return this.id; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public OffsetDateTime externalActivityDate() { - return this.externalActivityDate; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Optional> additionalFields() { - return Optional.ofNullable(this.additionalFields); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public ExternalActivityDataJsonSessionExternal withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public ExternalActivityDataJsonSessionExternal withExternalActivityDate( - @Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public ExternalActivityDataJsonSessionExternal withAdditionalFields( - @Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalActivityDataJsonSessionExternal other = (ExternalActivityDataJsonSessionExternal) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) - && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, externalActivityDate, additionalFields); - } - - @Override - public String toString() { - return Utils.toString( - ExternalActivityDataJsonSessionExternal.class, - "id", - id, - "externalActivityDate", - externalActivityDate, - "additionalFields", - additionalFields); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime externalActivityDate; - - private Map additionalFields; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { - this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); - return this; - } - - /** - * Additional fields provided for the external attendee activity - */ - public Builder additionalFields(@Nullable Map additionalFields) { - this.additionalFields = additionalFields; - return this; - } - - public ExternalActivityDataJsonSessionExternal build() { - return new ExternalActivityDataJsonSessionExternal(id, externalActivityDate, additionalFields); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataSessionExternal.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataSessionExternal.java new file mode 100644 index 000000000..b458f9b39 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityDataSessionExternal.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.Optional; + +/** + * ExternalActivityDataSessionExternal + * + *

Additional fields for external activities. + */ +public class ExternalActivityDataSessionExternal { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + @JsonProperty("externalActivityDate") + private OffsetDateTime externalActivityDate; + + /** + * Additional fields provided for the external attendee activity + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalFields") + private Map additionalFields; + + @JsonCreator + public ExternalActivityDataSessionExternal( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("externalActivityDate") @Nonnull OffsetDateTime externalActivityDate, + @JsonProperty("additionalFields") @Nullable Map additionalFields) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.externalActivityDate = Optional.ofNullable(externalActivityDate) + .orElseThrow(() -> new IllegalArgumentException("externalActivityDate cannot be null")); + this.additionalFields = additionalFields; + } + + public ExternalActivityDataSessionExternal(@Nonnull String id, @Nonnull OffsetDateTime externalActivityDate) { + this(id, externalActivityDate, null); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public String id() { + return this.id; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public OffsetDateTime externalActivityDate() { + return this.externalActivityDate; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Optional> additionalFields() { + return Optional.ofNullable(this.additionalFields); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public ExternalActivityDataSessionExternal withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public ExternalActivityDataSessionExternal withExternalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public ExternalActivityDataSessionExternal withAdditionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalActivityDataSessionExternal other = (ExternalActivityDataSessionExternal) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.externalActivityDate, other.externalActivityDate) + && Utils.enhancedDeepEquals(this.additionalFields, other.additionalFields); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, externalActivityDate, additionalFields); + } + + @Override + public String toString() { + return Utils.toString( + ExternalActivityDataSessionExternal.class, + "id", + id, + "externalActivityDate", + externalActivityDate, + "additionalFields", + additionalFields); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime externalActivityDate; + + private Map additionalFields; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + public Builder externalActivityDate(@Nonnull OffsetDateTime externalActivityDate) { + this.externalActivityDate = Utils.checkNotNull(externalActivityDate, "externalActivityDate"); + return this; + } + + /** + * Additional fields provided for the external attendee activity + */ + public Builder additionalFields(@Nullable Map additionalFields) { + this.additionalFields = additionalFields; + return this; + } + + public ExternalActivityDataSessionExternal build() { + return new ExternalActivityDataSessionExternal(id, externalActivityDate, additionalFields); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityInput.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityInput.java index 0967f0d55..21f6b6717 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityInput.java @@ -21,13 +21,13 @@ public class ExternalActivityInput { * The reference to the related entity. Contains only the ID of the related entity. */ @JsonProperty("attendee") - private UuidJson attendee; + private Uuid attendee; /** * Details for an event activity. */ @JsonProperty("event") - private EventActivityDetailsJsonInput event; + private EventActivityDetailInput event; /** * Name for the external attendee activity. @@ -39,21 +39,21 @@ public class ExternalActivityInput { * This is used to denote the type of the external attendee activity. */ @JsonProperty("type") - private ExternalActivityTypeJson type; + private ExternalActivityType type; /** * This is used to denote the type of the external attendee activity. */ @JsonProperty("data") - private ExternalActivityDataJson data; + private ExternalActivityData data; @JsonCreator public ExternalActivityInput( - @JsonProperty("attendee") @Nonnull UuidJson attendee, - @JsonProperty("event") @Nonnull EventActivityDetailsJsonInput event, + @JsonProperty("attendee") @Nonnull Uuid attendee, + @JsonProperty("event") @Nonnull EventActivityDetailInput event, @JsonProperty("name") @Nonnull String name, - @JsonProperty("type") @Nonnull ExternalActivityTypeJson type, - @JsonProperty("data") @Nonnull ExternalActivityDataJson data) { + @JsonProperty("type") @Nonnull ExternalActivityType type, + @JsonProperty("data") @Nonnull ExternalActivityData data) { this.attendee = Optional.ofNullable(attendee) .orElseThrow(() -> new IllegalArgumentException("attendee cannot be null")); this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); @@ -65,14 +65,14 @@ public ExternalActivityInput( /** * The reference to the related entity. Contains only the ID of the related entity. */ - public UuidJson attendee() { + public Uuid attendee() { return this.attendee; } /** * Details for an event activity. */ - public EventActivityDetailsJsonInput event() { + public EventActivityDetailInput event() { return this.event; } @@ -86,14 +86,14 @@ public String name() { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityTypeJson type() { + public ExternalActivityType type() { return this.type; } /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityDataJson data() { + public ExternalActivityData data() { return this.data; } @@ -104,7 +104,7 @@ public static Builder builder() { /** * The reference to the related entity. Contains only the ID of the related entity. */ - public ExternalActivityInput withAttendee(@Nonnull UuidJson attendee) { + public ExternalActivityInput withAttendee(@Nonnull Uuid attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -112,7 +112,7 @@ public ExternalActivityInput withAttendee(@Nonnull UuidJson attendee) { /** * Details for an event activity. */ - public ExternalActivityInput withEvent(@Nonnull EventActivityDetailsJsonInput event) { + public ExternalActivityInput withEvent(@Nonnull EventActivityDetailInput event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -128,7 +128,7 @@ public ExternalActivityInput withName(@Nonnull String name) { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityInput withType(@Nonnull ExternalActivityTypeJson type) { + public ExternalActivityInput withType(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -136,7 +136,7 @@ public ExternalActivityInput withType(@Nonnull ExternalActivityTypeJson type) { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityInput withData(@Nonnull ExternalActivityDataJson data) { + public ExternalActivityInput withData(@Nonnull ExternalActivityData data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -181,15 +181,15 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private UuidJson attendee; + private Uuid attendee; - private EventActivityDetailsJsonInput event; + private EventActivityDetailInput event; private String name; - private ExternalActivityTypeJson type; + private ExternalActivityType type; - private ExternalActivityDataJson data; + private ExternalActivityData data; private Builder() { // force use of static builder() method @@ -198,7 +198,7 @@ private Builder() { /** * The reference to the related entity. Contains only the ID of the related entity. */ - public Builder attendee(@Nonnull UuidJson attendee) { + public Builder attendee(@Nonnull Uuid attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -206,7 +206,7 @@ public Builder attendee(@Nonnull UuidJson attendee) { /** * Details for an event activity. */ - public Builder event(@Nonnull EventActivityDetailsJsonInput event) { + public Builder event(@Nonnull EventActivityDetailInput event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -222,7 +222,7 @@ public Builder name(@Nonnull String name) { /** * This is used to denote the type of the external attendee activity. */ - public Builder type(@Nonnull ExternalActivityTypeJson type) { + public Builder type(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -230,7 +230,7 @@ public Builder type(@Nonnull ExternalActivityTypeJson type) { /** * This is used to denote the type of the external attendee activity. */ - public Builder data(@Nonnull ExternalActivityDataJson data) { + public Builder data(@Nonnull ExternalActivityData data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadata.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadata.java index d564da209..1d15f5c40 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadata.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadata.java @@ -61,7 +61,7 @@ public class ExternalActivityMetadata { * This is used to denote the type of the external attendee activity. */ @JsonProperty("type") - private ExternalActivityTypeJson type; + private ExternalActivityType type; /** * Name of an external attendee activity. @@ -81,7 +81,7 @@ public class ExternalActivityMetadata { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("fields") - private List fields; + private List fields; @JsonCreator public ExternalActivityMetadata( @@ -90,10 +90,10 @@ public ExternalActivityMetadata( @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, - @JsonProperty("type") @Nonnull ExternalActivityTypeJson type, + @JsonProperty("type") @Nonnull ExternalActivityType type, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, - @JsonProperty("fields") @Nullable List fields) { + @JsonProperty("fields") @Nullable List fields) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -105,7 +105,7 @@ public ExternalActivityMetadata( this.fields = fields; } - public ExternalActivityMetadata(@Nonnull ExternalActivityTypeJson type, @Nonnull String name) { + public ExternalActivityMetadata(@Nonnull ExternalActivityType type, @Nonnull String name) { this(null, null, null, null, null, type, name, null, null); } @@ -147,7 +147,7 @@ public Optional id() { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityTypeJson type() { + public ExternalActivityType type() { return this.type; } @@ -168,7 +168,7 @@ public Optional description() { /** * Metadata for the fields. */ - public Optional> fields() { + public Optional> fields() { return Optional.ofNullable(this.fields); } @@ -219,7 +219,7 @@ public ExternalActivityMetadata withId(@Nullable String id) { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityMetadata withType(@Nonnull ExternalActivityTypeJson type) { + public ExternalActivityMetadata withType(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -243,7 +243,7 @@ public ExternalActivityMetadata withDescription(@Nullable String description) { /** * Metadata for the fields. */ - public ExternalActivityMetadata withFields(@Nullable List fields) { + public ExternalActivityMetadata withFields(@Nullable List fields) { this.fields = fields; return this; } @@ -311,13 +311,13 @@ public static final class Builder { private String id; - private ExternalActivityTypeJson type; + private ExternalActivityType type; private String name; private String description; - private List fields; + private List fields; private Builder() { // force use of static builder() method @@ -366,7 +366,7 @@ public Builder id(@Nullable String id) { /** * This is used to denote the type of the external attendee activity. */ - public Builder type(@Nonnull ExternalActivityTypeJson type) { + public Builder type(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -390,7 +390,7 @@ public Builder description(@Nullable String description) { /** * Metadata for the fields. */ - public Builder fields(@Nullable List fields) { + public Builder fields(@Nullable List fields) { this.fields = fields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataInput.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataInput.java index 354d38f91..0d3b03a9f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataInput.java @@ -25,7 +25,7 @@ public class ExternalActivityMetadataInput { * This is used to denote the type of the external attendee activity. */ @JsonProperty("type") - private ExternalActivityTypeJson type; + private ExternalActivityType type; /** * Name of an external attendee activity. @@ -45,28 +45,28 @@ public class ExternalActivityMetadataInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("fields") - private List fields; + private List fields; @JsonCreator public ExternalActivityMetadataInput( - @JsonProperty("type") @Nonnull ExternalActivityTypeJson type, + @JsonProperty("type") @Nonnull ExternalActivityType type, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, - @JsonProperty("fields") @Nullable List fields) { + @JsonProperty("fields") @Nullable List fields) { this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); this.description = description; this.fields = fields; } - public ExternalActivityMetadataInput(@Nonnull ExternalActivityTypeJson type, @Nonnull String name) { + public ExternalActivityMetadataInput(@Nonnull ExternalActivityType type, @Nonnull String name) { this(type, name, null, null); } /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityTypeJson type() { + public ExternalActivityType type() { return this.type; } @@ -87,7 +87,7 @@ public Optional description() { /** * Metadata for the fields. */ - public Optional> fields() { + public Optional> fields() { return Optional.ofNullable(this.fields); } @@ -98,7 +98,7 @@ public static Builder builder() { /** * This is used to denote the type of the external attendee activity. */ - public ExternalActivityMetadataInput withType(@Nonnull ExternalActivityTypeJson type) { + public ExternalActivityMetadataInput withType(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -122,8 +122,7 @@ public ExternalActivityMetadataInput withDescription(@Nullable String descriptio /** * Metadata for the fields. */ - public ExternalActivityMetadataInput withFields( - @Nullable List fields) { + public ExternalActivityMetadataInput withFields(@Nullable List fields) { this.fields = fields; return this; } @@ -165,13 +164,13 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ExternalActivityTypeJson type; + private ExternalActivityType type; private String name; private String description; - private List fields; + private List fields; private Builder() { // force use of static builder() method @@ -180,7 +179,7 @@ private Builder() { /** * This is used to denote the type of the external attendee activity. */ - public Builder type(@Nonnull ExternalActivityTypeJson type) { + public Builder type(@Nonnull ExternalActivityType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -204,7 +203,7 @@ public Builder description(@Nullable String description) { /** * Metadata for the fields. */ - public Builder fields(@Nullable List fields) { + public Builder fields(@Nullable List fields) { this.fields = fields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataPaginatedResponse.java index 57160b867..cedb686b7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityMetadataPaginatedResponse.java @@ -23,7 +23,7 @@ public class ExternalActivityMetadataPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of external attendee activities metadata in an account. @@ -33,7 +33,7 @@ public class ExternalActivityMetadataPaginatedResponse { @JsonCreator public ExternalActivityMetadataPaginatedResponse( - @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 ExternalActivityMetadataPaginatedResponse( /** * 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 ExternalActivityMetadataPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public ExternalActivityMetadataPaginatedResponse 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/ExternalActivityType.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityType.java new file mode 100644 index 000000000..80d09c590 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityType.java @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * ExternalActivityType + * + *

This is used to denote the type of the external attendee activity. + */ +public enum ExternalActivityType { + EVENT_EXTERNAL("event.external"), + SESSION_EXTERNAL("session.external"), + APPOINTMENT_EXTERNAL("appointment.external"), + EXHIBITOR_EXTERNAL("exhibitor.external"); + + @JsonValue + private final String value; + + ExternalActivityType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ExternalActivityType o : ExternalActivityType.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/ExternalActivityTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ExternalActivityTypeJson.java deleted file mode 100644 index af375f11a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ExternalActivityTypeJson.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * ExternalActivityTypeJson - * - *

This is used to denote the type of the external attendee activity. - */ -public enum ExternalActivityTypeJson { - EVENT_EXTERNAL("event.external"), - SESSION_EXTERNAL("session.external"), - APPOINTMENT_EXTERNAL("appointment.external"), - EXHIBITOR_EXTERNAL("exhibitor.external"); - - @JsonValue - private final String value; - - ExternalActivityTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ExternalActivityTypeJson o : ExternalActivityTypeJson.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/HousingEventSummaryList.java b/packages/java/src/main/java/com/cvent/models/components/HousingEventSummaryList.java index 85864f149..b9e37ab03 100644 --- a/packages/java/src/main/java/com/cvent/models/components/HousingEventSummaryList.java +++ b/packages/java/src/main/java/com/cvent/models/components/HousingEventSummaryList.java @@ -28,11 +28,11 @@ public class HousingEventSummaryList { * List of housing events with key information, providing a summarized view of each event. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public HousingEventSummaryList( - @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); @@ -48,7 +48,7 @@ public PagingJson paging() { /** * List of housing events with key information, providing a summarized view of each event. */ - public List data() { + public List data() { return this.data; } @@ -67,7 +67,7 @@ public HousingEventSummaryList withPaging(@Nonnull PagingJson paging) { /** * List of housing events with key information, providing a summarized view of each event. */ - public HousingEventSummaryList withData(@Nonnull List data) { + public HousingEventSummaryList withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,7 +99,7 @@ public static final class Builder { private PagingJson paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * List of housing events with key information, providing a summarized view of each event. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadInboundCreated.java b/packages/java/src/main/java/com/cvent/models/components/LeadInboundCreated.java index f43d8e2bd..4e09f8c41 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LeadInboundCreated.java +++ b/packages/java/src/main/java/com/cvent/models/components/LeadInboundCreated.java @@ -24,19 +24,19 @@ public class LeadInboundCreated { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ActivityExhibitorJson exhibitor; + private ActivityExhibitor exhibitor; /** * A Lead */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lead") - private LeadObjectJson lead; + private LeadObject lead; @JsonCreator public LeadInboundCreated( - @JsonProperty("exhibitor") @Nullable ActivityExhibitorJson exhibitor, - @JsonProperty("lead") @Nullable LeadObjectJson lead) { + @JsonProperty("exhibitor") @Nullable ActivityExhibitor exhibitor, + @JsonProperty("lead") @Nullable LeadObject lead) { this.exhibitor = exhibitor; this.lead = lead; } @@ -48,14 +48,14 @@ public LeadInboundCreated() { /** * An activity exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } /** * A Lead */ - public Optional lead() { + public Optional lead() { return Optional.ofNullable(this.lead); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * An activity exhibitor. */ - public LeadInboundCreated withExhibitor(@Nullable ActivityExhibitorJson exhibitor) { + public LeadInboundCreated withExhibitor(@Nullable ActivityExhibitor exhibitor) { this.exhibitor = exhibitor; return this; } @@ -74,7 +74,7 @@ public LeadInboundCreated withExhibitor(@Nullable ActivityExhibitorJson exhibito /** * A Lead */ - public LeadInboundCreated withLead(@Nullable LeadObjectJson lead) { + public LeadInboundCreated withLead(@Nullable LeadObject lead) { this.lead = lead; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityExhibitorJson exhibitor; + private ActivityExhibitor exhibitor; - private LeadObjectJson lead; + private LeadObject lead; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * An activity exhibitor. */ - public Builder exhibitor(@Nullable ActivityExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable ActivityExhibitor exhibitor) { this.exhibitor = exhibitor; return this; } @@ -123,7 +123,7 @@ public Builder exhibitor(@Nullable ActivityExhibitorJson exhibitor) { /** * A Lead */ - public Builder lead(@Nullable LeadObjectJson lead) { + public Builder lead(@Nullable LeadObject lead) { this.lead = lead; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadObject.java b/packages/java/src/main/java/com/cvent/models/components/LeadObject.java new file mode 100644 index 000000000..f93fb97b1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadObject.java @@ -0,0 +1,247 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Deprecated; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * LeadObject + * + *

A Lead + */ +public class LeadObject { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The unique identifier of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("deviceId") + @Deprecated + private String deviceId; + + /** + * Name of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("deviceName") + @Deprecated + private String deviceName; + + /** + * Booth staff for the lead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("boothStaff") + @Deprecated + private LeadObjectActivityBoothStaff boothStaff; + + @JsonCreator + public LeadObject( + @JsonProperty("id") @Nullable String id, + @JsonProperty("deviceId") @Nullable String deviceId, + @JsonProperty("deviceName") @Nullable String deviceName, + @JsonProperty("boothStaff") @Nullable LeadObjectActivityBoothStaff boothStaff) { + this.id = id; + this.deviceId = deviceId; + this.deviceName = deviceName; + this.boothStaff = boothStaff; + } + + public LeadObject() { + this(null, null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The unique identifier of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional deviceId() { + return Optional.ofNullable(this.deviceId); + } + + /** + * Name of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional deviceName() { + return Optional.ofNullable(this.deviceName); + } + + /** + * Booth staff for the lead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional boothStaff() { + return Optional.ofNullable(this.boothStaff); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public LeadObject withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The unique identifier of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public LeadObject withDeviceId(@Nullable String deviceId) { + this.deviceId = deviceId; + return this; + } + + /** + * Name of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public LeadObject withDeviceName(@Nullable String deviceName) { + this.deviceName = deviceName; + return this; + } + + /** + * Booth staff for the lead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public LeadObject withBoothStaff(@Nullable LeadObjectActivityBoothStaff boothStaff) { + this.boothStaff = boothStaff; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadObject other = (LeadObject) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.deviceId, other.deviceId) + && Utils.enhancedDeepEquals(this.deviceName, other.deviceName) + && Utils.enhancedDeepEquals(this.boothStaff, other.boothStaff); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, deviceId, deviceName, boothStaff); + } + + @Override + public String toString() { + return Utils.toString( + LeadObject.class, "id", id, "deviceId", deviceId, "deviceName", deviceName, "boothStaff", boothStaff); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + @Deprecated + private String deviceId; + + @Deprecated + private String deviceName; + + @Deprecated + private LeadObjectActivityBoothStaff boothStaff; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The unique identifier of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder deviceId(@Nullable String deviceId) { + this.deviceId = deviceId; + return this; + } + + /** + * Name of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder deviceName(@Nullable String deviceName) { + this.deviceName = deviceName; + return this; + } + + /** + * Booth staff for the lead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder boothStaff(@Nullable LeadObjectActivityBoothStaff boothStaff) { + this.boothStaff = boothStaff; + return this; + } + + public LeadObject build() { + return new LeadObject(id, deviceId, deviceName, boothStaff); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadObjectActivityBoothStaff.java b/packages/java/src/main/java/com/cvent/models/components/LeadObjectActivityBoothStaff.java new file mode 100644 index 000000000..f4ca7cb04 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadObjectActivityBoothStaff.java @@ -0,0 +1,219 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Deprecated; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * LeadObjectActivityBoothStaff + * + *

Booth staff for the lead. + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +@Deprecated +public class LeadObjectActivityBoothStaff { + /** + * The unique identifier of the exhibitor booth staff. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The first name of the booth staff that captured the lead. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("firstName") + private String firstName; + + /** + * The last name of the booth staff that captured the lead. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastName") + private String lastName; + + /** + * The email address of the booth staff that captured the lead. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private String email; + + @JsonCreator + public LeadObjectActivityBoothStaff( + @JsonProperty("id") @Nullable String id, + @JsonProperty("firstName") @Nullable String firstName, + @JsonProperty("lastName") @Nullable String lastName, + @JsonProperty("email") @Nullable String email) { + this.id = id; + this.firstName = firstName; + this.lastName = lastName; + this.email = email; + } + + public LeadObjectActivityBoothStaff() { + this(null, null, null, null); + } + + /** + * The unique identifier of the exhibitor booth staff. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The first name of the booth staff that captured the lead. + */ + public Optional firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * The last name of the booth staff that captured the lead. + */ + public Optional lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * The email address of the booth staff that captured the lead. + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the exhibitor booth staff. + */ + public LeadObjectActivityBoothStaff withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The first name of the booth staff that captured the lead. + */ + public LeadObjectActivityBoothStaff withFirstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the booth staff that captured the lead. + */ + public LeadObjectActivityBoothStaff withLastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the booth staff that captured the lead. + */ + public LeadObjectActivityBoothStaff withEmail(@Nullable String email) { + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadObjectActivityBoothStaff other = (LeadObjectActivityBoothStaff) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.email, other.email); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, firstName, lastName, email); + } + + @Override + public String toString() { + return Utils.toString( + LeadObjectActivityBoothStaff.class, + "id", + id, + "firstName", + firstName, + "lastName", + lastName, + "email", + email); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String firstName; + + private String lastName; + + private String email; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the exhibitor booth staff. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The first name of the booth staff that captured the lead. + */ + public Builder firstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the booth staff that captured the lead. + */ + public Builder lastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the booth staff that captured the lead. + */ + public Builder email(@Nullable String email) { + this.email = email; + return this; + } + + public LeadObjectActivityBoothStaff build() { + return new LeadObjectActivityBoothStaff(id, firstName, lastName, email); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadObjectJson.java b/packages/java/src/main/java/com/cvent/models/components/LeadObjectJson.java deleted file mode 100644 index b45ec4379..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/LeadObjectJson.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Deprecated; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * LeadObjectJson - * - *

A Lead - */ -public class LeadObjectJson { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The unique identifier of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deviceId") - @Deprecated - private String deviceId; - - /** - * Name of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deviceName") - @Deprecated - private String deviceName; - - /** - * Booth staff for the lead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("boothStaff") - @Deprecated - private ActivityBoothStaff boothStaff; - - @JsonCreator - public LeadObjectJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("deviceId") @Nullable String deviceId, - @JsonProperty("deviceName") @Nullable String deviceName, - @JsonProperty("boothStaff") @Nullable ActivityBoothStaff boothStaff) { - this.id = id; - this.deviceId = deviceId; - this.deviceName = deviceName; - this.boothStaff = boothStaff; - } - - public LeadObjectJson() { - this(null, null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The unique identifier of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional deviceId() { - return Optional.ofNullable(this.deviceId); - } - - /** - * Name of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional deviceName() { - return Optional.ofNullable(this.deviceName); - } - - /** - * Booth staff for the lead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional boothStaff() { - return Optional.ofNullable(this.boothStaff); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public LeadObjectJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The unique identifier of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public LeadObjectJson withDeviceId(@Nullable String deviceId) { - this.deviceId = deviceId; - return this; - } - - /** - * Name of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public LeadObjectJson withDeviceName(@Nullable String deviceName) { - this.deviceName = deviceName; - return this; - } - - /** - * Booth staff for the lead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public LeadObjectJson withBoothStaff(@Nullable ActivityBoothStaff boothStaff) { - this.boothStaff = boothStaff; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LeadObjectJson other = (LeadObjectJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.deviceId, other.deviceId) - && Utils.enhancedDeepEquals(this.deviceName, other.deviceName) - && Utils.enhancedDeepEquals(this.boothStaff, other.boothStaff); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, deviceId, deviceName, boothStaff); - } - - @Override - public String toString() { - return Utils.toString( - LeadObjectJson.class, - "id", - id, - "deviceId", - deviceId, - "deviceName", - deviceName, - "boothStaff", - boothStaff); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - @Deprecated - private String deviceId; - - @Deprecated - private String deviceName; - - @Deprecated - private ActivityBoothStaff boothStaff; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The unique identifier of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder deviceId(@Nullable String deviceId) { - this.deviceId = deviceId; - return this; - } - - /** - * Name of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder deviceName(@Nullable String deviceName) { - this.deviceName = deviceName; - return this; - } - - /** - * Booth staff for the lead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder boothStaff(@Nullable ActivityBoothStaff boothStaff) { - this.boothStaff = boothStaff; - return this; - } - - public LeadObjectJson build() { - return new LeadObjectJson(id, deviceId, deviceName, boothStaff); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualified.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualified.java index 409c56110..84d710294 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LeadQualified.java +++ b/packages/java/src/main/java/com/cvent/models/components/LeadQualified.java @@ -25,27 +25,27 @@ public class LeadQualified { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ActivityExhibitorJson exhibitor; + private ActivityExhibitor exhibitor; /** * An activity lead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lead") - private ActivityLeadJson lead; + private ActivityLead lead; /** * The list of responses provided by the attendee. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("responses") - private List responses; + private List responses; @JsonCreator public LeadQualified( - @JsonProperty("exhibitor") @Nullable ActivityExhibitorJson exhibitor, - @JsonProperty("lead") @Nullable ActivityLeadJson lead, - @JsonProperty("responses") @Nullable List responses) { + @JsonProperty("exhibitor") @Nullable ActivityExhibitor exhibitor, + @JsonProperty("lead") @Nullable ActivityLead lead, + @JsonProperty("responses") @Nullable List responses) { this.exhibitor = exhibitor; this.lead = lead; this.responses = responses; @@ -58,21 +58,21 @@ public LeadQualified() { /** * An activity exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } /** * An activity lead. */ - public Optional lead() { + public Optional lead() { return Optional.ofNullable(this.lead); } /** * The list of responses provided by the attendee. */ - public Optional> responses() { + public Optional> responses() { return Optional.ofNullable(this.responses); } @@ -83,7 +83,7 @@ public static Builder builder() { /** * An activity exhibitor. */ - public LeadQualified withExhibitor(@Nullable ActivityExhibitorJson exhibitor) { + public LeadQualified withExhibitor(@Nullable ActivityExhibitor exhibitor) { this.exhibitor = exhibitor; return this; } @@ -91,7 +91,7 @@ public LeadQualified withExhibitor(@Nullable ActivityExhibitorJson exhibitor) { /** * An activity lead. */ - public LeadQualified withLead(@Nullable ActivityLeadJson lead) { + public LeadQualified withLead(@Nullable ActivityLead lead) { this.lead = lead; return this; } @@ -99,7 +99,7 @@ public LeadQualified withLead(@Nullable ActivityLeadJson lead) { /** * The list of responses provided by the attendee. */ - public LeadQualified withResponses(@Nullable List responses) { + public LeadQualified withResponses(@Nullable List responses) { this.responses = responses; return this; } @@ -131,11 +131,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityExhibitorJson exhibitor; + private ActivityExhibitor exhibitor; - private ActivityLeadJson lead; + private ActivityLead lead; - private List responses; + private List responses; private Builder() { // force use of static builder() method @@ -144,7 +144,7 @@ private Builder() { /** * An activity exhibitor. */ - public Builder exhibitor(@Nullable ActivityExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable ActivityExhibitor exhibitor) { this.exhibitor = exhibitor; return this; } @@ -152,7 +152,7 @@ public Builder exhibitor(@Nullable ActivityExhibitorJson exhibitor) { /** * An activity lead. */ - public Builder lead(@Nullable ActivityLeadJson lead) { + public Builder lead(@Nullable ActivityLead lead) { this.lead = lead; return this; } @@ -160,7 +160,7 @@ public Builder lead(@Nullable ActivityLeadJson lead) { /** * The list of responses provided by the attendee. */ - public Builder responses(@Nullable List responses) { + public Builder responses(@Nullable List responses) { this.responses = responses; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedAnswer.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedAnswer.java new file mode 100644 index 000000000..50633303c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedAnswer.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * LeadQualifiedAnswer + * + *

A question answer. + */ +public class LeadQualifiedAnswer { + /** + * The unique identifier of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Question text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Data type of an answer. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private String type; + + @JsonCreator + public LeadQualifiedAnswer( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("type") @Nullable String type) { + this.id = id; + this.text = text; + this.type = type; + } + + public LeadQualifiedAnswer() { + this(null, null, null); + } + + /** + * The unique identifier of the question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Question text. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Data type of an answer. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the question. + */ + public LeadQualifiedAnswer withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public LeadQualifiedAnswer withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Data type of an answer. + */ + public LeadQualifiedAnswer withType(@Nullable String type) { + this.type = type; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadQualifiedAnswer other = (LeadQualifiedAnswer) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.type, other.type); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, type); + } + + @Override + public String toString() { + return Utils.toString(LeadQualifiedAnswer.class, "id", id, "text", text, "type", type); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String type; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Data type of an answer. + */ + public Builder type(@Nullable String type) { + this.type = type; + return this; + } + + public LeadQualifiedAnswer build() { + return new LeadQualifiedAnswer(id, text, type); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedAnswerJson.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedAnswerJson.java deleted file mode 100644 index 84974c50c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedAnswerJson.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * LeadQualifiedAnswerJson - * - *

A question answer. - */ -public class LeadQualifiedAnswerJson { - /** - * The unique identifier of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Question text. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Data type of an answer. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private String type; - - @JsonCreator - public LeadQualifiedAnswerJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("type") @Nullable String type) { - this.id = id; - this.text = text; - this.type = type; - } - - public LeadQualifiedAnswerJson() { - this(null, null, null); - } - - /** - * The unique identifier of the question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Question text. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Data type of an answer. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the question. - */ - public LeadQualifiedAnswerJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public LeadQualifiedAnswerJson withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Data type of an answer. - */ - public LeadQualifiedAnswerJson withType(@Nullable String type) { - this.type = type; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LeadQualifiedAnswerJson other = (LeadQualifiedAnswerJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.type, other.type); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, type); - } - - @Override - public String toString() { - return Utils.toString(LeadQualifiedAnswerJson.class, "id", id, "text", text, "type", type); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private String type; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the question. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Data type of an answer. - */ - public Builder type(@Nullable String type) { - this.type = type; - return this; - } - - public LeadQualifiedAnswerJson build() { - return new LeadQualifiedAnswerJson(id, text, type); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponse.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponse.java new file mode 100644 index 000000000..fe07c37e1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponse.java @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * LeadQualifiedQuestionResponse + * + *

A Question response. + */ +public class LeadQualifiedQuestionResponse { + /** + * The question that was answered. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("question") + private Question2 question; + + /** + * List of answers. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answers") + private List answers; + + @JsonCreator + public LeadQualifiedQuestionResponse( + @JsonProperty("question") @Nullable Question2 question, + @JsonProperty("answers") @Nullable List answers) { + this.question = question; + this.answers = answers; + } + + public LeadQualifiedQuestionResponse() { + this(null, null); + } + + /** + * The question that was answered. + */ + public Optional question() { + return Optional.ofNullable(this.question); + } + + /** + * List of answers. + */ + public Optional> answers() { + return Optional.ofNullable(this.answers); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The question that was answered. + */ + public LeadQualifiedQuestionResponse withQuestion(@Nullable Question2 question) { + this.question = question; + return this; + } + + /** + * List of answers. + */ + public LeadQualifiedQuestionResponse withAnswers(@Nullable List answers) { + this.answers = answers; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadQualifiedQuestionResponse other = (LeadQualifiedQuestionResponse) o; + return Utils.enhancedDeepEquals(this.question, other.question) + && Utils.enhancedDeepEquals(this.answers, other.answers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(question, answers); + } + + @Override + public String toString() { + return Utils.toString(LeadQualifiedQuestionResponse.class, "question", question, "answers", answers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Question2 question; + + private List answers; + + private Builder() { + // force use of static builder() method + } + + /** + * The question that was answered. + */ + public Builder question(@Nullable Question2 question) { + this.question = question; + return this; + } + + /** + * List of answers. + */ + public Builder answers(@Nullable List answers) { + this.answers = answers; + return this; + } + + public LeadQualifiedQuestionResponse build() { + return new LeadQualifiedQuestionResponse(question, answers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java deleted file mode 100644 index bd5c3ef7d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java +++ /dev/null @@ -1,137 +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; - -/** - * LeadQualifiedQuestionResponseJson - * - *

A Question response. - */ -public class LeadQualifiedQuestionResponseJson { - /** - * The question that was answered. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("question") - private QuestionJson2 question; - - /** - * List of answers. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answers") - private List answers; - - @JsonCreator - public LeadQualifiedQuestionResponseJson( - @JsonProperty("question") @Nullable QuestionJson2 question, - @JsonProperty("answers") @Nullable List answers) { - this.question = question; - this.answers = answers; - } - - public LeadQualifiedQuestionResponseJson() { - this(null, null); - } - - /** - * The question that was answered. - */ - public Optional question() { - return Optional.ofNullable(this.question); - } - - /** - * List of answers. - */ - public Optional> answers() { - return Optional.ofNullable(this.answers); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The question that was answered. - */ - public LeadQualifiedQuestionResponseJson withQuestion(@Nullable QuestionJson2 question) { - this.question = question; - return this; - } - - /** - * List of answers. - */ - public LeadQualifiedQuestionResponseJson withAnswers(@Nullable List answers) { - this.answers = answers; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LeadQualifiedQuestionResponseJson other = (LeadQualifiedQuestionResponseJson) o; - return Utils.enhancedDeepEquals(this.question, other.question) - && Utils.enhancedDeepEquals(this.answers, other.answers); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(question, answers); - } - - @Override - public String toString() { - return Utils.toString(LeadQualifiedQuestionResponseJson.class, "question", question, "answers", answers); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private QuestionJson2 question; - - private List answers; - - private Builder() { - // force use of static builder() method - } - - /** - * The question that was answered. - */ - public Builder question(@Nullable QuestionJson2 question) { - this.question = question; - return this; - } - - /** - * List of answers. - */ - public Builder answers(@Nullable List answers) { - this.answers = answers; - return this; - } - - public LeadQualifiedQuestionResponseJson build() { - return new LeadQualifiedQuestionResponseJson(question, answers); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadScanned.java b/packages/java/src/main/java/com/cvent/models/components/LeadScanned.java index 96ca72597..bdee9ed67 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LeadScanned.java +++ b/packages/java/src/main/java/com/cvent/models/components/LeadScanned.java @@ -24,19 +24,19 @@ public class LeadScanned { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exhibitor") - private ActivityExhibitorJson exhibitor; + private ActivityExhibitor exhibitor; /** * An activity lead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lead") - private ActivityLeadJson lead; + private ActivityLead lead; @JsonCreator public LeadScanned( - @JsonProperty("exhibitor") @Nullable ActivityExhibitorJson exhibitor, - @JsonProperty("lead") @Nullable ActivityLeadJson lead) { + @JsonProperty("exhibitor") @Nullable ActivityExhibitor exhibitor, + @JsonProperty("lead") @Nullable ActivityLead lead) { this.exhibitor = exhibitor; this.lead = lead; } @@ -48,14 +48,14 @@ public LeadScanned() { /** * An activity exhibitor. */ - public Optional exhibitor() { + public Optional exhibitor() { return Optional.ofNullable(this.exhibitor); } /** * An activity lead. */ - public Optional lead() { + public Optional lead() { return Optional.ofNullable(this.lead); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * An activity exhibitor. */ - public LeadScanned withExhibitor(@Nullable ActivityExhibitorJson exhibitor) { + public LeadScanned withExhibitor(@Nullable ActivityExhibitor exhibitor) { this.exhibitor = exhibitor; return this; } @@ -74,7 +74,7 @@ public LeadScanned withExhibitor(@Nullable ActivityExhibitorJson exhibitor) { /** * An activity lead. */ - public LeadScanned withLead(@Nullable ActivityLeadJson lead) { + public LeadScanned withLead(@Nullable ActivityLead lead) { this.lead = lead; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ActivityExhibitorJson exhibitor; + private ActivityExhibitor exhibitor; - private ActivityLeadJson lead; + private ActivityLead lead; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * An activity exhibitor. */ - public Builder exhibitor(@Nullable ActivityExhibitorJson exhibitor) { + public Builder exhibitor(@Nullable ActivityExhibitor exhibitor) { this.exhibitor = exhibitor; return this; } @@ -123,7 +123,7 @@ public Builder exhibitor(@Nullable ActivityExhibitorJson exhibitor) { /** * An activity lead. */ - public Builder lead(@Nullable ActivityLeadJson lead) { + public Builder lead(@Nullable ActivityLead lead) { this.lead = lead; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LocationJson.java b/packages/java/src/main/java/com/cvent/models/components/LocationJson.java index ebf36c24a..a57dfdc1c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LocationJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/LocationJson.java @@ -38,7 +38,7 @@ public class LocationJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("parentLocation") - private ZeroAllOf2 parentLocation; + private ZeroAllOf1 parentLocation; /** * The number of attendees that can be accommodated in this location. -1 indicates unlimited capacity. @@ -51,7 +51,7 @@ public class LocationJson { public LocationJson( @JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nonnull String name, - @JsonProperty("parentLocation") @Nullable ZeroAllOf2 parentLocation, + @JsonProperty("parentLocation") @Nullable ZeroAllOf1 parentLocation, @JsonProperty("capacity") @Nullable Long capacity) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); @@ -80,7 +80,7 @@ public String name() { /** * Details of a location. */ - public Optional parentLocation() { + public Optional parentLocation() { return Optional.ofNullable(this.parentLocation); } @@ -114,7 +114,7 @@ public LocationJson withName(@Nonnull String name) { /** * Details of a location. */ - public LocationJson withParentLocation(@Nullable ZeroAllOf2 parentLocation) { + public LocationJson withParentLocation(@Nullable ZeroAllOf1 parentLocation) { this.parentLocation = parentLocation; return this; } @@ -160,7 +160,7 @@ public static final class Builder { private String name; - private ZeroAllOf2 parentLocation; + private ZeroAllOf1 parentLocation; private Long capacity; @@ -187,7 +187,7 @@ public Builder name(@Nonnull String name) { /** * Details of a location. */ - public Builder parentLocation(@Nullable ZeroAllOf2 parentLocation) { + public Builder parentLocation(@Nullable ZeroAllOf1 parentLocation) { this.parentLocation = parentLocation; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LocationType.java b/packages/java/src/main/java/com/cvent/models/components/LocationType.java new file mode 100644 index 000000000..202ee8597 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LocationType.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * LocationType + * + *

Location classification for the venue. + */ +public enum LocationType { + AIRPORT("AIRPORT"), + INTERSTATE("INTERSTATE"), + RESORT("RESORT"), + SMALL_METRO_TOWN("SMALL_METRO_TOWN"), + SUBURBAN("SUBURBAN"), + URBAN("URBAN"); + + @JsonValue + private final String value; + + LocationType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (LocationType o : LocationType.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/MeetingRequest.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequest.java index f45609e5e..7657237d7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequest.java @@ -88,7 +88,7 @@ public class MeetingRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("questions") - private List questions; + private List questions; /** * The event the request is associated with. @@ -130,7 +130,7 @@ public MeetingRequest( @JsonProperty("status") @Nullable String status, @JsonProperty("statusNote") @Nullable String statusNote, @JsonProperty("meetingRequestForm") @Nonnull MeetingRequestMeetingRequestForm meetingRequestForm, - @JsonProperty("questions") @Nullable List questions, + @JsonProperty("questions") @Nullable List questions, @JsonProperty("event") @Nullable MeetingRequestEvent event, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("code") @Nullable String code, @@ -224,7 +224,7 @@ public MeetingRequestMeetingRequestForm meetingRequestForm() { /** * The list of possible answers to a question. */ - public Optional> questions() { + public Optional> questions() { return Optional.ofNullable(this.questions); } @@ -337,7 +337,7 @@ public MeetingRequest withMeetingRequestForm(@Nonnull MeetingRequestMeetingReque /** * The list of possible answers to a question. */ - public MeetingRequest withQuestions(@Nullable List questions) { + public MeetingRequest withQuestions(@Nullable List questions) { this.questions = questions; return this; } @@ -474,7 +474,7 @@ public static final class Builder { private MeetingRequestMeetingRequestForm meetingRequestForm; - private List questions; + private List questions; private MeetingRequestEvent event; @@ -564,7 +564,7 @@ public Builder meetingRequestForm(@Nonnull MeetingRequestMeetingRequestForm meet /** * The list of possible answers to a question. */ - public Builder questions(@Nullable List questions) { + public Builder questions(@Nullable List questions) { this.questions = questions; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItem.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItem.java new file mode 100644 index 000000000..402c0cdac --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItem.java @@ -0,0 +1,214 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * MeetingRequestBulkResponseItem + * + *

Represents a single meeting request that's returned as part of a bulk request call. + */ +public class MeetingRequestBulkResponseItem { + /** + * A meeting request. + */ + @JsonProperty("data") + private MeetingRequest data; + + /** + * HTTP status code representing the processing status of a single item. + */ + @JsonProperty("status") + private long status; + + /** + * Quick description of what happened during processing. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message") + private String message; + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("request") + private Request request; + + @JsonCreator + public MeetingRequestBulkResponseItem( + @JsonProperty("data") @Nonnull MeetingRequest data, + @JsonProperty("status") long status, + @JsonProperty("message") @Nullable String message, + @JsonProperty("request") @Nullable Request request) { + this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); + this.status = status; + this.message = message; + this.request = request; + } + + public MeetingRequestBulkResponseItem(@Nonnull MeetingRequest data, long status) { + this(data, status, null, null); + } + + /** + * A meeting request. + */ + public MeetingRequest data() { + return this.data; + } + + /** + * HTTP status code representing the processing status of a single item. + */ + public long status() { + return this.status; + } + + /** + * Quick description of what happened during processing. + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public Optional request() { + return Optional.ofNullable(this.request); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A meeting request. + */ + public MeetingRequestBulkResponseItem withData(@Nonnull MeetingRequest data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + /** + * HTTP status code representing the processing status of a single item. + */ + public MeetingRequestBulkResponseItem withStatus(long status) { + this.status = status; + return this; + } + + /** + * Quick description of what happened during processing. + */ + public MeetingRequestBulkResponseItem withMessage(@Nullable String message) { + this.message = message; + return this; + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public MeetingRequestBulkResponseItem withRequest(@Nullable Request request) { + this.request = request; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestBulkResponseItem other = (MeetingRequestBulkResponseItem) o; + return Utils.enhancedDeepEquals(this.data, other.data) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.message, other.message) + && Utils.enhancedDeepEquals(this.request, other.request); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(data, status, message, request); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRequestBulkResponseItem.class, + "data", + data, + "status", + status, + "message", + message, + "request", + request); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private MeetingRequest data; + + private long status; + + private String message; + + private Request request; + + private Builder() { + // force use of static builder() method + } + + /** + * A meeting request. + */ + public Builder data(@Nonnull MeetingRequest data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + /** + * HTTP status code representing the processing status of a single item. + */ + public Builder status(long status) { + this.status = status; + return this; + } + + /** + * Quick description of what happened during processing. + */ + public Builder message(@Nullable String message) { + this.message = message; + return this; + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public Builder request(@Nullable Request request) { + this.request = request; + return this; + } + + public MeetingRequestBulkResponseItem build() { + return new MeetingRequestBulkResponseItem(data, status, message, request); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJson.java deleted file mode 100644 index f4db6d36f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJson.java +++ /dev/null @@ -1,214 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * MeetingRequestBulkResponseItemJson - * - *

Represents a single meeting request that's returned as part of a bulk request call. - */ -public class MeetingRequestBulkResponseItemJson { - /** - * A meeting request. - */ - @JsonProperty("data") - private MeetingRequest data; - - /** - * HTTP status code representing the processing status of a single item. - */ - @JsonProperty("status") - private long status; - - /** - * Quick description of what happened during processing. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("message") - private String message; - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("request") - private Request request; - - @JsonCreator - public MeetingRequestBulkResponseItemJson( - @JsonProperty("data") @Nonnull MeetingRequest data, - @JsonProperty("status") long status, - @JsonProperty("message") @Nullable String message, - @JsonProperty("request") @Nullable Request request) { - this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); - this.status = status; - this.message = message; - this.request = request; - } - - public MeetingRequestBulkResponseItemJson(@Nonnull MeetingRequest data, long status) { - this(data, status, null, null); - } - - /** - * A meeting request. - */ - public MeetingRequest data() { - return this.data; - } - - /** - * HTTP status code representing the processing status of a single item. - */ - public long status() { - return this.status; - } - - /** - * Quick description of what happened during processing. - */ - public Optional message() { - return Optional.ofNullable(this.message); - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public Optional request() { - return Optional.ofNullable(this.request); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A meeting request. - */ - public MeetingRequestBulkResponseItemJson withData(@Nonnull MeetingRequest data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - /** - * HTTP status code representing the processing status of a single item. - */ - public MeetingRequestBulkResponseItemJson withStatus(long status) { - this.status = status; - return this; - } - - /** - * Quick description of what happened during processing. - */ - public MeetingRequestBulkResponseItemJson withMessage(@Nullable String message) { - this.message = message; - return this; - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public MeetingRequestBulkResponseItemJson withRequest(@Nullable Request request) { - this.request = request; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestBulkResponseItemJson other = (MeetingRequestBulkResponseItemJson) o; - return Utils.enhancedDeepEquals(this.data, other.data) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.message, other.message) - && Utils.enhancedDeepEquals(this.request, other.request); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(data, status, message, request); - } - - @Override - public String toString() { - return Utils.toString( - MeetingRequestBulkResponseItemJson.class, - "data", - data, - "status", - status, - "message", - message, - "request", - request); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private MeetingRequest data; - - private long status; - - private String message; - - private Request request; - - private Builder() { - // force use of static builder() method - } - - /** - * A meeting request. - */ - public Builder data(@Nonnull MeetingRequest data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - /** - * HTTP status code representing the processing status of a single item. - */ - public Builder status(long status) { - this.status = status; - return this; - } - - /** - * Quick description of what happened during processing. - */ - public Builder message(@Nullable String message) { - this.message = message; - return this; - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public Builder request(@Nullable Request request) { - this.request = request; - return this; - } - - public MeetingRequestBulkResponseItemJson build() { - return new MeetingRequestBulkResponseItemJson(data, status, message, request); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJsonRequest.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJsonRequest.java deleted file mode 100644 index ae472ecbb..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemJsonRequest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import java.lang.Override; -import java.lang.String; - -public class MeetingRequestBulkResponseItemJsonRequest { - @JsonCreator - public MeetingRequestBulkResponseItemJsonRequest() {} - - public static Builder builder() { - return new Builder(); - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - return true; - } - - @Override - public int hashCode() { - return Utils.enhancedHash(); - } - - @Override - public String toString() { - return Utils.toString(MeetingRequestBulkResponseItemJsonRequest.class); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Builder() { - // force use of static builder() method - } - - public MeetingRequestBulkResponseItemJsonRequest build() { - return new MeetingRequestBulkResponseItemJsonRequest(); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemRequest.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemRequest.java new file mode 100644 index 000000000..8e521fa84 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestBulkResponseItemRequest.java @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.lang.Override; +import java.lang.String; + +public class MeetingRequestBulkResponseItemRequest { + @JsonCreator + public MeetingRequestBulkResponseItemRequest() {} + + public static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Utils.enhancedHash(); + } + + @Override + public String toString() { + return Utils.toString(MeetingRequestBulkResponseItemRequest.class); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Builder() { + // force use of static builder() method + } + + public MeetingRequestBulkResponseItemRequest build() { + return new MeetingRequestBulkResponseItemRequest(); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCreate.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCreate.java new file mode 100644 index 000000000..cff18f178 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCreate.java @@ -0,0 +1,176 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * MeetingRequestCreate + * + *

A meeting request to create. + */ +public class MeetingRequestCreate { + /** + * The name of the specific meeting request. + */ + @JsonProperty("name") + private String name; + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sourceId") + private String sourceId; + + /** + * Questions for the meeting request. + */ + @JsonProperty("questions") + private List questions; + + @JsonCreator + public MeetingRequestCreate( + @JsonProperty("name") @Nonnull String name, + @JsonProperty("sourceId") @Nullable String sourceId, + @JsonProperty("questions") @Nonnull List questions) { + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.sourceId = sourceId; + this.questions = Optional.ofNullable(questions) + .orElseThrow(() -> new IllegalArgumentException("questions cannot be null")); + } + + public MeetingRequestCreate(@Nonnull String name, @Nonnull List questions) { + this(name, null, questions); + } + + /** + * The name of the specific meeting request. + */ + public String name() { + return this.name; + } + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + public Optional sourceId() { + return Optional.ofNullable(this.sourceId); + } + + /** + * Questions for the meeting request. + */ + public List questions() { + return this.questions; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of the specific meeting request. + */ + public MeetingRequestCreate withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + public MeetingRequestCreate withSourceId(@Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * Questions for the meeting request. + */ + public MeetingRequestCreate withQuestions(@Nonnull List questions) { + this.questions = Utils.checkNotNull(questions, "questions"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestCreate other = (MeetingRequestCreate) o; + return Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.sourceId, other.sourceId) + && Utils.enhancedDeepEquals(this.questions, other.questions); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(name, sourceId, questions); + } + + @Override + public String toString() { + return Utils.toString(MeetingRequestCreate.class, "name", name, "sourceId", sourceId, "questions", questions); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private String sourceId; + + private List questions; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the specific meeting request. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + public Builder sourceId(@Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * Questions for the meeting request. + */ + public Builder questions(@Nonnull List questions) { + this.questions = Utils.checkNotNull(questions, "questions"); + return this; + } + + public MeetingRequestCreate build() { + return new MeetingRequestCreate(name, sourceId, questions); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCreateJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCreateJson.java deleted file mode 100644 index 0b8c0fcee..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCreateJson.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * MeetingRequestCreateJson - * - *

A meeting request to create. - */ -public class MeetingRequestCreateJson { - /** - * The name of the specific meeting request. - */ - @JsonProperty("name") - private String name; - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sourceId") - private String sourceId; - - /** - * Questions for the meeting request. - */ - @JsonProperty("questions") - private List questions; - - @JsonCreator - public MeetingRequestCreateJson( - @JsonProperty("name") @Nonnull String name, - @JsonProperty("sourceId") @Nullable String sourceId, - @JsonProperty("questions") @Nonnull List questions) { - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.sourceId = sourceId; - this.questions = Optional.ofNullable(questions) - .orElseThrow(() -> new IllegalArgumentException("questions cannot be null")); - } - - public MeetingRequestCreateJson( - @Nonnull String name, @Nonnull List questions) { - this(name, null, questions); - } - - /** - * The name of the specific meeting request. - */ - public String name() { - return this.name; - } - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - public Optional sourceId() { - return Optional.ofNullable(this.sourceId); - } - - /** - * Questions for the meeting request. - */ - public List questions() { - return this.questions; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The name of the specific meeting request. - */ - public MeetingRequestCreateJson withName(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - public MeetingRequestCreateJson withSourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * Questions for the meeting request. - */ - public MeetingRequestCreateJson withQuestions(@Nonnull List questions) { - this.questions = Utils.checkNotNull(questions, "questions"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestCreateJson other = (MeetingRequestCreateJson) o; - return Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.sourceId, other.sourceId) - && Utils.enhancedDeepEquals(this.questions, other.questions); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(name, sourceId, questions); - } - - @Override - public String toString() { - return Utils.toString( - MeetingRequestCreateJson.class, "name", name, "sourceId", sourceId, "questions", questions); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String name; - - private String sourceId; - - private List questions; - - private Builder() { - // force use of static builder() method - } - - /** - * The name of the specific meeting request. - */ - public Builder name(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - public Builder sourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * Questions for the meeting request. - */ - public Builder questions(@Nonnull List questions) { - this.questions = Utils.checkNotNull(questions, "questions"); - return this; - } - - public MeetingRequestCreateJson build() { - return new MeetingRequestCreateJson(name, sourceId, questions); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJson.java deleted file mode 100644 index 03988b6f3..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJson.java +++ /dev/null @@ -1,663 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * MeetingRequestCustomFieldJson - * - *

Custom field for a meeting request. - */ -public class MeetingRequestCustomFieldJson { - /** - * The unique ID representing this custom field. - */ - @JsonProperty("id") - private String id; - - /** - * The actual text of the custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The set of answers or possible answers to a question. - */ - @JsonProperty("value") - private List value; - - /** - * The order of this question in the bigger list of questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - /** - * The type of data collected by a custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private MeetingRequestCustomFieldJsonCustomFieldType type; - - /** - * The actual text of the custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("field") - private Boolean field; - - /** - * True indicates a question on the meeting request form should be hidden from the user filling out the - * meeting request. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("hidden") - private Boolean hidden; - - /** - * True indicates the given question must be answered. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; - - /** - * The minimum length of a text field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minLength") - private Double minLength; - - /** - * The maximum length of a text field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxLength") - private Double maxLength; - - /** - * The minimum number of choices required for a multi-choice field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minChoice") - private Double minChoice; - - /** - * The maximum number of choices allowed for a multi-choice field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxChoice") - private Double maxChoice; - - /** - * The ISO 8601 minimum date value for a date field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minDate") - private String minDate; - - /** - * The ISO 8601 maximum date value for a date field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxDate") - private String maxDate; - - /** - * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is - * omitted when no non-default answer type is defined for the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answerTypes") - private List answerTypes; - - @JsonCreator - public MeetingRequestCustomFieldJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("value") @Nonnull List value, - @JsonProperty("order") @Nullable Long order, - @JsonProperty("type") @Nullable MeetingRequestCustomFieldJsonCustomFieldType type, - @JsonProperty("field") @Nullable Boolean field, - @JsonProperty("hidden") @Nullable Boolean hidden, - @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("minLength") @Nullable Double minLength, - @JsonProperty("maxLength") @Nullable Double maxLength, - @JsonProperty("minChoice") @Nullable Double minChoice, - @JsonProperty("maxChoice") @Nullable Double maxChoice, - @JsonProperty("minDate") @Nullable String minDate, - @JsonProperty("maxDate") @Nullable String maxDate, - @JsonProperty("answerTypes") @Nullable List answerTypes) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - this.order = order; - this.type = type; - this.field = field; - this.hidden = hidden; - this.required = required; - this.minLength = minLength; - this.maxLength = maxLength; - this.minChoice = minChoice; - this.maxChoice = maxChoice; - this.minDate = minDate; - this.maxDate = maxDate; - this.answerTypes = answerTypes; - } - - public MeetingRequestCustomFieldJson(@Nonnull String id, @Nonnull List value) { - this(id, null, value, null, null, null, null, null, null, null, null, null, null, null, null); - } - - /** - * The unique ID representing this custom field. - */ - public String id() { - return this.id; - } - - /** - * The actual text of the custom field. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The set of answers or possible answers to a question. - */ - public List value() { - return this.value; - } - - /** - * The order of this question in the bigger list of questions. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - /** - * The type of data collected by a custom field. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The actual text of the custom field. - */ - public Optional field() { - return Optional.ofNullable(this.field); - } - - /** - * True indicates a question on the meeting request form should be hidden from the user filling out the - * meeting request. - */ - public Optional hidden() { - return Optional.ofNullable(this.hidden); - } - - /** - * True indicates the given question must be answered. - */ - public Optional required() { - return Optional.ofNullable(this.required); - } - - /** - * The minimum length of a text field. - */ - public Optional minLength() { - return Optional.ofNullable(this.minLength); - } - - /** - * The maximum length of a text field. - */ - public Optional maxLength() { - return Optional.ofNullable(this.maxLength); - } - - /** - * The minimum number of choices required for a multi-choice field. - */ - public Optional minChoice() { - return Optional.ofNullable(this.minChoice); - } - - /** - * The maximum number of choices allowed for a multi-choice field. - */ - public Optional maxChoice() { - return Optional.ofNullable(this.maxChoice); - } - - /** - * The ISO 8601 minimum date value for a date field. - */ - public Optional minDate() { - return Optional.ofNullable(this.minDate); - } - - /** - * The ISO 8601 maximum date value for a date field. - */ - public Optional maxDate() { - return Optional.ofNullable(this.maxDate); - } - - /** - * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is - * omitted when no non-default answer type is defined for the question. - */ - public Optional> answerTypes() { - return Optional.ofNullable(this.answerTypes); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID representing this custom field. - */ - public MeetingRequestCustomFieldJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public MeetingRequestCustomFieldJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The set of answers or possible answers to a question. - */ - public MeetingRequestCustomFieldJson withValue(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * The order of this question in the bigger list of questions. - */ - public MeetingRequestCustomFieldJson withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The type of data collected by a custom field. - */ - public MeetingRequestCustomFieldJson withType(@Nullable MeetingRequestCustomFieldJsonCustomFieldType type) { - this.type = type; - return this; - } - - /** - * The actual text of the custom field. - */ - public MeetingRequestCustomFieldJson withField(@Nullable Boolean field) { - this.field = field; - return this; - } - - /** - * True indicates a question on the meeting request form should be hidden from the user filling out the - * meeting request. - */ - public MeetingRequestCustomFieldJson withHidden(@Nullable Boolean hidden) { - this.hidden = hidden; - return this; - } - - /** - * True indicates the given question must be answered. - */ - public MeetingRequestCustomFieldJson withRequired(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * The minimum length of a text field. - */ - public MeetingRequestCustomFieldJson withMinLength(@Nullable Double minLength) { - this.minLength = minLength; - return this; - } - - /** - * The maximum length of a text field. - */ - public MeetingRequestCustomFieldJson withMaxLength(@Nullable Double maxLength) { - this.maxLength = maxLength; - return this; - } - - /** - * The minimum number of choices required for a multi-choice field. - */ - public MeetingRequestCustomFieldJson withMinChoice(@Nullable Double minChoice) { - this.minChoice = minChoice; - return this; - } - - /** - * The maximum number of choices allowed for a multi-choice field. - */ - public MeetingRequestCustomFieldJson withMaxChoice(@Nullable Double maxChoice) { - this.maxChoice = maxChoice; - return this; - } - - /** - * The ISO 8601 minimum date value for a date field. - */ - public MeetingRequestCustomFieldJson withMinDate(@Nullable String minDate) { - this.minDate = minDate; - return this; - } - - /** - * The ISO 8601 maximum date value for a date field. - */ - public MeetingRequestCustomFieldJson withMaxDate(@Nullable String maxDate) { - this.maxDate = maxDate; - return this; - } - - /** - * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is - * omitted when no non-default answer type is defined for the question. - */ - public MeetingRequestCustomFieldJson withAnswerTypes(@Nullable List answerTypes) { - this.answerTypes = answerTypes; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestCustomFieldJson other = (MeetingRequestCustomFieldJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.order, other.order) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.field, other.field) - && Utils.enhancedDeepEquals(this.hidden, other.hidden) - && Utils.enhancedDeepEquals(this.required, other.required) - && Utils.enhancedDeepEquals(this.minLength, other.minLength) - && Utils.enhancedDeepEquals(this.maxLength, other.maxLength) - && Utils.enhancedDeepEquals(this.minChoice, other.minChoice) - && Utils.enhancedDeepEquals(this.maxChoice, other.maxChoice) - && Utils.enhancedDeepEquals(this.minDate, other.minDate) - && Utils.enhancedDeepEquals(this.maxDate, other.maxDate) - && Utils.enhancedDeepEquals(this.answerTypes, other.answerTypes); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - id, - name, - value, - order, - type, - field, - hidden, - required, - minLength, - maxLength, - minChoice, - maxChoice, - minDate, - maxDate, - answerTypes); - } - - @Override - public String toString() { - return Utils.toString( - MeetingRequestCustomFieldJson.class, - "id", - id, - "name", - name, - "value", - value, - "order", - order, - "type", - type, - "field", - field, - "hidden", - hidden, - "required", - required, - "minLength", - minLength, - "maxLength", - maxLength, - "minChoice", - minChoice, - "maxChoice", - maxChoice, - "minDate", - minDate, - "maxDate", - maxDate, - "answerTypes", - answerTypes); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private List value; - - private Long order; - - private MeetingRequestCustomFieldJsonCustomFieldType type; - - private Boolean field; - - private Boolean hidden; - - private Boolean required; - - private Double minLength; - - private Double maxLength; - - private Double minChoice; - - private Double maxChoice; - - private String minDate; - - private String maxDate; - - private List answerTypes; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID representing this custom field. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The set of answers or possible answers to a question. - */ - public Builder value(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * The order of this question in the bigger list of questions. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The type of data collected by a custom field. - */ - public Builder type(@Nullable MeetingRequestCustomFieldJsonCustomFieldType type) { - this.type = type; - return this; - } - - /** - * The actual text of the custom field. - */ - public Builder field(@Nullable Boolean field) { - this.field = field; - return this; - } - - /** - * True indicates a question on the meeting request form should be hidden from the user filling out the - * meeting request. - */ - public Builder hidden(@Nullable Boolean hidden) { - this.hidden = hidden; - return this; - } - - /** - * True indicates the given question must be answered. - */ - public Builder required(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * The minimum length of a text field. - */ - public Builder minLength(@Nullable Double minLength) { - this.minLength = minLength; - return this; - } - - /** - * The maximum length of a text field. - */ - public Builder maxLength(@Nullable Double maxLength) { - this.maxLength = maxLength; - return this; - } - - /** - * The minimum number of choices required for a multi-choice field. - */ - public Builder minChoice(@Nullable Double minChoice) { - this.minChoice = minChoice; - return this; - } - - /** - * The maximum number of choices allowed for a multi-choice field. - */ - public Builder maxChoice(@Nullable Double maxChoice) { - this.maxChoice = maxChoice; - return this; - } - - /** - * The ISO 8601 minimum date value for a date field. - */ - public Builder minDate(@Nullable String minDate) { - this.minDate = minDate; - return this; - } - - /** - * The ISO 8601 maximum date value for a date field. - */ - public Builder maxDate(@Nullable String maxDate) { - this.maxDate = maxDate; - return this; - } - - /** - * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is - * omitted when no non-default answer type is defined for the question. - */ - public Builder answerTypes(@Nullable List answerTypes) { - this.answerTypes = answerTypes; - return this; - } - - public MeetingRequestCustomFieldJson build() { - return new MeetingRequestCustomFieldJson( - id, - name, - value, - order, - type, - field, - hidden, - required, - minLength, - maxLength, - minChoice, - maxChoice, - minDate, - maxDate, - answerTypes); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJsonCustomFieldType.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJsonCustomFieldType.java deleted file mode 100644 index ff2dd2c63..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestCustomFieldJsonCustomFieldType.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * MeetingRequestCustomFieldJsonCustomFieldType - * - *

The type of data collected by a custom field. - */ -public enum MeetingRequestCustomFieldJsonCustomFieldType { - AUTO_INCREMENT("AutoIncrement"), - CONSENT_QUESTION("ConsentQuestion"), - CURRENCY("Currency"), - DECIMAL("Decimal"), - DATE("Date"), - DATE_TIME("DateTime"), - EMAIL("Email"), - FILE_UPLOAD("FileUpload"), - FREE_TEXT("FreeText"), - GENERAL("General"), - MULTI_CHOICE("MultiChoice"), - MULTI_SELECT("MultiSelect"), - NUMBER("Number"), - OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), - OPEN_ENDED_TEXT("OpenEndedText"), - SINGLE_CHOICE("SingleChoice"), - SINGLE_SELECT("SingleSelect"), - US_PHONE_NUMBER("USPhoneNumber"), - UNKNOWN("Unknown"); - - @JsonValue - private final String value; - - MeetingRequestCustomFieldJsonCustomFieldType(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (MeetingRequestCustomFieldJsonCustomFieldType o : MeetingRequestCustomFieldJsonCustomFieldType.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/MeetingRequestDocument.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocument.java new file mode 100644 index 000000000..b0591f67c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocument.java @@ -0,0 +1,463 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * MeetingRequestDocument + * + *

Document attached to a meeting request that can be downloaded. + */ +public class MeetingRequestDocument { + /** + * Unique identifier of the document. + */ + @JsonProperty("id") + private String id; + + /** + * Name of the document. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Size of the document in bytes + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("size") + private Long size; + + /** + * The ISO-8601 formatted date and time when the document was uploaded. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("uploaded") + private OffsetDateTime uploaded; + + /** + * The user who uploaded the document. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("uploadedBy") + private String uploadedBy; + + /** + * The ISO-8601 formatted date and time when this document was last updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The user who last updated the document. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * The MIME type of the document + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mimeType") + private String mimeType; + + /** + * A reference link contains the URL that provides direct access to download the file for the document. + * The expiration of the URL can be included if applicable. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("referenceLink") + private MeetingRequestDocumentReferenceLink referenceLink; + + /** + * The meeting request this document is attached to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("meetingRequest") + private MeetingRequestDocumentMeetingRequest meetingRequest; + + @JsonCreator + public MeetingRequestDocument( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("size") @Nullable Long size, + @JsonProperty("uploaded") @Nullable OffsetDateTime uploaded, + @JsonProperty("uploadedBy") @Nullable String uploadedBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("mimeType") @Nullable String mimeType, + @JsonProperty("referenceLink") @Nullable MeetingRequestDocumentReferenceLink referenceLink, + @JsonProperty("meetingRequest") @Nullable MeetingRequestDocumentMeetingRequest meetingRequest) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + this.size = size; + this.uploaded = uploaded; + this.uploadedBy = uploadedBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.mimeType = mimeType; + this.referenceLink = referenceLink; + this.meetingRequest = meetingRequest; + } + + public MeetingRequestDocument(@Nonnull String id) { + this(id, null, null, null, null, null, null, null, null, null); + } + + /** + * Unique identifier of the document. + */ + public String id() { + return this.id; + } + + /** + * Name of the document. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Size of the document in bytes + */ + public Optional size() { + return Optional.ofNullable(this.size); + } + + /** + * The ISO-8601 formatted date and time when the document was uploaded. + */ + public Optional uploaded() { + return Optional.ofNullable(this.uploaded); + } + + /** + * The user who uploaded the document. + */ + public Optional uploadedBy() { + return Optional.ofNullable(this.uploadedBy); + } + + /** + * The ISO-8601 formatted date and time when this document was last updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The user who last updated the document. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * The MIME type of the document + */ + public Optional mimeType() { + return Optional.ofNullable(this.mimeType); + } + + /** + * A reference link contains the URL that provides direct access to download the file for the document. + * The expiration of the URL can be included if applicable. + */ + public Optional referenceLink() { + return Optional.ofNullable(this.referenceLink); + } + + /** + * The meeting request this document is attached to. + */ + public Optional meetingRequest() { + return Optional.ofNullable(this.meetingRequest); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier of the document. + */ + public MeetingRequestDocument withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Name of the document. + */ + public MeetingRequestDocument withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Size of the document in bytes + */ + public MeetingRequestDocument withSize(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * The ISO-8601 formatted date and time when the document was uploaded. + */ + public MeetingRequestDocument withUploaded(@Nullable OffsetDateTime uploaded) { + this.uploaded = uploaded; + return this; + } + + /** + * The user who uploaded the document. + */ + public MeetingRequestDocument withUploadedBy(@Nullable String uploadedBy) { + this.uploadedBy = uploadedBy; + return this; + } + + /** + * The ISO-8601 formatted date and time when this document was last updated. + */ + public MeetingRequestDocument withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The user who last updated the document. + */ + public MeetingRequestDocument withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The MIME type of the document + */ + public MeetingRequestDocument withMimeType(@Nullable String mimeType) { + this.mimeType = mimeType; + return this; + } + + /** + * A reference link contains the URL that provides direct access to download the file for the document. + * The expiration of the URL can be included if applicable. + */ + public MeetingRequestDocument withReferenceLink(@Nullable MeetingRequestDocumentReferenceLink referenceLink) { + this.referenceLink = referenceLink; + return this; + } + + /** + * The meeting request this document is attached to. + */ + public MeetingRequestDocument withMeetingRequest(@Nullable MeetingRequestDocumentMeetingRequest meetingRequest) { + this.meetingRequest = meetingRequest; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestDocument other = (MeetingRequestDocument) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.size, other.size) + && Utils.enhancedDeepEquals(this.uploaded, other.uploaded) + && Utils.enhancedDeepEquals(this.uploadedBy, other.uploadedBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.mimeType, other.mimeType) + && Utils.enhancedDeepEquals(this.referenceLink, other.referenceLink) + && Utils.enhancedDeepEquals(this.meetingRequest, other.meetingRequest); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + id, + name, + size, + uploaded, + uploadedBy, + lastModified, + lastModifiedBy, + mimeType, + referenceLink, + meetingRequest); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRequestDocument.class, + "id", + id, + "name", + name, + "size", + size, + "uploaded", + uploaded, + "uploadedBy", + uploadedBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "mimeType", + mimeType, + "referenceLink", + referenceLink, + "meetingRequest", + meetingRequest); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Long size; + + private OffsetDateTime uploaded; + + private String uploadedBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private String mimeType; + + private MeetingRequestDocumentReferenceLink referenceLink; + + private MeetingRequestDocumentMeetingRequest meetingRequest; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier of the document. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Name of the document. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Size of the document in bytes + */ + public Builder size(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * The ISO-8601 formatted date and time when the document was uploaded. + */ + public Builder uploaded(@Nullable OffsetDateTime uploaded) { + this.uploaded = uploaded; + return this; + } + + /** + * The user who uploaded the document. + */ + public Builder uploadedBy(@Nullable String uploadedBy) { + this.uploadedBy = uploadedBy; + return this; + } + + /** + * The ISO-8601 formatted date and time when this document was last updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The user who last updated the document. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The MIME type of the document + */ + public Builder mimeType(@Nullable String mimeType) { + this.mimeType = mimeType; + return this; + } + + /** + * A reference link contains the URL that provides direct access to download the file for the document. + * The expiration of the URL can be included if applicable. + */ + public Builder referenceLink(@Nullable MeetingRequestDocumentReferenceLink referenceLink) { + this.referenceLink = referenceLink; + return this; + } + + /** + * The meeting request this document is attached to. + */ + public Builder meetingRequest(@Nullable MeetingRequestDocumentMeetingRequest meetingRequest) { + this.meetingRequest = meetingRequest; + return this; + } + + public MeetingRequestDocument build() { + return new MeetingRequestDocument( + id, + name, + size, + uploaded, + uploadedBy, + lastModified, + lastModifiedBy, + mimeType, + referenceLink, + meetingRequest); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentJson.java deleted file mode 100644 index 896e963e6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentJson.java +++ /dev/null @@ -1,465 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * MeetingRequestDocumentJson - * - *

Document attached to a meeting request that can be downloaded. - */ -public class MeetingRequestDocumentJson { - /** - * Unique identifier of the document. - */ - @JsonProperty("id") - private String id; - - /** - * Name of the document. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Size of the document in bytes - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("size") - private Long size; - - /** - * The ISO-8601 formatted date and time when the document was uploaded. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uploaded") - private OffsetDateTime uploaded; - - /** - * The user who uploaded the document. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uploadedBy") - private String uploadedBy; - - /** - * The ISO-8601 formatted date and time when this document was last updated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModified") - private OffsetDateTime lastModified; - - /** - * The user who last updated the document. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModifiedBy") - private String lastModifiedBy; - - /** - * The MIME type of the document - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("mimeType") - private String mimeType; - - /** - * A reference link contains the URL that provides direct access to download the file for the document. - * The expiration of the URL can be included if applicable. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("referenceLink") - private MeetingRequestDocumentReferenceLinkJson referenceLink; - - /** - * The meeting request this document is attached to. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("meetingRequest") - private MeetingRequestDocumentJsonMeetingRequest meetingRequest; - - @JsonCreator - public MeetingRequestDocumentJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("size") @Nullable Long size, - @JsonProperty("uploaded") @Nullable OffsetDateTime uploaded, - @JsonProperty("uploadedBy") @Nullable String uploadedBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("mimeType") @Nullable String mimeType, - @JsonProperty("referenceLink") @Nullable MeetingRequestDocumentReferenceLinkJson referenceLink, - @JsonProperty("meetingRequest") @Nullable MeetingRequestDocumentJsonMeetingRequest meetingRequest) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - this.size = size; - this.uploaded = uploaded; - this.uploadedBy = uploadedBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.mimeType = mimeType; - this.referenceLink = referenceLink; - this.meetingRequest = meetingRequest; - } - - public MeetingRequestDocumentJson(@Nonnull String id) { - this(id, null, null, null, null, null, null, null, null, null); - } - - /** - * Unique identifier of the document. - */ - public String id() { - return this.id; - } - - /** - * Name of the document. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Size of the document in bytes - */ - public Optional size() { - return Optional.ofNullable(this.size); - } - - /** - * The ISO-8601 formatted date and time when the document was uploaded. - */ - public Optional uploaded() { - return Optional.ofNullable(this.uploaded); - } - - /** - * The user who uploaded the document. - */ - public Optional uploadedBy() { - return Optional.ofNullable(this.uploadedBy); - } - - /** - * The ISO-8601 formatted date and time when this document was last updated. - */ - public Optional lastModified() { - return Optional.ofNullable(this.lastModified); - } - - /** - * The user who last updated the document. - */ - public Optional lastModifiedBy() { - return Optional.ofNullable(this.lastModifiedBy); - } - - /** - * The MIME type of the document - */ - public Optional mimeType() { - return Optional.ofNullable(this.mimeType); - } - - /** - * A reference link contains the URL that provides direct access to download the file for the document. - * The expiration of the URL can be included if applicable. - */ - public Optional referenceLink() { - return Optional.ofNullable(this.referenceLink); - } - - /** - * The meeting request this document is attached to. - */ - public Optional meetingRequest() { - return Optional.ofNullable(this.meetingRequest); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier of the document. - */ - public MeetingRequestDocumentJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Name of the document. - */ - public MeetingRequestDocumentJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Size of the document in bytes - */ - public MeetingRequestDocumentJson withSize(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * The ISO-8601 formatted date and time when the document was uploaded. - */ - public MeetingRequestDocumentJson withUploaded(@Nullable OffsetDateTime uploaded) { - this.uploaded = uploaded; - return this; - } - - /** - * The user who uploaded the document. - */ - public MeetingRequestDocumentJson withUploadedBy(@Nullable String uploadedBy) { - this.uploadedBy = uploadedBy; - return this; - } - - /** - * The ISO-8601 formatted date and time when this document was last updated. - */ - public MeetingRequestDocumentJson withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The user who last updated the document. - */ - public MeetingRequestDocumentJson withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The MIME type of the document - */ - public MeetingRequestDocumentJson withMimeType(@Nullable String mimeType) { - this.mimeType = mimeType; - return this; - } - - /** - * A reference link contains the URL that provides direct access to download the file for the document. - * The expiration of the URL can be included if applicable. - */ - public MeetingRequestDocumentJson withReferenceLink( - @Nullable MeetingRequestDocumentReferenceLinkJson referenceLink) { - this.referenceLink = referenceLink; - return this; - } - - /** - * The meeting request this document is attached to. - */ - public MeetingRequestDocumentJson withMeetingRequest( - @Nullable MeetingRequestDocumentJsonMeetingRequest meetingRequest) { - this.meetingRequest = meetingRequest; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestDocumentJson other = (MeetingRequestDocumentJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.size, other.size) - && Utils.enhancedDeepEquals(this.uploaded, other.uploaded) - && Utils.enhancedDeepEquals(this.uploadedBy, other.uploadedBy) - && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) - && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) - && Utils.enhancedDeepEquals(this.mimeType, other.mimeType) - && Utils.enhancedDeepEquals(this.referenceLink, other.referenceLink) - && Utils.enhancedDeepEquals(this.meetingRequest, other.meetingRequest); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - id, - name, - size, - uploaded, - uploadedBy, - lastModified, - lastModifiedBy, - mimeType, - referenceLink, - meetingRequest); - } - - @Override - public String toString() { - return Utils.toString( - MeetingRequestDocumentJson.class, - "id", - id, - "name", - name, - "size", - size, - "uploaded", - uploaded, - "uploadedBy", - uploadedBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "mimeType", - mimeType, - "referenceLink", - referenceLink, - "meetingRequest", - meetingRequest); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private Long size; - - private OffsetDateTime uploaded; - - private String uploadedBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private String mimeType; - - private MeetingRequestDocumentReferenceLinkJson referenceLink; - - private MeetingRequestDocumentJsonMeetingRequest meetingRequest; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier of the document. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Name of the document. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Size of the document in bytes - */ - public Builder size(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * The ISO-8601 formatted date and time when the document was uploaded. - */ - public Builder uploaded(@Nullable OffsetDateTime uploaded) { - this.uploaded = uploaded; - return this; - } - - /** - * The user who uploaded the document. - */ - public Builder uploadedBy(@Nullable String uploadedBy) { - this.uploadedBy = uploadedBy; - return this; - } - - /** - * The ISO-8601 formatted date and time when this document was last updated. - */ - public Builder lastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The user who last updated the document. - */ - public Builder lastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The MIME type of the document - */ - public Builder mimeType(@Nullable String mimeType) { - this.mimeType = mimeType; - return this; - } - - /** - * A reference link contains the URL that provides direct access to download the file for the document. - * The expiration of the URL can be included if applicable. - */ - public Builder referenceLink(@Nullable MeetingRequestDocumentReferenceLinkJson referenceLink) { - this.referenceLink = referenceLink; - return this; - } - - /** - * The meeting request this document is attached to. - */ - public Builder meetingRequest(@Nullable MeetingRequestDocumentJsonMeetingRequest meetingRequest) { - this.meetingRequest = meetingRequest; - return this; - } - - public MeetingRequestDocumentJson build() { - return new MeetingRequestDocumentJson( - id, - name, - size, - uploaded, - uploadedBy, - lastModified, - lastModifiedBy, - mimeType, - referenceLink, - meetingRequest); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentJsonMeetingRequest.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentJsonMeetingRequest.java deleted file mode 100644 index 64580a02f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentJsonMeetingRequest.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * MeetingRequestDocumentJsonMeetingRequest - * - *

The meeting request this document is attached to. - */ -public class MeetingRequestDocumentJsonMeetingRequest { - /** - * Meeting Request ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public MeetingRequestDocumentJsonMeetingRequest(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public MeetingRequestDocumentJsonMeetingRequest() { - this(null); - } - - /** - * Meeting Request ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Meeting Request ID. - */ - public MeetingRequestDocumentJsonMeetingRequest withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestDocumentJsonMeetingRequest other = (MeetingRequestDocumentJsonMeetingRequest) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(MeetingRequestDocumentJsonMeetingRequest.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Meeting Request ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public MeetingRequestDocumentJsonMeetingRequest build() { - return new MeetingRequestDocumentJsonMeetingRequest(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentMeetingRequest.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentMeetingRequest.java new file mode 100644 index 000000000..8c846bf39 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentMeetingRequest.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * MeetingRequestDocumentMeetingRequest + * + *

The meeting request this document is attached to. + */ +public class MeetingRequestDocumentMeetingRequest { + /** + * Meeting Request ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public MeetingRequestDocumentMeetingRequest(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public MeetingRequestDocumentMeetingRequest() { + this(null); + } + + /** + * Meeting Request ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Meeting Request ID. + */ + public MeetingRequestDocumentMeetingRequest withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestDocumentMeetingRequest other = (MeetingRequestDocumentMeetingRequest) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(MeetingRequestDocumentMeetingRequest.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Meeting Request ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public MeetingRequestDocumentMeetingRequest build() { + return new MeetingRequestDocumentMeetingRequest(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentPaginatedResponse.java index 42ed68a7a..46eac4f64 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentPaginatedResponse.java @@ -22,18 +22,18 @@ public class MeetingRequestDocumentPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of meeting request object documents. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public MeetingRequestDocumentPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull Paging paging, + @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); @@ -42,14 +42,14 @@ public MeetingRequestDocumentPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of meeting request object documents. */ - public List data() { + public List data() { return this.data; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public MeetingRequestDocumentPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public MeetingRequestDocumentPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -68,7 +68,7 @@ public MeetingRequestDocumentPaginatedResponse withPaging(@Nonnull PagingJson pa /** * Collection of meeting request object documents. */ - public MeetingRequestDocumentPaginatedResponse withData(@Nonnull List data) { + public MeetingRequestDocumentPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -98,9 +98,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -117,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of meeting request object documents. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLink.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLink.java new file mode 100644 index 000000000..e52f92ff0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLink.java @@ -0,0 +1,161 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * MeetingRequestDocumentReferenceLink + * + *

A reference link contains the URL that provides direct access to download the file for the document. + * The expiration of the URL can be included if applicable. + */ +public class MeetingRequestDocumentReferenceLink { + /** + * The URL to download the file resource for the document. This URL will expire after the time + * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed + * to remain constant. + * + *

Clients should always retrieve the latest URL before attempting to download the file, as it may + * change over time. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url") + private String url; + + /** + * The ISO 8601 formatted date and time at which the reference document will expire if an explicit + * expiration is defined. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("expiration") + private OffsetDateTime expiration; + + @JsonCreator + public MeetingRequestDocumentReferenceLink( + @JsonProperty("url") @Nullable String url, + @JsonProperty("expiration") @Nullable OffsetDateTime expiration) { + this.url = url; + this.expiration = expiration; + } + + public MeetingRequestDocumentReferenceLink() { + this(null, null); + } + + /** + * The URL to download the file resource for the document. This URL will expire after the time + * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed + * to remain constant. + * + *

Clients should always retrieve the latest URL before attempting to download the file, as it may + * change over time. + */ + public Optional url() { + return Optional.ofNullable(this.url); + } + + /** + * The ISO 8601 formatted date and time at which the reference document will expire if an explicit + * expiration is defined. + */ + public Optional expiration() { + return Optional.ofNullable(this.expiration); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The URL to download the file resource for the document. This URL will expire after the time + * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed + * to remain constant. + * + *

Clients should always retrieve the latest URL before attempting to download the file, as it may + * change over time. + */ + public MeetingRequestDocumentReferenceLink withUrl(@Nullable String url) { + this.url = url; + return this; + } + + /** + * The ISO 8601 formatted date and time at which the reference document will expire if an explicit + * expiration is defined. + */ + public MeetingRequestDocumentReferenceLink withExpiration(@Nullable OffsetDateTime expiration) { + this.expiration = expiration; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestDocumentReferenceLink other = (MeetingRequestDocumentReferenceLink) o; + return Utils.enhancedDeepEquals(this.url, other.url) && Utils.enhancedDeepEquals(this.expiration, other.expiration); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(url, expiration); + } + + @Override + public String toString() { + return Utils.toString(MeetingRequestDocumentReferenceLink.class, "url", url, "expiration", expiration); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String url; + + private OffsetDateTime expiration; + + private Builder() { + // force use of static builder() method + } + + /** + * The URL to download the file resource for the document. This URL will expire after the time + * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed + * to remain constant. + * + *

Clients should always retrieve the latest URL before attempting to download the file, as it may + * change over time. + */ + public Builder url(@Nullable String url) { + this.url = url; + return this; + } + + /** + * The ISO 8601 formatted date and time at which the reference document will expire if an explicit + * expiration is defined. + */ + public Builder expiration(@Nullable OffsetDateTime expiration) { + this.expiration = expiration; + return this; + } + + public MeetingRequestDocumentReferenceLink build() { + return new MeetingRequestDocumentReferenceLink(url, expiration); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLinkJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLinkJson.java deleted file mode 100644 index 07fc9f5c8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestDocumentReferenceLinkJson.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * MeetingRequestDocumentReferenceLinkJson - * - *

A reference link contains the URL that provides direct access to download the file for the document. - * The expiration of the URL can be included if applicable. - */ -public class MeetingRequestDocumentReferenceLinkJson { - /** - * The URL to download the file resource for the document. This URL will expire after the time - * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed - * to remain constant. - * - *

Clients should always retrieve the latest URL before attempting to download the file, as it may - * change over time. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("url") - private String url; - - /** - * The ISO 8601 formatted date and time at which the reference document will expire if an explicit - * expiration is defined. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("expiration") - private OffsetDateTime expiration; - - @JsonCreator - public MeetingRequestDocumentReferenceLinkJson( - @JsonProperty("url") @Nullable String url, - @JsonProperty("expiration") @Nullable OffsetDateTime expiration) { - this.url = url; - this.expiration = expiration; - } - - public MeetingRequestDocumentReferenceLinkJson() { - this(null, null); - } - - /** - * The URL to download the file resource for the document. This URL will expire after the time - * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed - * to remain constant. - * - *

Clients should always retrieve the latest URL before attempting to download the file, as it may - * change over time. - */ - public Optional url() { - return Optional.ofNullable(this.url); - } - - /** - * The ISO 8601 formatted date and time at which the reference document will expire if an explicit - * expiration is defined. - */ - public Optional expiration() { - return Optional.ofNullable(this.expiration); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The URL to download the file resource for the document. This URL will expire after the time - * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed - * to remain constant. - * - *

Clients should always retrieve the latest URL before attempting to download the file, as it may - * change over time. - */ - public MeetingRequestDocumentReferenceLinkJson withUrl(@Nullable String url) { - this.url = url; - return this; - } - - /** - * The ISO 8601 formatted date and time at which the reference document will expire if an explicit - * expiration is defined. - */ - public MeetingRequestDocumentReferenceLinkJson withExpiration(@Nullable OffsetDateTime expiration) { - this.expiration = expiration; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestDocumentReferenceLinkJson other = (MeetingRequestDocumentReferenceLinkJson) o; - return Utils.enhancedDeepEquals(this.url, other.url) && Utils.enhancedDeepEquals(this.expiration, other.expiration); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(url, expiration); - } - - @Override - public String toString() { - return Utils.toString(MeetingRequestDocumentReferenceLinkJson.class, "url", url, "expiration", expiration); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String url; - - private OffsetDateTime expiration; - - private Builder() { - // force use of static builder() method - } - - /** - * The URL to download the file resource for the document. This URL will expire after the time - * indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed - * to remain constant. - * - *

Clients should always retrieve the latest URL before attempting to download the file, as it may - * change over time. - */ - public Builder url(@Nullable String url) { - this.url = url; - return this; - } - - /** - * The ISO 8601 formatted date and time at which the reference document will expire if an explicit - * expiration is defined. - */ - public Builder expiration(@Nullable OffsetDateTime expiration) { - this.expiration = expiration; - return this; - } - - public MeetingRequestDocumentReferenceLinkJson build() { - return new MeetingRequestDocumentReferenceLinkJson(url, expiration); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestForm.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestForm.java index 4b9d569f6..1b74d5a71 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestForm.java +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestForm.java @@ -56,7 +56,7 @@ public class MeetingRequestForm { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("questions") - private List questions; + private List questions; @JsonCreator public MeetingRequestForm( @@ -64,7 +64,7 @@ public MeetingRequestForm( @JsonProperty("name") @Nonnull String name, @JsonProperty("statuses") @Nullable List statuses, @JsonProperty("active") @Nullable Boolean active, - @JsonProperty("questions") @Nullable List questions) { + @JsonProperty("questions") @Nullable List questions) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); this.statuses = statuses; @@ -110,7 +110,7 @@ public Optional active() { * The list of questions that will need to be answered by someone creating a meeting request from this * form. */ - public Optional> questions() { + public Optional> questions() { return Optional.ofNullable(this.questions); } @@ -156,7 +156,7 @@ public MeetingRequestForm withActive(@Nullable Boolean active) { * The list of questions that will need to be answered by someone creating a meeting request from this * form. */ - public MeetingRequestForm withQuestions(@Nullable List questions) { + public MeetingRequestForm withQuestions(@Nullable List questions) { this.questions = questions; return this; } @@ -209,7 +209,7 @@ public static final class Builder { private Boolean active; - private List questions; + private List questions; private Builder() { // force use of static builder() method @@ -253,7 +253,7 @@ public Builder active(@Nullable Boolean active) { * The list of questions that will need to be answered by someone creating a meeting request from this * form. */ - public Builder questions(@Nullable List questions) { + public Builder questions(@Nullable List questions) { this.questions = questions; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestFormPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestFormPaginatedResponse.java index 303e854f7..780763475 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestFormPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestFormPaginatedResponse.java @@ -23,7 +23,7 @@ public class MeetingRequestFormPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of meeting request form objects. @@ -33,7 +33,7 @@ public class MeetingRequestFormPaginatedResponse { @JsonCreator public MeetingRequestFormPaginatedResponse( - @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 MeetingRequestFormPaginatedResponse( /** * 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 MeetingRequestFormPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public MeetingRequestFormPaginatedResponse 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/MeetingRequestPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestPaginatedResponse.java index 4b83fe9dc..f71afdfa2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestPaginatedResponse.java @@ -22,7 +22,7 @@ public class MeetingRequestPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of meeting request objects. @@ -32,8 +32,7 @@ public class MeetingRequestPaginatedResponse { @JsonCreator public MeetingRequestPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull Paging paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); @@ -42,7 +41,7 @@ public MeetingRequestPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } @@ -60,7 +59,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public MeetingRequestPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public MeetingRequestPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -98,7 +97,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -109,7 +108,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestion.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestion.java new file mode 100644 index 000000000..eceaeb0db --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestion.java @@ -0,0 +1,456 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * MeetingRequestQuestion + * + *

A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are + * the same across all accounts. Use the `type` field or the question `id` to determine the format of + * the `value` array. + */ +public class MeetingRequestQuestion { + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + @JsonProperty("id") + private String id; + + /** + * The display text of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Denotes the type of data collected by a question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private QuestionType1 type; + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + @JsonProperty("value") + private List value; + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answerType") + private AnswerType12 answerType; + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secondaryValue") + private String secondaryValue; + + /** + * The structured representation of a complex question answer. Contains the same data as `value`, + * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write + * complex question answers, use `value` instead. + * + *

The structure of the array depends on the question `type`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compositeValue") + private CompositeValue compositeValue; + + @JsonCreator + public MeetingRequestQuestion( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("type") @Nullable QuestionType1 type, + @JsonProperty("value") @Nonnull List value, + @JsonProperty("answerType") @Nullable AnswerType12 answerType, + @JsonProperty("secondaryValue") @Nullable String secondaryValue, + @JsonProperty("compositeValue") @Nullable CompositeValue compositeValue) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + this.type = type; + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + this.answerType = answerType; + this.secondaryValue = secondaryValue; + this.compositeValue = compositeValue; + } + + public MeetingRequestQuestion(@Nonnull String id, @Nonnull List value) { + this(id, null, null, value, null, null, null); + } + + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + public String id() { + return this.id; + } + + /** + * The display text of the question. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Denotes the type of data collected by a question. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + public List value() { + return this.value; + } + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + public Optional answerType() { + return Optional.ofNullable(this.answerType); + } + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + public Optional secondaryValue() { + return Optional.ofNullable(this.secondaryValue); + } + + /** + * The structured representation of a complex question answer. Contains the same data as `value`, + * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write + * complex question answers, use `value` instead. + * + *

The structure of the array depends on the question `type`. + */ + public Optional compositeValue() { + return Optional.ofNullable(this.compositeValue); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + public MeetingRequestQuestion withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The display text of the question. + */ + public MeetingRequestQuestion withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Denotes the type of data collected by a question. + */ + public MeetingRequestQuestion withType(@Nullable QuestionType1 type) { + this.type = type; + return this; + } + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + public MeetingRequestQuestion withValue(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + public MeetingRequestQuestion withAnswerType(@Nullable AnswerType12 answerType) { + this.answerType = answerType; + return this; + } + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + public MeetingRequestQuestion withSecondaryValue(@Nullable String secondaryValue) { + this.secondaryValue = secondaryValue; + return this; + } + + /** + * The structured representation of a complex question answer. Contains the same data as `value`, + * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write + * complex question answers, use `value` instead. + * + *

The structure of the array depends on the question `type`. + */ + public MeetingRequestQuestion withCompositeValue(@Nullable CompositeValue compositeValue) { + this.compositeValue = compositeValue; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestQuestion other = (MeetingRequestQuestion) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.answerType, other.answerType) + && Utils.enhancedDeepEquals(this.secondaryValue, other.secondaryValue) + && Utils.enhancedDeepEquals(this.compositeValue, other.compositeValue); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, type, value, answerType, secondaryValue, compositeValue); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRequestQuestion.class, + "id", + id, + "name", + name, + "type", + type, + "value", + value, + "answerType", + answerType, + "secondaryValue", + secondaryValue, + "compositeValue", + compositeValue); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private QuestionType1 type; + + private List value; + + private AnswerType12 answerType; + + private String secondaryValue; + + private CompositeValue compositeValue; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The display text of the question. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Denotes the type of data collected by a question. + */ + public Builder type(@Nullable QuestionType1 type) { + this.type = type; + return this; + } + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + public Builder value(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + public Builder answerType(@Nullable AnswerType12 answerType) { + this.answerType = answerType; + return this; + } + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + public Builder secondaryValue(@Nullable String secondaryValue) { + this.secondaryValue = secondaryValue; + return this; + } + + /** + * The structured representation of a complex question answer. Contains the same data as `value`, + * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write + * complex question answers, use `value` instead. + * + *

The structure of the array depends on the question `type`. + */ + public Builder compositeValue(@Nullable CompositeValue compositeValue) { + this.compositeValue = compositeValue; + return this; + } + + public MeetingRequestQuestion build() { + return new MeetingRequestQuestion(id, name, type, value, answerType, secondaryValue, compositeValue); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionInput.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionInput.java new file mode 100644 index 000000000..7a7b2be0b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionInput.java @@ -0,0 +1,329 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * MeetingRequestQuestionInput + * + *

A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are + * the same across all accounts. Use the `type` field or the question `id` to determine the format of + * the `value` array. + */ +public class MeetingRequestQuestionInput { + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + @JsonProperty("id") + private String id; + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + @JsonProperty("value") + private List value; + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answerType") + private AnswerType12 answerType; + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secondaryValue") + private String secondaryValue; + + @JsonCreator + public MeetingRequestQuestionInput( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("value") @Nonnull List value, + @JsonProperty("answerType") @Nullable AnswerType12 answerType, + @JsonProperty("secondaryValue") @Nullable String secondaryValue) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + this.answerType = answerType; + this.secondaryValue = secondaryValue; + } + + public MeetingRequestQuestionInput(@Nonnull String id, @Nonnull List value) { + this(id, value, null, null); + } + + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + public String id() { + return this.id; + } + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + public List value() { + return this.value; + } + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + public Optional answerType() { + return Optional.ofNullable(this.answerType); + } + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + public Optional secondaryValue() { + return Optional.ofNullable(this.secondaryValue); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + public MeetingRequestQuestionInput withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + public MeetingRequestQuestionInput withValue(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + public MeetingRequestQuestionInput withAnswerType(@Nullable AnswerType12 answerType) { + this.answerType = answerType; + return this; + } + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + public MeetingRequestQuestionInput withSecondaryValue(@Nullable String secondaryValue) { + this.secondaryValue = secondaryValue; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestQuestionInput other = (MeetingRequestQuestionInput) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.answerType, other.answerType) + && Utils.enhancedDeepEquals(this.secondaryValue, other.secondaryValue); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, value, answerType, secondaryValue); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRequestQuestionInput.class, + "id", + id, + "value", + value, + "answerType", + answerType, + "secondaryValue", + secondaryValue); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private List value; + + private AnswerType12 answerType; + + private String secondaryValue; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * An array of non-null answers to the question. The format of each item depends on the question + * `type`. + * + *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or + * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data + * in parsed form. + */ + public Builder value(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are + * interpreted. + * + *

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

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

In all other cases, `answerType` is not expected to be set. + */ + public Builder answerType(@Nullable AnswerType12 answerType) { + this.answerType = answerType; + return this; + } + + /** + * The secondary value of the question. This can be the other answer of choice questions which have + * `Other` as an answer type. + */ + public Builder secondaryValue(@Nullable String secondaryValue) { + this.secondaryValue = secondaryValue; + return this; + } + + public MeetingRequestQuestionInput build() { + return new MeetingRequestQuestionInput(id, value, answerType, secondaryValue); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java deleted file mode 100644 index ff2270451..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java +++ /dev/null @@ -1,456 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * MeetingRequestQuestionJson - * - *

A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are - * the same across all accounts. Use the `type` field or the question `id` to determine the format of - * the `value` array. - */ -public class MeetingRequestQuestionJson { - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - @JsonProperty("id") - private String id; - - /** - * The display text of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Denotes the type of data collected by a question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private QuestionTypeJson type; - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data - * in parsed form. - */ - @JsonProperty("value") - private List value; - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

In all other cases, `answerType` is not expected to be set. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answerType") - private AnswerTypeJson answerType; - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("secondaryValue") - private String secondaryValue; - - /** - * The structured representation of a complex question answer. Contains the same data as `value`, - * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write - * complex question answers, use `value` instead. - * - *

The structure of the array depends on the question `type`. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("compositeValue") - private CompositeValueJson compositeValue; - - @JsonCreator - public MeetingRequestQuestionJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("type") @Nullable QuestionTypeJson type, - @JsonProperty("value") @Nonnull List value, - @JsonProperty("answerType") @Nullable AnswerTypeJson answerType, - @JsonProperty("secondaryValue") @Nullable String secondaryValue, - @JsonProperty("compositeValue") @Nullable CompositeValueJson compositeValue) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - this.type = type; - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - this.answerType = answerType; - this.secondaryValue = secondaryValue; - this.compositeValue = compositeValue; - } - - public MeetingRequestQuestionJson(@Nonnull String id, @Nonnull List value) { - this(id, null, null, value, null, null, null); - } - - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - public String id() { - return this.id; - } - - /** - * The display text of the question. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Denotes the type of data collected by a question. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data - * in parsed form. - */ - public List value() { - return this.value; - } - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

In all other cases, `answerType` is not expected to be set. - */ - public Optional answerType() { - return Optional.ofNullable(this.answerType); - } - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - public Optional secondaryValue() { - return Optional.ofNullable(this.secondaryValue); - } - - /** - * The structured representation of a complex question answer. Contains the same data as `value`, - * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write - * complex question answers, use `value` instead. - * - *

The structure of the array depends on the question `type`. - */ - public Optional compositeValue() { - return Optional.ofNullable(this.compositeValue); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - public MeetingRequestQuestionJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The display text of the question. - */ - public MeetingRequestQuestionJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Denotes the type of data collected by a question. - */ - public MeetingRequestQuestionJson withType(@Nullable QuestionTypeJson type) { - this.type = type; - return this; - } - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data - * in parsed form. - */ - public MeetingRequestQuestionJson withValue(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

In all other cases, `answerType` is not expected to be set. - */ - public MeetingRequestQuestionJson withAnswerType(@Nullable AnswerTypeJson answerType) { - this.answerType = answerType; - return this; - } - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - public MeetingRequestQuestionJson withSecondaryValue(@Nullable String secondaryValue) { - this.secondaryValue = secondaryValue; - return this; - } - - /** - * The structured representation of a complex question answer. Contains the same data as `value`, - * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write - * complex question answers, use `value` instead. - * - *

The structure of the array depends on the question `type`. - */ - public MeetingRequestQuestionJson withCompositeValue(@Nullable CompositeValueJson compositeValue) { - this.compositeValue = compositeValue; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestQuestionJson other = (MeetingRequestQuestionJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.answerType, other.answerType) - && Utils.enhancedDeepEquals(this.secondaryValue, other.secondaryValue) - && Utils.enhancedDeepEquals(this.compositeValue, other.compositeValue); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, type, value, answerType, secondaryValue, compositeValue); - } - - @Override - public String toString() { - return Utils.toString( - MeetingRequestQuestionJson.class, - "id", - id, - "name", - name, - "type", - type, - "value", - value, - "answerType", - answerType, - "secondaryValue", - secondaryValue, - "compositeValue", - compositeValue); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private QuestionTypeJson type; - - private List value; - - private AnswerTypeJson answerType; - - private String secondaryValue; - - private CompositeValueJson compositeValue; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The display text of the question. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Denotes the type of data collected by a question. - */ - public Builder type(@Nullable QuestionTypeJson type) { - this.type = type; - return this; - } - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

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

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

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data - * in parsed form. - */ - public Builder value(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

In all other cases, `answerType` is not expected to be set. - */ - public Builder answerType(@Nullable AnswerTypeJson answerType) { - this.answerType = answerType; - return this; - } - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - public Builder secondaryValue(@Nullable String secondaryValue) { - this.secondaryValue = secondaryValue; - return this; - } - - /** - * The structured representation of a complex question answer. Contains the same data as `value`, - * parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write - * complex question answers, use `value` instead. - * - *

The structure of the array depends on the question `type`. - */ - public Builder compositeValue(@Nullable CompositeValueJson compositeValue) { - this.compositeValue = compositeValue; - return this; - } - - public MeetingRequestQuestionJson build() { - return new MeetingRequestQuestionJson(id, name, type, value, answerType, secondaryValue, compositeValue); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestUpdate.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestUpdate.java new file mode 100644 index 000000000..b29e83e97 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestUpdate.java @@ -0,0 +1,298 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * MeetingRequestUpdate + * + *

An updated meeting request. + */ +public class MeetingRequestUpdate { + /** + * The ID of a meeting request. + */ + @JsonProperty("id") + private String id; + + /** + * The name of the specific meeting request. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Questions for the meeting request. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("questions") + private List questions; + + /** + * The user-defined status of the meeting request. Possible statuses for requests are defined by the + * user at meeting request form creation. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private String status; + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sourceId") + private String sourceId; + + /** + * The note about the status. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("statusNote") + private String statusNote; + + @JsonCreator + public MeetingRequestUpdate( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("questions") @Nullable List questions, + @JsonProperty("status") @Nullable String status, + @JsonProperty("sourceId") @Nullable String sourceId, + @JsonProperty("statusNote") @Nullable String statusNote) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + this.questions = questions; + this.status = status; + this.sourceId = sourceId; + this.statusNote = statusNote; + } + + public MeetingRequestUpdate(@Nonnull String id) { + this(id, null, null, null, null, null); + } + + /** + * The ID of a meeting request. + */ + public String id() { + return this.id; + } + + /** + * The name of the specific meeting request. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Questions for the meeting request. + */ + public Optional> questions() { + return Optional.ofNullable(this.questions); + } + + /** + * The user-defined status of the meeting request. Possible statuses for requests are defined by the + * user at meeting request form creation. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + public Optional sourceId() { + return Optional.ofNullable(this.sourceId); + } + + /** + * The note about the status. + */ + public Optional statusNote() { + return Optional.ofNullable(this.statusNote); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ID of a meeting request. + */ + public MeetingRequestUpdate withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The name of the specific meeting request. + */ + public MeetingRequestUpdate withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Questions for the meeting request. + */ + public MeetingRequestUpdate withQuestions(@Nullable List questions) { + this.questions = questions; + return this; + } + + /** + * The user-defined status of the meeting request. Possible statuses for requests are defined by the + * user at meeting request form creation. + */ + public MeetingRequestUpdate withStatus(@Nullable String status) { + this.status = status; + return this; + } + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + public MeetingRequestUpdate withSourceId(@Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * The note about the status. + */ + public MeetingRequestUpdate withStatusNote(@Nullable String statusNote) { + this.statusNote = statusNote; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRequestUpdate other = (MeetingRequestUpdate) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.questions, other.questions) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.sourceId, other.sourceId) + && Utils.enhancedDeepEquals(this.statusNote, other.statusNote); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, questions, status, sourceId, statusNote); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRequestUpdate.class, + "id", + id, + "name", + name, + "questions", + questions, + "status", + status, + "sourceId", + sourceId, + "statusNote", + statusNote); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private List questions; + + private String status; + + private String sourceId; + + private String statusNote; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID of a meeting request. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The name of the specific meeting request. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Questions for the meeting request. + */ + public Builder questions(@Nullable List questions) { + this.questions = questions; + return this; + } + + /** + * The user-defined status of the meeting request. Possible statuses for requests are defined by the + * user at meeting request form creation. + */ + public Builder status(@Nullable String status) { + this.status = status; + return this; + } + + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for + * each meeting request within an account. Consider adding the external system name as part of the ID. + */ + public Builder sourceId(@Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * The note about the status. + */ + public Builder statusNote(@Nullable String statusNote) { + this.statusNote = statusNote; + return this; + } + + public MeetingRequestUpdate build() { + return new MeetingRequestUpdate(id, name, questions, status, sourceId, statusNote); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestUpdateJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestUpdateJson.java deleted file mode 100644 index 76c848bc8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestUpdateJson.java +++ /dev/null @@ -1,298 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * MeetingRequestUpdateJson - * - *

An updated meeting request. - */ -public class MeetingRequestUpdateJson { - /** - * The ID of a meeting request. - */ - @JsonProperty("id") - private String id; - - /** - * The name of the specific meeting request. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Questions for the meeting request. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("questions") - private List questions; - - /** - * The user-defined status of the meeting request. Possible statuses for requests are defined by the - * user at meeting request form creation. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private String status; - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sourceId") - private String sourceId; - - /** - * The note about the status. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("statusNote") - private String statusNote; - - @JsonCreator - public MeetingRequestUpdateJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("questions") @Nullable List questions, - @JsonProperty("status") @Nullable String status, - @JsonProperty("sourceId") @Nullable String sourceId, - @JsonProperty("statusNote") @Nullable String statusNote) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - this.questions = questions; - this.status = status; - this.sourceId = sourceId; - this.statusNote = statusNote; - } - - public MeetingRequestUpdateJson(@Nonnull String id) { - this(id, null, null, null, null, null); - } - - /** - * The ID of a meeting request. - */ - public String id() { - return this.id; - } - - /** - * The name of the specific meeting request. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Questions for the meeting request. - */ - public Optional> questions() { - return Optional.ofNullable(this.questions); - } - - /** - * The user-defined status of the meeting request. Possible statuses for requests are defined by the - * user at meeting request form creation. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - public Optional sourceId() { - return Optional.ofNullable(this.sourceId); - } - - /** - * The note about the status. - */ - public Optional statusNote() { - return Optional.ofNullable(this.statusNote); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ID of a meeting request. - */ - public MeetingRequestUpdateJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The name of the specific meeting request. - */ - public MeetingRequestUpdateJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Questions for the meeting request. - */ - public MeetingRequestUpdateJson withQuestions(@Nullable List questions) { - this.questions = questions; - return this; - } - - /** - * The user-defined status of the meeting request. Possible statuses for requests are defined by the - * user at meeting request form creation. - */ - public MeetingRequestUpdateJson withStatus(@Nullable String status) { - this.status = status; - return this; - } - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - public MeetingRequestUpdateJson withSourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * The note about the status. - */ - public MeetingRequestUpdateJson withStatusNote(@Nullable String statusNote) { - this.statusNote = statusNote; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRequestUpdateJson other = (MeetingRequestUpdateJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.questions, other.questions) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.sourceId, other.sourceId) - && Utils.enhancedDeepEquals(this.statusNote, other.statusNote); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, questions, status, sourceId, statusNote); - } - - @Override - public String toString() { - return Utils.toString( - MeetingRequestUpdateJson.class, - "id", - id, - "name", - name, - "questions", - questions, - "status", - status, - "sourceId", - sourceId, - "statusNote", - statusNote); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private List questions; - - private String status; - - private String sourceId; - - private String statusNote; - - private Builder() { - // force use of static builder() method - } - - /** - * The ID of a meeting request. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The name of the specific meeting request. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Questions for the meeting request. - */ - public Builder questions(@Nullable List questions) { - this.questions = questions; - return this; - } - - /** - * The user-defined status of the meeting request. Possible statuses for requests are defined by the - * user at meeting request form creation. - */ - public Builder status(@Nullable String status) { - this.status = status; - return this; - } - - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for - * each meeting request within an account. Consider adding the external system name as part of the ID. - */ - public Builder sourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * The note about the status. - */ - public Builder statusNote(@Nullable String statusNote) { - this.statusNote = statusNote; - return this; - } - - public MeetingRequestUpdateJson build() { - return new MeetingRequestUpdateJson(id, name, questions, status, sourceId, statusNote); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoom.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoom.java new file mode 100644 index 000000000..da4bd3bde --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoom.java @@ -0,0 +1,427 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * MeetingRoom + * + *

A venue meeting room. + */ +public class MeetingRoom { + /** + * The name of the meeting room. + */ + @JsonProperty("name") + private String name; + + /** + * The detailed description of the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * Physical dimensions for the meeting room. + */ + @JsonProperty("dimensions") + private MeetingRoomDimensions dimensions; + + /** + * The position of this meeting room in the venue's room listing. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("displayOrder") + private Long displayOrder; + + /** + * The provider's own identifier for this meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalSourceId") + private String externalSourceId; + + /** + * Rate information for move in/out and events. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rates") + private MeetingRoomRates rates; + + /** + * Capacity information for a meeting room, grouped by category. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("capacities") + private MeetingRoomCapacities capacities; + + /** + * List of amenities available in the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amenities") + private List amenities; + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hiddenOnProfile") + private Boolean hiddenOnProfile; + + @JsonCreator + public MeetingRoom( + @JsonProperty("name") @Nonnull String name, + @JsonProperty("description") @Nullable String description, + @JsonProperty("dimensions") @Nonnull MeetingRoomDimensions dimensions, + @JsonProperty("displayOrder") @Nullable Long displayOrder, + @JsonProperty("externalSourceId") @Nullable String externalSourceId, + @JsonProperty("rates") @Nullable MeetingRoomRates rates, + @JsonProperty("capacities") @Nullable MeetingRoomCapacities capacities, + @JsonProperty("amenities") @Nullable List amenities, + @JsonProperty("hiddenOnProfile") @Nullable Boolean hiddenOnProfile) { + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.description = description; + this.dimensions = Optional.ofNullable(dimensions) + .orElseThrow(() -> new IllegalArgumentException("dimensions cannot be null")); + this.displayOrder = displayOrder; + this.externalSourceId = externalSourceId; + this.rates = rates; + this.capacities = capacities; + this.amenities = amenities; + this.hiddenOnProfile = + Optional.ofNullable(hiddenOnProfile).orElse(Builder._SINGLETON_VALUE_HiddenOnProfile.value()); + } + + public MeetingRoom(@Nonnull String name, @Nonnull MeetingRoomDimensions dimensions) { + this(name, null, dimensions, null, null, null, null, null, null); + } + + /** + * The name of the meeting room. + */ + public String name() { + return this.name; + } + + /** + * The detailed description of the meeting room. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * Physical dimensions for the meeting room. + */ + public MeetingRoomDimensions dimensions() { + return this.dimensions; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Optional displayOrder() { + return Optional.ofNullable(this.displayOrder); + } + + /** + * The provider's own identifier for this meeting room. + */ + public Optional externalSourceId() { + return Optional.ofNullable(this.externalSourceId); + } + + /** + * Rate information for move in/out and events. + */ + public Optional rates() { + return Optional.ofNullable(this.rates); + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public Optional capacities() { + return Optional.ofNullable(this.capacities); + } + + /** + * List of amenities available in the meeting room. + */ + public Optional> amenities() { + return Optional.ofNullable(this.amenities); + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Optional hiddenOnProfile() { + return Optional.ofNullable(this.hiddenOnProfile); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of the meeting room. + */ + public MeetingRoom withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The detailed description of the meeting room. + */ + public MeetingRoom withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public MeetingRoom withDimensions(@Nonnull MeetingRoomDimensions dimensions) { + this.dimensions = Utils.checkNotNull(dimensions, "dimensions"); + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public MeetingRoom withDisplayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public MeetingRoom withExternalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = externalSourceId; + return this; + } + + /** + * Rate information for move in/out and events. + */ + public MeetingRoom withRates(@Nullable MeetingRoomRates rates) { + this.rates = rates; + return this; + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public MeetingRoom withCapacities(@Nullable MeetingRoomCapacities capacities) { + this.capacities = capacities; + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public MeetingRoom withAmenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public MeetingRoom withHiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoom other = (MeetingRoom) o; + return Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.dimensions, other.dimensions) + && Utils.enhancedDeepEquals(this.displayOrder, other.displayOrder) + && Utils.enhancedDeepEquals(this.externalSourceId, other.externalSourceId) + && Utils.enhancedDeepEquals(this.rates, other.rates) + && Utils.enhancedDeepEquals(this.capacities, other.capacities) + && Utils.enhancedDeepEquals(this.amenities, other.amenities) + && Utils.enhancedDeepEquals(this.hiddenOnProfile, other.hiddenOnProfile); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRoom.class, + "name", + name, + "description", + description, + "dimensions", + dimensions, + "displayOrder", + displayOrder, + "externalSourceId", + externalSourceId, + "rates", + rates, + "capacities", + capacities, + "amenities", + amenities, + "hiddenOnProfile", + hiddenOnProfile); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private String description; + + private MeetingRoomDimensions dimensions; + + private Long displayOrder; + + private String externalSourceId; + + private MeetingRoomRates rates; + + private MeetingRoomCapacities capacities; + + private List amenities; + + private Boolean hiddenOnProfile; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the meeting room. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The detailed description of the meeting room. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public Builder dimensions(@Nonnull MeetingRoomDimensions dimensions) { + this.dimensions = Utils.checkNotNull(dimensions, "dimensions"); + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Builder displayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public Builder externalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = externalSourceId; + return this; + } + + /** + * Rate information for move in/out and events. + */ + public Builder rates(@Nullable MeetingRoomRates rates) { + this.rates = rates; + return this; + } + + /** + * Capacity information for a meeting room, grouped by category. + */ + public Builder capacities(@Nullable MeetingRoomCapacities capacities) { + this.capacities = capacities; + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public Builder amenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Builder hiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + public MeetingRoom build() { + return new MeetingRoom( + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile); + } + + private static final LazySingletonValue _SINGLETON_VALUE_HiddenOnProfile = + new LazySingletonValue<>("hiddenOnProfile", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomAgendaItemType.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomAgendaItemType.java new file mode 100644 index 000000000..6be9ac718 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomAgendaItemType.java @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * MeetingRoomAgendaItemType + * + *

Defines the agenda item types of a meeting room requirement. + */ +public enum MeetingRoomAgendaItemType { + BREAK("Break"), + BREAKFAST("Breakfast"), + BREAKOUT("Breakout"), + DINNER("Dinner"), + EXHIBIT("Exhibit"), + GENERAL_SESSION("General Session"), + HOSPITALITY_DESK("Hospitality Desk"), + HOSPITALITY_SUITE("Hospitality Suite"), + LUNCH("Lunch"), + MEETING("Meeting"), + OFFICE("Office"), + OTHER("Other"), + RECEPTION("Reception"), + REGISTRATION("Registration"), + SETUP("Setup"), + SNACK("Snack"), + SPEAKER_ROOM("Speaker Room"), + STORAGE_ROOM("Storage Room"), + TEARDOWN("Teardown"); + + @JsonValue + private final String value; + + MeetingRoomAgendaItemType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (MeetingRoomAgendaItemType o : MeetingRoomAgendaItemType.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/MeetingRoomAgendaItemTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomAgendaItemTypeJson.java deleted file mode 100644 index 6726e1671..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomAgendaItemTypeJson.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * MeetingRoomAgendaItemTypeJson - * - *

Defines the agenda item types of a meeting room requirement. - */ -public enum MeetingRoomAgendaItemTypeJson { - BREAK("Break"), - BREAKFAST("Breakfast"), - BREAKOUT("Breakout"), - DINNER("Dinner"), - EXHIBIT("Exhibit"), - GENERAL_SESSION("General Session"), - HOSPITALITY_DESK("Hospitality Desk"), - HOSPITALITY_SUITE("Hospitality Suite"), - LUNCH("Lunch"), - MEETING("Meeting"), - OFFICE("Office"), - OTHER("Other"), - RECEPTION("Reception"), - REGISTRATION("Registration"), - SETUP("Setup"), - SNACK("Snack"), - SPEAKER_ROOM("Speaker Room"), - STORAGE_ROOM("Storage Room"), - TEARDOWN("Teardown"); - - @JsonValue - private final String value; - - MeetingRoomAgendaItemTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (MeetingRoomAgendaItemTypeJson o : MeetingRoomAgendaItemTypeJson.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/MeetingRoomAmenity.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomAmenity.java new file mode 100644 index 000000000..33bfea76e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomAmenity.java @@ -0,0 +1,64 @@ +/* + * 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; + +/** + * MeetingRoomAmenity + * + *

Available amenities for a meeting room. + */ +public enum MeetingRoomAmenity { + AUDIO_RECORDING("AUDIO_RECORDING"), + BACKGROUND_MUSIC("BACKGROUND_MUSIC"), + BLACKBOARD("BLACKBOARD"), + BUILT_IN_SCREEN("BUILT_IN_SCREEN"), + CLOSED_CIRCUIT_VIDEO("CLOSED_CIRCUIT_VIDEO"), + DRY_ERASE_BOARD("DRY_ERASE_BOARD"), + DVD_PLAYER("DVD_PLAYER"), + EASEL("EASEL"), + ELECTRIC_POINTER("ELECTRIC_POINTER"), + FLIPCHART_MARKERS("FLIPCHART_MARKERS"), + INTERNET("INTERNET"), + LECTERN("LECTERN"), + MICROPHONE("MICROPHONE"), + MONITOR_CART("MONITOR_CART"), + OUTDOOR_SPACE("OUTDOOR_SPACE"), + PERSONAL_COMPUTER("PERSONAL_COMPUTER"), + POWERED_SPEAKER("POWERED_SPEAKER"), + PRIVATE_SPACE("PRIVATE_SPACE"), + PROJECTION_STAND("PROJECTION_STAND"), + PROJECTOR("PROJECTOR"), + SEMI_PRIVATE_SPACE("SEMI_PRIVATE_SPACE"), + TELEVISION("TELEVISION"), + VHS_PLAYER("VHS_PLAYER"), + VIDEO_CAMERA("VIDEO_CAMERA"), + VIDEO_MONITOR("VIDEO_MONITOR"), + VIDEO_RECORDING("VIDEO_RECORDING"), + WHEELCHAIR_ACCESSIBLE("WHEELCHAIR_ACCESSIBLE"); + + @JsonValue + private final String value; + + MeetingRoomAmenity(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (MeetingRoomAmenity o : MeetingRoomAmenity.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/MeetingRoomCapacities.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomCapacities.java new file mode 100644 index 000000000..477b56c4c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomCapacities.java @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * MeetingRoomCapacities + * + *

Capacity information for a meeting room, grouped by category. + */ +public class MeetingRoomCapacities { + /** + * Maximum number of exhibits per room setup. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("exhibits") + private List exhibits; + + /** + * Maximum number of attendees per seating style. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seating") + private List seating; + + @JsonCreator + public MeetingRoomCapacities( + @JsonProperty("exhibits") @Nullable List exhibits, + @JsonProperty("seating") @Nullable List seating) { + this.exhibits = exhibits; + this.seating = seating; + } + + public MeetingRoomCapacities() { + this(null, null); + } + + /** + * Maximum number of exhibits per room setup. + */ + public Optional> exhibits() { + return Optional.ofNullable(this.exhibits); + } + + /** + * Maximum number of attendees per seating style. + */ + public Optional> seating() { + return Optional.ofNullable(this.seating); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Maximum number of exhibits per room setup. + */ + public MeetingRoomCapacities withExhibits(@Nullable List exhibits) { + this.exhibits = exhibits; + return this; + } + + /** + * Maximum number of attendees per seating style. + */ + public MeetingRoomCapacities withSeating(@Nullable List seating) { + this.seating = seating; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomCapacities other = (MeetingRoomCapacities) o; + return Utils.enhancedDeepEquals(this.exhibits, other.exhibits) + && Utils.enhancedDeepEquals(this.seating, other.seating); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(exhibits, seating); + } + + @Override + public String toString() { + return Utils.toString(MeetingRoomCapacities.class, "exhibits", exhibits, "seating", seating); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private List exhibits; + + private List seating; + + private Builder() { + // force use of static builder() method + } + + /** + * Maximum number of exhibits per room setup. + */ + public Builder exhibits(@Nullable List exhibits) { + this.exhibits = exhibits; + return this; + } + + /** + * Maximum number of attendees per seating style. + */ + public Builder seating(@Nullable List seating) { + this.seating = seating; + return this; + } + + public MeetingRoomCapacities build() { + return new MeetingRoomCapacities(exhibits, seating); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomDimensions.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomDimensions.java new file mode 100644 index 000000000..47d787ccc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomDimensions.java @@ -0,0 +1,216 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * MeetingRoomDimensions + * + *

Physical dimensions for the meeting room. + */ +public class MeetingRoomDimensions { + /** + * Measurement of area in square feet or square meters. + */ + @JsonProperty("totalSpace") + private AreaMeasurement totalSpace; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ceilingHeight") + private Dimension ceilingHeight; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("length") + private Dimension length; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("width") + private Dimension width; + + @JsonCreator + public MeetingRoomDimensions( + @JsonProperty("totalSpace") @Nonnull AreaMeasurement totalSpace, + @JsonProperty("ceilingHeight") @Nullable Dimension ceilingHeight, + @JsonProperty("length") @Nullable Dimension length, + @JsonProperty("width") @Nullable Dimension width) { + this.totalSpace = Optional.ofNullable(totalSpace) + .orElseThrow(() -> new IllegalArgumentException("totalSpace cannot be null")); + this.ceilingHeight = ceilingHeight; + this.length = length; + this.width = width; + } + + public MeetingRoomDimensions(@Nonnull AreaMeasurement totalSpace) { + this(totalSpace, null, null, null); + } + + /** + * Measurement of area in square feet or square meters. + */ + public AreaMeasurement totalSpace() { + return this.totalSpace; + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional ceilingHeight() { + return Optional.ofNullable(this.ceilingHeight); + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional length() { + return Optional.ofNullable(this.length); + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional width() { + return Optional.ofNullable(this.width); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Measurement of area in square feet or square meters. + */ + public MeetingRoomDimensions withTotalSpace(@Nonnull AreaMeasurement totalSpace) { + this.totalSpace = Utils.checkNotNull(totalSpace, "totalSpace"); + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public MeetingRoomDimensions withCeilingHeight(@Nullable Dimension ceilingHeight) { + this.ceilingHeight = ceilingHeight; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public MeetingRoomDimensions withLength(@Nullable Dimension length) { + this.length = length; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public MeetingRoomDimensions withWidth(@Nullable Dimension width) { + this.width = width; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomDimensions other = (MeetingRoomDimensions) o; + return Utils.enhancedDeepEquals(this.totalSpace, other.totalSpace) + && Utils.enhancedDeepEquals(this.ceilingHeight, other.ceilingHeight) + && Utils.enhancedDeepEquals(this.length, other.length) + && Utils.enhancedDeepEquals(this.width, other.width); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(totalSpace, ceilingHeight, length, width); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRoomDimensions.class, + "totalSpace", + totalSpace, + "ceilingHeight", + ceilingHeight, + "length", + length, + "width", + width); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private AreaMeasurement totalSpace; + + private Dimension ceilingHeight; + + private Dimension length; + + private Dimension width; + + private Builder() { + // force use of static builder() method + } + + /** + * Measurement of area in square feet or square meters. + */ + public Builder totalSpace(@Nonnull AreaMeasurement totalSpace) { + this.totalSpace = Utils.checkNotNull(totalSpace, "totalSpace"); + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder ceilingHeight(@Nullable Dimension ceilingHeight) { + this.ceilingHeight = ceilingHeight; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder length(@Nullable Dimension length) { + this.length = length; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder width(@Nullable Dimension width) { + this.width = width; + return this; + } + + public MeetingRoomDimensions build() { + return new MeetingRoomDimensions(totalSpace, ceilingHeight, length, width); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomExhibitCapacity.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomExhibitCapacity.java new file mode 100644 index 000000000..4aa9c3dd3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomExhibitCapacity.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * MeetingRoomExhibitCapacity + * + *

Maximum number of exhibits for a specific exhibit layout type in a meeting room. + */ +public class MeetingRoomExhibitCapacity { + /** + * The exhibit setup type for a meeting room. Values represent standard exhibit booth and display + * configurations. + */ + @JsonProperty("layoutType") + private ExhibitLayoutType layoutType; + + /** + * Maximum number of exhibits for this layout type. + */ + @JsonProperty("maxExhibits") + private long maxExhibits; + + @JsonCreator + public MeetingRoomExhibitCapacity( + @JsonProperty("layoutType") @Nonnull ExhibitLayoutType layoutType, + @JsonProperty("maxExhibits") long maxExhibits) { + this.layoutType = Optional.ofNullable(layoutType) + .orElseThrow(() -> new IllegalArgumentException("layoutType cannot be null")); + this.maxExhibits = maxExhibits; + } + + /** + * The exhibit setup type for a meeting room. Values represent standard exhibit booth and display + * configurations. + */ + public ExhibitLayoutType layoutType() { + return this.layoutType; + } + + /** + * Maximum number of exhibits for this layout type. + */ + public long maxExhibits() { + return this.maxExhibits; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The exhibit setup type for a meeting room. Values represent standard exhibit booth and display + * configurations. + */ + public MeetingRoomExhibitCapacity withLayoutType(@Nonnull ExhibitLayoutType layoutType) { + this.layoutType = Utils.checkNotNull(layoutType, "layoutType"); + return this; + } + + /** + * Maximum number of exhibits for this layout type. + */ + public MeetingRoomExhibitCapacity withMaxExhibits(long maxExhibits) { + this.maxExhibits = maxExhibits; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomExhibitCapacity other = (MeetingRoomExhibitCapacity) o; + return Utils.enhancedDeepEquals(this.layoutType, other.layoutType) + && Utils.enhancedDeepEquals(this.maxExhibits, other.maxExhibits); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(layoutType, maxExhibits); + } + + @Override + public String toString() { + return Utils.toString(MeetingRoomExhibitCapacity.class, "layoutType", layoutType, "maxExhibits", maxExhibits); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private ExhibitLayoutType layoutType; + + private long maxExhibits; + + private Builder() { + // force use of static builder() method + } + + /** + * The exhibit setup type for a meeting room. Values represent standard exhibit booth and display + * configurations. + */ + public Builder layoutType(@Nonnull ExhibitLayoutType layoutType) { + this.layoutType = Utils.checkNotNull(layoutType, "layoutType"); + return this; + } + + /** + * Maximum number of exhibits for this layout type. + */ + public Builder maxExhibits(long maxExhibits) { + this.maxExhibits = maxExhibits; + return this; + } + + public MeetingRoomExhibitCapacity build() { + return new MeetingRoomExhibitCapacity(layoutType, maxExhibits); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomOverview.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomOverview.java new file mode 100644 index 000000000..761e68bc5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomOverview.java @@ -0,0 +1,216 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * MeetingRoomOverview + * + *

An overview of a venue meeting room containing key identifiers and display properties. + */ +public class MeetingRoomOverview { + /** + * The ID of the meeting room. + */ + @JsonProperty("id") + private String id; + + /** + * The display name of the meeting room. + */ + @JsonProperty("name") + private String name; + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hiddenOnProfile") + private Boolean hiddenOnProfile; + + /** + * Position of this meeting room in the venue's room listing, with 1 being the first position. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("displayOrder") + private Long displayOrder; + + @JsonCreator + public MeetingRoomOverview( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("hiddenOnProfile") @Nullable Boolean hiddenOnProfile, + @JsonProperty("displayOrder") @Nullable Long displayOrder) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.hiddenOnProfile = hiddenOnProfile; + this.displayOrder = displayOrder; + } + + public MeetingRoomOverview(@Nonnull String id, @Nonnull String name) { + this(id, name, null, null); + } + + /** + * The ID of the meeting room. + */ + public String id() { + return this.id; + } + + /** + * The display name of the meeting room. + */ + public String name() { + return this.name; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Optional hiddenOnProfile() { + return Optional.ofNullable(this.hiddenOnProfile); + } + + /** + * Position of this meeting room in the venue's room listing, with 1 being the first position. + */ + public Optional displayOrder() { + return Optional.ofNullable(this.displayOrder); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ID of the meeting room. + */ + public MeetingRoomOverview withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The display name of the meeting room. + */ + public MeetingRoomOverview withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public MeetingRoomOverview withHiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + /** + * Position of this meeting room in the venue's room listing, with 1 being the first position. + */ + public MeetingRoomOverview withDisplayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomOverview other = (MeetingRoomOverview) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.hiddenOnProfile, other.hiddenOnProfile) + && Utils.enhancedDeepEquals(this.displayOrder, other.displayOrder); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, hiddenOnProfile, displayOrder); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRoomOverview.class, + "id", + id, + "name", + name, + "hiddenOnProfile", + hiddenOnProfile, + "displayOrder", + displayOrder); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Boolean hiddenOnProfile; + + private Long displayOrder; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID of the meeting room. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The display name of the meeting room. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Builder hiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + /** + * Position of this meeting room in the venue's room listing, with 1 being the first position. + */ + public Builder displayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + public MeetingRoomOverview build() { + return new MeetingRoomOverview(id, name, hiddenOnProfile, displayOrder); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRate.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRate.java new file mode 100644 index 000000000..c70a3aebe --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRate.java @@ -0,0 +1,169 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * MeetingRoomRate + * + *

Meeting room rate with a value and application type. + */ +public class MeetingRoomRate { + /** + * The monetary value of the rate. + */ + @JsonProperty("value") + private double value; + + /** + * How the rate is applied to the meeting room booking. + * + *

Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ + @JsonProperty("applicationType") + private RateApplicationType applicationType; + + @JsonCreator + public MeetingRoomRate( + @JsonProperty("value") double value, + @JsonProperty("applicationType") @Nonnull RateApplicationType applicationType) { + this.value = value; + this.applicationType = Optional.ofNullable(applicationType) + .orElseThrow(() -> new IllegalArgumentException("applicationType cannot be null")); + } + + /** + * The monetary value of the rate. + */ + public double value() { + return this.value; + } + + /** + * How the rate is applied to the meeting room booking. + * + *

Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ + public RateApplicationType applicationType() { + return this.applicationType; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The monetary value of the rate. + */ + public MeetingRoomRate withValue(double value) { + this.value = value; + return this; + } + + /** + * How the rate is applied to the meeting room booking. + * + *

Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ + public MeetingRoomRate withApplicationType(@Nonnull RateApplicationType applicationType) { + this.applicationType = Utils.checkNotNull(applicationType, "applicationType"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomRate other = (MeetingRoomRate) o; + return Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.applicationType, other.applicationType); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value, applicationType); + } + + @Override + public String toString() { + return Utils.toString(MeetingRoomRate.class, "value", value, "applicationType", applicationType); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private double value; + + private RateApplicationType applicationType; + + private Builder() { + // force use of static builder() method + } + + /** + * The monetary value of the rate. + */ + public Builder value(double value) { + this.value = value; + return this; + } + + /** + * How the rate is applied to the meeting room booking. + * + *

Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ + public Builder applicationType(@Nonnull RateApplicationType applicationType) { + this.applicationType = Utils.checkNotNull(applicationType, "applicationType"); + return this; + } + + public MeetingRoomRate build() { + return new MeetingRoomRate(value, applicationType); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRates.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRates.java new file mode 100644 index 000000000..44e05ccb2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRates.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * MeetingRoomRates + * + *

Rate information for move in/out and events. + */ +public class MeetingRoomRates { + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("moveIn") + private MeetingRoomRate moveIn; + + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("moveOut") + private MeetingRoomRate moveOut; + + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("event") + private MeetingRoomRate event; + + @JsonCreator + public MeetingRoomRates( + @JsonProperty("moveIn") @Nullable MeetingRoomRate moveIn, + @JsonProperty("moveOut") @Nullable MeetingRoomRate moveOut, + @JsonProperty("event") @Nullable MeetingRoomRate event) { + this.moveIn = moveIn; + this.moveOut = moveOut; + this.event = event; + } + + public MeetingRoomRates() { + this(null, null, null); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional moveIn() { + return Optional.ofNullable(this.moveIn); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional moveOut() { + return Optional.ofNullable(this.moveOut); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional event() { + return Optional.ofNullable(this.event); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Meeting room rate with a value and application type. + */ + public MeetingRoomRates withMoveIn(@Nullable MeetingRoomRate moveIn) { + this.moveIn = moveIn; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public MeetingRoomRates withMoveOut(@Nullable MeetingRoomRate moveOut) { + this.moveOut = moveOut; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public MeetingRoomRates withEvent(@Nullable MeetingRoomRate event) { + this.event = event; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomRates other = (MeetingRoomRates) o; + return Utils.enhancedDeepEquals(this.moveIn, other.moveIn) + && Utils.enhancedDeepEquals(this.moveOut, other.moveOut) + && Utils.enhancedDeepEquals(this.event, other.event); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(moveIn, moveOut, event); + } + + @Override + public String toString() { + return Utils.toString(MeetingRoomRates.class, "moveIn", moveIn, "moveOut", moveOut, "event", event); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private MeetingRoomRate moveIn; + + private MeetingRoomRate moveOut; + + private MeetingRoomRate event; + + private Builder() { + // force use of static builder() method + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder moveIn(@Nullable MeetingRoomRate moveIn) { + this.moveIn = moveIn; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder moveOut(@Nullable MeetingRoomRate moveOut) { + this.moveOut = moveOut; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder event(@Nullable MeetingRoomRate event) { + this.event = event; + return this; + } + + public MeetingRoomRates build() { + return new MeetingRoomRates(moveIn, moveOut, event); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRequirement.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRequirement.java new file mode 100644 index 000000000..7d66c9bfc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRequirement.java @@ -0,0 +1,477 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * MeetingRoomRequirement + * + *

The requirement of a meeting room on the specified date. + */ +public class MeetingRoomRequirement { + /** + * The date for the meeting room, in format of YYYY-MM-DD. + */ + @JsonProperty("date") + private String date; + + /** + * The start time for the meeting room, in format of HH:MM:SS. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("startTime") + private String startTime; + + /** + * The end time for the meeting room, in format of HH:MM:SS. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endTime") + private String endTime; + + /** + * The agenda item for the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("agendaItem") + private String agendaItem; + + /** + * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda + * item type is allowed. For the meeting request forms, this is the list of all the available agenda + * item types. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("agendaItemType") + private List agendaItemType; + + /** + * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is + * allowed. For the meeting request forms, this is the list of all the available setup types. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("setupType") + private List setupType; + + /** + * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, + * number of seats, number of tables, etc. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("roomSize") + private Double roomSize; + + /** + * The number of people for the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("numberOfPeople") + private Long numberOfPeople; + + /** + * True indicates the meeting room is held for 24 hours. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("twentyFourHourHold") + private Boolean twentyFourHourHold; + + /** + * The meeting room requirement note. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("note") + private String note; + + @JsonCreator + public MeetingRoomRequirement( + @JsonProperty("date") @Nonnull String date, + @JsonProperty("startTime") @Nullable String startTime, + @JsonProperty("endTime") @Nullable String endTime, + @JsonProperty("agendaItem") @Nullable String agendaItem, + @JsonProperty("agendaItemType") @Nullable List agendaItemType, + @JsonProperty("setupType") @Nullable List setupType, + @JsonProperty("roomSize") @Nullable Double roomSize, + @JsonProperty("numberOfPeople") @Nullable Long numberOfPeople, + @JsonProperty("twentyFourHourHold") @Nullable Boolean twentyFourHourHold, + @JsonProperty("note") @Nullable String note) { + this.date = Optional.ofNullable(date).orElseThrow(() -> new IllegalArgumentException("date cannot be null")); + this.startTime = startTime; + this.endTime = endTime; + this.agendaItem = agendaItem; + this.agendaItemType = agendaItemType; + this.setupType = setupType; + this.roomSize = roomSize; + this.numberOfPeople = numberOfPeople; + this.twentyFourHourHold = twentyFourHourHold; + this.note = note; + } + + public MeetingRoomRequirement(@Nonnull String date) { + this(date, null, null, null, null, null, null, null, null, null); + } + + /** + * The date for the meeting room, in format of YYYY-MM-DD. + */ + public String date() { + return this.date; + } + + /** + * The start time for the meeting room, in format of HH:MM:SS. + */ + public Optional startTime() { + return Optional.ofNullable(this.startTime); + } + + /** + * The end time for the meeting room, in format of HH:MM:SS. + */ + public Optional endTime() { + return Optional.ofNullable(this.endTime); + } + + /** + * The agenda item for the meeting room. + */ + public Optional agendaItem() { + return Optional.ofNullable(this.agendaItem); + } + + /** + * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda + * item type is allowed. For the meeting request forms, this is the list of all the available agenda + * item types. + */ + public Optional> agendaItemType() { + return Optional.ofNullable(this.agendaItemType); + } + + /** + * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is + * allowed. For the meeting request forms, this is the list of all the available setup types. + */ + public Optional> setupType() { + return Optional.ofNullable(this.setupType); + } + + /** + * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, + * number of seats, number of tables, etc. + */ + public Optional roomSize() { + return Optional.ofNullable(this.roomSize); + } + + /** + * The number of people for the meeting room. + */ + public Optional numberOfPeople() { + return Optional.ofNullable(this.numberOfPeople); + } + + /** + * True indicates the meeting room is held for 24 hours. + */ + public Optional twentyFourHourHold() { + return Optional.ofNullable(this.twentyFourHourHold); + } + + /** + * The meeting room requirement note. + */ + public Optional note() { + return Optional.ofNullable(this.note); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The date for the meeting room, in format of YYYY-MM-DD. + */ + public MeetingRoomRequirement withDate(@Nonnull String date) { + this.date = Utils.checkNotNull(date, "date"); + return this; + } + + /** + * The start time for the meeting room, in format of HH:MM:SS. + */ + public MeetingRoomRequirement withStartTime(@Nullable String startTime) { + this.startTime = startTime; + return this; + } + + /** + * The end time for the meeting room, in format of HH:MM:SS. + */ + public MeetingRoomRequirement withEndTime(@Nullable String endTime) { + this.endTime = endTime; + return this; + } + + /** + * The agenda item for the meeting room. + */ + public MeetingRoomRequirement withAgendaItem(@Nullable String agendaItem) { + this.agendaItem = agendaItem; + return this; + } + + /** + * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda + * item type is allowed. For the meeting request forms, this is the list of all the available agenda + * item types. + */ + public MeetingRoomRequirement withAgendaItemType(@Nullable List agendaItemType) { + this.agendaItemType = agendaItemType; + return this; + } + + /** + * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is + * allowed. For the meeting request forms, this is the list of all the available setup types. + */ + public MeetingRoomRequirement withSetupType(@Nullable List setupType) { + this.setupType = setupType; + return this; + } + + /** + * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, + * number of seats, number of tables, etc. + */ + public MeetingRoomRequirement withRoomSize(@Nullable Double roomSize) { + this.roomSize = roomSize; + return this; + } + + /** + * The number of people for the meeting room. + */ + public MeetingRoomRequirement withNumberOfPeople(@Nullable Long numberOfPeople) { + this.numberOfPeople = numberOfPeople; + return this; + } + + /** + * True indicates the meeting room is held for 24 hours. + */ + public MeetingRoomRequirement withTwentyFourHourHold(@Nullable Boolean twentyFourHourHold) { + this.twentyFourHourHold = twentyFourHourHold; + return this; + } + + /** + * The meeting room requirement note. + */ + public MeetingRoomRequirement withNote(@Nullable String note) { + this.note = note; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomRequirement other = (MeetingRoomRequirement) o; + return Utils.enhancedDeepEquals(this.date, other.date) + && Utils.enhancedDeepEquals(this.startTime, other.startTime) + && Utils.enhancedDeepEquals(this.endTime, other.endTime) + && Utils.enhancedDeepEquals(this.agendaItem, other.agendaItem) + && Utils.enhancedDeepEquals(this.agendaItemType, other.agendaItemType) + && Utils.enhancedDeepEquals(this.setupType, other.setupType) + && Utils.enhancedDeepEquals(this.roomSize, other.roomSize) + && Utils.enhancedDeepEquals(this.numberOfPeople, other.numberOfPeople) + && Utils.enhancedDeepEquals(this.twentyFourHourHold, other.twentyFourHourHold) + && Utils.enhancedDeepEquals(this.note, other.note); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + date, + startTime, + endTime, + agendaItem, + agendaItemType, + setupType, + roomSize, + numberOfPeople, + twentyFourHourHold, + note); + } + + @Override + public String toString() { + return Utils.toString( + MeetingRoomRequirement.class, + "date", + date, + "startTime", + startTime, + "endTime", + endTime, + "agendaItem", + agendaItem, + "agendaItemType", + agendaItemType, + "setupType", + setupType, + "roomSize", + roomSize, + "numberOfPeople", + numberOfPeople, + "twentyFourHourHold", + twentyFourHourHold, + "note", + note); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String date; + + private String startTime; + + private String endTime; + + private String agendaItem; + + private List agendaItemType; + + private List setupType; + + private Double roomSize; + + private Long numberOfPeople; + + private Boolean twentyFourHourHold; + + private String note; + + private Builder() { + // force use of static builder() method + } + + /** + * The date for the meeting room, in format of YYYY-MM-DD. + */ + public Builder date(@Nonnull String date) { + this.date = Utils.checkNotNull(date, "date"); + return this; + } + + /** + * The start time for the meeting room, in format of HH:MM:SS. + */ + public Builder startTime(@Nullable String startTime) { + this.startTime = startTime; + return this; + } + + /** + * The end time for the meeting room, in format of HH:MM:SS. + */ + public Builder endTime(@Nullable String endTime) { + this.endTime = endTime; + return this; + } + + /** + * The agenda item for the meeting room. + */ + public Builder agendaItem(@Nullable String agendaItem) { + this.agendaItem = agendaItem; + return this; + } + + /** + * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda + * item type is allowed. For the meeting request forms, this is the list of all the available agenda + * item types. + */ + public Builder agendaItemType(@Nullable List agendaItemType) { + this.agendaItemType = agendaItemType; + return this; + } + + /** + * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is + * allowed. For the meeting request forms, this is the list of all the available setup types. + */ + public Builder setupType(@Nullable List setupType) { + this.setupType = setupType; + return this; + } + + /** + * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, + * number of seats, number of tables, etc. + */ + public Builder roomSize(@Nullable Double roomSize) { + this.roomSize = roomSize; + return this; + } + + /** + * The number of people for the meeting room. + */ + public Builder numberOfPeople(@Nullable Long numberOfPeople) { + this.numberOfPeople = numberOfPeople; + return this; + } + + /** + * True indicates the meeting room is held for 24 hours. + */ + public Builder twentyFourHourHold(@Nullable Boolean twentyFourHourHold) { + this.twentyFourHourHold = twentyFourHourHold; + return this; + } + + /** + * The meeting room requirement note. + */ + public Builder note(@Nullable String note) { + this.note = note; + return this; + } + + public MeetingRoomRequirement build() { + return new MeetingRoomRequirement( + date, + startTime, + endTime, + agendaItem, + agendaItemType, + setupType, + roomSize, + numberOfPeople, + twentyFourHourHold, + note); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRequirementJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRequirementJson.java deleted file mode 100644 index d1f1aa8ae..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomRequirementJson.java +++ /dev/null @@ -1,477 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * MeetingRoomRequirementJson - * - *

The requirement of a meeting room on the specified date. - */ -public class MeetingRoomRequirementJson { - /** - * The date for the meeting room, in format of YYYY-MM-DD. - */ - @JsonProperty("date") - private String date; - - /** - * The start time for the meeting room, in format of HH:MM:SS. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("startTime") - private String startTime; - - /** - * The end time for the meeting room, in format of HH:MM:SS. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("endTime") - private String endTime; - - /** - * The agenda item for the meeting room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("agendaItem") - private String agendaItem; - - /** - * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda - * item type is allowed. For the meeting request forms, this is the list of all the available agenda - * item types. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("agendaItemType") - private List agendaItemType; - - /** - * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is - * allowed. For the meeting request forms, this is the list of all the available setup types. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("setupType") - private List setupType; - - /** - * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, - * number of seats, number of tables, etc. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("roomSize") - private Double roomSize; - - /** - * The number of people for the meeting room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("numberOfPeople") - private Long numberOfPeople; - - /** - * True indicates the meeting room is held for 24 hours. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("twentyFourHourHold") - private Boolean twentyFourHourHold; - - /** - * The meeting room requirement note. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("note") - private String note; - - @JsonCreator - public MeetingRoomRequirementJson( - @JsonProperty("date") @Nonnull String date, - @JsonProperty("startTime") @Nullable String startTime, - @JsonProperty("endTime") @Nullable String endTime, - @JsonProperty("agendaItem") @Nullable String agendaItem, - @JsonProperty("agendaItemType") @Nullable List agendaItemType, - @JsonProperty("setupType") @Nullable List setupType, - @JsonProperty("roomSize") @Nullable Double roomSize, - @JsonProperty("numberOfPeople") @Nullable Long numberOfPeople, - @JsonProperty("twentyFourHourHold") @Nullable Boolean twentyFourHourHold, - @JsonProperty("note") @Nullable String note) { - this.date = Optional.ofNullable(date).orElseThrow(() -> new IllegalArgumentException("date cannot be null")); - this.startTime = startTime; - this.endTime = endTime; - this.agendaItem = agendaItem; - this.agendaItemType = agendaItemType; - this.setupType = setupType; - this.roomSize = roomSize; - this.numberOfPeople = numberOfPeople; - this.twentyFourHourHold = twentyFourHourHold; - this.note = note; - } - - public MeetingRoomRequirementJson(@Nonnull String date) { - this(date, null, null, null, null, null, null, null, null, null); - } - - /** - * The date for the meeting room, in format of YYYY-MM-DD. - */ - public String date() { - return this.date; - } - - /** - * The start time for the meeting room, in format of HH:MM:SS. - */ - public Optional startTime() { - return Optional.ofNullable(this.startTime); - } - - /** - * The end time for the meeting room, in format of HH:MM:SS. - */ - public Optional endTime() { - return Optional.ofNullable(this.endTime); - } - - /** - * The agenda item for the meeting room. - */ - public Optional agendaItem() { - return Optional.ofNullable(this.agendaItem); - } - - /** - * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda - * item type is allowed. For the meeting request forms, this is the list of all the available agenda - * item types. - */ - public Optional> agendaItemType() { - return Optional.ofNullable(this.agendaItemType); - } - - /** - * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is - * allowed. For the meeting request forms, this is the list of all the available setup types. - */ - public Optional> setupType() { - return Optional.ofNullable(this.setupType); - } - - /** - * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, - * number of seats, number of tables, etc. - */ - public Optional roomSize() { - return Optional.ofNullable(this.roomSize); - } - - /** - * The number of people for the meeting room. - */ - public Optional numberOfPeople() { - return Optional.ofNullable(this.numberOfPeople); - } - - /** - * True indicates the meeting room is held for 24 hours. - */ - public Optional twentyFourHourHold() { - return Optional.ofNullable(this.twentyFourHourHold); - } - - /** - * The meeting room requirement note. - */ - public Optional note() { - return Optional.ofNullable(this.note); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The date for the meeting room, in format of YYYY-MM-DD. - */ - public MeetingRoomRequirementJson withDate(@Nonnull String date) { - this.date = Utils.checkNotNull(date, "date"); - return this; - } - - /** - * The start time for the meeting room, in format of HH:MM:SS. - */ - public MeetingRoomRequirementJson withStartTime(@Nullable String startTime) { - this.startTime = startTime; - return this; - } - - /** - * The end time for the meeting room, in format of HH:MM:SS. - */ - public MeetingRoomRequirementJson withEndTime(@Nullable String endTime) { - this.endTime = endTime; - return this; - } - - /** - * The agenda item for the meeting room. - */ - public MeetingRoomRequirementJson withAgendaItem(@Nullable String agendaItem) { - this.agendaItem = agendaItem; - return this; - } - - /** - * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda - * item type is allowed. For the meeting request forms, this is the list of all the available agenda - * item types. - */ - public MeetingRoomRequirementJson withAgendaItemType(@Nullable List agendaItemType) { - this.agendaItemType = agendaItemType; - return this; - } - - /** - * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is - * allowed. For the meeting request forms, this is the list of all the available setup types. - */ - public MeetingRoomRequirementJson withSetupType(@Nullable List setupType) { - this.setupType = setupType; - return this; - } - - /** - * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, - * number of seats, number of tables, etc. - */ - public MeetingRoomRequirementJson withRoomSize(@Nullable Double roomSize) { - this.roomSize = roomSize; - return this; - } - - /** - * The number of people for the meeting room. - */ - public MeetingRoomRequirementJson withNumberOfPeople(@Nullable Long numberOfPeople) { - this.numberOfPeople = numberOfPeople; - return this; - } - - /** - * True indicates the meeting room is held for 24 hours. - */ - public MeetingRoomRequirementJson withTwentyFourHourHold(@Nullable Boolean twentyFourHourHold) { - this.twentyFourHourHold = twentyFourHourHold; - return this; - } - - /** - * The meeting room requirement note. - */ - public MeetingRoomRequirementJson withNote(@Nullable String note) { - this.note = note; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MeetingRoomRequirementJson other = (MeetingRoomRequirementJson) o; - return Utils.enhancedDeepEquals(this.date, other.date) - && Utils.enhancedDeepEquals(this.startTime, other.startTime) - && Utils.enhancedDeepEquals(this.endTime, other.endTime) - && Utils.enhancedDeepEquals(this.agendaItem, other.agendaItem) - && Utils.enhancedDeepEquals(this.agendaItemType, other.agendaItemType) - && Utils.enhancedDeepEquals(this.setupType, other.setupType) - && Utils.enhancedDeepEquals(this.roomSize, other.roomSize) - && Utils.enhancedDeepEquals(this.numberOfPeople, other.numberOfPeople) - && Utils.enhancedDeepEquals(this.twentyFourHourHold, other.twentyFourHourHold) - && Utils.enhancedDeepEquals(this.note, other.note); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - date, - startTime, - endTime, - agendaItem, - agendaItemType, - setupType, - roomSize, - numberOfPeople, - twentyFourHourHold, - note); - } - - @Override - public String toString() { - return Utils.toString( - MeetingRoomRequirementJson.class, - "date", - date, - "startTime", - startTime, - "endTime", - endTime, - "agendaItem", - agendaItem, - "agendaItemType", - agendaItemType, - "setupType", - setupType, - "roomSize", - roomSize, - "numberOfPeople", - numberOfPeople, - "twentyFourHourHold", - twentyFourHourHold, - "note", - note); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String date; - - private String startTime; - - private String endTime; - - private String agendaItem; - - private List agendaItemType; - - private List setupType; - - private Double roomSize; - - private Long numberOfPeople; - - private Boolean twentyFourHourHold; - - private String note; - - private Builder() { - // force use of static builder() method - } - - /** - * The date for the meeting room, in format of YYYY-MM-DD. - */ - public Builder date(@Nonnull String date) { - this.date = Utils.checkNotNull(date, "date"); - return this; - } - - /** - * The start time for the meeting room, in format of HH:MM:SS. - */ - public Builder startTime(@Nullable String startTime) { - this.startTime = startTime; - return this; - } - - /** - * The end time for the meeting room, in format of HH:MM:SS. - */ - public Builder endTime(@Nullable String endTime) { - this.endTime = endTime; - return this; - } - - /** - * The agenda item for the meeting room. - */ - public Builder agendaItem(@Nullable String agendaItem) { - this.agendaItem = agendaItem; - return this; - } - - /** - * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda - * item type is allowed. For the meeting request forms, this is the list of all the available agenda - * item types. - */ - public Builder agendaItemType(@Nullable List agendaItemType) { - this.agendaItemType = agendaItemType; - return this; - } - - /** - * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is - * allowed. For the meeting request forms, this is the list of all the available setup types. - */ - public Builder setupType(@Nullable List setupType) { - this.setupType = setupType; - return this; - } - - /** - * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, - * number of seats, number of tables, etc. - */ - public Builder roomSize(@Nullable Double roomSize) { - this.roomSize = roomSize; - return this; - } - - /** - * The number of people for the meeting room. - */ - public Builder numberOfPeople(@Nullable Long numberOfPeople) { - this.numberOfPeople = numberOfPeople; - return this; - } - - /** - * True indicates the meeting room is held for 24 hours. - */ - public Builder twentyFourHourHold(@Nullable Boolean twentyFourHourHold) { - this.twentyFourHourHold = twentyFourHourHold; - return this; - } - - /** - * The meeting room requirement note. - */ - public Builder note(@Nullable String note) { - this.note = note; - return this; - } - - public MeetingRoomRequirementJson build() { - return new MeetingRoomRequirementJson( - date, - startTime, - endTime, - agendaItem, - agendaItemType, - setupType, - roomSize, - numberOfPeople, - twentyFourHourHold, - note); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSeatingCapacity.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSeatingCapacity.java new file mode 100644 index 000000000..543bc5ee9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSeatingCapacity.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * MeetingRoomSeatingCapacity + * + *

Maximum number of attendees for a specific seating style in a meeting room. + */ +public class MeetingRoomSeatingCapacity { + /** + * The seating arrangement style for a meeting room. Values represent standard event industry seating + * configurations. + */ + @JsonProperty("layoutType") + private SeatingLayoutType layoutType; + + /** + * Maximum number of attendees for this seating style. + */ + @JsonProperty("maxAttendees") + private long maxAttendees; + + @JsonCreator + public MeetingRoomSeatingCapacity( + @JsonProperty("layoutType") @Nonnull SeatingLayoutType layoutType, + @JsonProperty("maxAttendees") long maxAttendees) { + this.layoutType = Optional.ofNullable(layoutType) + .orElseThrow(() -> new IllegalArgumentException("layoutType cannot be null")); + this.maxAttendees = maxAttendees; + } + + /** + * The seating arrangement style for a meeting room. Values represent standard event industry seating + * configurations. + */ + public SeatingLayoutType layoutType() { + return this.layoutType; + } + + /** + * Maximum number of attendees for this seating style. + */ + public long maxAttendees() { + return this.maxAttendees; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The seating arrangement style for a meeting room. Values represent standard event industry seating + * configurations. + */ + public MeetingRoomSeatingCapacity withLayoutType(@Nonnull SeatingLayoutType layoutType) { + this.layoutType = Utils.checkNotNull(layoutType, "layoutType"); + return this; + } + + /** + * Maximum number of attendees for this seating style. + */ + public MeetingRoomSeatingCapacity withMaxAttendees(long maxAttendees) { + this.maxAttendees = maxAttendees; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomSeatingCapacity other = (MeetingRoomSeatingCapacity) o; + return Utils.enhancedDeepEquals(this.layoutType, other.layoutType) + && Utils.enhancedDeepEquals(this.maxAttendees, other.maxAttendees); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(layoutType, maxAttendees); + } + + @Override + public String toString() { + return Utils.toString(MeetingRoomSeatingCapacity.class, "layoutType", layoutType, "maxAttendees", maxAttendees); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private SeatingLayoutType layoutType; + + private long maxAttendees; + + private Builder() { + // force use of static builder() method + } + + /** + * The seating arrangement style for a meeting room. Values represent standard event industry seating + * configurations. + */ + public Builder layoutType(@Nonnull SeatingLayoutType layoutType) { + this.layoutType = Utils.checkNotNull(layoutType, "layoutType"); + return this; + } + + /** + * Maximum number of attendees for this seating style. + */ + public Builder maxAttendees(long maxAttendees) { + this.maxAttendees = maxAttendees; + return this; + } + + public MeetingRoomSeatingCapacity build() { + return new MeetingRoomSeatingCapacity(layoutType, maxAttendees); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSetupType.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSetupType.java new file mode 100644 index 000000000..0d0e7bd46 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSetupType.java @@ -0,0 +1,62 @@ +/* + * 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; + +/** + * MeetingRoomSetupType + * + *

Defines the setup types of a meeting room requirement. + */ +public enum MeetingRoomSetupType { + TENX10("10x10"), + EIGHTX10("8x10"), + BUFFET("Buffet"), + CABARET("Cabaret"), + CHEVRON("Chevron"), + CLASSROOM("Classroom"), + CONFERENCE("Conference"), + CRESCENT_ROUNDS("Crescent Rounds"), + FLOW("Flow"), + HERRINGBONE("Herringbone"), + HOLLOW_SQUARE("Hollow Square"), + ISLAND("Island"), + OTHER("Other"), + PENINSULA("Peninsula"), + PLATED("Plated"), + RECEPTION("Reception"), + ROUNDS("Rounds"), + ROUNDS_OF10("Rounds of 10"), + ROUNDS_OF6("Rounds of 6"), + ROUNDS_OF8("Rounds of 8"), + SCHOOL_ROOM("School Room"), + TABLETOP("Tabletop"), + THEATER("Theater"), + T_SHAPED("T-Shaped"), + U_SHAPED("U-Shaped"); + + @JsonValue + private final String value; + + MeetingRoomSetupType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (MeetingRoomSetupType o : MeetingRoomSetupType.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/MeetingRoomSetupTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSetupTypeJson.java deleted file mode 100644 index eba231467..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRoomSetupTypeJson.java +++ /dev/null @@ -1,62 +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; - -/** - * MeetingRoomSetupTypeJson - * - *

Defines the setup types of a meeting room requirement. - */ -public enum MeetingRoomSetupTypeJson { - TENX10("10x10"), - EIGHTX10("8x10"), - BUFFET("Buffet"), - CABARET("Cabaret"), - CHEVRON("Chevron"), - CLASSROOM("Classroom"), - CONFERENCE("Conference"), - CRESCENT_ROUNDS("Crescent Rounds"), - FLOW("Flow"), - HERRINGBONE("Herringbone"), - HOLLOW_SQUARE("Hollow Square"), - ISLAND("Island"), - OTHER("Other"), - PENINSULA("Peninsula"), - PLATED("Plated"), - RECEPTION("Reception"), - ROUNDS("Rounds"), - ROUNDS_OF10("Rounds of 10"), - ROUNDS_OF6("Rounds of 6"), - ROUNDS_OF8("Rounds of 8"), - SCHOOL_ROOM("School Room"), - TABLETOP("Tabletop"), - THEATER("Theater"), - T_SHAPED("T-Shaped"), - U_SHAPED("U-Shaped"); - - @JsonValue - private final String value; - - MeetingRoomSetupTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (MeetingRoomSetupTypeJson o : MeetingRoomSetupTypeJson.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/MeetingRoomsOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomsOverviewResponse.java new file mode 100644 index 000000000..c7c50efba --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRoomsOverviewResponse.java @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * MeetingRoomsOverviewResponse + * + *

Paginated overview of meeting rooms for a venue. + */ +public class MeetingRoomsOverviewResponse { + /** + * Represents pagination information for a collection of resources. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("paging") + private Paging paging; + + /** + * Overview of meeting rooms. + */ + @JsonProperty("data") + private List data; + + @JsonCreator + public MeetingRoomsOverviewResponse( + @JsonProperty("paging") @Nullable Paging paging, + @JsonProperty("data") @Nonnull List data) { + this.paging = paging; + this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); + } + + public MeetingRoomsOverviewResponse(@Nonnull List data) { + this(null, data); + } + + /** + * Represents pagination information for a collection of resources. + */ + public Optional paging() { + return Optional.ofNullable(this.paging); + } + + /** + * Overview of meeting rooms. + */ + public List data() { + return this.data; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Represents pagination information for a collection of resources. + */ + public MeetingRoomsOverviewResponse withPaging(@Nullable Paging paging) { + this.paging = paging; + return this; + } + + /** + * Overview of meeting rooms. + */ + public MeetingRoomsOverviewResponse withData(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MeetingRoomsOverviewResponse other = (MeetingRoomsOverviewResponse) o; + return Utils.enhancedDeepEquals(this.paging, other.paging) && Utils.enhancedDeepEquals(this.data, other.data); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(paging, data); + } + + @Override + public String toString() { + return Utils.toString(MeetingRoomsOverviewResponse.class, "paging", paging, "data", data); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Paging paging; + + private List data; + + private Builder() { + // force use of static builder() method + } + + /** + * Represents pagination information for a collection of resources. + */ + public Builder paging(@Nullable Paging paging) { + this.paging = paging; + return this; + } + + /** + * Overview of meeting rooms. + */ + public Builder data(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + public MeetingRoomsOverviewResponse build() { + return new MeetingRoomsOverviewResponse(paging, data); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoom.java b/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoom.java new file mode 100644 index 000000000..1d3556748 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoom.java @@ -0,0 +1,422 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * PatchMeetingRoom + * + *

Partial update payload for a venue meeting room. + */ +public class PatchMeetingRoom { + /** + * The name of the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The detailed description of the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private JsonNullable description; + + /** + * Physical dimensions for the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dimensions") + private PatchMeetingRoomDimensions dimensions; + + /** + * The position of this meeting room in the venue's room listing. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("displayOrder") + private Long displayOrder; + + /** + * The provider's own identifier for this meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalSourceId") + private JsonNullable externalSourceId; + + /** + * Rate information for move in/out and events. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rates") + private JsonNullable rates; + + /** + * Capacity information for the meeting room, grouped by category. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("capacities") + private JsonNullable capacities; + + /** + * List of amenities available in the meeting room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amenities") + private JsonNullable> amenities; + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hiddenOnProfile") + private Boolean hiddenOnProfile; + + @JsonCreator + public PatchMeetingRoom( + @JsonProperty("name") @Nullable String name, + @JsonProperty("description") @Nullable JsonNullable description, + @JsonProperty("dimensions") @Nullable PatchMeetingRoomDimensions dimensions, + @JsonProperty("displayOrder") @Nullable Long displayOrder, + @JsonProperty("externalSourceId") @Nullable JsonNullable externalSourceId, + @JsonProperty("rates") @Nullable JsonNullable rates, + @JsonProperty("capacities") @Nullable JsonNullable capacities, + @JsonProperty("amenities") @Nullable JsonNullable> amenities, + @JsonProperty("hiddenOnProfile") @Nullable Boolean hiddenOnProfile) { + this.name = name; + this.description = Optional.ofNullable(description).orElse(JsonNullable.undefined()); + this.dimensions = dimensions; + this.displayOrder = displayOrder; + this.externalSourceId = Optional.ofNullable(externalSourceId).orElse(JsonNullable.undefined()); + this.rates = Optional.ofNullable(rates).orElse(JsonNullable.undefined()); + this.capacities = Optional.ofNullable(capacities).orElse(JsonNullable.undefined()); + this.amenities = Optional.ofNullable(amenities).orElse(JsonNullable.undefined()); + this.hiddenOnProfile = hiddenOnProfile; + } + + public PatchMeetingRoom() { + this(null, null, null, null, null, null, null, null, null); + } + + /** + * The name of the meeting room. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The detailed description of the meeting room. + */ + public JsonNullable description() { + return this.description; + } + + /** + * Physical dimensions for the meeting room. + */ + public Optional dimensions() { + return Optional.ofNullable(this.dimensions); + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Optional displayOrder() { + return Optional.ofNullable(this.displayOrder); + } + + /** + * The provider's own identifier for this meeting room. + */ + public JsonNullable externalSourceId() { + return this.externalSourceId; + } + + /** + * Rate information for move in/out and events. + */ + public JsonNullable rates() { + return this.rates; + } + + /** + * Capacity information for the meeting room, grouped by category. + */ + public JsonNullable capacities() { + return this.capacities; + } + + /** + * List of amenities available in the meeting room. + */ + public JsonNullable> amenities() { + return this.amenities; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Optional hiddenOnProfile() { + return Optional.ofNullable(this.hiddenOnProfile); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of the meeting room. + */ + public PatchMeetingRoom withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The detailed description of the meeting room. + */ + public PatchMeetingRoom withDescription(@Nullable String description) { + this.description = JsonNullable.of(description); + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public PatchMeetingRoom withDimensions(@Nullable PatchMeetingRoomDimensions dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public PatchMeetingRoom withDisplayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public PatchMeetingRoom withExternalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = JsonNullable.of(externalSourceId); + return this; + } + + /** + * Rate information for move in/out and events. + */ + public PatchMeetingRoom withRates(@Nullable PatchMeetingRoomRates rates) { + this.rates = JsonNullable.of(rates); + return this; + } + + /** + * Capacity information for the meeting room, grouped by category. + */ + public PatchMeetingRoom withCapacities(@Nullable Capacities capacities) { + this.capacities = JsonNullable.of(capacities); + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public PatchMeetingRoom withAmenities(@Nullable List amenities) { + this.amenities = JsonNullable.of(amenities); + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public PatchMeetingRoom withHiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMeetingRoom other = (PatchMeetingRoom) o; + return Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.dimensions, other.dimensions) + && Utils.enhancedDeepEquals(this.displayOrder, other.displayOrder) + && Utils.enhancedDeepEquals(this.externalSourceId, other.externalSourceId) + && Utils.enhancedDeepEquals(this.rates, other.rates) + && Utils.enhancedDeepEquals(this.capacities, other.capacities) + && Utils.enhancedDeepEquals(this.amenities, other.amenities) + && Utils.enhancedDeepEquals(this.hiddenOnProfile, other.hiddenOnProfile); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile); + } + + @Override + public String toString() { + return Utils.toString( + PatchMeetingRoom.class, + "name", + name, + "description", + description, + "dimensions", + dimensions, + "displayOrder", + displayOrder, + "externalSourceId", + externalSourceId, + "rates", + rates, + "capacities", + capacities, + "amenities", + amenities, + "hiddenOnProfile", + hiddenOnProfile); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private JsonNullable description; + + private PatchMeetingRoomDimensions dimensions; + + private Long displayOrder; + + private JsonNullable externalSourceId; + + private JsonNullable rates; + + private JsonNullable capacities; + + private JsonNullable> amenities; + + private Boolean hiddenOnProfile; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the meeting room. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The detailed description of the meeting room. + */ + public Builder description(@Nullable String description) { + this.description = JsonNullable.of(description); + return this; + } + + /** + * Physical dimensions for the meeting room. + */ + public Builder dimensions(@Nullable PatchMeetingRoomDimensions dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * The position of this meeting room in the venue's room listing. + */ + public Builder displayOrder(@Nullable Long displayOrder) { + this.displayOrder = displayOrder; + return this; + } + + /** + * The provider's own identifier for this meeting room. + */ + public Builder externalSourceId(@Nullable String externalSourceId) { + this.externalSourceId = JsonNullable.of(externalSourceId); + return this; + } + + /** + * Rate information for move in/out and events. + */ + public Builder rates(@Nullable PatchMeetingRoomRates rates) { + this.rates = JsonNullable.of(rates); + return this; + } + + /** + * Capacity information for the meeting room, grouped by category. + */ + public Builder capacities(@Nullable Capacities capacities) { + this.capacities = JsonNullable.of(capacities); + return this; + } + + /** + * List of amenities available in the meeting room. + */ + public Builder amenities(@Nullable List amenities) { + this.amenities = JsonNullable.of(amenities); + return this; + } + + /** + * True indicates the meeting room is hidden on the venue profile. + */ + public Builder hiddenOnProfile(@Nullable Boolean hiddenOnProfile) { + this.hiddenOnProfile = hiddenOnProfile; + return this; + } + + public PatchMeetingRoom build() { + return new PatchMeetingRoom( + name, + description, + dimensions, + displayOrder, + externalSourceId, + rates, + capacities, + amenities, + hiddenOnProfile); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoomDimensions.java b/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoomDimensions.java new file mode 100644 index 000000000..1823c0a05 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoomDimensions.java @@ -0,0 +1,215 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * PatchMeetingRoomDimensions + * + *

Physical dimensions for the meeting room. + */ +public class PatchMeetingRoomDimensions { + /** + * Measurement of area in square feet or square meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalSpace") + private AreaMeasurement totalSpace; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ceilingHeight") + private Dimension ceilingHeight; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("length") + private Dimension length; + + /** + * A dimension measurement in feet or meters. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("width") + private Dimension width; + + @JsonCreator + public PatchMeetingRoomDimensions( + @JsonProperty("totalSpace") @Nullable AreaMeasurement totalSpace, + @JsonProperty("ceilingHeight") @Nullable Dimension ceilingHeight, + @JsonProperty("length") @Nullable Dimension length, + @JsonProperty("width") @Nullable Dimension width) { + this.totalSpace = totalSpace; + this.ceilingHeight = ceilingHeight; + this.length = length; + this.width = width; + } + + public PatchMeetingRoomDimensions() { + this(null, null, null, null); + } + + /** + * Measurement of area in square feet or square meters. + */ + public Optional totalSpace() { + return Optional.ofNullable(this.totalSpace); + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional ceilingHeight() { + return Optional.ofNullable(this.ceilingHeight); + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional length() { + return Optional.ofNullable(this.length); + } + + /** + * A dimension measurement in feet or meters. + */ + public Optional width() { + return Optional.ofNullable(this.width); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Measurement of area in square feet or square meters. + */ + public PatchMeetingRoomDimensions withTotalSpace(@Nullable AreaMeasurement totalSpace) { + this.totalSpace = totalSpace; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public PatchMeetingRoomDimensions withCeilingHeight(@Nullable Dimension ceilingHeight) { + this.ceilingHeight = ceilingHeight; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public PatchMeetingRoomDimensions withLength(@Nullable Dimension length) { + this.length = length; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public PatchMeetingRoomDimensions withWidth(@Nullable Dimension width) { + this.width = width; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMeetingRoomDimensions other = (PatchMeetingRoomDimensions) o; + return Utils.enhancedDeepEquals(this.totalSpace, other.totalSpace) + && Utils.enhancedDeepEquals(this.ceilingHeight, other.ceilingHeight) + && Utils.enhancedDeepEquals(this.length, other.length) + && Utils.enhancedDeepEquals(this.width, other.width); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(totalSpace, ceilingHeight, length, width); + } + + @Override + public String toString() { + return Utils.toString( + PatchMeetingRoomDimensions.class, + "totalSpace", + totalSpace, + "ceilingHeight", + ceilingHeight, + "length", + length, + "width", + width); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private AreaMeasurement totalSpace; + + private Dimension ceilingHeight; + + private Dimension length; + + private Dimension width; + + private Builder() { + // force use of static builder() method + } + + /** + * Measurement of area in square feet or square meters. + */ + public Builder totalSpace(@Nullable AreaMeasurement totalSpace) { + this.totalSpace = totalSpace; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder ceilingHeight(@Nullable Dimension ceilingHeight) { + this.ceilingHeight = ceilingHeight; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder length(@Nullable Dimension length) { + this.length = length; + return this; + } + + /** + * A dimension measurement in feet or meters. + */ + public Builder width(@Nullable Dimension width) { + this.width = width; + return this; + } + + public PatchMeetingRoomDimensions build() { + return new PatchMeetingRoomDimensions(totalSpace, ceilingHeight, length, width); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoomRates.java b/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoomRates.java new file mode 100644 index 000000000..ac885138f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PatchMeetingRoomRates.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * PatchMeetingRoomRates + * + *

Rate information for move in/out and events. + */ +public class PatchMeetingRoomRates { + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("moveIn") + private MeetingRoomRate moveIn; + + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("moveOut") + private MeetingRoomRate moveOut; + + /** + * Meeting room rate with a value and application type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("event") + private MeetingRoomRate event; + + @JsonCreator + public PatchMeetingRoomRates( + @JsonProperty("moveIn") @Nullable MeetingRoomRate moveIn, + @JsonProperty("moveOut") @Nullable MeetingRoomRate moveOut, + @JsonProperty("event") @Nullable MeetingRoomRate event) { + this.moveIn = moveIn; + this.moveOut = moveOut; + this.event = event; + } + + public PatchMeetingRoomRates() { + this(null, null, null); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional moveIn() { + return Optional.ofNullable(this.moveIn); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional moveOut() { + return Optional.ofNullable(this.moveOut); + } + + /** + * Meeting room rate with a value and application type. + */ + public Optional event() { + return Optional.ofNullable(this.event); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Meeting room rate with a value and application type. + */ + public PatchMeetingRoomRates withMoveIn(@Nullable MeetingRoomRate moveIn) { + this.moveIn = moveIn; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public PatchMeetingRoomRates withMoveOut(@Nullable MeetingRoomRate moveOut) { + this.moveOut = moveOut; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public PatchMeetingRoomRates withEvent(@Nullable MeetingRoomRate event) { + this.event = event; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMeetingRoomRates other = (PatchMeetingRoomRates) o; + return Utils.enhancedDeepEquals(this.moveIn, other.moveIn) + && Utils.enhancedDeepEquals(this.moveOut, other.moveOut) + && Utils.enhancedDeepEquals(this.event, other.event); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(moveIn, moveOut, event); + } + + @Override + public String toString() { + return Utils.toString(PatchMeetingRoomRates.class, "moveIn", moveIn, "moveOut", moveOut, "event", event); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private MeetingRoomRate moveIn; + + private MeetingRoomRate moveOut; + + private MeetingRoomRate event; + + private Builder() { + // force use of static builder() method + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder moveIn(@Nullable MeetingRoomRate moveIn) { + this.moveIn = moveIn; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder moveOut(@Nullable MeetingRoomRate moveOut) { + this.moveOut = moveOut; + return this; + } + + /** + * Meeting room rate with a value and application type. + */ + public Builder event(@Nullable MeetingRoomRate event) { + this.event = event; + return this; + } + + public PatchMeetingRoomRates build() { + return new PatchMeetingRoomRates(moveIn, moveOut, event); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PollResponse.java b/packages/java/src/main/java/com/cvent/models/components/PollResponse.java new file mode 100644 index 000000000..ef0b7c7c7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PollResponse.java @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * PollResponse + * + *

This is used to denote the poll details. + */ +public class PollResponse { + /** + * The name of the poll. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The list of question and answers for a poll. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responses") + private List responses; + + @JsonCreator + public PollResponse( + @JsonProperty("name") @Nullable String name, + @JsonProperty("responses") @Nullable List responses) { + this.name = name; + this.responses = responses; + } + + public PollResponse() { + this(null, null); + } + + /** + * The name of the poll. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The list of question and answers for a poll. + */ + public Optional> responses() { + return Optional.ofNullable(this.responses); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of the poll. + */ + public PollResponse withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The list of question and answers for a poll. + */ + public PollResponse withResponses(@Nullable List responses) { + this.responses = responses; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PollResponse other = (PollResponse) o; + return Utils.enhancedDeepEquals(this.name, other.name) && Utils.enhancedDeepEquals(this.responses, other.responses); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(name, responses); + } + + @Override + public String toString() { + return Utils.toString(PollResponse.class, "name", name, "responses", responses); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private List responses; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the poll. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The list of question and answers for a poll. + */ + public Builder responses(@Nullable List responses) { + this.responses = responses; + return this; + } + + public PollResponse build() { + return new PollResponse(name, responses); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PollResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/PollResponseJson.java deleted file mode 100644 index 8f5798c41..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/PollResponseJson.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * PollResponseJson - * - *

This is used to denote the poll details. - */ -public class PollResponseJson { - /** - * The name of the poll. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The list of question and answers for a poll. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responses") - private List responses; - - @JsonCreator - public PollResponseJson( - @JsonProperty("name") @Nullable String name, - @JsonProperty("responses") @Nullable List responses) { - this.name = name; - this.responses = responses; - } - - public PollResponseJson() { - this(null, null); - } - - /** - * The name of the poll. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The list of question and answers for a poll. - */ - public Optional> responses() { - return Optional.ofNullable(this.responses); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The name of the poll. - */ - public PollResponseJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The list of question and answers for a poll. - */ - public PollResponseJson withResponses(@Nullable List responses) { - this.responses = responses; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PollResponseJson other = (PollResponseJson) o; - return Utils.enhancedDeepEquals(this.name, other.name) && Utils.enhancedDeepEquals(this.responses, other.responses); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(name, responses); - } - - @Override - public String toString() { - return Utils.toString(PollResponseJson.class, "name", name, "responses", responses); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String name; - - private List responses; - - private Builder() { - // force use of static builder() method - } - - /** - * The name of the poll. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The list of question and answers for a poll. - */ - public Builder responses(@Nullable List responses) { - this.responses = responses; - return this; - } - - public PollResponseJson build() { - return new PollResponseJson(name, responses); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessForm.java b/packages/java/src/main/java/com/cvent/models/components/ProcessForm.java new file mode 100644 index 000000000..59acba7eb --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ProcessForm.java @@ -0,0 +1,102 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * ProcessForm + * + *

An object that contains the process form ID. + * + *

This is an **expandable** object and if requested will contain the name of a process form object. + */ +public class ProcessForm { + /** + * The ID of the process form. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ProcessForm(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ProcessForm() { + this(null); + } + + /** + * The ID of the process form. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ID of the process form. + */ + public ProcessForm withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ProcessForm other = (ProcessForm) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ProcessForm.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID of the process form. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ProcessForm build() { + return new ProcessForm(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormJson.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormJson.java deleted file mode 100644 index dee44d96d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ProcessFormJson.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ProcessFormJson - * - *

An object that contains the process form ID. - * - *

This is an **expandable** object and if requested will contain the name of a process form object. - */ -public class ProcessFormJson { - /** - * The ID of the process form. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ProcessFormJson(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ProcessFormJson() { - this(null); - } - - /** - * The ID of the process form. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ID of the process form. - */ - public ProcessFormJson withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProcessFormJson other = (ProcessFormJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ProcessFormJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The ID of the process form. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ProcessFormJson build() { - return new ProcessFormJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormQuestionTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormQuestionTypeJson.java deleted file mode 100644 index 142093524..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ProcessFormQuestionTypeJson.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * ProcessFormQuestionTypeJson - * - *

Denotes the type of data collected by a question. - */ -public enum ProcessFormQuestionTypeJson { - COMMENT_BOX("CommentBox"), - CURRENCY("Currency"), - DECIMAL("Decimal"), - DATE_TIME("DateTime"), - EMAIL("Email"), - GENERAL("General"), - NUMBER("Number"), - MULTI_SELECT("MultiSelect"), - SINGLE_SELECT("SingleSelect"), - US_PHONE_NUMBER("USPhoneNumber"), - UNKNOWN("Unknown"); - - @JsonValue - private final String value; - - ProcessFormQuestionTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ProcessFormQuestionTypeJson o : ProcessFormQuestionTypeJson.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/ProcessFormSubmission.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmission.java new file mode 100644 index 000000000..2af509852 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmission.java @@ -0,0 +1,411 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Optional; + +/** + * ProcessFormSubmission + * + *

Represents a process form submission in the context of a specific event. + */ +public class ProcessFormSubmission { + /** + * The ISO 8601 zoned date time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The identifier of the user that created this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("createdBy") + private String createdBy; + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The identifier of the user that last updated this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * The unique ID representing the process form submission. + */ + @JsonProperty("id") + private String id; + + /** + * The event which the process form submission is associated with. + */ + @JsonProperty("event") + private ProcessFormSubmissionEvent event; + + /** + * An object that contains the process form ID. + * + *

This is an **expandable** object and if requested will contain the name of a process form object. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("process-form") + private ProcessForm processForm; + + /** + * The status of the process form submission. The status is planner defined and can be any string. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private String status; + + /** + * The list of possible answers to a question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("questions") + private List questions; + + @JsonCreator + public ProcessFormSubmission( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("id") @Nonnull String id, + @JsonProperty("event") @Nonnull ProcessFormSubmissionEvent event, + @JsonProperty("process-form") @Nullable ProcessForm processForm, + @JsonProperty("status") @Nullable String status, + @JsonProperty("questions") @Nullable List questions) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); + this.processForm = processForm; + this.status = status; + this.questions = questions; + } + + public ProcessFormSubmission(@Nonnull String id, @Nonnull ProcessFormSubmissionEvent event) { + this(null, null, null, null, id, event, null, null, null); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * The unique ID representing the process form submission. + */ + public String id() { + return this.id; + } + + /** + * The event which the process form submission is associated with. + */ + public ProcessFormSubmissionEvent event() { + return this.event; + } + + /** + * An object that contains the process form ID. + * + *

This is an **expandable** object and if requested will contain the name of a process form object. + */ + public Optional processForm() { + return Optional.ofNullable(this.processForm); + } + + /** + * The status of the process form submission. The status is planner defined and can be any string. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * The list of possible answers to a question. + */ + public Optional> questions() { + return Optional.ofNullable(this.questions); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public ProcessFormSubmission withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public ProcessFormSubmission withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public ProcessFormSubmission withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public ProcessFormSubmission withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The unique ID representing the process form submission. + */ + public ProcessFormSubmission withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The event which the process form submission is associated with. + */ + public ProcessFormSubmission withEvent(@Nonnull ProcessFormSubmissionEvent event) { + this.event = Utils.checkNotNull(event, "event"); + return this; + } + + /** + * An object that contains the process form ID. + * + *

This is an **expandable** object and if requested will contain the name of a process form object. + */ + public ProcessFormSubmission withProcessForm(@Nullable ProcessForm processForm) { + this.processForm = processForm; + return this; + } + + /** + * The status of the process form submission. The status is planner defined and can be any string. + */ + public ProcessFormSubmission withStatus(@Nullable String status) { + this.status = status; + return this; + } + + /** + * The list of possible answers to a question. + */ + public ProcessFormSubmission withQuestions(@Nullable List questions) { + this.questions = questions; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ProcessFormSubmission other = (ProcessFormSubmission) o; + return Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.event, other.event) + && Utils.enhancedDeepEquals(this.processForm, other.processForm) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.questions, other.questions); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, createdBy, lastModified, lastModifiedBy, id, event, processForm, status, questions); + } + + @Override + public String toString() { + return Utils.toString( + ProcessFormSubmission.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "id", + id, + "event", + event, + "processForm", + processForm, + "status", + status, + "questions", + questions); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private String id; + + private ProcessFormSubmissionEvent event; + + private ProcessForm processForm; + + private String status; + + private List questions; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The unique ID representing the process form submission. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The event which the process form submission is associated with. + */ + public Builder event(@Nonnull ProcessFormSubmissionEvent event) { + this.event = Utils.checkNotNull(event, "event"); + return this; + } + + /** + * An object that contains the process form ID. + * + *

This is an **expandable** object and if requested will contain the name of a process form object. + */ + public Builder processForm(@Nullable ProcessForm processForm) { + this.processForm = processForm; + return this; + } + + /** + * The status of the process form submission. The status is planner defined and can be any string. + */ + public Builder status(@Nullable String status) { + this.status = status; + return this; + } + + /** + * The list of possible answers to a question. + */ + public Builder questions(@Nullable List questions) { + this.questions = questions; + return this; + } + + public ProcessFormSubmission build() { + return new ProcessFormSubmission( + created, createdBy, lastModified, lastModifiedBy, id, event, processForm, status, questions); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionEvent.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionEvent.java new file mode 100644 index 000000000..d0691fa28 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionEvent.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ProcessFormSubmissionEvent + * + *

The event which the process form submission is associated with. + */ +public class ProcessFormSubmissionEvent { + /** + * The unique ID of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public ProcessFormSubmissionEvent(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ProcessFormSubmissionEvent() { + this(null); + } + + /** + * The unique ID of the event. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the event. + */ + public ProcessFormSubmissionEvent withId(@Nullable String id) { + this.id = id; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ProcessFormSubmissionEvent other = (ProcessFormSubmissionEvent) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ProcessFormSubmissionEvent.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the event. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ProcessFormSubmissionEvent build() { + return new ProcessFormSubmissionEvent(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionJson.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionJson.java deleted file mode 100644 index fd78bbdd9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionJson.java +++ /dev/null @@ -1,411 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.List; -import java.util.Optional; - -/** - * ProcessFormSubmissionJson - * - *

Represents a process form submission in the context of a specific event. - */ -public class ProcessFormSubmissionJson { - /** - * The ISO 8601 zoned date time when this record was created. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("created") - private OffsetDateTime created; - - /** - * The identifier of the user that created this record. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("createdBy") - private String createdBy; - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModified") - private OffsetDateTime lastModified; - - /** - * The identifier of the user that last updated this record. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModifiedBy") - private String lastModifiedBy; - - /** - * The unique ID representing the process form submission. - */ - @JsonProperty("id") - private String id; - - /** - * The event which the process form submission is associated with. - */ - @JsonProperty("event") - private ProcessFormSubmissionJsonEvent event; - - /** - * An object that contains the process form ID. - * - *

This is an **expandable** object and if requested will contain the name of a process form object. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("process-form") - private ProcessFormJson processForm; - - /** - * The status of the process form submission. The status is planner defined and can be any string. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private String status; - - /** - * The list of possible answers to a question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("questions") - private List questions; - - @JsonCreator - public ProcessFormSubmissionJson( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("id") @Nonnull String id, - @JsonProperty("event") @Nonnull ProcessFormSubmissionJsonEvent event, - @JsonProperty("process-form") @Nullable ProcessFormJson processForm, - @JsonProperty("status") @Nullable String status, - @JsonProperty("questions") @Nullable List questions) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); - this.processForm = processForm; - this.status = status; - this.questions = questions; - } - - public ProcessFormSubmissionJson(@Nonnull String id, @Nonnull ProcessFormSubmissionJsonEvent event) { - this(null, null, null, null, id, event, null, null, null); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public Optional created() { - return Optional.ofNullable(this.created); - } - - /** - * The identifier of the user that created this record. - */ - public Optional createdBy() { - return Optional.ofNullable(this.createdBy); - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public Optional lastModified() { - return Optional.ofNullable(this.lastModified); - } - - /** - * The identifier of the user that last updated this record. - */ - public Optional lastModifiedBy() { - return Optional.ofNullable(this.lastModifiedBy); - } - - /** - * The unique ID representing the process form submission. - */ - public String id() { - return this.id; - } - - /** - * The event which the process form submission is associated with. - */ - public ProcessFormSubmissionJsonEvent event() { - return this.event; - } - - /** - * An object that contains the process form ID. - * - *

This is an **expandable** object and if requested will contain the name of a process form object. - */ - public Optional processForm() { - return Optional.ofNullable(this.processForm); - } - - /** - * The status of the process form submission. The status is planner defined and can be any string. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - /** - * The list of possible answers to a question. - */ - public Optional> questions() { - return Optional.ofNullable(this.questions); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public ProcessFormSubmissionJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public ProcessFormSubmissionJson withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public ProcessFormSubmissionJson withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public ProcessFormSubmissionJson withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The unique ID representing the process form submission. - */ - public ProcessFormSubmissionJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The event which the process form submission is associated with. - */ - public ProcessFormSubmissionJson withEvent(@Nonnull ProcessFormSubmissionJsonEvent event) { - this.event = Utils.checkNotNull(event, "event"); - return this; - } - - /** - * An object that contains the process form ID. - * - *

This is an **expandable** object and if requested will contain the name of a process form object. - */ - public ProcessFormSubmissionJson withProcessForm(@Nullable ProcessFormJson processForm) { - this.processForm = processForm; - return this; - } - - /** - * The status of the process form submission. The status is planner defined and can be any string. - */ - public ProcessFormSubmissionJson withStatus(@Nullable String status) { - this.status = status; - return this; - } - - /** - * The list of possible answers to a question. - */ - public ProcessFormSubmissionJson withQuestions(@Nullable List questions) { - this.questions = questions; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProcessFormSubmissionJson other = (ProcessFormSubmissionJson) o; - return Utils.enhancedDeepEquals(this.created, other.created) - && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) - && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) - && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.event, other.event) - && Utils.enhancedDeepEquals(this.processForm, other.processForm) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.questions, other.questions); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - created, createdBy, lastModified, lastModifiedBy, id, event, processForm, status, questions); - } - - @Override - public String toString() { - return Utils.toString( - ProcessFormSubmissionJson.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "id", - id, - "event", - event, - "processForm", - processForm, - "status", - status, - "questions", - questions); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private String id; - - private ProcessFormSubmissionJsonEvent event; - - private ProcessFormJson processForm; - - private String status; - - private List questions; - - private Builder() { - // force use of static builder() method - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public Builder created(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public Builder createdBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public Builder lastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public Builder lastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The unique ID representing the process form submission. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The event which the process form submission is associated with. - */ - public Builder event(@Nonnull ProcessFormSubmissionJsonEvent event) { - this.event = Utils.checkNotNull(event, "event"); - return this; - } - - /** - * An object that contains the process form ID. - * - *

This is an **expandable** object and if requested will contain the name of a process form object. - */ - public Builder processForm(@Nullable ProcessFormJson processForm) { - this.processForm = processForm; - return this; - } - - /** - * The status of the process form submission. The status is planner defined and can be any string. - */ - public Builder status(@Nullable String status) { - this.status = status; - return this; - } - - /** - * The list of possible answers to a question. - */ - public Builder questions(@Nullable List questions) { - this.questions = questions; - return this; - } - - public ProcessFormSubmissionJson build() { - return new ProcessFormSubmissionJson( - created, createdBy, lastModified, lastModifiedBy, id, event, processForm, status, questions); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionJsonEvent.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionJsonEvent.java deleted file mode 100644 index 3721cdf57..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionJsonEvent.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ProcessFormSubmissionJsonEvent - * - *

The event which the process form submission is associated with. - */ -public class ProcessFormSubmissionJsonEvent { - /** - * The unique ID of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ProcessFormSubmissionJsonEvent(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ProcessFormSubmissionJsonEvent() { - this(null); - } - - /** - * The unique ID of the event. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the event. - */ - public ProcessFormSubmissionJsonEvent withId(@Nullable String id) { - this.id = id; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProcessFormSubmissionJsonEvent other = (ProcessFormSubmissionJsonEvent) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ProcessFormSubmissionJsonEvent.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the event. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ProcessFormSubmissionJsonEvent build() { - return new ProcessFormSubmissionJsonEvent(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestion.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestion.java new file mode 100644 index 000000000..c133cc754 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestion.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * ProcessFormSubmissionQuestion + * + *

A question for a process form submission. + */ +public class ProcessFormSubmissionQuestion { + /** + * The unique ID representing this question. + */ + @JsonProperty("id") + private String id; + + /** + * The actual text of the custom field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Denotes the type of data collected by a question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private QuestionType11 type; + + /** + * The set of answers to the question. + */ + @JsonProperty("value") + private List value; + + @JsonCreator + public ProcessFormSubmissionQuestion( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("type") @Nullable QuestionType11 type, + @JsonProperty("value") @Nonnull List value) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + this.type = type; + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + } + + public ProcessFormSubmissionQuestion(@Nonnull String id, @Nonnull List value) { + this(id, null, null, value); + } + + /** + * The unique ID representing this question. + */ + public String id() { + return this.id; + } + + /** + * The actual text of the custom field. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Denotes the type of data collected by a question. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The set of answers to the question. + */ + public List value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID representing this question. + */ + public ProcessFormSubmissionQuestion withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The actual text of the custom field. + */ + public ProcessFormSubmissionQuestion withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Denotes the type of data collected by a question. + */ + public ProcessFormSubmissionQuestion withType(@Nullable QuestionType11 type) { + this.type = type; + return this; + } + + /** + * The set of answers to the question. + */ + public ProcessFormSubmissionQuestion withValue(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ProcessFormSubmissionQuestion other = (ProcessFormSubmissionQuestion) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.value, other.value); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, type, value); + } + + @Override + public String toString() { + return Utils.toString( + ProcessFormSubmissionQuestion.class, "id", id, "name", name, "type", type, "value", value); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private QuestionType11 type; + + private List value; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID representing this question. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The actual text of the custom field. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Denotes the type of data collected by a question. + */ + public Builder type(@Nullable QuestionType11 type) { + this.type = type; + return this; + } + + /** + * The set of answers to the question. + */ + public Builder value(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + public ProcessFormSubmissionQuestion build() { + return new ProcessFormSubmissionQuestion(id, name, type, value); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestionJson.java deleted file mode 100644 index a140b78bf..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionQuestionJson.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * ProcessFormSubmissionQuestionJson - * - *

A question for a process form submission. - */ -public class ProcessFormSubmissionQuestionJson { - /** - * The unique ID representing this question. - */ - @JsonProperty("id") - private String id; - - /** - * The actual text of the custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Denotes the type of data collected by a question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private ProcessFormQuestionTypeJson type; - - /** - * The set of answers to the question. - */ - @JsonProperty("value") - private List value; - - @JsonCreator - public ProcessFormSubmissionQuestionJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("type") @Nullable ProcessFormQuestionTypeJson type, - @JsonProperty("value") @Nonnull List value) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - this.type = type; - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - } - - public ProcessFormSubmissionQuestionJson(@Nonnull String id, @Nonnull List value) { - this(id, null, null, value); - } - - /** - * The unique ID representing this question. - */ - public String id() { - return this.id; - } - - /** - * The actual text of the custom field. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Denotes the type of data collected by a question. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The set of answers to the question. - */ - public List value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID representing this question. - */ - public ProcessFormSubmissionQuestionJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public ProcessFormSubmissionQuestionJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Denotes the type of data collected by a question. - */ - public ProcessFormSubmissionQuestionJson withType(@Nullable ProcessFormQuestionTypeJson type) { - this.type = type; - return this; - } - - /** - * The set of answers to the question. - */ - public ProcessFormSubmissionQuestionJson withValue(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProcessFormSubmissionQuestionJson other = (ProcessFormSubmissionQuestionJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.value, other.value); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, type, value); - } - - @Override - public String toString() { - return Utils.toString( - ProcessFormSubmissionQuestionJson.class, "id", id, "name", name, "type", type, "value", value); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private ProcessFormQuestionTypeJson type; - - private List value; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID representing this question. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Denotes the type of data collected by a question. - */ - public Builder type(@Nullable ProcessFormQuestionTypeJson type) { - this.type = type; - return this; - } - - /** - * The set of answers to the question. - */ - public Builder value(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - public ProcessFormSubmissionQuestionJson build() { - return new ProcessFormSubmissionQuestionJson(id, name, type, value); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionsPaginatedResponse.java index 30e68d27c..d78e94db6 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ProcessFormSubmissionsPaginatedResponse.java @@ -23,18 +23,18 @@ public class ProcessFormSubmissionsPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of process form submission objects. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public ProcessFormSubmissionsPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull Paging paging, + @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); @@ -43,14 +43,14 @@ public ProcessFormSubmissionsPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of process form submission objects. */ - public List data() { + public List data() { return this.data; } @@ -61,7 +61,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public ProcessFormSubmissionsPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public ProcessFormSubmissionsPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -69,7 +69,7 @@ public ProcessFormSubmissionsPaginatedResponse withPaging(@Nonnull PagingJson pa /** * Collection of process form submission objects. */ - public ProcessFormSubmissionsPaginatedResponse withData(@Nonnull List data) { + public ProcessFormSubmissionsPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,9 +99,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -110,7 +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; } @@ -118,7 +118,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of process form submission objects. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Question2.java b/packages/java/src/main/java/com/cvent/models/components/Question2.java new file mode 100644 index 000000000..b341a38f2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Question2.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * Question2 + * + *

The question that was answered. + */ +public class Question2 { + /** + * The unique identifier of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Question text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Question code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonCreator + public Question2( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("code") @Nullable String code) { + this.id = id; + this.text = text; + this.code = code; + } + + public Question2() { + this(null, null, null); + } + + /** + * The unique identifier of the question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Question text. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Question code. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the question. + */ + public Question2 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public Question2 withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Question code. + */ + public Question2 withCode(@Nullable String code) { + this.code = code; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Question2 other = (Question2) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.code, other.code); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, code); + } + + @Override + public String toString() { + return Utils.toString(Question2.class, "id", id, "text", text, "code", code); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String code; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Question code. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public Question2 build() { + return new Question2(id, text, code); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionDetail.java b/packages/java/src/main/java/com/cvent/models/components/QuestionDetail.java new file mode 100644 index 000000000..3e20549e2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionDetail.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * QuestionDetail + * + *

The question asked in a session. + */ +public class QuestionDetail { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Question text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + @JsonCreator + public QuestionDetail(@JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text) { + this.id = id; + this.text = text; + } + + public QuestionDetail() { + this(null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Question text. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public QuestionDetail withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public QuestionDetail withText(@Nullable String text) { + this.text = text; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuestionDetail other = (QuestionDetail) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text); + } + + @Override + public String toString() { + return Utils.toString(QuestionDetail.class, "id", id, "text", text); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Question text. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + public QuestionDetail build() { + return new QuestionDetail(id, text); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionDetailJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionDetailJson.java deleted file mode 100644 index bc244203d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionDetailJson.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * QuestionDetailJson - * - *

The question asked in a session. - */ -public class QuestionDetailJson { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Question text. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - @JsonCreator - public QuestionDetailJson(@JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text) { - this.id = id; - this.text = text; - } - - public QuestionDetailJson() { - this(null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Question text. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public QuestionDetailJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public QuestionDetailJson withText(@Nullable String text) { - this.text = text; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuestionDetailJson other = (QuestionDetailJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text); - } - - @Override - public String toString() { - return Utils.toString(QuestionDetailJson.class, "id", id, "text", text); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - public QuestionDetailJson build() { - return new QuestionDetailJson(id, text); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java b/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java index 2c80d9b9d..7d9c0978a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java @@ -94,7 +94,7 @@ public class QuestionJson1 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson1 type; + private QuestionTypeJson type; /** * List of choices for the question. @@ -191,7 +191,7 @@ public QuestionJson1( @JsonProperty("shortText") @Nullable String shortText, @JsonProperty("htmlText") @Nullable String htmlText, @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable QuestionTypeJson1 type, + @JsonProperty("type") @Nullable QuestionTypeJson type, @JsonProperty("choices") @Nullable List choices, @JsonProperty("categories") @Nullable List categories, @JsonProperty("subCategories") @Nullable List subCategories, @@ -320,7 +320,7 @@ public Optional code() { /** * Question Type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -487,7 +487,7 @@ public QuestionJson1 withCode(@Nullable String code) { /** * Question Type. */ - public QuestionJson1 withType(@Nullable QuestionTypeJson1 type) { + public QuestionJson1 withType(@Nullable QuestionTypeJson type) { this.type = type; return this; } @@ -719,7 +719,7 @@ public static final class Builder { private String code; - private QuestionTypeJson1 type; + private QuestionTypeJson type; private List choices; @@ -824,7 +824,7 @@ public Builder code(@Nullable String code) { /** * Question Type. */ - public Builder type(@Nullable QuestionTypeJson1 type) { + public Builder type(@Nullable QuestionTypeJson type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionJson2.java b/packages/java/src/main/java/com/cvent/models/components/QuestionJson2.java deleted file mode 100644 index d7ffac547..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionJson2.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * QuestionJson2 - * - *

The question that was answered. - */ -public class QuestionJson2 { - /** - * The unique identifier of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Question text. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Question code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public QuestionJson2( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("code") @Nullable String code) { - this.id = id; - this.text = text; - this.code = code; - } - - public QuestionJson2() { - this(null, null, null); - } - - /** - * The unique identifier of the question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Question text. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Question code. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the question. - */ - public QuestionJson2 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public QuestionJson2 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Question code. - */ - public QuestionJson2 withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuestionJson2 other = (QuestionJson2) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, code); - } - - @Override - public String toString() { - return Utils.toString(QuestionJson2.class, "id", id, "text", text, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the question. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Question code. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public QuestionJson2 build() { - return new QuestionJson2(id, text, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionResponse.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponse.java new file mode 100644 index 000000000..d6a002a83 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionResponse.java @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; + +/** + * QuestionResponse + * + *

A Question response. + */ +public class QuestionResponse { + /** + * The question that was answered. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("question") + private Question2 question; + + /** + * List of answers. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answers") + private List answers; + + @JsonCreator + public QuestionResponse( + @JsonProperty("question") @Nullable Question2 question, + @JsonProperty("answers") @Nullable List answers) { + this.question = question; + this.answers = answers; + } + + public QuestionResponse() { + this(null, null); + } + + /** + * The question that was answered. + */ + public Optional question() { + return Optional.ofNullable(this.question); + } + + /** + * List of answers. + */ + public Optional> answers() { + return Optional.ofNullable(this.answers); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The question that was answered. + */ + public QuestionResponse withQuestion(@Nullable Question2 question) { + this.question = question; + return this; + } + + /** + * List of answers. + */ + public QuestionResponse withAnswers(@Nullable List answers) { + this.answers = answers; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuestionResponse other = (QuestionResponse) o; + return Utils.enhancedDeepEquals(this.question, other.question) + && Utils.enhancedDeepEquals(this.answers, other.answers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(question, answers); + } + + @Override + public String toString() { + return Utils.toString(QuestionResponse.class, "question", question, "answers", answers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Question2 question; + + private List answers; + + private Builder() { + // force use of static builder() method + } + + /** + * The question that was answered. + */ + public Builder question(@Nullable Question2 question) { + this.question = question; + return this; + } + + /** + * List of answers. + */ + public Builder answers(@Nullable List answers) { + this.answers = answers; + return this; + } + + public QuestionResponse build() { + return new QuestionResponse(question, answers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseJson.java deleted file mode 100644 index 6f07cd2f9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseJson.java +++ /dev/null @@ -1,137 +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; - -/** - * QuestionResponseJson - * - *

A Question response. - */ -public class QuestionResponseJson { - /** - * The question that was answered. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("question") - private QuestionJson2 question; - - /** - * List of answers. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answers") - private List answers; - - @JsonCreator - public QuestionResponseJson( - @JsonProperty("question") @Nullable QuestionJson2 question, - @JsonProperty("answers") @Nullable List answers) { - this.question = question; - this.answers = answers; - } - - public QuestionResponseJson() { - this(null, null); - } - - /** - * The question that was answered. - */ - public Optional question() { - return Optional.ofNullable(this.question); - } - - /** - * List of answers. - */ - public Optional> answers() { - return Optional.ofNullable(this.answers); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The question that was answered. - */ - public QuestionResponseJson withQuestion(@Nullable QuestionJson2 question) { - this.question = question; - return this; - } - - /** - * List of answers. - */ - public QuestionResponseJson withAnswers(@Nullable List answers) { - this.answers = answers; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuestionResponseJson other = (QuestionResponseJson) o; - return Utils.enhancedDeepEquals(this.question, other.question) - && Utils.enhancedDeepEquals(this.answers, other.answers); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(question, answers); - } - - @Override - public String toString() { - return Utils.toString(QuestionResponseJson.class, "question", question, "answers", answers); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private QuestionJson2 question; - - private List answers; - - private Builder() { - // force use of static builder() method - } - - /** - * The question that was answered. - */ - public Builder question(@Nullable QuestionJson2 question) { - this.question = question; - return this; - } - - /** - * List of answers. - */ - public Builder answers(@Nullable List answers) { - this.answers = answers; - return this; - } - - public QuestionResponseJson build() { - return new QuestionResponseJson(question, answers); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionType1.java b/packages/java/src/main/java/com/cvent/models/components/QuestionType1.java new file mode 100644 index 000000000..d007984f3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionType1.java @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * QuestionType1 + * + *

Denotes the type of data collected by a question. + */ +public enum QuestionType1 { + AUTO_INCREMENT("AutoIncrement"), + BUDGET_ESTIMATES("BudgetEstimates"), + CONSENT_QUESTION("ConsentQuestion"), + COUNTRY("Country"), + CURRENCY("Currency"), + DECIMAL("Decimal"), + DATE("Date"), + DATE_TIME("DateTime"), + EMAIL("Email"), + FILE_UPLOAD("FileUpload"), + FREE_TEXT("FreeText"), + GENERAL("General"), + NUMBER("Number"), + MEETING_ROOM_REQUIREMENTS("MeetingRoomRequirements"), + MULTI_SELECT("MultiSelect"), + SINGLE_SELECT("SingleSelect"), + SLEEPING_ROOM_REQUIREMENTS("SleepingRoomRequirements"), + US_PHONE_NUMBER("USPhoneNumber"), + UNKNOWN("Unknown"); + + @JsonValue + private final String value; + + QuestionType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionType1 o : QuestionType1.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/QuestionType11.java b/packages/java/src/main/java/com/cvent/models/components/QuestionType11.java new file mode 100644 index 000000000..2ca8fb561 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionType11.java @@ -0,0 +1,48 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * QuestionType11 + * + *

Denotes the type of data collected by a question. + */ +public enum QuestionType11 { + COMMENT_BOX("CommentBox"), + CURRENCY("Currency"), + DECIMAL("Decimal"), + DATE_TIME("DateTime"), + EMAIL("Email"), + GENERAL("General"), + NUMBER("Number"), + MULTI_SELECT("MultiSelect"), + SINGLE_SELECT("SingleSelect"), + US_PHONE_NUMBER("USPhoneNumber"), + UNKNOWN("Unknown"); + + @JsonValue + private final String value; + + QuestionType11(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionType11 o : QuestionType11.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson.java index 4e480779c..eb7692b03 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson.java @@ -11,28 +11,27 @@ /** * QuestionTypeJson * - *

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

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

Question Type. + *

This object represents the type of a question */ public enum QuestionTypeJson1 { SINGLE_CHOICE("SingleChoice"), MULTI_CHOICE("MultiChoice"), - MATRIX_SINGLE_CHOICE("MatrixSingleChoice"), - MATRIX_MULTI_CHOICE("MatrixMultiChoice"), - MATRIX_SIDE_BY_SIDE("MatrixSideBySide"), - MATRIX_SPREAD_SHEET("MatrixSpreadSheet"), - DATE_TIME("DateTime"), - NUMBER("Number"), - TEXT("Text"), - COMMENT_BOX("CommentBox"), - FORM("Form"), - RANK_ORDER("RankOrder"), + OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), + OPEN_ENDED_TEXT_ONE_LINE("OpenEndedTextOneLine"), + OPEN_ENDED_TEXT_COMMENT_BOX("OpenEndedTextCommentBox"), + OPEN_ENDED_NUMERIC("OpenEndedNumeric"), FILE_UPLOAD("FileUpload"), - NET_PROMOTER("NetPromoter"), - RATING("Rating"), - MATRIX_RATING("MatrixRating"), - NUMBER_ALLOCATION("NumberAllocation"), - LARGE_CHOICES("LargeChoices"); + MATRIX_SINGLE_PER_ROW("MatrixSinglePerRow"), + MATRIX_MULTI_PER_ROW("MatrixMultiPerRow"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson2.java b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson2.java deleted file mode 100644 index 199ccc1b3..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson2.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; - -/** - * QuestionTypeJson2 - * - *

This object represents the type of a question - */ -public enum QuestionTypeJson2 { - SINGLE_CHOICE("SingleChoice"), - MULTI_CHOICE("MultiChoice"), - OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), - OPEN_ENDED_TEXT_ONE_LINE("OpenEndedTextOneLine"), - OPEN_ENDED_TEXT_COMMENT_BOX("OpenEndedTextCommentBox"), - OPEN_ENDED_NUMERIC("OpenEndedNumeric"), - FILE_UPLOAD("FileUpload"), - MATRIX_SINGLE_PER_ROW("MatrixSinglePerRow"), - MATRIX_MULTI_PER_ROW("MatrixMultiPerRow"); - - @JsonValue - private final String value; - - QuestionTypeJson2(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (QuestionTypeJson2 o : QuestionTypeJson2.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/RateApplicationType.java b/packages/java/src/main/java/com/cvent/models/components/RateApplicationType.java new file mode 100644 index 000000000..031ad5b62 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RateApplicationType.java @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * RateApplicationType + * + *

How the rate is applied to the meeting room booking. + * + *

Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ +public enum RateApplicationType { + COMPLIMENTARY("COMPLIMENTARY"), + INCLUDED("INCLUDED"), + ONETIME_FEE("ONETIME_FEE"), + PER_DAY("PER_DAY"), + PER_HOUR("PER_HOUR"), + PER_SQ_FT("PER_SQ_FT"), + PER_SQ_MTR("PER_SQ_MTR"), + TOTAL("TOTAL"); + + @JsonValue + private final String value; + + RateApplicationType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RateApplicationType o : RateApplicationType.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/Request.java b/packages/java/src/main/java/com/cvent/models/components/Request.java index f612a8d63..35df4af07 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Request.java +++ b/packages/java/src/main/java/com/cvent/models/components/Request.java @@ -33,7 +33,7 @@ private Request(TypedObject value) { this.value = value; } - public static Request of(MeetingRequestBulkResponseItemJsonRequest value) { + public static Request of(MeetingRequestBulkResponseItemRequest value) { Utils.checkNotNull(value, "value"); return new Request(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -58,7 +58,7 @@ public static Request of(boolean value) { /** * Returns an instance of one of these types: *

    - *
  • {@code com.cvent.models.components.MeetingRequestBulkResponseItemJsonRequest}
  • + *
  • {@code com.cvent.models.components.MeetingRequestBulkResponseItemRequest}
  • *
  • {@code java.lang.String}
  • *
  • {@code double}
  • *
  • {@code long}
  • @@ -105,7 +105,7 @@ public _Deserializer() { Request.class, false, TypeReferenceWithShape.of( - new TypeReference() {}, JsonShape.DEFAULT), + 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/RequestedMeetingRequestQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/RequestedMeetingRequestQuestionJson.java deleted file mode 100644 index 8316a4f19..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RequestedMeetingRequestQuestionJson.java +++ /dev/null @@ -1,357 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * RequestedMeetingRequestQuestionJson - * - *

    A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are - * the same across all accounts. Use the `type` field or the question `id` to determine how to format - * the `value` array. - */ -public class RequestedMeetingRequestQuestionJson { - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - @JsonProperty("id") - private String id; - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

    **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`). - * - *

    **Country/Region questions (`type: Country`):** Provide either the country name (for example, - * `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country - * Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes). - * - *

    **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object. - * - *

    *Meeting Room Requirement example (one item in value array):* - * `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"` - * - *

    *Sleeping Room Requirement example:* - * `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"` - * - *

    *Budget Estimate example:* - * `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` - */ - @JsonProperty("value") - private List value; - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

    In all other cases, `answerType` is not expected to be set. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answerType") - private AnswerTypeJson answerType; - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("secondaryValue") - private String secondaryValue; - - @JsonCreator - public RequestedMeetingRequestQuestionJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("value") @Nonnull List value, - @JsonProperty("answerType") @Nullable AnswerTypeJson answerType, - @JsonProperty("secondaryValue") @Nullable String secondaryValue) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - this.answerType = answerType; - this.secondaryValue = secondaryValue; - } - - public RequestedMeetingRequestQuestionJson(@Nonnull String id, @Nonnull List value) { - this(id, value, null, null); - } - - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - public String id() { - return this.id; - } - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

    **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`). - * - *

    **Country/Region questions (`type: Country`):** Provide either the country name (for example, - * `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country - * Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes). - * - *

    **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object. - * - *

    *Meeting Room Requirement example (one item in value array):* - * `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"` - * - *

    *Sleeping Room Requirement example:* - * `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"` - * - *

    *Budget Estimate example:* - * `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` - */ - public List value() { - return this.value; - } - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

    In all other cases, `answerType` is not expected to be set. - */ - public Optional answerType() { - return Optional.ofNullable(this.answerType); - } - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - public Optional secondaryValue() { - return Optional.ofNullable(this.secondaryValue); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - public RequestedMeetingRequestQuestionJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

    **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`). - * - *

    **Country/Region questions (`type: Country`):** Provide either the country name (for example, - * `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country - * Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes). - * - *

    **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object. - * - *

    *Meeting Room Requirement example (one item in value array):* - * `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"` - * - *

    *Sleeping Room Requirement example:* - * `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"` - * - *

    *Budget Estimate example:* - * `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` - */ - public RequestedMeetingRequestQuestionJson withValue(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

    In all other cases, `answerType` is not expected to be set. - */ - public RequestedMeetingRequestQuestionJson withAnswerType(@Nullable AnswerTypeJson answerType) { - this.answerType = answerType; - return this; - } - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - public RequestedMeetingRequestQuestionJson withSecondaryValue(@Nullable String secondaryValue) { - this.secondaryValue = secondaryValue; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RequestedMeetingRequestQuestionJson other = (RequestedMeetingRequestQuestionJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.answerType, other.answerType) - && Utils.enhancedDeepEquals(this.secondaryValue, other.secondaryValue); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, value, answerType, secondaryValue); - } - - @Override - public String toString() { - return Utils.toString( - RequestedMeetingRequestQuestionJson.class, - "id", - id, - "value", - value, - "answerType", - answerType, - "secondaryValue", - secondaryValue); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private List value; - - private AnswerTypeJson answerType; - - private String secondaryValue; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * An array of non-null answers to the question. The format of each item depends on the question - * `type`. - * - *

    **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`). - * - *

    **Country/Region questions (`type: Country`):** Provide either the country name (for example, - * `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country - * Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes). - * - *

    **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or - * `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object. - * - *

    *Meeting Room Requirement example (one item in value array):* - * `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"` - * - *

    *Sleeping Room Requirement example:* - * `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"` - * - *

    *Budget Estimate example:* - * `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` - */ - public Builder value(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are - * interpreted. - * - *

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

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

    In all other cases, `answerType` is not expected to be set. - */ - public Builder answerType(@Nullable AnswerTypeJson answerType) { - this.answerType = answerType; - return this; - } - - /** - * The secondary value of the question. This can be the other answer of choice questions which have - * `Other` as an answer type. - */ - public Builder secondaryValue(@Nullable String secondaryValue) { - this.secondaryValue = secondaryValue; - return this; - } - - public RequestedMeetingRequestQuestionJson build() { - return new RequestedMeetingRequestQuestionJson(id, value, answerType, secondaryValue); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SeatingLayoutType.java b/packages/java/src/main/java/com/cvent/models/components/SeatingLayoutType.java new file mode 100644 index 000000000..caf479e3f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SeatingLayoutType.java @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * SeatingLayoutType + * + *

    The seating arrangement style for a meeting room. Values represent standard event industry seating + * configurations. + */ +public enum SeatingLayoutType { + BANQUET("BANQUET"), + CLASSROOM("CLASSROOM"), + COCKTAIL_ROUNDS("COCKTAIL_ROUNDS"), + CONFERENCE("CONFERENCE"), + CRESCENT_ROUNDS("CRESCENT_ROUNDS"), + E_SHAPE("E_SHAPE"), + HOLLOW_SQUARE("HOLLOW_SQUARE"), + MAXIMUM_CAPACITY("MAXIMUM_CAPACITY"), + PERIMETER_SEATING("PERIMETER_SEATING"), + ROYAL_CONFERENCE("ROYAL_CONFERENCE"), + TALK_SHOW("TALK_SHOW"), + THEATER("THEATER"), + T_SHAPE("T_SHAPE"), + U_SHAPE("U_SHAPE"); + + @JsonValue + private final String value; + + SeatingLayoutType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SeatingLayoutType o : SeatingLayoutType.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/SessionActivity10.java b/packages/java/src/main/java/com/cvent/models/components/SessionActivity10.java deleted file mode 100644 index 3810256d1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SessionActivity10.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SessionActivity10 - * - *

    The activity session. - */ -public class SessionActivity10 { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The title of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The code of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public SessionActivity10( - @JsonProperty("id") @Nullable String id, - @JsonProperty("title") @Nullable String title, - @JsonProperty("code") @Nullable String code) { - this.id = id; - this.title = title; - this.code = code; - } - - public SessionActivity10() { - this(null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The title of the session. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The code of the session. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public SessionActivity10 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public SessionActivity10 withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public SessionActivity10 withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SessionActivity10 other = (SessionActivity10) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, title, code); - } - - @Override - public String toString() { - return Utils.toString(SessionActivity10.class, "id", id, "title", title, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String title; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public SessionActivity10 build() { - return new SessionActivity10(id, title, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionActivity11.java b/packages/java/src/main/java/com/cvent/models/components/SessionActivity11.java deleted file mode 100644 index 6a4dfe8a8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SessionActivity11.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SessionActivity11 - * - *

    The activity session. - */ -public class SessionActivity11 { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The title of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The code of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public SessionActivity11( - @JsonProperty("id") @Nullable String id, - @JsonProperty("title") @Nullable String title, - @JsonProperty("code") @Nullable String code) { - this.id = id; - this.title = title; - this.code = code; - } - - public SessionActivity11() { - this(null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The title of the session. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The code of the session. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public SessionActivity11 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public SessionActivity11 withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public SessionActivity11 withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SessionActivity11 other = (SessionActivity11) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, title, code); - } - - @Override - public String toString() { - return Utils.toString(SessionActivity11.class, "id", id, "title", title, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String title; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public SessionActivity11 build() { - return new SessionActivity11(id, title, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionActivity8.java b/packages/java/src/main/java/com/cvent/models/components/SessionActivity8.java deleted file mode 100644 index 6887c0963..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SessionActivity8.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SessionActivity8 - * - *

    The activity session. - */ -public class SessionActivity8 { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The title of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The code of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public SessionActivity8( - @JsonProperty("id") @Nullable String id, - @JsonProperty("title") @Nullable String title, - @JsonProperty("code") @Nullable String code) { - this.id = id; - this.title = title; - this.code = code; - } - - public SessionActivity8() { - this(null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The title of the session. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The code of the session. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public SessionActivity8 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public SessionActivity8 withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public SessionActivity8 withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SessionActivity8 other = (SessionActivity8) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, title, code); - } - - @Override - public String toString() { - return Utils.toString(SessionActivity8.class, "id", id, "title", title, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String title; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public SessionActivity8 build() { - return new SessionActivity8(id, title, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionActivity9.java b/packages/java/src/main/java/com/cvent/models/components/SessionActivity9.java deleted file mode 100644 index e0b582148..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SessionActivity9.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SessionActivity9 - * - *

    The activity session. - */ -public class SessionActivity9 { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The title of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The code of the session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public SessionActivity9( - @JsonProperty("id") @Nullable String id, - @JsonProperty("title") @Nullable String title, - @JsonProperty("code") @Nullable String code) { - this.id = id; - this.title = title; - this.code = code; - } - - public SessionActivity9() { - this(null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The title of the session. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The code of the session. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public SessionActivity9 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public SessionActivity9 withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public SessionActivity9 withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SessionActivity9 other = (SessionActivity9) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, title, code); - } - - @Override - public String toString() { - return Utils.toString(SessionActivity9.class, "id", id, "title", title, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String title; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The title of the session. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The code of the session. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public SessionActivity9 build() { - return new SessionActivity9(id, title, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionFeedbackSubmitted.java b/packages/java/src/main/java/com/cvent/models/components/SessionFeedbackSubmitted.java index 8683ea3fe..c9def6271 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionFeedbackSubmitted.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionFeedbackSubmitted.java @@ -24,19 +24,19 @@ public class SessionFeedbackSubmitted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity4 session; + private SessionFeedbackSubmittedSessionActivity session; /** * A survey response. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey") - private SurveyResponseJson survey; + private SurveyResponse survey; @JsonCreator public SessionFeedbackSubmitted( - @JsonProperty("session") @Nullable SessionActivity4 session, - @JsonProperty("survey") @Nullable SurveyResponseJson survey) { + @JsonProperty("session") @Nullable SessionFeedbackSubmittedSessionActivity session, + @JsonProperty("survey") @Nullable SurveyResponse survey) { this.session = session; this.survey = survey; } @@ -48,14 +48,14 @@ public SessionFeedbackSubmitted() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } /** * A survey response. */ - public Optional survey() { + public Optional survey() { return Optional.ofNullable(this.survey); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * The activity session. */ - public SessionFeedbackSubmitted withSession(@Nullable SessionActivity4 session) { + public SessionFeedbackSubmitted withSession(@Nullable SessionFeedbackSubmittedSessionActivity session) { this.session = session; return this; } @@ -74,7 +74,7 @@ public SessionFeedbackSubmitted withSession(@Nullable SessionActivity4 session) /** * A survey response. */ - public SessionFeedbackSubmitted withSurvey(@Nullable SurveyResponseJson survey) { + public SessionFeedbackSubmitted withSurvey(@Nullable SurveyResponse survey) { this.survey = survey; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity4 session; + private SessionFeedbackSubmittedSessionActivity session; - private SurveyResponseJson survey; + private SurveyResponse survey; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity4 session) { + public Builder session(@Nullable SessionFeedbackSubmittedSessionActivity session) { this.session = session; return this; } @@ -123,7 +123,7 @@ public Builder session(@Nullable SessionActivity4 session) { /** * A survey response. */ - public Builder survey(@Nullable SurveyResponseJson survey) { + public Builder survey(@Nullable SurveyResponse survey) { this.survey = survey; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionFeedbackSubmittedSessionActivity.java b/packages/java/src/main/java/com/cvent/models/components/SessionFeedbackSubmittedSessionActivity.java new file mode 100644 index 000000000..09e53adbc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SessionFeedbackSubmittedSessionActivity.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * SessionFeedbackSubmittedSessionActivity + * + *

    The activity session. + */ +public class SessionFeedbackSubmittedSessionActivity { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The title of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The code of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonCreator + public SessionFeedbackSubmittedSessionActivity( + @JsonProperty("id") @Nullable String id, + @JsonProperty("title") @Nullable String title, + @JsonProperty("code") @Nullable String code) { + this.id = id; + this.title = title; + this.code = code; + } + + public SessionFeedbackSubmittedSessionActivity() { + this(null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The title of the session. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The code of the session. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public SessionFeedbackSubmittedSessionActivity withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public SessionFeedbackSubmittedSessionActivity withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public SessionFeedbackSubmittedSessionActivity withCode(@Nullable String code) { + this.code = code; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SessionFeedbackSubmittedSessionActivity other = (SessionFeedbackSubmittedSessionActivity) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.code, other.code); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, title, code); + } + + @Override + public String toString() { + return Utils.toString(SessionFeedbackSubmittedSessionActivity.class, "id", id, "title", title, "code", code); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String title; + + private String code; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public SessionFeedbackSubmittedSessionActivity build() { + return new SessionFeedbackSubmittedSessionActivity(id, title, code); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionNoShow.java b/packages/java/src/main/java/com/cvent/models/components/SessionNoShow.java index abd23c680..9529a8feb 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionNoShow.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionNoShow.java @@ -24,10 +24,10 @@ public class SessionNoShow { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity5 session; + private SessionActivity4 session; @JsonCreator - public SessionNoShow(@JsonProperty("session") @Nullable SessionActivity5 session) { + public SessionNoShow(@JsonProperty("session") @Nullable SessionActivity4 session) { this.session = session; } @@ -38,7 +38,7 @@ public SessionNoShow() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } @@ -49,7 +49,7 @@ public static Builder builder() { /** * The activity session. */ - public SessionNoShow withSession(@Nullable SessionActivity5 session) { + public SessionNoShow withSession(@Nullable SessionActivity4 session) { this.session = session; return this; } @@ -79,7 +79,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity5 session; + private SessionActivity4 session; private Builder() { // force use of static builder() method @@ -88,7 +88,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity5 session) { + public Builder session(@Nullable SessionActivity4 session) { this.session = session; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionPollResponseSubmitted.java b/packages/java/src/main/java/com/cvent/models/components/SessionPollResponseSubmitted.java index 2090e60fd..5d0cf083a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionPollResponseSubmitted.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionPollResponseSubmitted.java @@ -24,19 +24,19 @@ public class SessionPollResponseSubmitted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity6 session; + private SessionPollResponseSubmittedSessionActivity session; /** * This is used to denote the poll details. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("poll") - private PollResponseJson poll; + private PollResponse poll; @JsonCreator public SessionPollResponseSubmitted( - @JsonProperty("session") @Nullable SessionActivity6 session, - @JsonProperty("poll") @Nullable PollResponseJson poll) { + @JsonProperty("session") @Nullable SessionPollResponseSubmittedSessionActivity session, + @JsonProperty("poll") @Nullable PollResponse poll) { this.session = session; this.poll = poll; } @@ -48,14 +48,14 @@ public SessionPollResponseSubmitted() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } /** * This is used to denote the poll details. */ - public Optional poll() { + public Optional poll() { return Optional.ofNullable(this.poll); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * The activity session. */ - public SessionPollResponseSubmitted withSession(@Nullable SessionActivity6 session) { + public SessionPollResponseSubmitted withSession(@Nullable SessionPollResponseSubmittedSessionActivity session) { this.session = session; return this; } @@ -74,7 +74,7 @@ public SessionPollResponseSubmitted withSession(@Nullable SessionActivity6 sessi /** * This is used to denote the poll details. */ - public SessionPollResponseSubmitted withPoll(@Nullable PollResponseJson poll) { + public SessionPollResponseSubmitted withPoll(@Nullable PollResponse poll) { this.poll = poll; return this; } @@ -104,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity6 session; + private SessionPollResponseSubmittedSessionActivity session; - private PollResponseJson poll; + private PollResponse poll; private Builder() { // force use of static builder() method @@ -115,7 +115,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity6 session) { + public Builder session(@Nullable SessionPollResponseSubmittedSessionActivity session) { this.session = session; return this; } @@ -123,7 +123,7 @@ public Builder session(@Nullable SessionActivity6 session) { /** * This is used to denote the poll details. */ - public Builder poll(@Nullable PollResponseJson poll) { + public Builder poll(@Nullable PollResponse poll) { this.poll = poll; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionPollResponseSubmittedSessionActivity.java b/packages/java/src/main/java/com/cvent/models/components/SessionPollResponseSubmittedSessionActivity.java new file mode 100644 index 000000000..f94bf13ee --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SessionPollResponseSubmittedSessionActivity.java @@ -0,0 +1,172 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * SessionPollResponseSubmittedSessionActivity + * + *

    The activity session. + */ +public class SessionPollResponseSubmittedSessionActivity { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The title of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The code of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonCreator + public SessionPollResponseSubmittedSessionActivity( + @JsonProperty("id") @Nullable String id, + @JsonProperty("title") @Nullable String title, + @JsonProperty("code") @Nullable String code) { + this.id = id; + this.title = title; + this.code = code; + } + + public SessionPollResponseSubmittedSessionActivity() { + this(null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The title of the session. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The code of the session. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public SessionPollResponseSubmittedSessionActivity withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public SessionPollResponseSubmittedSessionActivity withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public SessionPollResponseSubmittedSessionActivity withCode(@Nullable String code) { + this.code = code; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SessionPollResponseSubmittedSessionActivity other = (SessionPollResponseSubmittedSessionActivity) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.code, other.code); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, title, code); + } + + @Override + public String toString() { + return Utils.toString( + SessionPollResponseSubmittedSessionActivity.class, "id", id, "title", title, "code", code); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String title; + + private String code; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public SessionPollResponseSubmittedSessionActivity build() { + return new SessionPollResponseSubmittedSessionActivity(id, title, code); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionQuestionAsked.java b/packages/java/src/main/java/com/cvent/models/components/SessionQuestionAsked.java index 9a1744bea..5ebad0b3a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionQuestionAsked.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionQuestionAsked.java @@ -26,14 +26,14 @@ public class SessionQuestionAsked { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity7 session; + private SessionQuestionAskedSessionActivity session; /** * The question asked in a session. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("question") - private QuestionDetailJson question; + private QuestionDetail question; /** * The platform used by the user. @@ -58,8 +58,8 @@ public class SessionQuestionAsked { @JsonCreator public SessionQuestionAsked( - @JsonProperty("session") @Nullable SessionActivity7 session, - @JsonProperty("question") @Nullable QuestionDetailJson question, + @JsonProperty("session") @Nullable SessionQuestionAskedSessionActivity session, + @JsonProperty("question") @Nullable QuestionDetail question, @JsonProperty("platform") @Nullable String platform, @JsonProperty("votes") @Nullable Long votes, @JsonProperty("anonymous") @Nullable Boolean anonymous) { @@ -77,14 +77,14 @@ public SessionQuestionAsked() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } /** * The question asked in a session. */ - public Optional question() { + public Optional question() { return Optional.ofNullable(this.question); } @@ -116,7 +116,7 @@ public static Builder builder() { /** * The activity session. */ - public SessionQuestionAsked withSession(@Nullable SessionActivity7 session) { + public SessionQuestionAsked withSession(@Nullable SessionQuestionAskedSessionActivity session) { this.session = session; return this; } @@ -124,7 +124,7 @@ public SessionQuestionAsked withSession(@Nullable SessionActivity7 session) { /** * The question asked in a session. */ - public SessionQuestionAsked withQuestion(@Nullable QuestionDetailJson question) { + public SessionQuestionAsked withQuestion(@Nullable QuestionDetail question) { this.question = question; return this; } @@ -193,9 +193,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity7 session; + private SessionQuestionAskedSessionActivity session; - private QuestionDetailJson question; + private QuestionDetail question; private String platform; @@ -210,7 +210,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity7 session) { + public Builder session(@Nullable SessionQuestionAskedSessionActivity session) { this.session = session; return this; } @@ -218,7 +218,7 @@ public Builder session(@Nullable SessionActivity7 session) { /** * The question asked in a session. */ - public Builder question(@Nullable QuestionDetailJson question) { + public Builder question(@Nullable QuestionDetail question) { this.question = question; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionQuestionAskedSessionActivity.java b/packages/java/src/main/java/com/cvent/models/components/SessionQuestionAskedSessionActivity.java new file mode 100644 index 000000000..9d167b64a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SessionQuestionAskedSessionActivity.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * SessionQuestionAskedSessionActivity + * + *

    The activity session. + */ +public class SessionQuestionAskedSessionActivity { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The title of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The code of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonCreator + public SessionQuestionAskedSessionActivity( + @JsonProperty("id") @Nullable String id, + @JsonProperty("title") @Nullable String title, + @JsonProperty("code") @Nullable String code) { + this.id = id; + this.title = title; + this.code = code; + } + + public SessionQuestionAskedSessionActivity() { + this(null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The title of the session. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The code of the session. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public SessionQuestionAskedSessionActivity withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public SessionQuestionAskedSessionActivity withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public SessionQuestionAskedSessionActivity withCode(@Nullable String code) { + this.code = code; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SessionQuestionAskedSessionActivity other = (SessionQuestionAskedSessionActivity) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.code, other.code); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, title, code); + } + + @Override + public String toString() { + return Utils.toString(SessionQuestionAskedSessionActivity.class, "id", id, "title", title, "code", code); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String title; + + private String code; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public SessionQuestionAskedSessionActivity build() { + return new SessionQuestionAskedSessionActivity(id, title, code); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionQuestionUpvoted.java b/packages/java/src/main/java/com/cvent/models/components/SessionQuestionUpvoted.java index c0c1a590d..10fdbbd05 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionQuestionUpvoted.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionQuestionUpvoted.java @@ -25,14 +25,14 @@ public class SessionQuestionUpvoted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity8 session; + private SessionActivity5 session; /** * The question asked in a session. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("question") - private QuestionDetailJson question; + private QuestionDetail question; /** * The platform used by the user. @@ -50,8 +50,8 @@ public class SessionQuestionUpvoted { @JsonCreator public SessionQuestionUpvoted( - @JsonProperty("session") @Nullable SessionActivity8 session, - @JsonProperty("question") @Nullable QuestionDetailJson question, + @JsonProperty("session") @Nullable SessionActivity5 session, + @JsonProperty("question") @Nullable QuestionDetail question, @JsonProperty("platform") @Nullable String platform, @JsonProperty("votes") @Nullable Long votes) { this.session = session; @@ -67,14 +67,14 @@ public SessionQuestionUpvoted() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } /** * The question asked in a session. */ - public Optional question() { + public Optional question() { return Optional.ofNullable(this.question); } @@ -99,7 +99,7 @@ public static Builder builder() { /** * The activity session. */ - public SessionQuestionUpvoted withSession(@Nullable SessionActivity8 session) { + public SessionQuestionUpvoted withSession(@Nullable SessionActivity5 session) { this.session = session; return this; } @@ -107,7 +107,7 @@ public SessionQuestionUpvoted withSession(@Nullable SessionActivity8 session) { /** * The question asked in a session. */ - public SessionQuestionUpvoted withQuestion(@Nullable QuestionDetailJson question) { + public SessionQuestionUpvoted withQuestion(@Nullable QuestionDetail question) { this.question = question; return this; } @@ -165,9 +165,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity8 session; + private SessionActivity5 session; - private QuestionDetailJson question; + private QuestionDetail question; private String platform; @@ -180,7 +180,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity8 session) { + public Builder session(@Nullable SessionActivity5 session) { this.session = session; return this; } @@ -188,7 +188,7 @@ public Builder session(@Nullable SessionActivity8 session) { /** * The question asked in a session. */ - public Builder question(@Nullable QuestionDetailJson question) { + public Builder question(@Nullable QuestionDetail question) { this.question = question; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionUnenrolled.java b/packages/java/src/main/java/com/cvent/models/components/SessionUnenrolled.java index d3c768d7f..a2f28c6f6 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionUnenrolled.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionUnenrolled.java @@ -24,10 +24,10 @@ public class SessionUnenrolled { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity9 session; + private SessionActivity6 session; @JsonCreator - public SessionUnenrolled(@JsonProperty("session") @Nullable SessionActivity9 session) { + public SessionUnenrolled(@JsonProperty("session") @Nullable SessionActivity6 session) { this.session = session; } @@ -38,7 +38,7 @@ public SessionUnenrolled() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } @@ -49,7 +49,7 @@ public static Builder builder() { /** * The activity session. */ - public SessionUnenrolled withSession(@Nullable SessionActivity9 session) { + public SessionUnenrolled withSession(@Nullable SessionActivity6 session) { this.session = session; return this; } @@ -79,7 +79,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity9 session; + private SessionActivity6 session; private Builder() { // force use of static builder() method @@ -88,7 +88,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity9 session) { + public Builder session(@Nullable SessionActivity6 session) { this.session = session; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionWaitlisted.java b/packages/java/src/main/java/com/cvent/models/components/SessionWaitlisted.java index acfcda8a6..cb07811c7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionWaitlisted.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionWaitlisted.java @@ -24,10 +24,10 @@ public class SessionWaitlisted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity10 session; + private SessionActivity7 session; @JsonCreator - public SessionWaitlisted(@JsonProperty("session") @Nullable SessionActivity10 session) { + public SessionWaitlisted(@JsonProperty("session") @Nullable SessionActivity7 session) { this.session = session; } @@ -38,7 +38,7 @@ public SessionWaitlisted() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } @@ -49,7 +49,7 @@ public static Builder builder() { /** * The activity session. */ - public SessionWaitlisted withSession(@Nullable SessionActivity10 session) { + public SessionWaitlisted withSession(@Nullable SessionActivity7 session) { this.session = session; return this; } @@ -79,7 +79,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity10 session; + private SessionActivity7 session; private Builder() { // force use of static builder() method @@ -88,7 +88,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity10 session) { + public Builder session(@Nullable SessionActivity7 session) { this.session = session; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SleepingRoomRequirement.java b/packages/java/src/main/java/com/cvent/models/components/SleepingRoomRequirement.java new file mode 100644 index 000000000..78398a3cd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SleepingRoomRequirement.java @@ -0,0 +1,290 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * SleepingRoomRequirement + * + *

    The requirements of a sleeping room on the specified date. + */ +public class SleepingRoomRequirement { + /** + * The date for the sleeping room, in format of YYYY-MM-DD. + */ + @JsonProperty("date") + private String date; + + /** + * The number of any sleeping rooms. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("any") + private Long any; + + /** + * The number of 1 bed sleeping rooms. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("single") + private Long single; + + /** + * The number of suite sleeping rooms. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("suite") + private Long suite; + + /** + * The number of sleeping rooms for staff. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("staff") + private Long staff; + + /** + * The number of 2 beds sleeping rooms. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleBeds") + private Long doubleBeds; + + @JsonCreator + public SleepingRoomRequirement( + @JsonProperty("date") @Nonnull String date, + @JsonProperty("any") @Nullable Long any, + @JsonProperty("single") @Nullable Long single, + @JsonProperty("suite") @Nullable Long suite, + @JsonProperty("staff") @Nullable Long staff, + @JsonProperty("doubleBeds") @Nullable Long doubleBeds) { + this.date = Optional.ofNullable(date).orElseThrow(() -> new IllegalArgumentException("date cannot be null")); + this.any = any; + this.single = single; + this.suite = suite; + this.staff = staff; + this.doubleBeds = doubleBeds; + } + + public SleepingRoomRequirement(@Nonnull String date) { + this(date, null, null, null, null, null); + } + + /** + * The date for the sleeping room, in format of YYYY-MM-DD. + */ + public String date() { + return this.date; + } + + /** + * The number of any sleeping rooms. + */ + public Optional any() { + return Optional.ofNullable(this.any); + } + + /** + * The number of 1 bed sleeping rooms. + */ + public Optional single() { + return Optional.ofNullable(this.single); + } + + /** + * The number of suite sleeping rooms. + */ + public Optional suite() { + return Optional.ofNullable(this.suite); + } + + /** + * The number of sleeping rooms for staff. + */ + public Optional staff() { + return Optional.ofNullable(this.staff); + } + + /** + * The number of 2 beds sleeping rooms. + */ + public Optional doubleBeds() { + return Optional.ofNullable(this.doubleBeds); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The date for the sleeping room, in format of YYYY-MM-DD. + */ + public SleepingRoomRequirement withDate(@Nonnull String date) { + this.date = Utils.checkNotNull(date, "date"); + return this; + } + + /** + * The number of any sleeping rooms. + */ + public SleepingRoomRequirement withAny(@Nullable Long any) { + this.any = any; + return this; + } + + /** + * The number of 1 bed sleeping rooms. + */ + public SleepingRoomRequirement withSingle(@Nullable Long single) { + this.single = single; + return this; + } + + /** + * The number of suite sleeping rooms. + */ + public SleepingRoomRequirement withSuite(@Nullable Long suite) { + this.suite = suite; + return this; + } + + /** + * The number of sleeping rooms for staff. + */ + public SleepingRoomRequirement withStaff(@Nullable Long staff) { + this.staff = staff; + return this; + } + + /** + * The number of 2 beds sleeping rooms. + */ + public SleepingRoomRequirement withDoubleBeds(@Nullable Long doubleBeds) { + this.doubleBeds = doubleBeds; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SleepingRoomRequirement other = (SleepingRoomRequirement) o; + return Utils.enhancedDeepEquals(this.date, other.date) + && Utils.enhancedDeepEquals(this.any, other.any) + && Utils.enhancedDeepEquals(this.single, other.single) + && Utils.enhancedDeepEquals(this.suite, other.suite) + && Utils.enhancedDeepEquals(this.staff, other.staff) + && Utils.enhancedDeepEquals(this.doubleBeds, other.doubleBeds); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(date, any, single, suite, staff, doubleBeds); + } + + @Override + public String toString() { + return Utils.toString( + SleepingRoomRequirement.class, + "date", + date, + "any", + any, + "single", + single, + "suite", + suite, + "staff", + staff, + "doubleBeds", + doubleBeds); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String date; + + private Long any; + + private Long single; + + private Long suite; + + private Long staff; + + private Long doubleBeds; + + private Builder() { + // force use of static builder() method + } + + /** + * The date for the sleeping room, in format of YYYY-MM-DD. + */ + public Builder date(@Nonnull String date) { + this.date = Utils.checkNotNull(date, "date"); + return this; + } + + /** + * The number of any sleeping rooms. + */ + public Builder any(@Nullable Long any) { + this.any = any; + return this; + } + + /** + * The number of 1 bed sleeping rooms. + */ + public Builder single(@Nullable Long single) { + this.single = single; + return this; + } + + /** + * The number of suite sleeping rooms. + */ + public Builder suite(@Nullable Long suite) { + this.suite = suite; + return this; + } + + /** + * The number of sleeping rooms for staff. + */ + public Builder staff(@Nullable Long staff) { + this.staff = staff; + return this; + } + + /** + * The number of 2 beds sleeping rooms. + */ + public Builder doubleBeds(@Nullable Long doubleBeds) { + this.doubleBeds = doubleBeds; + return this; + } + + public SleepingRoomRequirement build() { + return new SleepingRoomRequirement(date, any, single, suite, staff, doubleBeds); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SleepingRoomRequirementJson.java b/packages/java/src/main/java/com/cvent/models/components/SleepingRoomRequirementJson.java deleted file mode 100644 index ef4e0aa44..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SleepingRoomRequirementJson.java +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SleepingRoomRequirementJson - * - *

    The requirements of a sleeping room on the specified date. - */ -public class SleepingRoomRequirementJson { - /** - * The date for the sleeping room, in format of YYYY-MM-DD. - */ - @JsonProperty("date") - private String date; - - /** - * The number of any sleeping rooms. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("any") - private Long any; - - /** - * The number of 1 bed sleeping rooms. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("single") - private Long single; - - /** - * The number of suite sleeping rooms. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("suite") - private Long suite; - - /** - * The number of sleeping rooms for staff. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("staff") - private Long staff; - - /** - * The number of 2 beds sleeping rooms. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("doubleBeds") - private Long doubleBeds; - - @JsonCreator - public SleepingRoomRequirementJson( - @JsonProperty("date") @Nonnull String date, - @JsonProperty("any") @Nullable Long any, - @JsonProperty("single") @Nullable Long single, - @JsonProperty("suite") @Nullable Long suite, - @JsonProperty("staff") @Nullable Long staff, - @JsonProperty("doubleBeds") @Nullable Long doubleBeds) { - this.date = Optional.ofNullable(date).orElseThrow(() -> new IllegalArgumentException("date cannot be null")); - this.any = any; - this.single = single; - this.suite = suite; - this.staff = staff; - this.doubleBeds = doubleBeds; - } - - public SleepingRoomRequirementJson(@Nonnull String date) { - this(date, null, null, null, null, null); - } - - /** - * The date for the sleeping room, in format of YYYY-MM-DD. - */ - public String date() { - return this.date; - } - - /** - * The number of any sleeping rooms. - */ - public Optional any() { - return Optional.ofNullable(this.any); - } - - /** - * The number of 1 bed sleeping rooms. - */ - public Optional single() { - return Optional.ofNullable(this.single); - } - - /** - * The number of suite sleeping rooms. - */ - public Optional suite() { - return Optional.ofNullable(this.suite); - } - - /** - * The number of sleeping rooms for staff. - */ - public Optional staff() { - return Optional.ofNullable(this.staff); - } - - /** - * The number of 2 beds sleeping rooms. - */ - public Optional doubleBeds() { - return Optional.ofNullable(this.doubleBeds); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The date for the sleeping room, in format of YYYY-MM-DD. - */ - public SleepingRoomRequirementJson withDate(@Nonnull String date) { - this.date = Utils.checkNotNull(date, "date"); - return this; - } - - /** - * The number of any sleeping rooms. - */ - public SleepingRoomRequirementJson withAny(@Nullable Long any) { - this.any = any; - return this; - } - - /** - * The number of 1 bed sleeping rooms. - */ - public SleepingRoomRequirementJson withSingle(@Nullable Long single) { - this.single = single; - return this; - } - - /** - * The number of suite sleeping rooms. - */ - public SleepingRoomRequirementJson withSuite(@Nullable Long suite) { - this.suite = suite; - return this; - } - - /** - * The number of sleeping rooms for staff. - */ - public SleepingRoomRequirementJson withStaff(@Nullable Long staff) { - this.staff = staff; - return this; - } - - /** - * The number of 2 beds sleeping rooms. - */ - public SleepingRoomRequirementJson withDoubleBeds(@Nullable Long doubleBeds) { - this.doubleBeds = doubleBeds; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SleepingRoomRequirementJson other = (SleepingRoomRequirementJson) o; - return Utils.enhancedDeepEquals(this.date, other.date) - && Utils.enhancedDeepEquals(this.any, other.any) - && Utils.enhancedDeepEquals(this.single, other.single) - && Utils.enhancedDeepEquals(this.suite, other.suite) - && Utils.enhancedDeepEquals(this.staff, other.staff) - && Utils.enhancedDeepEquals(this.doubleBeds, other.doubleBeds); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(date, any, single, suite, staff, doubleBeds); - } - - @Override - public String toString() { - return Utils.toString( - SleepingRoomRequirementJson.class, - "date", - date, - "any", - any, - "single", - single, - "suite", - suite, - "staff", - staff, - "doubleBeds", - doubleBeds); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String date; - - private Long any; - - private Long single; - - private Long suite; - - private Long staff; - - private Long doubleBeds; - - private Builder() { - // force use of static builder() method - } - - /** - * The date for the sleeping room, in format of YYYY-MM-DD. - */ - public Builder date(@Nonnull String date) { - this.date = Utils.checkNotNull(date, "date"); - return this; - } - - /** - * The number of any sleeping rooms. - */ - public Builder any(@Nullable Long any) { - this.any = any; - return this; - } - - /** - * The number of 1 bed sleeping rooms. - */ - public Builder single(@Nullable Long single) { - this.single = single; - return this; - } - - /** - * The number of suite sleeping rooms. - */ - public Builder suite(@Nullable Long suite) { - this.suite = suite; - return this; - } - - /** - * The number of sleeping rooms for staff. - */ - public Builder staff(@Nullable Long staff) { - this.staff = staff; - return this; - } - - /** - * The number of 2 beds sleeping rooms. - */ - public Builder doubleBeds(@Nullable Long doubleBeds) { - this.doubleBeds = doubleBeds; - return this; - } - - public SleepingRoomRequirementJson build() { - return new SleepingRoomRequirementJson(date, any, single, suite, staff, doubleBeds); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Speaker1.java b/packages/java/src/main/java/com/cvent/models/components/Speaker1.java new file mode 100644 index 000000000..afbb148cd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Speaker1.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * Speaker1 + * + *

    An activity speaker. + */ +public class Speaker1 { + /** + * The unique identifier of the speaker. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Name of the speaker. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public Speaker1(@JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { + this.id = id; + this.name = name; + } + + public Speaker1() { + this(null, null); + } + + /** + * The unique identifier of the speaker. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Name of the speaker. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the speaker. + */ + public Speaker1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Name of the speaker. + */ + public Speaker1 withName(@Nullable String name) { + this.name = name; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Speaker1 other = (Speaker1) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name); + } + + @Override + public String toString() { + return Utils.toString(Speaker1.class, "id", id, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the speaker. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Name of the speaker. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public Speaker1 build() { + return new Speaker1(id, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerFeedbackSubmitted.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerFeedbackSubmitted.java index abb5337aa..cd8bd65ab 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerFeedbackSubmitted.java +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerFeedbackSubmitted.java @@ -24,27 +24,27 @@ public class SpeakerFeedbackSubmitted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session") - private SessionActivity11 session; + private SpeakerFeedbackSubmittedSessionActivity session; /** * An activity speaker. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("speaker") - private SpeakerJson speaker; + private Speaker1 speaker; /** * A survey response. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey") - private SurveyResponseJson survey; + private SurveyResponse survey; @JsonCreator public SpeakerFeedbackSubmitted( - @JsonProperty("session") @Nullable SessionActivity11 session, - @JsonProperty("speaker") @Nullable SpeakerJson speaker, - @JsonProperty("survey") @Nullable SurveyResponseJson survey) { + @JsonProperty("session") @Nullable SpeakerFeedbackSubmittedSessionActivity session, + @JsonProperty("speaker") @Nullable Speaker1 speaker, + @JsonProperty("survey") @Nullable SurveyResponse survey) { this.session = session; this.speaker = speaker; this.survey = survey; @@ -57,21 +57,21 @@ public SpeakerFeedbackSubmitted() { /** * The activity session. */ - public Optional session() { + public Optional session() { return Optional.ofNullable(this.session); } /** * An activity speaker. */ - public Optional speaker() { + public Optional speaker() { return Optional.ofNullable(this.speaker); } /** * A survey response. */ - public Optional survey() { + public Optional survey() { return Optional.ofNullable(this.survey); } @@ -82,7 +82,7 @@ public static Builder builder() { /** * The activity session. */ - public SpeakerFeedbackSubmitted withSession(@Nullable SessionActivity11 session) { + public SpeakerFeedbackSubmitted withSession(@Nullable SpeakerFeedbackSubmittedSessionActivity session) { this.session = session; return this; } @@ -90,7 +90,7 @@ public SpeakerFeedbackSubmitted withSession(@Nullable SessionActivity11 session) /** * An activity speaker. */ - public SpeakerFeedbackSubmitted withSpeaker(@Nullable SpeakerJson speaker) { + public SpeakerFeedbackSubmitted withSpeaker(@Nullable Speaker1 speaker) { this.speaker = speaker; return this; } @@ -98,7 +98,7 @@ public SpeakerFeedbackSubmitted withSpeaker(@Nullable SpeakerJson speaker) { /** * A survey response. */ - public SpeakerFeedbackSubmitted withSurvey(@Nullable SurveyResponseJson survey) { + public SpeakerFeedbackSubmitted withSurvey(@Nullable SurveyResponse survey) { this.survey = survey; return this; } @@ -130,11 +130,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SessionActivity11 session; + private SpeakerFeedbackSubmittedSessionActivity session; - private SpeakerJson speaker; + private Speaker1 speaker; - private SurveyResponseJson survey; + private SurveyResponse survey; private Builder() { // force use of static builder() method @@ -143,7 +143,7 @@ private Builder() { /** * The activity session. */ - public Builder session(@Nullable SessionActivity11 session) { + public Builder session(@Nullable SpeakerFeedbackSubmittedSessionActivity session) { this.session = session; return this; } @@ -151,7 +151,7 @@ public Builder session(@Nullable SessionActivity11 session) { /** * An activity speaker. */ - public Builder speaker(@Nullable SpeakerJson speaker) { + public Builder speaker(@Nullable Speaker1 speaker) { this.speaker = speaker; return this; } @@ -159,7 +159,7 @@ public Builder speaker(@Nullable SpeakerJson speaker) { /** * A survey response. */ - public Builder survey(@Nullable SurveyResponseJson survey) { + public Builder survey(@Nullable SurveyResponse survey) { this.survey = survey; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerFeedbackSubmittedSessionActivity.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerFeedbackSubmittedSessionActivity.java new file mode 100644 index 000000000..b9f460886 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerFeedbackSubmittedSessionActivity.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * SpeakerFeedbackSubmittedSessionActivity + * + *

    The activity session. + */ +public class SpeakerFeedbackSubmittedSessionActivity { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The title of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The code of the session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + @JsonCreator + public SpeakerFeedbackSubmittedSessionActivity( + @JsonProperty("id") @Nullable String id, + @JsonProperty("title") @Nullable String title, + @JsonProperty("code") @Nullable String code) { + this.id = id; + this.title = title; + this.code = code; + } + + public SpeakerFeedbackSubmittedSessionActivity() { + this(null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The title of the session. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The code of the session. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public SpeakerFeedbackSubmittedSessionActivity withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public SpeakerFeedbackSubmittedSessionActivity withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public SpeakerFeedbackSubmittedSessionActivity withCode(@Nullable String code) { + this.code = code; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SpeakerFeedbackSubmittedSessionActivity other = (SpeakerFeedbackSubmittedSessionActivity) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.code, other.code); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, title, code); + } + + @Override + public String toString() { + return Utils.toString(SpeakerFeedbackSubmittedSessionActivity.class, "id", id, "title", title, "code", code); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String title; + + private String code; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The title of the session. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The code of the session. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + public SpeakerFeedbackSubmittedSessionActivity build() { + return new SpeakerFeedbackSubmittedSessionActivity(id, title, code); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerFileDownloaded.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerFileDownloaded.java index 6a87a8d41..e2a609243 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerFileDownloaded.java +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerFileDownloaded.java @@ -52,7 +52,7 @@ public class SpeakerFileDownloaded { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("speaker") - private SpeakerJson speaker; + private Speaker1 speaker; @JsonCreator public SpeakerFileDownloaded( @@ -60,7 +60,7 @@ public SpeakerFileDownloaded( @JsonProperty("operatingSystem") @Nullable String operatingSystem, @JsonProperty("name") @Nullable String name, @JsonProperty("type") @Nullable String type, - @JsonProperty("speaker") @Nullable SpeakerJson speaker) { + @JsonProperty("speaker") @Nullable Speaker1 speaker) { this.browser = browser; this.operatingSystem = operatingSystem; this.name = name; @@ -103,7 +103,7 @@ public Optional type() { /** * An activity speaker. */ - public Optional speaker() { + public Optional speaker() { return Optional.ofNullable(this.speaker); } @@ -146,7 +146,7 @@ public SpeakerFileDownloaded withType(@Nullable String type) { /** * An activity speaker. */ - public SpeakerFileDownloaded withSpeaker(@Nullable SpeakerJson speaker) { + public SpeakerFileDownloaded withSpeaker(@Nullable Speaker1 speaker) { this.speaker = speaker; return this; } @@ -199,7 +199,7 @@ public static final class Builder { private String type; - private SpeakerJson speaker; + private Speaker1 speaker; private Builder() { // force use of static builder() method @@ -240,7 +240,7 @@ public Builder type(@Nullable String type) { /** * An activity speaker. */ - public Builder speaker(@Nullable SpeakerJson speaker) { + public Builder speaker(@Nullable Speaker1 speaker) { this.speaker = speaker; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerJson.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerJson.java deleted file mode 100644 index ca604b28d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerJson.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SpeakerJson - * - *

    An activity speaker. - */ -public class SpeakerJson { - /** - * The unique identifier of the speaker. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Name of the speaker. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public SpeakerJson(@JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { - this.id = id; - this.name = name; - } - - public SpeakerJson() { - this(null, null); - } - - /** - * The unique identifier of the speaker. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Name of the speaker. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the speaker. - */ - public SpeakerJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Name of the speaker. - */ - public SpeakerJson withName(@Nullable String name) { - this.name = name; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SpeakerJson other = (SpeakerJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name); - } - - @Override - public String toString() { - return Utils.toString(SpeakerJson.class, "id", id, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the speaker. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Name of the speaker. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public SpeakerJson build() { - return new SpeakerJson(id, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java index 88664fb8d..97d7952cf 100644 --- a/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java @@ -94,7 +94,7 @@ public class StandardSurveyQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson1 type; + private QuestionTypeJson type; /** * List of choices for the question. @@ -191,7 +191,7 @@ public StandardSurveyQuestionJson( @JsonProperty("shortText") @Nullable String shortText, @JsonProperty("htmlText") @Nullable String htmlText, @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable QuestionTypeJson1 type, + @JsonProperty("type") @Nullable QuestionTypeJson type, @JsonProperty("choices") @Nullable List choices, @JsonProperty("categories") @Nullable List categories, @JsonProperty("subCategories") @Nullable List subCategories, @@ -320,7 +320,7 @@ public Optional code() { /** * Question Type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -487,7 +487,7 @@ public StandardSurveyQuestionJson withCode(@Nullable String code) { /** * Question Type. */ - public StandardSurveyQuestionJson withType(@Nullable QuestionTypeJson1 type) { + public StandardSurveyQuestionJson withType(@Nullable QuestionTypeJson type) { this.type = type; return this; } @@ -719,7 +719,7 @@ public static final class Builder { private String code; - private QuestionTypeJson1 type; + private QuestionTypeJson type; private List choices; @@ -824,7 +824,7 @@ public Builder code(@Nullable String code) { /** * Question Type. */ - public Builder type(@Nullable QuestionTypeJson1 type) { + public Builder type(@Nullable QuestionTypeJson type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/StateProvince1.java b/packages/java/src/main/java/com/cvent/models/components/StateProvince1.java new file mode 100644 index 000000000..49473a1f9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/StateProvince1.java @@ -0,0 +1,859 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * StateProvince1 + * + *

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

    A survey response. + */ +public class SurveyResponse { + /** + * The unique identifier of the survey. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The method used to capture the survey response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responseMethod") + private String responseMethod; + + /** + * The list of question and answers for a survey. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responses") + private List responses; + + @JsonCreator + public SurveyResponse( + @JsonProperty("id") @Nullable String id, + @JsonProperty("responseMethod") @Nullable String responseMethod, + @JsonProperty("responses") @Nullable List responses) { + this.id = id; + this.responseMethod = responseMethod; + this.responses = responses; + } + + public SurveyResponse() { + this(null, null, null); + } + + /** + * The unique identifier of the survey. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The method used to capture the survey response. + */ + public Optional responseMethod() { + return Optional.ofNullable(this.responseMethod); + } + + /** + * The list of question and answers for a survey. + */ + public Optional> responses() { + return Optional.ofNullable(this.responses); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the survey. + */ + public SurveyResponse withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The method used to capture the survey response. + */ + public SurveyResponse withResponseMethod(@Nullable String responseMethod) { + this.responseMethod = responseMethod; + return this; + } + + /** + * The list of question and answers for a survey. + */ + public SurveyResponse withResponses(@Nullable List responses) { + this.responses = responses; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SurveyResponse other = (SurveyResponse) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.responseMethod, other.responseMethod) + && Utils.enhancedDeepEquals(this.responses, other.responses); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, responseMethod, responses); + } + + @Override + public String toString() { + return Utils.toString(SurveyResponse.class, "id", id, "responseMethod", responseMethod, "responses", responses); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String responseMethod; + + private List responses; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the survey. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The method used to capture the survey response. + */ + public Builder responseMethod(@Nullable String responseMethod) { + this.responseMethod = responseMethod; + return this; + } + + /** + * The list of question and answers for a survey. + */ + public Builder responses(@Nullable List responses) { + this.responses = responses; + return this; + } + + public SurveyResponse build() { + return new SurveyResponse(id, responseMethod, responses); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SurveyResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/SurveyResponseJson.java deleted file mode 100644 index b6475efb5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SurveyResponseJson.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * SurveyResponseJson - * - *

    A survey response. - */ -public class SurveyResponseJson { - /** - * The unique identifier of the survey. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The method used to capture the survey response. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseMethod") - private String responseMethod; - - /** - * The list of question and answers for a survey. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responses") - private List responses; - - @JsonCreator - public SurveyResponseJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("responseMethod") @Nullable String responseMethod, - @JsonProperty("responses") @Nullable List responses) { - this.id = id; - this.responseMethod = responseMethod; - this.responses = responses; - } - - public SurveyResponseJson() { - this(null, null, null); - } - - /** - * The unique identifier of the survey. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The method used to capture the survey response. - */ - public Optional responseMethod() { - return Optional.ofNullable(this.responseMethod); - } - - /** - * The list of question and answers for a survey. - */ - public Optional> responses() { - return Optional.ofNullable(this.responses); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the survey. - */ - public SurveyResponseJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The method used to capture the survey response. - */ - public SurveyResponseJson withResponseMethod(@Nullable String responseMethod) { - this.responseMethod = responseMethod; - return this; - } - - /** - * The list of question and answers for a survey. - */ - public SurveyResponseJson withResponses(@Nullable List responses) { - this.responses = responses; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SurveyResponseJson other = (SurveyResponseJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.responseMethod, other.responseMethod) - && Utils.enhancedDeepEquals(this.responses, other.responses); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, responseMethod, responses); - } - - @Override - public String toString() { - return Utils.toString( - SurveyResponseJson.class, "id", id, "responseMethod", responseMethod, "responses", responses); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String responseMethod; - - private List responses; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the survey. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The method used to capture the survey response. - */ - public Builder responseMethod(@Nullable String responseMethod) { - this.responseMethod = responseMethod; - return this; - } - - /** - * The list of question and answers for a survey. - */ - public Builder responses(@Nullable List responses) { - this.responses = responses; - return this; - } - - public SurveyResponseJson build() { - return new SurveyResponseJson(id, responseMethod, responses); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java index 1a2c6562c..9dc2a1d70 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java @@ -82,6 +82,8 @@ public class TravelBidAmenity { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -172,6 +174,8 @@ public Optional description() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -248,6 +252,8 @@ public TravelBidAmenity withDescription(@Nullable String description) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidAmenity withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -396,6 +402,8 @@ public Builder description(@Nullable String description) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java index aff991d60..ec8d25e99 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java @@ -37,6 +37,8 @@ public class TravelBidDiscount { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -73,6 +75,8 @@ public Optional discount() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -101,6 +105,8 @@ public TravelBidDiscount withDiscount(@Nullable Long discount) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidDiscount withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -164,6 +170,8 @@ public Builder discount(@Nullable Long discount) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java index 5ec9aa6fc..c8648f7a0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java @@ -78,6 +78,8 @@ public class TravelBidFairSeason { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -161,6 +163,8 @@ public Optional> rates() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -231,6 +235,8 @@ public TravelBidFairSeason withRates(@Nullable List rat /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidFairSeason withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -367,6 +373,8 @@ public Builder rates(@Nullable List rates) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java index f836c8230..49c33522c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java @@ -66,6 +66,8 @@ public class TravelBidFairSeasonRate { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -138,6 +140,8 @@ public Optional allotment() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -198,6 +202,8 @@ public TravelBidFairSeasonRate withAllotment(@Nullable Long allotment) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidFairSeasonRate withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -319,6 +325,8 @@ public Builder allotment(@Nullable Long allotment) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java index 21141e937..6cb600268 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java @@ -68,6 +68,8 @@ public class TravelBidPolicy { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -141,6 +143,8 @@ public Optional description() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -202,6 +206,8 @@ public TravelBidPolicy withDescription(@Nullable String description) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidPolicy withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -324,6 +330,8 @@ public Builder description(@Nullable String description) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java index 81a182efe..30a96ce75 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java @@ -44,6 +44,8 @@ public class TravelBidRoom { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -89,6 +91,8 @@ public Optional order() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -125,6 +129,8 @@ public TravelBidRoom withOrder(@Nullable Long order) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidRoom withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -207,6 +213,8 @@ public Builder order(@Nullable Long order) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java index 29656356e..e83e8741a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java @@ -74,6 +74,8 @@ public class TravelBidSeason { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -155,6 +157,8 @@ public Optional> weekendRates() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -223,6 +227,8 @@ public TravelBidSeason withWeekendRates(@Nullable List week /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidSeason withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -358,6 +364,8 @@ public Builder weekendRates(@Nullable List weekendRates) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java index eb66ac896..14b566611 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java @@ -80,6 +80,8 @@ public class TravelBidSeasonRate { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -170,6 +172,8 @@ public Optional allotment() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -246,6 +250,8 @@ public TravelBidSeasonRate withAllotment(@Nullable Long allotment) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidSeasonRate withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -402,6 +408,8 @@ public Builder allotment(@Nullable Long allotment) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; 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 c50beeb92..45ab78c84 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 @@ -62,6 +62,8 @@ public class TravelBidTaxAndFee { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -126,6 +128,8 @@ public Optional notes() { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Optional status() { return Optional.ofNullable(this.status); @@ -179,6 +183,8 @@ public TravelBidTaxAndFee withNotes(@Nullable String notes) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public TravelBidTaxAndFee withStatus(@Nullable BidItemStatusType status) { this.status = status; @@ -288,6 +294,8 @@ public Builder notes(@Nullable String notes) { /** * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, * and the hotel, if they agree, can update the item to deleted. + * + *

    not_offered indicates the hotel does not offer this amenity (supply side only). */ public Builder status(@Nullable BidItemStatusType status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueDetailsOverview.java b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsOverview.java new file mode 100644 index 000000000..b5a38c1f1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsOverview.java @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * VenueDetailsOverview + * + *

    An overview of venue details containing key identifiers and display properties. + */ +public class VenueDetailsOverview { + /** + * Venue ID. + */ + @JsonProperty("id") + private String id; + + /** + * Venue name. + */ + @JsonProperty("name") + private String name; + + @JsonCreator + public VenueDetailsOverview(@JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nonnull String name) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + } + + /** + * Venue ID. + */ + public String id() { + return this.id; + } + + /** + * Venue name. + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Venue ID. + */ + public VenueDetailsOverview withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Venue name. + */ + public VenueDetailsOverview withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueDetailsOverview other = (VenueDetailsOverview) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name); + } + + @Override + public String toString() { + return Utils.toString(VenueDetailsOverview.class, "id", id, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * Venue ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Venue name. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + public VenueDetailsOverview build() { + return new VenueDetailsOverview(id, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatch.java b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatch.java new file mode 100644 index 000000000..886947604 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatch.java @@ -0,0 +1,816 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueDetailsPatch + * + *

    Partial update payload for venue details. + */ +public class VenueDetailsPatch { + /** + * Type of venue. + * + *

    Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private VenueType type; + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

    Supported Timezones + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("timeZone") + private JsonNullable timeZone; + + /** + * Venue brand. Brands vary by venue type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("brand") + private JsonNullable brand; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("chainScale") + private JsonNullable chainScale; + + /** + * Primary phone number for the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mainPhoneNumber") + private String mainPhoneNumber; + + /** + * Primary fax number for the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mainFaxNumber") + private String mainFaxNumber; + + /** + * Sales phone number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("salesPhoneNumber") + private JsonNullable salesPhoneNumber; + + /** + * Sales fax number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("salesFaxNumber") + private JsonNullable salesFaxNumber; + + /** + * Toll-free number of the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tollFreeNumber") + private JsonNullable tollFreeNumber; + + /** + * Website address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("websiteAddress") + private JsonNullable websiteAddress; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currency") + private JsonNullable currency; + + /** + * Venue opening date as free-form text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("openingDate") + private JsonNullable openingDate; + + /** + * Venue description. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private JsonNullable description; + + /** + * Additional information about the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInformation") + private JsonNullable additionalInformation; + + /** + * Cancellation policy for bookings at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("cancellationPolicy") + private JsonNullable cancellationPolicy; + + /** + * Location classifications. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locationTypes") + private JsonNullable> locationTypes; + + /** + * Venue address information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private JsonNullable address; + + @JsonCreator + public VenueDetailsPatch( + @JsonProperty("type") @Nullable VenueType type, + @JsonProperty("timeZone") @Nullable JsonNullable timeZone, + @JsonProperty("brand") @Nullable JsonNullable brand, + @JsonProperty("chainScale") @Nullable JsonNullable chainScale, + @JsonProperty("mainPhoneNumber") @Nullable String mainPhoneNumber, + @JsonProperty("mainFaxNumber") @Nullable String mainFaxNumber, + @JsonProperty("salesPhoneNumber") @Nullable JsonNullable salesPhoneNumber, + @JsonProperty("salesFaxNumber") @Nullable JsonNullable salesFaxNumber, + @JsonProperty("tollFreeNumber") @Nullable JsonNullable tollFreeNumber, + @JsonProperty("websiteAddress") @Nullable JsonNullable websiteAddress, + @JsonProperty("currency") @Nullable JsonNullable currency, + @JsonProperty("openingDate") @Nullable JsonNullable openingDate, + @JsonProperty("description") @Nullable JsonNullable description, + @JsonProperty("additionalInformation") @Nullable JsonNullable additionalInformation, + @JsonProperty("cancellationPolicy") @Nullable JsonNullable cancellationPolicy, + @JsonProperty("locationTypes") @Nullable JsonNullable> locationTypes, + @JsonProperty("address") @Nullable JsonNullable address) { + this.type = type; + this.timeZone = Optional.ofNullable(timeZone).orElse(JsonNullable.undefined()); + this.brand = Optional.ofNullable(brand).orElse(JsonNullable.undefined()); + this.chainScale = Optional.ofNullable(chainScale).orElse(JsonNullable.undefined()); + this.mainPhoneNumber = mainPhoneNumber; + this.mainFaxNumber = mainFaxNumber; + this.salesPhoneNumber = Optional.ofNullable(salesPhoneNumber).orElse(JsonNullable.undefined()); + this.salesFaxNumber = Optional.ofNullable(salesFaxNumber).orElse(JsonNullable.undefined()); + this.tollFreeNumber = Optional.ofNullable(tollFreeNumber).orElse(JsonNullable.undefined()); + this.websiteAddress = Optional.ofNullable(websiteAddress).orElse(JsonNullable.undefined()); + this.currency = Optional.ofNullable(currency).orElse(JsonNullable.undefined()); + this.openingDate = Optional.ofNullable(openingDate).orElse(JsonNullable.undefined()); + this.description = Optional.ofNullable(description).orElse(JsonNullable.undefined()); + this.additionalInformation = Optional.ofNullable(additionalInformation).orElse(JsonNullable.undefined()); + this.cancellationPolicy = Optional.ofNullable(cancellationPolicy).orElse(JsonNullable.undefined()); + this.locationTypes = Optional.ofNullable(locationTypes).orElse(JsonNullable.undefined()); + this.address = Optional.ofNullable(address).orElse(JsonNullable.undefined()); + } + + public VenueDetailsPatch() { + this(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + } + + /** + * Type of venue. + * + *

    Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

    Supported Timezones + */ + public JsonNullable timeZone() { + return this.timeZone; + } + + /** + * Venue brand. Brands vary by venue type. + */ + public JsonNullable brand() { + return this.brand; + } + + public JsonNullable chainScale() { + return this.chainScale; + } + + /** + * Primary phone number for the venue. + */ + public Optional mainPhoneNumber() { + return Optional.ofNullable(this.mainPhoneNumber); + } + + /** + * Primary fax number for the venue. + */ + public Optional mainFaxNumber() { + return Optional.ofNullable(this.mainFaxNumber); + } + + /** + * Sales phone number of the venue. + */ + public JsonNullable salesPhoneNumber() { + return this.salesPhoneNumber; + } + + /** + * Sales fax number of the venue. + */ + public JsonNullable salesFaxNumber() { + return this.salesFaxNumber; + } + + /** + * Toll-free number of the venue. + */ + public JsonNullable tollFreeNumber() { + return this.tollFreeNumber; + } + + /** + * Website address. + */ + public JsonNullable websiteAddress() { + return this.websiteAddress; + } + + public JsonNullable currency() { + return this.currency; + } + + /** + * Venue opening date as free-form text. + */ + public JsonNullable openingDate() { + return this.openingDate; + } + + /** + * Venue description. + */ + public JsonNullable description() { + return this.description; + } + + /** + * Additional information about the venue. + */ + public JsonNullable additionalInformation() { + return this.additionalInformation; + } + + /** + * Cancellation policy for bookings at the venue. + */ + public JsonNullable cancellationPolicy() { + return this.cancellationPolicy; + } + + /** + * Location classifications. + */ + public JsonNullable> locationTypes() { + return this.locationTypes; + } + + /** + * Venue address information. + */ + public JsonNullable address() { + return this.address; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Type of venue. + * + *

    Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public VenueDetailsPatch withType(@Nullable VenueType type) { + this.type = type; + return this; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

    Supported Timezones + */ + public VenueDetailsPatch withTimeZone(@Nullable String timeZone) { + this.timeZone = JsonNullable.of(timeZone); + return this; + } + + /** + * Venue brand. Brands vary by venue type. + */ + public VenueDetailsPatch withBrand(@Nullable String brand) { + this.brand = JsonNullable.of(brand); + return this; + } + + public VenueDetailsPatch withChainScale(@Nullable VenueDetailsPatchChainScale chainScale) { + this.chainScale = JsonNullable.of(chainScale); + return this; + } + + /** + * Primary phone number for the venue. + */ + public VenueDetailsPatch withMainPhoneNumber(@Nullable String mainPhoneNumber) { + this.mainPhoneNumber = mainPhoneNumber; + return this; + } + + /** + * Primary fax number for the venue. + */ + public VenueDetailsPatch withMainFaxNumber(@Nullable String mainFaxNumber) { + this.mainFaxNumber = mainFaxNumber; + return this; + } + + /** + * Sales phone number of the venue. + */ + public VenueDetailsPatch withSalesPhoneNumber(@Nullable String salesPhoneNumber) { + this.salesPhoneNumber = JsonNullable.of(salesPhoneNumber); + return this; + } + + /** + * Sales fax number of the venue. + */ + public VenueDetailsPatch withSalesFaxNumber(@Nullable String salesFaxNumber) { + this.salesFaxNumber = JsonNullable.of(salesFaxNumber); + return this; + } + + /** + * Toll-free number of the venue. + */ + public VenueDetailsPatch withTollFreeNumber(@Nullable String tollFreeNumber) { + this.tollFreeNumber = JsonNullable.of(tollFreeNumber); + return this; + } + + /** + * Website address. + */ + public VenueDetailsPatch withWebsiteAddress(@Nullable String websiteAddress) { + this.websiteAddress = JsonNullable.of(websiteAddress); + return this; + } + + public VenueDetailsPatch withCurrency(@Nullable VenueDetailsPatchCurrency currency) { + this.currency = JsonNullable.of(currency); + return this; + } + + /** + * Venue opening date as free-form text. + */ + public VenueDetailsPatch withOpeningDate(@Nullable String openingDate) { + this.openingDate = JsonNullable.of(openingDate); + return this; + } + + /** + * Venue description. + */ + public VenueDetailsPatch withDescription(@Nullable String description) { + this.description = JsonNullable.of(description); + return this; + } + + /** + * Additional information about the venue. + */ + public VenueDetailsPatch withAdditionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = JsonNullable.of(additionalInformation); + return this; + } + + /** + * Cancellation policy for bookings at the venue. + */ + public VenueDetailsPatch withCancellationPolicy(@Nullable String cancellationPolicy) { + this.cancellationPolicy = JsonNullable.of(cancellationPolicy); + return this; + } + + /** + * Location classifications. + */ + public VenueDetailsPatch withLocationTypes(@Nullable List locationTypes) { + this.locationTypes = JsonNullable.of(locationTypes); + return this; + } + + /** + * Venue address information. + */ + public VenueDetailsPatch withAddress(@Nullable VenueDetailsPatchAddress address) { + this.address = JsonNullable.of(address); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueDetailsPatch other = (VenueDetailsPatch) o; + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.timeZone, other.timeZone) + && Utils.enhancedDeepEquals(this.brand, other.brand) + && Utils.enhancedDeepEquals(this.chainScale, other.chainScale) + && Utils.enhancedDeepEquals(this.mainPhoneNumber, other.mainPhoneNumber) + && Utils.enhancedDeepEquals(this.mainFaxNumber, other.mainFaxNumber) + && Utils.enhancedDeepEquals(this.salesPhoneNumber, other.salesPhoneNumber) + && Utils.enhancedDeepEquals(this.salesFaxNumber, other.salesFaxNumber) + && Utils.enhancedDeepEquals(this.tollFreeNumber, other.tollFreeNumber) + && Utils.enhancedDeepEquals(this.websiteAddress, other.websiteAddress) + && Utils.enhancedDeepEquals(this.currency, other.currency) + && Utils.enhancedDeepEquals(this.openingDate, other.openingDate) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.additionalInformation, other.additionalInformation) + && Utils.enhancedDeepEquals(this.cancellationPolicy, other.cancellationPolicy) + && Utils.enhancedDeepEquals(this.locationTypes, other.locationTypes) + && Utils.enhancedDeepEquals(this.address, other.address); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + type, + timeZone, + brand, + chainScale, + mainPhoneNumber, + mainFaxNumber, + salesPhoneNumber, + salesFaxNumber, + tollFreeNumber, + websiteAddress, + currency, + openingDate, + description, + additionalInformation, + cancellationPolicy, + locationTypes, + address); + } + + @Override + public String toString() { + return Utils.toString( + VenueDetailsPatch.class, + "type", + type, + "timeZone", + timeZone, + "brand", + brand, + "chainScale", + chainScale, + "mainPhoneNumber", + mainPhoneNumber, + "mainFaxNumber", + mainFaxNumber, + "salesPhoneNumber", + salesPhoneNumber, + "salesFaxNumber", + salesFaxNumber, + "tollFreeNumber", + tollFreeNumber, + "websiteAddress", + websiteAddress, + "currency", + currency, + "openingDate", + openingDate, + "description", + description, + "additionalInformation", + additionalInformation, + "cancellationPolicy", + cancellationPolicy, + "locationTypes", + locationTypes, + "address", + address); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private VenueType type; + + private JsonNullable timeZone; + + private JsonNullable brand; + + private JsonNullable chainScale; + + private String mainPhoneNumber; + + private String mainFaxNumber; + + private JsonNullable salesPhoneNumber; + + private JsonNullable salesFaxNumber; + + private JsonNullable tollFreeNumber; + + private JsonNullable websiteAddress; + + private JsonNullable currency; + + private JsonNullable openingDate; + + private JsonNullable description; + + private JsonNullable additionalInformation; + + private JsonNullable cancellationPolicy; + + private JsonNullable> locationTypes; + + private JsonNullable address; + + private Builder() { + // force use of static builder() method + } + + /** + * Type of venue. + * + *

    Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + public Builder type(@Nullable VenueType type) { + this.type = type; + return this; + } + + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + * + *

    Supported Timezones + */ + public Builder timeZone(@Nullable String timeZone) { + this.timeZone = JsonNullable.of(timeZone); + return this; + } + + /** + * Venue brand. Brands vary by venue type. + */ + public Builder brand(@Nullable String brand) { + this.brand = JsonNullable.of(brand); + return this; + } + + public Builder chainScale(@Nullable VenueDetailsPatchChainScale chainScale) { + this.chainScale = JsonNullable.of(chainScale); + return this; + } + + /** + * Primary phone number for the venue. + */ + public Builder mainPhoneNumber(@Nullable String mainPhoneNumber) { + this.mainPhoneNumber = mainPhoneNumber; + return this; + } + + /** + * Primary fax number for the venue. + */ + public Builder mainFaxNumber(@Nullable String mainFaxNumber) { + this.mainFaxNumber = mainFaxNumber; + return this; + } + + /** + * Sales phone number of the venue. + */ + public Builder salesPhoneNumber(@Nullable String salesPhoneNumber) { + this.salesPhoneNumber = JsonNullable.of(salesPhoneNumber); + return this; + } + + /** + * Sales fax number of the venue. + */ + public Builder salesFaxNumber(@Nullable String salesFaxNumber) { + this.salesFaxNumber = JsonNullable.of(salesFaxNumber); + return this; + } + + /** + * Toll-free number of the venue. + */ + public Builder tollFreeNumber(@Nullable String tollFreeNumber) { + this.tollFreeNumber = JsonNullable.of(tollFreeNumber); + return this; + } + + /** + * Website address. + */ + public Builder websiteAddress(@Nullable String websiteAddress) { + this.websiteAddress = JsonNullable.of(websiteAddress); + return this; + } + + public Builder currency(@Nullable VenueDetailsPatchCurrency currency) { + this.currency = JsonNullable.of(currency); + return this; + } + + /** + * Venue opening date as free-form text. + */ + public Builder openingDate(@Nullable String openingDate) { + this.openingDate = JsonNullable.of(openingDate); + return this; + } + + /** + * Venue description. + */ + public Builder description(@Nullable String description) { + this.description = JsonNullable.of(description); + return this; + } + + /** + * Additional information about the venue. + */ + public Builder additionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = JsonNullable.of(additionalInformation); + return this; + } + + /** + * Cancellation policy for bookings at the venue. + */ + public Builder cancellationPolicy(@Nullable String cancellationPolicy) { + this.cancellationPolicy = JsonNullable.of(cancellationPolicy); + return this; + } + + /** + * Location classifications. + */ + public Builder locationTypes(@Nullable List locationTypes) { + this.locationTypes = JsonNullable.of(locationTypes); + return this; + } + + /** + * Venue address information. + */ + public Builder address(@Nullable VenueDetailsPatchAddress address) { + this.address = JsonNullable.of(address); + return this; + } + + public VenueDetailsPatch build() { + return new VenueDetailsPatch( + type, + timeZone, + brand, + chainScale, + mainPhoneNumber, + mainFaxNumber, + salesPhoneNumber, + salesFaxNumber, + tollFreeNumber, + websiteAddress, + currency, + openingDate, + description, + additionalInformation, + cancellationPolicy, + locationTypes, + address); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchAddress.java b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchAddress.java new file mode 100644 index 000000000..7b109c67e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchAddress.java @@ -0,0 +1,329 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueDetailsPatchAddress + * + *

    Venue address information. + */ +public class VenueDetailsPatchAddress { + /** + * Street address line 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress1") + private JsonNullable streetAddress1; + + /** + * Street address line 2. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress2") + private JsonNullable streetAddress2; + + /** + * City. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * The state province code used for contact information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stateProvince") + private StateProvince1 stateProvince; + + /** + * ZIP or postal code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("zipPostalCode") + private JsonNullable zipPostalCode; + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private Country country; + + /** + * Directions or instructions for getting to the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("directions") + private JsonNullable directions; + + @JsonCreator + public VenueDetailsPatchAddress( + @JsonProperty("streetAddress1") @Nullable JsonNullable streetAddress1, + @JsonProperty("streetAddress2") @Nullable JsonNullable streetAddress2, + @JsonProperty("city") @Nullable String city, + @JsonProperty("stateProvince") @Nullable StateProvince1 stateProvince, + @JsonProperty("zipPostalCode") @Nullable JsonNullable zipPostalCode, + @JsonProperty("country") @Nullable Country country, + @JsonProperty("directions") @Nullable JsonNullable directions) { + this.streetAddress1 = Optional.ofNullable(streetAddress1).orElse(JsonNullable.undefined()); + this.streetAddress2 = Optional.ofNullable(streetAddress2).orElse(JsonNullable.undefined()); + this.city = city; + this.stateProvince = stateProvince; + this.zipPostalCode = Optional.ofNullable(zipPostalCode).orElse(JsonNullable.undefined()); + this.country = country; + this.directions = Optional.ofNullable(directions).orElse(JsonNullable.undefined()); + } + + public VenueDetailsPatchAddress() { + this(null, null, null, null, null, null, null); + } + + /** + * Street address line 1. + */ + public JsonNullable streetAddress1() { + return this.streetAddress1; + } + + /** + * Street address line 2. + */ + public JsonNullable streetAddress2() { + return this.streetAddress2; + } + + /** + * City. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * The state province code used for contact information. + */ + public Optional stateProvince() { + return Optional.ofNullable(this.stateProvince); + } + + /** + * ZIP or postal code. + */ + public JsonNullable zipPostalCode() { + return this.zipPostalCode; + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + /** + * Directions or instructions for getting to the venue. + */ + public JsonNullable directions() { + return this.directions; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Street address line 1. + */ + public VenueDetailsPatchAddress withStreetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = JsonNullable.of(streetAddress1); + return this; + } + + /** + * Street address line 2. + */ + public VenueDetailsPatchAddress withStreetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = JsonNullable.of(streetAddress2); + return this; + } + + /** + * City. + */ + public VenueDetailsPatchAddress withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * The state province code used for contact information. + */ + public VenueDetailsPatchAddress withStateProvince(@Nullable StateProvince1 stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * ZIP or postal code. + */ + public VenueDetailsPatchAddress withZipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = JsonNullable.of(zipPostalCode); + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public VenueDetailsPatchAddress withCountry(@Nullable Country country) { + this.country = country; + return this; + } + + /** + * Directions or instructions for getting to the venue. + */ + public VenueDetailsPatchAddress withDirections(@Nullable String directions) { + this.directions = JsonNullable.of(directions); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueDetailsPatchAddress other = (VenueDetailsPatchAddress) o; + return Utils.enhancedDeepEquals(this.streetAddress1, other.streetAddress1) + && Utils.enhancedDeepEquals(this.streetAddress2, other.streetAddress2) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) + && Utils.enhancedDeepEquals(this.zipPostalCode, other.zipPostalCode) + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.directions, other.directions); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country, directions); + } + + @Override + public String toString() { + return Utils.toString( + VenueDetailsPatchAddress.class, + "streetAddress1", + streetAddress1, + "streetAddress2", + streetAddress2, + "city", + city, + "stateProvince", + stateProvince, + "zipPostalCode", + zipPostalCode, + "country", + country, + "directions", + directions); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable streetAddress1; + + private JsonNullable streetAddress2; + + private String city; + + private StateProvince1 stateProvince; + + private JsonNullable zipPostalCode; + + private Country country; + + private JsonNullable directions; + + private Builder() { + // force use of static builder() method + } + + /** + * Street address line 1. + */ + public Builder streetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = JsonNullable.of(streetAddress1); + return this; + } + + /** + * Street address line 2. + */ + public Builder streetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = JsonNullable.of(streetAddress2); + return this; + } + + /** + * City. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * The state province code used for contact information. + */ + public Builder stateProvince(@Nullable StateProvince1 stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * ZIP or postal code. + */ + public Builder zipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = JsonNullable.of(zipPostalCode); + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public Builder country(@Nullable Country country) { + this.country = country; + return this; + } + + /** + * Directions or instructions for getting to the venue. + */ + public Builder directions(@Nullable String directions) { + this.directions = JsonNullable.of(directions); + return this; + } + + public VenueDetailsPatchAddress build() { + return new VenueDetailsPatchAddress( + streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country, directions); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchChainScale.java b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchChainScale.java new file mode 100644 index 000000000..02607d8d2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchChainScale.java @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueDetailsPatchChainScale + * + *

    A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + *

    Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ +public enum VenueDetailsPatchChainScale { + BLANK("BLANK"), + ECONOMYCHAINS("ECONOMYCHAINS"), + INDEPENDENTS("INDEPENDENTS"), + LUXURY_CHAINS("LUXURY_CHAINS"), + MIDSCALE_CHAINS("MIDSCALE_CHAINS"), + MIDSCALE_WITH_FB_CHAINS("MIDSCALE_WITH_FB_CHAINS"), + MIDSCALE_WITHOUT_FB_CHAINS("MIDSCALE_WITHOUT_FB_CHAINS"), + UPPER_MIDSCALE_CHAINS("UPPER_MIDSCALE_CHAINS"), + UPPER_UPSCALE_CHAINS("UPPER_UPSCALE_CHAINS"), + UPSCALE_CHAINS("UPSCALE_CHAINS"); + + @JsonValue + private final String value; + + VenueDetailsPatchChainScale(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueDetailsPatchChainScale o : VenueDetailsPatchChainScale.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/VenueDetailsPatchCurrency.java b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchCurrency.java new file mode 100644 index 000000000..c6908b7ee --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueDetailsPatchCurrency.java @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueDetailsPatchCurrency + * + *

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

    Partial update payload for venue facility information. Only fields present in the request body are + * updated; omitted fields remain unchanged. Set leaf fields to `null` to unset them. + * + *

    For grouped objects, update or clear each child field explicitly instead of setting the entire group + * to `null`. Field applicability varies by venue type; values supplied for fields that do not apply to + * the venue's type will be rejected. + */ +public class VenueFacilityPatch { + /** + * Total number of meeting rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("numberOfMeetingRooms") + private JsonNullable numberOfMeetingRooms; + + /** + * Facility space measurements at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("space") + private VenueFacilityPatchSpace space; + + /** + * Sleeping room inventory at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sleeping") + private VenueFacilityPatchSleeping sleeping; + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("singleRate") + private VenueFacilityPatchSingleRate singleRate; + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleRate") + private VenueFacilityPatchDoubleRate doubleRate; + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxRate") + private JsonNullable taxRate; + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("occupancyRate") + private JsonNullable occupancyRate; + + /** + * Four-digit year the venue was built. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("yearBuilt") + private JsonNullable yearBuilt; + + /** + * Four-digit year the venue was last renovated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("yearRenovated") + private JsonNullable yearRenovated; + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("proximityFromAirport") + private VenueFacilityPatchProximityFromAirport proximityFromAirport; + + /** + * Free-form description of any facility restrictions at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("restrictions") + private JsonNullable restrictions; + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maximumCapacity") + private VenueFacilityPatchMaximumCapacity maximumCapacity; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("eventInsurance") + private JsonNullable eventInsurance; + + @JsonCreator + public VenueFacilityPatch( + @JsonProperty("numberOfMeetingRooms") @Nullable JsonNullable numberOfMeetingRooms, + @JsonProperty("space") @Nullable VenueFacilityPatchSpace space, + @JsonProperty("sleeping") @Nullable VenueFacilityPatchSleeping sleeping, + @JsonProperty("singleRate") @Nullable VenueFacilityPatchSingleRate singleRate, + @JsonProperty("doubleRate") @Nullable VenueFacilityPatchDoubleRate doubleRate, + @JsonProperty("taxRate") @Nullable JsonNullable taxRate, + @JsonProperty("occupancyRate") @Nullable JsonNullable occupancyRate, + @JsonProperty("yearBuilt") @Nullable JsonNullable yearBuilt, + @JsonProperty("yearRenovated") @Nullable JsonNullable yearRenovated, + @JsonProperty("proximityFromAirport") @Nullable VenueFacilityPatchProximityFromAirport proximityFromAirport, + @JsonProperty("restrictions") @Nullable JsonNullable restrictions, + @JsonProperty("maximumCapacity") @Nullable VenueFacilityPatchMaximumCapacity maximumCapacity, + @JsonProperty("eventInsurance") @Nullable JsonNullable eventInsurance) { + this.numberOfMeetingRooms = Optional.ofNullable(numberOfMeetingRooms).orElse(JsonNullable.undefined()); + this.space = space; + this.sleeping = sleeping; + this.singleRate = singleRate; + this.doubleRate = doubleRate; + this.taxRate = Optional.ofNullable(taxRate).orElse(JsonNullable.undefined()); + this.occupancyRate = Optional.ofNullable(occupancyRate).orElse(JsonNullable.undefined()); + this.yearBuilt = Optional.ofNullable(yearBuilt).orElse(JsonNullable.undefined()); + this.yearRenovated = Optional.ofNullable(yearRenovated).orElse(JsonNullable.undefined()); + this.proximityFromAirport = proximityFromAirport; + this.restrictions = Optional.ofNullable(restrictions).orElse(JsonNullable.undefined()); + this.maximumCapacity = maximumCapacity; + this.eventInsurance = Optional.ofNullable(eventInsurance).orElse(JsonNullable.undefined()); + } + + public VenueFacilityPatch() { + this(null, null, null, null, null, null, null, null, null, null, null, null, null); + } + + /** + * Total number of meeting rooms at the venue. + */ + public JsonNullable numberOfMeetingRooms() { + return this.numberOfMeetingRooms; + } + + /** + * Facility space measurements at the venue. + */ + public Optional space() { + return Optional.ofNullable(this.space); + } + + /** + * Sleeping room inventory at the venue. + */ + public Optional sleeping() { + return Optional.ofNullable(this.sleeping); + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public Optional singleRate() { + return Optional.ofNullable(this.singleRate); + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public Optional doubleRate() { + return Optional.ofNullable(this.doubleRate); + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public JsonNullable taxRate() { + return this.taxRate; + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public JsonNullable occupancyRate() { + return this.occupancyRate; + } + + /** + * Four-digit year the venue was built. + */ + public JsonNullable yearBuilt() { + return this.yearBuilt; + } + + /** + * Four-digit year the venue was last renovated. + */ + public JsonNullable yearRenovated() { + return this.yearRenovated; + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public Optional proximityFromAirport() { + return Optional.ofNullable(this.proximityFromAirport); + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public JsonNullable restrictions() { + return this.restrictions; + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public Optional maximumCapacity() { + return Optional.ofNullable(this.maximumCapacity); + } + + public JsonNullable eventInsurance() { + return this.eventInsurance; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Total number of meeting rooms at the venue. + */ + public VenueFacilityPatch withNumberOfMeetingRooms(@Nullable Long numberOfMeetingRooms) { + this.numberOfMeetingRooms = JsonNullable.of(numberOfMeetingRooms); + return this; + } + + /** + * Facility space measurements at the venue. + */ + public VenueFacilityPatch withSpace(@Nullable VenueFacilityPatchSpace space) { + this.space = space; + return this; + } + + /** + * Sleeping room inventory at the venue. + */ + public VenueFacilityPatch withSleeping(@Nullable VenueFacilityPatchSleeping sleeping) { + this.sleeping = sleeping; + return this; + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public VenueFacilityPatch withSingleRate(@Nullable VenueFacilityPatchSingleRate singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public VenueFacilityPatch withDoubleRate(@Nullable VenueFacilityPatchDoubleRate doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public VenueFacilityPatch withTaxRate(@Nullable Double taxRate) { + this.taxRate = JsonNullable.of(taxRate); + return this; + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public VenueFacilityPatch withOccupancyRate(@Nullable Double occupancyRate) { + this.occupancyRate = JsonNullable.of(occupancyRate); + return this; + } + + /** + * Four-digit year the venue was built. + */ + public VenueFacilityPatch withYearBuilt(@Nullable Long yearBuilt) { + this.yearBuilt = JsonNullable.of(yearBuilt); + return this; + } + + /** + * Four-digit year the venue was last renovated. + */ + public VenueFacilityPatch withYearRenovated(@Nullable Long yearRenovated) { + this.yearRenovated = JsonNullable.of(yearRenovated); + return this; + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public VenueFacilityPatch withProximityFromAirport( + @Nullable VenueFacilityPatchProximityFromAirport proximityFromAirport) { + this.proximityFromAirport = proximityFromAirport; + return this; + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public VenueFacilityPatch withRestrictions(@Nullable String restrictions) { + this.restrictions = JsonNullable.of(restrictions); + return this; + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public VenueFacilityPatch withMaximumCapacity(@Nullable VenueFacilityPatchMaximumCapacity maximumCapacity) { + this.maximumCapacity = maximumCapacity; + return this; + } + + public VenueFacilityPatch withEventInsurance(@Nullable VenueFacilityPatchEventInsurance eventInsurance) { + this.eventInsurance = JsonNullable.of(eventInsurance); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueFacilityPatch other = (VenueFacilityPatch) o; + return Utils.enhancedDeepEquals(this.numberOfMeetingRooms, other.numberOfMeetingRooms) + && Utils.enhancedDeepEquals(this.space, other.space) + && Utils.enhancedDeepEquals(this.sleeping, other.sleeping) + && Utils.enhancedDeepEquals(this.singleRate, other.singleRate) + && Utils.enhancedDeepEquals(this.doubleRate, other.doubleRate) + && Utils.enhancedDeepEquals(this.taxRate, other.taxRate) + && Utils.enhancedDeepEquals(this.occupancyRate, other.occupancyRate) + && Utils.enhancedDeepEquals(this.yearBuilt, other.yearBuilt) + && Utils.enhancedDeepEquals(this.yearRenovated, other.yearRenovated) + && Utils.enhancedDeepEquals(this.proximityFromAirport, other.proximityFromAirport) + && Utils.enhancedDeepEquals(this.restrictions, other.restrictions) + && Utils.enhancedDeepEquals(this.maximumCapacity, other.maximumCapacity) + && Utils.enhancedDeepEquals(this.eventInsurance, other.eventInsurance); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + numberOfMeetingRooms, + space, + sleeping, + singleRate, + doubleRate, + taxRate, + occupancyRate, + yearBuilt, + yearRenovated, + proximityFromAirport, + restrictions, + maximumCapacity, + eventInsurance); + } + + @Override + public String toString() { + return Utils.toString( + VenueFacilityPatch.class, + "numberOfMeetingRooms", + numberOfMeetingRooms, + "space", + space, + "sleeping", + sleeping, + "singleRate", + singleRate, + "doubleRate", + doubleRate, + "taxRate", + taxRate, + "occupancyRate", + occupancyRate, + "yearBuilt", + yearBuilt, + "yearRenovated", + yearRenovated, + "proximityFromAirport", + proximityFromAirport, + "restrictions", + restrictions, + "maximumCapacity", + maximumCapacity, + "eventInsurance", + eventInsurance); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable numberOfMeetingRooms; + + private VenueFacilityPatchSpace space; + + private VenueFacilityPatchSleeping sleeping; + + private VenueFacilityPatchSingleRate singleRate; + + private VenueFacilityPatchDoubleRate doubleRate; + + private JsonNullable taxRate; + + private JsonNullable occupancyRate; + + private JsonNullable yearBuilt; + + private JsonNullable yearRenovated; + + private VenueFacilityPatchProximityFromAirport proximityFromAirport; + + private JsonNullable restrictions; + + private VenueFacilityPatchMaximumCapacity maximumCapacity; + + private JsonNullable eventInsurance; + + private Builder() { + // force use of static builder() method + } + + /** + * Total number of meeting rooms at the venue. + */ + public Builder numberOfMeetingRooms(@Nullable Long numberOfMeetingRooms) { + this.numberOfMeetingRooms = JsonNullable.of(numberOfMeetingRooms); + return this; + } + + /** + * Facility space measurements at the venue. + */ + public Builder space(@Nullable VenueFacilityPatchSpace space) { + this.space = space; + return this; + } + + /** + * Sleeping room inventory at the venue. + */ + public Builder sleeping(@Nullable VenueFacilityPatchSleeping sleeping) { + this.sleeping = sleeping; + return this; + } + + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + public Builder singleRate(@Nullable VenueFacilityPatchSingleRate singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + public Builder doubleRate(@Nullable VenueFacilityPatchDoubleRate doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + public Builder taxRate(@Nullable Double taxRate) { + this.taxRate = JsonNullable.of(taxRate); + return this; + } + + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + public Builder occupancyRate(@Nullable Double occupancyRate) { + this.occupancyRate = JsonNullable.of(occupancyRate); + return this; + } + + /** + * Four-digit year the venue was built. + */ + public Builder yearBuilt(@Nullable Long yearBuilt) { + this.yearBuilt = JsonNullable.of(yearBuilt); + return this; + } + + /** + * Four-digit year the venue was last renovated. + */ + public Builder yearRenovated(@Nullable Long yearRenovated) { + this.yearRenovated = JsonNullable.of(yearRenovated); + return this; + } + + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + public Builder proximityFromAirport(@Nullable VenueFacilityPatchProximityFromAirport proximityFromAirport) { + this.proximityFromAirport = proximityFromAirport; + return this; + } + + /** + * Free-form description of any facility restrictions at the venue. + */ + public Builder restrictions(@Nullable String restrictions) { + this.restrictions = JsonNullable.of(restrictions); + return this; + } + + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + public Builder maximumCapacity(@Nullable VenueFacilityPatchMaximumCapacity maximumCapacity) { + this.maximumCapacity = maximumCapacity; + return this; + } + + public Builder eventInsurance(@Nullable VenueFacilityPatchEventInsurance eventInsurance) { + this.eventInsurance = JsonNullable.of(eventInsurance); + return this; + } + + public VenueFacilityPatch build() { + return new VenueFacilityPatch( + numberOfMeetingRooms, + space, + sleeping, + singleRate, + doubleRate, + taxRate, + occupancyRate, + yearBuilt, + yearRenovated, + proximityFromAirport, + restrictions, + maximumCapacity, + eventInsurance); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchDistanceMeasurementUnit.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchDistanceMeasurementUnit.java new file mode 100644 index 000000000..f30399392 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchDistanceMeasurementUnit.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueFacilityPatchDistanceMeasurementUnit + * + *

    Unit of measurement for distance. + * + *

    Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ +public enum VenueFacilityPatchDistanceMeasurementUnit { + MILES("MILES"), + KILOMETERS("KILOMETERS"); + + @JsonValue + private final String value; + + VenueFacilityPatchDistanceMeasurementUnit(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueFacilityPatchDistanceMeasurementUnit o : VenueFacilityPatchDistanceMeasurementUnit.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/VenueFacilityPatchDoubleRate.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchDoubleRate.java new file mode 100644 index 000000000..fa698130c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchDoubleRate.java @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueFacilityPatchDoubleRate + * + *

    Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ +public class VenueFacilityPatchDoubleRate { + /** + * Lowest published rate for a double-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("low") + private JsonNullable low; + + /** + * Highest published rate for a double-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("high") + private JsonNullable high; + + @JsonCreator + public VenueFacilityPatchDoubleRate( + @JsonProperty("low") @Nullable JsonNullable low, + @JsonProperty("high") @Nullable JsonNullable high) { + this.low = Optional.ofNullable(low).orElse(JsonNullable.undefined()); + this.high = Optional.ofNullable(high).orElse(JsonNullable.undefined()); + } + + public VenueFacilityPatchDoubleRate() { + this(null, null); + } + + /** + * Lowest published rate for a double-occupancy room. + */ + public JsonNullable low() { + return this.low; + } + + /** + * Highest published rate for a double-occupancy room. + */ + public JsonNullable high() { + return this.high; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Lowest published rate for a double-occupancy room. + */ + public VenueFacilityPatchDoubleRate withLow(@Nullable Double low) { + this.low = JsonNullable.of(low); + return this; + } + + /** + * Highest published rate for a double-occupancy room. + */ + public VenueFacilityPatchDoubleRate withHigh(@Nullable Double high) { + this.high = JsonNullable.of(high); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueFacilityPatchDoubleRate other = (VenueFacilityPatchDoubleRate) o; + return Utils.enhancedDeepEquals(this.low, other.low) && Utils.enhancedDeepEquals(this.high, other.high); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(low, high); + } + + @Override + public String toString() { + return Utils.toString(VenueFacilityPatchDoubleRate.class, "low", low, "high", high); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable low; + + private JsonNullable high; + + private Builder() { + // force use of static builder() method + } + + /** + * Lowest published rate for a double-occupancy room. + */ + public Builder low(@Nullable Double low) { + this.low = JsonNullable.of(low); + return this; + } + + /** + * Highest published rate for a double-occupancy room. + */ + public Builder high(@Nullable Double high) { + this.high = JsonNullable.of(high); + return this; + } + + public VenueFacilityPatchDoubleRate build() { + return new VenueFacilityPatchDoubleRate(low, high); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchEventInsurance.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchEventInsurance.java new file mode 100644 index 000000000..9e6b16c75 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchEventInsurance.java @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueFacilityPatchEventInsurance + * + *

    Indicates whether event insurance is required at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

    Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ +public enum VenueFacilityPatchEventInsurance { + BLANK("BLANK"), + REQUIRED("REQUIRED"), + MAY_BE_REQUIRED("MAY_BE_REQUIRED"), + NOT_REQUIRED("NOT_REQUIRED"); + + @JsonValue + private final String value; + + VenueFacilityPatchEventInsurance(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueFacilityPatchEventInsurance o : VenueFacilityPatchEventInsurance.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/VenueFacilityPatchMaximumCapacity.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchMaximumCapacity.java new file mode 100644 index 000000000..6fa1e0218 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchMaximumCapacity.java @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueFacilityPatchMaximumCapacity + * + *

    Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ +public class VenueFacilityPatchMaximumCapacity { + /** + * Maximum seated capacity at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seated") + private JsonNullable seated; + + /** + * Maximum standing capacity at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("standing") + private JsonNullable standing; + + @JsonCreator + public VenueFacilityPatchMaximumCapacity( + @JsonProperty("seated") @Nullable JsonNullable seated, + @JsonProperty("standing") @Nullable JsonNullable standing) { + this.seated = Optional.ofNullable(seated).orElse(JsonNullable.undefined()); + this.standing = Optional.ofNullable(standing).orElse(JsonNullable.undefined()); + } + + public VenueFacilityPatchMaximumCapacity() { + this(null, null); + } + + /** + * Maximum seated capacity at the venue. + */ + public JsonNullable seated() { + return this.seated; + } + + /** + * Maximum standing capacity at the venue. + */ + public JsonNullable standing() { + return this.standing; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Maximum seated capacity at the venue. + */ + public VenueFacilityPatchMaximumCapacity withSeated(@Nullable Long seated) { + this.seated = JsonNullable.of(seated); + return this; + } + + /** + * Maximum standing capacity at the venue. + */ + public VenueFacilityPatchMaximumCapacity withStanding(@Nullable Long standing) { + this.standing = JsonNullable.of(standing); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueFacilityPatchMaximumCapacity other = (VenueFacilityPatchMaximumCapacity) o; + return Utils.enhancedDeepEquals(this.seated, other.seated) + && Utils.enhancedDeepEquals(this.standing, other.standing); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(seated, standing); + } + + @Override + public String toString() { + return Utils.toString(VenueFacilityPatchMaximumCapacity.class, "seated", seated, "standing", standing); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable seated; + + private JsonNullable standing; + + private Builder() { + // force use of static builder() method + } + + /** + * Maximum seated capacity at the venue. + */ + public Builder seated(@Nullable Long seated) { + this.seated = JsonNullable.of(seated); + return this; + } + + /** + * Maximum standing capacity at the venue. + */ + public Builder standing(@Nullable Long standing) { + this.standing = JsonNullable.of(standing); + return this; + } + + public VenueFacilityPatchMaximumCapacity build() { + return new VenueFacilityPatchMaximumCapacity(seated, standing); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchMeasurementUnit.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchMeasurementUnit.java new file mode 100644 index 000000000..af9535228 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchMeasurementUnit.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueFacilityPatchMeasurementUnit + * + *

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

    Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ +public enum VenueFacilityPatchMeasurementUnit { + SQUARE_FEET("SQUARE_FEET"), + SQUARE_METERS("SQUARE_METERS"); + + @JsonValue + private final String value; + + VenueFacilityPatchMeasurementUnit(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueFacilityPatchMeasurementUnit o : VenueFacilityPatchMeasurementUnit.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/VenueFacilityPatchProximityFromAirport.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchProximityFromAirport.java new file mode 100644 index 000000000..d758cf2a2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchProximityFromAirport.java @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueFacilityPatchProximityFromAirport + * + *

    Distance from the nearest airport. `unit` is required when `distance` is provided. + */ +public class VenueFacilityPatchProximityFromAirport { + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("distance") + private JsonNullable distance; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unit") + private JsonNullable unit; + + @JsonCreator + public VenueFacilityPatchProximityFromAirport( + @JsonProperty("distance") @Nullable JsonNullable distance, + @JsonProperty("unit") @Nullable JsonNullable unit) { + this.distance = Optional.ofNullable(distance).orElse(JsonNullable.undefined()); + this.unit = Optional.ofNullable(unit).orElse(JsonNullable.undefined()); + } + + public VenueFacilityPatchProximityFromAirport() { + this(null, null); + } + + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + public JsonNullable distance() { + return this.distance; + } + + public JsonNullable unit() { + return this.unit; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + public VenueFacilityPatchProximityFromAirport withDistance(@Nullable Double distance) { + this.distance = JsonNullable.of(distance); + return this; + } + + public VenueFacilityPatchProximityFromAirport withUnit(@Nullable VenueFacilityPatchDistanceMeasurementUnit unit) { + this.unit = JsonNullable.of(unit); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueFacilityPatchProximityFromAirport other = (VenueFacilityPatchProximityFromAirport) o; + return Utils.enhancedDeepEquals(this.distance, other.distance) && Utils.enhancedDeepEquals(this.unit, other.unit); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(distance, unit); + } + + @Override + public String toString() { + return Utils.toString(VenueFacilityPatchProximityFromAirport.class, "distance", distance, "unit", unit); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable distance; + + private JsonNullable unit; + + private Builder() { + // force use of static builder() method + } + + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + public Builder distance(@Nullable Double distance) { + this.distance = JsonNullable.of(distance); + return this; + } + + public Builder unit(@Nullable VenueFacilityPatchDistanceMeasurementUnit unit) { + this.unit = JsonNullable.of(unit); + return this; + } + + public VenueFacilityPatchProximityFromAirport build() { + return new VenueFacilityPatchProximityFromAirport(distance, unit); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSingleRate.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSingleRate.java new file mode 100644 index 000000000..3af1e0583 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSingleRate.java @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueFacilityPatchSingleRate + * + *

    Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ +public class VenueFacilityPatchSingleRate { + /** + * Lowest published rate for a single-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("low") + private JsonNullable low; + + /** + * Highest published rate for a single-occupancy room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("high") + private JsonNullable high; + + @JsonCreator + public VenueFacilityPatchSingleRate( + @JsonProperty("low") @Nullable JsonNullable low, + @JsonProperty("high") @Nullable JsonNullable high) { + this.low = Optional.ofNullable(low).orElse(JsonNullable.undefined()); + this.high = Optional.ofNullable(high).orElse(JsonNullable.undefined()); + } + + public VenueFacilityPatchSingleRate() { + this(null, null); + } + + /** + * Lowest published rate for a single-occupancy room. + */ + public JsonNullable low() { + return this.low; + } + + /** + * Highest published rate for a single-occupancy room. + */ + public JsonNullable high() { + return this.high; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Lowest published rate for a single-occupancy room. + */ + public VenueFacilityPatchSingleRate withLow(@Nullable Double low) { + this.low = JsonNullable.of(low); + return this; + } + + /** + * Highest published rate for a single-occupancy room. + */ + public VenueFacilityPatchSingleRate withHigh(@Nullable Double high) { + this.high = JsonNullable.of(high); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueFacilityPatchSingleRate other = (VenueFacilityPatchSingleRate) o; + return Utils.enhancedDeepEquals(this.low, other.low) && Utils.enhancedDeepEquals(this.high, other.high); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(low, high); + } + + @Override + public String toString() { + return Utils.toString(VenueFacilityPatchSingleRate.class, "low", low, "high", high); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable low; + + private JsonNullable high; + + private Builder() { + // force use of static builder() method + } + + /** + * Lowest published rate for a single-occupancy room. + */ + public Builder low(@Nullable Double low) { + this.low = JsonNullable.of(low); + return this; + } + + /** + * Highest published rate for a single-occupancy room. + */ + public Builder high(@Nullable Double high) { + this.high = JsonNullable.of(high); + return this; + } + + public VenueFacilityPatchSingleRate build() { + return new VenueFacilityPatchSingleRate(low, high); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSleeping.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSleeping.java new file mode 100644 index 000000000..9c7253e56 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSleeping.java @@ -0,0 +1,217 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). 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; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueFacilityPatchSleeping + * + *

    Sleeping room inventory at the venue. + */ +public class VenueFacilityPatchSleeping { + /** + * Total number of sleeping rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalRooms") + private JsonNullable totalRooms; + + /** + * Total number of suites at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("suites") + private JsonNullable suites; + + /** + * Total number of single-occupancy rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("singleRooms") + private JsonNullable singleRooms; + + /** + * Total number of double-occupancy rooms at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleRooms") + private JsonNullable doubleRooms; + + @JsonCreator + public VenueFacilityPatchSleeping( + @JsonProperty("totalRooms") @Nullable JsonNullable totalRooms, + @JsonProperty("suites") @Nullable JsonNullable suites, + @JsonProperty("singleRooms") @Nullable JsonNullable singleRooms, + @JsonProperty("doubleRooms") @Nullable JsonNullable doubleRooms) { + this.totalRooms = Optional.ofNullable(totalRooms).orElse(JsonNullable.undefined()); + this.suites = Optional.ofNullable(suites).orElse(JsonNullable.undefined()); + this.singleRooms = Optional.ofNullable(singleRooms).orElse(JsonNullable.undefined()); + this.doubleRooms = Optional.ofNullable(doubleRooms).orElse(JsonNullable.undefined()); + } + + public VenueFacilityPatchSleeping() { + this(null, null, null, null); + } + + /** + * Total number of sleeping rooms at the venue. + */ + public JsonNullable totalRooms() { + return this.totalRooms; + } + + /** + * Total number of suites at the venue. + */ + public JsonNullable suites() { + return this.suites; + } + + /** + * Total number of single-occupancy rooms at the venue. + */ + public JsonNullable singleRooms() { + return this.singleRooms; + } + + /** + * Total number of double-occupancy rooms at the venue. + */ + public JsonNullable doubleRooms() { + return this.doubleRooms; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Total number of sleeping rooms at the venue. + */ + public VenueFacilityPatchSleeping withTotalRooms(@Nullable Long totalRooms) { + this.totalRooms = JsonNullable.of(totalRooms); + return this; + } + + /** + * Total number of suites at the venue. + */ + public VenueFacilityPatchSleeping withSuites(@Nullable Long suites) { + this.suites = JsonNullable.of(suites); + return this; + } + + /** + * Total number of single-occupancy rooms at the venue. + */ + public VenueFacilityPatchSleeping withSingleRooms(@Nullable Long singleRooms) { + this.singleRooms = JsonNullable.of(singleRooms); + return this; + } + + /** + * Total number of double-occupancy rooms at the venue. + */ + public VenueFacilityPatchSleeping withDoubleRooms(@Nullable Long doubleRooms) { + this.doubleRooms = JsonNullable.of(doubleRooms); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueFacilityPatchSleeping other = (VenueFacilityPatchSleeping) o; + return Utils.enhancedDeepEquals(this.totalRooms, other.totalRooms) + && Utils.enhancedDeepEquals(this.suites, other.suites) + && Utils.enhancedDeepEquals(this.singleRooms, other.singleRooms) + && Utils.enhancedDeepEquals(this.doubleRooms, other.doubleRooms); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(totalRooms, suites, singleRooms, doubleRooms); + } + + @Override + public String toString() { + return Utils.toString( + VenueFacilityPatchSleeping.class, + "totalRooms", + totalRooms, + "suites", + suites, + "singleRooms", + singleRooms, + "doubleRooms", + doubleRooms); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable totalRooms; + + private JsonNullable suites; + + private JsonNullable singleRooms; + + private JsonNullable doubleRooms; + + private Builder() { + // force use of static builder() method + } + + /** + * Total number of sleeping rooms at the venue. + */ + public Builder totalRooms(@Nullable Long totalRooms) { + this.totalRooms = JsonNullable.of(totalRooms); + return this; + } + + /** + * Total number of suites at the venue. + */ + public Builder suites(@Nullable Long suites) { + this.suites = JsonNullable.of(suites); + return this; + } + + /** + * Total number of single-occupancy rooms at the venue. + */ + public Builder singleRooms(@Nullable Long singleRooms) { + this.singleRooms = JsonNullable.of(singleRooms); + return this; + } + + /** + * Total number of double-occupancy rooms at the venue. + */ + public Builder doubleRooms(@Nullable Long doubleRooms) { + this.doubleRooms = JsonNullable.of(doubleRooms); + return this; + } + + public VenueFacilityPatchSleeping build() { + return new VenueFacilityPatchSleeping(totalRooms, suites, singleRooms, doubleRooms); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSpace.java b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSpace.java new file mode 100644 index 000000000..cf69d41e0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueFacilityPatchSpace.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * VenueFacilityPatchSpace + * + *

    Facility space measurements at the venue. + */ +public class VenueFacilityPatchSpace { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unitOfMeasurement") + private JsonNullable unitOfMeasurement; + + /** + * Total meeting room space at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalMeetingRoomSpace") + private JsonNullable totalMeetingRoomSpace; + + /** + * Total exhibit space at the venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalExhibitSpace") + private JsonNullable totalExhibitSpace; + + @JsonCreator + public VenueFacilityPatchSpace( + @JsonProperty("unitOfMeasurement") @Nullable + JsonNullable unitOfMeasurement, + @JsonProperty("totalMeetingRoomSpace") @Nullable JsonNullable totalMeetingRoomSpace, + @JsonProperty("totalExhibitSpace") @Nullable JsonNullable totalExhibitSpace) { + this.unitOfMeasurement = Optional.ofNullable(unitOfMeasurement).orElse(JsonNullable.undefined()); + this.totalMeetingRoomSpace = Optional.ofNullable(totalMeetingRoomSpace).orElse(JsonNullable.undefined()); + this.totalExhibitSpace = Optional.ofNullable(totalExhibitSpace).orElse(JsonNullable.undefined()); + } + + public VenueFacilityPatchSpace() { + this(null, null, null); + } + + public JsonNullable unitOfMeasurement() { + return this.unitOfMeasurement; + } + + /** + * Total meeting room space at the venue. + */ + public JsonNullable totalMeetingRoomSpace() { + return this.totalMeetingRoomSpace; + } + + /** + * Total exhibit space at the venue. + */ + public JsonNullable totalExhibitSpace() { + return this.totalExhibitSpace; + } + + public static Builder builder() { + return new Builder(); + } + + public VenueFacilityPatchSpace withUnitOfMeasurement( + @Nullable VenueFacilityPatchMeasurementUnit unitOfMeasurement) { + this.unitOfMeasurement = JsonNullable.of(unitOfMeasurement); + return this; + } + + /** + * Total meeting room space at the venue. + */ + public VenueFacilityPatchSpace withTotalMeetingRoomSpace(@Nullable Long totalMeetingRoomSpace) { + this.totalMeetingRoomSpace = JsonNullable.of(totalMeetingRoomSpace); + return this; + } + + /** + * Total exhibit space at the venue. + */ + public VenueFacilityPatchSpace withTotalExhibitSpace(@Nullable Long totalExhibitSpace) { + this.totalExhibitSpace = JsonNullable.of(totalExhibitSpace); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueFacilityPatchSpace other = (VenueFacilityPatchSpace) o; + return Utils.enhancedDeepEquals(this.unitOfMeasurement, other.unitOfMeasurement) + && Utils.enhancedDeepEquals(this.totalMeetingRoomSpace, other.totalMeetingRoomSpace) + && Utils.enhancedDeepEquals(this.totalExhibitSpace, other.totalExhibitSpace); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(unitOfMeasurement, totalMeetingRoomSpace, totalExhibitSpace); + } + + @Override + public String toString() { + return Utils.toString( + VenueFacilityPatchSpace.class, + "unitOfMeasurement", + unitOfMeasurement, + "totalMeetingRoomSpace", + totalMeetingRoomSpace, + "totalExhibitSpace", + totalExhibitSpace); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable unitOfMeasurement; + + private JsonNullable totalMeetingRoomSpace; + + private JsonNullable totalExhibitSpace; + + private Builder() { + // force use of static builder() method + } + + public Builder unitOfMeasurement(@Nullable VenueFacilityPatchMeasurementUnit unitOfMeasurement) { + this.unitOfMeasurement = JsonNullable.of(unitOfMeasurement); + return this; + } + + /** + * Total meeting room space at the venue. + */ + public Builder totalMeetingRoomSpace(@Nullable Long totalMeetingRoomSpace) { + this.totalMeetingRoomSpace = JsonNullable.of(totalMeetingRoomSpace); + return this; + } + + /** + * Total exhibit space at the venue. + */ + public Builder totalExhibitSpace(@Nullable Long totalExhibitSpace) { + this.totalExhibitSpace = JsonNullable.of(totalExhibitSpace); + return this; + } + + public VenueFacilityPatchSpace build() { + return new VenueFacilityPatchSpace(unitOfMeasurement, totalMeetingRoomSpace, totalExhibitSpace); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueType.java b/packages/java/src/main/java/com/cvent/models/components/VenueType.java new file mode 100644 index 000000000..10a83ed0c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueType.java @@ -0,0 +1,85 @@ +/* + * 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; + +/** + * VenueType + * + *

    Type of venue. + * + *

    Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ +public enum VenueType { + AQUARIUM_ZOO("AQUARIUM_ZOO"), + ARENA_STADIUM("ARENA_STADIUM"), + BANQUET_FACILITY("BANQUET_FACILITY"), + BAR_CLUB("BAR_CLUB"), + BLANK("BLANK"), + BOUTIQUE_HOTEL("BOUTIQUE_HOTEL"), + CONFERENCE_CENTER("CONFERENCE_CENTER"), + CONVENTION_CENTER("CONVENTION_CENTER"), + CORPORATE_OFFICE_SPACE("CORPORATE_OFFICE_SPACE"), + CVB("CVB"), + DMC("DMC"), + EDUCATIONAL_FACILITY("EDUCATIONAL_FACILITY"), + ENTERTAINMENT_VENUE("ENTERTAINMENT_VENUE"), + EXPOSITION_CENTER("EXPOSITION_CENTER"), + GALLERY_MUSEUM("GALLERY_MUSEUM"), + GOLF_COURSE("GOLF_COURSE"), + HOTEL("HOTEL"), + INTERNAL_VENUE("INTERNAL_VENUE"), + LUXURY_HOTEL("LUXURY_HOTEL"), + MOVIE_THEATRE("MOVIE_THEATRE"), + RESORT("RESORT"), + RESTAURANT("RESTAURANT"), + SPECIAL_EVENT_VENUE("SPECIAL_EVENT_VENUE"); + + @JsonValue + private final String value; + + VenueType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueType o : VenueType.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/ZeroAllOf1.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf1.java index 829b65bd7..8dadcf1d0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf1.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf1.java @@ -5,11 +5,8 @@ import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; import java.lang.Override; import java.lang.String; import java.util.Optional; @@ -17,62 +14,39 @@ /** * ZeroAllOf1 * - *

    Represents an error response with no additional details. + *

    Details of a location. */ public class ZeroAllOf1 { /** - * The HTTP status code representing the error. + * The unique ID representing the location. */ - @JsonProperty("code") - private long code; + @JsonProperty("id") + private String id; /** - * A brief description of the error. + * The name of the location. */ - @JsonProperty("message") - private String message; - - /** - * The target resource of the error. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("target") - private String target; + @JsonProperty("name") + private String name; @JsonCreator - public ZeroAllOf1( - @JsonProperty("code") long code, - @JsonProperty("message") @Nonnull String message, - @JsonProperty("target") @Nullable String target) { - this.code = code; - this.message = - Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); - this.target = target; - } - - public ZeroAllOf1(long code, @Nonnull String message) { - this(code, message, null); + public ZeroAllOf1(@JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nonnull String name) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); } /** - * The HTTP status code representing the error. + * The unique ID representing the location. */ - public long code() { - return this.code; + public String id() { + return this.id; } /** - * A brief description of the error. + * The name of the location. */ - public String message() { - return this.message; - } - - /** - * The target resource of the error. - */ - public Optional target() { - return Optional.ofNullable(this.target); + public String name() { + return this.name; } public static Builder builder() { @@ -80,26 +54,18 @@ public static Builder builder() { } /** - * The HTTP status code representing the error. - */ - public ZeroAllOf1 withCode(long code) { - this.code = code; - return this; - } - - /** - * A brief description of the error. + * The unique ID representing the location. */ - public ZeroAllOf1 withMessage(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); + public ZeroAllOf1 withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); return this; } /** - * The target resource of the error. + * The name of the location. */ - public ZeroAllOf1 withTarget(@Nullable String target) { - this.target = target; + public ZeroAllOf1 withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); return this; } @@ -112,60 +78,48 @@ public boolean equals(java.lang.Object o) { return false; } ZeroAllOf1 other = (ZeroAllOf1) o; - return Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.message, other.message) - && Utils.enhancedDeepEquals(this.target, other.target); + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); } @Override public int hashCode() { - return Utils.enhancedHash(code, message, target); + return Utils.enhancedHash(id, name); } @Override public String toString() { - return Utils.toString(ZeroAllOf1.class, "code", code, "message", message, "target", target); + return Utils.toString(ZeroAllOf1.class, "id", id, "name", name); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private long code; - - private String message; + private String id; - private String target; + private String name; 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. + * The unique ID representing the location. */ - public Builder message(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); return this; } /** - * The target resource of the error. + * The name of the location. */ - public Builder target(@Nullable String target) { - this.target = target; + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); return this; } public ZeroAllOf1 build() { - return new ZeroAllOf1(code, message, target); + return new ZeroAllOf1(id, name); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf2.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf2.java index c713fd884..d69cc615c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf2.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf2.java @@ -5,56 +5,370 @@ import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Deprecated; import java.lang.Override; import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; import java.util.Optional; /** * ZeroAllOf2 * - *

    Details of a location. + *

    Details of an event appointment. */ public class ZeroAllOf2 { /** - * The unique ID representing the location. + * The unique ID representing the appointment. */ @JsonProperty("id") private String id; /** - * The name of the location. + * The unique appointment code in Cvent or unique reference id of an appointment in the external + * systems. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * The name of the appointment. */ @JsonProperty("name") private String name; + /** + * The description of the appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * The ISO 8601 formatted start date/time of the appointment. + */ + @JsonProperty("start") + private OffsetDateTime start; + + /** + * The ISO 8601 formatted end date/time of the appointment. + */ + @JsonProperty("end") + private OffsetDateTime end; + + /** + * Denotes the status of an appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private AppointmentStatusJson status; + + /** + * The location of the appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("location") + private LocationAllOf location; + + /** + * The type of the appointment. + */ + @JsonProperty("type") + private TypeAllOf type; + + /** + * The ISO 8601 zoned date time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The identifier of the user that created this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("createdBy") + private String createdBy; + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The identifier of the user that last updated this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("appointmentEvent") + private UuidJson appointmentEvent; + + /** + * Collection of attendees participating in this appointment, and their related details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("participants") + private List participants; + + /** + * True indicates participants will be automatically marked as accepted for the appointment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("autoAcceptAttendees") + private Boolean autoAcceptAttendees; + + /** + * True indicates that existing schedule rules were enforced when the appointment was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("enforceScheduleRules") + private Boolean enforceScheduleRules; + + /** + * This field is deprecated please use - lastModified + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("modified") + @Deprecated + private OffsetDateTime modified; + + /** + * True indicates the appointment has been logically deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("deleted") + private Boolean deleted; + @JsonCreator - public ZeroAllOf2(@JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nonnull String name) { + public ZeroAllOf2( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("code") @Nullable String code, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("description") @Nullable String description, + @JsonProperty("start") @Nonnull OffsetDateTime start, + @JsonProperty("end") @Nonnull OffsetDateTime end, + @JsonProperty("status") @Nullable AppointmentStatusJson status, + @JsonProperty("location") @Nullable LocationAllOf location, + @JsonProperty("type") @Nonnull TypeAllOf type, + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("appointmentEvent") @Nullable UuidJson appointmentEvent, + @JsonProperty("participants") @Nullable List participants, + @JsonProperty("autoAcceptAttendees") @Nullable Boolean autoAcceptAttendees, + @JsonProperty("enforceScheduleRules") @Nullable Boolean enforceScheduleRules, + @JsonProperty("modified") @Nullable OffsetDateTime modified, + @JsonProperty("deleted") @Nullable Boolean deleted) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.code = code; this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.description = description; + this.start = Optional.ofNullable(start).orElseThrow(() -> new IllegalArgumentException("start cannot be null")); + this.end = Optional.ofNullable(end).orElseThrow(() -> new IllegalArgumentException("end cannot be null")); + this.status = status; + this.location = location; + this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.appointmentEvent = appointmentEvent; + this.participants = participants; + this.autoAcceptAttendees = autoAcceptAttendees; + this.enforceScheduleRules = enforceScheduleRules; + this.modified = modified; + this.deleted = deleted; + } + + public ZeroAllOf2( + @Nonnull String id, + @Nonnull String name, + @Nonnull OffsetDateTime start, + @Nonnull OffsetDateTime end, + @Nonnull TypeAllOf type) { + this( + id, + null, + name, + null, + start, + end, + null, + null, + type, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); } /** - * The unique ID representing the location. + * The unique ID representing the appointment. */ public String id() { return this.id; } /** - * The name of the location. + * The unique appointment code in Cvent or unique reference id of an appointment in the external + * systems. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * The name of the appointment. */ public String name() { return this.name; } + /** + * The description of the appointment. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * The ISO 8601 formatted start date/time of the appointment. + */ + public OffsetDateTime start() { + return this.start; + } + + /** + * The ISO 8601 formatted end date/time of the appointment. + */ + public OffsetDateTime end() { + return this.end; + } + + /** + * Denotes the status of an appointment. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * The location of the appointment. + */ + public Optional location() { + return Optional.ofNullable(this.location); + } + + /** + * The type of the appointment. + */ + public TypeAllOf type() { + return this.type; + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Optional appointmentEvent() { + return Optional.ofNullable(this.appointmentEvent); + } + + /** + * Collection of attendees participating in this appointment, and their related details. + */ + public Optional> participants() { + return Optional.ofNullable(this.participants); + } + + /** + * True indicates participants will be automatically marked as accepted for the appointment. + */ + public Optional autoAcceptAttendees() { + return Optional.ofNullable(this.autoAcceptAttendees); + } + + /** + * True indicates that existing schedule rules were enforced when the appointment was created. + */ + public Optional enforceScheduleRules() { + return Optional.ofNullable(this.enforceScheduleRules); + } + + /** + * This field is deprecated please use - lastModified + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional modified() { + return Optional.ofNullable(this.modified); + } + + /** + * True indicates the appointment has been logically deleted. + */ + public Optional deleted() { + return Optional.ofNullable(this.deleted); + } + public static Builder builder() { return new Builder(); } /** - * The unique ID representing the location. + * The unique ID representing the appointment. */ public ZeroAllOf2 withId(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -62,13 +376,153 @@ public ZeroAllOf2 withId(@Nonnull String id) { } /** - * The name of the location. + * The unique appointment code in Cvent or unique reference id of an appointment in the external + * systems. + */ + public ZeroAllOf2 withCode(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The name of the appointment. */ public ZeroAllOf2 withName(@Nonnull String name) { this.name = Utils.checkNotNull(name, "name"); return this; } + /** + * The description of the appointment. + */ + public ZeroAllOf2 withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The ISO 8601 formatted start date/time of the appointment. + */ + public ZeroAllOf2 withStart(@Nonnull OffsetDateTime start) { + this.start = Utils.checkNotNull(start, "start"); + return this; + } + + /** + * The ISO 8601 formatted end date/time of the appointment. + */ + public ZeroAllOf2 withEnd(@Nonnull OffsetDateTime end) { + this.end = Utils.checkNotNull(end, "end"); + return this; + } + + /** + * Denotes the status of an appointment. + */ + public ZeroAllOf2 withStatus(@Nullable AppointmentStatusJson status) { + this.status = status; + return this; + } + + /** + * The location of the appointment. + */ + public ZeroAllOf2 withLocation(@Nullable LocationAllOf location) { + this.location = location; + return this; + } + + /** + * The type of the appointment. + */ + public ZeroAllOf2 withType(@Nonnull TypeAllOf type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public ZeroAllOf2 withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public ZeroAllOf2 withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public ZeroAllOf2 withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public ZeroAllOf2 withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public ZeroAllOf2 withAppointmentEvent(@Nullable UuidJson appointmentEvent) { + this.appointmentEvent = appointmentEvent; + return this; + } + + /** + * Collection of attendees participating in this appointment, and their related details. + */ + public ZeroAllOf2 withParticipants(@Nullable List participants) { + this.participants = participants; + return this; + } + + /** + * True indicates participants will be automatically marked as accepted for the appointment. + */ + public ZeroAllOf2 withAutoAcceptAttendees(@Nullable Boolean autoAcceptAttendees) { + this.autoAcceptAttendees = autoAcceptAttendees; + return this; + } + + /** + * True indicates that existing schedule rules were enforced when the appointment was created. + */ + public ZeroAllOf2 withEnforceScheduleRules(@Nullable Boolean enforceScheduleRules) { + this.enforceScheduleRules = enforceScheduleRules; + return this; + } + + /** + * This field is deprecated please use - lastModified + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public ZeroAllOf2 withModified(@Nullable OffsetDateTime modified) { + this.modified = modified; + return this; + } + + /** + * True indicates the appointment has been logically deleted. + */ + public ZeroAllOf2 withDeleted(@Nullable Boolean deleted) { + this.deleted = deleted; + return this; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -78,17 +532,93 @@ public boolean equals(java.lang.Object o) { return false; } ZeroAllOf2 other = (ZeroAllOf2) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.start, other.start) + && Utils.enhancedDeepEquals(this.end, other.end) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.location, other.location) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.appointmentEvent, other.appointmentEvent) + && Utils.enhancedDeepEquals(this.participants, other.participants) + && Utils.enhancedDeepEquals(this.autoAcceptAttendees, other.autoAcceptAttendees) + && Utils.enhancedDeepEquals(this.enforceScheduleRules, other.enforceScheduleRules) + && Utils.enhancedDeepEquals(this.modified, other.modified) + && Utils.enhancedDeepEquals(this.deleted, other.deleted); } @Override public int hashCode() { - return Utils.enhancedHash(id, name); + return Utils.enhancedHash( + id, + code, + name, + description, + start, + end, + status, + location, + type, + created, + createdBy, + lastModified, + lastModifiedBy, + appointmentEvent, + participants, + autoAcceptAttendees, + enforceScheduleRules, + modified, + deleted); } @Override public String toString() { - return Utils.toString(ZeroAllOf2.class, "id", id, "name", name); + return Utils.toString( + ZeroAllOf2.class, + "id", + id, + "code", + code, + "name", + name, + "description", + description, + "start", + start, + "end", + end, + "status", + status, + "location", + location, + "type", + type, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "appointmentEvent", + appointmentEvent, + "participants", + participants, + "autoAcceptAttendees", + autoAcceptAttendees, + "enforceScheduleRules", + enforceScheduleRules, + "modified", + modified, + "deleted", + deleted); } @SuppressWarnings("UnusedReturnValue") @@ -96,14 +626,49 @@ public static final class Builder { private String id; + private String code; + private String name; + private String description; + + private OffsetDateTime start; + + private OffsetDateTime end; + + private AppointmentStatusJson status; + + private LocationAllOf location; + + private TypeAllOf type; + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private UuidJson appointmentEvent; + + private List participants; + + private Boolean autoAcceptAttendees; + + private Boolean enforceScheduleRules; + + @Deprecated + private OffsetDateTime modified; + + private Boolean deleted; + private Builder() { // force use of static builder() method } /** - * The unique ID representing the location. + * The unique ID representing the appointment. */ public Builder id(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -111,15 +676,174 @@ public Builder id(@Nonnull String id) { } /** - * The name of the location. + * The unique appointment code in Cvent or unique reference id of an appointment in the external + * systems. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The name of the appointment. */ public Builder name(@Nonnull String name) { this.name = Utils.checkNotNull(name, "name"); return this; } + /** + * The description of the appointment. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The ISO 8601 formatted start date/time of the appointment. + */ + public Builder start(@Nonnull OffsetDateTime start) { + this.start = Utils.checkNotNull(start, "start"); + return this; + } + + /** + * The ISO 8601 formatted end date/time of the appointment. + */ + public Builder end(@Nonnull OffsetDateTime end) { + this.end = Utils.checkNotNull(end, "end"); + return this; + } + + /** + * Denotes the status of an appointment. + */ + public Builder status(@Nullable AppointmentStatusJson status) { + this.status = status; + return this; + } + + /** + * The location of the appointment. + */ + public Builder location(@Nullable LocationAllOf location) { + this.location = location; + return this; + } + + /** + * The type of the appointment. + */ + public Builder type(@Nonnull TypeAllOf type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Builder appointmentEvent(@Nullable UuidJson appointmentEvent) { + this.appointmentEvent = appointmentEvent; + return this; + } + + /** + * Collection of attendees participating in this appointment, and their related details. + */ + public Builder participants(@Nullable List participants) { + this.participants = participants; + return this; + } + + /** + * True indicates participants will be automatically marked as accepted for the appointment. + */ + public Builder autoAcceptAttendees(@Nullable Boolean autoAcceptAttendees) { + this.autoAcceptAttendees = autoAcceptAttendees; + return this; + } + + /** + * True indicates that existing schedule rules were enforced when the appointment was created. + */ + public Builder enforceScheduleRules(@Nullable Boolean enforceScheduleRules) { + this.enforceScheduleRules = enforceScheduleRules; + return this; + } + + /** + * This field is deprecated please use - lastModified + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder modified(@Nullable OffsetDateTime modified) { + this.modified = modified; + return this; + } + + /** + * True indicates the appointment has been logically deleted. + */ + public Builder deleted(@Nullable Boolean deleted) { + this.deleted = deleted; + return this; + } + public ZeroAllOf2 build() { - return new ZeroAllOf2(id, name); + return new ZeroAllOf2( + id, + code, + name, + description, + start, + end, + status, + location, + type, + created, + createdBy, + lastModified, + lastModifiedBy, + appointmentEvent, + participants, + autoAcceptAttendees, + enforceScheduleRules, + modified, + deleted); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf3.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf3.java index 7f8203372..9b0491791 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf3.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf3.java @@ -10,357 +10,69 @@ import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nonnull; import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Deprecated; import java.lang.Override; import java.lang.String; -import java.time.OffsetDateTime; -import java.util.List; import java.util.Optional; /** * ZeroAllOf3 * - *

    Details of an event appointment. + *

    Represents an error response with no additional details. */ public class ZeroAllOf3 { /** - * The unique ID representing the appointment. + * The HTTP status code representing the error. */ - @JsonProperty("id") - private String id; - - /** - * The unique appointment code in Cvent or unique reference id of an appointment in the external - * systems. - */ - @JsonInclude(Include.NON_ABSENT) @JsonProperty("code") - private String code; - - /** - * The name of the appointment. - */ - @JsonProperty("name") - private String name; - - /** - * The description of the appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("description") - private String description; - - /** - * The ISO 8601 formatted start date/time of the appointment. - */ - @JsonProperty("start") - private OffsetDateTime start; - - /** - * The ISO 8601 formatted end date/time of the appointment. - */ - @JsonProperty("end") - private OffsetDateTime end; - - /** - * Denotes the status of an appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private AppointmentStatusJson status; - - /** - * The location of the appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("location") - private LocationAllOf location; - - /** - * The type of the appointment. - */ - @JsonProperty("type") - private TypeAllOf type; - - /** - * The ISO 8601 zoned date time when this record was created. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("created") - private OffsetDateTime created; - - /** - * The identifier of the user that created this record. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("createdBy") - private String createdBy; - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModified") - private OffsetDateTime lastModified; - - /** - * The identifier of the user that last updated this record. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModifiedBy") - private String lastModifiedBy; - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("appointmentEvent") - private UuidJson appointmentEvent; - - /** - * Collection of attendees participating in this appointment, and their related details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("participants") - private List participants; - - /** - * True indicates participants will be automatically marked as accepted for the appointment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("autoAcceptAttendees") - private Boolean autoAcceptAttendees; - - /** - * True indicates that existing schedule rules were enforced when the appointment was created. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("enforceScheduleRules") - private Boolean enforceScheduleRules; + private long code; /** - * This field is deprecated please use - lastModified - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * A brief description of the error. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("modified") - @Deprecated - private OffsetDateTime modified; + @JsonProperty("message") + private String message; /** - * True indicates the appointment has been logically deleted. + * The target resource of the error. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deleted") - private Boolean deleted; + @JsonProperty("target") + private String target; @JsonCreator public ZeroAllOf3( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("code") @Nullable String code, - @JsonProperty("name") @Nonnull String name, - @JsonProperty("description") @Nullable String description, - @JsonProperty("start") @Nonnull OffsetDateTime start, - @JsonProperty("end") @Nonnull OffsetDateTime end, - @JsonProperty("status") @Nullable AppointmentStatusJson status, - @JsonProperty("location") @Nullable LocationAllOf location, - @JsonProperty("type") @Nonnull TypeAllOf type, - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("appointmentEvent") @Nullable UuidJson appointmentEvent, - @JsonProperty("participants") @Nullable List participants, - @JsonProperty("autoAcceptAttendees") @Nullable Boolean autoAcceptAttendees, - @JsonProperty("enforceScheduleRules") @Nullable Boolean enforceScheduleRules, - @JsonProperty("modified") @Nullable OffsetDateTime modified, - @JsonProperty("deleted") @Nullable Boolean deleted) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + @JsonProperty("code") long code, + @JsonProperty("message") @Nonnull String message, + @JsonProperty("target") @Nullable String target) { this.code = code; - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.description = description; - this.start = Optional.ofNullable(start).orElseThrow(() -> new IllegalArgumentException("start cannot be null")); - this.end = Optional.ofNullable(end).orElseThrow(() -> new IllegalArgumentException("end cannot be null")); - this.status = status; - this.location = location; - this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.appointmentEvent = appointmentEvent; - this.participants = participants; - this.autoAcceptAttendees = autoAcceptAttendees; - this.enforceScheduleRules = enforceScheduleRules; - this.modified = modified; - this.deleted = deleted; - } - - public ZeroAllOf3( - @Nonnull String id, - @Nonnull String name, - @Nonnull OffsetDateTime start, - @Nonnull OffsetDateTime end, - @Nonnull TypeAllOf type) { - this( - id, - null, - name, - null, - start, - end, - null, - null, - type, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null); + this.message = + Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); + this.target = target; } - /** - * The unique ID representing the appointment. - */ - public String id() { - return this.id; + public ZeroAllOf3(long code, @Nonnull String message) { + this(code, message, null); } /** - * The unique appointment code in Cvent or unique reference id of an appointment in the external - * systems. + * The HTTP status code representing the error. */ - public Optional code() { - return Optional.ofNullable(this.code); + public long code() { + return this.code; } /** - * The name of the appointment. + * A brief description of the error. */ - public String name() { - return this.name; + public String message() { + return this.message; } /** - * The description of the appointment. + * The target resource of the error. */ - public Optional description() { - return Optional.ofNullable(this.description); - } - - /** - * The ISO 8601 formatted start date/time of the appointment. - */ - public OffsetDateTime start() { - return this.start; - } - - /** - * The ISO 8601 formatted end date/time of the appointment. - */ - public OffsetDateTime end() { - return this.end; - } - - /** - * Denotes the status of an appointment. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - /** - * The location of the appointment. - */ - public Optional location() { - return Optional.ofNullable(this.location); - } - - /** - * The type of the appointment. - */ - public TypeAllOf type() { - return this.type; - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public Optional created() { - return Optional.ofNullable(this.created); - } - - /** - * The identifier of the user that created this record. - */ - public Optional createdBy() { - return Optional.ofNullable(this.createdBy); - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public Optional lastModified() { - return Optional.ofNullable(this.lastModified); - } - - /** - * The identifier of the user that last updated this record. - */ - public Optional lastModifiedBy() { - return Optional.ofNullable(this.lastModifiedBy); - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Optional appointmentEvent() { - return Optional.ofNullable(this.appointmentEvent); - } - - /** - * Collection of attendees participating in this appointment, and their related details. - */ - public Optional> participants() { - return Optional.ofNullable(this.participants); - } - - /** - * True indicates participants will be automatically marked as accepted for the appointment. - */ - public Optional autoAcceptAttendees() { - return Optional.ofNullable(this.autoAcceptAttendees); - } - - /** - * True indicates that existing schedule rules were enforced when the appointment was created. - */ - public Optional enforceScheduleRules() { - return Optional.ofNullable(this.enforceScheduleRules); - } - - /** - * This field is deprecated please use - lastModified - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional modified() { - return Optional.ofNullable(this.modified); - } - - /** - * True indicates the appointment has been logically deleted. - */ - public Optional deleted() { - return Optional.ofNullable(this.deleted); + public Optional target() { + return Optional.ofNullable(this.target); } public static Builder builder() { @@ -368,158 +80,26 @@ public static Builder builder() { } /** - * The unique ID representing the appointment. + * The HTTP status code representing the error. */ - public ZeroAllOf3 withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The unique appointment code in Cvent or unique reference id of an appointment in the external - * systems. - */ - public ZeroAllOf3 withCode(@Nullable String code) { + public ZeroAllOf3 withCode(long code) { this.code = code; return this; } /** - * The name of the appointment. - */ - public ZeroAllOf3 withName(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The description of the appointment. - */ - public ZeroAllOf3 withDescription(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The ISO 8601 formatted start date/time of the appointment. - */ - public ZeroAllOf3 withStart(@Nonnull OffsetDateTime start) { - this.start = Utils.checkNotNull(start, "start"); - return this; - } - - /** - * The ISO 8601 formatted end date/time of the appointment. - */ - public ZeroAllOf3 withEnd(@Nonnull OffsetDateTime end) { - this.end = Utils.checkNotNull(end, "end"); - return this; - } - - /** - * Denotes the status of an appointment. + * A brief description of the error. */ - public ZeroAllOf3 withStatus(@Nullable AppointmentStatusJson status) { - this.status = status; + public ZeroAllOf3 withMessage(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); return this; } /** - * The location of the appointment. + * The target resource of the error. */ - public ZeroAllOf3 withLocation(@Nullable LocationAllOf location) { - this.location = location; - return this; - } - - /** - * The type of the appointment. - */ - public ZeroAllOf3 withType(@Nonnull TypeAllOf type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public ZeroAllOf3 withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public ZeroAllOf3 withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public ZeroAllOf3 withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public ZeroAllOf3 withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public ZeroAllOf3 withAppointmentEvent(@Nullable UuidJson appointmentEvent) { - this.appointmentEvent = appointmentEvent; - return this; - } - - /** - * Collection of attendees participating in this appointment, and their related details. - */ - public ZeroAllOf3 withParticipants(@Nullable List participants) { - this.participants = participants; - return this; - } - - /** - * True indicates participants will be automatically marked as accepted for the appointment. - */ - public ZeroAllOf3 withAutoAcceptAttendees(@Nullable Boolean autoAcceptAttendees) { - this.autoAcceptAttendees = autoAcceptAttendees; - return this; - } - - /** - * True indicates that existing schedule rules were enforced when the appointment was created. - */ - public ZeroAllOf3 withEnforceScheduleRules(@Nullable Boolean enforceScheduleRules) { - this.enforceScheduleRules = enforceScheduleRules; - return this; - } - - /** - * This field is deprecated please use - lastModified - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public ZeroAllOf3 withModified(@Nullable OffsetDateTime modified) { - this.modified = modified; - return this; - } - - /** - * True indicates the appointment has been logically deleted. - */ - public ZeroAllOf3 withDeleted(@Nullable Boolean deleted) { - this.deleted = deleted; + public ZeroAllOf3 withTarget(@Nullable String target) { + this.target = target; return this; } @@ -532,318 +112,60 @@ public boolean equals(java.lang.Object o) { return false; } ZeroAllOf3 other = (ZeroAllOf3) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.description, other.description) - && Utils.enhancedDeepEquals(this.start, other.start) - && Utils.enhancedDeepEquals(this.end, other.end) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.location, other.location) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.created, other.created) - && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) - && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) - && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) - && Utils.enhancedDeepEquals(this.appointmentEvent, other.appointmentEvent) - && Utils.enhancedDeepEquals(this.participants, other.participants) - && Utils.enhancedDeepEquals(this.autoAcceptAttendees, other.autoAcceptAttendees) - && Utils.enhancedDeepEquals(this.enforceScheduleRules, other.enforceScheduleRules) - && Utils.enhancedDeepEquals(this.modified, other.modified) - && Utils.enhancedDeepEquals(this.deleted, other.deleted); + return Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.message, other.message) + && Utils.enhancedDeepEquals(this.target, other.target); } @Override public int hashCode() { - return Utils.enhancedHash( - id, - code, - name, - description, - start, - end, - status, - location, - type, - created, - createdBy, - lastModified, - lastModifiedBy, - appointmentEvent, - participants, - autoAcceptAttendees, - enforceScheduleRules, - modified, - deleted); + return Utils.enhancedHash(code, message, target); } @Override public String toString() { - return Utils.toString( - ZeroAllOf3.class, - "id", - id, - "code", - code, - "name", - name, - "description", - description, - "start", - start, - "end", - end, - "status", - status, - "location", - location, - "type", - type, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "appointmentEvent", - appointmentEvent, - "participants", - participants, - "autoAcceptAttendees", - autoAcceptAttendees, - "enforceScheduleRules", - enforceScheduleRules, - "modified", - modified, - "deleted", - deleted); + return Utils.toString(ZeroAllOf3.class, "code", code, "message", message, "target", target); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String id; - - private String code; - - private String name; + private long code; - private String description; + private String message; - private OffsetDateTime start; - - private OffsetDateTime end; - - private AppointmentStatusJson status; - - private LocationAllOf location; - - private TypeAllOf type; - - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private UuidJson appointmentEvent; - - private List participants; - - private Boolean autoAcceptAttendees; - - private Boolean enforceScheduleRules; - - @Deprecated - private OffsetDateTime modified; - - private Boolean deleted; + private String target; private Builder() { // force use of static builder() method } /** - * The unique ID representing the appointment. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The unique appointment code in Cvent or unique reference id of an appointment in the external - * systems. + * The HTTP status code representing the error. */ - public Builder code(@Nullable String code) { + public Builder code(long code) { this.code = code; return this; } /** - * The name of the appointment. - */ - public Builder name(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The description of the appointment. - */ - public Builder description(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The ISO 8601 formatted start date/time of the appointment. - */ - public Builder start(@Nonnull OffsetDateTime start) { - this.start = Utils.checkNotNull(start, "start"); - return this; - } - - /** - * The ISO 8601 formatted end date/time of the appointment. - */ - public Builder end(@Nonnull OffsetDateTime end) { - this.end = Utils.checkNotNull(end, "end"); - return this; - } - - /** - * Denotes the status of an appointment. - */ - public Builder status(@Nullable AppointmentStatusJson status) { - this.status = status; - return this; - } - - /** - * The location of the appointment. - */ - public Builder location(@Nullable LocationAllOf location) { - this.location = location; - return this; - } - - /** - * The type of the appointment. - */ - public Builder type(@Nonnull TypeAllOf type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public Builder created(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public Builder createdBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public Builder lastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public Builder lastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Builder appointmentEvent(@Nullable UuidJson appointmentEvent) { - this.appointmentEvent = appointmentEvent; - return this; - } - - /** - * Collection of attendees participating in this appointment, and their related details. - */ - public Builder participants(@Nullable List participants) { - this.participants = participants; - return this; - } - - /** - * True indicates participants will be automatically marked as accepted for the appointment. - */ - public Builder autoAcceptAttendees(@Nullable Boolean autoAcceptAttendees) { - this.autoAcceptAttendees = autoAcceptAttendees; - return this; - } - - /** - * True indicates that existing schedule rules were enforced when the appointment was created. - */ - public Builder enforceScheduleRules(@Nullable Boolean enforceScheduleRules) { - this.enforceScheduleRules = enforceScheduleRules; - return this; - } - - /** - * This field is deprecated please use - lastModified - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * A brief description of the error. */ - @Deprecated - public Builder modified(@Nullable OffsetDateTime modified) { - this.modified = modified; + public Builder message(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); return this; } /** - * True indicates the appointment has been logically deleted. + * The target resource of the error. */ - public Builder deleted(@Nullable Boolean deleted) { - this.deleted = deleted; + public Builder target(@Nullable String target) { + this.target = target; return this; } public ZeroAllOf3 build() { - return new ZeroAllOf3( - id, - code, - name, - description, - start, - end, - status, - location, - type, - created, - createdBy, - lastModified, - lastModifiedBy, - appointmentEvent, - participants, - autoAcceptAttendees, - enforceScheduleRules, - modified, - deleted); + return new ZeroAllOf3(code, message, target); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf4.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf4.java index b9ee84538..eb1c79824 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf4.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf4.java @@ -9,86 +9,104 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nullable; +import java.lang.Double; import java.lang.Override; import java.lang.String; +import java.time.OffsetDateTime; import java.util.Optional; /** * ZeroAllOf4 * - *

    Booth staff for an activity. + *

    A transaction reconciliation record. */ public class ZeroAllOf4 { /** - * The unique identifier of the exhibitor booth staff. + * The identifier of reconciled budget item. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; + @JsonProperty("budgetItem") + private BudgetItemAllOf budgetItem; /** - * The first name of the booth staff that captured the lead. + * This is used to denote the reconciliation status for a transaction. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("firstName") - private String firstName; + @JsonProperty("status") + private ReconciliationStatusJson status; /** - * The last name of the booth staff that captured the lead. + * Reconciliation amount. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastName") - private String lastName; + @JsonProperty("amount") + private Double amount; /** - * The email address of the booth staff that captured the lead. + * Reconciled by user. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - private String email; + @JsonProperty("reconciledBy") + private String reconciledBy; + + /** + * The ISO 8601 zoned date and time for Reconciled date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("reconciledDate") + private OffsetDateTime reconciledDate; @JsonCreator public ZeroAllOf4( - @JsonProperty("id") @Nullable String id, - @JsonProperty("firstName") @Nullable String firstName, - @JsonProperty("lastName") @Nullable String lastName, - @JsonProperty("email") @Nullable String email) { - this.id = id; - this.firstName = firstName; - this.lastName = lastName; - this.email = email; + @JsonProperty("budgetItem") @Nullable BudgetItemAllOf budgetItem, + @JsonProperty("status") @Nullable ReconciliationStatusJson status, + @JsonProperty("amount") @Nullable Double amount, + @JsonProperty("reconciledBy") @Nullable String reconciledBy, + @JsonProperty("reconciledDate") @Nullable OffsetDateTime reconciledDate) { + this.budgetItem = budgetItem; + this.status = status; + this.amount = amount; + this.reconciledBy = reconciledBy; + this.reconciledDate = reconciledDate; } public ZeroAllOf4() { - this(null, null, null, null); + this(null, null, null, null, null); + } + + /** + * The identifier of reconciled budget item. + */ + public Optional budgetItem() { + return Optional.ofNullable(this.budgetItem); } /** - * The unique identifier of the exhibitor booth staff. + * This is used to denote the reconciliation status for a transaction. */ - public Optional id() { - return Optional.ofNullable(this.id); + public Optional status() { + return Optional.ofNullable(this.status); } /** - * The first name of the booth staff that captured the lead. + * Reconciliation amount. */ - public Optional firstName() { - return Optional.ofNullable(this.firstName); + public Optional amount() { + return Optional.ofNullable(this.amount); } /** - * The last name of the booth staff that captured the lead. + * Reconciled by user. */ - public Optional lastName() { - return Optional.ofNullable(this.lastName); + public Optional reconciledBy() { + return Optional.ofNullable(this.reconciledBy); } /** - * The email address of the booth staff that captured the lead. + * The ISO 8601 zoned date and time for Reconciled date. */ - public Optional email() { - return Optional.ofNullable(this.email); + public Optional reconciledDate() { + return Optional.ofNullable(this.reconciledDate); } public static Builder builder() { @@ -96,34 +114,42 @@ public static Builder builder() { } /** - * The unique identifier of the exhibitor booth staff. + * The identifier of reconciled budget item. */ - public ZeroAllOf4 withId(@Nullable String id) { - this.id = id; + public ZeroAllOf4 withBudgetItem(@Nullable BudgetItemAllOf budgetItem) { + this.budgetItem = budgetItem; return this; } /** - * The first name of the booth staff that captured the lead. + * This is used to denote the reconciliation status for a transaction. */ - public ZeroAllOf4 withFirstName(@Nullable String firstName) { - this.firstName = firstName; + public ZeroAllOf4 withStatus(@Nullable ReconciliationStatusJson status) { + this.status = status; return this; } /** - * The last name of the booth staff that captured the lead. + * Reconciliation amount. */ - public ZeroAllOf4 withLastName(@Nullable String lastName) { - this.lastName = lastName; + public ZeroAllOf4 withAmount(@Nullable Double amount) { + this.amount = amount; return this; } /** - * The email address of the booth staff that captured the lead. + * Reconciled by user. */ - public ZeroAllOf4 withEmail(@Nullable String email) { - this.email = email; + public ZeroAllOf4 withReconciledBy(@Nullable String reconciledBy) { + this.reconciledBy = reconciledBy; + return this; + } + + /** + * The ISO 8601 zoned date and time for Reconciled date. + */ + public ZeroAllOf4 withReconciledDate(@Nullable OffsetDateTime reconciledDate) { + this.reconciledDate = reconciledDate; return this; } @@ -136,71 +162,93 @@ public boolean equals(java.lang.Object o) { return false; } ZeroAllOf4 other = (ZeroAllOf4) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.firstName, other.firstName) - && Utils.enhancedDeepEquals(this.lastName, other.lastName) - && Utils.enhancedDeepEquals(this.email, other.email); + return Utils.enhancedDeepEquals(this.budgetItem, other.budgetItem) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.amount, other.amount) + && Utils.enhancedDeepEquals(this.reconciledBy, other.reconciledBy) + && Utils.enhancedDeepEquals(this.reconciledDate, other.reconciledDate); } @Override public int hashCode() { - return Utils.enhancedHash(id, firstName, lastName, email); + return Utils.enhancedHash(budgetItem, status, amount, reconciledBy, reconciledDate); } @Override public String toString() { - return Utils.toString(ZeroAllOf4.class, "id", id, "firstName", firstName, "lastName", lastName, "email", email); + return Utils.toString( + ZeroAllOf4.class, + "budgetItem", + budgetItem, + "status", + status, + "amount", + amount, + "reconciledBy", + reconciledBy, + "reconciledDate", + reconciledDate); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String id; + private BudgetItemAllOf budgetItem; - private String firstName; + private ReconciliationStatusJson status; - private String lastName; + private Double amount; - private String email; + private String reconciledBy; + + private OffsetDateTime reconciledDate; private Builder() { // force use of static builder() method } /** - * The unique identifier of the exhibitor booth staff. + * The identifier of reconciled budget item. + */ + public Builder budgetItem(@Nullable BudgetItemAllOf budgetItem) { + this.budgetItem = budgetItem; + return this; + } + + /** + * This is used to denote the reconciliation status for a transaction. */ - public Builder id(@Nullable String id) { - this.id = id; + public Builder status(@Nullable ReconciliationStatusJson status) { + this.status = status; return this; } /** - * The first name of the booth staff that captured the lead. + * Reconciliation amount. */ - public Builder firstName(@Nullable String firstName) { - this.firstName = firstName; + public Builder amount(@Nullable Double amount) { + this.amount = amount; return this; } /** - * The last name of the booth staff that captured the lead. + * Reconciled by user. */ - public Builder lastName(@Nullable String lastName) { - this.lastName = lastName; + public Builder reconciledBy(@Nullable String reconciledBy) { + this.reconciledBy = reconciledBy; return this; } /** - * The email address of the booth staff that captured the lead. + * The ISO 8601 zoned date and time for Reconciled date. */ - public Builder email(@Nullable String email) { - this.email = email; + public Builder reconciledDate(@Nullable OffsetDateTime reconciledDate) { + this.reconciledDate = reconciledDate; return this; } public ZeroAllOf4 build() { - return new ZeroAllOf4(id, firstName, lastName, email); + return new ZeroAllOf4(budgetItem, status, amount, reconciledBy, reconciledDate); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf5.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf5.java index cf71b91b0..04ae05033 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf5.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf5.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; import jakarta.annotation.Nullable; import java.lang.Override; import java.lang.String; @@ -16,45 +17,78 @@ /** * ZeroAllOf5 * - *

    The question that was answered. + *

    Represents an error response for the checkin APIs that includes a unique id. */ public class ZeroAllOf5 { /** - * The unique identifier of the question. + * The unique identifier for the error response. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; /** - * Question text. + * 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("text") - private String text; + @JsonProperty("target") + private String target; @JsonCreator - public ZeroAllOf5(@JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text) { + public ZeroAllOf5( + @JsonProperty("id") @Nullable String id, + @JsonProperty("code") long code, + @JsonProperty("message") @Nonnull String message, + @JsonProperty("target") @Nullable String target) { this.id = id; - this.text = text; + this.code = code; + this.message = + Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); + this.target = target; } - public ZeroAllOf5() { - this(null, null); + public ZeroAllOf5(long code, @Nonnull String message) { + this(null, code, message, null); } /** - * The unique identifier of the question. + * The unique identifier for the error response. */ public Optional id() { return Optional.ofNullable(this.id); } /** - * Question text. + * 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 text() { - return Optional.ofNullable(this.text); + public Optional target() { + return Optional.ofNullable(this.target); } public static Builder builder() { @@ -62,7 +96,7 @@ public static Builder builder() { } /** - * The unique identifier of the question. + * The unique identifier for the error response. */ public ZeroAllOf5 withId(@Nullable String id) { this.id = id; @@ -70,10 +104,26 @@ public ZeroAllOf5 withId(@Nullable String id) { } /** - * Question text. + * The HTTP status code representing the error. + */ + public ZeroAllOf5 withCode(long code) { + this.code = code; + return this; + } + + /** + * A brief description of the error. */ - public ZeroAllOf5 withText(@Nullable String text) { - this.text = text; + public ZeroAllOf5 withMessage(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } + + /** + * The target resource of the error. + */ + public ZeroAllOf5 withTarget(@Nullable String target) { + this.target = target; return this; } @@ -86,17 +136,20 @@ public boolean equals(java.lang.Object o) { return false; } ZeroAllOf5 other = (ZeroAllOf5) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text); + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.message, other.message) + && Utils.enhancedDeepEquals(this.target, other.target); } @Override public int hashCode() { - return Utils.enhancedHash(id, text); + return Utils.enhancedHash(id, code, message, target); } @Override public String toString() { - return Utils.toString(ZeroAllOf5.class, "id", id, "text", text); + return Utils.toString(ZeroAllOf5.class, "id", id, "code", code, "message", message, "target", target); } @SuppressWarnings("UnusedReturnValue") @@ -104,14 +157,18 @@ public static final class Builder { private String id; - private String text; + private long code; + + private String message; + + private String target; private Builder() { // force use of static builder() method } /** - * The unique identifier of the question. + * The unique identifier for the error response. */ public Builder id(@Nullable String id) { this.id = id; @@ -119,15 +176,31 @@ public Builder id(@Nullable String id) { } /** - * Question text. + * 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 text(@Nullable String text) { - this.text = text; + public Builder target(@Nullable String target) { + this.target = target; return this; } public ZeroAllOf5 build() { - return new ZeroAllOf5(id, text); + return new ZeroAllOf5(id, code, message, target); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf6.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf6.java index 1554db9d7..55a0e51d0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf6.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf6.java @@ -5,11 +5,8 @@ import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Double; +import jakarta.annotation.Nonnull; import java.lang.Override; import java.lang.String; import java.time.OffsetDateTime; @@ -18,95 +15,138 @@ /** * ZeroAllOf6 * - *

    A transaction reconciliation record. + *

    Information about housing event with key information, providing a summarized view. */ public class ZeroAllOf6 { /** - * The identifier of reconciled budget item. + * The unique ID of the housing event. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("budgetItem") - private BudgetItemAllOf budgetItem; + @JsonProperty("id") + private long id; /** - * This is used to denote the reconciliation status for a transaction. + * Event name. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private ReconciliationStatusJson status; + @JsonProperty("name") + private String name; + + /** + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. + */ + @JsonProperty("start") + private OffsetDateTime start; + + /** + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. + */ + @JsonProperty("end") + private OffsetDateTime end; /** - * Reconciliation amount. + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("amount") - private Double amount; + @JsonProperty("cutOff") + private OffsetDateTime cutOff; /** - * Reconciled by user. + * The event timezone from the Olson specification. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("reconciledBy") - private String reconciledBy; + @JsonProperty("timeZone") + private String timeZone; /** - * The ISO 8601 zoned date and time for Reconciled date. + * Event venue details. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("reconciledDate") - private OffsetDateTime reconciledDate; + @JsonProperty("venue") + private VenueJson1 venue; + + /** + * Housing event status. + */ + @JsonProperty("status") + private HousingEventStatusesJson status; @JsonCreator public ZeroAllOf6( - @JsonProperty("budgetItem") @Nullable BudgetItemAllOf budgetItem, - @JsonProperty("status") @Nullable ReconciliationStatusJson status, - @JsonProperty("amount") @Nullable Double amount, - @JsonProperty("reconciledBy") @Nullable String reconciledBy, - @JsonProperty("reconciledDate") @Nullable OffsetDateTime reconciledDate) { - this.budgetItem = budgetItem; - this.status = status; - this.amount = amount; - this.reconciledBy = reconciledBy; - this.reconciledDate = reconciledDate; + @JsonProperty("id") long id, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("start") @Nonnull OffsetDateTime start, + @JsonProperty("end") @Nonnull OffsetDateTime end, + @JsonProperty("cutOff") @Nonnull OffsetDateTime cutOff, + @JsonProperty("timeZone") @Nonnull String timeZone, + @JsonProperty("venue") @Nonnull VenueJson1 venue, + @JsonProperty("status") @Nonnull HousingEventStatusesJson status) { + this.id = id; + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.start = Optional.ofNullable(start).orElseThrow(() -> new IllegalArgumentException("start cannot be null")); + this.end = Optional.ofNullable(end).orElseThrow(() -> new IllegalArgumentException("end cannot be null")); + this.cutOff = + Optional.ofNullable(cutOff).orElseThrow(() -> new IllegalArgumentException("cutOff cannot be null")); + this.timeZone = Optional.ofNullable(timeZone) + .orElseThrow(() -> new IllegalArgumentException("timeZone cannot be null")); + this.venue = Optional.ofNullable(venue).orElseThrow(() -> new IllegalArgumentException("venue cannot be null")); + this.status = + Optional.ofNullable(status).orElseThrow(() -> new IllegalArgumentException("status cannot be null")); } - public ZeroAllOf6() { - this(null, null, null, null, null); + /** + * The unique ID of the housing event. + */ + public long id() { + return this.id; } /** - * The identifier of reconciled budget item. + * Event name. */ - public Optional budgetItem() { - return Optional.ofNullable(this.budgetItem); + public String name() { + return this.name; } /** - * This is used to denote the reconciliation status for a transaction. + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. */ - public Optional status() { - return Optional.ofNullable(this.status); + public OffsetDateTime start() { + return this.start; } /** - * Reconciliation amount. + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. */ - public Optional amount() { - return Optional.ofNullable(this.amount); + public OffsetDateTime end() { + return this.end; } /** - * Reconciled by user. + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. */ - public Optional reconciledBy() { - return Optional.ofNullable(this.reconciledBy); + public OffsetDateTime cutOff() { + return this.cutOff; } /** - * The ISO 8601 zoned date and time for Reconciled date. + * The event timezone from the Olson specification. */ - public Optional reconciledDate() { - return Optional.ofNullable(this.reconciledDate); + public String timeZone() { + return this.timeZone; + } + + /** + * Event venue details. + */ + public VenueJson1 venue() { + return this.venue; + } + + /** + * Housing event status. + */ + public HousingEventStatusesJson status() { + return this.status; } public static Builder builder() { @@ -114,42 +154,68 @@ public static Builder builder() { } /** - * The identifier of reconciled budget item. + * The unique ID of the housing event. + */ + public ZeroAllOf6 withId(long id) { + this.id = id; + return this; + } + + /** + * Event name. + */ + public ZeroAllOf6 withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. + */ + public ZeroAllOf6 withStart(@Nonnull OffsetDateTime start) { + this.start = Utils.checkNotNull(start, "start"); + return this; + } + + /** + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. */ - public ZeroAllOf6 withBudgetItem(@Nullable BudgetItemAllOf budgetItem) { - this.budgetItem = budgetItem; + public ZeroAllOf6 withEnd(@Nonnull OffsetDateTime end) { + this.end = Utils.checkNotNull(end, "end"); return this; } /** - * This is used to denote the reconciliation status for a transaction. + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. */ - public ZeroAllOf6 withStatus(@Nullable ReconciliationStatusJson status) { - this.status = status; + public ZeroAllOf6 withCutOff(@Nonnull OffsetDateTime cutOff) { + this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); return this; } /** - * Reconciliation amount. + * The event timezone from the Olson specification. */ - public ZeroAllOf6 withAmount(@Nullable Double amount) { - this.amount = amount; + public ZeroAllOf6 withTimeZone(@Nonnull String timeZone) { + this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); return this; } /** - * Reconciled by user. + * Event venue details. */ - public ZeroAllOf6 withReconciledBy(@Nullable String reconciledBy) { - this.reconciledBy = reconciledBy; + public ZeroAllOf6 withVenue(@Nonnull VenueJson1 venue) { + this.venue = Utils.checkNotNull(venue, "venue"); return this; } /** - * The ISO 8601 zoned date and time for Reconciled date. + * Housing event status. */ - public ZeroAllOf6 withReconciledDate(@Nullable OffsetDateTime reconciledDate) { - this.reconciledDate = reconciledDate; + public ZeroAllOf6 withStatus(@Nonnull HousingEventStatusesJson status) { + this.status = Utils.checkNotNull(status, "status"); return this; } @@ -162,93 +228,134 @@ public boolean equals(java.lang.Object o) { return false; } ZeroAllOf6 other = (ZeroAllOf6) o; - return Utils.enhancedDeepEquals(this.budgetItem, other.budgetItem) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.amount, other.amount) - && Utils.enhancedDeepEquals(this.reconciledBy, other.reconciledBy) - && Utils.enhancedDeepEquals(this.reconciledDate, other.reconciledDate); + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.start, other.start) + && Utils.enhancedDeepEquals(this.end, other.end) + && Utils.enhancedDeepEquals(this.cutOff, other.cutOff) + && Utils.enhancedDeepEquals(this.timeZone, other.timeZone) + && Utils.enhancedDeepEquals(this.venue, other.venue) + && Utils.enhancedDeepEquals(this.status, other.status); } @Override public int hashCode() { - return Utils.enhancedHash(budgetItem, status, amount, reconciledBy, reconciledDate); + return Utils.enhancedHash(id, name, start, end, cutOff, timeZone, venue, status); } @Override public String toString() { return Utils.toString( ZeroAllOf6.class, - "budgetItem", - budgetItem, + "id", + id, + "name", + name, + "start", + start, + "end", + end, + "cutOff", + cutOff, + "timeZone", + timeZone, + "venue", + venue, "status", - status, - "amount", - amount, - "reconciledBy", - reconciledBy, - "reconciledDate", - reconciledDate); + status); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private BudgetItemAllOf budgetItem; + private long id; + + private String name; + + private OffsetDateTime start; - private ReconciliationStatusJson status; + private OffsetDateTime end; - private Double amount; + private OffsetDateTime cutOff; - private String reconciledBy; + private String timeZone; - private OffsetDateTime reconciledDate; + private VenueJson1 venue; + + private HousingEventStatusesJson status; private Builder() { // force use of static builder() method } /** - * The identifier of reconciled budget item. + * The unique ID of the housing event. + */ + public Builder id(long id) { + this.id = id; + return this; + } + + /** + * Event name. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. + */ + public Builder start(@Nonnull OffsetDateTime start) { + this.start = Utils.checkNotNull(start, "start"); + return this; + } + + /** + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. */ - public Builder budgetItem(@Nullable BudgetItemAllOf budgetItem) { - this.budgetItem = budgetItem; + public Builder end(@Nonnull OffsetDateTime end) { + this.end = Utils.checkNotNull(end, "end"); return this; } /** - * This is used to denote the reconciliation status for a transaction. + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. */ - public Builder status(@Nullable ReconciliationStatusJson status) { - this.status = status; + public Builder cutOff(@Nonnull OffsetDateTime cutOff) { + this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); return this; } /** - * Reconciliation amount. + * The event timezone from the Olson specification. */ - public Builder amount(@Nullable Double amount) { - this.amount = amount; + public Builder timeZone(@Nonnull String timeZone) { + this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); return this; } /** - * Reconciled by user. + * Event venue details. */ - public Builder reconciledBy(@Nullable String reconciledBy) { - this.reconciledBy = reconciledBy; + public Builder venue(@Nonnull VenueJson1 venue) { + this.venue = Utils.checkNotNull(venue, "venue"); return this; } /** - * The ISO 8601 zoned date and time for Reconciled date. + * Housing event status. */ - public Builder reconciledDate(@Nullable OffsetDateTime reconciledDate) { - this.reconciledDate = reconciledDate; + public Builder status(@Nonnull HousingEventStatusesJson status) { + this.status = Utils.checkNotNull(status, "status"); return this; } public ZeroAllOf6 build() { - return new ZeroAllOf6(budgetItem, status, amount, reconciledBy, reconciledDate); + return new ZeroAllOf6(id, name, start, end, cutOff, timeZone, venue, status); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf7.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf7.java deleted file mode 100644 index de90dfcd5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf7.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ZeroAllOf7 - * - *

    Represents an error response for the checkin APIs that includes a unique id. - */ -public class ZeroAllOf7 { - /** - * The unique identifier for the error response. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * 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; - - @JsonCreator - public ZeroAllOf7( - @JsonProperty("id") @Nullable String id, - @JsonProperty("code") long code, - @JsonProperty("message") @Nonnull String message, - @JsonProperty("target") @Nullable String target) { - this.id = id; - this.code = code; - this.message = - Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); - this.target = target; - } - - public ZeroAllOf7(long code, @Nonnull String message) { - this(null, code, message, null); - } - - /** - * The unique identifier for the error response. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * 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); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier for the error response. - */ - public ZeroAllOf7 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The HTTP status code representing the error. - */ - public ZeroAllOf7 withCode(long code) { - this.code = code; - return this; - } - - /** - * A brief description of the error. - */ - public ZeroAllOf7 withMessage(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); - return this; - } - - /** - * The target resource of the error. - */ - public ZeroAllOf7 withTarget(@Nullable String target) { - this.target = target; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ZeroAllOf7 other = (ZeroAllOf7) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.message, other.message) - && Utils.enhancedDeepEquals(this.target, other.target); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, code, message, target); - } - - @Override - public String toString() { - return Utils.toString(ZeroAllOf7.class, "id", id, "code", code, "message", message, "target", target); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private long code; - - private String message; - - private String target; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier for the error response. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * 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; - } - - public ZeroAllOf7 build() { - return new ZeroAllOf7(id, code, message, target); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf8.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf8.java deleted file mode 100644 index 5ab830538..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf8.java +++ /dev/null @@ -1,361 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * ZeroAllOf8 - * - *

    Information about housing event with key information, providing a summarized view. - */ -public class ZeroAllOf8 { - /** - * The unique ID of the housing event. - */ - @JsonProperty("id") - private long id; - - /** - * Event name. - */ - @JsonProperty("name") - private String name; - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - @JsonProperty("start") - private OffsetDateTime start; - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - @JsonProperty("end") - private OffsetDateTime end; - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - @JsonProperty("cutOff") - private OffsetDateTime cutOff; - - /** - * The event timezone from the Olson specification. - */ - @JsonProperty("timeZone") - private String timeZone; - - /** - * Event venue details. - */ - @JsonProperty("venue") - private VenueJson1 venue; - - /** - * Housing event status. - */ - @JsonProperty("status") - private HousingEventStatusesJson status; - - @JsonCreator - public ZeroAllOf8( - @JsonProperty("id") long id, - @JsonProperty("name") @Nonnull String name, - @JsonProperty("start") @Nonnull OffsetDateTime start, - @JsonProperty("end") @Nonnull OffsetDateTime end, - @JsonProperty("cutOff") @Nonnull OffsetDateTime cutOff, - @JsonProperty("timeZone") @Nonnull String timeZone, - @JsonProperty("venue") @Nonnull VenueJson1 venue, - @JsonProperty("status") @Nonnull HousingEventStatusesJson status) { - this.id = id; - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.start = Optional.ofNullable(start).orElseThrow(() -> new IllegalArgumentException("start cannot be null")); - this.end = Optional.ofNullable(end).orElseThrow(() -> new IllegalArgumentException("end cannot be null")); - this.cutOff = - Optional.ofNullable(cutOff).orElseThrow(() -> new IllegalArgumentException("cutOff cannot be null")); - this.timeZone = Optional.ofNullable(timeZone) - .orElseThrow(() -> new IllegalArgumentException("timeZone cannot be null")); - this.venue = Optional.ofNullable(venue).orElseThrow(() -> new IllegalArgumentException("venue cannot be null")); - this.status = - Optional.ofNullable(status).orElseThrow(() -> new IllegalArgumentException("status cannot be null")); - } - - /** - * The unique ID of the housing event. - */ - public long id() { - return this.id; - } - - /** - * Event name. - */ - public String name() { - return this.name; - } - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - public OffsetDateTime start() { - return this.start; - } - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - public OffsetDateTime end() { - return this.end; - } - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - public OffsetDateTime cutOff() { - return this.cutOff; - } - - /** - * The event timezone from the Olson specification. - */ - public String timeZone() { - return this.timeZone; - } - - /** - * Event venue details. - */ - public VenueJson1 venue() { - return this.venue; - } - - /** - * Housing event status. - */ - public HousingEventStatusesJson status() { - return this.status; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the housing event. - */ - public ZeroAllOf8 withId(long id) { - this.id = id; - return this; - } - - /** - * Event name. - */ - public ZeroAllOf8 withName(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - public ZeroAllOf8 withStart(@Nonnull OffsetDateTime start) { - this.start = Utils.checkNotNull(start, "start"); - return this; - } - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - public ZeroAllOf8 withEnd(@Nonnull OffsetDateTime end) { - this.end = Utils.checkNotNull(end, "end"); - return this; - } - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - public ZeroAllOf8 withCutOff(@Nonnull OffsetDateTime cutOff) { - this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); - return this; - } - - /** - * The event timezone from the Olson specification. - */ - public ZeroAllOf8 withTimeZone(@Nonnull String timeZone) { - this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); - return this; - } - - /** - * Event venue details. - */ - public ZeroAllOf8 withVenue(@Nonnull VenueJson1 venue) { - this.venue = Utils.checkNotNull(venue, "venue"); - return this; - } - - /** - * Housing event status. - */ - public ZeroAllOf8 withStatus(@Nonnull HousingEventStatusesJson status) { - this.status = Utils.checkNotNull(status, "status"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ZeroAllOf8 other = (ZeroAllOf8) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.start, other.start) - && Utils.enhancedDeepEquals(this.end, other.end) - && Utils.enhancedDeepEquals(this.cutOff, other.cutOff) - && Utils.enhancedDeepEquals(this.timeZone, other.timeZone) - && Utils.enhancedDeepEquals(this.venue, other.venue) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, start, end, cutOff, timeZone, venue, status); - } - - @Override - public String toString() { - return Utils.toString( - ZeroAllOf8.class, - "id", - id, - "name", - name, - "start", - start, - "end", - end, - "cutOff", - cutOff, - "timeZone", - timeZone, - "venue", - venue, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private long id; - - private String name; - - private OffsetDateTime start; - - private OffsetDateTime end; - - private OffsetDateTime cutOff; - - private String timeZone; - - private VenueJson1 venue; - - private HousingEventStatusesJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the housing event. - */ - public Builder id(long id) { - this.id = id; - return this; - } - - /** - * Event name. - */ - public Builder name(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - public Builder start(@Nonnull OffsetDateTime start) { - this.start = Utils.checkNotNull(start, "start"); - return this; - } - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - public Builder end(@Nonnull OffsetDateTime end) { - this.end = Utils.checkNotNull(end, "end"); - return this; - } - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - public Builder cutOff(@Nonnull OffsetDateTime cutOff) { - this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); - return this; - } - - /** - * The event timezone from the Olson specification. - */ - public Builder timeZone(@Nonnull String timeZone) { - this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); - return this; - } - - /** - * Event venue details. - */ - public Builder venue(@Nonnull VenueJson1 venue) { - this.venue = Utils.checkNotNull(venue, "venue"); - return this; - } - - /** - * Housing event status. - */ - public Builder status(@Nonnull HousingEventStatusesJson status) { - this.status = Utils.checkNotNull(status, "status"); - return this; - } - - public ZeroAllOf8 build() { - return new ZeroAllOf8(id, name, start, end, cutOff, timeZone, venue, status); - } - } -} 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 index 35f8309f4..30b4df39a 100644 --- a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse.java +++ b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.errors; -import com.cvent.models.components.ZeroAllOf1; +import com.cvent.models.components.ZeroAllOf3; import com.cvent.utils.Blob; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -96,7 +96,7 @@ public Optional target() { * Additional details of cascading error messages. */ @Deprecated - public Optional> details() { + public Optional> details() { return data().flatMap(Data::details); } @@ -140,14 +140,14 @@ public static class Data { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public Data( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.code = code; this.message = Optional.ofNullable(message) .orElseThrow(() -> new IllegalArgumentException("message cannot be null")); @@ -183,7 +183,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -218,7 +218,7 @@ public Data withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Data withDetails(@Nullable List details) { + public Data withDetails(@Nullable List details) { this.details = details; return this; } @@ -257,7 +257,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -290,7 +290,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/errors/SegmentsErrorResponse.java b/packages/java/src/main/java/com/cvent/models/errors/SegmentsErrorResponse.java index 77ecfad48..daa1ee945 100644 --- a/packages/java/src/main/java/com/cvent/models/errors/SegmentsErrorResponse.java +++ b/packages/java/src/main/java/com/cvent/models/errors/SegmentsErrorResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.errors; -import com.cvent.models.components.ZeroAllOf1; +import com.cvent.models.components.ZeroAllOf3; import com.cvent.utils.Blob; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -96,7 +96,7 @@ public Optional target() { * Additional details of cascading error messages. */ @Deprecated - public Optional> details() { + public Optional> details() { return data().flatMap(Data::details); } @@ -148,7 +148,7 @@ public static class Data { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; /** * Business validation code for bad requests. @@ -162,7 +162,7 @@ public Data( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details, + @JsonProperty("details") @Nullable List details, @JsonProperty("validationCode") @Nullable ValidationCode validationCode) { this.code = code; this.message = Optional.ofNullable(message) @@ -200,7 +200,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -242,7 +242,7 @@ public Data withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Data withDetails(@Nullable List details) { + public Data withDetails(@Nullable List details) { this.details = details; return this; } @@ -301,7 +301,7 @@ public static final class Builder { private String target; - private List details; + private List details; private ValidationCode validationCode; @@ -336,7 +336,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestRequest.java b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestRequest.java index 040b43d4b..833e86c36 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestRequest.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.MeetingRequestCreateJson; +import com.cvent.models.components.MeetingRequestCreate; import com.cvent.utils.SpeakeasyMetadata; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -32,20 +32,20 @@ public class CreateMeetingRequestRequest { * Up to **5 meeting requests** can be created per call. */ @SpeakeasyMetadata("request:mediaType=application/json") - private List requestBody; + private List requestBody; @JsonCreator public CreateMeetingRequestRequest( @Nonnull String id, @Nullable Boolean skipRequiredQuestionValidation, - @Nonnull List requestBody) { + @Nonnull List requestBody) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.skipRequiredQuestionValidation = skipRequiredQuestionValidation; this.requestBody = Optional.ofNullable(requestBody) .orElseThrow(() -> new IllegalArgumentException("requestBody cannot be null")); } - public CreateMeetingRequestRequest(@Nonnull String id, @Nonnull List requestBody) { + public CreateMeetingRequestRequest(@Nonnull String id, @Nonnull List requestBody) { this(id, null, requestBody); } @@ -66,7 +66,7 @@ public Optional skipRequiredQuestionValidation() { /** * Up to **5 meeting requests** can be created per call. */ - public List requestBody() { + public List requestBody() { return this.requestBody; } @@ -94,7 +94,7 @@ public CreateMeetingRequestRequest withSkipRequiredQuestionValidation( /** * Up to **5 meeting requests** can be created per call. */ - public CreateMeetingRequestRequest withRequestBody(@Nonnull List requestBody) { + public CreateMeetingRequestRequest withRequestBody(@Nonnull List requestBody) { this.requestBody = Utils.checkNotNull(requestBody, "requestBody"); return this; } @@ -137,7 +137,7 @@ public static final class Builder { private Boolean skipRequiredQuestionValidation; - private List requestBody; + private List requestBody; private Builder() { // force use of static builder() method @@ -162,7 +162,7 @@ public Builder skipRequiredQuestionValidation(@Nullable Boolean skipRequiredQues /** * Up to **5 meeting requests** can be created per call. */ - public Builder requestBody(@Nonnull List requestBody) { + public Builder requestBody(@Nonnull List requestBody) { this.requestBody = Utils.checkNotNull(requestBody, "requestBody"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestResponse.java b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestResponse.java index e8abb7886..6c404b881 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRequestResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.MeetingRequestBulkResponseItemJson; +import com.cvent.models.components.MeetingRequestBulkResponseItem; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -35,14 +35,14 @@ public class CreateMeetingRequestResponse implements Response { /** * Meeting request(s) were successfully created. */ - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; @JsonCreator public CreateMeetingRequestResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -80,7 +80,7 @@ public HttpResponse rawResponse() { /** * Meeting request(s) were successfully created. */ - public Optional> meetingRequestBulkResponse() { + public Optional> meetingRequestBulkResponse() { return Optional.ofNullable(this.meetingRequestBulkResponse); } @@ -116,7 +116,7 @@ public CreateMeetingRequestResponse withRawResponse(@Nonnull HttpResponse meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } @@ -164,7 +164,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; private Builder() { // force use of static builder() method @@ -198,7 +198,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Meeting request(s) were successfully created. */ public Builder meetingRequestBulkResponse( - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomRequest.java b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomRequest.java new file mode 100644 index 000000000..70803b8bb --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomRequest.java @@ -0,0 +1,112 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.MeetingRoom; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class CreateMeetingRoomRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @SpeakeasyMetadata("request:mediaType=application/json") + private MeetingRoom meetingRoom; + + @JsonCreator + public CreateMeetingRoomRequest(@Nonnull String venueId, @Nonnull MeetingRoom meetingRoom) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.meetingRoom = Optional.ofNullable(meetingRoom) + .orElseThrow(() -> new IllegalArgumentException("meetingRoom cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public MeetingRoom meetingRoom() { + return this.meetingRoom; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public CreateMeetingRoomRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public CreateMeetingRoomRequest withMeetingRoom(@Nonnull MeetingRoom meetingRoom) { + this.meetingRoom = Utils.checkNotNull(meetingRoom, "meetingRoom"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateMeetingRoomRequest other = (CreateMeetingRoomRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.meetingRoom, other.meetingRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, meetingRoom); + } + + @Override + public String toString() { + return Utils.toString(CreateMeetingRoomRequest.class, "venueId", venueId, "meetingRoom", meetingRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private MeetingRoom meetingRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public Builder meetingRoom(@Nonnull MeetingRoom meetingRoom) { + this.meetingRoom = Utils.checkNotNull(meetingRoom, "meetingRoom"); + return this; + } + + public CreateMeetingRoomRequest build() { + return new CreateMeetingRoomRequest(venueId, meetingRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomRequestBuilder.java new file mode 100644 index 000000000..07fbf12bb --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.CreateMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class CreateMeetingRoomRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private CreateMeetingRoomRequest request; + private final Options.Builder optionsBuilder; + + public CreateMeetingRoomRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public CreateMeetingRoomRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public CreateMeetingRoomRequestBuilder request(@Nonnull CreateMeetingRoomRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private CreateMeetingRoomRequest _buildRequest() { + return this.request; + } + + public CreateMeetingRoomRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CreateMeetingRoomResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new CreateMeetingRoom.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomResponse.java b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomResponse.java new file mode 100644 index 000000000..4f1985344 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateMeetingRoomResponse.java @@ -0,0 +1,237 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingMeetingRoom; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Map; +import java.util.Optional; + +public class CreateMeetingRoomResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Meeting room created successfully. + */ + private ExistingMeetingRoom existingMeetingRoom; + + private Map> headers; + + @JsonCreator + public CreateMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingMeetingRoom existingMeetingRoom, + @Nonnull Map> headers) { + headers = Utils.emptyMapIfNull(headers); + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingMeetingRoom = existingMeetingRoom; + this.headers = + Optional.ofNullable(headers).orElseThrow(() -> new IllegalArgumentException("headers cannot be null")); + } + + public CreateMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nonnull Map> headers) { + this(contentType, statusCode, rawResponse, null, headers); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Meeting room created successfully. + */ + public Optional existingMeetingRoom() { + return Optional.ofNullable(this.existingMeetingRoom); + } + + public Map> headers() { + return this.headers; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public CreateMeetingRoomResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public CreateMeetingRoomResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public CreateMeetingRoomResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Meeting room created successfully. + */ + public CreateMeetingRoomResponse withExistingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + public CreateMeetingRoomResponse withHeaders(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateMeetingRoomResponse other = (CreateMeetingRoomResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingMeetingRoom, other.existingMeetingRoom) + && Utils.enhancedDeepEquals(this.headers, other.headers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingMeetingRoom, headers); + } + + @Override + public String toString() { + return Utils.toString( + CreateMeetingRoomResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingMeetingRoom", + existingMeetingRoom, + "headers", + headers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingMeetingRoom existingMeetingRoom; + + private Map> headers; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Meeting room created successfully. + */ + public Builder existingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + public Builder headers(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + public CreateMeetingRoomResponse build() { + return new CreateMeetingRoomResponse(contentType, statusCode, rawResponse, existingMeetingRoom, headers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetAirActualDetailRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetAirActualDetailRequest.java index 7c84b2fbe..329f04f9d 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetAirActualDetailRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetAirActualDetailRequest.java @@ -19,6 +19,12 @@ import java.util.Optional; public class GetAirActualDetailRequest { + /** + * ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -92,22 +98,17 @@ public class GetAirActualDetailRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * ID of an event. - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetAirActualDetailRequest( + @Nonnull String id, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, @Nullable List expand, @Nullable String sort, - @Nullable String filter, - @Nonnull String id) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); @@ -115,11 +116,17 @@ public GetAirActualDetailRequest( this.expand = expand; this.sort = sort; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetAirActualDetailRequest(@Nonnull String id) { - this(null, null, null, null, null, null, null, id); + this(id, null, null, null, null, null, null, null); + } + + /** + * ID of an event. + */ + public String id() { + return this.id; } /** @@ -202,15 +209,16 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * ID of an event. */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetAirActualDetailRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -300,14 +308,6 @@ public GetAirActualDetailRequest withFilter(@Nullable String filter) { return this; } - /** - * ID of an event. - */ - public GetAirActualDetailRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -317,25 +317,27 @@ public boolean equals(java.lang.Object o) { return false; } GetAirActualDetailRequest other = (GetAirActualDetailRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) && Utils.enhancedDeepEquals(this.expand, other.expand) && Utils.enhancedDeepEquals(this.sort, other.sort) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, expand, sort, filter, id); + return Utils.enhancedHash(id, after, before, limit, token, expand, sort, filter); } @Override public String toString() { return Utils.toString( GetAirActualDetailRequest.class, + "id", + id, "after", after, "before", @@ -349,14 +351,14 @@ public String toString() { "sort", sort, "filter", - filter, - "id", - id); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private OffsetDateTime after; private OffsetDateTime before; @@ -371,12 +373,18 @@ public static final class Builder { private String filter; - private String id; - private Builder() { // force use of static builder() method } + /** + * ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -464,16 +472,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * ID of an event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetAirActualDetailRequest build() { - return new GetAirActualDetailRequest(after, before, limit, token, expand, sort, filter, id); + return new GetAirActualDetailRequest(id, after, before, limit, token, expand, sort, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetAirRequestsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetAirRequestsRequest.java index e3b85c5cb..490ff81c0 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetAirRequestsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetAirRequestsRequest.java @@ -19,6 +19,12 @@ import java.util.Optional; public class GetAirRequestsRequest { + /** + * ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -92,22 +98,17 @@ public class GetAirRequestsRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=expand") private List expand; - /** - * ID of an event. - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetAirRequestsRequest( + @Nonnull String id, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, @Nullable String sort, @Nullable String filter, - @Nullable List expand, - @Nonnull String id) { + @Nullable List expand) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); @@ -115,11 +116,17 @@ public GetAirRequestsRequest( this.sort = sort; this.filter = filter; this.expand = expand; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetAirRequestsRequest(@Nonnull String id) { - this(null, null, null, null, null, null, null, id); + this(id, null, null, null, null, null, null, null); + } + + /** + * ID of an event. + */ + public String id() { + return this.id; } /** @@ -202,15 +209,16 @@ public Optional> expand() { return Optional.ofNullable(this.expand); } + public static Builder builder() { + return new Builder(); + } + /** * ID of an event. */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetAirRequestsRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -300,14 +308,6 @@ public GetAirRequestsRequest withExpand(@Nullable List expand; - private String id; - private Builder() { // force use of static builder() method } + /** + * ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -464,16 +472,8 @@ public Builder expand(@Nullable List expand) { return this; } - /** - * ID of an event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetAirRequestsRequest build() { - return new GetAirRequestsRequest(after, before, limit, token, sort, filter, expand, id); + return new GetAirRequestsRequest(id, after, before, limit, token, sort, filter, expand); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetAlternateTravelAnswersRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetAlternateTravelAnswersRequest.java index d20b7d2f6..5ff007116 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetAlternateTravelAnswersRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetAlternateTravelAnswersRequest.java @@ -17,6 +17,12 @@ import java.util.Optional; public class GetAlternateTravelAnswersRequest { + /** + * ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -62,30 +68,31 @@ public class GetAlternateTravelAnswersRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * ID of an event. - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetAlternateTravelAnswersRequest( + @Nonnull String id, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, - @Nullable String filter, - @Nonnull String id) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetAlternateTravelAnswersRequest(@Nonnull String id) { - this(null, null, null, null, null, id); + this(id, null, null, null, null, null); + } + + /** + * ID of an event. + */ + public String id() { + return this.id; } /** @@ -138,15 +145,16 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * ID of an event. */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetAlternateTravelAnswersRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -204,14 +212,6 @@ public GetAlternateTravelAnswersRequest withFilter(@Nullable String filter) { return this; } - /** - * ID of an event. - */ - public GetAlternateTravelAnswersRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -221,23 +221,25 @@ public boolean equals(java.lang.Object o) { return false; } GetAlternateTravelAnswersRequest other = (GetAlternateTravelAnswersRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, filter, id); + return Utils.enhancedHash(id, after, before, limit, token, filter); } @Override public String toString() { return Utils.toString( GetAlternateTravelAnswersRequest.class, + "id", + id, "after", after, "before", @@ -247,14 +249,14 @@ public String toString() { "token", token, "filter", - filter, - "id", - id); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private OffsetDateTime after; private OffsetDateTime before; @@ -265,12 +267,18 @@ public static final class Builder { private String filter; - private String id; - private Builder() { // force use of static builder() method } + /** + * ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -326,16 +334,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * ID of an event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetAlternateTravelAnswersRequest build() { - return new GetAlternateTravelAnswersRequest(after, before, limit, token, filter, id); + return new GetAlternateTravelAnswersRequest(id, after, before, limit, token, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetBudgetAllocationsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetBudgetAllocationsRequest.java index abe9c698c..1fae89b2e 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetBudgetAllocationsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetBudgetAllocationsRequest.java @@ -17,6 +17,12 @@ import java.util.Optional; public class GetBudgetAllocationsRequest { + /** + * Unique ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -66,30 +72,31 @@ public class GetBudgetAllocationsRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * Unique ID of an event. - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetBudgetAllocationsRequest( + @Nonnull String id, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, - @Nullable String filter, - @Nonnull String id) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetBudgetAllocationsRequest(@Nonnull String id) { - this(null, null, null, null, null, id); + this(id, null, null, null, null, null); + } + + /** + * Unique ID of an event. + */ + public String id() { + return this.id; } /** @@ -146,15 +153,16 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * Unique ID of an event. */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetBudgetAllocationsRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -216,14 +224,6 @@ public GetBudgetAllocationsRequest withFilter(@Nullable String filter) { return this; } - /** - * Unique ID of an event. - */ - public GetBudgetAllocationsRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -233,23 +233,25 @@ public boolean equals(java.lang.Object o) { return false; } GetBudgetAllocationsRequest other = (GetBudgetAllocationsRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, filter, id); + return Utils.enhancedHash(id, after, before, limit, token, filter); } @Override public String toString() { return Utils.toString( GetBudgetAllocationsRequest.class, + "id", + id, "after", after, "before", @@ -259,14 +261,14 @@ public String toString() { "token", token, "filter", - filter, - "id", - id); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private OffsetDateTime after; private OffsetDateTime before; @@ -277,12 +279,18 @@ public static final class Builder { private String filter; - private String id; - private Builder() { // force use of static builder() method } + /** + * Unique ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -342,16 +350,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * Unique ID of an event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetBudgetAllocationsRequest build() { - return new GetBudgetAllocationsRequest(after, before, limit, token, filter, id); + return new GetBudgetAllocationsRequest(id, after, before, limit, token, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetEventFeaturesRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetEventFeaturesRequest.java index 2e4399b08..c9886435a 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetEventFeaturesRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetEventFeaturesRequest.java @@ -16,6 +16,12 @@ import java.util.Optional; public class GetEventFeaturesRequest { + /** + * Unique Id of an event + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * The maximum number of records to return per page. */ @@ -49,28 +55,29 @@ public class GetEventFeaturesRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * Unique Id of an event - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetEventFeaturesRequest( + @Nonnull String id, @Nullable Long limit, @Nullable String token, @Nullable String locale, - @Nullable String filter, - @Nonnull String id) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; this.locale = locale; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetEventFeaturesRequest(@Nonnull String id) { - this(null, null, null, null, id); + this(id, null, null, null, null); + } + + /** + * Unique Id of an event + */ + public String id() { + return this.id; } /** @@ -110,15 +117,16 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * Unique Id of an event */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetEventFeaturesRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -162,14 +170,6 @@ public GetEventFeaturesRequest withFilter(@Nullable String filter) { return this; } - /** - * Unique Id of an event - */ - public GetEventFeaturesRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -179,22 +179,24 @@ public boolean equals(java.lang.Object o) { return false; } GetEventFeaturesRequest other = (GetEventFeaturesRequest) o; - return Utils.enhancedDeepEquals(this.limit, other.limit) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) && Utils.enhancedDeepEquals(this.locale, other.locale) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(limit, token, locale, filter, id); + return Utils.enhancedHash(id, limit, token, locale, filter); } @Override public String toString() { return Utils.toString( GetEventFeaturesRequest.class, + "id", + id, "limit", limit, "token", @@ -202,14 +204,14 @@ public String toString() { "locale", locale, "filter", - filter, - "id", - id); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private Long limit; private String token; @@ -218,12 +220,18 @@ public static final class Builder { private String filter; - private String id; - private Builder() { // force use of static builder() method } + /** + * Unique Id of an event + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * The maximum number of records to return per page. */ @@ -265,16 +273,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * Unique Id of an event - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetEventFeaturesRequest build() { - return new GetEventFeaturesRequest(limit, token, locale, filter, id); + return new GetEventFeaturesRequest(id, limit, token, locale, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyQuestionsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyQuestionsRequest.java index c9ba0bcf4..049580632 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyQuestionsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyQuestionsRequest.java @@ -17,6 +17,18 @@ import java.util.Optional; public class GetEventSurveyQuestionsRequest { + /** + * Id of an event + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + + /** + * Id of a survey or Id of a chapter in event survey + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") + private String surveyId; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -43,37 +55,39 @@ public class GetEventSurveyQuestionsRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=token") private String token; - /** - * Id of an event - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - - /** - * Id of a survey or Id of a chapter in event survey - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") - private String surveyId; - @JsonCreator public GetEventSurveyQuestionsRequest( + @Nonnull String id, + @Nonnull String surveyId, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, - @Nullable String token, - @Nonnull String id, - @Nonnull String surveyId) { + @Nullable String token) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.surveyId = Optional.ofNullable(surveyId) + .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.surveyId = Optional.ofNullable(surveyId) - .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); } public GetEventSurveyQuestionsRequest(@Nonnull String id, @Nonnull String surveyId) { - this(null, null, null, null, id, surveyId); + this(id, surveyId, null, null, null, null); + } + + /** + * Id of an event + */ + public String id() { + return this.id; + } + + /** + * Id of a survey or Id of a chapter in event survey + */ + public String surveyId() { + return this.surveyId; } /** @@ -106,22 +120,24 @@ public Optional token() { return Optional.ofNullable(this.token); } + public static Builder builder() { + return new Builder(); + } + /** * Id of an event */ - public String id() { - return this.id; + public GetEventSurveyQuestionsRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** * Id of a survey or Id of a chapter in event survey */ - public String surveyId() { - return this.surveyId; - } - - public static Builder builder() { - return new Builder(); + public GetEventSurveyQuestionsRequest withSurveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; } /** @@ -158,22 +174,6 @@ public GetEventSurveyQuestionsRequest withToken(@Nullable String token) { return this; } - /** - * Id of an event - */ - public GetEventSurveyQuestionsRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Id of a survey or Id of a chapter in event survey - */ - public GetEventSurveyQuestionsRequest withSurveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,23 +183,27 @@ public boolean equals(java.lang.Object o) { return false; } GetEventSurveyQuestionsRequest other = (GetEventSurveyQuestionsRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.surveyId, other.surveyId) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) - && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.surveyId, other.surveyId); + && Utils.enhancedDeepEquals(this.token, other.token); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, id, surveyId); + return Utils.enhancedHash(id, surveyId, after, before, limit, token); } @Override public String toString() { return Utils.toString( GetEventSurveyQuestionsRequest.class, + "id", + id, + "surveyId", + surveyId, "after", after, "before", @@ -207,16 +211,16 @@ public String toString() { "limit", limit, "token", - token, - "id", - id, - "surveyId", - surveyId); + token); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + + private String surveyId; + private OffsetDateTime after; private OffsetDateTime before; @@ -225,14 +229,26 @@ public static final class Builder { private String token; - private String id; - - private String surveyId; - private Builder() { // force use of static builder() method } + /** + * Id of an event + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Id of a survey or Id of a chapter in event survey + */ + public Builder surveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -267,24 +283,8 @@ public Builder token(@Nullable String token) { return this; } - /** - * Id of an event - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Id of a survey or Id of a chapter in event survey - */ - public Builder surveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - public GetEventSurveyQuestionsRequest build() { - return new GetEventSurveyQuestionsRequest(after, before, limit, token, id, surveyId); + return new GetEventSurveyQuestionsRequest(id, surveyId, after, before, limit, token); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyResponsesRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyResponsesRequest.java index f20f3fee9..e66d9b0e1 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyResponsesRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveyResponsesRequest.java @@ -17,6 +17,18 @@ import java.util.Optional; public class GetEventSurveyResponsesRequest { + /** + * Id of an event + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + + /** + * Id of a survey or Id of a chapter in event survey + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") + private String surveyId; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -61,39 +73,41 @@ public class GetEventSurveyResponsesRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * Id of an event - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - - /** - * Id of a survey or Id of a chapter in event survey - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") - private String surveyId; - @JsonCreator public GetEventSurveyResponsesRequest( + @Nonnull String id, + @Nonnull String surveyId, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, - @Nullable String filter, - @Nonnull String id, - @Nonnull String surveyId) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.surveyId = Optional.ofNullable(surveyId) + .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.surveyId = Optional.ofNullable(surveyId) - .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); } public GetEventSurveyResponsesRequest(@Nonnull String id, @Nonnull String surveyId) { - this(null, null, null, null, null, id, surveyId); + this(id, surveyId, null, null, null, null, null); + } + + /** + * Id of an event + */ + public String id() { + return this.id; + } + + /** + * Id of a survey or Id of a chapter in event survey + */ + public String surveyId() { + return this.surveyId; } /** @@ -145,22 +159,24 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * Id of an event */ - public String id() { - return this.id; + public GetEventSurveyResponsesRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** * Id of a survey or Id of a chapter in event survey */ - public String surveyId() { - return this.surveyId; - } - - public static Builder builder() { - return new Builder(); + public GetEventSurveyResponsesRequest withSurveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; } /** @@ -217,22 +233,6 @@ public GetEventSurveyResponsesRequest withFilter(@Nullable String filter) { return this; } - /** - * Id of an event - */ - public GetEventSurveyResponsesRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Id of a survey or Id of a chapter in event survey - */ - public GetEventSurveyResponsesRequest withSurveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -242,24 +242,28 @@ public boolean equals(java.lang.Object o) { return false; } GetEventSurveyResponsesRequest other = (GetEventSurveyResponsesRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.surveyId, other.surveyId) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.surveyId, other.surveyId); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, filter, id, surveyId); + return Utils.enhancedHash(id, surveyId, after, before, limit, token, filter); } @Override public String toString() { return Utils.toString( GetEventSurveyResponsesRequest.class, + "id", + id, + "surveyId", + surveyId, "after", after, "before", @@ -269,16 +273,16 @@ public String toString() { "token", token, "filter", - filter, - "id", - id, - "surveyId", - surveyId); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + + private String surveyId; + private OffsetDateTime after; private OffsetDateTime before; @@ -289,14 +293,26 @@ public static final class Builder { private String filter; - private String id; - - private String surveyId; - private Builder() { // force use of static builder() method } + /** + * Id of an event + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Id of a survey or Id of a chapter in event survey + */ + public Builder surveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -351,24 +367,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * Id of an event - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Id of a survey or Id of a chapter in event survey - */ - public Builder surveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - public GetEventSurveyResponsesRequest build() { - return new GetEventSurveyResponsesRequest(after, before, limit, token, filter, id, surveyId); + return new GetEventSurveyResponsesRequest(id, surveyId, after, before, limit, token, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveysRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveysRequest.java index 3eda08ba8..40ab1a9a2 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveysRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetEventSurveysRequest.java @@ -17,6 +17,12 @@ import java.util.Optional; public class GetEventSurveysRequest { + /** + * Id of an event + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -63,30 +69,31 @@ public class GetEventSurveysRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * Id of an event - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetEventSurveysRequest( + @Nonnull String id, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, - @Nullable String filter, - @Nonnull String id) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetEventSurveysRequest(@Nonnull String id) { - this(null, null, null, null, null, id); + this(id, null, null, null, null, null); + } + + /** + * Id of an event + */ + public String id() { + return this.id; } /** @@ -140,15 +147,16 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * Id of an event */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetEventSurveysRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -207,14 +215,6 @@ public GetEventSurveysRequest withFilter(@Nullable String filter) { return this; } - /** - * Id of an event - */ - public GetEventSurveysRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -224,23 +224,25 @@ public boolean equals(java.lang.Object o) { return false; } GetEventSurveysRequest other = (GetEventSurveysRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, filter, id); + return Utils.enhancedHash(id, after, before, limit, token, filter); } @Override public String toString() { return Utils.toString( GetEventSurveysRequest.class, + "id", + id, "after", after, "before", @@ -250,14 +252,14 @@ public String toString() { "token", token, "filter", - filter, - "id", - id); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private OffsetDateTime after; private OffsetDateTime before; @@ -268,12 +270,18 @@ public static final class Builder { private String filter; - private String id; - private Builder() { // force use of static builder() method } + /** + * Id of an event + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -330,16 +338,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * Id of an event - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetEventSurveysRequest build() { - return new GetEventSurveysRequest(after, before, limit, token, filter, id); + return new GetEventSurveysRequest(id, after, before, limit, token, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetHotelRequestsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetHotelRequestsRequest.java index 3aeca9587..dbd5a2068 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetHotelRequestsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetHotelRequestsRequest.java @@ -19,6 +19,12 @@ import java.util.Optional; public class GetHotelRequestsRequest { + /** + * ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -92,22 +98,17 @@ public class GetHotelRequestsRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * ID of an event. - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetHotelRequestsRequest( + @Nonnull String id, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, @Nullable List expand, @Nullable String sort, - @Nullable String filter, - @Nonnull String id) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); @@ -115,11 +116,17 @@ public GetHotelRequestsRequest( this.expand = expand; this.sort = sort; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetHotelRequestsRequest(@Nonnull String id) { - this(null, null, null, null, null, null, null, id); + this(id, null, null, null, null, null, null, null); + } + + /** + * ID of an event. + */ + public String id() { + return this.id; } /** @@ -202,15 +209,16 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * ID of an event. */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetHotelRequestsRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -300,14 +308,6 @@ public GetHotelRequestsRequest withFilter(@Nullable String filter) { return this; } - /** - * ID of an event. - */ - public GetHotelRequestsRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -317,25 +317,27 @@ public boolean equals(java.lang.Object o) { return false; } GetHotelRequestsRequest other = (GetHotelRequestsRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) && Utils.enhancedDeepEquals(this.expand, other.expand) && Utils.enhancedDeepEquals(this.sort, other.sort) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, expand, sort, filter, id); + return Utils.enhancedHash(id, after, before, limit, token, expand, sort, filter); } @Override public String toString() { return Utils.toString( GetHotelRequestsRequest.class, + "id", + id, "after", after, "before", @@ -349,14 +351,14 @@ public String toString() { "sort", sort, "filter", - filter, - "id", - id); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private OffsetDateTime after; private OffsetDateTime before; @@ -371,12 +373,18 @@ public static final class Builder { private String filter; - private String id; - private Builder() { // force use of static builder() method } + /** + * ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -464,16 +472,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * ID of an event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetHotelRequestsRequest build() { - return new GetHotelRequestsRequest(after, before, limit, token, expand, sort, filter, id); + return new GetHotelRequestsRequest(id, after, before, limit, token, expand, sort, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetHousingReservationRequestsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetHousingReservationRequestsRequest.java index a6d9b6ffb..262300776 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetHousingReservationRequestsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetHousingReservationRequestsRequest.java @@ -17,6 +17,12 @@ import java.util.Optional; public class GetHousingReservationRequestsRequest { + /** + * ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -62,30 +68,31 @@ public class GetHousingReservationRequestsRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; - /** - * ID of an event. - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public GetHousingReservationRequestsRequest( + @Nonnull String id, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, @Nullable String token, - @Nullable String filter, - @Nonnull String id) { + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; this.filter = filter; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public GetHousingReservationRequestsRequest(@Nonnull String id) { - this(null, null, null, null, null, id); + this(id, null, null, null, null, null); + } + + /** + * ID of an event. + */ + public String id() { + return this.id; } /** @@ -138,15 +145,16 @@ public Optional filter() { return Optional.ofNullable(this.filter); } + public static Builder builder() { + return new Builder(); + } + /** * ID of an event. */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public GetHousingReservationRequestsRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -204,14 +212,6 @@ public GetHousingReservationRequestsRequest withFilter(@Nullable String filter) return this; } - /** - * ID of an event. - */ - public GetHousingReservationRequestsRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -221,23 +221,25 @@ public boolean equals(java.lang.Object o) { return false; } GetHousingReservationRequestsRequest other = (GetHousingReservationRequestsRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.filter, other.filter) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.filter, other.filter); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, filter, id); + return Utils.enhancedHash(id, after, before, limit, token, filter); } @Override public String toString() { return Utils.toString( GetHousingReservationRequestsRequest.class, + "id", + id, "after", after, "before", @@ -247,14 +249,14 @@ public String toString() { "token", token, "filter", - filter, - "id", - id); + filter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private OffsetDateTime after; private OffsetDateTime before; @@ -265,12 +267,18 @@ public static final class Builder { private String filter; - private String id; - private Builder() { // force use of static builder() method } + /** + * ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -326,16 +334,8 @@ public Builder filter(@Nullable String filter) { return this; } - /** - * ID of an event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public GetHousingReservationRequestsRequest build() { - return new GetHousingReservationRequestsRequest(after, before, limit, token, filter, id); + return new GetHousingReservationRequestsRequest(id, after, before, limit, token, filter); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequest.java new file mode 100644 index 000000000..f0bc7c9e5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequest.java @@ -0,0 +1,123 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class GetMeetingRoomOverviewRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * Unique identifier for a meeting room. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=meetingRoomId") + private String meetingRoomId; + + @JsonCreator + public GetMeetingRoomOverviewRequest(@Nonnull String venueId, @Nonnull String meetingRoomId) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.meetingRoomId = Optional.ofNullable(meetingRoomId) + .orElseThrow(() -> new IllegalArgumentException("meetingRoomId cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * Unique identifier for a meeting room. + */ + public String meetingRoomId() { + return this.meetingRoomId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public GetMeetingRoomOverviewRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a meeting room. + */ + public GetMeetingRoomOverviewRequest withMeetingRoomId(@Nonnull String meetingRoomId) { + this.meetingRoomId = Utils.checkNotNull(meetingRoomId, "meetingRoomId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetMeetingRoomOverviewRequest other = (GetMeetingRoomOverviewRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.meetingRoomId, other.meetingRoomId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, meetingRoomId); + } + + @Override + public String toString() { + return Utils.toString(GetMeetingRoomOverviewRequest.class, "venueId", venueId, "meetingRoomId", meetingRoomId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private String meetingRoomId; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a meeting room. + */ + public Builder meetingRoomId(@Nonnull String meetingRoomId) { + this.meetingRoomId = Utils.checkNotNull(meetingRoomId, "meetingRoomId"); + return this; + } + + public GetMeetingRoomOverviewRequest build() { + return new GetMeetingRoomOverviewRequest(venueId, meetingRoomId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequestBuilder.java new file mode 100644 index 000000000..d8c419747 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.GetMeetingRoomOverview; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class GetMeetingRoomOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetMeetingRoomOverviewRequest request; + private final Options.Builder optionsBuilder; + + public GetMeetingRoomOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetMeetingRoomOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetMeetingRoomOverviewRequestBuilder request(@Nonnull GetMeetingRoomOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetMeetingRoomOverviewRequest _buildRequest() { + return this.request; + } + + public GetMeetingRoomOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public GetMeetingRoomOverviewResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new GetMeetingRoomOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewResponse.java new file mode 100644 index 000000000..baeaeca39 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetMeetingRoomOverviewResponse.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.MeetingRoomOverview; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetMeetingRoomOverviewResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the meeting room overview. + */ + private MeetingRoomOverview meetingRoomOverview; + + @JsonCreator + public GetMeetingRoomOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable MeetingRoomOverview meetingRoomOverview) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.meetingRoomOverview = meetingRoomOverview; + } + + public GetMeetingRoomOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the meeting room overview. + */ + public Optional meetingRoomOverview() { + return Optional.ofNullable(this.meetingRoomOverview); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetMeetingRoomOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetMeetingRoomOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetMeetingRoomOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the meeting room overview. + */ + public GetMeetingRoomOverviewResponse withMeetingRoomOverview(@Nullable MeetingRoomOverview meetingRoomOverview) { + this.meetingRoomOverview = meetingRoomOverview; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetMeetingRoomOverviewResponse other = (GetMeetingRoomOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.meetingRoomOverview, other.meetingRoomOverview); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, meetingRoomOverview); + } + + @Override + public String toString() { + return Utils.toString( + GetMeetingRoomOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "meetingRoomOverview", + meetingRoomOverview); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private MeetingRoomOverview meetingRoomOverview; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the meeting room overview. + */ + public Builder meetingRoomOverview(@Nullable MeetingRoomOverview meetingRoomOverview) { + this.meetingRoomOverview = meetingRoomOverview; + return this; + } + + public GetMeetingRoomOverviewResponse build() { + return new GetMeetingRoomOverviewResponse(contentType, statusCode, rawResponse, meetingRoomOverview); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetOrderItemsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetOrderItemsRequest.java index 8f4e8cc07..c2e86d252 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetOrderItemsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetOrderItemsRequest.java @@ -76,8 +76,7 @@ public class GetOrderItemsRequest { private String filter; /** - * This sets whether or not to fetch deleted order items in the response. If set to true, the response - * will include records for the deleted order items. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=deleted") private Boolean deleted; @@ -168,8 +167,7 @@ public Optional filter() { } /** - * This sets whether or not to fetch deleted order items in the response. If set to true, the response - * will include records for the deleted order items. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ public Optional deleted() { return Optional.ofNullable(this.deleted); @@ -249,8 +247,7 @@ public GetOrderItemsRequest withFilter(@Nullable String filter) { } /** - * This sets whether or not to fetch deleted order items in the response. If set to true, the response - * will include records for the deleted order items. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ public GetOrderItemsRequest withDeleted(@Nullable Boolean deleted) { this.deleted = deleted; @@ -391,8 +388,7 @@ public Builder filter(@Nullable String filter) { } /** - * This sets whether or not to fetch deleted order items in the response. If set to true, the response - * will include records for the deleted order items. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ public Builder deleted(@Nullable Boolean deleted) { this.deleted = deleted; diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetOrdersRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetOrdersRequest.java index edc4ebf8b..edaa22f6c 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetOrdersRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetOrdersRequest.java @@ -74,8 +74,7 @@ public class GetOrdersRequest { private String filter; /** - * This sets whether or not to fetch deleted orders in the response. If set to true, the response will - * include records for the deleted orders. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=deleted") private Boolean deleted; @@ -164,8 +163,7 @@ public Optional filter() { } /** - * This sets whether or not to fetch deleted orders in the response. If set to true, the response will - * include records for the deleted orders. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ public Optional deleted() { return Optional.ofNullable(this.deleted); @@ -243,8 +241,7 @@ public GetOrdersRequest withFilter(@Nullable String filter) { } /** - * This sets whether or not to fetch deleted orders in the response. If set to true, the response will - * include records for the deleted orders. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ public GetOrdersRequest withDeleted(@Nullable Boolean deleted) { this.deleted = deleted; @@ -383,8 +380,7 @@ public Builder filter(@Nullable String filter) { } /** - * This sets whether or not to fetch deleted orders in the response. If set to true, the response will - * include records for the deleted orders. + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ public Builder deleted(@Nullable Boolean deleted) { this.deleted = deleted; diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyEmailTemplatesRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyEmailTemplatesRequest.java index 3f71a448c..c6d1aa5cd 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyEmailTemplatesRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyEmailTemplatesRequest.java @@ -16,6 +16,12 @@ import java.util.Optional; public class GetStandardSurveyEmailTemplatesRequest { + /** + * Id of a survey or Id of a chapter in event survey + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") + private String surveyId; + /** * The maximum number of records to return per page. */ @@ -29,23 +35,24 @@ public class GetStandardSurveyEmailTemplatesRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=token") private String token; - /** - * Id of a survey or Id of a chapter in event survey - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") - private String surveyId; - @JsonCreator public GetStandardSurveyEmailTemplatesRequest( - @Nullable Long limit, @Nullable String token, @Nonnull String surveyId) { - this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); - this.token = token; + @Nonnull String surveyId, @Nullable Long limit, @Nullable String token) { this.surveyId = Optional.ofNullable(surveyId) .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); + this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); + this.token = token; } public GetStandardSurveyEmailTemplatesRequest(@Nonnull String surveyId) { - this(null, null, surveyId); + this(surveyId, null, null); + } + + /** + * Id of a survey or Id of a chapter in event survey + */ + public String surveyId() { + return this.surveyId; } /** @@ -63,15 +70,16 @@ public Optional token() { return Optional.ofNullable(this.token); } + public static Builder builder() { + return new Builder(); + } + /** * Id of a survey or Id of a chapter in event survey */ - public String surveyId() { - return this.surveyId; - } - - public static Builder builder() { - return new Builder(); + public GetStandardSurveyEmailTemplatesRequest withSurveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; } /** @@ -91,14 +99,6 @@ public GetStandardSurveyEmailTemplatesRequest withToken(@Nullable String token) return this; } - /** - * Id of a survey or Id of a chapter in event survey - */ - public GetStandardSurveyEmailTemplatesRequest withSurveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -108,35 +108,43 @@ public boolean equals(java.lang.Object o) { return false; } GetStandardSurveyEmailTemplatesRequest other = (GetStandardSurveyEmailTemplatesRequest) o; - return Utils.enhancedDeepEquals(this.limit, other.limit) - && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.surveyId, other.surveyId); + return Utils.enhancedDeepEquals(this.surveyId, other.surveyId) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.token, other.token); } @Override public int hashCode() { - return Utils.enhancedHash(limit, token, surveyId); + return Utils.enhancedHash(surveyId, limit, token); } @Override public String toString() { return Utils.toString( - GetStandardSurveyEmailTemplatesRequest.class, "limit", limit, "token", token, "surveyId", surveyId); + GetStandardSurveyEmailTemplatesRequest.class, "surveyId", surveyId, "limit", limit, "token", token); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String surveyId; + private Long limit; private String token; - private String surveyId; - private Builder() { // force use of static builder() method } + /** + * Id of a survey or Id of a chapter in event survey + */ + public Builder surveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; + } + /** * The maximum number of records to return per page. */ @@ -154,16 +162,8 @@ public Builder token(@Nullable String token) { return this; } - /** - * Id of a survey or Id of a chapter in event survey - */ - public Builder surveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - public GetStandardSurveyEmailTemplatesRequest build() { - return new GetStandardSurveyEmailTemplatesRequest(limit, token, surveyId); + return new GetStandardSurveyEmailTemplatesRequest(surveyId, limit, token); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyQuestionsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyQuestionsRequest.java index a192d9ce1..14760f3ff 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyQuestionsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetStandardSurveyQuestionsRequest.java @@ -17,6 +17,12 @@ import java.util.Optional; public class GetStandardSurveyQuestionsRequest { + /** + * Id of a survey or Id of a chapter in event survey + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") + private String surveyId; + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -43,29 +49,30 @@ public class GetStandardSurveyQuestionsRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=token") private String token; - /** - * Id of a survey or Id of a chapter in event survey - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=surveyId") - private String surveyId; - @JsonCreator public GetStandardSurveyQuestionsRequest( + @Nonnull String surveyId, @Nullable OffsetDateTime after, @Nullable OffsetDateTime before, @Nullable Long limit, - @Nullable String token, - @Nonnull String surveyId) { + @Nullable String token) { + this.surveyId = Optional.ofNullable(surveyId) + .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); this.after = after; this.before = before; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); this.token = token; - this.surveyId = Optional.ofNullable(surveyId) - .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); } public GetStandardSurveyQuestionsRequest(@Nonnull String surveyId) { - this(null, null, null, null, surveyId); + this(surveyId, null, null, null, null); + } + + /** + * Id of a survey or Id of a chapter in event survey + */ + public String surveyId() { + return this.surveyId; } /** @@ -98,15 +105,16 @@ public Optional token() { return Optional.ofNullable(this.token); } + public static Builder builder() { + return new Builder(); + } + /** * Id of a survey or Id of a chapter in event survey */ - public String surveyId() { - return this.surveyId; - } - - public static Builder builder() { - return new Builder(); + public GetStandardSurveyQuestionsRequest withSurveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; } /** @@ -143,14 +151,6 @@ public GetStandardSurveyQuestionsRequest withToken(@Nullable String token) { return this; } - /** - * Id of a survey or Id of a chapter in event survey - */ - public GetStandardSurveyQuestionsRequest withSurveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -160,22 +160,24 @@ public boolean equals(java.lang.Object o) { return false; } GetStandardSurveyQuestionsRequest other = (GetStandardSurveyQuestionsRequest) o; - return Utils.enhancedDeepEquals(this.after, other.after) + return Utils.enhancedDeepEquals(this.surveyId, other.surveyId) + && Utils.enhancedDeepEquals(this.after, other.after) && Utils.enhancedDeepEquals(this.before, other.before) && Utils.enhancedDeepEquals(this.limit, other.limit) - && Utils.enhancedDeepEquals(this.token, other.token) - && Utils.enhancedDeepEquals(this.surveyId, other.surveyId); + && Utils.enhancedDeepEquals(this.token, other.token); } @Override public int hashCode() { - return Utils.enhancedHash(after, before, limit, token, surveyId); + return Utils.enhancedHash(surveyId, after, before, limit, token); } @Override public String toString() { return Utils.toString( GetStandardSurveyQuestionsRequest.class, + "surveyId", + surveyId, "after", after, "before", @@ -183,14 +185,14 @@ public String toString() { "limit", limit, "token", - token, - "surveyId", - surveyId); + token); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String surveyId; + private OffsetDateTime after; private OffsetDateTime before; @@ -199,12 +201,18 @@ public static final class Builder { private String token; - private String surveyId; - private Builder() { // force use of static builder() method } + /** + * Id of a survey or Id of a chapter in event survey + */ + public Builder surveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; + } + /** * Used to query records that have been added or updated after this time point. Default to the * beginning of time of the data store. @@ -239,16 +247,8 @@ public Builder token(@Nullable String token) { return this; } - /** - * Id of a survey or Id of a chapter in event survey - */ - public Builder surveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - public GetStandardSurveyQuestionsRequest build() { - return new GetStandardSurveyQuestionsRequest(after, before, limit, token, surveyId); + return new GetStandardSurveyQuestionsRequest(surveyId, after, before, limit, token); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequest.java new file mode 100644 index 000000000..c7b17a591 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequest.java @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class GetVenueDetailsOverviewRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @JsonCreator + public GetVenueDetailsOverviewRequest(@Nonnull String venueId) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public GetVenueDetailsOverviewRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetVenueDetailsOverviewRequest other = (GetVenueDetailsOverviewRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId); + } + + @Override + public String toString() { + return Utils.toString(GetVenueDetailsOverviewRequest.class, "venueId", venueId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public GetVenueDetailsOverviewRequest build() { + return new GetVenueDetailsOverviewRequest(venueId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequestBuilder.java new file mode 100644 index 000000000..2d4e5e636 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.GetVenueDetailsOverview; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class GetVenueDetailsOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetVenueDetailsOverviewRequest request; + private final Options.Builder optionsBuilder; + + public GetVenueDetailsOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetVenueDetailsOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetVenueDetailsOverviewRequestBuilder request(@Nonnull GetVenueDetailsOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetVenueDetailsOverviewRequest _buildRequest() { + return this.request; + } + + public GetVenueDetailsOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public GetVenueDetailsOverviewResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new GetVenueDetailsOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewResponse.java new file mode 100644 index 000000000..457029b40 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetVenueDetailsOverviewResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.VenueDetailsOverview; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetVenueDetailsOverviewResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the venue details overview. + */ + private VenueDetailsOverview venueDetailsOverview; + + @JsonCreator + public GetVenueDetailsOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VenueDetailsOverview venueDetailsOverview) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.venueDetailsOverview = venueDetailsOverview; + } + + public GetVenueDetailsOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the venue details overview. + */ + public Optional venueDetailsOverview() { + return Optional.ofNullable(this.venueDetailsOverview); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetVenueDetailsOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetVenueDetailsOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetVenueDetailsOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue details overview. + */ + public GetVenueDetailsOverviewResponse withVenueDetailsOverview( + @Nullable VenueDetailsOverview venueDetailsOverview) { + this.venueDetailsOverview = venueDetailsOverview; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetVenueDetailsOverviewResponse other = (GetVenueDetailsOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.venueDetailsOverview, other.venueDetailsOverview); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, venueDetailsOverview); + } + + @Override + public String toString() { + return Utils.toString( + GetVenueDetailsOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "venueDetailsOverview", + venueDetailsOverview); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VenueDetailsOverview venueDetailsOverview; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue details overview. + */ + public Builder venueDetailsOverview(@Nullable VenueDetailsOverview venueDetailsOverview) { + this.venueDetailsOverview = venueDetailsOverview; + return this; + } + + public GetVenueDetailsOverviewResponse build() { + return new GetVenueDetailsOverviewResponse(contentType, statusCode, rawResponse, venueDetailsOverview); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListAttendeesRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListAttendeesRequest.java index 2243125c5..ef842c7a3 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/ListAttendeesRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/ListAttendeesRequest.java @@ -138,8 +138,9 @@ public class ListAttendeesRequest { * | * | group.id | `eq`, `ne` | * | - * | unsubscribed | `eq`, `ne` | **DEPRECATED**: Please use PUT - * /attendees/{id}/email-subscriptions instead | + * | unsubscribed | `eq`, `ne` | Read-only. To update an attendee's + * subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) | * | registeredAt | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * | * | registrationLastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | @@ -335,8 +336,9 @@ public Optional includeDeletedGuests() { * | * | group.id | `eq`, `ne` | * | - * | unsubscribed | `eq`, `ne` | **DEPRECATED**: Please use PUT - * /attendees/{id}/email-subscriptions instead | + * | unsubscribed | `eq`, `ne` | Read-only. To update an attendee's + * subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) | * | registeredAt | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * | * | registrationLastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | @@ -519,8 +521,9 @@ public ListAttendeesRequest withIncludeDeletedGuests(@Nullable Boolean includeDe * | * | group.id | `eq`, `ne` | * | - * | unsubscribed | `eq`, `ne` | **DEPRECATED**: Please use PUT - * /attendees/{id}/email-subscriptions instead | + * | unsubscribed | `eq`, `ne` | Read-only. To update an attendee's + * subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) | * | registeredAt | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * | * | registrationLastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | @@ -769,8 +772,9 @@ public Builder includeDeletedGuests(@Nullable Boolean includeDeletedGuests) { * | * | group.id | `eq`, `ne` | * | - * | unsubscribed | `eq`, `ne` | **DEPRECATED**: Please use PUT - * /attendees/{id}/email-subscriptions instead | + * | unsubscribed | `eq`, `ne` | Read-only. To update an attendee's + * subscription status, use [PUT + * /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) | * | registeredAt | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * | * | registrationLastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListBulkJobResultRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListBulkJobResultRequest.java index f2efeba6e..7d2b1c147 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/ListBulkJobResultRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/ListBulkJobResultRequest.java @@ -60,6 +60,10 @@ public class ListBulkJobResultRequest { * *

    The following fields are filterable: * * failed (eq|ne) + * + *

    **Note:** this filters for the top-level HTTP status of the target operation. + * For operations that return 207 (Multi-Status), filter results may not capture all failed records. + * Inspect individual record statuses in the `data` field for a complete picture. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; @@ -132,6 +136,10 @@ public Optional token() { * *

    The following fields are filterable: * * failed (eq|ne) + * + *

    **Note:** this filters for the top-level HTTP status of the target operation. + * For operations that return 207 (Multi-Status), filter results may not capture all failed records. + * Inspect individual record statuses in the `data` field for a complete picture. */ public Optional filter() { return Optional.ofNullable(this.filter); @@ -194,6 +202,10 @@ public ListBulkJobResultRequest withToken(@Nullable String token) { * *

    The following fields are filterable: * * failed (eq|ne) + * + *

    **Note:** this filters for the top-level HTTP status of the target operation. + * For operations that return 207 (Multi-Status), filter results may not capture all failed records. + * Inspect individual record statuses in the `data` field for a complete picture. */ public ListBulkJobResultRequest withFilter(@Nullable String filter) { this.filter = filter; @@ -312,6 +324,10 @@ public Builder token(@Nullable String token) { * *

    The following fields are filterable: * * failed (eq|ne) + * + *

    **Note:** this filters for the top-level HTTP status of the target operation. + * For operations that return 207 (Multi-Status), filter results may not capture all failed records. + * Inspect individual record statuses in the `data` field for a complete picture. */ public Builder filter(@Nullable String filter) { this.filter = filter; diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListEventWeblinksRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventWeblinksRequest.java index e1f1085f3..16d09e40d 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/ListEventWeblinksRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventWeblinksRequest.java @@ -16,6 +16,12 @@ import java.util.Optional; public class ListEventWeblinksRequest { + /** + * Unique Id of an event + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + /** * 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. @@ -35,23 +41,24 @@ public class ListEventWeblinksRequest { @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") private Long limit; - /** - * Unique Id of an event - */ - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") - private String id; - @JsonCreator public ListEventWeblinksRequest( - @Nullable String token, @Nullable String locale, @Nullable Long limit, @Nonnull String id) { + @Nonnull String id, @Nullable String token, @Nullable String locale, @Nullable Long limit) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.token = token; this.locale = locale; this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } public ListEventWeblinksRequest(@Nonnull String id) { - this(null, null, null, id); + this(id, null, null, null); + } + + /** + * Unique Id of an event + */ + public String id() { + return this.id; } /** @@ -76,15 +83,16 @@ public Optional limit() { return Optional.ofNullable(this.limit); } + public static Builder builder() { + return new Builder(); + } + /** * Unique Id of an event */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); + public ListEventWeblinksRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; } /** @@ -112,14 +120,6 @@ public ListEventWeblinksRequest withLimit(@Nullable Long limit) { return this; } - /** - * Unique Id of an event - */ - public ListEventWeblinksRequest withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -129,38 +129,46 @@ public boolean equals(java.lang.Object o) { return false; } ListEventWeblinksRequest other = (ListEventWeblinksRequest) o; - return Utils.enhancedDeepEquals(this.token, other.token) + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.token, other.token) && Utils.enhancedDeepEquals(this.locale, other.locale) - && Utils.enhancedDeepEquals(this.limit, other.limit) - && Utils.enhancedDeepEquals(this.id, other.id); + && Utils.enhancedDeepEquals(this.limit, other.limit); } @Override public int hashCode() { - return Utils.enhancedHash(token, locale, limit, id); + return Utils.enhancedHash(id, token, locale, limit); } @Override public String toString() { return Utils.toString( - ListEventWeblinksRequest.class, "token", token, "locale", locale, "limit", limit, "id", id); + ListEventWeblinksRequest.class, "id", id, "token", token, "locale", locale, "limit", limit); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private String id; + private String token; private String locale; private Long limit; - private String id; - private Builder() { // force use of static builder() method } + /** + * Unique Id of an event + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + /** * The continuation token returned from a previous class. This must be a valid UUID v4 if provided. * This will override any other pageable parameters provided. @@ -186,16 +194,8 @@ public Builder limit(@Nullable Long limit) { return this; } - /** - * Unique Id of an event - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - public ListEventWeblinksRequest build() { - return new ListEventWeblinksRequest(token, locale, limit, id); + return new ListEventWeblinksRequest(id, token, locale, limit); } private static final LazySingletonValue _SINGLETON_VALUE_Limit = diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequest.java new file mode 100644 index 000000000..a538f60ff --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequest.java @@ -0,0 +1,229 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.LazySingletonValue; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class ListMeetingRoomsOverviewsRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * The maximum number of records to return per page. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") + private Long limit; + + /** + * The continuation token returned from a previous request. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=token") + private String token; + + /** + * 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: + * + *

    * `hiddenOnProfile` (`eq`) + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") + private String filter; + + @JsonCreator + public ListMeetingRoomsOverviewsRequest( + @Nonnull String venueId, @Nullable Long limit, @Nullable String token, @Nullable String filter) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); + this.token = token; + this.filter = filter; + } + + public ListMeetingRoomsOverviewsRequest(@Nonnull String venueId) { + this(venueId, null, null, null); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * The maximum number of records to return per page. + */ + public Optional limit() { + return Optional.ofNullable(this.limit); + } + + /** + * The continuation token returned from a previous request. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + public Optional token() { + return Optional.ofNullable(this.token); + } + + /** + * 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: + * + *

    * `hiddenOnProfile` (`eq`) + */ + public Optional filter() { + return Optional.ofNullable(this.filter); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public ListMeetingRoomsOverviewsRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * The maximum number of records to return per page. + */ + public ListMeetingRoomsOverviewsRequest withLimit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * The continuation token returned from a previous request. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + public ListMeetingRoomsOverviewsRequest withToken(@Nullable String token) { + this.token = token; + return this; + } + + /** + * 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: + * + *

    * `hiddenOnProfile` (`eq`) + */ + public ListMeetingRoomsOverviewsRequest withFilter(@Nullable String filter) { + this.filter = filter; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListMeetingRoomsOverviewsRequest other = (ListMeetingRoomsOverviewsRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.token, other.token) + && Utils.enhancedDeepEquals(this.filter, other.filter); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, limit, token, filter); + } + + @Override + public String toString() { + return Utils.toString( + ListMeetingRoomsOverviewsRequest.class, + "venueId", + venueId, + "limit", + limit, + "token", + token, + "filter", + filter); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private Long limit; + + private String token; + + private String filter; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * The maximum number of records to return per page. + */ + public Builder limit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * The continuation token returned from a previous request. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + public Builder token(@Nullable String token) { + this.token = token; + return this; + } + + /** + * 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: + * + *

    * `hiddenOnProfile` (`eq`) + */ + public Builder filter(@Nullable String filter) { + this.filter = filter; + return this; + } + + public ListMeetingRoomsOverviewsRequest build() { + return new ListMeetingRoomsOverviewsRequest(venueId, limit, token, filter); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Limit = + new LazySingletonValue<>("limit", "100", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequestBuilder.java new file mode 100644 index 000000000..a20dd22c0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.ListMeetingRoomsOverviews; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class ListMeetingRoomsOverviewsRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListMeetingRoomsOverviewsRequest request; + private final Options.Builder optionsBuilder; + + public ListMeetingRoomsOverviewsRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListMeetingRoomsOverviewsRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListMeetingRoomsOverviewsRequestBuilder request(@Nonnull ListMeetingRoomsOverviewsRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListMeetingRoomsOverviewsRequest _buildRequest() { + return this.request; + } + + public ListMeetingRoomsOverviewsRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public ListMeetingRoomsOverviewsResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListMeetingRoomsOverviews.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsResponse.java new file mode 100644 index 000000000..ab7ffbe9f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListMeetingRoomsOverviewsResponse.java @@ -0,0 +1,210 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.MeetingRoomsOverviewResponse; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class ListMeetingRoomsOverviewsResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved overview of meeting rooms. + */ + private MeetingRoomsOverviewResponse meetingRoomsOverviewResponse; + + @JsonCreator + public ListMeetingRoomsOverviewsResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable MeetingRoomsOverviewResponse meetingRoomsOverviewResponse) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.meetingRoomsOverviewResponse = meetingRoomsOverviewResponse; + } + + public ListMeetingRoomsOverviewsResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved overview of meeting rooms. + */ + public Optional meetingRoomsOverviewResponse() { + return Optional.ofNullable(this.meetingRoomsOverviewResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListMeetingRoomsOverviewsResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListMeetingRoomsOverviewsResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListMeetingRoomsOverviewsResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved overview of meeting rooms. + */ + public ListMeetingRoomsOverviewsResponse withMeetingRoomsOverviewResponse( + @Nullable MeetingRoomsOverviewResponse meetingRoomsOverviewResponse) { + this.meetingRoomsOverviewResponse = meetingRoomsOverviewResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListMeetingRoomsOverviewsResponse other = (ListMeetingRoomsOverviewsResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.meetingRoomsOverviewResponse, other.meetingRoomsOverviewResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, meetingRoomsOverviewResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListMeetingRoomsOverviewsResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "meetingRoomsOverviewResponse", + meetingRoomsOverviewResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private MeetingRoomsOverviewResponse meetingRoomsOverviewResponse; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved overview of meeting rooms. + */ + public Builder meetingRoomsOverviewResponse( + @Nullable MeetingRoomsOverviewResponse meetingRoomsOverviewResponse) { + this.meetingRoomsOverviewResponse = meetingRoomsOverviewResponse; + return this; + } + + public ListMeetingRoomsOverviewsResponse build() { + return new ListMeetingRoomsOverviewsResponse( + contentType, statusCode, rawResponse, meetingRoomsOverviewResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomRequest.java b/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomRequest.java new file mode 100644 index 000000000..49f198ab3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomRequest.java @@ -0,0 +1,154 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.PatchMeetingRoom; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class PatchMeetingRoomRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * Unique identifier for a meeting room. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=meetingRoomId") + private String meetingRoomId; + + @SpeakeasyMetadata("request:mediaType=application/merge-patch+json") + private PatchMeetingRoom patchMeetingRoom; + + @JsonCreator + public PatchMeetingRoomRequest( + @Nonnull String venueId, @Nonnull String meetingRoomId, @Nonnull PatchMeetingRoom patchMeetingRoom) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.meetingRoomId = Optional.ofNullable(meetingRoomId) + .orElseThrow(() -> new IllegalArgumentException("meetingRoomId cannot be null")); + this.patchMeetingRoom = Optional.ofNullable(patchMeetingRoom) + .orElseThrow(() -> new IllegalArgumentException("patchMeetingRoom cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * Unique identifier for a meeting room. + */ + public String meetingRoomId() { + return this.meetingRoomId; + } + + public PatchMeetingRoom patchMeetingRoom() { + return this.patchMeetingRoom; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public PatchMeetingRoomRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a meeting room. + */ + public PatchMeetingRoomRequest withMeetingRoomId(@Nonnull String meetingRoomId) { + this.meetingRoomId = Utils.checkNotNull(meetingRoomId, "meetingRoomId"); + return this; + } + + public PatchMeetingRoomRequest withPatchMeetingRoom(@Nonnull PatchMeetingRoom patchMeetingRoom) { + this.patchMeetingRoom = Utils.checkNotNull(patchMeetingRoom, "patchMeetingRoom"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMeetingRoomRequest other = (PatchMeetingRoomRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.meetingRoomId, other.meetingRoomId) + && Utils.enhancedDeepEquals(this.patchMeetingRoom, other.patchMeetingRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, meetingRoomId, patchMeetingRoom); + } + + @Override + public String toString() { + return Utils.toString( + PatchMeetingRoomRequest.class, + "venueId", + venueId, + "meetingRoomId", + meetingRoomId, + "patchMeetingRoom", + patchMeetingRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private String meetingRoomId; + + private PatchMeetingRoom patchMeetingRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a meeting room. + */ + public Builder meetingRoomId(@Nonnull String meetingRoomId) { + this.meetingRoomId = Utils.checkNotNull(meetingRoomId, "meetingRoomId"); + return this; + } + + public Builder patchMeetingRoom(@Nonnull PatchMeetingRoom patchMeetingRoom) { + this.patchMeetingRoom = Utils.checkNotNull(patchMeetingRoom, "patchMeetingRoom"); + return this; + } + + public PatchMeetingRoomRequest build() { + return new PatchMeetingRoomRequest(venueId, meetingRoomId, patchMeetingRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomRequestBuilder.java new file mode 100644 index 000000000..d18939b6a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.PatchMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class PatchMeetingRoomRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchMeetingRoomRequest request; + private final Options.Builder optionsBuilder; + + public PatchMeetingRoomRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchMeetingRoomRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchMeetingRoomRequestBuilder request(@Nonnull PatchMeetingRoomRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchMeetingRoomRequest _buildRequest() { + return this.request; + } + + public PatchMeetingRoomRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public PatchMeetingRoomResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new PatchMeetingRoom.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomResponse.java b/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomResponse.java new file mode 100644 index 000000000..4f419061f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchMeetingRoomResponse.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.PatchMeetingRoom; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchMeetingRoomResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the meeting room. + */ + private PatchMeetingRoom patchMeetingRoom; + + @JsonCreator + public PatchMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable PatchMeetingRoom patchMeetingRoom) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.patchMeetingRoom = patchMeetingRoom; + } + + public PatchMeetingRoomResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the meeting room. + */ + public Optional patchMeetingRoom() { + return Optional.ofNullable(this.patchMeetingRoom); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchMeetingRoomResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchMeetingRoomResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchMeetingRoomResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public PatchMeetingRoomResponse withPatchMeetingRoom(@Nullable PatchMeetingRoom patchMeetingRoom) { + this.patchMeetingRoom = patchMeetingRoom; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMeetingRoomResponse other = (PatchMeetingRoomResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.patchMeetingRoom, other.patchMeetingRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, patchMeetingRoom); + } + + @Override + public String toString() { + return Utils.toString( + PatchMeetingRoomResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "patchMeetingRoom", + patchMeetingRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private PatchMeetingRoom patchMeetingRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public Builder patchMeetingRoom(@Nullable PatchMeetingRoom patchMeetingRoom) { + this.patchMeetingRoom = patchMeetingRoom; + return this; + } + + public PatchMeetingRoomResponse build() { + return new PatchMeetingRoomResponse(contentType, statusCode, rawResponse, patchMeetingRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsRequest.java new file mode 100644 index 000000000..4c4b229b1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsRequest.java @@ -0,0 +1,113 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.VenueDetailsPatch; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class PatchVenueDetailsRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @SpeakeasyMetadata("request:mediaType=application/merge-patch+json") + private VenueDetailsPatch venueDetailsPatch; + + @JsonCreator + public PatchVenueDetailsRequest(@Nonnull String venueId, @Nonnull VenueDetailsPatch venueDetailsPatch) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.venueDetailsPatch = Optional.ofNullable(venueDetailsPatch) + .orElseThrow(() -> new IllegalArgumentException("venueDetailsPatch cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public VenueDetailsPatch venueDetailsPatch() { + return this.venueDetailsPatch; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public PatchVenueDetailsRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public PatchVenueDetailsRequest withVenueDetailsPatch(@Nonnull VenueDetailsPatch venueDetailsPatch) { + this.venueDetailsPatch = Utils.checkNotNull(venueDetailsPatch, "venueDetailsPatch"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchVenueDetailsRequest other = (PatchVenueDetailsRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.venueDetailsPatch, other.venueDetailsPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, venueDetailsPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchVenueDetailsRequest.class, "venueId", venueId, "venueDetailsPatch", venueDetailsPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private VenueDetailsPatch venueDetailsPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public Builder venueDetailsPatch(@Nonnull VenueDetailsPatch venueDetailsPatch) { + this.venueDetailsPatch = Utils.checkNotNull(venueDetailsPatch, "venueDetailsPatch"); + return this; + } + + public PatchVenueDetailsRequest build() { + return new PatchVenueDetailsRequest(venueId, venueDetailsPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsRequestBuilder.java new file mode 100644 index 000000000..c65593fda --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.PatchVenueDetails; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class PatchVenueDetailsRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchVenueDetailsRequest request; + private final Options.Builder optionsBuilder; + + public PatchVenueDetailsRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchVenueDetailsRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchVenueDetailsRequestBuilder request(@Nonnull PatchVenueDetailsRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchVenueDetailsRequest _buildRequest() { + return this.request; + } + + public PatchVenueDetailsRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public PatchVenueDetailsResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new PatchVenueDetails.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsResponse.java new file mode 100644 index 000000000..ee162ec0f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueDetailsResponse.java @@ -0,0 +1,211 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.VenueDetailsPatch; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchVenueDetailsResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + private VenueDetailsPatch venueDetailsPatch; + + @JsonCreator + public PatchVenueDetailsResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VenueDetailsPatch venueDetailsPatch) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.venueDetailsPatch = venueDetailsPatch; + } + + public PatchVenueDetailsResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + public Optional venueDetailsPatch() { + return Optional.ofNullable(this.venueDetailsPatch); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchVenueDetailsResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchVenueDetailsResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchVenueDetailsResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + public PatchVenueDetailsResponse withVenueDetailsPatch(@Nullable VenueDetailsPatch venueDetailsPatch) { + this.venueDetailsPatch = venueDetailsPatch; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchVenueDetailsResponse other = (PatchVenueDetailsResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.venueDetailsPatch, other.venueDetailsPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, venueDetailsPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchVenueDetailsResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "venueDetailsPatch", + venueDetailsPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VenueDetailsPatch venueDetailsPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + public Builder venueDetailsPatch(@Nullable VenueDetailsPatch venueDetailsPatch) { + this.venueDetailsPatch = venueDetailsPatch; + return this; + } + + public PatchVenueDetailsResponse build() { + return new PatchVenueDetailsResponse(contentType, statusCode, rawResponse, venueDetailsPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityRequest.java b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityRequest.java new file mode 100644 index 000000000..db45d56c1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityRequest.java @@ -0,0 +1,113 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.VenueFacilityPatch; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class PatchVenueFacilityRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @SpeakeasyMetadata("request:mediaType=application/merge-patch+json") + private VenueFacilityPatch venueFacilityPatch; + + @JsonCreator + public PatchVenueFacilityRequest(@Nonnull String venueId, @Nonnull VenueFacilityPatch venueFacilityPatch) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.venueFacilityPatch = Optional.ofNullable(venueFacilityPatch) + .orElseThrow(() -> new IllegalArgumentException("venueFacilityPatch cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public VenueFacilityPatch venueFacilityPatch() { + return this.venueFacilityPatch; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public PatchVenueFacilityRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public PatchVenueFacilityRequest withVenueFacilityPatch(@Nonnull VenueFacilityPatch venueFacilityPatch) { + this.venueFacilityPatch = Utils.checkNotNull(venueFacilityPatch, "venueFacilityPatch"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchVenueFacilityRequest other = (PatchVenueFacilityRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.venueFacilityPatch, other.venueFacilityPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, venueFacilityPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchVenueFacilityRequest.class, "venueId", venueId, "venueFacilityPatch", venueFacilityPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private VenueFacilityPatch venueFacilityPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public Builder venueFacilityPatch(@Nonnull VenueFacilityPatch venueFacilityPatch) { + this.venueFacilityPatch = Utils.checkNotNull(venueFacilityPatch, "venueFacilityPatch"); + return this; + } + + public PatchVenueFacilityRequest build() { + return new PatchVenueFacilityRequest(venueId, venueFacilityPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityRequestBuilder.java new file mode 100644 index 000000000..07111e0db --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.PatchVenueFacility; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class PatchVenueFacilityRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchVenueFacilityRequest request; + private final Options.Builder optionsBuilder; + + public PatchVenueFacilityRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchVenueFacilityRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchVenueFacilityRequestBuilder request(@Nonnull PatchVenueFacilityRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchVenueFacilityRequest _buildRequest() { + return this.request; + } + + public PatchVenueFacilityRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public PatchVenueFacilityResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new PatchVenueFacility.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityResponse.java b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityResponse.java new file mode 100644 index 000000000..362f5259d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchVenueFacilityResponse.java @@ -0,0 +1,211 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.VenueFacilityPatch; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchVenueFacilityResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + private VenueFacilityPatch venueFacilityPatch; + + @JsonCreator + public PatchVenueFacilityResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VenueFacilityPatch venueFacilityPatch) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.venueFacilityPatch = venueFacilityPatch; + } + + public PatchVenueFacilityResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + public Optional venueFacilityPatch() { + return Optional.ofNullable(this.venueFacilityPatch); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchVenueFacilityResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchVenueFacilityResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchVenueFacilityResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + public PatchVenueFacilityResponse withVenueFacilityPatch(@Nullable VenueFacilityPatch venueFacilityPatch) { + this.venueFacilityPatch = venueFacilityPatch; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchVenueFacilityResponse other = (PatchVenueFacilityResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.venueFacilityPatch, other.venueFacilityPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, venueFacilityPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchVenueFacilityResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "venueFacilityPatch", + venueFacilityPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VenueFacilityPatch venueFacilityPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + public Builder venueFacilityPatch(@Nullable VenueFacilityPatch venueFacilityPatch) { + this.venueFacilityPatch = venueFacilityPatch; + return this; + } + + public PatchVenueFacilityResponse build() { + return new PatchVenueFacilityResponse(contentType, statusCode, rawResponse, venueFacilityPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestRequest.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestRequest.java index 32551c8b1..e78b579a0 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestRequest.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.MeetingRequestUpdateJson; +import com.cvent.models.components.MeetingRequestUpdate; import com.cvent.utils.SpeakeasyMetadata; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -32,20 +32,20 @@ public class UpdateMeetingRequestRequest { * Up to **5 meeting requests** can be updated per call. */ @SpeakeasyMetadata("request:mediaType=application/json") - private List requestBody; + private List requestBody; @JsonCreator public UpdateMeetingRequestRequest( @Nonnull String id, @Nullable Boolean skipRequiredQuestionValidation, - @Nonnull List requestBody) { + @Nonnull List requestBody) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.skipRequiredQuestionValidation = skipRequiredQuestionValidation; this.requestBody = Optional.ofNullable(requestBody) .orElseThrow(() -> new IllegalArgumentException("requestBody cannot be null")); } - public UpdateMeetingRequestRequest(@Nonnull String id, @Nonnull List requestBody) { + public UpdateMeetingRequestRequest(@Nonnull String id, @Nonnull List requestBody) { this(id, null, requestBody); } @@ -66,7 +66,7 @@ public Optional skipRequiredQuestionValidation() { /** * Up to **5 meeting requests** can be updated per call. */ - public List requestBody() { + public List requestBody() { return this.requestBody; } @@ -94,7 +94,7 @@ public UpdateMeetingRequestRequest withSkipRequiredQuestionValidation( /** * Up to **5 meeting requests** can be updated per call. */ - public UpdateMeetingRequestRequest withRequestBody(@Nonnull List requestBody) { + public UpdateMeetingRequestRequest withRequestBody(@Nonnull List requestBody) { this.requestBody = Utils.checkNotNull(requestBody, "requestBody"); return this; } @@ -137,7 +137,7 @@ public static final class Builder { private Boolean skipRequiredQuestionValidation; - private List requestBody; + private List requestBody; private Builder() { // force use of static builder() method @@ -162,7 +162,7 @@ public Builder skipRequiredQuestionValidation(@Nullable Boolean skipRequiredQues /** * Up to **5 meeting requests** can be updated per call. */ - public Builder requestBody(@Nonnull List requestBody) { + public Builder requestBody(@Nonnull List requestBody) { this.requestBody = Utils.checkNotNull(requestBody, "requestBody"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestResponse.java index e92c5f15d..1c31852ab 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRequestResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.MeetingRequestBulkResponseItemJson; +import com.cvent.models.components.MeetingRequestBulkResponseItem; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -35,14 +35,14 @@ public class UpdateMeetingRequestResponse implements Response { /** * Meeting request was successfully updated. */ - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; @JsonCreator public UpdateMeetingRequestResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -80,7 +80,7 @@ public HttpResponse rawResponse() { /** * Meeting request was successfully updated. */ - public Optional> meetingRequestBulkResponse() { + public Optional> meetingRequestBulkResponse() { return Optional.ofNullable(this.meetingRequestBulkResponse); } @@ -116,7 +116,7 @@ public UpdateMeetingRequestResponse withRawResponse(@Nonnull HttpResponse meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } @@ -164,7 +164,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; private Builder() { // force use of static builder() method @@ -198,7 +198,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Meeting request was successfully updated. */ public Builder meetingRequestBulkResponse( - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequest.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequest.java new file mode 100644 index 000000000..6df9415ea --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequest.java @@ -0,0 +1,156 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingMeetingRoomInput; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class UpdateMeetingRoomRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * Unique identifier for a meeting room. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=meetingRoomId") + private String meetingRoomId; + + @SpeakeasyMetadata("request:mediaType=application/json") + private ExistingMeetingRoomInput existingMeetingRoom; + + @JsonCreator + public UpdateMeetingRoomRequest( + @Nonnull String venueId, + @Nonnull String meetingRoomId, + @Nonnull ExistingMeetingRoomInput existingMeetingRoom) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.meetingRoomId = Optional.ofNullable(meetingRoomId) + .orElseThrow(() -> new IllegalArgumentException("meetingRoomId cannot be null")); + this.existingMeetingRoom = Optional.ofNullable(existingMeetingRoom) + .orElseThrow(() -> new IllegalArgumentException("existingMeetingRoom cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * Unique identifier for a meeting room. + */ + public String meetingRoomId() { + return this.meetingRoomId; + } + + public ExistingMeetingRoomInput existingMeetingRoom() { + return this.existingMeetingRoom; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public UpdateMeetingRoomRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a meeting room. + */ + public UpdateMeetingRoomRequest withMeetingRoomId(@Nonnull String meetingRoomId) { + this.meetingRoomId = Utils.checkNotNull(meetingRoomId, "meetingRoomId"); + return this; + } + + public UpdateMeetingRoomRequest withExistingMeetingRoom(@Nonnull ExistingMeetingRoomInput existingMeetingRoom) { + this.existingMeetingRoom = Utils.checkNotNull(existingMeetingRoom, "existingMeetingRoom"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateMeetingRoomRequest other = (UpdateMeetingRoomRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.meetingRoomId, other.meetingRoomId) + && Utils.enhancedDeepEquals(this.existingMeetingRoom, other.existingMeetingRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, meetingRoomId, existingMeetingRoom); + } + + @Override + public String toString() { + return Utils.toString( + UpdateMeetingRoomRequest.class, + "venueId", + venueId, + "meetingRoomId", + meetingRoomId, + "existingMeetingRoom", + existingMeetingRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private String meetingRoomId; + + private ExistingMeetingRoomInput existingMeetingRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a meeting room. + */ + public Builder meetingRoomId(@Nonnull String meetingRoomId) { + this.meetingRoomId = Utils.checkNotNull(meetingRoomId, "meetingRoomId"); + return this; + } + + public Builder existingMeetingRoom(@Nonnull ExistingMeetingRoomInput existingMeetingRoom) { + this.existingMeetingRoom = Utils.checkNotNull(existingMeetingRoom, "existingMeetingRoom"); + return this; + } + + public UpdateMeetingRoomRequest build() { + return new UpdateMeetingRoomRequest(venueId, meetingRoomId, existingMeetingRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequestBuilder.java new file mode 100644 index 000000000..0c0d71373 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.UpdateMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class UpdateMeetingRoomRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateMeetingRoomRequest request; + private final Options.Builder optionsBuilder; + + public UpdateMeetingRoomRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateMeetingRoomRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateMeetingRoomRequestBuilder request(@Nonnull UpdateMeetingRoomRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateMeetingRoomRequest _buildRequest() { + return this.request; + } + + public UpdateMeetingRoomRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public UpdateMeetingRoomResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new UpdateMeetingRoom.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomResponse.java new file mode 100644 index 000000000..5bcec0445 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateMeetingRoomResponse.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingMeetingRoom; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateMeetingRoomResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the meeting room. + */ + private ExistingMeetingRoom existingMeetingRoom; + + @JsonCreator + public UpdateMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingMeetingRoom existingMeetingRoom) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingMeetingRoom = existingMeetingRoom; + } + + public UpdateMeetingRoomResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the meeting room. + */ + public Optional existingMeetingRoom() { + return Optional.ofNullable(this.existingMeetingRoom); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateMeetingRoomResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateMeetingRoomResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateMeetingRoomResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public UpdateMeetingRoomResponse withExistingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateMeetingRoomResponse other = (UpdateMeetingRoomResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingMeetingRoom, other.existingMeetingRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingMeetingRoom); + } + + @Override + public String toString() { + return Utils.toString( + UpdateMeetingRoomResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingMeetingRoom", + existingMeetingRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingMeetingRoom existingMeetingRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public Builder existingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + public UpdateMeetingRoomResponse build() { + return new UpdateMeetingRoomResponse(contentType, statusCode, rawResponse, existingMeetingRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequest.java new file mode 100644 index 000000000..9ba061c17 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequest.java @@ -0,0 +1,113 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingVenueDetailsInput; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class UpdateVenueDetailsRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @SpeakeasyMetadata("request:mediaType=application/json") + private ExistingVenueDetailsInput existingVenueDetails; + + @JsonCreator + public UpdateVenueDetailsRequest(@Nonnull String venueId, @Nonnull ExistingVenueDetailsInput existingVenueDetails) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.existingVenueDetails = Optional.ofNullable(existingVenueDetails) + .orElseThrow(() -> new IllegalArgumentException("existingVenueDetails cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public ExistingVenueDetailsInput existingVenueDetails() { + return this.existingVenueDetails; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public UpdateVenueDetailsRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public UpdateVenueDetailsRequest withExistingVenueDetails(@Nonnull ExistingVenueDetailsInput existingVenueDetails) { + this.existingVenueDetails = Utils.checkNotNull(existingVenueDetails, "existingVenueDetails"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueDetailsRequest other = (UpdateVenueDetailsRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.existingVenueDetails, other.existingVenueDetails); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, existingVenueDetails); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueDetailsRequest.class, "venueId", venueId, "existingVenueDetails", existingVenueDetails); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private ExistingVenueDetailsInput existingVenueDetails; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public Builder existingVenueDetails(@Nonnull ExistingVenueDetailsInput existingVenueDetails) { + this.existingVenueDetails = Utils.checkNotNull(existingVenueDetails, "existingVenueDetails"); + return this; + } + + public UpdateVenueDetailsRequest build() { + return new UpdateVenueDetailsRequest(venueId, existingVenueDetails); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequestBuilder.java new file mode 100644 index 000000000..556ba0dea --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.UpdateVenueDetails; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class UpdateVenueDetailsRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateVenueDetailsRequest request; + private final Options.Builder optionsBuilder; + + public UpdateVenueDetailsRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateVenueDetailsRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateVenueDetailsRequestBuilder request(@Nonnull UpdateVenueDetailsRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateVenueDetailsRequest _buildRequest() { + return this.request; + } + + public UpdateVenueDetailsRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public UpdateVenueDetailsResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new UpdateVenueDetails.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsResponse.java new file mode 100644 index 000000000..b3c7342f2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueDetailsResponse.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingVenueDetails; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateVenueDetailsResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue details. + */ + private ExistingVenueDetails existingVenueDetails; + + @JsonCreator + public UpdateVenueDetailsResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueDetails existingVenueDetails) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueDetails = existingVenueDetails; + } + + public UpdateVenueDetailsResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue details. + */ + public Optional existingVenueDetails() { + return Optional.ofNullable(this.existingVenueDetails); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateVenueDetailsResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateVenueDetailsResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateVenueDetailsResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. + */ + public UpdateVenueDetailsResponse withExistingVenueDetails(@Nullable ExistingVenueDetails existingVenueDetails) { + this.existingVenueDetails = existingVenueDetails; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueDetailsResponse other = (UpdateVenueDetailsResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueDetails, other.existingVenueDetails); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueDetails); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueDetailsResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueDetails", + existingVenueDetails); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueDetails existingVenueDetails; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. + */ + public Builder existingVenueDetails(@Nullable ExistingVenueDetails existingVenueDetails) { + this.existingVenueDetails = existingVenueDetails; + return this; + } + + public UpdateVenueDetailsResponse build() { + return new UpdateVenueDetailsResponse(contentType, statusCode, rawResponse, existingVenueDetails); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequest.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequest.java new file mode 100644 index 000000000..bddd4591b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequest.java @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingVenueFacilityInput; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class UpdateVenueFacilityRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @SpeakeasyMetadata("request:mediaType=application/json") + private ExistingVenueFacilityInput existingVenueFacility; + + @JsonCreator + public UpdateVenueFacilityRequest( + @Nonnull String venueId, @Nonnull ExistingVenueFacilityInput existingVenueFacility) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.existingVenueFacility = Optional.ofNullable(existingVenueFacility) + .orElseThrow(() -> new IllegalArgumentException("existingVenueFacility cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public ExistingVenueFacilityInput existingVenueFacility() { + return this.existingVenueFacility; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public UpdateVenueFacilityRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public UpdateVenueFacilityRequest withExistingVenueFacility( + @Nonnull ExistingVenueFacilityInput existingVenueFacility) { + this.existingVenueFacility = Utils.checkNotNull(existingVenueFacility, "existingVenueFacility"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueFacilityRequest other = (UpdateVenueFacilityRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.existingVenueFacility, other.existingVenueFacility); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, existingVenueFacility); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueFacilityRequest.class, "venueId", venueId, "existingVenueFacility", existingVenueFacility); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private ExistingVenueFacilityInput existingVenueFacility; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public Builder existingVenueFacility(@Nonnull ExistingVenueFacilityInput existingVenueFacility) { + this.existingVenueFacility = Utils.checkNotNull(existingVenueFacility, "existingVenueFacility"); + return this; + } + + public UpdateVenueFacilityRequest build() { + return new UpdateVenueFacilityRequest(venueId, existingVenueFacility); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequestBuilder.java new file mode 100644 index 000000000..42ee7005e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.UpdateVenueFacility; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class UpdateVenueFacilityRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateVenueFacilityRequest request; + private final Options.Builder optionsBuilder; + + public UpdateVenueFacilityRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateVenueFacilityRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateVenueFacilityRequestBuilder request(@Nonnull UpdateVenueFacilityRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateVenueFacilityRequest _buildRequest() { + return this.request; + } + + public UpdateVenueFacilityRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public UpdateVenueFacilityResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new UpdateVenueFacility.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityResponse.java new file mode 100644 index 000000000..056864da8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueFacilityResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingVenueFacility; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateVenueFacilityResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue facility information. + */ + private ExistingVenueFacility existingVenueFacility; + + @JsonCreator + public UpdateVenueFacilityResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueFacility existingVenueFacility) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueFacility = existingVenueFacility; + } + + public UpdateVenueFacilityResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue facility information. + */ + public Optional existingVenueFacility() { + return Optional.ofNullable(this.existingVenueFacility); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateVenueFacilityResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateVenueFacilityResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateVenueFacilityResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. + */ + public UpdateVenueFacilityResponse withExistingVenueFacility( + @Nullable ExistingVenueFacility existingVenueFacility) { + this.existingVenueFacility = existingVenueFacility; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueFacilityResponse other = (UpdateVenueFacilityResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueFacility, other.existingVenueFacility); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueFacility); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueFacilityResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueFacility", + existingVenueFacility); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueFacility existingVenueFacility; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. + */ + public Builder existingVenueFacility(@Nullable ExistingVenueFacility existingVenueFacility) { + this.existingVenueFacility = existingVenueFacility; + return this; + } + + public UpdateVenueFacilityResponse build() { + return new UpdateVenueFacilityResponse(contentType, statusCode, rawResponse, existingVenueFacility); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRequestResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRequestResponse.java index 60128c340..622032996 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRequestResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRequestResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.MeetingRequestBulkResponseItemJson; +import com.cvent.models.components.MeetingRequestBulkResponseItem; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -36,14 +36,14 @@ public class CreateMeetingRequestResponse implements AsyncResponse { /** * Meeting request(s) were successfully created. */ - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; @JsonCreator public CreateMeetingRequestResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -81,7 +81,7 @@ public HttpResponse rawResponse() { /** * Meeting request(s) were successfully created. */ - public Optional> meetingRequestBulkResponse() { + public Optional> meetingRequestBulkResponse() { return Optional.ofNullable(this.meetingRequestBulkResponse); } @@ -117,7 +117,7 @@ public CreateMeetingRequestResponse withRawResponse(@Nonnull HttpResponse * Meeting request(s) were successfully created. */ public CreateMeetingRequestResponse withMeetingRequestBulkResponse( - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } @@ -165,7 +165,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; private Builder() { // force use of static builder() method @@ -199,7 +199,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Meeting request(s) were successfully created. */ public Builder meetingRequestBulkResponse( - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRoomRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRoomRequestBuilder.java new file mode 100644 index 000000000..35ce25e4b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRoomRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.CreateMeetingRoomRequest; +import com.cvent.operations.CreateMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class CreateMeetingRoomRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private CreateMeetingRoomRequest request; + private final Options.Builder optionsBuilder; + + public CreateMeetingRoomRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public CreateMeetingRoomRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public CreateMeetingRoomRequestBuilder request(@Nonnull CreateMeetingRoomRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private CreateMeetingRoomRequest _buildRequest() { + return this.request; + } + + public CreateMeetingRoomRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new CreateMeetingRoom.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRoomResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRoomResponse.java new file mode 100644 index 000000000..5547f93bd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/CreateMeetingRoomResponse.java @@ -0,0 +1,238 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingMeetingRoom; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Map; +import java.util.Optional; + +public class CreateMeetingRoomResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Meeting room created successfully. + */ + private ExistingMeetingRoom existingMeetingRoom; + + private Map> headers; + + @JsonCreator + public CreateMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingMeetingRoom existingMeetingRoom, + @Nonnull Map> headers) { + headers = Utils.emptyMapIfNull(headers); + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingMeetingRoom = existingMeetingRoom; + this.headers = + Optional.ofNullable(headers).orElseThrow(() -> new IllegalArgumentException("headers cannot be null")); + } + + public CreateMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nonnull Map> headers) { + this(contentType, statusCode, rawResponse, null, headers); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Meeting room created successfully. + */ + public Optional existingMeetingRoom() { + return Optional.ofNullable(this.existingMeetingRoom); + } + + public Map> headers() { + return this.headers; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public CreateMeetingRoomResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public CreateMeetingRoomResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public CreateMeetingRoomResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Meeting room created successfully. + */ + public CreateMeetingRoomResponse withExistingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + public CreateMeetingRoomResponse withHeaders(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateMeetingRoomResponse other = (CreateMeetingRoomResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingMeetingRoom, other.existingMeetingRoom) + && Utils.enhancedDeepEquals(this.headers, other.headers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingMeetingRoom, headers); + } + + @Override + public String toString() { + return Utils.toString( + CreateMeetingRoomResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingMeetingRoom", + existingMeetingRoom, + "headers", + headers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingMeetingRoom existingMeetingRoom; + + private Map> headers; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Meeting room created successfully. + */ + public Builder existingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + public Builder headers(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + public CreateMeetingRoomResponse build() { + return new CreateMeetingRoomResponse(contentType, statusCode, rawResponse, existingMeetingRoom, headers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetMeetingRoomOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetMeetingRoomOverviewRequestBuilder.java new file mode 100644 index 000000000..bb25d6168 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetMeetingRoomOverviewRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.GetMeetingRoomOverviewRequest; +import com.cvent.operations.GetMeetingRoomOverview; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class GetMeetingRoomOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetMeetingRoomOverviewRequest request; + private final Options.Builder optionsBuilder; + + public GetMeetingRoomOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetMeetingRoomOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetMeetingRoomOverviewRequestBuilder request(@Nonnull GetMeetingRoomOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetMeetingRoomOverviewRequest _buildRequest() { + return this.request; + } + + public GetMeetingRoomOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new GetMeetingRoomOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetMeetingRoomOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetMeetingRoomOverviewResponse.java new file mode 100644 index 000000000..eabded6fc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetMeetingRoomOverviewResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.MeetingRoomOverview; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetMeetingRoomOverviewResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the meeting room overview. + */ + private MeetingRoomOverview meetingRoomOverview; + + @JsonCreator + public GetMeetingRoomOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable MeetingRoomOverview meetingRoomOverview) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.meetingRoomOverview = meetingRoomOverview; + } + + public GetMeetingRoomOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the meeting room overview. + */ + public Optional meetingRoomOverview() { + return Optional.ofNullable(this.meetingRoomOverview); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetMeetingRoomOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetMeetingRoomOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetMeetingRoomOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the meeting room overview. + */ + public GetMeetingRoomOverviewResponse withMeetingRoomOverview(@Nullable MeetingRoomOverview meetingRoomOverview) { + this.meetingRoomOverview = meetingRoomOverview; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetMeetingRoomOverviewResponse other = (GetMeetingRoomOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.meetingRoomOverview, other.meetingRoomOverview); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, meetingRoomOverview); + } + + @Override + public String toString() { + return Utils.toString( + GetMeetingRoomOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "meetingRoomOverview", + meetingRoomOverview); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private MeetingRoomOverview meetingRoomOverview; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the meeting room overview. + */ + public Builder meetingRoomOverview(@Nullable MeetingRoomOverview meetingRoomOverview) { + this.meetingRoomOverview = meetingRoomOverview; + return this; + } + + public GetMeetingRoomOverviewResponse build() { + return new GetMeetingRoomOverviewResponse(contentType, statusCode, rawResponse, meetingRoomOverview); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueDetailsOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueDetailsOverviewRequestBuilder.java new file mode 100644 index 000000000..58adde367 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueDetailsOverviewRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.GetVenueDetailsOverviewRequest; +import com.cvent.operations.GetVenueDetailsOverview; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class GetVenueDetailsOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetVenueDetailsOverviewRequest request; + private final Options.Builder optionsBuilder; + + public GetVenueDetailsOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetVenueDetailsOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetVenueDetailsOverviewRequestBuilder request(@Nonnull GetVenueDetailsOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetVenueDetailsOverviewRequest _buildRequest() { + return this.request; + } + + public GetVenueDetailsOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new GetVenueDetailsOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueDetailsOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueDetailsOverviewResponse.java new file mode 100644 index 000000000..25c54e710 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueDetailsOverviewResponse.java @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.VenueDetailsOverview; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetVenueDetailsOverviewResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the venue details overview. + */ + private VenueDetailsOverview venueDetailsOverview; + + @JsonCreator + public GetVenueDetailsOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VenueDetailsOverview venueDetailsOverview) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.venueDetailsOverview = venueDetailsOverview; + } + + public GetVenueDetailsOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the venue details overview. + */ + public Optional venueDetailsOverview() { + return Optional.ofNullable(this.venueDetailsOverview); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetVenueDetailsOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetVenueDetailsOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetVenueDetailsOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue details overview. + */ + public GetVenueDetailsOverviewResponse withVenueDetailsOverview( + @Nullable VenueDetailsOverview venueDetailsOverview) { + this.venueDetailsOverview = venueDetailsOverview; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetVenueDetailsOverviewResponse other = (GetVenueDetailsOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.venueDetailsOverview, other.venueDetailsOverview); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, venueDetailsOverview); + } + + @Override + public String toString() { + return Utils.toString( + GetVenueDetailsOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "venueDetailsOverview", + venueDetailsOverview); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VenueDetailsOverview venueDetailsOverview; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue details overview. + */ + public Builder venueDetailsOverview(@Nullable VenueDetailsOverview venueDetailsOverview) { + this.venueDetailsOverview = venueDetailsOverview; + return this; + } + + public GetVenueDetailsOverviewResponse build() { + return new GetVenueDetailsOverviewResponse(contentType, statusCode, rawResponse, venueDetailsOverview); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/ListMeetingRoomsOverviewsRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListMeetingRoomsOverviewsRequestBuilder.java new file mode 100644 index 000000000..d65302a65 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListMeetingRoomsOverviewsRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.ListMeetingRoomsOverviewsRequest; +import com.cvent.operations.ListMeetingRoomsOverviews; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class ListMeetingRoomsOverviewsRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListMeetingRoomsOverviewsRequest request; + private final Options.Builder optionsBuilder; + + public ListMeetingRoomsOverviewsRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListMeetingRoomsOverviewsRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListMeetingRoomsOverviewsRequestBuilder request(@Nonnull ListMeetingRoomsOverviewsRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListMeetingRoomsOverviewsRequest _buildRequest() { + return this.request; + } + + public ListMeetingRoomsOverviewsRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new ListMeetingRoomsOverviews.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/ListMeetingRoomsOverviewsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListMeetingRoomsOverviewsResponse.java new file mode 100644 index 000000000..ab952af74 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListMeetingRoomsOverviewsResponse.java @@ -0,0 +1,211 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.MeetingRoomsOverviewResponse; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class ListMeetingRoomsOverviewsResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved overview of meeting rooms. + */ + private MeetingRoomsOverviewResponse meetingRoomsOverviewResponse; + + @JsonCreator + public ListMeetingRoomsOverviewsResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable MeetingRoomsOverviewResponse meetingRoomsOverviewResponse) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.meetingRoomsOverviewResponse = meetingRoomsOverviewResponse; + } + + public ListMeetingRoomsOverviewsResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved overview of meeting rooms. + */ + public Optional meetingRoomsOverviewResponse() { + return Optional.ofNullable(this.meetingRoomsOverviewResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListMeetingRoomsOverviewsResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListMeetingRoomsOverviewsResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListMeetingRoomsOverviewsResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved overview of meeting rooms. + */ + public ListMeetingRoomsOverviewsResponse withMeetingRoomsOverviewResponse( + @Nullable MeetingRoomsOverviewResponse meetingRoomsOverviewResponse) { + this.meetingRoomsOverviewResponse = meetingRoomsOverviewResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListMeetingRoomsOverviewsResponse other = (ListMeetingRoomsOverviewsResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.meetingRoomsOverviewResponse, other.meetingRoomsOverviewResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, meetingRoomsOverviewResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListMeetingRoomsOverviewsResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "meetingRoomsOverviewResponse", + meetingRoomsOverviewResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private MeetingRoomsOverviewResponse meetingRoomsOverviewResponse; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved overview of meeting rooms. + */ + public Builder meetingRoomsOverviewResponse( + @Nullable MeetingRoomsOverviewResponse meetingRoomsOverviewResponse) { + this.meetingRoomsOverviewResponse = meetingRoomsOverviewResponse; + return this; + } + + public ListMeetingRoomsOverviewsResponse build() { + return new ListMeetingRoomsOverviewsResponse( + contentType, statusCode, rawResponse, meetingRoomsOverviewResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchMeetingRoomRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchMeetingRoomRequestBuilder.java new file mode 100644 index 000000000..8ddd37a76 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchMeetingRoomRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.PatchMeetingRoomRequest; +import com.cvent.operations.PatchMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class PatchMeetingRoomRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchMeetingRoomRequest request; + private final Options.Builder optionsBuilder; + + public PatchMeetingRoomRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchMeetingRoomRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchMeetingRoomRequestBuilder request(@Nonnull PatchMeetingRoomRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchMeetingRoomRequest _buildRequest() { + return this.request; + } + + public PatchMeetingRoomRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new PatchMeetingRoom.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchMeetingRoomResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchMeetingRoomResponse.java new file mode 100644 index 000000000..cb430269a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchMeetingRoomResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.PatchMeetingRoom; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchMeetingRoomResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the meeting room. + */ + private PatchMeetingRoom patchMeetingRoom; + + @JsonCreator + public PatchMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable PatchMeetingRoom patchMeetingRoom) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.patchMeetingRoom = patchMeetingRoom; + } + + public PatchMeetingRoomResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the meeting room. + */ + public Optional patchMeetingRoom() { + return Optional.ofNullable(this.patchMeetingRoom); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchMeetingRoomResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchMeetingRoomResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchMeetingRoomResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public PatchMeetingRoomResponse withPatchMeetingRoom(@Nullable PatchMeetingRoom patchMeetingRoom) { + this.patchMeetingRoom = patchMeetingRoom; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMeetingRoomResponse other = (PatchMeetingRoomResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.patchMeetingRoom, other.patchMeetingRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, patchMeetingRoom); + } + + @Override + public String toString() { + return Utils.toString( + PatchMeetingRoomResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "patchMeetingRoom", + patchMeetingRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private PatchMeetingRoom patchMeetingRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public Builder patchMeetingRoom(@Nullable PatchMeetingRoom patchMeetingRoom) { + this.patchMeetingRoom = patchMeetingRoom; + return this; + } + + public PatchMeetingRoomResponse build() { + return new PatchMeetingRoomResponse(contentType, statusCode, rawResponse, patchMeetingRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueDetailsRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueDetailsRequestBuilder.java new file mode 100644 index 000000000..67895aa66 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueDetailsRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.PatchVenueDetailsRequest; +import com.cvent.operations.PatchVenueDetails; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class PatchVenueDetailsRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchVenueDetailsRequest request; + private final Options.Builder optionsBuilder; + + public PatchVenueDetailsRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchVenueDetailsRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchVenueDetailsRequestBuilder request(@Nonnull PatchVenueDetailsRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchVenueDetailsRequest _buildRequest() { + return this.request; + } + + public PatchVenueDetailsRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new PatchVenueDetails.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueDetailsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueDetailsResponse.java new file mode 100644 index 000000000..225335182 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueDetailsResponse.java @@ -0,0 +1,212 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.VenueDetailsPatch; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchVenueDetailsResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + private VenueDetailsPatch venueDetailsPatch; + + @JsonCreator + public PatchVenueDetailsResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VenueDetailsPatch venueDetailsPatch) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.venueDetailsPatch = venueDetailsPatch; + } + + public PatchVenueDetailsResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + public Optional venueDetailsPatch() { + return Optional.ofNullable(this.venueDetailsPatch); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchVenueDetailsResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchVenueDetailsResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchVenueDetailsResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + public PatchVenueDetailsResponse withVenueDetailsPatch(@Nullable VenueDetailsPatch venueDetailsPatch) { + this.venueDetailsPatch = venueDetailsPatch; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchVenueDetailsResponse other = (PatchVenueDetailsResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.venueDetailsPatch, other.venueDetailsPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, venueDetailsPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchVenueDetailsResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "venueDetailsPatch", + venueDetailsPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VenueDetailsPatch venueDetailsPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. The response contains only the fields that were provided in + * the request payload. + */ + public Builder venueDetailsPatch(@Nullable VenueDetailsPatch venueDetailsPatch) { + this.venueDetailsPatch = venueDetailsPatch; + return this; + } + + public PatchVenueDetailsResponse build() { + return new PatchVenueDetailsResponse(contentType, statusCode, rawResponse, venueDetailsPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueFacilityRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueFacilityRequestBuilder.java new file mode 100644 index 000000000..5660faf24 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueFacilityRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.PatchVenueFacilityRequest; +import com.cvent.operations.PatchVenueFacility; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class PatchVenueFacilityRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchVenueFacilityRequest request; + private final Options.Builder optionsBuilder; + + public PatchVenueFacilityRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchVenueFacilityRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchVenueFacilityRequestBuilder request(@Nonnull PatchVenueFacilityRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchVenueFacilityRequest _buildRequest() { + return this.request; + } + + public PatchVenueFacilityRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new PatchVenueFacility.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueFacilityResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueFacilityResponse.java new file mode 100644 index 000000000..1bcfa7fac --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchVenueFacilityResponse.java @@ -0,0 +1,212 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.VenueFacilityPatch; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchVenueFacilityResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + private VenueFacilityPatch venueFacilityPatch; + + @JsonCreator + public PatchVenueFacilityResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VenueFacilityPatch venueFacilityPatch) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.venueFacilityPatch = venueFacilityPatch; + } + + public PatchVenueFacilityResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + public Optional venueFacilityPatch() { + return Optional.ofNullable(this.venueFacilityPatch); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchVenueFacilityResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchVenueFacilityResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchVenueFacilityResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + public PatchVenueFacilityResponse withVenueFacilityPatch(@Nullable VenueFacilityPatch venueFacilityPatch) { + this.venueFacilityPatch = venueFacilityPatch; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchVenueFacilityResponse other = (PatchVenueFacilityResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.venueFacilityPatch, other.venueFacilityPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, venueFacilityPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchVenueFacilityResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "venueFacilityPatch", + venueFacilityPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VenueFacilityPatch venueFacilityPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. The response contains only the fields that were + * provided in the request payload. + */ + public Builder venueFacilityPatch(@Nullable VenueFacilityPatch venueFacilityPatch) { + this.venueFacilityPatch = venueFacilityPatch; + return this; + } + + public PatchVenueFacilityResponse build() { + return new PatchVenueFacilityResponse(contentType, statusCode, rawResponse, venueFacilityPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRequestResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRequestResponse.java index 28cbdd461..1f2d1a996 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRequestResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRequestResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.MeetingRequestBulkResponseItemJson; +import com.cvent.models.components.MeetingRequestBulkResponseItem; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -36,14 +36,14 @@ public class UpdateMeetingRequestResponse implements AsyncResponse { /** * Meeting request was successfully updated. */ - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; @JsonCreator public UpdateMeetingRequestResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -81,7 +81,7 @@ public HttpResponse rawResponse() { /** * Meeting request was successfully updated. */ - public Optional> meetingRequestBulkResponse() { + public Optional> meetingRequestBulkResponse() { return Optional.ofNullable(this.meetingRequestBulkResponse); } @@ -117,7 +117,7 @@ public UpdateMeetingRequestResponse withRawResponse(@Nonnull HttpResponse * Meeting request was successfully updated. */ public UpdateMeetingRequestResponse withMeetingRequestBulkResponse( - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } @@ -165,7 +165,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List meetingRequestBulkResponse; + private List meetingRequestBulkResponse; private Builder() { // force use of static builder() method @@ -199,7 +199,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Meeting request was successfully updated. */ public Builder meetingRequestBulkResponse( - @Nullable List meetingRequestBulkResponse) { + @Nullable List meetingRequestBulkResponse) { this.meetingRequestBulkResponse = meetingRequestBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRoomRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRoomRequestBuilder.java new file mode 100644 index 000000000..5c7c8fee2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRoomRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.UpdateMeetingRoomRequest; +import com.cvent.operations.UpdateMeetingRoom; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class UpdateMeetingRoomRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateMeetingRoomRequest request; + private final Options.Builder optionsBuilder; + + public UpdateMeetingRoomRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateMeetingRoomRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateMeetingRoomRequestBuilder request(@Nonnull UpdateMeetingRoomRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateMeetingRoomRequest _buildRequest() { + return this.request; + } + + public UpdateMeetingRoomRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new UpdateMeetingRoom.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRoomResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRoomResponse.java new file mode 100644 index 000000000..d47f03ebc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateMeetingRoomResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingMeetingRoom; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateMeetingRoomResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the meeting room. + */ + private ExistingMeetingRoom existingMeetingRoom; + + @JsonCreator + public UpdateMeetingRoomResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingMeetingRoom existingMeetingRoom) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingMeetingRoom = existingMeetingRoom; + } + + public UpdateMeetingRoomResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the meeting room. + */ + public Optional existingMeetingRoom() { + return Optional.ofNullable(this.existingMeetingRoom); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateMeetingRoomResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateMeetingRoomResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateMeetingRoomResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public UpdateMeetingRoomResponse withExistingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateMeetingRoomResponse other = (UpdateMeetingRoomResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingMeetingRoom, other.existingMeetingRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingMeetingRoom); + } + + @Override + public String toString() { + return Utils.toString( + UpdateMeetingRoomResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingMeetingRoom", + existingMeetingRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingMeetingRoom existingMeetingRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the meeting room. + */ + public Builder existingMeetingRoom(@Nullable ExistingMeetingRoom existingMeetingRoom) { + this.existingMeetingRoom = existingMeetingRoom; + return this; + } + + public UpdateMeetingRoomResponse build() { + return new UpdateMeetingRoomResponse(contentType, statusCode, rawResponse, existingMeetingRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueDetailsRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueDetailsRequestBuilder.java new file mode 100644 index 000000000..e5b560d55 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueDetailsRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.UpdateVenueDetailsRequest; +import com.cvent.operations.UpdateVenueDetails; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class UpdateVenueDetailsRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateVenueDetailsRequest request; + private final Options.Builder optionsBuilder; + + public UpdateVenueDetailsRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateVenueDetailsRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateVenueDetailsRequestBuilder request(@Nonnull UpdateVenueDetailsRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateVenueDetailsRequest _buildRequest() { + return this.request; + } + + public UpdateVenueDetailsRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new UpdateVenueDetails.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueDetailsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueDetailsResponse.java new file mode 100644 index 000000000..0543e71e3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueDetailsResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingVenueDetails; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateVenueDetailsResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue details. + */ + private ExistingVenueDetails existingVenueDetails; + + @JsonCreator + public UpdateVenueDetailsResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueDetails existingVenueDetails) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueDetails = existingVenueDetails; + } + + public UpdateVenueDetailsResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue details. + */ + public Optional existingVenueDetails() { + return Optional.ofNullable(this.existingVenueDetails); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateVenueDetailsResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateVenueDetailsResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateVenueDetailsResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. + */ + public UpdateVenueDetailsResponse withExistingVenueDetails(@Nullable ExistingVenueDetails existingVenueDetails) { + this.existingVenueDetails = existingVenueDetails; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueDetailsResponse other = (UpdateVenueDetailsResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueDetails, other.existingVenueDetails); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueDetails); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueDetailsResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueDetails", + existingVenueDetails); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueDetails existingVenueDetails; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue details. + */ + public Builder existingVenueDetails(@Nullable ExistingVenueDetails existingVenueDetails) { + this.existingVenueDetails = existingVenueDetails; + return this; + } + + public UpdateVenueDetailsResponse build() { + return new UpdateVenueDetailsResponse(contentType, statusCode, rawResponse, existingVenueDetails); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueFacilityRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueFacilityRequestBuilder.java new file mode 100644 index 000000000..1484f7545 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueFacilityRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.UpdateVenueFacilityRequest; +import com.cvent.operations.UpdateVenueFacility; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class UpdateVenueFacilityRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateVenueFacilityRequest request; + private final Options.Builder optionsBuilder; + + public UpdateVenueFacilityRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateVenueFacilityRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateVenueFacilityRequestBuilder request(@Nonnull UpdateVenueFacilityRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateVenueFacilityRequest _buildRequest() { + return this.request; + } + + public UpdateVenueFacilityRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new UpdateVenueFacility.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueFacilityResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueFacilityResponse.java new file mode 100644 index 000000000..bb14553b5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueFacilityResponse.java @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingVenueFacility; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateVenueFacilityResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue facility information. + */ + private ExistingVenueFacility existingVenueFacility; + + @JsonCreator + public UpdateVenueFacilityResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueFacility existingVenueFacility) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueFacility = existingVenueFacility; + } + + public UpdateVenueFacilityResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue facility information. + */ + public Optional existingVenueFacility() { + return Optional.ofNullable(this.existingVenueFacility); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateVenueFacilityResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateVenueFacilityResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateVenueFacilityResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. + */ + public UpdateVenueFacilityResponse withExistingVenueFacility( + @Nullable ExistingVenueFacility existingVenueFacility) { + this.existingVenueFacility = existingVenueFacility; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueFacilityResponse other = (UpdateVenueFacilityResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueFacility, other.existingVenueFacility); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueFacility); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueFacilityResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueFacility", + existingVenueFacility); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueFacility existingVenueFacility; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue facility information. + */ + public Builder existingVenueFacility(@Nullable ExistingVenueFacility existingVenueFacility) { + this.existingVenueFacility = existingVenueFacility; + return this; + } + + public UpdateVenueFacilityResponse build() { + return new UpdateVenueFacilityResponse(contentType, statusCode, rawResponse, existingVenueFacility); + } + } +} 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 942862384..810093414 100644 --- a/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java +++ b/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java @@ -10,7 +10,6 @@ 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.SegmentsErrorResponse; import com.cvent.models.operations.AssociateAttendeeToSegmentRequest; @@ -194,14 +193,7 @@ public AssociateAttendeeToSegmentResponse handleResponse(HttpResponse respon throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -296,14 +288,7 @@ public CompletableFuture re throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -308,14 +300,7 @@ public CompletableFuture r throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -301,14 +293,7 @@ public CompletableFuture res if (Utils.statusCodeMatches(response.statusCode(), "207")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return res.withMeetingRequestBulkResponse(Utils.unmarshal( - response, new TypeReference>() {})); + return res.withMeetingRequestBulkResponse( + Utils.unmarshal(response, new TypeReference>() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -284,7 +284,7 @@ public CompletableFuture>() {}) + return Utils.unmarshalAsync(response, new TypeReference>() {}) .thenApply(res::withMeetingRequestBulkResponse); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); diff --git a/packages/java/src/main/java/com/cvent/operations/CreateMeetingRoom.java b/packages/java/src/main/java/com/cvent/operations/CreateMeetingRoom.java new file mode 100644 index 000000000..d92d2f70a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/CreateMeetingRoom.java @@ -0,0 +1,311 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingMeetingRoom; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.CreateMeetingRoomRequest; +import com.cvent.models.operations.CreateMeetingRoomResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class CreateMeetingRoom { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "createMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "createMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "createMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/meeting-rooms", request, null); + HTTPRequest req = new HTTPRequest(url, "POST"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "meetingRoom", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(CreateMeetingRoomRequest request) throws Exception { + HttpRequest req = buildRequest( + request, CreateMeetingRoomRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(CreateMeetingRoomRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public CreateMeetingRoomResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + CreateMeetingRoomResponse.Builder resBuilder = CreateMeetingRoomResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + CreateMeetingRoomResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "201")) { + res.withHeaders(response.headers().map()); + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingMeetingRoom( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + CreateMeetingRoomRequest, com.cvent.models.operations.async.CreateMeetingRoomResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(CreateMeetingRoomRequest request) throws Exception { + HttpRequest req = buildRequest( + request, CreateMeetingRoomRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(CreateMeetingRoomRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.CreateMeetingRoomResponse.Builder resBuilder = + com.cvent.models.operations.async.CreateMeetingRoomResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.CreateMeetingRoomResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "201")) { + res.withHeaders(response.headers().map()); + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingMeetingRoom); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/GetMRFById.java b/packages/java/src/main/java/com/cvent/operations/GetMRFById.java index 48f9488e8..6af94be40 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetMRFById.java +++ b/packages/java/src/main/java/com/cvent/operations/GetMRFById.java @@ -11,7 +11,6 @@ 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.operations.GetMRFByIdRequest; import com.cvent.models.operations.GetMRFByIdResponse; @@ -186,14 +185,7 @@ public GetMRFByIdResponse handleResponse(HttpResponse response) { throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -281,14 +273,7 @@ public CompletableFuture h return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponse.fromAsync(response).thenCompose(CompletableFuture::failedFuture); - } else { - return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { diff --git a/packages/java/src/main/java/com/cvent/operations/GetMeetingRoomOverview.java b/packages/java/src/main/java/com/cvent/operations/GetMeetingRoomOverview.java new file mode 100644 index 000000000..a27a465e2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/GetMeetingRoomOverview.java @@ -0,0 +1,296 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.MeetingRoomOverview; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.GetMeetingRoomOverviewRequest; +import com.cvent.models.operations.GetMeetingRoomOverviewResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class GetMeetingRoomOverview { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getMeetingRoomOverview", + java.util.Optional.of(java.util.List.of("venue/meeting-room-overviews:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getMeetingRoomOverview", + java.util.Optional.of(java.util.List.of("venue/meeting-room-overviews:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getMeetingRoomOverview", + java.util.Optional.of(java.util.List.of("venue/meeting-room-overviews:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/venues/{venueId}/meeting-rooms/{meetingRoomId}/overview", request, null); + HTTPRequest req = new HTTPRequest(url, "GET"); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(GetMeetingRoomOverviewRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetMeetingRoomOverviewRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(GetMeetingRoomOverviewRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches(httpRes.statusCode(), "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public GetMeetingRoomOverviewResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + GetMeetingRoomOverviewResponse.Builder resBuilder = GetMeetingRoomOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + GetMeetingRoomOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withMeetingRoomOverview( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + GetMeetingRoomOverviewRequest, com.cvent.models.operations.async.GetMeetingRoomOverviewResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(GetMeetingRoomOverviewRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetMeetingRoomOverviewRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(GetMeetingRoomOverviewRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.GetMeetingRoomOverviewResponse.Builder resBuilder = + com.cvent.models.operations.async.GetMeetingRoomOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.GetMeetingRoomOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withMeetingRoomOverview); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/GetTravelProposal.java b/packages/java/src/main/java/com/cvent/operations/GetTravelProposal.java index 620fd0db9..228998727 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetTravelProposal.java +++ b/packages/java/src/main/java/com/cvent/operations/GetTravelProposal.java @@ -86,7 +86,8 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "GetTravelProposal", - java.util.Optional.of(java.util.List.of("business-transient/proposals:read")), + java.util.Optional.of( + java.util.List.of("business-transient/proposals:read", "business-travel/proposals:read")), securitySource()); } @@ -95,7 +96,8 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "GetTravelProposal", - java.util.Optional.of(java.util.List.of("business-transient/proposals:read")), + java.util.Optional.of( + java.util.List.of("business-transient/proposals:read", "business-travel/proposals:read")), securitySource()); } @@ -104,7 +106,8 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "GetTravelProposal", - java.util.Optional.of(java.util.List.of("business-transient/proposals:read")), + java.util.Optional.of( + java.util.List.of("business-transient/proposals:read", "business-travel/proposals:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/GetTravelProposalBid.java b/packages/java/src/main/java/com/cvent/operations/GetTravelProposalBid.java index fb2577f25..53729729b 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetTravelProposalBid.java +++ b/packages/java/src/main/java/com/cvent/operations/GetTravelProposalBid.java @@ -86,7 +86,8 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "GetTravelProposalBid", - java.util.Optional.of(java.util.List.of("business-transient/bids:read")), + java.util.Optional.of( + java.util.List.of("business-transient/bids:read", "business-travel/bids:read")), securitySource()); } @@ -95,7 +96,8 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "GetTravelProposalBid", - java.util.Optional.of(java.util.List.of("business-transient/bids:read")), + java.util.Optional.of( + java.util.List.of("business-transient/bids:read", "business-travel/bids:read")), securitySource()); } @@ -104,7 +106,8 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "GetTravelProposalBid", - java.util.Optional.of(java.util.List.of("business-transient/bids:read")), + java.util.Optional.of( + java.util.List.of("business-transient/bids:read", "business-travel/bids:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/GetVenueDetailsOverview.java b/packages/java/src/main/java/com/cvent/operations/GetVenueDetailsOverview.java new file mode 100644 index 000000000..99a7f9eef --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/GetVenueDetailsOverview.java @@ -0,0 +1,295 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.VenueDetailsOverview; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.GetVenueDetailsOverviewRequest; +import com.cvent.models.operations.GetVenueDetailsOverviewResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class GetVenueDetailsOverview { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getVenueDetailsOverview", + java.util.Optional.of(java.util.List.of("venue/venue-details-overview:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getVenueDetailsOverview", + java.util.Optional.of(java.util.List.of("venue/venue-details-overview:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getVenueDetailsOverview", + java.util.Optional.of(java.util.List.of("venue/venue-details-overview:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/details/overview", request, null); + HTTPRequest req = new HTTPRequest(url, "GET"); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(GetVenueDetailsOverviewRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetVenueDetailsOverviewRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(GetVenueDetailsOverviewRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches(httpRes.statusCode(), "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public GetVenueDetailsOverviewResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + GetVenueDetailsOverviewResponse.Builder resBuilder = GetVenueDetailsOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + GetVenueDetailsOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withVenueDetailsOverview( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + GetVenueDetailsOverviewRequest, com.cvent.models.operations.async.GetVenueDetailsOverviewResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(GetVenueDetailsOverviewRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetVenueDetailsOverviewRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(GetVenueDetailsOverviewRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.GetVenueDetailsOverviewResponse.Builder resBuilder = + com.cvent.models.operations.async.GetVenueDetailsOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.GetVenueDetailsOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withVenueDetailsOverview); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/ListMeetingRoomsOverviews.java b/packages/java/src/main/java/com/cvent/operations/ListMeetingRoomsOverviews.java new file mode 100644 index 000000000..4c6f9b465 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/ListMeetingRoomsOverviews.java @@ -0,0 +1,301 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.MeetingRoomsOverviewResponse; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.ListMeetingRoomsOverviewsRequest; +import com.cvent.models.operations.ListMeetingRoomsOverviewsResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class ListMeetingRoomsOverviews { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listMeetingRoomsOverviews", + java.util.Optional.of(java.util.List.of("venue/meeting-room-overviews:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listMeetingRoomsOverviews", + java.util.Optional.of(java.util.List.of("venue/meeting-room-overviews:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listMeetingRoomsOverviews", + java.util.Optional.of(java.util.List.of("venue/meeting-room-overviews:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = + Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/meeting-rooms/overviews", request, null); + HTTPRequest req = new HTTPRequest(url, "GET"); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + + req.addQueryParams(Utils.getQueryParams(klass, request, null)); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(ListMeetingRoomsOverviewsRequest request) throws Exception { + HttpRequest req = buildRequest(request, ListMeetingRoomsOverviewsRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(ListMeetingRoomsOverviewsRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public ListMeetingRoomsOverviewsResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + ListMeetingRoomsOverviewsResponse.Builder resBuilder = ListMeetingRoomsOverviewsResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + ListMeetingRoomsOverviewsResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withMeetingRoomsOverviewResponse( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + ListMeetingRoomsOverviewsRequest, + com.cvent.models.operations.async.ListMeetingRoomsOverviewsResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(ListMeetingRoomsOverviewsRequest request) + throws Exception { + HttpRequest req = buildRequest(request, ListMeetingRoomsOverviewsRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(ListMeetingRoomsOverviewsRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.ListMeetingRoomsOverviewsResponse.Builder resBuilder = + com.cvent.models.operations.async.ListMeetingRoomsOverviewsResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.ListMeetingRoomsOverviewsResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withMeetingRoomsOverviewResponse); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/ListTravelProposalBids.java b/packages/java/src/main/java/com/cvent/operations/ListTravelProposalBids.java index 64f6beaa6..6cfedbe23 100644 --- a/packages/java/src/main/java/com/cvent/operations/ListTravelProposalBids.java +++ b/packages/java/src/main/java/com/cvent/operations/ListTravelProposalBids.java @@ -86,7 +86,8 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProposalBids", - java.util.Optional.of(java.util.List.of("business-transient/bids:read")), + java.util.Optional.of( + java.util.List.of("business-transient/bids:read", "business-travel/bids:read")), securitySource()); } @@ -95,7 +96,8 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProposalBids", - java.util.Optional.of(java.util.List.of("business-transient/bids:read")), + java.util.Optional.of( + java.util.List.of("business-transient/bids:read", "business-travel/bids:read")), securitySource()); } @@ -104,7 +106,8 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProposalBids", - java.util.Optional.of(java.util.List.of("business-transient/bids:read")), + java.util.Optional.of( + java.util.List.of("business-transient/bids:read", "business-travel/bids:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/ListTravelProposals.java b/packages/java/src/main/java/com/cvent/operations/ListTravelProposals.java index f96d7ce94..6dd248944 100644 --- a/packages/java/src/main/java/com/cvent/operations/ListTravelProposals.java +++ b/packages/java/src/main/java/com/cvent/operations/ListTravelProposals.java @@ -86,7 +86,8 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProposals", - java.util.Optional.of(java.util.List.of("business-transient/proposals:read")), + java.util.Optional.of( + java.util.List.of("business-transient/proposals:read", "business-travel/proposals:read")), securitySource()); } @@ -95,7 +96,8 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProposals", - java.util.Optional.of(java.util.List.of("business-transient/proposals:read")), + java.util.Optional.of( + java.util.List.of("business-transient/proposals:read", "business-travel/proposals:read")), securitySource()); } @@ -104,7 +106,8 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProposals", - java.util.Optional.of(java.util.List.of("business-transient/proposals:read")), + java.util.Optional.of( + java.util.List.of("business-transient/proposals:read", "business-travel/proposals:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/PatchMeetingRoom.java b/packages/java/src/main/java/com/cvent/operations/PatchMeetingRoom.java new file mode 100644 index 000000000..bb9755823 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/PatchMeetingRoom.java @@ -0,0 +1,309 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.PatchMeetingRoomRequest; +import com.cvent.models.operations.PatchMeetingRoomResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class PatchMeetingRoom { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/venues/{venueId}/meeting-rooms/{meetingRoomId}", request, null); + HTTPRequest req = new HTTPRequest(url, "PATCH"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "patchMeetingRoom", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(PatchMeetingRoomRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchMeetingRoomRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(PatchMeetingRoomRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public PatchMeetingRoomResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + PatchMeetingRoomResponse.Builder resBuilder = PatchMeetingRoomResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + PatchMeetingRoomResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withPatchMeetingRoom(Utils.unmarshal( + response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + PatchMeetingRoomRequest, com.cvent.models.operations.async.PatchMeetingRoomResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(PatchMeetingRoomRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchMeetingRoomRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(PatchMeetingRoomRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.PatchMeetingRoomResponse.Builder resBuilder = + com.cvent.models.operations.async.PatchMeetingRoomResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.PatchMeetingRoomResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withPatchMeetingRoom); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/PatchVenueDetails.java b/packages/java/src/main/java/com/cvent/operations/PatchVenueDetails.java new file mode 100644 index 000000000..4e9558046 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/PatchVenueDetails.java @@ -0,0 +1,309 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.VenueDetailsPatch; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.PatchVenueDetailsRequest; +import com.cvent.models.operations.PatchVenueDetailsResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class PatchVenueDetails { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchVenueDetails", + java.util.Optional.of(java.util.List.of("venue/venue-details:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchVenueDetails", + java.util.Optional.of(java.util.List.of("venue/venue-details:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchVenueDetails", + java.util.Optional.of(java.util.List.of("venue/venue-details:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/details", request, null); + HTTPRequest req = new HTTPRequest(url, "PATCH"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "venueDetailsPatch", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(PatchVenueDetailsRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchVenueDetailsRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(PatchVenueDetailsRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public PatchVenueDetailsResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + PatchVenueDetailsResponse.Builder resBuilder = PatchVenueDetailsResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + PatchVenueDetailsResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withVenueDetailsPatch( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + PatchVenueDetailsRequest, com.cvent.models.operations.async.PatchVenueDetailsResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(PatchVenueDetailsRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchVenueDetailsRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(PatchVenueDetailsRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.PatchVenueDetailsResponse.Builder resBuilder = + com.cvent.models.operations.async.PatchVenueDetailsResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.PatchVenueDetailsResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withVenueDetailsPatch); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/PatchVenueFacility.java b/packages/java/src/main/java/com/cvent/operations/PatchVenueFacility.java new file mode 100644 index 000000000..e2527cdb5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/PatchVenueFacility.java @@ -0,0 +1,309 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.VenueFacilityPatch; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.PatchVenueFacilityRequest; +import com.cvent.models.operations.PatchVenueFacilityResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class PatchVenueFacility { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchVenueFacility", + java.util.Optional.of(java.util.List.of("venue/venue-facility:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchVenueFacility", + java.util.Optional.of(java.util.List.of("venue/venue-facility:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchVenueFacility", + java.util.Optional.of(java.util.List.of("venue/venue-facility:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/facility", request, null); + HTTPRequest req = new HTTPRequest(url, "PATCH"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "venueFacilityPatch", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(PatchVenueFacilityRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchVenueFacilityRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(PatchVenueFacilityRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public PatchVenueFacilityResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + PatchVenueFacilityResponse.Builder resBuilder = PatchVenueFacilityResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + PatchVenueFacilityResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withVenueFacilityPatch( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + PatchVenueFacilityRequest, com.cvent.models.operations.async.PatchVenueFacilityResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(PatchVenueFacilityRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchVenueFacilityRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(PatchVenueFacilityRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.PatchVenueFacilityResponse.Builder resBuilder = + com.cvent.models.operations.async.PatchVenueFacilityResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.PatchVenueFacilityResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withVenueFacilityPatch); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java b/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java index 4c649afd2..76f46c144 100644 --- a/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java +++ b/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java @@ -11,7 +11,6 @@ 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.operations.UpdateAppointmentRequest; import com.cvent.models.operations.UpdateAppointmentResponse; @@ -198,14 +197,7 @@ public UpdateAppointmentResponse handleResponse(HttpResponse respon throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -296,14 +288,7 @@ public CompletableFuture re throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -298,14 +290,7 @@ public CompletableFuture resp throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -296,14 +288,7 @@ public CompletableFuture r throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "422")) { - if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse.from(response); - } else { - throw APIException.from("Unexpected content-type received: " + contentType, response); - } - } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -301,14 +293,7 @@ public CompletableFuture res if (Utils.statusCodeMatches(response.statusCode(), "207")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return res.withMeetingRequestBulkResponse(Utils.unmarshal( - response, new TypeReference>() {})); + return res.withMeetingRequestBulkResponse( + Utils.unmarshal(response, new TypeReference>() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -284,7 +284,7 @@ public CompletableFuture>() {}) + return Utils.unmarshalAsync(response, new TypeReference>() {}) .thenApply(res::withMeetingRequestBulkResponse); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateMeetingRoom.java b/packages/java/src/main/java/com/cvent/operations/UpdateMeetingRoom.java new file mode 100644 index 000000000..bfa14b6a7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/UpdateMeetingRoom.java @@ -0,0 +1,310 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingMeetingRoom; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.UpdateMeetingRoomRequest; +import com.cvent.models.operations.UpdateMeetingRoomResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class UpdateMeetingRoom { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateMeetingRoom", + java.util.Optional.of(java.util.List.of("venue/meeting-rooms:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/venues/{venueId}/meeting-rooms/{meetingRoomId}", request, null); + HTTPRequest req = new HTTPRequest(url, "PUT"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "existingMeetingRoom", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(UpdateMeetingRoomRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateMeetingRoomRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(UpdateMeetingRoomRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public UpdateMeetingRoomResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + UpdateMeetingRoomResponse.Builder resBuilder = UpdateMeetingRoomResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + UpdateMeetingRoomResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingMeetingRoom( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + UpdateMeetingRoomRequest, com.cvent.models.operations.async.UpdateMeetingRoomResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(UpdateMeetingRoomRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateMeetingRoomRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(UpdateMeetingRoomRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.UpdateMeetingRoomResponse.Builder resBuilder = + com.cvent.models.operations.async.UpdateMeetingRoomResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.UpdateMeetingRoomResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingMeetingRoom); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateVenueDetails.java b/packages/java/src/main/java/com/cvent/operations/UpdateVenueDetails.java new file mode 100644 index 000000000..f9925cab5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/UpdateVenueDetails.java @@ -0,0 +1,309 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingVenueDetails; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.UpdateVenueDetailsRequest; +import com.cvent.models.operations.UpdateVenueDetailsResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class UpdateVenueDetails { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueDetails", + java.util.Optional.of(java.util.List.of("venue/venue-details:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueDetails", + java.util.Optional.of(java.util.List.of("venue/venue-details:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueDetails", + java.util.Optional.of(java.util.List.of("venue/venue-details:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/details", request, null); + HTTPRequest req = new HTTPRequest(url, "PUT"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "existingVenueDetails", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(UpdateVenueDetailsRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateVenueDetailsRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(UpdateVenueDetailsRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public UpdateVenueDetailsResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + UpdateVenueDetailsResponse.Builder resBuilder = UpdateVenueDetailsResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + UpdateVenueDetailsResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingVenueDetails( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + UpdateVenueDetailsRequest, com.cvent.models.operations.async.UpdateVenueDetailsResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(UpdateVenueDetailsRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateVenueDetailsRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(UpdateVenueDetailsRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.UpdateVenueDetailsResponse.Builder resBuilder = + com.cvent.models.operations.async.UpdateVenueDetailsResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.UpdateVenueDetailsResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingVenueDetails); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateVenueFacility.java b/packages/java/src/main/java/com/cvent/operations/UpdateVenueFacility.java new file mode 100644 index 000000000..19f5001b1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/UpdateVenueFacility.java @@ -0,0 +1,309 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingVenueFacility; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.UpdateVenueFacilityRequest; +import com.cvent.models.operations.UpdateVenueFacilityResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class UpdateVenueFacility { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueFacility", + java.util.Optional.of(java.util.List.of("venue/venue-facility:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueFacility", + java.util.Optional.of(java.util.List.of("venue/venue-facility:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueFacility", + java.util.Optional.of(java.util.List.of("venue/venue-facility:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/facility", request, null); + HTTPRequest req = new HTTPRequest(url, "PUT"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "existingVenueFacility", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(UpdateVenueFacilityRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateVenueFacilityRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(UpdateVenueFacilityRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public UpdateVenueFacilityResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + UpdateVenueFacilityResponse.Builder resBuilder = UpdateVenueFacilityResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + UpdateVenueFacilityResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingVenueFacility( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse1.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + UpdateVenueFacilityRequest, com.cvent.models.operations.async.UpdateVenueFacilityResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(UpdateVenueFacilityRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateVenueFacilityRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(UpdateVenueFacilityRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.UpdateVenueFacilityResponse.Builder resBuilder = + com.cvent.models.operations.async.UpdateVenueFacilityResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.UpdateVenueFacilityResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingVenueFacility); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/typescript/.speakeasy/gen.lock b/packages/typescript/.speakeasy/gen.lock index 946712ccf..d825b5a28 100644 --- a/packages/typescript/.speakeasy/gen.lock +++ b/packages/typescript/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: fd015893-3730-4721-bf8d-bb6d3730cc0f management: - docChecksum: ce9ff8f3ccf7daaa0f3cdb2e11397d7b + docChecksum: 95caed5ecc22c9031fba79a830d632f6 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.5.2 - configChecksum: a38a53d8c955eecd9a3374033dc5cd39 + releaseVersion: 1.6.0 + configChecksum: 16bdfed992512919496b9463a5c9ff77 repoURL: https://github.com/cvent/rest-sdks repoSubDirectory: packages/typescript published: true @@ -74,134 +74,64 @@ trackedFiles: pristine_git_object: 9b66bf5f562cbe421026a27573149a4b93546b3c docs/models/components/action.md: last_write_checksum: sha1:3836d3f8d3366b1a5c30fc23c0264988203fb68d - docs/models/components/activityadjson.md: - id: 103bc2853db2 - last_write_checksum: sha1:b5dbc84f38d80a4a080d4942bca10c766d5f7299 - pristine_git_object: aa50b5c3aa5177784e77b32b1b72b4861541eb6b - docs/models/components/activityappointmentjson.md: - id: 9846ac925a2b - last_write_checksum: sha1:320c76934abd5a753d5a1fd2716ab31626928438 - pristine_git_object: 8277fc7ef4188bff64475dbab175ea937d6cc40a - docs/models/components/activityappointmentjsonappointmentevent.md: - id: 19fbfc61b768 - last_write_checksum: sha1:3706ffb34c981554e26ee0bac4d33e5ad9e7a53a - pristine_git_object: 7841d0cb50a7ca401330fa0dece90cdc621c7918 - docs/models/components/activitybaseappointmentjson.md: - id: 4d0450b61f28 - last_write_checksum: sha1:d8681fd62328abbd52399a608838e8ba339c5ec3 - pristine_git_object: d2d2e264439ee0d51d85ab9acfc56bde6105b083 - docs/models/components/activitybaseappointmentjsonappointmentevent.md: - id: b84b26bc6405 - last_write_checksum: sha1:7ca19c14ef1781db4a616e5086dda92795617db1 - pristine_git_object: a598f6ecaf0be4a90b9efe1da12759c08872a48e + docs/models/components/activityad.md: + last_write_checksum: sha1:a9b3c176030d7d34cb48d796b71946821b0ce699 + docs/models/components/activityappointment.md: + last_write_checksum: sha1:1e053de0eb6eb548fba3da6c140d24bffa33cff6 + docs/models/components/activityappointmentappointmentevent.md: + last_write_checksum: sha1:a0477c5463236e3cb1dd7c0d8cd2a031fe0e4f2a + docs/models/components/activitybaseappointment.md: + last_write_checksum: sha1:87a7f5ea3af47ae577493b5dc34ee8eb1dc1d9e6 + docs/models/components/activitybaseappointmentappointmentevent.md: + last_write_checksum: sha1:58657c7970564ffed671707f5d4c106b996c2c3c docs/models/components/activityboothstaff.md: id: 586f4a6175e3 - last_write_checksum: sha1:73699a43127cf588cdfcd9a9ce8da81416f6516f + last_write_checksum: sha1:061b7d7194896bfe086953503620c6fb98713765 pristine_git_object: 5522ac5e067d5198d871812b5db812153785a080 docs/models/components/activitycontact.md: id: d09afc522f6d - last_write_checksum: sha1:69c1a6de4d0ce9fdd910c425758f76d4b775de5f + last_write_checksum: sha1:d0679db01d95855d1b14a4942cdee0bec786a311 pristine_git_object: 57b255799df6ed17496fcea777f3528a15d13663 - docs/models/components/activitycontactjson.md: - id: 6f35e9477ec5 - last_write_checksum: sha1:2b6723f8c3fe20ec1d4ef87a57fb2a65fd0c32e1 - pristine_git_object: fc61d2648528bec6163f474b1dcb293814a9ec38 - docs/models/components/activitydatajson.md: - id: 5092efec08ea - last_write_checksum: sha1:8b82966670573e9a3980dfed70daf8e95f7e6213 - pristine_git_object: 8ae830d8d0ecde98993a1e54ea5a051202268cb8 - docs/models/components/activitydatajsonappointmentexternal.md: - id: 130909bc2cdc - last_write_checksum: sha1:c78d03a474e7eb94b7402d6919ea8bd5e6a6cac7 - pristine_git_object: 004b807896b9d03a48b7fcc44c6549aec0ea5cba - docs/models/components/activitydatajsonevent1.md: - id: 9b60de6a3cfc - last_write_checksum: sha1:943300036135fdfca10e3328cd2a6f4710bfbc28 - pristine_git_object: 171a7e4f9c4019470174f07409a351a5171fe7b3 - docs/models/components/activitydatajsonevent10.md: - id: dbcd52e87dd9 - last_write_checksum: sha1:d07505afe2c3b110c1d5b6a6cc909bb5daf2d08b - pristine_git_object: e20694c96eecd472cec248e1b63fb80d574f1580 - docs/models/components/activitydatajsonevent11.md: - id: 468995d20780 - last_write_checksum: sha1:9bd665f1eb4952d0af8358d2274c7fe7b60a7924 - pristine_git_object: d3a3e5ee9d754363287300ea7294cc4e6152be80 - docs/models/components/activitydatajsonevent2.md: - id: 5c96e472e2fc - last_write_checksum: sha1:ab841ae108931a9c7576005303a59b00ab30561b - pristine_git_object: 5eb4db5329f3d932313f4f53f3d67a799d393f54 - docs/models/components/activitydatajsonevent3.md: - id: 2394aceb3ee7 - last_write_checksum: sha1:8d0ebc49514b26e933f63470287a61f33fce21b2 - pristine_git_object: bfd554ef94588dd39e235cbe18f901debc8db4df - docs/models/components/activitydatajsonevent4.md: - id: ef27f0113a7f - last_write_checksum: sha1:4a269dc2a9afa68a6ebc105ff643be69057a7e9b - pristine_git_object: a74bf15603a3350d82d10670dd1b3b393001e926 - docs/models/components/activitydatajsonevent5.md: - id: 88012e4b13bb - last_write_checksum: sha1:e69b5d01c5f493b1753d30bb615b60df051e83b2 - pristine_git_object: 22b4fe37a7b2f23f47a582023f1a43f996ac066a - docs/models/components/activitydatajsonevent6.md: - id: f3d08e1be929 - last_write_checksum: sha1:9b48e9b9888fe2bc098185310fcdf932579941cc - pristine_git_object: 42dcc6b93ea9c2a776d848320539c4c21fe278a3 - docs/models/components/activitydatajsonevent7.md: - id: 06c11d2eb1f1 - last_write_checksum: sha1:ae4dc4d76f9b9d062b0085d8e83f9aac7a212312 - pristine_git_object: f5b547b5a429f83a1b31fc1efabccb97ba4c882b - docs/models/components/activitydatajsonevent8.md: - id: 34e2bec3a01e - last_write_checksum: sha1:fe63a0ce9c6b5e0311223b90e44a7c71c9b55fc8 - pristine_git_object: ec002f1a768781ba6c88f156f6e6f2e658f6d099 - docs/models/components/activitydatajsonevent9.md: - id: c840765641ec - last_write_checksum: sha1:e80e167bc672327381ab8d1033bf33c15c78efc7 - pristine_git_object: 700272a41170bc505043d9e1c7bbbd661fa80a8c - docs/models/components/activitydatajsoneventexternal.md: - id: 617ed3f4986b - last_write_checksum: sha1:b6b4844f7bdeab97e427f086497d0f114de1c4f3 - pristine_git_object: 5ff03ccd36edac8a43ea753d6601348b011fa67b - docs/models/components/activitydatajsonexhibitorexternal.md: - id: 248351c03ff8 - last_write_checksum: sha1:fe25704729ec43defad8b439e9c7146898539973 - pristine_git_object: 990ef27d0288dc88e04d560b3a2cca7a3e95c4d4 - docs/models/components/activitydatajsonsessionexternal.md: - id: 138055cd8baa - last_write_checksum: sha1:7e0cec25e197cecb27160ba1af239f1775392fee - pristine_git_object: 462cccfc0b10c9171da16f447b07751218f04157 - docs/models/components/activityexhibitordocumentjson.md: - id: 0825a03d2eb7 - last_write_checksum: sha1:fa59f19d78fca80437367e4f1ea5f8431b8f2f59 - pristine_git_object: f4c34f63705164673c0987153e3809d317c7dc60 - docs/models/components/activityexhibitorjson.md: - id: f26c9df432e3 - last_write_checksum: sha1:9b5a3ddcdd8b856c00c67fcf030ba6c1e2ec9b74 - pristine_git_object: 7940d51b89b5057e46afd2cf9332a994900ed225 - docs/models/components/activityexhibitornavigationsourcejson.md: - id: 8133e4436c0f - last_write_checksum: sha1:ca6cda9527d2eb0bd11b469502793edddc8c9de3 - pristine_git_object: fb5205e38b38b8d91355fbc3be00deb89b6d3003 - docs/models/components/activityexhibitorsponsorshipleveljson.md: - id: e2d72e40290d - last_write_checksum: sha1:dbf417bdef5e9f577b473940242c453d918bafc3 - pristine_git_object: fe052e7ab56f2f780022fd8c31e3390b6ebde92a - docs/models/components/activityexhibitorweblinkjson.md: - id: 7292cb4fc89b - last_write_checksum: sha1:1c79d15896b9e8ad5cf3e572155bcb846ab1eace - pristine_git_object: f65d4eae7c42931ac8f7202323db1a2d41e0a167 - docs/models/components/activityjson.md: - id: 43a4eda40416 - last_write_checksum: sha1:51f33390651589c46953134257a789c79b07fb48 - pristine_git_object: 23a21a588c4a6493165200dd90d61b53e711e05e - docs/models/components/activityleadjson.md: - id: 8a79faa12c25 - last_write_checksum: sha1:687e6669e3a5dc4df4492c27550211770202c7e8 - pristine_git_object: 23be1bf8b263d2ab9d56aa74421c49bec2a8666d - docs/models/components/activitytypejson.md: - id: 5406b6121eff - last_write_checksum: sha1:52de8d09c302ea966efcd9922a87b4696e8908be - pristine_git_object: 0b8f6637b57340c1eba64632a640bd0a2a627431 + docs/models/components/activitydata.md: + last_write_checksum: sha1:adfea94f2abdcb6c9d0447dc77f5bd3a7ebdf48c + docs/models/components/activitydataappointmentexternal.md: + last_write_checksum: sha1:895bb2a69a8cda72c845c3f0aec082a3934f9ba4 + docs/models/components/activitydataevent1.md: + last_write_checksum: sha1:aae2d05416e3b7f6038a4be7529fc4ecc132298c + docs/models/components/activitydataevent2.md: + last_write_checksum: sha1:b0a7b29e00e1978b43f1161ebc88d95ef2fee72e + docs/models/components/activitydataevent3.md: + last_write_checksum: sha1:e89dfa34daca414ad53d3eeaa44bbb44b01dcc5d + docs/models/components/activitydataevent4.md: + last_write_checksum: sha1:368609fb41e2cdd1bd706cbf525e4d927db1dc36 + docs/models/components/activitydataevent5.md: + last_write_checksum: sha1:987cbe350d37b96724c20049d38207e270180703 + docs/models/components/activitydataevent6.md: + last_write_checksum: sha1:c69c4ab7333ebbcf77d956f8be568d4639afaaa9 + docs/models/components/activitydataevent7.md: + last_write_checksum: sha1:90bc2c457f851a87cc13896c4d1313cd395c5aaa + docs/models/components/activitydataevent8.md: + last_write_checksum: sha1:2f36d0fd239a240b388a5b32da059f459be11506 + docs/models/components/activitydataeventexternal.md: + last_write_checksum: sha1:159f8419492f17086809a7e163bba223388bb43e + docs/models/components/activitydataexhibitorexternal.md: + last_write_checksum: sha1:33cd599c634d752bace86dfb2a27b232449e007a + docs/models/components/activitydatasessionexternal.md: + last_write_checksum: sha1:6335bdd615dfd49df7f2b4d5997d86da47dd9bcd + docs/models/components/activityexhibitor.md: + last_write_checksum: sha1:cc055154df4587849d93fbda084a214fa7482167 + docs/models/components/activityexhibitordocument.md: + last_write_checksum: sha1:5a1187e4916b9b2930eb43b2e5d003a31db06751 + docs/models/components/activityexhibitornavigationsource.md: + last_write_checksum: sha1:cea15f97def6d7e9838b62ba119848eda7adcfa7 + docs/models/components/activityexhibitorsponsorshiplevel.md: + last_write_checksum: sha1:c9b48151686afdc9d7e9de722d8b5822c29f22fa + docs/models/components/activityexhibitorweblink.md: + last_write_checksum: sha1:42443909efe892c73f16eb5a18b7d2825ab59a9c + docs/models/components/activitylead.md: + last_write_checksum: sha1:8b3fb7d4d0a34683114e4c701171f1d017856694 + docs/models/components/activitytype.md: + last_write_checksum: sha1:cb821c6606f6ccd7973ef244251fddc290d15634 docs/models/components/additionalbadgekitfields.md: id: ee34d9e7cd1b last_write_checksum: sha1:47ca8da4f4351eaa46913b449b04dff60a846d58 @@ -236,6 +166,8 @@ trackedFiles: last_write_checksum: sha1:ae9d91399be4fe439e69262c134c4e91fc895083 docs/models/components/address7.md: last_write_checksum: sha1:e431e63e77f316eaedf29fe70f8d59c7f7d7290a + docs/models/components/addressinfo.md: + last_write_checksum: sha1:778a26ce8cc394d7419121e89ea8a60a355e068d docs/models/components/addressinput.md: last_write_checksum: sha1:e28c3d94cc15ff49862727b3b087e887d255e266 docs/models/components/addressjson.md: @@ -248,10 +180,8 @@ trackedFiles: last_write_checksum: sha1:4f577fc170f668f3cc6a7ff66b8d5a965832e134 docs/models/components/addresstype1.md: last_write_checksum: sha1:9e830feb970f7d930f040fb48fafcbdaf6e4f178 - docs/models/components/adlocationjson.md: - id: "30040422e099" - last_write_checksum: sha1:cd401e90abae2e9d7d92835bf655b34a57d36081 - pristine_git_object: 9480dc3db6ad5c4ed64ef7fa485974f8447fc59f + docs/models/components/adlocation.md: + last_write_checksum: sha1:b45ca99018c5a810f3061f71aefafe2dabddabb6 docs/models/components/admissionitemspaginatedresponse.md: id: dc5b76880787 last_write_checksum: sha1:cbef5310e3e3e0dc4127f997adbdadd9928595bf @@ -344,30 +274,26 @@ trackedFiles: last_write_checksum: sha1:cf8945287faf2026ce925baf97dc6ac9c75ca035 docs/models/components/answer1.md: last_write_checksum: sha1:e18491797abba331efb66efc5e61e024373718dd - docs/models/components/answer2.md: - last_write_checksum: sha1:861717281219e32feacd0a285037bdf0c58d2dd7 + docs/models/components/answer21.md: + last_write_checksum: sha1:e4a0128af4dc4faf7a7bf729f689a7a4d1314f9a + docs/models/components/answer22.md: + last_write_checksum: sha1:0967c1bed3193f8c6ceadb6ad961ca5240bf51a4 docs/models/components/answer2choice.md: last_write_checksum: sha1:3c5f24607117e5188645623c11064b40aa0d8f64 docs/models/components/answerjson.md: id: 7e89e475fb3c - last_write_checksum: sha1:16c2dbd220bd2e4f783931f7347d3c7c238de900 + last_write_checksum: sha1:f375d2693a2b2aa68bda9de186cf807139b24503 pristine_git_object: 787cda3f5dd00ab09a34bd3305084f1274bc4067 - docs/models/components/answerjson1.md: - id: 9f88533f0b59 - last_write_checksum: sha1:94f301a35cd18cbc8d2a723e7def79fb74b870cd - pristine_git_object: 24587408b76edddf6c3ba34bbdb09ed55d1d1314 docs/models/components/answertype.md: last_write_checksum: sha1:aecfb3f83f4d9afbacd225137eec62831634ee77 - docs/models/components/answertype1.md: - last_write_checksum: sha1:c0753a21d55dcd05725520bfdc74bc70eaac7aab + docs/models/components/answertype11.md: + last_write_checksum: sha1:5ba72722b97bc199df16fca7def9335badd71291 + docs/models/components/answertype12.md: + last_write_checksum: sha1:fceea962d9b9fa7c6f483eefe17d1f709a66174f docs/models/components/answertypejson.md: id: f67f75e11970 - last_write_checksum: sha1:44517e4a6d5b3a8bff98ccb17ab59c1cb0e6a78d + last_write_checksum: sha1:838ac91ebaa8574b624a5a6ee14abf92101cde36 pristine_git_object: 64a828b4d55479862803917395bb9afa6b0cf487 - docs/models/components/answertypejson1.md: - id: 901d266744a1 - last_write_checksum: sha1:ef4ce978a498f8b94aa6f5e3040cb38e69d708b9 - pristine_git_object: ee22cd00141e72d7b0d10d35e146b56fc51038c6 docs/models/components/apikeyauthentication.md: id: 561a991c2645 last_write_checksum: sha1:ed301040fdaab9c4b2e6e7d0a454a10936b284d7 @@ -384,7 +310,7 @@ trackedFiles: last_write_checksum: sha1:e9ebb616b058eb9b944ffc3aff556292821e4b27 docs/models/components/appointmentaccepted.md: id: 946cef635748 - last_write_checksum: sha1:158542203d5f48b0094d1a0d882f2bcd0b0a3716 + last_write_checksum: sha1:deedce6d78be726ce138f30ae1e5daa15f550ccf pristine_git_object: 4ba8e0c32086ea8c241ef3bf1e69bdf27c66a644 docs/models/components/appointmentattendee.md: id: a69c6ac58d29 @@ -416,23 +342,23 @@ trackedFiles: pristine_git_object: ad4699face830c77aa69c8c5980441df78c2ed5b docs/models/components/appointmentcancelled.md: id: 11cdc72bc572 - last_write_checksum: sha1:58655e333ff4d22908573b6c235bc5b0ea64f593 + last_write_checksum: sha1:e646fea2257658b47a311454d6b20fc7c3b4c1f0 pristine_git_object: 16cb0b77e1a977ef78cee92e7d035cf89b72fbcc docs/models/components/appointmentcheckedin.md: id: 6bcf62863441 - last_write_checksum: sha1:90031f5b67848341b7c263302f27390f2676a697 + last_write_checksum: sha1:43d83d39884d68cf030c841b04fed9f24fec721a pristine_git_object: 98b6c14573e9daa42b3426790bc35c535ab53ddd docs/models/components/appointmentcreated.md: id: f5dbd60bf04e - last_write_checksum: sha1:f16e8626b980cebaf18c67032de30808db2318c4 + last_write_checksum: sha1:45dda9ef473cacaf5968725ea76358c41e68f4ea pristine_git_object: b64e41f7e74ff97ed3ba01b4734afffe81736e41 docs/models/components/appointmentdeclined.md: id: 0564ac4e5312 - last_write_checksum: sha1:d2b8f66566e19b78f022d58db5d67f0242c5c4fc + last_write_checksum: sha1:19a31664db33bddfd82a3bdd2bed40e135b983e1 pristine_git_object: dff5b8811eecfaaa67a7e5c382a229c33f80b6fb docs/models/components/appointmentdenied.md: id: 9a6f677e6312 - last_write_checksum: sha1:20db0e02c64ff7c672b7690d093876b545a09f5b + last_write_checksum: sha1:fafc10158ebb988ed284c1afb23c10c7350edbb3 pristine_git_object: d51cc3c335878dee762ea550f8bc4034cccaf588 docs/models/components/appointmentevent.md: id: b31f947ea4fe @@ -462,7 +388,7 @@ trackedFiles: pristine_git_object: 66b13f7888d457a7da40ba954526952afb8102fd docs/models/components/appointmentpaginatedresponse.md: id: ac4892f67603 - last_write_checksum: sha1:901703ea66a2e82429df5f2d9f36bfd72931d0de + last_write_checksum: sha1:34cca3444f1da0b4b61b4508843ea8ac3cb5c373 pristine_git_object: 8f7953fcd354fbbbceb25a57eb292b5e27df54dd docs/models/components/appointmentparticipantjson.md: id: 2c0093ba47c6 @@ -474,7 +400,7 @@ trackedFiles: pristine_git_object: 3b5921b03935b0c0c1a6ce2ad2ea01a5b2e86041 docs/models/components/appointmentrescheduled.md: id: 7b2f834933fc - last_write_checksum: sha1:12a9dabb6850dd862278182464319b407cca4a55 + last_write_checksum: sha1:15f767d14c64a7e0835cb81570f0319dafa979bb pristine_git_object: d0abadced90932f641b2f35999f9e748168a3365 docs/models/components/appointmentstatusjson.md: id: 223ce5629823 @@ -498,6 +424,10 @@ trackedFiles: last_write_checksum: sha1:046add2d51b8c791df0fb9ae8f68f302fa4f2580 docs/models/components/appointmentwithquestionstype.md: last_write_checksum: sha1:04343c6dda71e1a158aae7733adc5b4a8d1fe572 + docs/models/components/areameasurement.md: + last_write_checksum: sha1:dd6bf7cf40adc353bad45f5b10aa784fa325fc59 + docs/models/components/areameasurementunit.md: + last_write_checksum: sha1:d1e3adeb2e506d395ddb6c972bf3395c91776daf docs/models/components/assetlocation.md: last_write_checksum: sha1:653f02908b82e6185134989bee8541219aa2dc23 docs/models/components/assetlocationinput.md: @@ -515,7 +445,7 @@ trackedFiles: docs/models/components/attendee.md: last_write_checksum: sha1:6f3fcf1e911edc13f4b9b28cc5978371d92faf7c docs/models/components/attendee11.md: - last_write_checksum: sha1:aa0b56100e371d8930079f61c48dda09c12aa2dd + last_write_checksum: sha1:8d26595791e1944bd48e251d1bc9d287721ed36f docs/models/components/attendee12.md: last_write_checksum: sha1:5aac1b96ec1f4de9a7d15a60584accc8406dca9c docs/models/components/attendee13.md: @@ -530,8 +460,10 @@ trackedFiles: last_write_checksum: sha1:a560f68c658e3544e1f270dbab7e7acc4443ab09 docs/models/components/attendeeactivitiespaginatedresponse.md: id: 695252df9aa3 - last_write_checksum: sha1:d79cab5958ab2768a7174bb920bdb314c66caf46 + last_write_checksum: sha1:762bead7136693974ee793adb894afa33bae515b pristine_git_object: 9962d4eb7858f7cefa6a4fc76be09e99824282f3 + docs/models/components/attendeeactivity.md: + last_write_checksum: sha1:d424369b65595dd2ddcad57715c804988859d5bf docs/models/components/attendeeadd.md: last_write_checksum: sha1:8ad687950024912b018af8f206af6d9a5f7a9ba9 docs/models/components/attendeeaddadministrator.md: @@ -548,7 +480,7 @@ trackedFiles: pristine_git_object: 79ebadb44c0662d7ebd5f623872a8c7e524171a7 docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md: id: 865753e0b9ff - last_write_checksum: sha1:9adb16ff3271bcbc87e19f2260f88169fcbc2357 + last_write_checksum: sha1:caa278de98c044369358c2658f8fcdce779d4884 pristine_git_object: 8fc30f456868c62e9ec2ed5a2019b8ebf675c26c docs/models/components/attendeeaddbulkitemjson.md: last_write_checksum: sha1:dd62a7c919837e40815d24df153ffefaaf8a6cd0 @@ -593,7 +525,7 @@ trackedFiles: docs/models/components/attendeeaudiencesegmentassociationspaginatedresponse.md: last_write_checksum: sha1:a18dc4f150d47c2f0390083a088cf66bfc5ac310 docs/models/components/attendeecontactinfo.md: - last_write_checksum: sha1:7f43be93dec168763d8f5760c01907f84fe6bd8a + last_write_checksum: sha1:10213866146eb863464ca4bd1efbbfa6da961fe1 docs/models/components/attendeecontactmembership.md: last_write_checksum: sha1:f84cc0973f4053a7b1caa62e67436f1cc3f3b7f8 docs/models/components/attendeecontacttype.md: @@ -712,10 +644,6 @@ trackedFiles: last_write_checksum: sha1:d1a17822bb88f2ce134b6ac3a7528fe7f87ea836 docs/models/components/attendeestatus.md: last_write_checksum: sha1:83eda73e95405daa721cf37d28af0983581977eb - docs/models/components/attendeestatusjson.md: - id: 2243dd3f89c8 - last_write_checksum: sha1:a6423f8e7af13eda686e28f0d4a60ea6ce7700da - pristine_git_object: d4ffd29616d621025374b0703e5127e3e0ceb399 docs/models/components/attendeesubscriptionrequest.md: last_write_checksum: sha1:402ae0c63df225705c9707dffd7c8c033728867b docs/models/components/attendeesubscriptionresponse.md: @@ -884,26 +812,20 @@ trackedFiles: id: 9617d633ec8f last_write_checksum: sha1:ff56fb9381981a8dff063fb5ce794aa4b4f6df06 pristine_git_object: 307ec18e612bb097ba866b7ae9d7c926cf0aef74 - docs/models/components/bannerlinktargetjson.md: - id: 4ab6b157efc3 - last_write_checksum: sha1:23a3ddd09decc269bc3d6e87f1009bf604bdbd76 - pristine_git_object: 2dc4588f442a481549c6525aa756fb5b73db0bc3 - docs/models/components/bannerlinktargetjsontype.md: - id: 4ba4a20d7544 - last_write_checksum: sha1:16d6cf4a4026c5487a30fa4bd4b85a4a982b76aa - pristine_git_object: e12a8cb33412483745e9ec5bdc44ec81fd62740a + docs/models/components/bannerlinktarget.md: + last_write_checksum: sha1:da680e27713764cb32b40c3f795dbdb943032b65 + docs/models/components/bannerlinktargettype.md: + last_write_checksum: sha1:cb506bfc87e16f4c350d7b16b48c7764c98f390e docs/models/components/baseaddressjson.md: last_write_checksum: sha1:e71aa1a31d0e79efb3a8bb01aef5eb97bf594c7c - docs/models/components/baseanswerjson.md: - id: a4ff94e1dc10 - last_write_checksum: sha1:1312caa1d141153b56b742d576e27f6effc1d590 - pristine_git_object: 2060fa7ab820e38e7e6b5ce02fe3e818f94a4389 + docs/models/components/baseanswer.md: + last_write_checksum: sha1:fd3943c8ce1921973986fbda32c5e8a08ca73429 docs/models/components/basechoice.md: last_write_checksum: sha1:71469ccb10a0abab3b2c1f3b04ef9dae35148b89 - docs/models/components/basequestionresponsejson.md: - id: bac4a92e4b1e - last_write_checksum: sha1:5fbba2f381fef7cb30ef845f84aa8da24af36c1f - pristine_git_object: cf6cd2063fa016eda3693675ad0036a856e07bcf + docs/models/components/basequestion.md: + last_write_checksum: sha1:e234c170ffe33c50a9f54f8a85c81c9eb2001b97 + docs/models/components/basequestionresponse.md: + last_write_checksum: sha1:7cba083c890464320075a067ded4acb447899ffa docs/models/components/basicauthentication.md: id: 8e57d79e2d09 last_write_checksum: sha1:42b9b5ea91fa078ebd1726c8c480fb83a889b594 @@ -913,7 +835,7 @@ trackedFiles: last_write_checksum: sha1:21ffe810d860a0804ac8748ae57ca010614dd5c4 pristine_git_object: 1aecbcde0d4a590bd2afcf7b03942747d9ef4296 docs/models/components/biditemstatustype.md: - last_write_checksum: sha1:405197e0dbcefbee859c0eabb3cd115fa8923db1 + last_write_checksum: sha1:c79ba104060a5544633f0f2fb478ce99b498d663 docs/models/components/bidstatustype.md: last_write_checksum: sha1:9c313ca129b6d0e4042690100814aaac498c6725 docs/models/components/bidstaytype.md: @@ -994,6 +916,8 @@ trackedFiles: id: dc62e0d424d7 last_write_checksum: sha1:3f346763e6cef41254749147ea161000ff73c8d4 pristine_git_object: f2c7ebf496ec9ace443b1fad122b6d05df64077d + docs/models/components/budgetcategory.md: + last_write_checksum: sha1:b2c195d49ff484f8e6b18a998e3f844d3b01d5dc docs/models/components/budgetcategoryjson.md: id: 984954b986ad last_write_checksum: sha1:85a628801a48d53d40fe90099bc6d8c4192e6cfb @@ -1006,26 +930,24 @@ trackedFiles: id: c3ccadd8306c last_write_checksum: sha1:b63bd1b67baae360ee7e6be34c4f506c889be939 pristine_git_object: 74cfb755f79177e573c26be007d9aac81f554fa0 + docs/models/components/budgetcostdetail.md: + last_write_checksum: sha1:6e6d1f04a0045fe0fbe34b943994999436e6ae3f docs/models/components/budgetcostdetailjson.md: id: 17e777fee350 last_write_checksum: sha1:d5b61ce2d84b02b2970964221a13bb731a376cd6 pristine_git_object: 454529f325b20b8e4c600d3ab7cb74cd80b27e2c - docs/models/components/budgetcostdetailjson1.md: - id: c310772c3a71 - last_write_checksum: sha1:39033ec4856c5943437ba16f52a60c68b7d0d742 - pristine_git_object: 42074a7eed0db4484307084a06751a64e08538f2 docs/models/components/budgetcostdetailjsoninput.md: id: 082b2545354e last_write_checksum: sha1:494f713bd353d3343290e83fff3d4d54c564c5ac pristine_git_object: 76c3fa59fd195056789c241ae4e915b784915bec + docs/models/components/budgetcosttype.md: + last_write_checksum: sha1:5ef1f470b990c03aa23777316376cff9dd737f53 docs/models/components/budgetcosttypejson.md: id: 5858d558ecec last_write_checksum: sha1:46968ed3f617a4b951c1adf2a0d4b18483b233d9 pristine_git_object: e7be31ebb0c96649f5e82ded1428a7b04d107efb - docs/models/components/budgetestimatejson.md: - id: d767ba4ac493 - last_write_checksum: sha1:583978d33e5b43aea1c634e0cc354a82bb0ef6ae - pristine_git_object: 41263aad193264d500f90751c1ef1a76c557db16 + docs/models/components/budgetestimate.md: + last_write_checksum: sha1:251868eccc9b389c305b63c32c2dcc86e4ec0e16 docs/models/components/budgetgratuityjson.md: id: 57b7ee8ded0a last_write_checksum: sha1:71e083eac7ac2f10bfbd2a0017e6b12f38b52f38 @@ -1082,6 +1004,8 @@ trackedFiles: id: 5839ec506d5d last_write_checksum: sha1:d1d4cf6c713aefd8d875655bf5c9b3d15079b470 pristine_git_object: 272f5221e43d34fda4f1149d01adb75202450201 + docs/models/components/budgetsubcategory.md: + last_write_checksum: sha1:40e037dbb019aa7b8032159154e9362468edc246 docs/models/components/budgetsubcategoryjson.md: id: 0a1a03adfae8 last_write_checksum: sha1:ece13148762fe41adf760020fd77e6cca98b8459 @@ -1128,23 +1052,17 @@ trackedFiles: pristine_git_object: 1ee40482b5dbb5c8f8c1d90e3bc3d4cc4bffbd39 docs/models/components/bulkdata.md: id: c84774219b8b - last_write_checksum: sha1:4611fd5fe356e7aba2fec116b44d4d2ad1551244 + last_write_checksum: sha1:a3b716df973f68dd14da0f51ed905e0d54dbabaa pristine_git_object: e3b4af44f108902dac7570b26d908d7772bdc3fe docs/models/components/bulkdataproperty.md: id: 9d4cccd64f7e - last_write_checksum: sha1:93336fdb424fc4ddad175f01ae000e8eb97524b7 + last_write_checksum: sha1:ee530abb6a631f29a0720283aca81d9e5f0ef62a pristine_git_object: 88885edf094e7ae326784999f138370e183e542a - docs/models/components/bulkdatapropertyjson.md: - id: 158e11e11c43 - last_write_checksum: sha1:aaa29f0139c5c43df90f7407f6464bc95ccc0266 - pristine_git_object: 87f9d838380bd14745c7f320a454e4ed49214772 - docs/models/components/bulkdatarecordjson.md: - id: 70d795ef07cf - last_write_checksum: sha1:31ff1d6d5ca39c05ed5884b08a14ba4ce64a274e - pristine_git_object: 8296e35264b5ab6da58d947f5f7540d593c96e2f + docs/models/components/bulkdatarecord.md: + last_write_checksum: sha1:4f6253b56ecbe6517ac9f58b974d5173ffe40b3d docs/models/components/bulkdatauploadresponse.md: id: f8b819cb8a55 - last_write_checksum: sha1:e799e19fdd6d5a6c07ec835507470aa00dd3cee0 + last_write_checksum: sha1:a23ced69c6eac41d6e6480812b2120caa8f4ae50 pristine_git_object: 821f156209e4e3617b1a7818d545e708895d9d57 docs/models/components/bulkjob.md: id: 2f9705b6967b @@ -1160,11 +1078,11 @@ trackedFiles: pristine_git_object: ba0b069d66c57ac631c3c712d5d3741be1b236a2 docs/models/components/bulkjobwithdata.md: id: b2a11bea877a - last_write_checksum: sha1:9a8749b5d17f25118e532af8ccd27cccb0b7a55b + last_write_checksum: sha1:da1f9d158e3d938aaec6682ac5fe73eca3a16001 pristine_git_object: 12222a92970e58e03ea020c4eb4ef92ae467504e docs/models/components/bulkjobwithdatainput.md: id: 7f5bb7f363a9 - last_write_checksum: sha1:479bb489ffcadca74cd88e81b8120f19e78bb066 + last_write_checksum: sha1:9b82778b072b5e20d69840621d48144c46b41686 pristine_git_object: 53d5fec90b0fd61c5599c20ce27148fca16c8efc docs/models/components/bulkjobwithdataoperation.md: id: 27e9f13f3aea @@ -1174,13 +1092,13 @@ trackedFiles: id: f05d7cd898b6 last_write_checksum: sha1:8039787a2f305e88fa562fb0adcdb90be7091686 pristine_git_object: 87daa9ce6785462ac9ce8176b7dcf04169809166 - docs/models/components/bulkresultjson.md: - id: e977bacea46f - last_write_checksum: sha1:9ed500749fb362f2963c7b6518b1afeb1d877dd0 - pristine_git_object: 362bfc8e17a9961ef4d53a9f5e406e79730f0387 + docs/models/components/bulkresult.md: + last_write_checksum: sha1:0859fa472519d180738518e606bc1e2307ddb6d8 + docs/models/components/bulkresultbulkdataproperty.md: + last_write_checksum: sha1:d9510acd9968a10d5bfb52b1843861d04d3a7e87 docs/models/components/bulkresultspaginatedresponse.md: id: c11556e3104a - last_write_checksum: sha1:c289f0a2b60b3739836b831afc0feb27859c928e + last_write_checksum: sha1:f47cb280f22874cc791454082bf6436466c56c89 pristine_git_object: a8eb182dbf28f796f9287d9ad42f847ba8c01d61 docs/models/components/businesstype.md: last_write_checksum: sha1:37cd05eece7672b1d878b408cecdcc3b74c95320 @@ -1210,6 +1128,8 @@ trackedFiles: pristine_git_object: a6bd409151de37f06b6ee8808c16b9095e0a8200 docs/models/components/cancelledreason1.md: last_write_checksum: sha1:6f0ad7a1e4cc762b16de94e8ea385afcfd70d757 + docs/models/components/capacities.md: + last_write_checksum: sha1:d11f8374ecaa8de7e9f9e4284c75f0aa70432eac docs/models/components/capacity.md: last_write_checksum: sha1:7b0c69c35d93ae1ad511bdddc21a316e7053b7a3 docs/models/components/capacityjson.md: @@ -1257,7 +1177,7 @@ trackedFiles: last_write_checksum: sha1:31fc31d8eebae570a069bcbdbbefb4eabf054637 pristine_git_object: 1bc2cf93694f32b1d8ab9f82c8eb88a8dc1184fa docs/models/components/cardtransactionjson.md: - last_write_checksum: sha1:29e192594607c494c5cf83f24ba06d30338a122e + last_write_checksum: sha1:9452194ddfa5bf3ed59d629c1579dbd18dcc6853 docs/models/components/cardtransactionjsonbudgetitem.md: last_write_checksum: sha1:6d9c2ff39b7433f926b360d12f5c7cc53fd146d1 docs/models/components/cardtransactionjsonevent.md: @@ -1298,6 +1218,8 @@ trackedFiles: id: fe5da2d19bd1 last_write_checksum: sha1:afdb9116d977bbb15f6c1f43585da3732676be82 pristine_git_object: 83ba1bbf808e52a1df40e650c00e5b1f82b467e6 + docs/models/components/chainscale.md: + last_write_checksum: sha1:2691ac330c1c405030973bf06b3341044809b506 docs/models/components/changepassword.md: id: 0b90a37e8c8d last_write_checksum: sha1:f53c2c02d08b95f4925714ba4f62a3117f071d71 @@ -1378,10 +1300,8 @@ trackedFiles: last_write_checksum: sha1:30dfa00c40d5d1f4bd37857aad4529be758a75c6 docs/models/components/compliancescope.md: last_write_checksum: sha1:3c35deb5f4fd537afebbe456255847c4ca2337d3 - docs/models/components/compositevaluejson.md: - id: 18b515ff69b5 - last_write_checksum: sha1:b0a0c796f9306dd90379289965ce5a4515771bd8 - pristine_git_object: 92f98307f5bb396e529996464596b297db29fe25 + docs/models/components/compositevalue.md: + last_write_checksum: sha1:9263b2b6e935cf2da51af6aa069e68831e782a92 docs/models/components/conflictresolution.md: id: f3872b314d59 last_write_checksum: sha1:f525535a6642f0a063f2985316d0ce8482f85c03 @@ -1406,10 +1326,6 @@ trackedFiles: last_write_checksum: sha1:55d08c667c38c4334c5344be008b3ae1755f71fe docs/models/components/contactbulkresponseitemdata.md: last_write_checksum: sha1:d8f3e8d9bda21c362dd46fab5f78671c47dc31b0 - docs/models/components/contactcommonjson.md: - id: 3780286b852d - last_write_checksum: sha1:a777bd9b9a666ef01fc46933764996451ff9ee50 - pristine_git_object: 67702155e5c2fc65d9b264991e13144fdebe9931 docs/models/components/contactcreate.md: last_write_checksum: sha1:2563ed54ae710b4747df37e33730588324cedd4c docs/models/components/contactcreateevent.md: @@ -1430,10 +1346,10 @@ trackedFiles: id: d85a1642e17d last_write_checksum: sha1:db7b8999d9069bdbdf53019fc29585153bc05478 pristine_git_object: a361a7be4b4bce65bbbca25be4472766d8436def - docs/models/components/contactfields.md: - id: 45c9f3769bc5 - last_write_checksum: sha1:93c1ce5350be0ad7af2e68a29194be33100eb8d6 - pristine_git_object: 768ab5339307a96952ebe55b7ee20c1f0c0f5a82 + docs/models/components/contactfields1.md: + last_write_checksum: sha1:b8959174f5d06133bd9971dac5d4be4724ead2f9 + docs/models/components/contactfields2.md: + last_write_checksum: sha1:cb9698d3f8f81756c86d8844a2d200ec13587278 docs/models/components/contactfile.md: id: 2db09bb6bd3c last_write_checksum: sha1:4a51a47fd278c603aad1261bf5f3180c02ffe195 @@ -1534,6 +1450,8 @@ trackedFiles: id: 6f3bafb2b265 last_write_checksum: sha1:e63baf570892bfd24918516506378830900f8cd6 pristine_git_object: 73b4456747b48894c9cb2ac65a37095755053b6b + docs/models/components/country.md: + last_write_checksum: sha1:874b394bda825f9011bc228a729995956f537dc9 docs/models/components/countryjson.md: id: 5845738c85ec last_write_checksum: sha1:e79724f81b29ad3542102744cd1f657740da1e44 @@ -1588,6 +1506,8 @@ trackedFiles: id: 9b9d156c2574 last_write_checksum: sha1:45c6bad8540147d539e663d8df284733b2f3a522 pristine_git_object: 80ce7fac0d3d13155593e7eb6a6dc7769490ca3d + docs/models/components/currency.md: + last_write_checksum: sha1:11274c68e714d7afe5cb307804414debccac60d2 docs/models/components/currencyconversionrate.md: id: fd10315fe359 last_write_checksum: sha1:baa4d388b2b92931d51b3e39cb927d5ed5de558b @@ -1654,8 +1574,10 @@ trackedFiles: last_write_checksum: sha1:11e4500c087e5a3bacc0bc0638040594d32dae1c docs/models/components/customfieldjsoncustomfieldtype.md: last_write_checksum: sha1:3f4bb81ffdc9898edc5e3ae56ca20b198c476445 - docs/models/components/customfieldschema.md: - last_write_checksum: sha1:b00b758cf460d10eb78847be26ae123fd4c50acf + docs/models/components/customfieldschema1.md: + last_write_checksum: sha1:5a46b3b866966143619e3bf3e037d84d9fe0780e + docs/models/components/customfieldschema2.md: + last_write_checksum: sha1:3ba81b0f8a7e7a7cd9a4072b99e34870270c760c docs/models/components/customfieldschemacustomfieldtype.md: last_write_checksum: sha1:9e277405785afad9273c56e01863901bebde9f40 docs/models/components/customfieldsjson.md: @@ -1692,6 +1614,10 @@ trackedFiles: last_write_checksum: sha1:eda6f5cd55b97daab101de966aa25ffd5725e221 docs/models/components/devicetype.md: last_write_checksum: sha1:577f13b839cb0ec2fa697801b04ce23c7f90411e + docs/models/components/dimension.md: + last_write_checksum: sha1:01ed39d260be203423d82c35da0f4aff9e596e34 + docs/models/components/dimensionunit.md: + last_write_checksum: sha1:274bd862820d57ae5f21fdef27fa42990c8adf6c docs/models/components/discountagendaitemspaginatedresponse.md: id: dfd7a8f59ea0 last_write_checksum: sha1:21c2494eb5f71ba8ff27172437062626a899ecf6 @@ -1718,6 +1644,8 @@ trackedFiles: last_write_checksum: sha1:d2c50e366e623e01ec7c0c9e0bdefa0ed324b6eb docs/models/components/distancejson.md: last_write_checksum: sha1:7c87459690b182209b7841b19a50f265889a3a57 + docs/models/components/distancemeasurementunit.md: + last_write_checksum: sha1:fd2f0160bfc6cfa99ad5a91f59a3693fbc5a0ce1 docs/models/components/distanceunit.md: id: 5756dd42f43c last_write_checksum: sha1:495024fc497eb90a42564805c4027dc413ad2591 @@ -1762,7 +1690,7 @@ trackedFiles: last_write_checksum: sha1:7cd930c5a8fae8a4f6bf73fc02b66bfbc164c752 docs/models/components/emailbounced.md: id: c3eb7e2d5870 - last_write_checksum: sha1:9f6f77842703946c6cb8e5b00bd7174f9de813ae + last_write_checksum: sha1:debc7a33f55589f52b68763fa662e41ca9137cd0 pristine_git_object: 97ba48de011aa04548735f4b321b47dd9228998a docs/models/components/emailclicked.md: id: 8d9dc3abcfa9 @@ -1830,14 +1758,14 @@ trackedFiles: last_write_checksum: sha1:0fa92c33072437b76924ea781b2cb2d56fd9f988 docs/models/components/emailundelivered.md: id: a192cc49954e - last_write_checksum: sha1:1e14a3e8ab7da29e051916907095e78a354aa4a2 + last_write_checksum: sha1:b4f4eb77b2963572badacb6c4db2b20faf4a4401 pristine_git_object: 70f6d670b885aa074b3dcabfb178fd6c78bbf36e docs/models/components/encodingprofile.md: last_write_checksum: sha1:21614649b276b0315166a67258bf1318fe808c87 docs/models/components/entitytype1.md: last_write_checksum: sha1:f6263492286cdd2effbddec7c76939de6745cb00 docs/models/components/errorresponse.md: - last_write_checksum: sha1:9b538816d1f07e88fe20047eb18931335264fb45 + last_write_checksum: sha1:a44e3653979099f38d017f8616b6ec4063a525c7 docs/models/components/errorresponse1.md: last_write_checksum: sha1:249478f6802140fbc1daa926b57df81ef4595d43 docs/models/components/errorresponsebase.md: @@ -1864,21 +1792,17 @@ trackedFiles: last_write_checksum: sha1:3a1632ae77aea15516f29181f4f079dc8f815e53 docs/models/components/event3.md: last_write_checksum: sha1:7e62ab25a9ce6a70b1c7ca424dcd85c3eef64516 - docs/models/components/eventactivitydetailsjson.md: - id: d62983e08097 - last_write_checksum: sha1:92b9e750af318c45f12656523529ee067dde0d51 - pristine_git_object: a72d78e13b33fbc37fee4c27e96c39906b064962 - docs/models/components/eventactivitydetailsjsoninput.md: - id: 4441c728f9d3 - last_write_checksum: sha1:26f28598589a1e1e888ca7f233ea149dccf5fd44 - pristine_git_object: a558505175a524e6c765970cfc0771937b64c34f + docs/models/components/eventactivitydetail.md: + last_write_checksum: sha1:196c4c2624872a485a7beda95dc928ecc77fd237 + docs/models/components/eventactivitydetailinput.md: + last_write_checksum: sha1:30998ac001804ea9e7fa512ce10765b852205e1a docs/models/components/eventadclicked.md: id: 74e748815b80 - last_write_checksum: sha1:c4fdc4f697caf3bd6c21275bcf0bfa9784413786 + last_write_checksum: sha1:067fa50e93d33ef9d9cb552cb5a0d44cf0e6fc77 pristine_git_object: 060ad79f702aa7fb32e9b3762bc8fec766badf7f docs/models/components/eventadviewed.md: id: 2fb49f06ae28 - last_write_checksum: sha1:d4b0517093272e0c5603ca1d06df338eaf8cbbbb + last_write_checksum: sha1:2df7132ddbcb13c8cf68d43300035e3a50036cbe pristine_git_object: a3e13f892db0477413a851e9d38e401f92bc8725 docs/models/components/eventasyncresponse.md: id: d94850b151a6 @@ -1906,11 +1830,13 @@ trackedFiles: pristine_git_object: c943843621eecdc519809cad68a4508761ccd574 docs/models/components/eventattendeesubstituted.md: id: 2942341ca035 - last_write_checksum: sha1:1382fac22684554a32a185198e2c94b22ce9e8f2 + last_write_checksum: sha1:1d5d546392787ec59963ccae522a634cb35fdd7e pristine_git_object: edca8786c0ce3a8424f8c70e21030659d32b7e87 + docs/models/components/eventattendeesubstitutedevent.md: + last_write_checksum: sha1:6b800cb078b4c9e1b9badc54737fa5f6e5234298 docs/models/components/eventbannerlinkclicked.md: id: fca6abe2ccab - last_write_checksum: sha1:ff9923a27ce5dd0ba7fa938e051774659496e951 + last_write_checksum: sha1:744df238daec6b69955d732ec4dd1a8c5df8dd4a pristine_git_object: e4dfc9dc11b5af01f48ec88f5ad01e6f14fbe914 docs/models/components/eventbudgetcostdetailjson.md: id: bdd4cb929e44 @@ -1930,11 +1856,11 @@ trackedFiles: pristine_git_object: 96ad2cea0be57c3b9a83243f93c8586a862535f5 docs/models/components/eventcheckedin.md: id: 65758329df11 - last_write_checksum: sha1:b28354054e1414b5f38ed22c3b22758fbcdfa087 + last_write_checksum: sha1:ffeabb91958befaffca64d26c2e58bb9c1b0c632 pristine_git_object: 371174a75ec579f08af31cc45ee803b147e4c808 docs/models/components/eventcheckedout.md: id: 33120ff9f144 - last_write_checksum: sha1:55740944c33ae415e15e2ef89c7e41e85f217aa5 + last_write_checksum: sha1:215b82bb1e139f8bf0abdf47017a8d0c5a995980 pristine_git_object: 5d8d19f311f6b3fb362333ffac4cf8aab88a93c2 docs/models/components/eventcontactid.md: last_write_checksum: sha1:e6db5ca84b8f559b7b87cfa90ab4e5fc7daf6d6c @@ -1984,8 +1910,10 @@ trackedFiles: pristine_git_object: 037379aab797daf12f3d90aa3707b8522365609a docs/models/components/eventfeedbacksubmitted.md: id: def757cdeb43 - last_write_checksum: sha1:a7b3a815a58f77469360a1db62ed83a580bc839a + last_write_checksum: sha1:f9e71a213d1ed7e548833161974e54d91dd9265d pristine_git_object: b9f0eedb1280c92782fe20e0094e182a8b83436e + docs/models/components/eventfeedbacksubmittedevent.md: + last_write_checksum: sha1:c7697db46b6f92b6abd959788163ce60c269d13a docs/models/components/eventformatjson.md: id: d0756e5561ed last_write_checksum: sha1:10c74695372ebb96bb9a193f583a6dd70fc02c4a @@ -1998,6 +1926,8 @@ trackedFiles: id: 85ba6da700bf last_write_checksum: sha1:de61d4a03b19de22766bd0d5f4f5930e9291ea73 pristine_git_object: 9c1922be56af9a46c10c314770981d72eb521574 + docs/models/components/eventinsurance.md: + last_write_checksum: sha1:23646103f6c6cde62adc55d334db01c6da15bf47 docs/models/components/eventjson.md: last_write_checksum: sha1:1f4cfe00468dbc29dbbc75d738742c7ffafd570d docs/models/components/eventjson1.md: @@ -2020,14 +1950,16 @@ trackedFiles: pristine_git_object: f6b416f1a79d4c788a8479d47251b3b4960cd740 docs/models/components/eventnoshow.md: id: 49318bb67de0 - last_write_checksum: sha1:582cb5384ff9c374faf2f4e9d5317c547c15c0f6 + last_write_checksum: sha1:5b236b56e854d016fe86309fb2ebf6349f2fe221 pristine_git_object: 16eaedad4501968eeaca770bd0c0c6152f4985a8 docs/models/components/eventorganization1.md: last_write_checksum: sha1:e3ec3f4aacdd5caac237c36bca4a49a76fdf0464 docs/models/components/eventpagevisittracked.md: id: 7d728f96477a - last_write_checksum: sha1:451e23ee6db489753f81d18967c7b671e8cf04cb + last_write_checksum: sha1:f57c7049e9704f5e7a8f55fca9b80f496a7fac44 pristine_git_object: 23265bfa97bd83db2fa1371571f9f3d6abe028c3 + docs/models/components/eventpagevisittrackedevent.md: + last_write_checksum: sha1:8167f7f3c7fc39be749a7e3c86e44f0eb9b0bef2 docs/models/components/eventpaginatedresponse.md: id: 40f410c88491 last_write_checksum: sha1:3064510214e4ad41cbd8a143a1e88e5725d57d20 @@ -2040,7 +1972,7 @@ trackedFiles: pristine_git_object: a2cd043a114a3ee2877e0d55101b57395ee4a305 docs/models/components/eventquestionjson.md: id: 6981f44628b7 - last_write_checksum: sha1:f5263b11cbfa91091cc9c4e90b6fb06767d466d3 + last_write_checksum: sha1:b08f4172409cb718a020c85de2c1bfb2577b3ba8 pristine_git_object: 10217a238297538b731fc471b9c9768e18a03021 docs/models/components/eventquestionjsonadmissionitem.md: id: 19ce39a0259a @@ -2056,40 +1988,34 @@ trackedFiles: pristine_git_object: f75ebc1394b92f564cfbcd52f945cf4e3310b6ff docs/models/components/eventregistered.md: id: eb0ed9617abf - last_write_checksum: sha1:1a4652585c1690925ac0e39f05eb095f2df91065 + last_write_checksum: sha1:02e53245bf9487415a4263badb48ed82277b5acf pristine_git_object: bf0fa643bce4e27fc82468b346dd792ef096f3c2 docs/models/components/eventregistrationabandoned.md: id: 1b93e22374e6 - last_write_checksum: sha1:5514c903d59f27575edae9e00d01b867ca2321ee + last_write_checksum: sha1:c5e5914ec52018b6c0c1ebc484dbfcc0301cd561 pristine_git_object: fe3f39a4b99b438069afac51b881eae5d4ca1ba4 + docs/models/components/eventregistrationabandonedactivitycontact.md: + last_write_checksum: sha1:c4f9e501f2a998af14a0068762ed6261518f458f docs/models/components/eventregistrationcancelled.md: id: a1b064d5d076 - last_write_checksum: sha1:06239eb672eb87505ead046c1dcf9495a17dd98b + last_write_checksum: sha1:587bde618854d782d9ca2cf59ef89d91536d9059 pristine_git_object: 822ecea364a24947a7dec9ef6426f0185b3e8488 - docs/models/components/eventroleassignmentjson.md: - id: 66e6136d2d7b - last_write_checksum: sha1:303fb68d99d3480ddf2194da5f3911b1267bbdd7 - pristine_git_object: 9d95e0c8c3bdd46bc554443307d86daa5f0c96a1 - docs/models/components/eventroleassignmentjsonevent.md: - id: f3fe30cd172b - last_write_checksum: sha1:aecf4cfd052767b8976f566223c4aa28ab816ca8 - pristine_git_object: a8db4699a46d9efdd90b6342b3dd874507695448 - docs/models/components/eventroleassignmentjsonuser.md: - id: fa8cae142205 - last_write_checksum: sha1:99359f3b5ddb91cfe7907367a0015881aaa3b1c8 - pristine_git_object: a70a4318b2726267d1f9de853557849d8e1aac19 + docs/models/components/eventrole.md: + last_write_checksum: sha1:3cf37f74f2c07f426819bdf4bac756adaab43b0b + docs/models/components/eventroleassignment.md: + last_write_checksum: sha1:4c997128d103d9a81139911c1c8b79d2beca2f3b + docs/models/components/eventroleassignmentevent.md: + last_write_checksum: sha1:c970a5d3695e741a11df9e6df0e607cd2d952b28 docs/models/components/eventroleassignmentspaginatedresponse.md: id: 132a0e32c578 - last_write_checksum: sha1:e2f9bb788ee73dfaa41e69633603032d16fc93a3 + last_write_checksum: sha1:c5ed4eb2248288be2dbe94fe1e35682e39d28b55 pristine_git_object: ae26f607a19ab42e1147ed58791b17ec7e3a6e50 + docs/models/components/eventroleassignmentuser.md: + last_write_checksum: sha1:dcfabd8da80dc4c015085547b1f7d23ed9bf7af7 docs/models/components/eventroleexpand.md: id: 55dc21a7495c last_write_checksum: sha1:f0d31f11d4b2cbd8df2f2f4cde252c7135973ee0 pristine_git_object: 11db81cd5c2659a933c2c90b45367ebe1ba77015 - docs/models/components/eventrolejson.md: - id: c9153203aea1 - last_write_checksum: sha1:9e7b8d2be02908e1478667b5b4fba058adc374de - pristine_git_object: bcc86de3313350a49547ed61d90cf3d592e723b8 docs/models/components/eventsecurityleveljson.md: id: c9caf3cebe0a last_write_checksum: sha1:4e00a406465753618667a6abc0596156907d5092 @@ -2116,7 +2042,7 @@ trackedFiles: pristine_git_object: 5794ee3723740361de1beeee007db5d7450b26d7 docs/models/components/eventsurveyquestionjson.md: id: 0b4f73d81ea1 - last_write_checksum: sha1:aab4fdf8db408e991b3a5455b5d2ebc82e102c4b + last_write_checksum: sha1:e008cd62df875027b512af32e21f19cc7e2d05b9 pristine_git_object: d1357a1ab1a16f2af93d05862831c4b0f16ebc90 docs/models/components/eventsurveyquestionspaginatedresponse.md: id: d522a93f549d @@ -2196,7 +2122,7 @@ trackedFiles: pristine_git_object: 943c3bb522b90ae02ae229b55627ebd2dc2bcee6 docs/models/components/eventwaitlisted.md: id: 80c78307e7c0 - last_write_checksum: sha1:fc6699946322562260c3e0216bec15482a8ead8c + last_write_checksum: sha1:575532839b24fa747c07ff32cbe1ca96ed4eddae pristine_git_object: ae8227b132344ed2c2c0960297edf33c39b3fe9a docs/models/components/eventweblinkjson.md: id: f10096174340 @@ -2208,8 +2134,12 @@ trackedFiles: pristine_git_object: 6a670737d96843c3a8a9ac802869dea278dc840a docs/models/components/eventweblinkspaginatedresponsepaging.md: last_write_checksum: sha1:0181dfb09a31b827b823407bfe569b59698a71bc + docs/models/components/exhibitlayouttype.md: + last_write_checksum: sha1:55854a84fbb67cfa7ffc4c7aa3f5fc24738b24ac docs/models/components/exhibitor.md: last_write_checksum: sha1:181d6fca5f6ac275d17158d895c7a3fd7100620b + docs/models/components/exhibitor1.md: + last_write_checksum: sha1:7b2f848027b53b0a09462d7e8fcbfccc2e893c7f docs/models/components/exhibitoradminrequest.md: id: 263aba97b56a last_write_checksum: sha1:625e8ca47ef936bb793209dbe6395f70092b5e8f @@ -2278,7 +2208,7 @@ trackedFiles: pristine_git_object: fadfecce804be979a4ae20b54e3d5a3a0455653d docs/models/components/exhibitordocumentopened.md: id: 88aec17e5c77 - last_write_checksum: sha1:a53453e2940a4932ecde1e7ee561bdf409b50f56 + last_write_checksum: sha1:9e130501b25848eb96ec8eca260e585087e15c26 pristine_git_object: 7ac7237c7fc209df5d290dd1fb46af49cd1b05b6 docs/models/components/exhibitorid.md: last_write_checksum: sha1:471ce82cbc653a4d0768913c242cd0c2a1fbf135 @@ -2286,10 +2216,6 @@ trackedFiles: id: 3d43d136f79b last_write_checksum: sha1:b3dde8437f0c9b7d1fc37684bdcf136e450b39e5 pristine_git_object: 9288930d41a34b6ebb3021bfe508176d9dbc0812 - docs/models/components/exhibitorjson.md: - id: 83f404395fb1 - last_write_checksum: sha1:58616d31f32583581a8d5b5b18fc9693ab8ce29b - pristine_git_object: c23c7f673207d125a624b910ef903e6f1167cc09 docs/models/components/exhibitorquestionsresponse.md: id: 4a5b6303ea1c last_write_checksum: sha1:8875d5895f7a712775964a1cea8e846156988472 @@ -2314,7 +2240,7 @@ trackedFiles: pristine_git_object: e4b1445514867b05362fee8c0d0ec02028889820 docs/models/components/exhibitorsociallinkopened.md: id: da009147dd5f - last_write_checksum: sha1:fced81c3bdea09713c3d69175d38dfbc3fb5f78f + last_write_checksum: sha1:fe68e78def4271c7f4dabe4793687f18672c25c0 pristine_git_object: c2ec464b403bdb39ae44c955cf9bd445a86bd4b1 docs/models/components/exhibitorspaginatedresponse.md: id: 0908ef9aa079 @@ -2322,15 +2248,15 @@ trackedFiles: pristine_git_object: 7da5276992262396d887c27486cd2209c8db35c2 docs/models/components/exhibitorviewed.md: id: cf504942e76e - last_write_checksum: sha1:948285772623f20e4327bf0b6f0caf194e910738 + last_write_checksum: sha1:5d5bc122e1820c454121eae827e3ba82d04e8dee pristine_git_object: 7621b6c83beb973638d98132f342e388399faeb4 docs/models/components/exhibitorvirtualboothjoined.md: id: 27b968a543fd - last_write_checksum: sha1:24299ba387d98e62e3819bebba9e23af091e5765 + last_write_checksum: sha1:462a5ede3ec440e122593615266a14fd08d57c9d pristine_git_object: 6421ae868b4d04453cf29e9d62005867ace37230 docs/models/components/exhibitorweblinkopened.md: id: ea04a695439b - last_write_checksum: sha1:a26e3346bee97fca97ff4c825ef8ad89a0815ed0 + last_write_checksum: sha1:e664ef0fa6fbb744cfb9607f54adf6a54da0e45e pristine_git_object: 4c9f17cc4b6252d330f0f937b33c5304bcddf49a docs/models/components/existingadmissionitem.md: id: 8b2db95c40f5 @@ -2407,9 +2333,9 @@ trackedFiles: docs/models/components/existingeliteraturerequestdataforlead.md: last_write_checksum: sha1:ba50ac93faaf4ba1fd271bcd755e114cd52afb05 docs/models/components/existingexhibitoranswer.md: - last_write_checksum: sha1:980789218969d60cec33e9cce952a35204572965 + last_write_checksum: sha1:b4e3cac6f86e6661f94dbe696e6899b6d19f6e12 docs/models/components/existingexhibitoranswerinput.md: - last_write_checksum: sha1:4d3df6201ce2a4da0e30ea684a214a3d4bba7e20 + last_write_checksum: sha1:d9aed72b6af81904402df74a870f11f4cb9caaba docs/models/components/existingexhibitorquestion.md: id: b18fb49828dd last_write_checksum: sha1:c128d36d234986e0dd7ca5376777130704857aff @@ -2420,8 +2346,16 @@ trackedFiles: pristine_git_object: 5f2048667921b3ad78a193f7012ed72d137bfd06 docs/models/components/existinghub.md: id: b1c59db599bc - last_write_checksum: sha1:aae8c1769c080ef300ba319b0f1dac0088ddb680 + last_write_checksum: sha1:de8659224a254ca484477a16e5498ddf95a94d1d pristine_git_object: 428924b7fa5b2240a2a7e84a345d4ea7f6a3b185 + docs/models/components/existingmeetingroom.md: + last_write_checksum: sha1:9e0f165d2a873ea995c6c8fbcb6e6640cc772a70 + docs/models/components/existingmeetingroomdimensions.md: + last_write_checksum: sha1:67266343a1fd310084b0548d7813a927d8ee562b + docs/models/components/existingmeetingroominput.md: + last_write_checksum: sha1:7c3dfd05a1222725b095027c3065b5c40b5ea198 + docs/models/components/existingmeetingroomrates.md: + last_write_checksum: sha1:cbec19b037f2f155fcb67c2303e8293f421d542b docs/models/components/existingmember.md: last_write_checksum: sha1:97ffd152a629bfee073b7dcf72e15ae86ac1834d docs/models/components/existingmemberlink.md: @@ -2498,6 +2432,26 @@ trackedFiles: id: 24f6421bfb26 last_write_checksum: sha1:f758cc33cdec809298676d1b47de6a609c72c45a pristine_git_object: 1afd0be3d43aa4637007da406851a8b2429418cd + docs/models/components/existingvenuedetails.md: + last_write_checksum: sha1:25d52b92dc2650a5ac6f617618ed573b64dddd93 + docs/models/components/existingvenuedetailsinput.md: + last_write_checksum: sha1:a0d41b9fea7c7fb339a3948ec679616abfc7e6f8 + docs/models/components/existingvenuefacility.md: + last_write_checksum: sha1:bb091ed99c1a2270cfa43ee73acc6cba86ef816b + docs/models/components/existingvenuefacilitydoublerate.md: + last_write_checksum: sha1:fc7acea3a9e061c982b9d433728af8d2e3174d06 + docs/models/components/existingvenuefacilityinput.md: + last_write_checksum: sha1:3001f4c9a9c3fa84c260df09393f9fc4956f091a + docs/models/components/existingvenuefacilitymaximumcapacity.md: + last_write_checksum: sha1:8ba512af60ea0e903c446ff42e5ddf7804652b71 + docs/models/components/existingvenuefacilityproximityfromairport.md: + last_write_checksum: sha1:e6de89f47672126dc1f73bbd2d6641ab0f2d0294 + docs/models/components/existingvenuefacilitysinglerate.md: + last_write_checksum: sha1:1923bfd64895f58dede21229a842b51ddc5df3df + docs/models/components/existingvenuefacilitysleeping.md: + last_write_checksum: sha1:ce80e82c44a2eee59a893e56b004f935b9cb54d1 + docs/models/components/existingvenuefacilityspace.md: + last_write_checksum: sha1:0cb3005956b3b8609a7dc12f495dfa6685397699 docs/models/components/existingvideoresponse.md: id: 819c489d7a30 last_write_checksum: sha1:1e8e2fed10e30621d11ee412b4489211e2bfddfd @@ -2566,54 +2520,40 @@ trackedFiles: id: 18ba4d4a498b last_write_checksum: sha1:cd4ac1b66b17e8b56486304fb77245b529ce733c pristine_git_object: a95a03f90e4de6ee000f226ee0b194f30f07db0c - docs/models/components/externalactivitiesadditionalfieldsmetadatajson.md: - id: 6c7db446c5a1 - last_write_checksum: sha1:df40d7fe1ec164070b792afe3dc7bfd8864905a9 - pristine_git_object: 67c2da45bd3c6ca5d06ba969176b9305fc3ece9d docs/models/components/externalactivity.md: id: 0cc125366943 - last_write_checksum: sha1:c78744dae3fe4225a7afb13b403dd6ed58dfd6c4 + last_write_checksum: sha1:6839d6268a5ba1898fa3f1ecc5d0d44cb0806c37 pristine_git_object: 8d4549e16d127ca02d6376f8131d3e1f82c90cb1 - docs/models/components/externalactivitydatajson.md: - id: 943ac485b34f - last_write_checksum: sha1:43ff84865c625a69e8b99ccc56103370951f6220 - pristine_git_object: 0427739022765ade5276cee96a2c4a39e290d07f - docs/models/components/externalactivitydatajsonappointmentexternal.md: - id: 275414e71ae3 - last_write_checksum: sha1:0662bb2ecf66952e120db75afafe81ec9b5dac46 - pristine_git_object: ad66738ee11022b6a9b6a21e9fa0092e534e9cf8 - docs/models/components/externalactivitydatajsoneventexternal.md: - id: ad0c4fb10981 - last_write_checksum: sha1:8e08cb8f28d91f8b8ac2c6709cdd976235999aa6 - pristine_git_object: 9a662aaf23afc6cac3a99751f722db1444c3009d - docs/models/components/externalactivitydatajsonexhibitorexternal.md: - id: adc1a8f34d57 - last_write_checksum: sha1:dca6640eb8915e4b385cbcff0828c33a93854cef - pristine_git_object: c4aaf0f96cee2e5e451005d71e8238c1782cc38e - docs/models/components/externalactivitydatajsonsessionexternal.md: - id: be372f040bc8 - last_write_checksum: sha1:65e311b5dffa7501f9dfc6dcc397ff52cf466435 - pristine_git_object: fa8aef7a444324e19ec3afbeab11309cce3bda9c + docs/models/components/externalactivityadditionalfieldsmetadata.md: + last_write_checksum: sha1:9fb6e1718684964cc9edf5717856488dea06d4ba + docs/models/components/externalactivitydata.md: + last_write_checksum: sha1:d25bc99b055c42905bb552764bc3286ada1d6863 + docs/models/components/externalactivitydataappointmentexternal.md: + last_write_checksum: sha1:757168c273c5fa62d88ed3bf64581d8a21b84e66 + docs/models/components/externalactivitydataeventexternal.md: + last_write_checksum: sha1:10e93e4ae60e94a9c35ddb36db6329da12c98b84 + docs/models/components/externalactivitydataexhibitorexternal.md: + last_write_checksum: sha1:1a029cccf2387912ed30f7b6c32f8eaca9ad8bd1 + docs/models/components/externalactivitydatasessionexternal.md: + last_write_checksum: sha1:a8df39c2b5731eff319c20213ef2a88749b6d074 docs/models/components/externalactivityinput.md: id: 38897472aae1 - last_write_checksum: sha1:28a728335f6ea2551d9021eeecc4f52f2e6852d8 + last_write_checksum: sha1:ce5ee5a0f21fbf4e079781930c599896e81e9202 pristine_git_object: cd81949b1de489e5e86b964f344fd3f437e4e278 docs/models/components/externalactivitymetadata.md: id: d17608c91286 - last_write_checksum: sha1:568c49ed7403d82f9a84264f498f8fc4c203e0b6 + last_write_checksum: sha1:b93804bc89ec026d0574cc3e263715b9a81ad5c9 pristine_git_object: 43a04f88303409d344d13bde5bd9e8353e0f2cea docs/models/components/externalactivitymetadatainput.md: id: f2a6d40c0955 - last_write_checksum: sha1:c8a5f70319a215a9ab428c7e89d453e51de4bff6 + last_write_checksum: sha1:3776f2be86449e98a44160fbf2dabc4be0bb186a pristine_git_object: 392561311bd51ea92e441307f12de76a0f90a928 docs/models/components/externalactivitymetadatapaginatedresponse.md: id: 709a78c87997 - last_write_checksum: sha1:7f6390cecfbe96da65d97bd344b3324bba96ab49 + last_write_checksum: sha1:54bc3209cfd8845b1d84a95859c2d855ce50ad98 pristine_git_object: 4dbdd91f4e936d0efc98486c91bcef554d90ec14 - docs/models/components/externalactivitytypejson.md: - id: fc32f4e9df67 - last_write_checksum: sha1:c44857fda6ed139fb5e1b7d19eebb2dd040bf841 - pristine_git_object: b2e21ea00621e44f66fff66177ddfb902f822d1a + docs/models/components/externalactivitytype.md: + last_write_checksum: sha1:36473350fb9c3cdea9383c56c6602608b718809a docs/models/components/externalcodetypejson.md: id: f1e7049b4edb last_write_checksum: sha1:2205ef95bf550aa419394359483443b98344d713 @@ -2824,7 +2764,7 @@ trackedFiles: pristine_git_object: ccc51e630fb184dbae1e11aa0f66aab06a98d720 docs/models/components/housingeventsummarylist.md: id: e7a69b7a8291 - last_write_checksum: sha1:b9d68964b1d7e0adb6a0f3087c7f0062a9a970b6 + last_write_checksum: sha1:82482f8c8a876ea6c58eb8ea90e1a38a6650a684 pristine_git_object: a8bd2a574e2ffc597509251e813fbd17f2943c4b docs/models/components/housingreservation.md: last_write_checksum: sha1:a83f8ea0d28125e21465140cf17df9f355bcb0bd @@ -2850,7 +2790,7 @@ trackedFiles: last_write_checksum: sha1:11f345b575129b0f5cec6cefabff303235214b4d docs/models/components/hubspaginatedresponse.md: id: e81f1578d108 - last_write_checksum: sha1:ee001d262146e9db2dea37b81703a8ff933f9202 + last_write_checksum: sha1:635df16e5d78af2f8a3e9c24a7fe3ca2d1039cbc pristine_git_object: 60fc246a47229ab71aa9f76824cf73560ca37096 docs/models/components/hubstatusproperty.md: last_write_checksum: sha1:4875a0eec4fee461b745eef2f1ccccc2e4dc2f85 @@ -2932,12 +2872,12 @@ trackedFiles: last_write_checksum: sha1:81680a8ef7b963393105e1b2609a594c0c94977c docs/models/components/leadinboundcreated.md: id: d973f76d5169 - last_write_checksum: sha1:e015b23ed46e70c56d8df76ccb2fced36a9770d5 + last_write_checksum: sha1:1d5c840d00659d9313952111374e599a0cdd5bb6 pristine_git_object: c5165f3fbab8e92224dece47118178cc1cb1e2aa - docs/models/components/leadobjectjson.md: - id: 0797106286fb - last_write_checksum: sha1:601fa70e1e038a4f42b6a32f58eb7289a9677488 - pristine_git_object: c814d14daf7649edab520d1099cbfe5af59b3dfa + docs/models/components/leadobject.md: + last_write_checksum: sha1:6cdac107acb0e9c96a0a7a99559c69b3e3ff2773 + docs/models/components/leadobjectactivityboothstaff.md: + last_write_checksum: sha1:d1f3b9f3837700717f4aa768ce58622513dec2ba docs/models/components/leadqualificationanswers.md: last_write_checksum: sha1:028c3e2fad8cce1b81d774ccb14467d34c6ca9b3 docs/models/components/leadqualificationanswerslistresponse.md: @@ -2954,19 +2894,15 @@ trackedFiles: last_write_checksum: sha1:ceffdd7d269ad203711b383b1ae9d66e3aad1ad2 docs/models/components/leadqualified.md: id: 39b7899f68fc - last_write_checksum: sha1:914d2b04e9cee1f1efc3ac96b2349e6122755029 + last_write_checksum: sha1:767b1c6d2ad57d6dfe888747c45e11afc22fe844 pristine_git_object: e6e879d5b59a03df3c73278a44dd62f300838874 - docs/models/components/leadqualifiedanswerjson.md: - id: 906a0e446093 - last_write_checksum: sha1:99cb922ccab07dd9e584fd41362e58c9c49c35d0 - pristine_git_object: 2e21e32e28c430f0f9e9db3847e57a6ee40dc9de - docs/models/components/leadqualifiedquestionresponsejson.md: - id: 678e2bd1b942 - last_write_checksum: sha1:28d1f91cf27a7427f770e8afc98515ad593508f2 - pristine_git_object: 92691b66b90137580e3bdc815ce24476095a8a1d + docs/models/components/leadqualifiedanswer.md: + last_write_checksum: sha1:312fa38fbc9dca6b783f7408545067ec091a3495 + docs/models/components/leadqualifiedquestionresponse.md: + last_write_checksum: sha1:6a5e79f6d61d761394cbc626772801bcce808fc5 docs/models/components/leadscanned.md: id: 56346a379ca8 - last_write_checksum: sha1:4a578add3ae9257de84c7c9f57be37d73b9968c8 + last_write_checksum: sha1:0157ff1d7c1c3e913582562b2af0ca408d2f68db pristine_git_object: a397e077f0122f70e0e112670e85aaac519fc4dd docs/models/components/leadsource.md: last_write_checksum: sha1:16d22fb4207059e2bc01e98e8474d808e3679359 @@ -3016,12 +2952,14 @@ trackedFiles: last_write_checksum: sha1:7f1d6c74ad56a50357b01e9f2a9a5411b2f14ab8 docs/models/components/locationjson.md: id: d02278818bcd - last_write_checksum: sha1:4c86b62be8eaa2c4c10bf747dc0c8389f5109b52 + last_write_checksum: sha1:3d0a181cc481ce1fbc927a799f855ee703e9d085 pristine_git_object: 8c15fce5a15dc1a3756abeebdb0ff9c3771addc5 docs/models/components/locationspaginatedresponse.md: id: 9729da2aaa15 last_write_checksum: sha1:04d2810f95bd6e8fd6b5595e96dbc9f9b56a54e1 pristine_git_object: c10dfc1392669fcea476bf34bcd00fdf27579a8a + docs/models/components/locationtype.md: + last_write_checksum: sha1:1a91caf92dcf01141075cd10a4e19f3f8faf80c0 docs/models/components/lookup.md: last_write_checksum: sha1:3d4861f64d6113034aad31a6a0b11f4c9ab4a2db docs/models/components/loopingchoice.md: @@ -3038,55 +2976,35 @@ trackedFiles: last_write_checksum: sha1:2aad971fc77df4ac5c33ec88ff56b947fd44a0fd docs/models/components/meetingrequest.md: id: c27ec92379b7 - last_write_checksum: sha1:2aee547d58eccf3be4929a3b9d2db7220dc1c16f + last_write_checksum: sha1:6f4ba6f0cfd25ae22db8fbdfa475e3bc8e14ce7c pristine_git_object: a2fe83f3d0df6a09c69fc373388c53b197a259f3 - docs/models/components/meetingrequestbulkresponseitemjson.md: - id: c4d60d25488a - last_write_checksum: sha1:a98a7f1feda5f1b968aecc8db7b731e0850dcce5 - pristine_git_object: 52a1dd8e17a897e5eee64520bc5a419fec924946 - docs/models/components/meetingrequestbulkresponseitemjsonrequest.md: - id: 1a0c20220e2b - last_write_checksum: sha1:e042a1cbcc0d89231a9c799382a8a9d02debe006 - pristine_git_object: 8756760c51001bd780133072a5052c5d4c0480de - docs/models/components/meetingrequestcreatejson.md: - id: d2ad24cc4824 - last_write_checksum: sha1:55e7acf945891f548c6c0ca572a944a90b227863 - pristine_git_object: d13ab40933c09898831f450e68f24b61488444ca - docs/models/components/meetingrequestcustomfieldjson.md: - id: 7108816c126c - last_write_checksum: sha1:921a488ef8a56852dd540ac85f1c6649fd34f984 - pristine_git_object: 2f8392e8ddbcff669d0b813e0dba9bc8fb2b3ec5 - docs/models/components/meetingrequestcustomfieldjsoncustomfieldtype.md: - id: f8d27bdb6945 - last_write_checksum: sha1:ab67810928e5ab500821369efb6b05f031c2b7c7 - pristine_git_object: 24b16918ff3874a4ca24f0de4234297bc45501e6 - docs/models/components/meetingrequestdocumentjson.md: - id: 0c1f503f6db0 - last_write_checksum: sha1:385e102c81b980795367b43fc269ff9f7453d654 - pristine_git_object: d8a06303d2b412069064ed90c8bc9c7dcaccc7c9 - docs/models/components/meetingrequestdocumentjsonmeetingrequest.md: - id: 01c627893e8f - last_write_checksum: sha1:2ff95b5f99e742115049a3f382701c348d47f1af - pristine_git_object: 959aca87ba99bbf69452173980d3cba0c1726d28 + docs/models/components/meetingrequestbulkresponseitem.md: + last_write_checksum: sha1:9d772ae840555828826f054e02be5aeecfe7cb2e + docs/models/components/meetingrequestbulkresponseitemrequest.md: + last_write_checksum: sha1:74a97674a45269f93e93c36ae00362dadc4a8727 + docs/models/components/meetingrequestcreate.md: + last_write_checksum: sha1:37286da4638858d1f107a095f7fcab5351449e66 + docs/models/components/meetingrequestdocument.md: + last_write_checksum: sha1:329284e464fb9f52689e9b4a34867ef713dadd72 + docs/models/components/meetingrequestdocumentmeetingrequest.md: + last_write_checksum: sha1:e165e6eb067dc6fa89f37c84370568035f338bc6 docs/models/components/meetingrequestdocumentpaginatedresponse.md: id: 0fa4d6bee19c - last_write_checksum: sha1:a5e11fe1d36c2ba16e8db6512b7e61c2393361b6 + last_write_checksum: sha1:54303925b95216c3fec977d3afbddca0969539c4 pristine_git_object: 18a029834b20c665b0f7eaadec429debf04314c6 - docs/models/components/meetingrequestdocumentreferencelinkjson.md: - id: e8d4db6b9e91 - last_write_checksum: sha1:02dc7b1d70036733b8bfab86c0e52c9b69cc5275 - pristine_git_object: 1614e3f492a42a3a68f149da830be1119bbced35 + docs/models/components/meetingrequestdocumentreferencelink.md: + last_write_checksum: sha1:143444b991603946a3e99a89188c0f0b41a6a2d3 docs/models/components/meetingrequestevent.md: id: ae301789e9a6 last_write_checksum: sha1:a51bfa95586d30b8f9edb7158a0aaa2eaa2c755a pristine_git_object: a1dcbc8175a3ae8126a85f9e69200b0b06a5d1c8 docs/models/components/meetingrequestform.md: id: 717aa431df38 - last_write_checksum: sha1:70e8814d0c7a7908273dcd24a0a6f9a16bebc37e + last_write_checksum: sha1:d8ac65b6ce8d272b8a18d9f7c72e86c03767f43d pristine_git_object: 44fb8c66732e9fdaabef4a5ac970119162e9280d docs/models/components/meetingrequestformpaginatedresponse.md: id: 643203c01ee3 - last_write_checksum: sha1:8c3ba3a065acd501128fcdf393c385daf11384d6 + last_write_checksum: sha1:c4873b357736af56ce015ed3311a54573fcef3eb pristine_git_object: 4367e1e14eae0a21fedb8a992d7de57a497c8a67 docs/models/components/meetingrequestmeetingrequestform.md: id: 8d4f7778ac07 @@ -3094,32 +3012,44 @@ trackedFiles: pristine_git_object: c065595e83e1b9c4e8728dadddc1a0cb41bb71c7 docs/models/components/meetingrequestpaginatedresponse.md: id: cb7be5dcb568 - last_write_checksum: sha1:2722ae74a4680e32d23f9a503f3ee37c565b5c62 + last_write_checksum: sha1:81401390712e499619389381e4ab8a1905d55ab6 pristine_git_object: 6b6b2dcb0908bed2b3dbd573d6c3ee162ad829f3 - docs/models/components/meetingrequestquestionjson.md: - id: 7eef056c8d35 - last_write_checksum: sha1:bdb889cf3c11bdab0574c834c03960a57e220a09 - pristine_git_object: 481db1f6eeb2c8ee8f550f65b332d6e4707f7b48 - docs/models/components/meetingrequestupdatejson.md: - id: 000403c78d75 - last_write_checksum: sha1:96b82288a15ccb108f1bc8543422936c325c5b75 - pristine_git_object: 67dcf7e793f3f10db22e73946327d17d5e779d68 - docs/models/components/meetingroomagendaitemtypejson.md: - id: ae41680869b6 - last_write_checksum: sha1:94baab73eb39cae22818562c0207315d06b21887 - pristine_git_object: 1a51cf6c03d85b769ae006a2342e7ab8ff252244 + docs/models/components/meetingrequestquestion.md: + last_write_checksum: sha1:92fc8c7a710421dcb587bec5ac425184d23b5d85 + docs/models/components/meetingrequestquestioninput.md: + last_write_checksum: sha1:0bd94fb0bd516a4349f1f9501e12ce2b8310e125 + docs/models/components/meetingrequestupdate.md: + last_write_checksum: sha1:184847d2814331abe6086a07d42bf9f29854704d + docs/models/components/meetingroom.md: + last_write_checksum: sha1:4855ebd926ad078143a660e9860ce71019e309b5 + docs/models/components/meetingroomagendaitemtype.md: + last_write_checksum: sha1:9fcd11276d56fbe804625cacb592ec8ee4397285 + docs/models/components/meetingroomamenity.md: + last_write_checksum: sha1:87acc514b7cf2cfc4677b2121e4f61e52ec21f2b + docs/models/components/meetingroomcapacities.md: + last_write_checksum: sha1:7c9cf81645004722ca20e2e3e32e9d9498f19209 + docs/models/components/meetingroomdimensions.md: + last_write_checksum: sha1:4f18293967c76cac3e76f8cba71359cfc9ee2844 + docs/models/components/meetingroomexhibitcapacity.md: + last_write_checksum: sha1:c7561953834193090aabc500838f493c78e9fd42 docs/models/components/meetingroomjson.md: id: 35232049948a last_write_checksum: sha1:228196f11fc80b10b414f766f3056dc7e4b8b205 pristine_git_object: 2c27bf0d874d13e00bbc64382a2788b0fab045e3 - docs/models/components/meetingroomrequirementjson.md: - id: 26665ae3b3d6 - last_write_checksum: sha1:28e9d5e5b1da33aace0c81a30ae9edfb4c8d1dc9 - pristine_git_object: 990119a6084dfef405c17895fbe4f23efd949fd0 - docs/models/components/meetingroomsetuptypejson.md: - id: a4ee4d3ff038 - last_write_checksum: sha1:71da8a942caca52f4b12b61873144af799616992 - pristine_git_object: 80011e026b9454074d1e0cd4a7dfe768151466c6 + docs/models/components/meetingroomoverview.md: + last_write_checksum: sha1:e54562d8909b8740323abf709aae408edaf78424 + docs/models/components/meetingroomrate.md: + last_write_checksum: sha1:ef4608aeecead0ed1958183896c2797af1861251 + docs/models/components/meetingroomrates.md: + last_write_checksum: sha1:e05f8d3221d72dbedc38886617ebefc377405169 + docs/models/components/meetingroomrequirement.md: + last_write_checksum: sha1:8721dcf954994c6988b21c1e9bba57bbded08560 + docs/models/components/meetingroomseatingcapacity.md: + last_write_checksum: sha1:adf01912bdeed9b01883f35907dc831fcce08cae + docs/models/components/meetingroomsetuptype.md: + last_write_checksum: sha1:e3c9c2f0df734db0666b43dcf02cbfc729a0ff7f + docs/models/components/meetingroomsoverviewresponse.md: + last_write_checksum: sha1:f35e3ff4a7f2eefee9b8d82c74cbf4756c8b4ecc docs/models/components/membershipitemspaginatedresponse.md: last_write_checksum: sha1:c26ce2e7345a0db5c614549a4f1e98b43a6f50b1 docs/models/components/membershipitemspaginatedresponsedata.md: @@ -3288,6 +3218,12 @@ trackedFiles: id: 159d4921ddc3 last_write_checksum: sha1:b252d60748738f00852a928cc0dc4f081c6286e3 pristine_git_object: 282321dec4049f0ff79766acb5378f5bd8a98554 + docs/models/components/patchmeetingroom.md: + last_write_checksum: sha1:b9572602fe42838aa79ddb105adf958ab91f905a + docs/models/components/patchmeetingroomdimensions.md: + last_write_checksum: sha1:ef85b0c6117ff93e5fbbd1655f62629584ebf887 + docs/models/components/patchmeetingroomrates.md: + last_write_checksum: sha1:5435982dd9939ce78ed23afb55837281fc292b52 docs/models/components/payment.md: id: ee93002f93bc last_write_checksum: sha1:ded7a5960187cbb8788488c8c5ae049ee06f11ac @@ -3416,41 +3352,27 @@ trackedFiles: pristine_git_object: e8d923a81ea5c4d2103efda0cd2f3fe48882fed1 docs/models/components/policyvaluetype.md: last_write_checksum: sha1:a0948e24d259d82e3e377f55569f01f904e5c43b - docs/models/components/pollresponsejson.md: - id: c449abe49033 - last_write_checksum: sha1:b21ddac7c82c224f68f83922236646cd86cd01c4 - pristine_git_object: 8408eacdae4d5d737aafcb7facb609781a689624 + docs/models/components/pollresponse.md: + last_write_checksum: sha1:948eb48d1c07fa8118b3f9abb14c88648c6678d8 docs/models/components/pricingconfigjson.md: id: 721835e0ad48 last_write_checksum: sha1:7ece347627d85ef78b787907effe40d09f9ecb52 pristine_git_object: d98ca40f90e9812a115d6d80156eb681d7620486 + docs/models/components/processform.md: + last_write_checksum: sha1:ad239c0eb7402df8415210d0b09126a64f065ccb docs/models/components/processformexpand.md: id: 76bfb140e94c last_write_checksum: sha1:b3d102fbbedb47ba0e95698e0f8463df5e2a37b5 pristine_git_object: 59141ce85e38155e0e8714603e51a671d579b100 - docs/models/components/processformjson.md: - id: 78750799e03c - last_write_checksum: sha1:5cb5362052abd7c7b995c60af66a6772a44591bb - pristine_git_object: 06ca90a9315738685a8b974af09c33e5b0094af6 - docs/models/components/processformquestiontypejson.md: - id: c4932f740ac8 - last_write_checksum: sha1:10fdccbaca47153a720d1fbb07d47caee3f4e12c - pristine_git_object: 92f999296cbd6968a4c65095ff10a50fbb46e18a - docs/models/components/processformsubmissionjson.md: - id: 0d4cc9711e28 - last_write_checksum: sha1:db1da5506d0d2c3725aff5a2b25a4923afa43fa4 - pristine_git_object: 35f961107a73264ac0cf6cec108df27fc00f16e6 - docs/models/components/processformsubmissionjsonevent.md: - id: 491dc26e340f - last_write_checksum: sha1:5ff262c725876778f1bc08630e443170fd15c37e - pristine_git_object: 1d8577f0cef6c18692410cb6f38a91257a61b36c - docs/models/components/processformsubmissionquestionjson.md: - id: 5ce3762b0c26 - last_write_checksum: sha1:8f1ec8d7903f53138357c8a9b44cd49d582a6eb4 - pristine_git_object: cb18b1e8231fe959ce5d3cfe4acfee1229b689cc + docs/models/components/processformsubmission.md: + last_write_checksum: sha1:86ccdf1d0187e3cedfc76698a842cb7f52b720ef + docs/models/components/processformsubmissionevent.md: + last_write_checksum: sha1:736310b5c81e9175a4b5426e0f07399f77d47119 + docs/models/components/processformsubmissionquestion.md: + last_write_checksum: sha1:d8b7934154abd740f028bce2a1a18b423a7f692b docs/models/components/processformsubmissionspaginatedresponse.md: id: 19502b585c03 - last_write_checksum: sha1:1615e1486ac28c9dbc8007c0ad8ed5a32453134a + last_write_checksum: sha1:7c98a66d8aee6464b396f61d3cffb57abbdb3a74 pristine_git_object: 0297429de3ab0c259c29a991834de2b6992c615e docs/models/components/product1.md: last_write_checksum: sha1:e74a4f35aa3a8d0236fb999bc14e2541dc00448c @@ -3592,12 +3514,12 @@ trackedFiles: id: 819acf6d2f98 last_write_checksum: sha1:479c5a8478d71d424f006d71451669dee516593e pristine_git_object: 82718673f601a374c9068e9f72b36fc292f51bde + docs/models/components/question2.md: + last_write_checksum: sha1:9746c8e57686ff34ae8f265b056a9458f17ac669 docs/models/components/questionclassificationtype.md: last_write_checksum: sha1:5d06d26df47810521e58ec2aeff0d5270bf5fadf - docs/models/components/questiondetailjson.md: - id: 853afaf7be00 - last_write_checksum: sha1:df5cfe84c859706ff5efa652f4eaa5203ae438ac - pristine_git_object: df4695c2a102f20d86d935d73c31d25beab16262 + docs/models/components/questiondetail.md: + last_write_checksum: sha1:a44796b7d4dcaf07e2b9d1a84dbc859dde2f6448 docs/models/components/questionidjson.md: id: a49944c14e63 last_write_checksum: sha1:04288e7998d9f43caed3500da8d545c4917005c6 @@ -3606,24 +3528,18 @@ trackedFiles: last_write_checksum: sha1:d0eda8ad72e22bd3be7d50c6ab410e84d0735e28 docs/models/components/questionjson1.md: id: 6ddec29ca659 - last_write_checksum: sha1:bf6f992cc965540aadd584e51a3dcdf4a7d46403 + last_write_checksum: sha1:5091a00a7d6532dcd9e9e3137e0bf88ed70ab9a6 pristine_git_object: 76ffedc5ce750d96b1344ea50a33768c0df498cb - docs/models/components/questionjson2.md: - id: 9c96e32de7ef - last_write_checksum: sha1:89ca47d863251c0cc5db2cbc433140581b49dea3 - pristine_git_object: e8d6a2dc20fa5dbd2733bd8adacd6551dd9fa0ba docs/models/components/questionpaginatedresponse.md: id: 2865e126e120 last_write_checksum: sha1:eb413ded37770ade68d6cda9999ca74c6fb9e749 pristine_git_object: 0c5aac5b8e661105f84c98d4b46069238e6e1af2 + docs/models/components/questionresponse.md: + last_write_checksum: sha1:1d503a0ac10226597293946d4d76b35391fe0388 docs/models/components/questionresponsedatatype.md: last_write_checksum: sha1:999f2a99200cc4c3d03293ed6980f29f48b94c39 docs/models/components/questionresponseformat.md: last_write_checksum: sha1:df7ec1cc96f437d0b1cb44a07e362824f6959595 - docs/models/components/questionresponsejson.md: - id: 27a99877b7cf - last_write_checksum: sha1:40016b0e178d3a5c692223b66cb077becdcb21be - pristine_git_object: e6d9fbc89e0b64b400c526f9013f5c3064155a19 docs/models/components/questionresponsetype.md: last_write_checksum: sha1:622b397a64fa7bade99395dcd32f7e9ecd2021dd docs/models/components/questionsection.md: @@ -3638,20 +3554,22 @@ trackedFiles: pristine_git_object: 78be6cb5bbdfc84ea22f0dab931cf91d3474782e docs/models/components/questiontype.md: last_write_checksum: sha1:fe4060ea265473268410c25412702258936ccc18 + docs/models/components/questiontype1.md: + last_write_checksum: sha1:760af4da5436f2b9c0197ffc9489a1c6e34ed781 + docs/models/components/questiontype11.md: + last_write_checksum: sha1:d7d180a87e62a3d0a71e6f490757b5f60a44df22 docs/models/components/questiontypejson.md: - last_write_checksum: sha1:a2c9129dfd9804c35b98d4217db6323b1b42f4a9 + last_write_checksum: sha1:4d8275f5c9fa485c8c47aca2521f615595a7717e docs/models/components/questiontypejson1.md: id: 34856a651a6b - last_write_checksum: sha1:da08e298120d74fb47707a5b1af6d2be2f5b2027 + last_write_checksum: sha1:a8f69954b407b91902eafcad10461bd3f4ec4f78 pristine_git_object: 3d08d821b6ffe1a4659c7f8ef34325d373b0d49c - docs/models/components/questiontypejson2.md: - id: bf5fa04f759d - last_write_checksum: sha1:524d34bfc6749952f536ae349e28eb5981aaca37 - pristine_git_object: 841fe7a70ae0c1feee74705996d33fbf9b09bc14 docs/models/components/rate.md: id: 2b4408495589 last_write_checksum: sha1:00abb3e0505a977bad5cc0c51e4cd8e67c3ad546 pristine_git_object: e1b332f7bb5bec5a9cdc826c891d9f1df30a2d68 + docs/models/components/rateapplicationtype.md: + last_write_checksum: sha1:245d343ac071a8019baf393fa651b0f5789b0166 docs/models/components/rateleveltype.md: last_write_checksum: sha1:c69f583a5502da4c0d06a6330aac07887abda45b docs/models/components/ratereviewstatustype.md: @@ -3750,17 +3668,13 @@ trackedFiles: id: e45485da6ee3 last_write_checksum: sha1:8f795a9fac2e8f4a096f3aa0dff7b3e9844f9c86 pristine_git_object: b6b0a2ab16e98b20828c2c1ca843eb28c2f6f187 - docs/models/components/requestedmeetingrequestquestionjson.md: - id: d4ea01b10d49 - last_write_checksum: sha1:2f434eb89c3cc2d10ab96f0f50e295920c5de7c7 - pristine_git_object: 7e5821b34e1826abbbe335df209dda060326129c docs/models/components/requestersuffix.md: id: f7ba6c0b6348 last_write_checksum: sha1:e7c43e2b3d564596faa56911c3fa8d5576ada960 pristine_git_object: 816798366169140abfe15eb9b6bd0c35ea550422 docs/models/components/requestt.md: id: 0c3dba27c71a - last_write_checksum: sha1:0f8ed450cb33e9a4de0ed83e96d86cca706c994d + last_write_checksum: sha1:c9a5d090ed7b6a1b08011f486d9c97fe7466bd46 pristine_git_object: 7c448e09ec155bd475bfbd01d55f493eb61e7830 docs/models/components/reservationcontactjson.md: id: 836590cf3787 @@ -4016,6 +3930,8 @@ trackedFiles: id: c1db4da91695 last_write_checksum: sha1:3aab5ad5a68eb62904fced603124398a74074cdc pristine_git_object: 538fefada751d0d2e0bb389b02fdd7a18d3cdf3e + docs/models/components/seatinglayouttype.md: + last_write_checksum: sha1:55a066f7072dbca15e4917185c750c29705fa533 docs/models/components/seatingpaginatedresponse.md: id: c97235f77efe last_write_checksum: sha1:201cd87ff3d73d04db12feb176af1b94e047ce82 @@ -4090,14 +4006,6 @@ trackedFiles: id: 897769a8e207 last_write_checksum: sha1:d414ab5607281d414b85c9df87f380292fdbcccc pristine_git_object: 7828e4f4cf104f655dfb135d3563cdfab57cafd7 - docs/models/components/sessionactivity10.md: - id: bece4c3dc52c - last_write_checksum: sha1:e64ddd5fd38bc50113ad461e78e328805432110a - pristine_git_object: ae607123d8ccd99e65cedfcd23d42359f03c4acb - docs/models/components/sessionactivity11.md: - id: 73c0b589096e - last_write_checksum: sha1:d82a20786a81ee756afc076e05f06624ec2d402c - pristine_git_object: aea92d666dca956fdd52fced77213cb2f7262e40 docs/models/components/sessionactivity2.md: id: c57a45868d8f last_write_checksum: sha1:97e4611767d6446536fa3eccd9abb456d9c724a9 @@ -4122,14 +4030,6 @@ trackedFiles: id: 1ac7a5588590 last_write_checksum: sha1:9ba83d51d8de139636781520578fb34a0f55b6ab pristine_git_object: a5a72003cfa558afa17518fd04ef96faa381f1a3 - docs/models/components/sessionactivity8.md: - id: c24fccdbe0a7 - last_write_checksum: sha1:8c6915fc64c064931bc883f163644932a2824b01 - pristine_git_object: d6688f30c20326b0cf4c1f94750feecf0402ff01 - docs/models/components/sessionactivity9.md: - id: c015600248ec - last_write_checksum: sha1:442ed424e4f42c40d8674c34c693d636f4f786a6 - pristine_git_object: 007de0e223787a3396f198dbb1304236c9667896 docs/models/components/sessioncategory.md: id: 56d28253dcfc last_write_checksum: sha1:91f5447c1897393ff3d67af1704f2499cd6599d3 @@ -4174,8 +4074,10 @@ trackedFiles: pristine_git_object: 660496ebe6d3660f8a9bf459df5aba5c51eaec97 docs/models/components/sessionfeedbacksubmitted.md: id: 97ad0830bce3 - last_write_checksum: sha1:4139bf0641d019f4f7a07ba98457508449668924 + last_write_checksum: sha1:95fe405d47dae5c52a3629eb8f0fa432f2daf834 pristine_git_object: 7eb48d5a5eacee62d1540523c72a33676a35f359 + docs/models/components/sessionfeedbacksubmittedsessionactivity.md: + last_write_checksum: sha1:c721a968fb5c37eb9f9262984c9e022e12abcd89 docs/models/components/sessionfile.md: id: e69b77ea7bb3 last_write_checksum: sha1:279a75851ad8c5dbdb929f3e20414ae41f4ac45d @@ -4210,12 +4112,14 @@ trackedFiles: pristine_git_object: 87b7f35f1429a4fca2966541502f54fa3bd6de3b docs/models/components/sessionnoshow.md: id: 2d5d9df364f5 - last_write_checksum: sha1:803c26fa469d1ed7f3e35947f51bcd7279f27bb7 + last_write_checksum: sha1:be44a00f468331f8dbe75c93ffa1ad225488c06f pristine_git_object: 279c2358f150989010ce111af83fc7f9045a4376 docs/models/components/sessionpollresponsesubmitted.md: id: f5d531a06fbd - last_write_checksum: sha1:f4e75ae5bae5240b500efe6662a8294ad26d4f51 + last_write_checksum: sha1:a49d96d1488821f7181e14c3d3d8ae80dfbccb6b pristine_git_object: 707a14a5f659032ac11391629e0b95b445271ca4 + docs/models/components/sessionpollresponsesubmittedsessionactivity.md: + last_write_checksum: sha1:c354a95005c9f117e2fcaf8f0896b921b7c54530 docs/models/components/sessionqaactiontypejson.md: id: 54ba20b272f7 last_write_checksum: sha1:004e8bdfddff607a66b014a7b50089e73576426a @@ -4226,11 +4130,13 @@ trackedFiles: pristine_git_object: 49226548007d496527159e7d3acc86422ee309d6 docs/models/components/sessionquestionasked.md: id: 15701b9a7b0b - last_write_checksum: sha1:690fc05b3e6e350fa75bfc3c71efa56bb9534c8d + last_write_checksum: sha1:4f6937854b4477de702432b4c90cbc777c62e4fc pristine_git_object: e91a43f10f4f0cc33fb2f345ab099b7b8b679311 + docs/models/components/sessionquestionaskedsessionactivity.md: + last_write_checksum: sha1:134f00aa800af6d3c821e93c6e498efb3bc600b7 docs/models/components/sessionquestionupvoted.md: id: d961354ab5c9 - last_write_checksum: sha1:626f0e9c9d251e818f2b882bfb918c516f511e75 + last_write_checksum: sha1:746bf47ac82eb730f498a9dfbfd2045d302d4b43 pristine_git_object: e84a07d134ed5ce4252cd01956442b74c4b9e7f0 docs/models/components/sessionsattendanceresponsejson.md: id: 6a64ec1199a8 @@ -4274,7 +4180,7 @@ trackedFiles: last_write_checksum: sha1:1fb218c082e7fa4b87356d28dbb526726cb7b0a2 docs/models/components/sessionunenrolled.md: id: bd471b4866bd - last_write_checksum: sha1:d62014efe1fac113eaf931c48f0f55f0c83fb32d + last_write_checksum: sha1:4e0f3798aef95ab6c3f2c348a634e273240e82a8 pristine_git_object: a5d804fbf01fa73665626a478b96872e1e87e54a docs/models/components/sessionupdate.md: id: a19d22648b5e @@ -4288,7 +4194,7 @@ trackedFiles: pristine_git_object: b8ed7ba4145338148865e1a4320c5a98b2cf2c41 docs/models/components/sessionwaitlisted.md: id: 54dfa7cb5b9a - last_write_checksum: sha1:a518eee3b65c43d7991330b306c632b85151baae + last_write_checksum: sha1:042ee2ea60169d9304ea3adb5e1376d34ce50fc2 pristine_git_object: 0b7d33eb83931897d223b6100ac92190ccd3ca37 docs/models/components/signaturesresponse.md: id: 94ddbcb526f6 @@ -4302,10 +4208,8 @@ trackedFiles: id: 9daaaac8108f last_write_checksum: sha1:f54e35188487a06fc11f23db125ae60c7b78a3b7 pristine_git_object: 731c71802baa5a4f011bb9f3909f4b7a37f079c3 - docs/models/components/sleepingroomrequirementjson.md: - id: 8ccae4919039 - last_write_checksum: sha1:0145811659b62831be56af8d43c8bc57e27b1ab6 - pristine_git_object: 2e0f35644b56cd3891c66ebbd6cbf8e998535873 + docs/models/components/sleepingroomrequirement.md: + last_write_checksum: sha1:4b2d5e42164558e85a3635f010d68d7060aaee84 docs/models/components/sleepingroomtypejson.md: id: 52200709b0cf last_write_checksum: sha1:e66e7f146524989b777aac51f034547992642738 @@ -4332,6 +4236,8 @@ trackedFiles: id: 96ebd0ad3992 last_write_checksum: sha1:a56ce52e1e94cf21004b077d2116d4453eff7ba0 pristine_git_object: 914a22a3a850192e3eef02d76d9ebef2caa6795e + docs/models/components/speaker1.md: + last_write_checksum: sha1:9b8d2acac70decd0fb25cb5fb59a7c5fb4ca6714 docs/models/components/speakercategory1.md: last_write_checksum: sha1:f3d21c39508cf127a846bf4bca22e65416cccf6c docs/models/components/speakercategory2.md: @@ -4354,15 +4260,17 @@ trackedFiles: pristine_git_object: d14b2dfc21953910fcbb83e460a847105e351f91 docs/models/components/speakerfeedbacksubmitted.md: id: 562993a5eefe - last_write_checksum: sha1:f3161bed04fef9184e7bcbd7a779f53f471c42d4 + last_write_checksum: sha1:5cf9df0278f66ef9a81522c7c178c091a6ed6c3c pristine_git_object: 5b35923b86aa45c58c672beffd006e007ca16ef9 + docs/models/components/speakerfeedbacksubmittedsessionactivity.md: + last_write_checksum: sha1:4cf760cbabb1b990a46a5f4d474465a134eea4ac docs/models/components/speakerfile.md: id: f1c09103e329 last_write_checksum: sha1:ea6fdd8f67cf3ce3f930261f82e7ce722b31841c pristine_git_object: ec52cb11445184478658348aee9b455f9cc3d04a docs/models/components/speakerfiledownloaded.md: id: be5da0d94c46 - last_write_checksum: sha1:2de7e238da9d5f4a653d37a1877af7102612e1f9 + last_write_checksum: sha1:2db055d54262fef42370c3b2bdfb84f38f801fe4 pristine_git_object: fd0f45cc86fb0cbcc0b87a9c8b35581fc5a12dd9 docs/models/components/speakerfilefile.md: id: 50a030165f5f @@ -4372,10 +4280,6 @@ trackedFiles: id: 332b0e41a529 last_write_checksum: sha1:52623988f77442a2b04977c025ab873b068a0c59 pristine_git_object: 669c6e7f12f8f2e40da509189af9ed221c94ebbb - docs/models/components/speakerjson.md: - id: 3fa56a9208cd - last_write_checksum: sha1:4e745cf6e5d3c324de84eb3a76b6ce6c9d75c8f9 - pristine_git_object: 3cccab3aefa94b442a20077937b5f81871df4a67 docs/models/components/speakerlite.md: last_write_checksum: sha1:44662fe5e77c7e5e3a6699dadacba455b52b5a5a docs/models/components/speakerlite1.md: @@ -4460,7 +4364,7 @@ trackedFiles: pristine_git_object: 813a485669f753db961e132a46bdf0ffa411fe5e docs/models/components/standardsurveyquestionjson.md: id: cc32818c26d6 - last_write_checksum: sha1:b0b0d6757ae98da6f3e31dd1e0a2a9581efa7dde + last_write_checksum: sha1:e2a1b624233efb77b9da766af6e4760853c9bbba pristine_git_object: adda9cedf2634e8b4c2d713bc7b6f29d82d05444 docs/models/components/standardsurveyquestionspaginatedresponse.md: id: 156545a57d07 @@ -4510,6 +4414,8 @@ trackedFiles: id: 49ae1ea9a712 last_write_checksum: sha1:64c342868f9daa542d6fed7ebd3b61836f5b5bf2 pristine_git_object: fae9fef213d93f3be7ebc0eee8fb6c15dc5fff61 + docs/models/components/stateprovince1.md: + last_write_checksum: sha1:447fa242e79bf43be761a90cfa5631a9820f5071 docs/models/components/stateprovincejson.md: id: 1f2dcd24b882 last_write_checksum: sha1:ac5df9d715d624405252fbffd7b5939174757b50 @@ -4554,10 +4460,8 @@ trackedFiles: id: 9d7f188eec73 last_write_checksum: sha1:715eed6ef7925c623ca84795cfd8648c77a6e4bd pristine_git_object: cff57cb6a04410800766abf6bdce5f073a2a7d47 - docs/models/components/surveyresponsejson.md: - id: 491b34db0560 - last_write_checksum: sha1:a008982ca32cc44fb65de4d66c95396dffc8a133 - pristine_git_object: 5f07f2f859e505fd7101a82b2962cc9cb3097ec1 + docs/models/components/surveyresponse.md: + last_write_checksum: sha1:cfa55016001d8d23cd40433f71ce0c52a10cd363 docs/models/components/surveyseventcopyoverride.md: id: e1937042948a last_write_checksum: sha1:d6fb282e43d293fa562589a6e0ecf5bb0a8c0228 @@ -4717,11 +4621,11 @@ trackedFiles: docs/models/components/travelaccounttype.md: last_write_checksum: sha1:e10cb9a666052796cf18f397623298c4ec7157d1 docs/models/components/travelbidamenity.md: - last_write_checksum: sha1:275016dc966708fbfa01419bf2272094dca6cb7c + last_write_checksum: sha1:f7c27cfab749280134344cbd0937e783c2254719 docs/models/components/travelbidcomment.md: last_write_checksum: sha1:c719bae3921985a65f548f457611ed6f6e37ae39 docs/models/components/travelbiddiscount.md: - last_write_checksum: sha1:2bcd4e51d79b831c89a204af9f9fc65f4a5af7d3 + last_write_checksum: sha1:8e007ebc702cd1f83f6e7c42eb5f5521468ef941 docs/models/components/travelbiddiscountpropertyroom.md: last_write_checksum: sha1:4b636e2d8d03a20710413e31dcf3349eae568046 docs/models/components/travelbiddisposition.md: @@ -4731,25 +4635,25 @@ trackedFiles: docs/models/components/travelbiddispositionacceptedroompropertyroom.md: last_write_checksum: sha1:556b835ecb2bd12d60203109154f23aba1bf54d7 docs/models/components/travelbidfairseason.md: - last_write_checksum: sha1:3271e98ebce5cffd73e62bb24c8619b8c43b91f5 + last_write_checksum: sha1:b25087c8dbc59d9a8c1c61773557dd4b7d9d5ee0 docs/models/components/travelbidfairseasonrate.md: - last_write_checksum: sha1:b463255e1ec7aaa737f172bd3a6fd2828c84016c + last_write_checksum: sha1:319aac3400169b8a7809fdcd0f197975d0509572 docs/models/components/travelbidfairseasonratepropertyroom.md: last_write_checksum: sha1:ac96d6a71cf2fb944112f3e95fb6f75cd9e43d43 docs/models/components/travelbidpolicy.md: - last_write_checksum: sha1:e0ca4d05baa0440e0d408dbbb6a640489ab10904 + last_write_checksum: sha1:5007a4239603adbbc62d115a07909092fae652f1 docs/models/components/travelbidroom.md: - last_write_checksum: sha1:accdf0dfbf0a920db8570b4dcc61fa5789266a91 + last_write_checksum: sha1:ceaf873fe1609afbfdb9999f9e21568d6bbb23e9 docs/models/components/travelbidroompropertyroom.md: last_write_checksum: sha1:8e7065a6d92bb7252f36375b32d87c0f48bc10dd docs/models/components/travelbidseason.md: - last_write_checksum: sha1:1ac41098ccb2c257f2a2e675b8fff790235a82ca + last_write_checksum: sha1:fd097955ca110c8390d58551b41fc74780fd523a docs/models/components/travelbidseasonrate.md: - last_write_checksum: sha1:9613b0a3c90146d422f47db17ddd78f1dfaf68ad + last_write_checksum: sha1:95cb4dd9ccc03c78c04b300899151c83e45da98c docs/models/components/travelbidseasonratepropertyroom.md: last_write_checksum: sha1:b7b1d868d7404dd04391771d9301d1188aa0d67f docs/models/components/travelbidtaxandfee.md: - last_write_checksum: sha1:f968abec2c641575cae0f63bfd048a785f6524ba + last_write_checksum: sha1:5a21e4d29958f80888160512176e1a52bc2c0102 docs/models/components/travelbidweekenddays.md: last_write_checksum: sha1:b8b5b4d7eb6265654b3270a1a2f5c3181fc45205 docs/models/components/traveldeparturearrivaljson.md: @@ -4934,6 +4838,36 @@ trackedFiles: id: 640531053fb1 last_write_checksum: sha1:0f1a561861e70bd770f9f37fdbd3449428a1cdce pristine_git_object: 8ab36aab516bf76a9af9c3ae8bddb46af4d1b212 + docs/models/components/venuedetailsoverview.md: + last_write_checksum: sha1:d5e669e40e61836f71a045b4f9ab776dc3336f31 + docs/models/components/venuedetailspatch.md: + last_write_checksum: sha1:6766bc560ec23cec68be7c4018106b4b085f3962 + docs/models/components/venuedetailspatchaddress.md: + last_write_checksum: sha1:381732928d70079d1680f7ade95e53c57b20c929 + docs/models/components/venuedetailspatchchainscale.md: + last_write_checksum: sha1:f75e519775ad76b019328089eceb4bcdafbf35cb + docs/models/components/venuedetailspatchcurrency.md: + last_write_checksum: sha1:671e0fd685069376792b3310f694a06f7cfeb2e3 + docs/models/components/venuefacilitypatch.md: + last_write_checksum: sha1:d1b5c057c9dfb749fd7e5d2a6ab71183d6b492dd + docs/models/components/venuefacilitypatchdistancemeasurementunit.md: + last_write_checksum: sha1:c01fcd3dc1d8d6afb1a06b5ac51f08b519011b09 + docs/models/components/venuefacilitypatchdoublerate.md: + last_write_checksum: sha1:ab9a05d264d41bf0315b31d461b83ca0774ae182 + docs/models/components/venuefacilitypatcheventinsurance.md: + last_write_checksum: sha1:de987ba1eee9869f691c998578c88d7ac49a3688 + docs/models/components/venuefacilitypatchmaximumcapacity.md: + last_write_checksum: sha1:ec3eac2d6d337d72aaa9feca74d6b53c34e9a7f2 + docs/models/components/venuefacilitypatchmeasurementunit.md: + last_write_checksum: sha1:b36001359d3550a290c2293556203a27290a4a3e + docs/models/components/venuefacilitypatchproximityfromairport.md: + last_write_checksum: sha1:94778876f63ea858abd953974da8feff6344df17 + docs/models/components/venuefacilitypatchsinglerate.md: + last_write_checksum: sha1:62891ed392319757ca36f8b20a0f1c2280a37f2b + docs/models/components/venuefacilitypatchsleeping.md: + last_write_checksum: sha1:613e8fee12b0a5d5cdbcc86b537e945606187afd + docs/models/components/venuefacilitypatchspace.md: + last_write_checksum: sha1:e04e101c3878e833929a78ea76316f074cf07571 docs/models/components/venuejson.md: id: d8f3a5531932 last_write_checksum: sha1:ddc254907a1d257ed1b1dd157dec3fd6e212af4f @@ -4950,6 +4884,8 @@ trackedFiles: id: 2c813b7a2a16 last_write_checksum: sha1:9c07dbf3a5bc2ab0880743f039dff5d6ca97dfa7 pristine_git_object: 724fd8f840b9adde834e706700b9d02d2200fc8e + docs/models/components/venuetype.md: + last_write_checksum: sha1:ad03c912aa95baf4fdea82d4048679a527fc0a13 docs/models/components/version.md: id: 2dfdc559e77f last_write_checksum: sha1:a874c4fa46d657d87e796500167ae29d29c6e7b3 @@ -5076,36 +5012,28 @@ trackedFiles: pristine_git_object: 4ee85836ff16136fc298579d501f4dd6bde1c009 docs/models/components/zeroallof1.md: id: 58258c1e9bb2 - last_write_checksum: sha1:c75955351368999b79095d0263f67bebd311a92c + last_write_checksum: sha1:dc9d5fd1ca44d31c876bdea32f45e846838b47f6 pristine_git_object: 8a965e44a8b2b4fb6c253ceff2847f6a20ed86fe docs/models/components/zeroallof2.md: id: edc4a51d9ee2 - last_write_checksum: sha1:776177dba5a114d18187f470a51eb8e4799b6f92 + last_write_checksum: sha1:b7013b2dc34ba017ea685760a89e1c74924d71cf pristine_git_object: 30310e64eef29de2022719b8627a1e998192a9dd docs/models/components/zeroallof3.md: id: a2667580e0fc - last_write_checksum: sha1:61450437e29948e725b591edfa61b70af50309a9 + last_write_checksum: sha1:d8eaf3e876ad1b7b5552644e0b515e5e91a81df1 pristine_git_object: fda04052c0258920f007d7e573050ebbe32a7f8c docs/models/components/zeroallof4.md: id: 7804e9f412be - last_write_checksum: sha1:d04778af262a72dacae0887529fd65990eddae40 + last_write_checksum: sha1:f8797566493470bb8673717a5c2879bab4f4414f pristine_git_object: f956a4c2797dd10be2879d6c3b0ef9848b0eacd8 docs/models/components/zeroallof5.md: id: 55bdc9aa0827 - last_write_checksum: sha1:fc906c55f9deb1fe37393c11e4dc6ea66f05f442 + last_write_checksum: sha1:be4222385cfeab2bdbc703d15447e1f5cc484d6c pristine_git_object: 79b66fb9563109035de68b59392a45dabeee908a docs/models/components/zeroallof6.md: id: 9d79ffdad4be - last_write_checksum: sha1:644172f390bf63e26ece9dbc9b84834631ee1892 + last_write_checksum: sha1:ff236605d25e095993714749e9380afa52792489 pristine_git_object: fd8c702e10151de39635e2ee9b96151998f52619 - docs/models/components/zeroallof7.md: - id: dd34773bd2f6 - last_write_checksum: sha1:14e7f075ed7785815ef88e5e9033ba1ad68700f2 - pristine_git_object: 8f58d15aa53a9189e91490199fbe9e2f3ff323b6 - docs/models/components/zeroallof8.md: - id: 745f725b6abb - last_write_checksum: sha1:197628f896784ac3ab7d015d9cac68220971cb7f - pristine_git_object: a9563e68602840f8eca7219898c6c65c0e5f6df3 docs/models/components/zeroanyof.md: id: 06dc8acdd8aa last_write_checksum: sha1:f4976ed908d4e9095d2a253c14e7e045561f28fc @@ -5121,7 +5049,7 @@ trackedFiles: last_write_checksum: sha1:8b11c625e931f517b420fc560defa083c224e3fd pristine_git_object: 52a062528f6652dec53cec4ff5f4f21a0b9be1cc docs/models/errors/errorresponse.md: - last_write_checksum: sha1:9456b446bf3d99386b4372546ff9a3dba744f939 + last_write_checksum: sha1:df15ea3a5c4cca0214db81b630132f53ca3b4917 docs/models/errors/errorresponse1.md: last_write_checksum: sha1:f872fc42eca9a2ad88885e3738f80775275700aa docs/models/errors/errorresponse2.md: @@ -5131,7 +5059,7 @@ trackedFiles: last_write_checksum: sha1:4449a3f27fa00636a1bb16066980866c5093e9e9 pristine_git_object: 7fccbbd8a9f2d92252a1b0d4e84bb7b7a23b788d docs/models/errors/segmentserrorresponse.md: - last_write_checksum: sha1:02deec63fd09173e356ccd69cd35d9a43f939571 + last_write_checksum: sha1:35d50484e44c8ddb979ad5035bf67c0074717b0b docs/models/errors/validationcode.md: last_write_checksum: sha1:7c1ba8810558a20355f3870e513def7474e343b3 docs/models/operations/addcontacttocontactgrouprequest.md: @@ -5296,8 +5224,12 @@ trackedFiles: pristine_git_object: 2a2d85e07a85d8de8387b79f1ee4fb0c0df65f1e docs/models/operations/createmeetingrequestrequest.md: id: 76fd59d1b815 - last_write_checksum: sha1:effee674bd55892b59477c91dae79ad644912ec2 + last_write_checksum: sha1:567697385ada8f52aa7d81291a877a102180bd07 pristine_git_object: d1cf521d9bad3a15e897567cc7b5445d0021e7c9 + docs/models/operations/createmeetingroomrequest.md: + last_write_checksum: sha1:19592a2fb017c883daddd4f73d2198e8c9c642b3 + docs/models/operations/createmeetingroomresponse.md: + last_write_checksum: sha1:150bccee311a892d858ca78bcdacca67ee4bb641 docs/models/operations/createpaymentrequest.md: id: 02265013a5f0 last_write_checksum: sha1:3355d6d517daa5931fae352789d7deb6e6cbaf87 @@ -5528,7 +5460,7 @@ trackedFiles: last_write_checksum: sha1:36270c30f00f136f6abfaaae2eab7cbe43c9d0ef docs/models/operations/getairactualdetailrequest.md: id: be27ae261d90 - last_write_checksum: sha1:a4ba4e28348ce6f7b59c19d6ea032d541c52dda2 + last_write_checksum: sha1:627e4dab3a96dee9bbc4280640cd6888eb445bf2 pristine_git_object: 7bbeba26440021d237b1ed573222de37aed174c3 docs/models/operations/getairactualdetailresponse.md: id: 5c4986c3b584 @@ -5536,7 +5468,7 @@ trackedFiles: pristine_git_object: 6513d65813809953fb5008f0c6204b7059cee8cf docs/models/operations/getairrequestsrequest.md: id: 13765daab454 - last_write_checksum: sha1:943777e97d759f0ed92ff2a8dd97549fee0e311d + last_write_checksum: sha1:49fb6c6d9088f0f0260da28689a69f9a46f4f44f pristine_git_object: 2925b6eb8400380a5de131c2cf909d6c615a1cc1 docs/models/operations/getairrequestsresponse.md: id: 7f916a356f84 @@ -5551,7 +5483,7 @@ trackedFiles: last_write_checksum: sha1:9011f6f7ad9b0b12c6a75ee9fe694f9d60d73ec2 pristine_git_object: 2abd3892051ff1429916cc0b005bb0d7905ffb27 docs/models/operations/getalternatetravelanswersrequest.md: - last_write_checksum: sha1:deb7d4ec2beee620ad02a829a7ae45a9b9351824 + last_write_checksum: sha1:10ddf3d3337affa6c79413ec706cb14a3f2114c3 docs/models/operations/getalternatetravelanswersresponse.md: last_write_checksum: sha1:684bb10b78affc257b493c957fcebf9b6e3ed0b8 docs/models/operations/getappointmentattendeebyidrequest.md: @@ -5644,7 +5576,7 @@ trackedFiles: pristine_git_object: 443e35d67be7cfc15365736e745301c96d07d27a docs/models/operations/getbudgetallocationsrequest.md: id: d1f175da6cbc - last_write_checksum: sha1:1385190cf849d0652dbc1ec34688fde909329df5 + last_write_checksum: sha1:18afb70c8fa3eef02e54c71ccb9ab2060e1e5a3f pristine_git_object: 936e8e21c7dbca5ea521a67505a10e450c8484a6 docs/models/operations/getbudgetallocationsresponse.md: id: 4b61356f9181 @@ -5812,7 +5744,7 @@ trackedFiles: pristine_git_object: 3aa8adb06ccb1c0d0f55abb7a1f30a4becd8ed6a docs/models/operations/geteventfeaturesrequest.md: id: e69bac104271 - last_write_checksum: sha1:86d9e6be780749064fe6295870dc977cc2d0095d + last_write_checksum: sha1:83893f9259a2b8db9f307614559e639de6c943e6 pristine_git_object: de668fcda07424aff0b8bd3ecd7d759a472d1981 docs/models/operations/geteventfeaturesresponse.md: id: 109b76064881 @@ -5848,7 +5780,7 @@ trackedFiles: pristine_git_object: e00f8eeb709c708780d9381da8aa848da19f28f8 docs/models/operations/geteventsurveyquestionsrequest.md: id: 226625e91860 - last_write_checksum: sha1:d1a2c4d5a9cbb781b05869636a027cbb8b988857 + last_write_checksum: sha1:680e359bb7e967b267ae9a06ef3c582500432074 pristine_git_object: 2fe75d73c8362ced6715774e04f8031a2db65c98 docs/models/operations/geteventsurveyquestionsresponse.md: id: 3d7ae3c86899 @@ -5864,7 +5796,7 @@ trackedFiles: pristine_git_object: b2fbd8b55292a451ddc1f15a3f46afdd8386119d docs/models/operations/geteventsurveyresponsesrequest.md: id: 8f863bb91966 - last_write_checksum: sha1:51a7be44e9a169e4882350da03df6fa67a1a9503 + last_write_checksum: sha1:6c6e7ea0d0fd6a03de3e2f25c0156e7e6362862a pristine_git_object: 538d0fece7bae23d98e2c2cecc71a5b1c0a44689 docs/models/operations/geteventsurveyresponsesresponse.md: id: 5c4489b8bf11 @@ -5872,7 +5804,7 @@ trackedFiles: pristine_git_object: 67eb06585989f289cdb3e85fd319938f3cdaa169 docs/models/operations/geteventsurveysrequest.md: id: c42a626b42dc - last_write_checksum: sha1:67191ec53b22db7d383010087a408444781a04b5 + last_write_checksum: sha1:83b6c68b3e4f2823d20710b2926eedd14abccb13 pristine_git_object: f8eb223c53fb158abb7d853b5a7d2d398cece103 docs/models/operations/geteventsurveysresponse.md: id: d0ff9beff20a @@ -5936,7 +5868,7 @@ trackedFiles: pristine_git_object: f2e8b7236cd7b183819a17f7c003010f7d949918 docs/models/operations/gethotelrequestsrequest.md: id: 80f991df8629 - last_write_checksum: sha1:adfe8728541ce12ffc76c887a94d8ed2cfdf768c + last_write_checksum: sha1:14e34640381becb4724abc78a19d0e073cc755a9 pristine_git_object: d0a0b0c3b849a4495bc8f50f89cb3a6eded5d0f5 docs/models/operations/gethotelrequestsresponse.md: id: 2dcc63482b04 @@ -5976,7 +5908,7 @@ trackedFiles: pristine_git_object: b091d602d2e57163393c5c0a5e19f1fba87c470f docs/models/operations/gethousingreservationrequestsrequest.md: id: 6369d0740562 - last_write_checksum: sha1:e74560ca2a5c5d8c14a6ef9ec1dabf7b20a5f2e4 + last_write_checksum: sha1:7cbd4306846e8dbb7eebf59e0c68019487ba2928 pristine_git_object: 77dc076ad28e73b5ae3544310b99e6860affe06a docs/models/operations/gethousingreservationrequestsresponse.md: id: 70c41983948a @@ -6042,13 +5974,15 @@ trackedFiles: id: 08ec9eddda47 last_write_checksum: sha1:93570ba68f46376987258e70604e72dfc724b577 pristine_git_object: 5b0f7a8e8ed9edd0f1d97666ddd32e4e44337edc + docs/models/operations/getmeetingroomoverviewrequest.md: + last_write_checksum: sha1:0cf7d67bf6cac39c0d51d6b21c38168293e0b9f8 docs/models/operations/getmrfbyidrequest.md: id: eb11ea4b9112 last_write_checksum: sha1:fc76b422e55840532d7701c5579e18c072407aaf pristine_git_object: 969a794d1f5eae98e8410e3c5ba97d15e95d8bae docs/models/operations/getorderitemsrequest.md: id: a43429fed646 - last_write_checksum: sha1:34a771103e6c7d7a6d7fe5957d26b0546497bcdb + last_write_checksum: sha1:75284bc55093c1a483b5a2e2b7cda4d37402d18b pristine_git_object: 7166e629b265ddcd3729586761fd4fefca8c4119 docs/models/operations/getorderitemsresponse.md: id: 44408cd71f6a @@ -6056,7 +5990,7 @@ trackedFiles: pristine_git_object: 73969051d2ed100759e43beea2d7aded1827473f docs/models/operations/getordersrequest.md: id: 323ad826974a - last_write_checksum: sha1:1f8807bbd26e5ac6f171ec4fe4c3b30be8d265cb + last_write_checksum: sha1:7e97e676901db3f5ac727b9a626fa7fc0c655fd4 pristine_git_object: 81d073d5f529ecbe3c41cd5360eae4a58c5966cd docs/models/operations/getordersresponse.md: id: c230f19f893e @@ -6216,7 +6150,7 @@ trackedFiles: pristine_git_object: 859ae1ee45915c6ca762cc7937af2afa34c9ad70 docs/models/operations/getstandardsurveyemailtemplatesrequest.md: id: 6419bc7d00df - last_write_checksum: sha1:57c3c86a4ce31d21380816848fd784f77469fe21 + last_write_checksum: sha1:16860d01d81acabb8ceacb70b788c7f80c7d2ce8 pristine_git_object: 7065d474df5c037d23acd68ec5ae997d7377d345 docs/models/operations/getstandardsurveyemailtemplatesresponse.md: id: 23a8d362c396 @@ -6224,7 +6158,7 @@ trackedFiles: pristine_git_object: 2a382a2b3a092759bb64108dcb27afa772e4eebb docs/models/operations/getstandardsurveyquestionsrequest.md: id: e9c5362f4108 - last_write_checksum: sha1:a34c0e5af6ac983ece3aed54d149a3414460f27e + last_write_checksum: sha1:875b45a67d208a1647329edc1c404531f17a6b7e pristine_git_object: c97958c99abb9da0ca6f8d4436d0bf6992c03680 docs/models/operations/getstandardsurveyquestionsresponse.md: id: a1d9b01429d8 @@ -6330,6 +6264,8 @@ trackedFiles: id: a9d484e15f97 last_write_checksum: sha1:55e27d24d5b29106a4b3c3ade1e4f7c045f6cc5d pristine_git_object: d324dc0bccdad50e5cfd1efc652fc7d1ab09c4ed + docs/models/operations/getvenuedetailsoverviewrequest.md: + last_write_checksum: sha1:7c58541b94854ec715404014237381242c766649 docs/models/operations/getvideoviewsrequest.md: id: 71c8447da016 last_write_checksum: sha1:3542e23e4ab642109bc9b937e859c0bd38ce24c5 @@ -6444,15 +6380,15 @@ trackedFiles: pristine_git_object: 8f89fb0ff8086e20bc93ae9eae2cbe7d60aefb50 docs/models/operations/listattendeespostfilterresponse.md: id: 3195c54a30e8 - last_write_checksum: sha1:88dbfbf7561af78e36e8b9868a177c777378a413 + last_write_checksum: sha1:d743be14fb38ffbdc09a1b6b1bccdb33b44a01f6 pristine_git_object: 1059127e5f44dbe123fa7438322f964787e3aa33 docs/models/operations/listattendeesrequest.md: id: 86d79b5330c0 - last_write_checksum: sha1:7f6bb6d330914138299eed978e28463eb409e174 + last_write_checksum: sha1:4ec1644dfcf4a62cf44d621bc259c104581efca4 pristine_git_object: c620e252d67d0ee254b00c815e79c05d44a0f899 docs/models/operations/listattendeesresponse.md: id: bef9085cfc7d - last_write_checksum: sha1:323fda0dd0c381724ad5828dc6dfada8c50859ff + last_write_checksum: sha1:fc11a91471da9369a7e3e4ace9d93e550c61fe90 pristine_git_object: 6d67c8251a01aebdf3bdce43386b513ac9b5693f docs/models/operations/listaudiencesegmentspostfilterrequest.md: id: 40431411a37c @@ -6500,7 +6436,7 @@ trackedFiles: pristine_git_object: ebdf079890fd551144d432aa5cdd6b18fb22693c docs/models/operations/listbulkjobresultrequest.md: id: 67dd62b775bd - last_write_checksum: sha1:84f78bea58f59ecc7b3131bf7b81dd917e8e7f3f + last_write_checksum: sha1:a5d4740dcc2687ba7d550c2195e7e604c282c0f2 pristine_git_object: 97975d46918542bf7fb11f24e4ef8d5d4258c9c4 docs/models/operations/listbulkjobresultresponse.md: id: 12a8a7d17aca @@ -6632,7 +6568,7 @@ trackedFiles: last_write_checksum: sha1:a3e9b2d80a8d3e7494bc5194fbf5d377f5b8ea9b docs/models/operations/listeventweblinksrequest.md: id: d00b26a544fa - last_write_checksum: sha1:7f2f9ad73302108282ae95eb28b743d302248f9d + last_write_checksum: sha1:6039fdc12767acbb04241ddaf035eaae849949e4 pristine_git_object: 57e64db1c2e09612f488695d280e2f7b26aa224a docs/models/operations/listeventweblinksresponse.md: id: b3336a9cd06e @@ -6726,6 +6662,8 @@ trackedFiles: id: f0dce8616e9f last_write_checksum: sha1:5b3ab53eb9a04f3e4563cc617bf6244434d2ce90 pristine_git_object: 861cb38d638249f1f92496e30c07af59fd270e61 + docs/models/operations/listmeetingroomsoverviewsrequest.md: + last_write_checksum: sha1:3054ed6251af17ddaa6e14e4baf625d56afb311a docs/models/operations/listmembershipitemspostfilterrequest.md: last_write_checksum: sha1:d7e7f59cb6c507d7f89b0fafe16e8863ed5c9997 docs/models/operations/listmembershipitemspostfilterresponse.md: @@ -7112,6 +7050,12 @@ trackedFiles: id: 98cdd704eb1d last_write_checksum: sha1:bf5ddc9d9391851334e3c5f6882fcf8f86193673 pristine_git_object: 22c3861f1323f24c6320901a204f217b7c5fc970 + docs/models/operations/patchmeetingroomrequest.md: + last_write_checksum: sha1:6a59aac99189b8e56e148f9d33a745e46c73e41a + docs/models/operations/patchvenuedetailsrequest.md: + last_write_checksum: sha1:1f2c49612438782ef53a58799a0fe865ad8fa5e1 + docs/models/operations/patchvenuefacilityrequest.md: + last_write_checksum: sha1:06c0e40b8ba9a4ad8caf05b791c9b03cb8c32251 docs/models/operations/postbadgerequest.md: id: 59553fba8747 last_write_checksum: sha1:e3ad0a6cbd9aab07f862e52e2b153fe5824050e5 @@ -7344,8 +7288,10 @@ trackedFiles: pristine_git_object: b0b7e1183107bd99c60dfdbd98a69eddba631909 docs/models/operations/updatemeetingrequestrequest.md: id: 849ea65758a8 - last_write_checksum: sha1:872343fe4b1386bb4809ecbceda5ff23a959a9f2 + last_write_checksum: sha1:beffe22f91594c47cf7cbf9f5d7268983a1b4ead pristine_git_object: 7194339b2b9f55668cb95c2038a2fd6c6b9145c6 + docs/models/operations/updatemeetingroomrequest.md: + last_write_checksum: sha1:704c8ced18d5c71852a457eaa222baf6362a254e docs/models/operations/updatepaymentrequest.md: id: 84306aa57f70 last_write_checksum: sha1:c38e76a6eb477c9b15f7498180f111b6956a50ad @@ -7406,6 +7352,10 @@ trackedFiles: id: 5d3d618e0abd last_write_checksum: sha1:4f61fa0ca81dd51393bc46709aae849fbaebb4a7 pristine_git_object: 732637f7b05dd7993abb3c861b633ab6621f1abf + docs/models/operations/updatevenuedetailsrequest.md: + last_write_checksum: sha1:95389b353892702df19f1f1e17ccf1cb96cab283 + docs/models/operations/updatevenuefacilityrequest.md: + last_write_checksum: sha1:3be9435c4b5c8327b80a1b4239c73b6d52eabfd3 docs/models/operations/updatewebcastrequest.md: id: 7e3bda084956 last_write_checksum: sha1:983a2e8f814e39ed6744a40bef9d626acd5cab1e @@ -7416,7 +7366,7 @@ trackedFiles: pristine_git_object: 923242b394a48f82cb9f0c6fbe87ab60675ac24c docs/sdks/appointments/README.md: id: f122535fcc9f - last_write_checksum: sha1:c7c1dcc9a3b0edd1d14e11272799356fe6c1eff5 + last_write_checksum: sha1:212e9662600f5df737961db84636e01f6af8d575 pristine_git_object: 59e9334eb9ba67d53d29453a9d3358b3c90230ae docs/sdks/attendeeactivities/README.md: id: ffb26672cefc @@ -7436,7 +7386,7 @@ trackedFiles: pristine_git_object: 4da121cd436059b30317be44ebec532eb5c2fd16 docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 - last_write_checksum: sha1:dbc7e5f72fe092ffa9565d114fe59f82b2c5d34b + last_write_checksum: sha1:5d5a191879c3658014ed671636120926a518872e pristine_git_object: ae74c9bf2b2cd20359a11e4a02eacd2564459bb1 docs/sdks/authentication/README.md: id: 45be241adfc3 @@ -7452,11 +7402,11 @@ trackedFiles: pristine_git_object: f2e11667bf0ae570ce4a38d1f6ae79cc2f1d1857 docs/sdks/budget/README.md: id: d80c75fe97ef - last_write_checksum: sha1:f79d777a5ca26d9660d780fc8bf317149e4c97dd + last_write_checksum: sha1:cf0d7d561a3b5c912cbf832ae0a9e8c50e82fb2d pristine_git_object: 374958ce28e273758cc5f3cabaf6daeab7bad928 docs/sdks/bulk/README.md: id: fa4bd7a4682a - last_write_checksum: sha1:906bf2095d953aff46f8ab742a62ba639a5b8ad5 + last_write_checksum: sha1:4076a767e014532286af26e6be8dae9039ced804 pristine_git_object: ace3db03b9be0d5edd127792291bce9be7657ef0 docs/sdks/campaigns/README.md: id: 18dcc3c717ca @@ -7492,7 +7442,7 @@ trackedFiles: pristine_git_object: ad500f4af2d2fad77836959305b656c12f6828a5 docs/sdks/eventfeatures/README.md: id: f5ab41640918 - last_write_checksum: sha1:1b945009afde90207982a773a0a379a195627405 + last_write_checksum: sha1:06009434e1b3d7b89623b91dd6aaf56521e53c66 pristine_git_object: 6d8ce34e37de633f8c12adc1eea9824235433b35 docs/sdks/eventrole/README.md: id: b10e2c12d0e8 @@ -7508,7 +7458,7 @@ trackedFiles: pristine_git_object: 6e8c3cc5e952f1e51b9e5193e804b3bf49239149 docs/sdks/eventtravel/README.md: id: d7533cadf8e6 - last_write_checksum: sha1:578ab6083e58ceea8b15d352278a5424447ed508 + last_write_checksum: sha1:e23dba05324a604df8172baf2ba4369d52b0e1f9 pristine_git_object: ba30d18596ed809f184758fe7bd7f4930ea10bb0 docs/sdks/exhibitor/README.md: id: cb0578099210 @@ -7516,7 +7466,7 @@ trackedFiles: pristine_git_object: 5aed3208c45926b1ea683dc6060075a61457002c docs/sdks/exhibitorcontent/README.md: id: 7cecd37f6b66 - last_write_checksum: sha1:ffcbc9f181663dd2d402f846d5f496505c8a9059 + last_write_checksum: sha1:bf4fd796001e8bf83a311b8a73d58bc663d109c5 pristine_git_object: bb04638812e2355947172270b2dfd6af5b36b1b0 docs/sdks/exhibitorteam/README.md: id: f5b7c80d738e @@ -7544,7 +7494,7 @@ trackedFiles: pristine_git_object: 9ba3c834dafdaa530101861d637797e586e213f8 docs/sdks/meetingrequest/README.md: id: 4d8d5f5fd977 - last_write_checksum: sha1:dec64b78e307d95e86b427f2c39429f71927668b + last_write_checksum: sha1:c3c0861d6b1e1f115412b026d4bed610cee634d3 pristine_git_object: 9b9ded21daa94d43e931dd25bafa0aeddaf66b6e docs/sdks/processform/README.md: id: 0d23c161e66c @@ -7580,7 +7530,7 @@ trackedFiles: pristine_git_object: 968655ce8e63d8261a3482a8e83276f194e6e79f docs/sdks/surveys/README.md: id: b7f48111aedf - last_write_checksum: sha1:ca5bb6dc356e26e94e11a8099ef7efe2cee0a5f5 + last_write_checksum: sha1:7eb83188699148432e78f5ff612f925cbe0c4fa0 pristine_git_object: 8a018d3f71cfaa1767ca9e0f35bde544d5a85fd1 docs/sdks/travelaccounts/README.md: id: 361add025274 @@ -7606,6 +7556,10 @@ trackedFiles: id: 50529a579425 last_write_checksum: sha1:1e9ba6cc8c81308feb535d29a9a5b1641cdb35cf pristine_git_object: 7727cb3c5520eba17f8af81e0691aa66bcf6a6f7 + docs/sdks/venuemeetingrooms/README.md: + last_write_checksum: sha1:5068b71b8b03b0ea591058201870e0afaf33aade + docs/sdks/venueprofiles/README.md: + last_write_checksum: sha1:03bcfce3f6782ef3c0c627e98417f1e13afc0d1f docs/sdks/video/README.md: id: 0b01dca84f9e last_write_checksum: sha1:670512d3470203904f937c8e194895e1b74d7fcc @@ -7640,11 +7594,11 @@ trackedFiles: pristine_git_object: 80795a72645811f07559dbfd91e59131f127b3d4 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:c03342db89867d5528861155e70bfcb250f98f73 + last_write_checksum: sha1:8810cdc7ba82a3f2f7d4d6557ed8e8a6d09d1a48 pristine_git_object: 3f8c18265e80f8c46d349b3a7d92f1a61f1d2dc9 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:e4de39d1cb78d0ea94ccb4d444b7b323954ec02f + last_write_checksum: sha1:78bff0f362e9370fde910f22d1b87f9b0c8da177 pristine_git_object: 3474c00ef1d014883367c7bbeca6cbe6e330ca41 src/core.ts: id: f431fdbcd144 @@ -7656,7 +7610,7 @@ trackedFiles: pristine_git_object: bae961e8bec66ab6dc2aeaf045badd4f1dc3f59f src/funcs/appointmentsCreateAppointment.ts: id: 9a1a1c08e8f6 - last_write_checksum: sha1:77bd3de966d60fd331b3d979cf38727410b727df + last_write_checksum: sha1:0ac459e1a008db3c484245d79123dd6a7e26bf61 pristine_git_object: 6156185535ecae645333afec4c2370d910eb6a7a src/funcs/appointmentsGetAppointmentAttendeeById.ts: id: 784a373d8cc2 @@ -7712,7 +7666,7 @@ trackedFiles: pristine_git_object: 2c277f480530c6d918e19a3618b8415512ae98bd src/funcs/appointmentsUpdateAppointment.ts: id: d38d6cd473bf - last_write_checksum: sha1:659d9f746ed46363ec4be97006458fdb2fb68ce9 + last_write_checksum: sha1:9b3604918c1768fb3491dcab79f7f29c323cace7 pristine_git_object: 27905e6bac67fe1935c18e65d2269ab653d3de47 src/funcs/attendeeActivitiesCreateAttendeeActivity.ts: id: a2d2fdc1d4d7 @@ -7806,11 +7760,11 @@ trackedFiles: pristine_git_object: 50447cf16f0939d005106c92a5d0e18f8461bf8a src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts: id: 8f56d9799096 - last_write_checksum: sha1:5ba32afa4ecb8c098b021411e7b42d639e82dad4 + last_write_checksum: sha1:90cbafd7cb2365dff3dae295e1d83c8ed2e1a068 pristine_git_object: ca8b030603fe38777c1e4eab4941d3877fd17ee7 src/funcs/audienceSegmentsCreateAudienceSegment.ts: id: 7914b9966d85 - last_write_checksum: sha1:f12047cd983b15e92b312221975e67094066f730 + last_write_checksum: sha1:7308d50b4233318db2f2013790b787192f6e4d32 pristine_git_object: f8bd61b3941ac65d38b88a773206f6164093792a src/funcs/audienceSegmentsDeleteAudienceSegment.ts: id: 95f332486e35 @@ -7846,7 +7800,7 @@ trackedFiles: pristine_git_object: ce3b4bfcf254902496de90c85788fbca0adbd2a0 src/funcs/audienceSegmentsUpdateAudienceSegment.ts: id: 3ee73f120fc4 - last_write_checksum: sha1:31a3f3e02a12e3cd853400b0b0b7e92e69d47c02 + last_write_checksum: sha1:4a85b45b76ccf96e3b4afc89d42391272e79f0fb pristine_git_object: 7cb51cc37cc2ec165ee974e618373962362bf87d src/funcs/authenticationOauth2Authorize.ts: id: 60d2e98d83a1 @@ -7988,7 +7942,7 @@ trackedFiles: pristine_git_object: 948f931f877573bfddfccb0c4542808e16d013ba src/funcs/bulkListBulkJobResult.ts: id: d0a2ab0b29db - last_write_checksum: sha1:175aeaf2e6bcfda87cdddb2469be7b6112b4aaaa + last_write_checksum: sha1:2c40ce2b902826c2ddc71b23c7b70901c933bae1 pristine_git_object: 6c36ea2750cd182da062778abb03d888f95bc470 src/funcs/bulkRunBulkJob.ts: id: 0f0e88377c6b @@ -8460,7 +8414,7 @@ trackedFiles: pristine_git_object: e35e89b6ff00a61f4972f0a8ec8364e392c1d990 src/funcs/exhibitorContentCreateExhibitorWeblink.ts: id: 0f98e0e6a2b5 - last_write_checksum: sha1:50a3c658ddbf89315b49684ae4918060906adf2f + last_write_checksum: sha1:ae2fd39c75e7f1640ad8c3ec0ff5cfa65d093159 pristine_git_object: 43833925ed5e316ecfed7382708d46672d0563c3 src/funcs/exhibitorContentDeleteExhibitorWeblink.ts: id: e940c4c2ed51 @@ -8488,11 +8442,11 @@ trackedFiles: pristine_git_object: 7cce1e1ff100a7b1b7fc781973c2dccfb1ea5aa2 src/funcs/exhibitorContentUpdateExhibitorFile.ts: id: b0cce1998eb4 - last_write_checksum: sha1:d7ceb3ae52921271c50d150a5b62be3f958c7241 + last_write_checksum: sha1:bdfc9e2bea4216c65570772da9c00b6914d06863 pristine_git_object: a1163544e11321bcaf9fdd0452bf2c7fb5da0256 src/funcs/exhibitorContentUpdateExhibitorWeblink.ts: id: 854bbed5fd04 - last_write_checksum: sha1:bc5dce8f59a1629621992254e112d28bdeb5c5c7 + last_write_checksum: sha1:2e1ce4769c6af7594ee9aa01de2de5e8c5866360 pristine_git_object: 90c0929a3d474e8d30c932e258b979ec8a6aae63 src/funcs/exhibitorCreateExhibitor.ts: id: 4c667e574877 @@ -8772,11 +8726,11 @@ trackedFiles: pristine_git_object: 1db82cc592201fd5e4df0859a58c9b145f2b5c80 src/funcs/meetingRequestCreateMeetingRequest.ts: id: d368d3da91f5 - last_write_checksum: sha1:2f8f4ff496ca5ce9470158f427b0a0fbb6978d15 + last_write_checksum: sha1:e951aeecd36ed9e8bbaa9c41db78e6869d3a53e4 pristine_git_object: 96c9fa87f1993253cbd3181c6b0f5244f2c01119 src/funcs/meetingRequestGetMRFById.ts: id: 6989fee9f353 - last_write_checksum: sha1:44e4582b1c49a6544a40c9ee740e8d7eb3653792 + last_write_checksum: sha1:e6dc110e5e7d31263428aba41acb70fca5cfdfb0 pristine_git_object: 85a6f45fb3a064da68effb6fd19a8dd9196712e9 src/funcs/meetingRequestGetMeetingRequestByEventId.ts: id: 1810e88d8901 @@ -8800,7 +8754,7 @@ trackedFiles: pristine_git_object: cb726cf322e0f4827d028df22cbdc818dce04dc6 src/funcs/meetingRequestUpdateMeetingRequest.ts: id: 6c3ff5471a27 - last_write_checksum: sha1:885dff3578afa4ba846095602b4ba7dd00dbd6d8 + last_write_checksum: sha1:893565cde590e9db4c1dcedecebe60779b04b355 pristine_git_object: 2d161dfe4ac8692214c5fde50121b4bb9cc4c336 src/funcs/processFormListProcessFormSubmission.ts: id: 99fb63ddad7d @@ -9182,11 +9136,11 @@ trackedFiles: pristine_git_object: b5f17b9e816323bdd3183002520d4847968b4703 src/funcs/travelRFPsGetTravelProposal.ts: id: c25dff0cd373 - last_write_checksum: sha1:3c6de64b1f6327b5525781c413436a4cff9e7ee8 + last_write_checksum: sha1:119580907c1a668bac6762327037c00e0925eb9c pristine_git_object: 15c1a72faab3800817460d1139b65d7dacc4f7d5 src/funcs/travelRFPsGetTravelProposalBid.ts: id: 95aa7a2b9996 - last_write_checksum: sha1:831f0ea148b723e96ffe14252f478053db48b505 + last_write_checksum: sha1:55849c17ed3be03a6c56aa8b0e6732337ec14b36 pristine_git_object: c14ed40d0fcc99762a1237d433abd9ab8cf4b1dd src/funcs/travelRFPsListTravelProgramQuestions.ts: id: 50a060d9d62d @@ -9202,11 +9156,11 @@ trackedFiles: pristine_git_object: 790033d084cd0c1745ba52e275a52dea68cb969a src/funcs/travelRFPsListTravelProposalBids.ts: id: 29278e9ade93 - last_write_checksum: sha1:46ec5bbf4a5c51ea3560334d1be16576cf9f8df3 + last_write_checksum: sha1:3d6b565f7e6863d22130cce3fb629fce0b187120 pristine_git_object: d0c56118f3866a7f6d54ce8977ec4f8b5426941d src/funcs/travelRFPsListTravelProposals.ts: id: 27b89e5e00b8 - last_write_checksum: sha1:332b97cc0b39c488001566bc59a523872ccd5f89 + last_write_checksum: sha1:a761717a4f1529ccf0d56b5bed230e5034d6c7e7 pristine_git_object: a9ea8a9b421e67f581bf993abdce3cce2910e4aa src/funcs/travelSuppliersBtApiGetPropertyRooms.ts: id: 35810272514b @@ -9320,6 +9274,26 @@ trackedFiles: id: 60d707976a43 last_write_checksum: sha1:9d01a22a2a3e01ae3fdaafcce3f68bc8818621a1 pristine_git_object: 73edb24162ef7c93b5b8b5ddfece9c40fe69a761 + src/funcs/venueMeetingRoomsCreateMeetingRoom.ts: + last_write_checksum: sha1:3f411a6bb42a8bdcdc506b27eb4a499d66651af5 + src/funcs/venueMeetingRoomsGetMeetingRoomOverview.ts: + last_write_checksum: sha1:df04562925d404157a8b1684dfbd3a13bb8d79f0 + src/funcs/venueMeetingRoomsListMeetingRoomsOverviews.ts: + last_write_checksum: sha1:65131b216e0feb4b98745172c365b25f84324037 + src/funcs/venueMeetingRoomsPatchMeetingRoom.ts: + last_write_checksum: sha1:42c15e076f0c3ac0bf9d4b1dfe9502ccd5008972 + src/funcs/venueMeetingRoomsUpdateMeetingRoom.ts: + last_write_checksum: sha1:8c24c3b7dfd194ad9764a5108ab02ee4d47dda90 + src/funcs/venueProfilesGetVenueDetailsOverview.ts: + last_write_checksum: sha1:4b93c9ba945f124cb412cda405db0503ab124a86 + src/funcs/venueProfilesPatchVenueDetails.ts: + last_write_checksum: sha1:3ca81f45af1e417984cde8b9826bbf9a36c53c84 + src/funcs/venueProfilesPatchVenueFacility.ts: + last_write_checksum: sha1:960ffacdd10d5b42a0824caa29c0cd838aa469b8 + src/funcs/venueProfilesUpdateVenueDetails.ts: + last_write_checksum: sha1:7e76090dff197c5c1b80c573b601771085cc088c + src/funcs/venueProfilesUpdateVenueFacility.ts: + last_write_checksum: sha1:20c83bf4c7b5db39cadf2bf3842fa21bc19f7b02 src/funcs/videoCreateTextTrack.ts: id: ec23f2f700c4 last_write_checksum: sha1:a50539be47cecb764a6858ccf4cd26355f2310fb @@ -9406,7 +9380,7 @@ trackedFiles: pristine_git_object: f60ec7acd76141a71d78008c5a362eb0236d8335 src/hooks/oauth2scopes.ts: id: a709b8ce2ddb - last_write_checksum: sha1:20e005ad0e07a7d8391f6ed5856ed7eb5ab78de1 + last_write_checksum: sha1:9e31ed6825ef05805df0a71121805077ec949ec3 pristine_git_object: 2833d1e6072486c630391f889efb521f5ff51a91 src/hooks/types.ts: id: 2a02d86ec24f @@ -9422,7 +9396,7 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:fa66a40b82bbd1d222233ea30e9ebf962ece66dd + last_write_checksum: sha1:165637769e6023a10e80307ccc9f095138a62bbf pristine_git_object: 95847bcf50487c6ea615eb470cacdf861e9ba5e2 src/lib/dlv.ts: id: b1988214835a @@ -9492,58 +9466,32 @@ trackedFiles: id: 102c93b74be1 last_write_checksum: sha1:4030bc3f7082d193959e34d98baf314e656d0943 pristine_git_object: 62d822796b9435a6821cdb8a924c06e2f4d11a7d - src/models/components/activityadjson.ts: - id: 6f5094f25e07 - last_write_checksum: sha1:3d4b8ac67bfd0f1880268b741144715057f82374 - pristine_git_object: 10e0beeb9ec3c44284e210d87909d583221092c7 - src/models/components/activityappointmentjson.ts: - id: d61dc94303be - last_write_checksum: sha1:a77ac4a033439a9275cfe1a00f072373e11eef39 - pristine_git_object: 1662d9e194404bd91ce5ec75d33aa05576977f39 - src/models/components/activitybaseappointmentjson.ts: - id: efa6a7727807 - last_write_checksum: sha1:e773973f4548182ebe1b1bd550aaeffef137a41c - pristine_git_object: e8fa9214d352ba4ef9c7e7170945785bcc719842 - src/models/components/activitycontactjson.ts: - id: 3e864f70285a - last_write_checksum: sha1:e25f24178d997c1297c21c1cb8283e6d26872e04 - pristine_git_object: 724d0ac9c15d2d39e45912434e181abdbea9cac6 - src/models/components/activitydatajson.ts: - id: c06b2ce54017 - last_write_checksum: sha1:fede47abece82960d92116af9f18157150cb62d3 - pristine_git_object: 95a6b3bb5c05a5177b16189fdb87805ac4d36415 - src/models/components/activityexhibitordocumentjson.ts: - id: c7a6087064d6 - last_write_checksum: sha1:3cb642cd3f77887d83e1a0529d8d1dc1ba0aa7c6 - pristine_git_object: 708aff9a04a135e7a58679643453bdbff4521e1a - src/models/components/activityexhibitorjson.ts: - id: "009543693178" - last_write_checksum: sha1:db97ee861fbbdf1208de7c2181aa7e5d3af37e0e - pristine_git_object: 750bca00f0d2a9f3b1c38b732201c943da7ad68f - src/models/components/activityexhibitornavigationsourcejson.ts: - id: bc65e53d66de - last_write_checksum: sha1:0a2bcfd0b6c588fb009dec027949258fe140342a - pristine_git_object: 7bd399aaa8390d5e9cedf8efd7d1149eb5594882 - src/models/components/activityexhibitorsponsorshipleveljson.ts: - id: 8fd6b8348788 - last_write_checksum: sha1:d90b769ae153c71ea761b39b66f1c22b340f5bef - pristine_git_object: 6be69d77690b36d2d6af63ad25d7dcde2a513f51 - src/models/components/activityexhibitorweblinkjson.ts: - id: 834ec82bda5e - last_write_checksum: sha1:86fddddf89cbb60132e0688ca25ff015e3441d2c - pristine_git_object: e6ed08da61729d8ff61129d22fe3816d4212c431 - src/models/components/activityjson.ts: - id: 1f321aa2f22c - last_write_checksum: sha1:762870b588443d349f58586ed249752047b8d5d1 - pristine_git_object: 949089a972df430cf902e8936cc5cf4ffe9e610b - src/models/components/activityleadjson.ts: - id: 065f5c80d291 - last_write_checksum: sha1:6d4e1f595192d1b3154f5e0569a245886e5bed1c - pristine_git_object: 122aba87f1bbce7d3ddef05cb3a0ff6446c59e76 - src/models/components/activitytypejson.ts: - id: 57b54dd4f573 - last_write_checksum: sha1:ec36d08ceb2dde5efa6d17a07c0408c2d7a712ca - pristine_git_object: 6ff600382041e7df6f2c46b74504e5708f672848 + src/models/components/activityad.ts: + last_write_checksum: sha1:ef87760113e55d43f3dbc84c90dc96a3da5cfbd8 + src/models/components/activityappointment.ts: + last_write_checksum: sha1:13ef4bb175ed8158fb60360816dcf81437f17251 + src/models/components/activitybaseappointment.ts: + last_write_checksum: sha1:f07eb9200110a3b6fe6a3b7dbdf2b25b53174f10 + src/models/components/activityboothstaff.ts: + last_write_checksum: sha1:ca61a685d69eb570df7a7bf69e8dbfde68fa9a0a + src/models/components/activitycontact.ts: + last_write_checksum: sha1:0426444bbf0e02e058aa191bf02c351cc6f8112f + src/models/components/activitydata.ts: + last_write_checksum: sha1:2560d12bddca694d6f6b15f6038b3c5126a99917 + src/models/components/activityexhibitor.ts: + last_write_checksum: sha1:b741f64a2c942053959362a26ba79e8dd768dc5f + src/models/components/activityexhibitordocument.ts: + last_write_checksum: sha1:2e363997a85d502093a014af94ec211328f31904 + src/models/components/activityexhibitornavigationsource.ts: + last_write_checksum: sha1:775ba146ecad72f907d5cb26920cea9dbca2b84f + src/models/components/activityexhibitorsponsorshiplevel.ts: + last_write_checksum: sha1:88d63721b4dd965aed53f9a425306ce056031082 + src/models/components/activityexhibitorweblink.ts: + last_write_checksum: sha1:46f8acd517a5f8a15253f655a1279722d2225d6f + src/models/components/activitylead.ts: + last_write_checksum: sha1:a62add5d802d52c63b66b02314d971a80b2d0bfa + src/models/components/activitytype.ts: + last_write_checksum: sha1:ab79c606ad2d1cbe53f46122f115a1e25205f5db src/models/components/additionalchoice.ts: last_write_checksum: sha1:1fe0053a2c49b0aa7e22cf468fc66d0d1fef371d src/models/components/additionalchoice1.ts: @@ -9574,6 +9522,8 @@ trackedFiles: last_write_checksum: sha1:536023330e4cfc1ac265ebaa3ca5dc2bd4ed4c1d src/models/components/address7.ts: last_write_checksum: sha1:7a334144d21d7323f5b7fb6f57092bf7de819d26 + src/models/components/addressinfo.ts: + last_write_checksum: sha1:29a2ce2c81607ebf5a7dfbda68673ac797fd7ea8 src/models/components/addressinput.ts: last_write_checksum: sha1:ed7039251ef363b85badf4f129316f6913025e47 src/models/components/addressjson.ts: @@ -9586,10 +9536,8 @@ trackedFiles: last_write_checksum: sha1:022946cbbeb737ffa598c16331b68c370b8986cc src/models/components/addresstype1.ts: last_write_checksum: sha1:bb7f42f3dc31dd4aaccf24b0be4bbce0c43a786e - src/models/components/adlocationjson.ts: - id: d865930217ec - last_write_checksum: sha1:9684c1d71231155720e31ac814e93a12e86861bf - pristine_git_object: 5101484fbbf80451fdaa7040c393561d104fb7e6 + src/models/components/adlocation.ts: + last_write_checksum: sha1:9f653b1f52dcbbae054e654407f8901850bbff92 src/models/components/admissionitemspaginatedresponse.ts: id: dad4e1ddbff5 last_write_checksum: sha1:cdfe8083ab35582a460156f9807680a3e7bc5272 @@ -9658,28 +9606,24 @@ trackedFiles: last_write_checksum: sha1:d0595247c0f9a39f70de5fb706f44c32236f532a src/models/components/answer1.ts: last_write_checksum: sha1:b6ab38179f1ad7900e8278ce3b946d9dc554a916 - src/models/components/answer2.ts: - last_write_checksum: sha1:deca78bcecc861e10cbd9403026cd8bbcb1b8a6c + src/models/components/answer21.ts: + last_write_checksum: sha1:b4030388fb958cbaa2ac8ec8890f1dd0ce886c6f + src/models/components/answer22.ts: + last_write_checksum: sha1:fc7f64bf7826f21217d53d9efbe53c4be37bf45c src/models/components/answerjson.ts: id: d12541022178 - last_write_checksum: sha1:9e5e4581397278e9e5482b4c80095d02edd686a6 + last_write_checksum: sha1:f18479feed010fb1b5ec795470c666b8c3b1ce0a pristine_git_object: 4433d3ba2b256da939854535197e987447e4ac09 - src/models/components/answerjson1.ts: - id: baa39f07f62d - last_write_checksum: sha1:92f3a523fa71664d1504384c66085cae4536613b - pristine_git_object: 9c9ba37ef607bc2be67fc3ac5ca4d04c662a3514 src/models/components/answertype.ts: last_write_checksum: sha1:eefd934c5dfff63fa21ec3664d08263f1339bb97 - src/models/components/answertype1.ts: - last_write_checksum: sha1:6a696f98aef77d061e23141c3ff7e82ddc091a82 + src/models/components/answertype11.ts: + last_write_checksum: sha1:b731eb5e5ac92b859aead2550dd694a818dcad0c + src/models/components/answertype12.ts: + last_write_checksum: sha1:b733e69784611d4c1b11afdadf735ae0313d061b src/models/components/answertypejson.ts: id: a98e4833b1e5 - last_write_checksum: sha1:2dd6ffaadd4fc07ce32d98aff4947985227272c2 + last_write_checksum: sha1:6b113b6d2ee523690a970e594f146efbcb199968 pristine_git_object: 275eb26c7e3e8818b9102b6c8c66c9d0a3513f82 - src/models/components/answertypejson1.ts: - id: 66a535216c98 - last_write_checksum: sha1:f7dc5f988d693c0c87d293feb0b05111c8adaa52 - pristine_git_object: c10157eedd52b0961b2a6ae4011f0fb965ace00e src/models/components/appointment1.ts: last_write_checksum: sha1:896004ba37cb49a03de48907d7dfe421b805ea14 src/models/components/appointmentattendee.ts: @@ -9734,7 +9678,7 @@ trackedFiles: pristine_git_object: 1fefda49f93da9e76f5d4bc2fd64b074be18c4da src/models/components/appointmentpaginatedresponse.ts: id: 04f07ad15888 - last_write_checksum: sha1:885297aec6da44c8a7e066f2515e008cce38e29b + last_write_checksum: sha1:4e9c46f47989f60f8bae5bc6d2d95595aa277bb4 pristine_git_object: a04f21de079aef823469c9b86e6e676fbe0ba182 src/models/components/appointmentparticipantjson.ts: id: 2649ed86f478 @@ -9758,6 +9702,8 @@ trackedFiles: pristine_git_object: 9e85da5804e99c34e3a6d396ffca55e95ddb6d90 src/models/components/appointmentwithquestions.ts: last_write_checksum: sha1:0ca6b37e20ff75bd6ace3c46519ada4e1c3567c6 + src/models/components/areameasurement.ts: + last_write_checksum: sha1:b3ebbafb6966c7c3aac8e670400a9774dd5b2fe2 src/models/components/assetlocation.ts: last_write_checksum: sha1:0cf258090589308fa89aa8e38ec8c31a1851733f src/models/components/assetlocationinput.ts: @@ -9775,7 +9721,7 @@ trackedFiles: src/models/components/attendee.ts: last_write_checksum: sha1:3739853a098cae3db1a5d0538857831586ed4a94 src/models/components/attendee11.ts: - last_write_checksum: sha1:d23e1f4e26b11b5815acfdae0f74e22a886abebb + last_write_checksum: sha1:6c950b7422bc4dd886fe907f1d514df9e70e56d6 src/models/components/attendee12.ts: last_write_checksum: sha1:7bfd3bb33aa4506d000fb595f6e1cc3b983c04e2 src/models/components/attendee13.ts: @@ -9786,13 +9732,15 @@ trackedFiles: last_write_checksum: sha1:5e01eaaeae3aa10cf8e37db6471d049623b795b7 src/models/components/attendeeactivitiespaginatedresponse.ts: id: e2e29669b081 - last_write_checksum: sha1:5ace85256925cdceb43010a85bad98f8ec34400b + last_write_checksum: sha1:cd6f8f9b66ac98a477af9459098929f31eaf7458 pristine_git_object: 255565b6f79587ae1f1cb651ad5b239d8daf8cf0 + src/models/components/attendeeactivity.ts: + last_write_checksum: sha1:f9d1ec699bad3636fc284d100c894b690613fb4f src/models/components/attendeeadd.ts: last_write_checksum: sha1:505e8b8eb9d705b5ab1e9effa43db31aea9e770b src/models/components/attendeeaddbulkitemeventjson.ts: id: 0cbdc52f00fc - last_write_checksum: sha1:f2594a25fdb33325da8528e9430a265bd6548574 + last_write_checksum: sha1:6db4f213d1b3b436c9690f8eec572381c3acc3a9 pristine_git_object: f5af42821134bc9044151128a321a94517e1b134 src/models/components/attendeeaddbulkitemjson.ts: last_write_checksum: sha1:70b51d896dc18a3e01150d05c201cb2369d02c2b @@ -9817,7 +9765,7 @@ trackedFiles: src/models/components/attendeeaudiencesegmentassociationspaginatedresponse.ts: last_write_checksum: sha1:a1d80a77036257ae0ed774e9c3b95216e430e68b src/models/components/attendeecontactinfo.ts: - last_write_checksum: sha1:5a5d584a1892206c28f3f1cf11553cc796bb0966 + last_write_checksum: sha1:8549278b96933b92277989f0746f2599d1f8192e src/models/components/attendeecontactmembership.ts: last_write_checksum: sha1:a9df69efec72bce343e5db08dca41a0569da784a src/models/components/attendeecontacttype.ts: @@ -9896,10 +9844,6 @@ trackedFiles: last_write_checksum: sha1:399368616914c7708e9f4129cb3fcc7401ad0954 src/models/components/attendeestatus.ts: last_write_checksum: sha1:e3d9f0e0aa76e6cd5bd6419153d84e2b282b882e - src/models/components/attendeestatusjson.ts: - id: e3b4d7c2bc47 - last_write_checksum: sha1:272a2191377c7679cf9ab8fc17cd2b7ab0e4a77b - pristine_git_object: 43b0bd7074ddc37526e74e341bd0f21e652a2b0e src/models/components/attendeesubscriptionrequest.ts: last_write_checksum: sha1:060f9fd5986c29d59fc56c00dc5f5ccaba707db3 src/models/components/attendeesubscriptionresponse.ts: @@ -10018,24 +9962,20 @@ trackedFiles: last_write_checksum: sha1:deba9c05b1291d450ea936451f6c80d6336f8dbb src/models/components/badgetype.ts: last_write_checksum: sha1:bc9190a776417a1ae902bc53000228454c80b9bc - src/models/components/bannerlinktargetjson.ts: - id: 1cfba7729b08 - last_write_checksum: sha1:70af8147808c26735cd3c6169f6fbb391e3233dd - pristine_git_object: b3e9b8bb630d70f766d37c01e4626dc9ee6d0708 + src/models/components/bannerlinktarget.ts: + last_write_checksum: sha1:24858900609d516414442f3b42e7e5402d2cab10 src/models/components/baseaddressjson.ts: last_write_checksum: sha1:886d8fa16147bb8b7f8a9a3054f85fa3bcea4311 - src/models/components/baseanswerjson.ts: - id: 3c6b1f48f134 - last_write_checksum: sha1:6152e52585a0e7c71c68e4dd1b8ae4994b0236c0 - pristine_git_object: 24a2c1b641085ae989b38d20e10447e567539d81 + src/models/components/baseanswer.ts: + last_write_checksum: sha1:ce93cd12040ec3c8a85cd6267eb864b4b009a7e8 src/models/components/basechoice.ts: last_write_checksum: sha1:066ba22a943d9844d313b487c4022bbd30cf4a28 - src/models/components/basequestionresponsejson.ts: - id: 484fde44421c - last_write_checksum: sha1:5a00114aec7753543c47523ff714e0efc52d52c6 - pristine_git_object: 811f1359163d3689cc69b4cd2b39640b6109f250 + src/models/components/basequestion.ts: + last_write_checksum: sha1:cb75773b115ce78562d8cd95ba4bce9eeffdaaf4 + src/models/components/basequestionresponse.ts: + last_write_checksum: sha1:8f9ea026a76a5f9cb88a1d7cbc30c96e173bc42e src/models/components/biditemstatustype.ts: - last_write_checksum: sha1:6beb64b79329d02505bdec76bf271ecac83b4802 + last_write_checksum: sha1:31f96ac6c5a05f5aacd31f20a62bdd94b1381dc6 src/models/components/bidstatustype.ts: last_write_checksum: sha1:6cb0f2b37341b7510c02f09bb0507b680804b41c src/models/components/bidstaytype.ts: @@ -10108,6 +10048,8 @@ trackedFiles: id: ee2cb6735137 last_write_checksum: sha1:44e43912794c075239cb5a6f2578977a312577d8 pristine_git_object: d8083bff0d4792f304364a04260ba18311603e71 + src/models/components/budgetcategory.ts: + last_write_checksum: sha1:ca9a0088000fc4b3acc5056148a342c36e74f05a src/models/components/budgetcategoryjson.ts: id: 3ce004d4e440 last_write_checksum: sha1:638f9e973f27c131ecc0833475e2c91f514e07ca @@ -10120,26 +10062,24 @@ trackedFiles: id: 452576ef9ef7 last_write_checksum: sha1:e90694a128ece010ca6baf94378d09386ba07359 pristine_git_object: 90a95ca72518851549dd66c24b45d349316d730c + src/models/components/budgetcostdetail.ts: + last_write_checksum: sha1:2d3e23767d12634e8c38ff491fd2a9fb9bcbf1df src/models/components/budgetcostdetailjson.ts: id: f6399ca91bcb last_write_checksum: sha1:4f310c4904071d941f05b724d47942c677d54c04 pristine_git_object: a2bd15fc81aa6e1822ee319fbf068f59c7500cfd - src/models/components/budgetcostdetailjson1.ts: - id: 002abd531cf9 - last_write_checksum: sha1:07b861ed546f183b73b8790f3e9f07cca1e36db1 - pristine_git_object: 07907a9a510d550751701fcac99b0280577b5734 src/models/components/budgetcostdetailjsoninput.ts: id: cd658d727d0b last_write_checksum: sha1:6883c6cb42c20e156f32e4c1bb0ff8b93e9bd58c pristine_git_object: 8bbb6cf0c625d0d73aa77b0772f818c53a925c47 + src/models/components/budgetcosttype.ts: + last_write_checksum: sha1:bd8015a56b696e748db79e5d63a45794ebe921c9 src/models/components/budgetcosttypejson.ts: id: 44f69aaaccb8 last_write_checksum: sha1:a7bcff498e9b92010646f09b5128c2ac7d81778e pristine_git_object: 37ba3e61f1d6f8975ae744292f55a1f3f4fadaef - src/models/components/budgetestimatejson.ts: - id: 0229a50c18f6 - last_write_checksum: sha1:ca172a5d2728ecc6b6832db61c4e5ce98afc316d - pristine_git_object: 3c7d7d9de046985fc8ac0a68b20377226af448cd + src/models/components/budgetestimate.ts: + last_write_checksum: sha1:ed51d407ada535a54b8b32cd25105b95e6ec8fe3 src/models/components/budgetgratuityjson.ts: id: 2a8e34c06bc7 last_write_checksum: sha1:fb4bf9f1e835e39d26ec5316f460b814a303408e @@ -10180,6 +10120,8 @@ trackedFiles: id: 7f7ef788d241 last_write_checksum: sha1:14929b1750d2ca48f2a223ce6f86f88b5c398d41 pristine_git_object: cc102bdabf9b09f3642c9f92395806efcc37fa3e + src/models/components/budgetsubcategory.ts: + last_write_checksum: sha1:33d4cada9b0eedae77796cf2c05091e4a68bf6da src/models/components/budgetsubcategoryjson.ts: id: 46956a43ec71 last_write_checksum: sha1:d523f99a754e7bd7573d9fb8ff706c780d2bdc36 @@ -10218,19 +10160,15 @@ trackedFiles: pristine_git_object: e3cf538e81f07fcd9621ef4ee4296812e088a9db src/models/components/bulkdata.ts: id: 74472569a8b7 - last_write_checksum: sha1:00e8b3336cf14e9564f0192987076f42155454fd + last_write_checksum: sha1:af37a2c45ece31f5bbd741b2c7ce92bf6adfbd4d pristine_git_object: 8ef80e786294c93aebdbe16e21375aaa83e60c4d - src/models/components/bulkdatapropertyjson.ts: - id: e178f2085dac - last_write_checksum: sha1:2f06f4c12c25c65f94d9cdbd286e62356ebced98 - pristine_git_object: e9a64ee8016e44559f8d5a6c6b2b741a094efb8e - src/models/components/bulkdatarecordjson.ts: - id: 83d3970c6af6 - last_write_checksum: sha1:d9ebc0495ca40c75107408541abb2aa6f69f83b0 - pristine_git_object: b411673f319e1f049f7979d71cdfb67c11af02ff + src/models/components/bulkdataproperty.ts: + last_write_checksum: sha1:d31dd2f3f9d255b3f788f8b30599300bea10cb54 + src/models/components/bulkdatarecord.ts: + last_write_checksum: sha1:31a2204cbb2bd3c5ad56c4adb86592b06ef5a044 src/models/components/bulkdatauploadresponse.ts: id: e2ff30b43841 - last_write_checksum: sha1:92215cecfa3702553ee38fa966f690c30dc63b31 + last_write_checksum: sha1:2ed2ce4e7506e6e0321ca2d3cb46f66da37440a5 pristine_git_object: 0bae84ccfa09464e936938505b488efbeb53d51a src/models/components/bulkjob.ts: id: 350168c303e2 @@ -10238,15 +10176,13 @@ trackedFiles: pristine_git_object: 9d100fd1138357ce7abe44b2b91f9e0f1ea37d03 src/models/components/bulkjobwithdata.ts: id: e105f640c55c - last_write_checksum: sha1:6a8fde196d8c0fd50489578d6d18553fc93b2b2e + last_write_checksum: sha1:e440b235c068971f673e37227666a1dbc859b236 pristine_git_object: 06642ee7b80628af6271f7cb73f017a9b231238e - src/models/components/bulkresultjson.ts: - id: c06a48c4ed66 - last_write_checksum: sha1:98f97398625e82dc5c434b02dcdc63bd34f33d3a - pristine_git_object: ffa5a0f29ae6d3f79cba3cd7571e657fe6916f88 + src/models/components/bulkresult.ts: + last_write_checksum: sha1:4eebe5ee3d4d794727db8a828c4fc9eb61961959 src/models/components/bulkresultspaginatedresponse.ts: id: acc92f0563b1 - last_write_checksum: sha1:3be645b1dec686ef3d98c38e8197370e72c5afe3 + last_write_checksum: sha1:cad0215d8a180acca9d35c0f51c25b9dc7fb5939 pristine_git_object: 035a88e077e0c9131e98ee89bef8dcbafd5383d0 src/models/components/businesstype.ts: last_write_checksum: sha1:5e9000ae3fe34d27082960e921c6f30a0965d5eb @@ -10305,7 +10241,7 @@ trackedFiles: last_write_checksum: sha1:1811d009569de21bd4ebfa9cf1eb00ca83311e1f pristine_git_object: d30113637b32edd393011f8f21c18a2993d33050 src/models/components/cardtransactionjson.ts: - last_write_checksum: sha1:24427f7a4e304ba6d30bd7ecbd42dcd1bc8026b1 + last_write_checksum: sha1:431ec267a4110d336983abd231dedef19ee61db1 src/models/components/cardtransactionpaginatedresponse.ts: id: 474e5b7d0b83 last_write_checksum: sha1:77ce972feec73080db4546699a03a6a3623c8661 @@ -10338,6 +10274,8 @@ trackedFiles: id: 97ed9c3fa0f7 last_write_checksum: sha1:730ba3515ff44992d9eb2f3ce242119161c5d990 pristine_git_object: b93e94d961a97183430f0d38891a616ada6403f8 + src/models/components/chainscale.ts: + last_write_checksum: sha1:a627e5ea8e8f3fb1d26780580a8a90cb73d8243d src/models/components/channeljson.ts: id: 9ceed29a02a3 last_write_checksum: sha1:19663fbd959ab6331f38aa3ef7958870f93a744b @@ -10402,10 +10340,8 @@ trackedFiles: pristine_git_object: 6c482cbf6b6a167329cb30263b3fd958d4c8515e src/models/components/compliance.ts: last_write_checksum: sha1:e019503c90ab5228a59b17a38c87cbdc8fbcc70c - src/models/components/compositevaluejson.ts: - id: d25c8c7a65e1 - last_write_checksum: sha1:7b3a205402e21264a6036ca098ba96f0fd31ae71 - pristine_git_object: 5b8b64e23f6a03017b2b5bd0129deac93792dad5 + src/models/components/compositevalue.ts: + last_write_checksum: sha1:a6c0464b3f35267bf0952bcbeee8d41dca9e219f src/models/components/connectionresponse.ts: id: 881c6bc1d82a last_write_checksum: sha1:f82e9dc8a769d0e63dc852b86342314bbc8d285b @@ -10420,20 +10356,16 @@ trackedFiles: last_write_checksum: sha1:52ca60b8d7b95b1f25c3dfa1393a73221c0eb536 src/models/components/contactbulkresponseitem.ts: last_write_checksum: sha1:1e35fe202520a2fe07cd7c9649cbdd1edc34c514 - src/models/components/contactcommonjson.ts: - id: b84e542d5e8f - last_write_checksum: sha1:6e5add321a510603e52dea4ebca5ca00dda273a4 - pristine_git_object: 297f092bae418a0fa2e006109db6426f5f9cec1b src/models/components/contactcreate.ts: last_write_checksum: sha1:b45a3bcdc0f0329c5eaa1f351471fedf18fd0465 src/models/components/contactfieldjsoninput.ts: id: 4d2235188ab1 last_write_checksum: sha1:166d093387ded7e0bcc91c607aa0e080628f2bc2 pristine_git_object: 9f8682389f0282b6912c06553bfad04f7e3acb76 - src/models/components/contactfields.ts: - id: 7f6d2c97c430 - last_write_checksum: sha1:662a06a4b98d5ae0474466a7010c40c461bec6d7 - pristine_git_object: 2ad90987b32c8d91c4ea419adbf4ab1dec54245b + src/models/components/contactfields1.ts: + last_write_checksum: sha1:36afa572d5eeb26f5d10b041a9c6cde72826cfb5 + src/models/components/contactfields2.ts: + last_write_checksum: sha1:79289954d319e752c9841bab347f5f3646b8d386 src/models/components/contactfile.ts: id: 85e68404a84b last_write_checksum: sha1:a2aadbd8a1c28a5b2b8520841cc863686761d50c @@ -10520,6 +10452,8 @@ trackedFiles: id: 51f40b653674 last_write_checksum: sha1:542635e89d4a1d65e96e17810a498b0cf537c630 pristine_git_object: cf722f7185ac87d80a9dad63c0bf78a109841ec7 + src/models/components/country.ts: + last_write_checksum: sha1:f49f140cdb9f1b3f7497536c1f5270a7c9a6e6c6 src/models/components/countryjson.ts: id: e15dab527c19 last_write_checksum: sha1:746162aac1c755e26c9b86605db82656c3b2158d @@ -10568,6 +10502,8 @@ trackedFiles: id: e4bd41b97320 last_write_checksum: sha1:b6cec6643f229f570b275f218a6956b27620a0ad pristine_git_object: f088b81df74d8f45af83db63154853b444c81dbc + src/models/components/currency.ts: + last_write_checksum: sha1:a5ba88908f738d619a670b2a4aa3dd92a368c9c5 src/models/components/currencyconversionrate.ts: id: ee8feb11e2c4 last_write_checksum: sha1:22a40a23e0087e915499efb5cbf5b8dd8ea3e173 @@ -10610,8 +10546,8 @@ trackedFiles: last_write_checksum: sha1:84fd5db59e9055dd7d69140399cfd2452640c89d src/models/components/customfieldjson2.ts: last_write_checksum: sha1:e165f8d61d519cdf5e35ffa850696e61cb51f847 - src/models/components/customfieldschema.ts: - last_write_checksum: sha1:6d3f9c188fb47f3065e9dd1ace231e6a2cd318bf + src/models/components/customfieldschema1.ts: + last_write_checksum: sha1:ade8ddd212985fac89640de92b77b0d0c3a62c46 src/models/components/customfieldsjson.ts: id: a2d42e012b13 last_write_checksum: sha1:520e679cc72dc07643fcc5ea33727d7b83d696d5 @@ -10642,6 +10578,8 @@ trackedFiles: last_write_checksum: sha1:325153db469e907fffbbed423e9a50b8a060f9f1 src/models/components/devicetype.ts: last_write_checksum: sha1:4b36e1809d1cc1acf4d44ec0f4ea44900f8a6794 + src/models/components/dimension.ts: + last_write_checksum: sha1:b4af0bbb7bb7ed3475c148db8f1df115a2c48333 src/models/components/discountagendaitemspaginatedresponse.ts: id: b872b6372a99 last_write_checksum: sha1:378857dfc4c8f4cb1351615b260178154a435f05 @@ -10668,6 +10606,8 @@ trackedFiles: last_write_checksum: sha1:dec9960c020ce4c51c2dcdbb9f6a359ab7063a61 src/models/components/distancejson.ts: last_write_checksum: sha1:5915877244cb72b8d04be71646c7de8dff625ed4 + src/models/components/distancemeasurementunit.ts: + last_write_checksum: sha1:c3171c3cf51fa076f108e4c7bda280fbd334a74f src/models/components/distributionlistinfo.ts: last_write_checksum: sha1:d12f37b2b6479ddbc351a276828abbce8dd00820 src/models/components/distributionlistinfoinput.ts: @@ -10735,7 +10675,7 @@ trackedFiles: src/models/components/entitytype1.ts: last_write_checksum: sha1:cf2796ed31bb9b7833a8b3eb20f3f870a4419444 src/models/components/errorresponse.ts: - last_write_checksum: sha1:3c4b5780f9e2a1a0f94453961da195c942658db7 + last_write_checksum: sha1:ac84f620283462e6a8426632fb989dd8f7b3da12 src/models/components/errorresponse1.ts: last_write_checksum: sha1:3cc181ce0d69728f4550bc428a566309f836557b src/models/components/errorresponsebase.ts: @@ -10758,14 +10698,10 @@ trackedFiles: last_write_checksum: sha1:3f2b359dae7b2a24e21d44df16d6fdcb4ed87c03 src/models/components/event3.ts: last_write_checksum: sha1:825d557f370802554ad377978846cae8e86c4c3d - src/models/components/eventactivitydetailsjson.ts: - id: 65db0eea2beb - last_write_checksum: sha1:21aad18eb0da75c61c8e73ce4ec58bfddb9c571c - pristine_git_object: 8f88aad7fd126e0ff358d60219d03a7f09309756 - src/models/components/eventactivitydetailsjsoninput.ts: - id: 99ec49b0f4b3 - last_write_checksum: sha1:316a7e32652debf65feeeecb47e48a7fbd8ea00b - pristine_git_object: d5c54b00b204a706a86c4a1714e71ad1745e2d97 + src/models/components/eventactivitydetail.ts: + last_write_checksum: sha1:6a9951cad40ce6efcf7392bbc043847b60fab5af + src/models/components/eventactivitydetailinput.ts: + last_write_checksum: sha1:7e448ef9260d2ec432adfe762d03ea32c17d0a54 src/models/components/eventasyncresponse.ts: id: b68b979813c6 last_write_checksum: sha1:b6ade6a5a2e4ae99b7e6c68c8ef8bc2ca29880e3 @@ -10832,6 +10768,8 @@ trackedFiles: id: 492c6f360569 last_write_checksum: sha1:1f97719a1f3691b130f3746a74c0e29b5b6271f9 pristine_git_object: eb4e0d25a8eeee7011dfd6cede27b2495fc89233 + src/models/components/eventinsurance.ts: + last_write_checksum: sha1:48f3632282425c382dfe640989d4c1ca4da83aef src/models/components/eventjson.ts: last_write_checksum: sha1:d1d23ff68e40154bf25fbf7d1decf290da6e9c3c src/models/components/eventjson1.ts: @@ -10862,28 +10800,24 @@ trackedFiles: pristine_git_object: d351fc1667afc3b5c65a56a912937ec449ec3532 src/models/components/eventquestionjson.ts: id: 66a993d39ecb - last_write_checksum: sha1:52a1cab70951406747597c575637b89e696016e4 + last_write_checksum: sha1:ba4840c75521267b7d2ebe8e000941dbd850b18f pristine_git_object: a9d667f9bd339bad7f0a7d1b3cf83b368c111e00 src/models/components/eventquestionspaginatedresponse.ts: id: 4ba1e89c3dbb last_write_checksum: sha1:d8ecb8cc87538ea0c224ff3ff6e5a7c53de68858 pristine_git_object: 8a8d2d5ad4ce462957913bfcaf68b0f6cd1f70ce - src/models/components/eventroleassignmentjson.ts: - id: 2f40a9e23849 - last_write_checksum: sha1:e7fc29848f332884eebcbe43cee16caacaf36e7e - pristine_git_object: 376e34c6459a7c83f4f89cdb8bd45bc7d2c04def + src/models/components/eventrole.ts: + last_write_checksum: sha1:941e8947e8fb4f7df3cab65d7b09735fd537a7dd + src/models/components/eventroleassignment.ts: + last_write_checksum: sha1:e6ddecb1eda6dace87f1694f447e79971f90a5c4 src/models/components/eventroleassignmentspaginatedresponse.ts: id: dabf0811934b - last_write_checksum: sha1:94dfa2e2167a7923f269e00fb7f85fb3772f14e9 + last_write_checksum: sha1:77908fb5b899df5e29d35c6fe385723ee44b3b66 pristine_git_object: 5b0e9b7ee14dec2e8fbfb0c2209ba33d1348e633 src/models/components/eventroleexpand.ts: id: 5706737dae84 last_write_checksum: sha1:4dca462e35ee31f806def4638fadd5d9b520198b pristine_git_object: 632f82d70695888b10ed855f7190b4a3703a9b55 - src/models/components/eventrolejson.ts: - id: e5e1c933f5b4 - last_write_checksum: sha1:fdc0460151dd006483d6845189901bef9c4d061a - pristine_git_object: cc4d09529e89882820d67e81688508a0060c8a28 src/models/components/eventsecurityleveljson.ts: id: 6c57371aa500 last_write_checksum: sha1:f34097a4075dea9354d3bddc4389f2de1b9dffa9 @@ -10910,7 +10844,7 @@ trackedFiles: pristine_git_object: 1aa637be512120b66b88bf8a3a05fe69089136b1 src/models/components/eventsurveyquestionjson.ts: id: 2a8cc2568246 - last_write_checksum: sha1:65cee671e2dd95ab7e8556fe5e941d3e2b4dafed + last_write_checksum: sha1:add4ad472dd8be7ba111f644ee8f2460f0106464 pristine_git_object: a476604eb2738b7163376cc3037507892d0503a0 src/models/components/eventsurveyquestionspaginatedresponse.ts: id: 35552d334717 @@ -10968,8 +10902,12 @@ trackedFiles: id: 507d980cad31 last_write_checksum: sha1:c9a74738905d1190d995752ad81463e54eae2985 pristine_git_object: 01271a396a9815fd34e94a184732aedd35a2594e + src/models/components/exhibitlayouttype.ts: + last_write_checksum: sha1:5a64342c77b2725ff584ed9075d60b100ae21059 src/models/components/exhibitor.ts: last_write_checksum: sha1:8c27033d62e24cefd6e5a05ec7b23f11ca93da7b + src/models/components/exhibitor1.ts: + last_write_checksum: sha1:721f5ec50a342753f0d8d431d278640a0a673b9d src/models/components/exhibitoradminrequest.ts: id: cac6bc1d7535 last_write_checksum: sha1:96a76184f3c6e6b9ceeb73cdf59a8827f69bba4a @@ -11026,10 +10964,6 @@ trackedFiles: id: 8044a9254871 last_write_checksum: sha1:12136c45b0dd4c85287d0408436c4b405277e1df pristine_git_object: 2e66562b882698fb3a4aea4b647431a6efc93477 - src/models/components/exhibitorjson.ts: - id: 2d74d15d4a8c - last_write_checksum: sha1:1fe354240123181764b70dead7ec8eb48b7ce66c - pristine_git_object: 8ca23e357fb87a97f87b9dfd952eceabaf5c26b8 src/models/components/exhibitorquestionsresponse.ts: id: 5a9318a096f3 last_write_checksum: sha1:7c67622c34d488557a6e603a4b12e3e6619bdc48 @@ -11107,9 +11041,9 @@ trackedFiles: src/models/components/existingeliteraturerequestdataforlead.ts: last_write_checksum: sha1:99eeb7d0c2f7645d7357f5ffe3eea72f4da1567e src/models/components/existingexhibitoranswer.ts: - last_write_checksum: sha1:264764fad0512ff2752fa4547906ab91f1cf5f1d + last_write_checksum: sha1:3499b7204060d67f346279bb4d6008cf0d7f5094 src/models/components/existingexhibitoranswerinput.ts: - last_write_checksum: sha1:b116fc84014f3a62a8aad769e274a9618a02f697 + last_write_checksum: sha1:3d0e5973355a7caa5408ba9fb501e77fca781ab3 src/models/components/existingexhibitorquestion.ts: id: b45d44a02eca last_write_checksum: sha1:7c16403118dbc82a5f2bf8105ad752b21f45c33d @@ -11120,8 +11054,10 @@ trackedFiles: pristine_git_object: 18d9711e9d918793c48850fce5d4e470ddbaaae6 src/models/components/existinghub.ts: id: 0d07a91a769d - last_write_checksum: sha1:0aea36eec8f4137ca33b32b42459e10b062d4a2f + last_write_checksum: sha1:5c17e47e84fa63dd2ca4d95c9e2020d86caacd48 pristine_git_object: 7efeaf94210dc490844927bcfbe53c6c8470c2b4 + src/models/components/existingmeetingroom.ts: + last_write_checksum: sha1:42ca6ec9e1154cc77beb721bf031c60438068605 src/models/components/existingmember.ts: last_write_checksum: sha1:4a53e91dc42b9468425be84f67ad8aef12a951ab src/models/components/existingplayer.ts: @@ -11168,6 +11104,12 @@ trackedFiles: id: e36871f1806c last_write_checksum: sha1:e0eca2a9cba842a1292306309a589d95bdc12150 pristine_git_object: e844a62b395e2bd24ec2260bc2d36e7b9fe8f202 + src/models/components/existingvenuedetails.ts: + last_write_checksum: sha1:f7f28c8e317824d208fc2096b4c67166766b6668 + src/models/components/existingvenuedetailsinput.ts: + last_write_checksum: sha1:ec85415061f5e962b1bf6ec2e000dc3fad5b8460 + src/models/components/existingvenuefacility.ts: + last_write_checksum: sha1:774a0371094a14798465bb73079dd0dd3e73ea4f src/models/components/existingvideoresponse.ts: id: b9d8fd28852a last_write_checksum: sha1:e0b4013b9954f93e6d99c2c517b4315a4ad07d4b @@ -11228,38 +11170,32 @@ trackedFiles: id: a128ece58ae8 last_write_checksum: sha1:7ec440669d2f44a58699712492e326a4b382b831 pristine_git_object: 817cec8943eb76df90eeb31a135ac4d3d3914794 - src/models/components/externalactivitiesadditionalfieldsmetadatajson.ts: - id: 48e5518b824b - last_write_checksum: sha1:3b7748b92397918465a6b0b9748ea096ebe354b6 - pristine_git_object: 2a1a94f4c02e543103ea6a847386d4964c9c6026 src/models/components/externalactivity.ts: id: 980d85a336c5 - last_write_checksum: sha1:d0e269727a0ae3832ef1304d30d18b0bdedff59c + last_write_checksum: sha1:f4f8f7b3985fdcfd3f1860b7cf694d3d7232c7db pristine_git_object: 6710c9484a8076e769a48a1bfc29ca005e52aac3 - src/models/components/externalactivitydatajson.ts: - id: af529b935721 - last_write_checksum: sha1:a54c5fc0bbbac316f7b2d6c070d92e1a28a24c45 - pristine_git_object: bc44277dbdeeddcfc5307540ab38af661a97bb0b + src/models/components/externalactivityadditionalfieldsmetadata.ts: + last_write_checksum: sha1:9d9db1160565906cf1f3e0276d853ea9eb2e81ef + src/models/components/externalactivitydata.ts: + last_write_checksum: sha1:62776ba65edf435f23e6e8300fc87366a4e40a24 src/models/components/externalactivityinput.ts: id: b7c8e8e09ec0 - last_write_checksum: sha1:212d93adc6a9cf304833f524126c430a82d01168 + last_write_checksum: sha1:9e98a4d800fe67c4a2b264464a3a61f59c846783 pristine_git_object: 3931557bb1ac4e3ffedb281f8fe876b540a512f1 src/models/components/externalactivitymetadata.ts: id: 19cb86fa7f67 - last_write_checksum: sha1:3e114b0067e61c41047fccadd828d1af10bacab2 + last_write_checksum: sha1:9d83c73f01f68d368da2f638c86a6cfdec173130 pristine_git_object: 3150418b5b099f3461a3a847caa1714cd0e833a2 src/models/components/externalactivitymetadatainput.ts: id: 948f2f0d80aa - last_write_checksum: sha1:f8f1db4f5c1fbf424a9fc92d4716bbacacd4c51a + last_write_checksum: sha1:895c604085031199b64f2849167e482e12e51a86 pristine_git_object: b1427a5d899a011d6de7f68bc34fa045641d7377 src/models/components/externalactivitymetadatapaginatedresponse.ts: id: fdf49d22e789 - last_write_checksum: sha1:49a3debc499dfbbbe6b27d81a4dfaf8a26193148 + last_write_checksum: sha1:cc5d37c27a33c711908021aee43732e2a2469afc pristine_git_object: bdb7eaced7dedf7a1e5773371acb96892bd25c90 - src/models/components/externalactivitytypejson.ts: - id: c25fa5badd49 - last_write_checksum: sha1:98976e61d74dabe252b94cbaf0a8677923fa70ff - pristine_git_object: e9d197f01530660425dd9fb1721133b75cd9be43 + src/models/components/externalactivitytype.ts: + last_write_checksum: sha1:41224a0795b4856084bf651d12d0e9d8f563d957 src/models/components/externalcodetypejson.ts: id: 77c296bcc7e5 last_write_checksum: sha1:8eb3fe45fc71056c5884f6f6a00e3a63183aaf81 @@ -11432,7 +11368,7 @@ trackedFiles: pristine_git_object: b9e1b7c7770ca4a4e9d4f923bc9fc06f4b5fafd3 src/models/components/housingeventsummarylist.ts: id: 21b90b45563a - last_write_checksum: sha1:95ad97dd86bf5fd993b1e24bd21caf3e396a85cb + last_write_checksum: sha1:16fde395334ad53d972f9faef73cf62f6c8eaace pristine_git_object: 7fa1265ebb25a8d9ab36ee811bd5a46a6b933e60 src/models/components/housingreservation.ts: last_write_checksum: sha1:aec081ab1c3f778b1e029e24537f4759381214e9 @@ -11466,7 +11402,7 @@ trackedFiles: pristine_git_object: 25b6d73a71db2a2cce7aebf7c477a206af1553d6 src/models/components/index.ts: id: 0aa842dce54d - last_write_checksum: sha1:c19e91323e442a81c9ca85bebbc763296a2911eb + last_write_checksum: sha1:2aed94ede23242a4dba8f63db27497647411856f pristine_git_object: 1636a9903e66817622b1ea5a59afd4c1913879a5 src/models/components/industry1.ts: last_write_checksum: sha1:7fb959e90a20eb113fe328f20182355ca618f930 @@ -11518,10 +11454,8 @@ trackedFiles: last_write_checksum: sha1:74a571ff286b942db7825172462e8e32b0673c4a src/models/components/lead2.ts: last_write_checksum: sha1:0ae7a45a77a6bca310a8fbee6c140a4423a42aa0 - src/models/components/leadobjectjson.ts: - id: 07599a91fd3d - last_write_checksum: sha1:58222e7928d54b60b35baf943e4264c71730d616 - pristine_git_object: 08a9cdedbe1c3cb266f72e08e0fc003a522709bd + src/models/components/leadobject.ts: + last_write_checksum: sha1:87b87e3c2185c58944decbe3e66d68111fb20958 src/models/components/leadqualificationanswers.ts: last_write_checksum: sha1:7b390f1650760f1cd8a056f3e8c69a6936dfdc05 src/models/components/leadqualificationanswerslistresponse.ts: @@ -11534,14 +11468,10 @@ trackedFiles: id: a2f0176b4269 last_write_checksum: sha1:b87250d2c328eb5afa32a0ee5fa4748e8264ea13 pristine_git_object: 9bc860422d6272513793c1b31772ae24a60ec333 - src/models/components/leadqualifiedanswerjson.ts: - id: 4f8f512e7229 - last_write_checksum: sha1:d8410793f3453b2529e8978dd8a733a8ac17183d - pristine_git_object: f779dea8b33c5748f169d103ecaa2a73ff7a6c9d - src/models/components/leadqualifiedquestionresponsejson.ts: - id: 5dc7feebfbb3 - last_write_checksum: sha1:eedbef5904c1f07d70914585a5d01891bf4ffaf5 - pristine_git_object: e0c95a1ca75f2b644cc7498f935d5e2087e84984 + src/models/components/leadqualifiedanswer.ts: + last_write_checksum: sha1:43faf514bf1bf1d58f149d28ee7c4901adfea5bb + src/models/components/leadqualifiedquestionresponse.ts: + last_write_checksum: sha1:cd875862fd4f32947f54ec051944ebd796d00c0d src/models/components/leadsource.ts: last_write_checksum: sha1:a2c054db10c24c32469ff67c49523d0d48e1f5da src/models/components/leadsourceexpand.ts: @@ -11586,12 +11516,14 @@ trackedFiles: last_write_checksum: sha1:cab6d6842a1c8ff2549727f2f979fe51b919cdef src/models/components/locationjson.ts: id: 0e0622fa538a - last_write_checksum: sha1:7c9f1931b4965b53333aba49742901ef273c5b64 + last_write_checksum: sha1:66ae9e0654e5397327253c5523ed777b4b9f0a48 pristine_git_object: b52f9bb2df853ae895d705e11f46089c29899e31 src/models/components/locationspaginatedresponse.ts: id: fd4097b00370 last_write_checksum: sha1:822a94f7d256a4a8ecec366fa6ac358055094cd6 pristine_git_object: b66ab53ee7bb55a7262894169565ded6805d6a25 + src/models/components/locationtype.ts: + last_write_checksum: sha1:1337681fd4017199bbccc5ca49b44739e13909a7 src/models/components/lookup.ts: last_write_checksum: sha1:8015fd928343a636bb8fcf111d8de014e642631f src/models/components/loopingchoicejson.ts: @@ -11601,71 +11533,67 @@ trackedFiles: src/models/components/managementleveltype1.ts: last_write_checksum: sha1:5a814e66552b9f6e760cac103005bdd012f439d4 src/models/components/measurementunit.ts: - last_write_checksum: sha1:340c9019ea676c7d6de5f565f434c1bdb237399e + last_write_checksum: sha1:ce57de0dd1ff98da2e58d30187769ae761d633fb src/models/components/meetingrequest.ts: id: ef9c1423e372 - last_write_checksum: sha1:06cc82ee20b85a19e5c8d87ec011375c5bb52d71 + last_write_checksum: sha1:ea4433753fa54cf477e66270f3692e05670bf96e pristine_git_object: 176cb4cb704420db5ed6f47844eaf9b70eb81567 - src/models/components/meetingrequestbulkresponseitemjson.ts: - id: 4b5295e60477 - last_write_checksum: sha1:e117ef63ca4deb8d4b22ad142b7021e4978bda61 - pristine_git_object: 896ce1118ca88b87849b876dc11dd4aff5d65192 - src/models/components/meetingrequestcreatejson.ts: - id: 3a21e36bdb4f - last_write_checksum: sha1:51876e1ce9ca96d2a9e4b175bfe265d59344ad6d - pristine_git_object: 973682bf27efdf768bea1f40ee0df9eef377b78b - src/models/components/meetingrequestcustomfieldjson.ts: - id: c1f1c7c36e18 - last_write_checksum: sha1:44334f8905eb9408d323553627af1ca093a3fc57 - pristine_git_object: 3e097a8884e9cadce86d94ed00d9c36d6a470bc6 - src/models/components/meetingrequestdocumentjson.ts: - id: 78f2219856a8 - last_write_checksum: sha1:3dc2c042b21f1e51e0384fd5b9d7da9e7f3cb0d9 - pristine_git_object: 408e5d832cc1f9f1b34ca1d50422a8ca6f38b318 + src/models/components/meetingrequestbulkresponseitem.ts: + last_write_checksum: sha1:a4802bf393040c4a1cbdb6e87b68db3ea90473b7 + src/models/components/meetingrequestcreate.ts: + last_write_checksum: sha1:3879700f0f28da55d48dcd6ae855690cb7556165 + src/models/components/meetingrequestdocument.ts: + last_write_checksum: sha1:528f06ff13721414129ba495cb8792f0a393a9a1 src/models/components/meetingrequestdocumentpaginatedresponse.ts: id: 9ce6edda40b3 - last_write_checksum: sha1:7ee7b32e78baa00210a877723e5958d24a40d72b + last_write_checksum: sha1:206a9c224a54d36d24a1faa4bed9b03b26af8fe1 pristine_git_object: be1847ca26e01dc7beae74e0ad710f941e8eb59c - src/models/components/meetingrequestdocumentreferencelinkjson.ts: - id: cc6f3059ae1d - last_write_checksum: sha1:d21ea51b83c9233baabf6a71e796183e77479e15 - pristine_git_object: e6d741e436f15e060c613040b5dd00e1155c8da5 + src/models/components/meetingrequestdocumentreferencelink.ts: + last_write_checksum: sha1:3eb9293635ba4aa010ced437816331f6942ef905 src/models/components/meetingrequestform.ts: id: b5a03c0a9a69 - last_write_checksum: sha1:fed7ab2e26172a42bbe976f430d634264272f144 + last_write_checksum: sha1:ad2bc2ae6d632093bf68358a44d5954e83c51358 pristine_git_object: 63488e91507173811ea944a77b051667e24eeeca src/models/components/meetingrequestformpaginatedresponse.ts: id: cb6b11e05171 - last_write_checksum: sha1:b8e6a329ab45a9a863204be766f5780dd4b4e51f + last_write_checksum: sha1:7a2a24f56e65ce4abcabe656262bfeee3381d621 pristine_git_object: 2b22e2635d657058c6718c857a27dc71a14fda32 src/models/components/meetingrequestpaginatedresponse.ts: id: dbd9c9af733a - last_write_checksum: sha1:9d6d91cfe7f1e78317a1dcb25168cf55b6a54746 + last_write_checksum: sha1:166d572ac32f23706a1f399fd4c86840cd4c0535 pristine_git_object: ef7069159906a3381846ec105ff2f9fe4ab2239a - src/models/components/meetingrequestquestionjson.ts: - id: 09ca863eec06 - last_write_checksum: sha1:8f78fc6efa7eb94dca0db7e1c03607cff5d3ed9b - pristine_git_object: b8c4f1a4f71d3afa1ff28aacf2db40ccea5c9086 - src/models/components/meetingrequestupdatejson.ts: - id: 1fbbe0ec9df1 - last_write_checksum: sha1:6685c49f7f79987a187668760fd41c63871bbf20 - pristine_git_object: 903ed19a79febcc7e9e760aa4a999dc3bab20256 - src/models/components/meetingroomagendaitemtypejson.ts: - id: cba321cf9277 - last_write_checksum: sha1:4ea4b9ff57b21ef19f3cb0952636b86557995aab - pristine_git_object: a4030cfe8be6c2693416f58de928f5a4dffcd47f + src/models/components/meetingrequestquestion.ts: + last_write_checksum: sha1:0a9cbf23eb8ef850956fa19a90a25572a43e4a2f + src/models/components/meetingrequestquestioninput.ts: + last_write_checksum: sha1:a82c44ab5811eabbf050bc5591f9afe3ae0b5aed + src/models/components/meetingrequestupdate.ts: + last_write_checksum: sha1:3a2325c062c985a299ba0d9b0d366d8d47f1014a + src/models/components/meetingroom.ts: + last_write_checksum: sha1:d9c3cf01b94c3965b16369916fc3b6c53c273909 + src/models/components/meetingroomagendaitemtype.ts: + last_write_checksum: sha1:2ac6920130eb8aa140fd92e0a0cf84841d937cbf + src/models/components/meetingroomamenity.ts: + last_write_checksum: sha1:cb0a66d1842d310bed5b925a488c95a25c7e4777 + src/models/components/meetingroomcapacities.ts: + last_write_checksum: sha1:9771f214c98b8e4781a04cd458441cb21dcc2b1e + src/models/components/meetingroomexhibitcapacity.ts: + last_write_checksum: sha1:71bcba0995b3322a1a273b8748ca3e2361e0bac8 src/models/components/meetingroomjson.ts: id: c4020cd62601 last_write_checksum: sha1:7d04fe4298fad95c0e1aa202f6af44425c5a21b3 pristine_git_object: 33f6f8dab85e67162fe2628c8e3f98c21de1dba3 - src/models/components/meetingroomrequirementjson.ts: - id: 06e2656272fc - last_write_checksum: sha1:149c8cb9d1170d525a0488526e61126373693f01 - pristine_git_object: 2bfc160365127b8014a6856801257841ec6a9a6b - src/models/components/meetingroomsetuptypejson.ts: - id: d90c8ba65bf2 - last_write_checksum: sha1:84c342a425f4e4380b54ab92d52aaeb94f84b9e0 - pristine_git_object: 3fefcf71a3757e752b94cfa25769a493195c1ce5 + src/models/components/meetingroomoverview.ts: + last_write_checksum: sha1:8eafbf2101e4279763a63de026fe063ea514802c + src/models/components/meetingroomrate.ts: + last_write_checksum: sha1:c933d6cbd29728d68fab3fcbb5be0497e0cf0c7f + src/models/components/meetingroomrequirement.ts: + last_write_checksum: sha1:35010375cdd677b39ba127598ca95fa5ac75d7e6 + src/models/components/meetingroomseatingcapacity.ts: + last_write_checksum: sha1:d63a9973c3a69882b4648bd4c4df5d0f3de698e7 + src/models/components/meetingroomsetuptype.ts: + last_write_checksum: sha1:87c9aaf325cd431d05681fe3a9a06b587c1f5ab4 + src/models/components/meetingroomsoverviewresponse.ts: + last_write_checksum: sha1:4e451b81950b7bb5ba62dbfa64e35080c43ca2cc src/models/components/membershipitemspaginatedresponse.ts: last_write_checksum: sha1:185a3fde7f0d42e3570ca542f7e5497c5c7ef9c1 src/models/components/messagerecipientresponse.ts: @@ -11798,6 +11726,8 @@ trackedFiles: last_write_checksum: sha1:34e42ce98eac2bac54504f93154974707e7c4e7f src/models/components/passportinput.ts: last_write_checksum: sha1:c85aa3d8d7a6719dc1092516976b09b9cbffbb71 + src/models/components/patchmeetingroom.ts: + last_write_checksum: sha1:a30f1fea3302f532621e2e65e491b0173d30898e src/models/components/payment.ts: id: 480445418eb6 last_write_checksum: sha1:1907fe2274e2e5a028d866242a303f17a5f15429 @@ -11878,37 +11808,25 @@ trackedFiles: pristine_git_object: 1f9ac3515076d684ccd1a020b2e351835dddf1df src/models/components/policyvaluetype.ts: last_write_checksum: sha1:0be82ee309e4e3506a7ad3b7bfafe298484f32fc - src/models/components/pollresponsejson.ts: - id: c8222b8ed73d - last_write_checksum: sha1:30fc6f98d93d65c060bcdfe1988cf1fe95b3ca37 - pristine_git_object: 95fd7cad9bcc51900d66ffa4a7068cc6adf24070 + src/models/components/pollresponse.ts: + last_write_checksum: sha1:f807c952e3e4f000b2810a412719c55e8a3db8c5 src/models/components/pricingconfigjson.ts: id: 19643cecdf88 last_write_checksum: sha1:7affe5b793c37ca6f5e839839b55435c92031354 pristine_git_object: 2f95fd17183c85fec907126dad594240f225dfb3 + src/models/components/processform.ts: + last_write_checksum: sha1:df5a7c74aaddbea6b8b63ab8daa60d1b6054e936 src/models/components/processformexpand.ts: id: 78ae4471253a last_write_checksum: sha1:c331020f28687aa1e795dcbe5a9f129ba8cf28f4 pristine_git_object: bda4c5219f6f96d200de95463bb088981c1f40f7 - src/models/components/processformjson.ts: - id: 2be5a6ffbb51 - last_write_checksum: sha1:33d5f1da8ec5d9c32a8fab1388b4e76f25d98ab8 - pristine_git_object: 1e53a4d58f57d9aa323b3ba247ca53cda70aa207 - src/models/components/processformquestiontypejson.ts: - id: 40953ee8aa6f - last_write_checksum: sha1:0accbe39c217cde004391f92978c00b1caaff02a - pristine_git_object: 74b7196e7845d98e1377990860bacbbaeb66f421 - src/models/components/processformsubmissionjson.ts: - id: b0989d8cbe66 - last_write_checksum: sha1:7fa7dcd67cbf8c46f6a3e98ffb8612adc5dea1e6 - pristine_git_object: 1a1e21efe9e0dc5548accfe8f3c8ca40840ac25e - src/models/components/processformsubmissionquestionjson.ts: - id: b1be0735ef55 - last_write_checksum: sha1:978395a4b423256a9249febb37ac569ec587edb7 - pristine_git_object: ea2f90c7b866002661273f2b2b666004b31c635d + src/models/components/processformsubmission.ts: + last_write_checksum: sha1:006a65991f379c4cd7e11aa51e26204a7ae93a7f + src/models/components/processformsubmissionquestion.ts: + last_write_checksum: sha1:fe9233d2a24e1251e8cf2272d5cfcdb1992f40d1 src/models/components/processformsubmissionspaginatedresponse.ts: id: 9dfda319e703 - last_write_checksum: sha1:305b6d12c4fb22d70ca22e6f9913a22d871e35ce + last_write_checksum: sha1:159aceac6fad05c735eb447a0bcc799bf399fd4d pristine_git_object: 3891317962ed2b1e3e982c88f1a81814767c5a2c src/models/components/product1.ts: last_write_checksum: sha1:99bf7415857a532c821c93fed44b8081e3d62283 @@ -12030,12 +11948,12 @@ trackedFiles: id: 12c187785353 last_write_checksum: sha1:8e9466a18346334a070c3816b6201555417d7173 pristine_git_object: 459e4df7366ed8ab6b6283e83ffff16d1d9393a2 + src/models/components/question2.ts: + last_write_checksum: sha1:d4c47cd94b8f3c999026e02ad55ebfd8a464eb61 src/models/components/questionclassificationtype.ts: last_write_checksum: sha1:a9d1ccc5efcd7ea3a16050b2eedfc9db6c593f9f - src/models/components/questiondetailjson.ts: - id: 3012b251f667 - last_write_checksum: sha1:890d541722b6606887e215a540de8fb7cb489c2e - pristine_git_object: 0f66b4c38abfcc5343252eea46973efaa5d06734 + src/models/components/questiondetail.ts: + last_write_checksum: sha1:1e91f177be6a2bd89a3a4d127185fe7127c48caa src/models/components/questionidjson.ts: id: 3ba076786765 last_write_checksum: sha1:500ae973d7f00daac87562e83811e8096683d00f @@ -12044,24 +11962,18 @@ trackedFiles: last_write_checksum: sha1:8100e1a5295ca7beb1fd627d347b2635b96979b5 src/models/components/questionjson1.ts: id: cc9851e3d9b6 - last_write_checksum: sha1:43bccd962cc41901d7f34f45b351a80a2ad8a420 + last_write_checksum: sha1:4f551b254ccc1e4fe911a4b90bda7e8b1a5262bd pristine_git_object: 5c723da39316215b470099fda5ee538b761a4a2c - src/models/components/questionjson2.ts: - id: 28308106ab89 - last_write_checksum: sha1:0fc49f86d7ba0400d5d55767bdacce96c10381d8 - pristine_git_object: ca2a4d132a293fbd3c4dc5338fa4d9cc1ea27f4e src/models/components/questionpaginatedresponse.ts: id: af0a4908c445 last_write_checksum: sha1:6d8d305639f63653d82f7f4b5a22e0eed8f948db pristine_git_object: 9ee0e791c7bd043dbbda51f214199ce7984d5b3f + src/models/components/questionresponse.ts: + last_write_checksum: sha1:db4e16c46b0086d9c48da7619abd6c3f5ece143d src/models/components/questionresponsedatatype.ts: last_write_checksum: sha1:e6053a19d0e047a543436b966b4a73e52e399e75 src/models/components/questionresponseformat.ts: last_write_checksum: sha1:2d6a1bfe0f12ab479d06fdd9419919675cd1e511 - src/models/components/questionresponsejson.ts: - id: 43c486f35cc0 - last_write_checksum: sha1:af497d526d78405aa08b7e5f566b4f720bcdafae - pristine_git_object: 5a0580d3a14c79597b5e13482dbd883711358896 src/models/components/questionresponsetype.ts: last_write_checksum: sha1:b2f3e6df5e638d3eaec78358adf132f516ba8569 src/models/components/questionsection.ts: @@ -12076,16 +11988,18 @@ trackedFiles: pristine_git_object: ad827286a21c11c14aae15e54dc367fab6f9e40f src/models/components/questiontype.ts: last_write_checksum: sha1:9b754772b569ccecd2818eae71c6949339b82293 + src/models/components/questiontype1.ts: + last_write_checksum: sha1:24a39827d6b5917aaed3ec48e20d62e4d54eb10c + src/models/components/questiontype11.ts: + last_write_checksum: sha1:5a03a10a252a2c3a58b803250b0bdbd0b75f9ab5 src/models/components/questiontypejson.ts: - last_write_checksum: sha1:6f4bf2c14a06df172d0c6598fe11431c99e320e7 + last_write_checksum: sha1:4786952c38b4c28eb7781a4f01e6025f9b844b41 src/models/components/questiontypejson1.ts: id: 843dbd26ba2b - last_write_checksum: sha1:3f140c97d1a1b6eec5b2e145d3a78acebb746ee0 + last_write_checksum: sha1:f41def6b1af4a985da3019d31d44f0fa866d3555 pristine_git_object: e8a146f83585832a63d7100e127d6a3761e8ba82 - src/models/components/questiontypejson2.ts: - id: c215e1131065 - last_write_checksum: sha1:5eeab3f4fbfffb3fae1eb724db471178b7f9da28 - pristine_git_object: c4b42eaf82eee043e21a9c1c0c74948ee9dcf6b1 + src/models/components/rateapplicationtype.ts: + last_write_checksum: sha1:a1e878d68a0bf55475ec96f8da040931bf577b35 src/models/components/rateleveltype.ts: last_write_checksum: sha1:ade25a6c6cb69e50f6e493a5029abe8609353165 src/models/components/ratereviewstatustype.ts: @@ -12160,10 +12074,6 @@ trackedFiles: id: 2c0c22c00af0 last_write_checksum: sha1:78b8c47c7b67ecc9bace3cd6e6b946b67f83879a pristine_git_object: 74a6635883751bcfe55df8f6eeb57ae289a3cb33 - src/models/components/requestedmeetingrequestquestionjson.ts: - id: 8c855473b49e - last_write_checksum: sha1:56a3bac2d4d98a29d9c177845cc8f6f3b478dd9b - pristine_git_object: a49deac3922bff79c9eaab2a2c71f3963c1cef9e src/models/components/reservationcontactjson.ts: id: 00823e5e8b73 last_write_checksum: sha1:cec93ef4c513d2fee699a9a7eae55305b8f2e34a @@ -12362,6 +12272,8 @@ trackedFiles: id: ba02e0088d8b last_write_checksum: sha1:2b66491a3a422547463765ba40f1657ec6a89e62 pristine_git_object: 32f12611b283e59b962fbf1d5e7a3165c2e2ee55 + src/models/components/seatinglayouttype.ts: + last_write_checksum: sha1:030ed034d654159ab1bf2a37eda410a74a653814 src/models/components/seatingpaginatedresponse.ts: id: 74a55a6e8865 last_write_checksum: sha1:d1073daabb8ca995a5e79de9d5b97e2ab731ac00 @@ -12534,10 +12446,8 @@ trackedFiles: id: 55ae5fdb09ae last_write_checksum: sha1:6acb02cddeb6c8769ce1e6c7aeddff95d952f737 pristine_git_object: 4e9802fe698d73f34968e2651cf04095bdb84c6b - src/models/components/sleepingroomrequirementjson.ts: - id: 5bb47557d7a0 - last_write_checksum: sha1:41e3d48f73716e8024a331633ab9c0c4b0a9e005 - pristine_git_object: ee84b7c86991171280b6f269c04fba5f0782d8aa + src/models/components/sleepingroomrequirement.ts: + last_write_checksum: sha1:8a0d8c146edf82b5d2d09b139ba088c847bfa7f3 src/models/components/sleepingroomtypejson.ts: id: 2936b7ccb598 last_write_checksum: sha1:cd55dbfdd83a844f468d63e732e3004d6ff0bcfb @@ -12556,6 +12466,8 @@ trackedFiles: id: 60adf05d8e2b last_write_checksum: sha1:9e5930cb32103d55f550c2f2208d59bba2ce044d pristine_git_object: e77d5ffd2ec602b699d6cc7d33fef417a23c6724 + src/models/components/speaker1.ts: + last_write_checksum: sha1:dce5f06f8bbc0c6fbfb240764969774e7557009d src/models/components/speakercategory1.ts: last_write_checksum: sha1:150b0e28ad002391f5fb6efe73c49548a31fb229 src/models/components/speakercategory2.ts: @@ -12572,10 +12484,6 @@ trackedFiles: id: 32f4955798e3 last_write_checksum: sha1:021604b831465fb5b9131b714e6cb56d8ef70771 pristine_git_object: 20e6ca9a5033296db931bffd8baf9037ea1276f5 - src/models/components/speakerjson.ts: - id: eb842b94ce61 - last_write_checksum: sha1:72f5294dd5e9464e380b6d5a8994101018c57c35 - pristine_git_object: db25eaa97b72fb655cf775252896880f742d6c82 src/models/components/speakerlite.ts: last_write_checksum: sha1:109df5de173e95a31fbd500dde615295661f3806 src/models/components/speakerlite1.ts: @@ -12620,7 +12528,7 @@ trackedFiles: pristine_git_object: 1e27648d14b1787aa3af6925eba3c48d4a2714e1 src/models/components/standardsurveyquestionjson.ts: id: 03a6512e1a62 - last_write_checksum: sha1:1c682d5143ecb4d8d68f9cbc119cd94c5c94df5c + last_write_checksum: sha1:a1e18d88abed8d79cd8081f77a63e8d36bac149f pristine_git_object: 3d1ee2041669cb4efd6f571c833886894a4fc2c4 src/models/components/standardsurveyquestionspaginatedresponse.ts: id: 8f4e3f62cdd1 @@ -12654,6 +12562,8 @@ trackedFiles: id: 8094f05c8311 last_write_checksum: sha1:122e632fd0674f463b275a243825e92cdb7ce920 pristine_git_object: 8e2d829c37efa976cb5f6956a988751e024640b3 + src/models/components/stateprovince1.ts: + last_write_checksum: sha1:b130adedc8fb2fedcff41934a7f63c07f6567136 src/models/components/stateprovincejson.ts: id: 86bfee0a80aa last_write_checksum: sha1:a2a07cfb0a702218a50eef69823eb83812cecca3 @@ -12682,10 +12592,8 @@ trackedFiles: id: 339277a0dd4c last_write_checksum: sha1:1510ad566a09fa16008169f742fff3072a5ab51e pristine_git_object: df33c31ee49f671f9eb15ef00c91e4f6ecf99125 - src/models/components/surveyresponsejson.ts: - id: ce4bea9669f8 - last_write_checksum: sha1:861bd1e2b42dd0d12f1d020b8ecd4bd8639f5ff5 - pristine_git_object: 3f154ee8971cf00004c1ebf4fe7eb6a58f440508 + src/models/components/surveyresponse.ts: + last_write_checksum: sha1:444331fbcc56a9ab21242a3dbd1c5b41b2968744 src/models/components/surveyspaginatedresponse.ts: id: 818ed6bf2690 last_write_checksum: sha1:00188354508f0c170acd88b4f5babccfd6beacea @@ -12815,29 +12723,29 @@ trackedFiles: src/models/components/travelaccounttype.ts: last_write_checksum: sha1:2b7284d9843a24b910229fbe4b4565d17869c817 src/models/components/travelbidamenity.ts: - last_write_checksum: sha1:75215594fd2bdf6007cb19063f859e81d88ed9fb + last_write_checksum: sha1:3fd40730ec71fe6819740d8bb8119123065984ee src/models/components/travelbidcomment.ts: last_write_checksum: sha1:84ac0d2e153703088e6176cd5f54e1e3dc31d56c src/models/components/travelbiddiscount.ts: - last_write_checksum: sha1:65bfac68ecde252cad675dfed23f30e184f912a7 + last_write_checksum: sha1:a48ad761fe1daca9d09ac23f00d181eebe37960f src/models/components/travelbiddisposition.ts: last_write_checksum: sha1:a778a07fadf0e70fbfc68d240fbd0629af981e17 src/models/components/travelbiddispositionacceptedroom.ts: last_write_checksum: sha1:c53319fb12a75ba5d10708503d242c3e1a02d615 src/models/components/travelbidfairseason.ts: - last_write_checksum: sha1:89eea95e03c756fc04b6d610411993c201bda279 + last_write_checksum: sha1:4ad964fdfb69b276c48602cf76b8223b6bbd1a71 src/models/components/travelbidfairseasonrate.ts: - last_write_checksum: sha1:c5478b7fc9d72f863a1de991b24d9c0715161099 + last_write_checksum: sha1:7f8d3e338c2fce6eda6dd93cb557684c347e2a9e src/models/components/travelbidpolicy.ts: - last_write_checksum: sha1:d913e35820742c1a758d29afcef4b68d5db6b857 + last_write_checksum: sha1:3402ab8d7f8668b6a2c9ef135fefaee8e34ed919 src/models/components/travelbidroom.ts: - last_write_checksum: sha1:713d2e508ae8712421e2182e1e080b177deb3281 + last_write_checksum: sha1:e70ad1929e1c593784c90171ba96b869d3f84f97 src/models/components/travelbidseason.ts: - last_write_checksum: sha1:bad9d8fff354886eeb72e0b3ce33731384eec4a8 + last_write_checksum: sha1:dddd354e7d051e90c764c3083c88ab154c1fd29e src/models/components/travelbidseasonrate.ts: - last_write_checksum: sha1:0d47a6f0359b1091968c1647b65fb20ac8a04e94 + last_write_checksum: sha1:6cd9b2b37a549d4fad6c965035f40b7e35323f88 src/models/components/travelbidtaxandfee.ts: - last_write_checksum: sha1:098f2a4815eba2cb8737fde678d50442a885053a + last_write_checksum: sha1:b613e4359b6bb4f9a2a60ba16951e3aa0c7f39c9 src/models/components/travelbidweekenddays.ts: last_write_checksum: sha1:818c1ff2cf3cbec9ad4f97fc0c7a2434fcb396e7 src/models/components/traveldeparturearrivaljson.ts: @@ -12994,6 +12902,12 @@ trackedFiles: id: bccda9714175 last_write_checksum: sha1:3130ea2ec3c051750b719093ea1ef40515e449d2 pristine_git_object: b4d706adeef55400761790b108b128fc368470d9 + src/models/components/venuedetailsoverview.ts: + last_write_checksum: sha1:486e831b12e11c65ed43821644ce39d238157d65 + src/models/components/venuedetailspatch.ts: + last_write_checksum: sha1:58674804a04ef4065b6347576aef1164b9f5388b + src/models/components/venuefacilitypatch.ts: + last_write_checksum: sha1:a66c4bd59b3b7c12171505cbfc3fa3c4a17599b8 src/models/components/venuejson.ts: id: 7c2a40881953 last_write_checksum: sha1:0fb18c5c1a9e176bf0b4078c6dffa4ae02499297 @@ -13010,6 +12924,8 @@ trackedFiles: id: 2c6d277e1501 last_write_checksum: sha1:c5ed53856ed0e0e014da4a43d7bc510d43f2f5ea pristine_git_object: 92cbea358218fa7fa1e5671eb8001997dbf33414 + src/models/components/venuetype.ts: + last_write_checksum: sha1:85e0cd0a13c7a905fc90d59dad86af5bd9d569bd src/models/components/video1.ts: last_write_checksum: sha1:060caf0ab40e5588b178a8660e9cd6aa3408b955 src/models/components/videoassetid.ts: @@ -13120,36 +13036,28 @@ trackedFiles: last_write_checksum: sha1:a0d7462bfba6012f39234015c0444cbf3083b52d src/models/components/zeroallof1.ts: id: 2a45e585d034 - last_write_checksum: sha1:42137169eaf7e36556bd433723a3fe4c45d2cc7e + last_write_checksum: sha1:a8671d115cb1dc06248cabd95c380f308ea93435 pristine_git_object: 391d136419fc85dc112fd8ebe1a4f74dd44678da src/models/components/zeroallof2.ts: id: 06fefd84fc4a - last_write_checksum: sha1:619e51abdcc1b5c6ff5216dd2b3c2b1ed185da86 + last_write_checksum: sha1:8dfc93b054a69451403470177a8bda7b4222b04d pristine_git_object: f0b40417ce61eeea8ce278191d29e08743f420ea src/models/components/zeroallof3.ts: id: d36c706fab16 - last_write_checksum: sha1:03de59b7121fccacf7387dfb15b19d9f18fa008d + last_write_checksum: sha1:2345d48b5dec8553f0e4171b6b3f48aa79ca9b21 pristine_git_object: 7854e4a3f6166b3ee1d93a531988fa0fa7151047 src/models/components/zeroallof4.ts: id: 475bf3a9aac4 - last_write_checksum: sha1:8a1ff9f19f0c0b82be5c4c0453359250f70825bc + last_write_checksum: sha1:08f577b329a660a49cc7d3ef45f3c5f7feee9c47 pristine_git_object: 254451384c9bc9a895c95df14e5cb177c412ec6a src/models/components/zeroallof5.ts: id: cdedb16765e5 - last_write_checksum: sha1:4310872e37571cb8d7a7f70268ab813959ca876f + last_write_checksum: sha1:86a46bb728dafb7a3c8e172fad728deaf3b1b0af pristine_git_object: a2025a13ef9f4ee07a87323ba18f4cf3f9f26bc1 src/models/components/zeroallof6.ts: id: 32bbcf8ff654 - last_write_checksum: sha1:58cee566ecdd576f149ca321551f6c04eec09438 + last_write_checksum: sha1:95e5a503e93fd5272040a4944ee71852da4199f5 pristine_git_object: 997ef4ff5dfc63cbc77a6d5515ba026788b932c0 - src/models/components/zeroallof7.ts: - id: 4413302813a0 - last_write_checksum: sha1:dce8e6dbee038cae3e7c5eeb62672fa6ee56b98e - pristine_git_object: 9aecbfa2fa027272656e16b833cd5d6b0bd07744 - src/models/components/zeroallof8.ts: - id: 84d9475dbe11 - last_write_checksum: sha1:c086f91c869f0dcb50e103cc38afd1413ebcf17e - pristine_git_object: 23164b25c964029656ea5adfc2ac86ab81d95582 src/models/components/zeroanyof.ts: id: 3b51cd191465 last_write_checksum: sha1:959d04e619710b41c51a89ceba00321a05801ea2 @@ -13169,7 +13077,7 @@ trackedFiles: last_write_checksum: sha1:7e6bb500315ac385c0e5484a8b7b072cdccb6066 pristine_git_object: 2f4cf6338c45bb6f7999e91837677f31545bc0dc src/models/errors/errorresponse.ts: - last_write_checksum: sha1:6136f2c3e04441e6748c659c88f05eb2f223e27d + last_write_checksum: sha1:94d124932c39fb34c5216765a88927fb88ff4ffc src/models/errors/errorresponse1.ts: last_write_checksum: sha1:dd1f14c324390d574fa2f81c946be6e6987b198e src/models/errors/errorresponse2.ts: @@ -13195,7 +13103,7 @@ trackedFiles: last_write_checksum: sha1:a69da17627bcc32b820544608f3400423ea53f26 pristine_git_object: 6826e1208a5d7b7d310535d18909646522bf0fbd src/models/errors/segmentserrorresponse.ts: - last_write_checksum: sha1:0ab3c3a8ac52c77e311b46d4b9c83521f529a32d + last_write_checksum: sha1:a6f573f5cace4a138aa561cbdadc82c165f454aa src/models/operations/addcontacttocontactgroup.ts: id: 2b4fa57a641b last_write_checksum: sha1:b0df1c89d2e80f7a2637bb378577bdf668aea954 @@ -13354,8 +13262,10 @@ trackedFiles: pristine_git_object: ebdc7d98da1f9972f02c65ba72ec9d587578e7c6 src/models/operations/createmeetingrequest.ts: id: 48c26a3808eb - last_write_checksum: sha1:b4b368a02382e95c6691ebae41a9784c66375331 + last_write_checksum: sha1:67d18e5e7a51a29381c4d6bae3e79cf0f5d00d30 pristine_git_object: 0a6e2e2e1b0cc5cadd2141fa88149c724e8195a8 + src/models/operations/createmeetingroom.ts: + last_write_checksum: sha1:d26db4ef35b62a1eca760bf0c339d4e93b372095 src/models/operations/createpayment.ts: id: a2150ba1f53a last_write_checksum: sha1:c6e9c1415ad525fd539f193f15ec129abef3fe0c @@ -13568,18 +13478,18 @@ trackedFiles: last_write_checksum: sha1:f3346cc1e2bc064011e67a253d954b3b6466903f src/models/operations/getairactualdetail.ts: id: 24549bc9b39e - last_write_checksum: sha1:02d4963c592ff49a4420a91eba8955197ac158fa + last_write_checksum: sha1:2c7a3fa60f598a803768844e4e566baa5283047f pristine_git_object: dfe24c0d31e6baf23b874126ff7e01857cb25cbd src/models/operations/getairrequests.ts: id: 6a19185e5cf5 - last_write_checksum: sha1:383cd3a87c41e093fc3e5baf5ae5eb6d72f20822 + last_write_checksum: sha1:fdf7c0dce3f268f44cf0c0e62977d664962f5a4e pristine_git_object: 0a49618a54c6f7fa3af4ae71f12376afaf9a5b61 src/models/operations/getalleventsurveyresponses.ts: id: 95886625d4ae last_write_checksum: sha1:a6709f073c0432261d405b03c6ad2d09397289cc pristine_git_object: 586dd2519f4cb03ae1f548ee5ec735133efd26e4 src/models/operations/getalternatetravelanswers.ts: - last_write_checksum: sha1:f06b4e3cb3be8df876ad50262f6d78bc2e90e201 + last_write_checksum: sha1:b5ec12c48847d6362d4e901be08fd7d93add84bd src/models/operations/getappointmentattendeebyid.ts: id: a5b5fab27421 last_write_checksum: sha1:b07f27a7cb149d9f3ae0b63e37a583c5d50066b8 @@ -13646,7 +13556,7 @@ trackedFiles: pristine_git_object: 8134b444f362ec9d3f296b477deff50255081b43 src/models/operations/getbudgetallocations.ts: id: e7f859087a34 - last_write_checksum: sha1:80d5edbab233fef28ecbf30a1d3d7bc75e500d6c + last_write_checksum: sha1:1ffc17cef877f71b26e3ce59659fe2f4e5708600 pristine_git_object: de1a3866614ba5aee1408682ff386641624607d4 src/models/operations/getbudgetitems.ts: id: 60794aa63a04 @@ -13754,7 +13664,7 @@ trackedFiles: pristine_git_object: c462b65548de2c95b514f7a1562105523c4e8bfd src/models/operations/geteventfeatures.ts: id: b2ce5da0d738 - last_write_checksum: sha1:fed2f24b667e447851f7b99154ebcf1d34ceb4e9 + last_write_checksum: sha1:972d0a146ab35420bc497f636a3f356165e6a02d pristine_git_object: eb8b163e7cb8d8b9f28a559d7a9a00a51b9cf9a3 src/models/operations/geteventplanningdocuments.ts: last_write_checksum: sha1:de22b6132955ae92b98cd225b317ca264c003d69 @@ -13772,7 +13682,7 @@ trackedFiles: pristine_git_object: ae8995dd445af8b306a126b4683ea6bf89e52232 src/models/operations/geteventsurveyquestions.ts: id: bcf91f538a94 - last_write_checksum: sha1:6c4247919395ce4f3fc87c3b04f02935ac944ef1 + last_write_checksum: sha1:e48d994e2f20e82ab4f8940b6313386b2917984b pristine_git_object: 2b682f6fd76d7ab923f6af6106bd2ad197f79aec src/models/operations/geteventsurveyrespondents.ts: id: 3f7d7143a6ca @@ -13780,11 +13690,11 @@ trackedFiles: pristine_git_object: 605234ca56859e887997ba6df38e80ab7f994ae3 src/models/operations/geteventsurveyresponses.ts: id: ccaf961bf550 - last_write_checksum: sha1:54ddf4ea58dab39213ae9e439af9789a38baae9d + last_write_checksum: sha1:aca5b28197c4881f2025d9a2bfe81119a0b22bb3 pristine_git_object: 101765be1d5bdaa60292804867ecad579d5b2b17 src/models/operations/geteventsurveys.ts: id: 3b0a1be26c88 - last_write_checksum: sha1:4386071783044f04fa4d5d4310d883b16fce8d41 + last_write_checksum: sha1:12c5491d4e613d690ff1f0e4943b0348b5447ccb pristine_git_object: e1752143f9b517f1d678a823bc7d7fcad5ade8a1 src/models/operations/geteventtableassignments.ts: id: d606cbd04d40 @@ -13832,7 +13742,7 @@ trackedFiles: pristine_git_object: d24fe41f0b077d20955278c649e13d6eb4df2dad src/models/operations/gethotelrequests.ts: id: 9e403f73b66a - last_write_checksum: sha1:52d1f91b306c950c4134d34bde2412d1f4fed9a7 + last_write_checksum: sha1:12be726fd1a3a90e1f778bafc5a7bb3caf7dbedf pristine_git_object: 7edffe7bc782934b166743a43ff17337ee662729 src/models/operations/gethousingeventhotel.ts: id: 7f05aacd2c2c @@ -13868,7 +13778,7 @@ trackedFiles: pristine_git_object: 8f5140f6ba5163abeb3713fabe8bba22f0e58db5 src/models/operations/gethousingreservationrequests.ts: id: c565561d1df3 - last_write_checksum: sha1:d5fbadfac8cf012185df726704c26b7d98638bcc + last_write_checksum: sha1:852bfacefa732ea4b019502cfc763e4b35317ef4 pristine_git_object: 70acb50cf4974d574cf9f66c97cf7078b3d0634a src/models/operations/gethubmembers.ts: id: 94c8bdcd1c95 @@ -13910,17 +13820,19 @@ trackedFiles: id: 52f66216cdef last_write_checksum: sha1:61871f59f608c1e24064ed857986a6b3a6f386d5 pristine_git_object: 973aed0b16280ef9ebd9acac88a4fc6aff02a39a + src/models/operations/getmeetingroomoverview.ts: + last_write_checksum: sha1:47c85616b8f543d3b50900c94c8296e4ff15f85e src/models/operations/getmrfbyid.ts: id: 4a532cee70b5 last_write_checksum: sha1:6e39708c94abfd816bd36ed309f84033bd229d7f pristine_git_object: 33145a7c0be6866fa67421b84580ce01e859fbd4 src/models/operations/getorderitems.ts: id: 8e8fbf606809 - last_write_checksum: sha1:b34669c0185b3cc170f6b189bca429154cc08d27 + last_write_checksum: sha1:f7d8e3bc6fe0fa66a836fdf94eb76158f0b72672 pristine_git_object: bddd37a2d2f4099861b09a8c482a714496242105 src/models/operations/getorders.ts: id: eacd56121248 - last_write_checksum: sha1:edca4889e0e539aa1b5057a32ab24ad20072d9d8 + last_write_checksum: sha1:f7d13fed9b50dd691d862193360376067fe0c2e4 pristine_git_object: c2225c27439efa9fbc7e26ccb5138d446f054517 src/models/operations/getpayments.ts: id: 49362569a8aa @@ -14038,11 +13950,11 @@ trackedFiles: pristine_git_object: edb36e9245c339e09f945e32bf8bcf417530c3d7 src/models/operations/getstandardsurveyemailtemplates.ts: id: 10422e3fd514 - last_write_checksum: sha1:78ece84c9193e207cea93c602b346722194ce60e + last_write_checksum: sha1:647a34bde3d3262bb888d958cf67abe7e06785fd pristine_git_object: 87ce02ff9d1654ce7d0ea34c27c23aa9e4cc16df src/models/operations/getstandardsurveyquestions.ts: id: 18afcbb5e54d - last_write_checksum: sha1:8017cb69a711b8bfc5a20e0dd9015e139b48f06d + last_write_checksum: sha1:3315a6a94ca35e0d99e290d1259d97b37ac9a01e pristine_git_object: 01aec138946e3b2704f61ff6f6627ffa77767895 src/models/operations/getstandardsurveyrespondents.ts: id: aa1ed63aebc2 @@ -14116,6 +14028,8 @@ trackedFiles: id: 772d1499899c last_write_checksum: sha1:f6b4243f1fbe0f8d63415b0856176ed04a982bde pristine_git_object: b6bf6125de8baf2a09878d48141e446286856fdb + src/models/operations/getvenuedetailsoverview.ts: + last_write_checksum: sha1:d9fd1a6af8c34568bc9a8155080fbd93c9ad4c86 src/models/operations/getvideoviews.ts: id: 73492d7d3f27 last_write_checksum: sha1:a020ec30e771d126f2d205685e025a01c5b43bbc @@ -14126,7 +14040,7 @@ trackedFiles: pristine_git_object: d6b13780a2a4052c16b56f17ccb2e26c3e53ead0 src/models/operations/index.ts: id: 0d9ffaf774d2 - last_write_checksum: sha1:6cfecac7a847dda735bb11f15711bd5fd556e2a9 + last_write_checksum: sha1:0c868076bda15827a66edca29e36e558f0c27e44 pristine_git_object: d6029218a80f5414ff9998b5ebd1d283ca45ea4e src/models/operations/launcheventfeatures.ts: id: 1b0201a14151 @@ -14182,7 +14096,7 @@ trackedFiles: pristine_git_object: 7f96c5bbd50f641248314f8f4dd3945dcc4aabeb src/models/operations/listattendees.ts: id: e3565b250895 - last_write_checksum: sha1:baeaed94c3326764a09448c6c1d24b28c61e0d8a + last_write_checksum: sha1:afa9986347dc54aab29dceda0ed0bd716f1e82fa pristine_git_object: 4a655b4f822fd4f4f2b8bb7a88decc45e512b643 src/models/operations/listattendeespostfilter.ts: id: 091f5e61d17c @@ -14214,7 +14128,7 @@ trackedFiles: pristine_git_object: 2b69001dde78df5377b6c34b899106904475cb70 src/models/operations/listbulkjobresult.ts: id: 1aac6e157a3c - last_write_checksum: sha1:6dc19fda4c55e704005b26f26d911ab41ca8135d + last_write_checksum: sha1:cd0519e4bc7644131f004712bb714fce53570a53 pristine_git_object: 61e7cea3717431e8f8c5dbd4c0fcb59999fcbd36 src/models/operations/listcontactgroups.ts: id: 70129fb69838 @@ -14280,7 +14194,7 @@ trackedFiles: last_write_checksum: sha1:63481721231ce951ec94a6283e5bf18e4877ee6d src/models/operations/listeventweblinks.ts: id: abca17217b11 - last_write_checksum: sha1:37c38b8d6cfab81d03b30ff42338b2a3dd45347f + last_write_checksum: sha1:7e30b2c2d685a4f9ba2f5e6ff5feb14e2e4d3d7a pristine_git_object: ce0a03eb187c10f94bee048d3918f3b7d5ff7b5b src/models/operations/listexhibitoradmins.ts: id: 24dcfa611083 @@ -14330,6 +14244,8 @@ trackedFiles: id: 03350aef9ae3 last_write_checksum: sha1:7f165d56149f846a73979b3a14b72d949b6c7363 pristine_git_object: eaa8ca5cf214c5d9926c84575a78989030363098 + src/models/operations/listmeetingroomsoverviews.ts: + last_write_checksum: sha1:7b3088d567feae0e6062258b82fa2b06c736a62d src/models/operations/listmembershipitems.ts: last_write_checksum: sha1:2fe186b8fa5f420ff9bfba2553bf1224de30f183 src/models/operations/listmembershipitemspostfilter.ts: @@ -14532,6 +14448,12 @@ trackedFiles: id: 8406fc4cbf19 last_write_checksum: sha1:0be906c4164050b67d614d02120bb58bdde6ad26 pristine_git_object: c1beee1c44581d88a8c6d00513e9941f231bc53d + src/models/operations/patchmeetingroom.ts: + last_write_checksum: sha1:455f734d5524209c6226d3c890483c7039365d22 + src/models/operations/patchvenuedetails.ts: + last_write_checksum: sha1:6256bc80d9cec12841c11aeef759d20d1457c8f6 + src/models/operations/patchvenuefacility.ts: + last_write_checksum: sha1:acecabd182f8f0655a671d61935d763f8314cebe src/models/operations/postbadge.ts: id: 83bce1f1d9b4 last_write_checksum: sha1:5776e44750113406a8198116cedacb948a8a7fdf @@ -14748,8 +14670,10 @@ trackedFiles: pristine_git_object: 7708ca8578d8776aa74f0214fe2fccd56c841a36 src/models/operations/updatemeetingrequest.ts: id: f5a4ef8afd4d - last_write_checksum: sha1:0387c0e6639be2683319251f3f6340e62c4b9123 + last_write_checksum: sha1:ee782972b86bf3ea3e559d81103fcacf314e569a pristine_git_object: 62510c02ca6b646c6e195d830c750ee1fab77f10 + src/models/operations/updatemeetingroom.ts: + last_write_checksum: sha1:8bd7013889cd104c79f3b68b278542a60442e987 src/models/operations/updatepayment.ts: id: 06fce65b1c82 last_write_checksum: sha1:8f5323fd92c26aec0409275dd3b961a41f4029a9 @@ -14810,6 +14734,10 @@ trackedFiles: id: 8ccb597e7aa7 last_write_checksum: sha1:abf937e0111ddb68985c33862aa8e8a0d8c4c73b pristine_git_object: b2a1826a74229326597c06f1d843185087581f80 + src/models/operations/updatevenuedetails.ts: + last_write_checksum: sha1:3e44c7704083da4832adcf01ad588b6e3f2aebc2 + src/models/operations/updatevenuefacility.ts: + last_write_checksum: sha1:ff7d1ecd6686f730ba6b295bb0b2796a9f25928a src/models/operations/updatewebcast.ts: id: 57b002139c17 last_write_checksum: sha1:2a05f375458436747051f765d690cf44b56c22a1 @@ -14860,7 +14788,7 @@ trackedFiles: pristine_git_object: bf999fcd7e55e010a55d794f53214457bfe16a5e src/sdk/bulk.ts: id: 1a15e92b7620 - last_write_checksum: sha1:1b0110d4983869ecb75289ad1f73366707e926f3 + last_write_checksum: sha1:30847d16fd42b6461ef43e0d1e603a6291e7768f pristine_git_object: 08f0a23dacdb37d5f5acfa63d06c82f5b989614d src/sdk/campaigns.ts: id: 026c94904537 @@ -14952,7 +14880,7 @@ trackedFiles: pristine_git_object: 026de2eb81cf94d4ea91ac7e46ad982c25d96b7d src/sdk/meetingrequest.ts: id: a4ee648b9baf - last_write_checksum: sha1:a62ff41aa6c32497845ae133c5e49a5f94d1c07f + last_write_checksum: sha1:685dd6d336119a08813e67ba5427992d8b87a57d pristine_git_object: a03313854a717831d797b16eb9405eff436277b1 src/sdk/processform.ts: id: 355936b318b5 @@ -14972,7 +14900,7 @@ trackedFiles: last_write_checksum: sha1:cf1e2121b3b7be2da29f337c21001559137c2925 src/sdk/sdk.ts: id: 784571af2f69 - last_write_checksum: sha1:343b4caae639b199fa02b9a984d249309bea4b3a + last_write_checksum: sha1:5bff96f9554ef28d8371328b5204584fd4bdc2e0 pristine_git_object: c11d17f670dc8928b91f0ef09fc965ae56247f03 src/sdk/seating.ts: id: 1106401b4826 @@ -15018,6 +14946,10 @@ trackedFiles: id: baeb7ecc7592 last_write_checksum: sha1:c784daaf2a651ddee1ff4fc096e7ed4ae6365220 pristine_git_object: e45b3ee6acc785940ecdfebee16aaf536ca076a8 + src/sdk/venuemeetingrooms.ts: + last_write_checksum: sha1:dc9ea826149802281b5b6f5b5d519424eec7213e + src/sdk/venueprofiles.ts: + last_write_checksum: sha1:de94fb84f107d9cea05795b52d6039f01e78f82b src/sdk/video.ts: id: 3fed6449b7fe last_write_checksum: sha1:fcf10293ca26e8e45085064f53b4a327356ca606 @@ -15992,7 +15924,7 @@ examples: expand: ["answers.question", "registrationType"] responses: "200": - application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "8e8665e7-ca97-4610-90dc-3527c766faf9", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "8e8665e7-ca97-4610-90dc-3527c766faf9", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "unsubscribed": false, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateAttendee: @@ -16004,7 +15936,7 @@ examples: application/json: {"event": {"id": "0a955598-376e-43d4-a796-91d6d5f41e3f"}, "contact": {"id": "ea66a709-2a93-4fa0-8b83-cf4f62df9dc3"}, "invitationList": {"id": "06da38f9-12da-4cb6-a581-7a5954f8e0e2"}, "referenceId": "refid-marketingwebsite", "note": "Would like to sit near the front of the room for sessions.", "administrator": {"id": "7949c335-b5b2-46cf-8f5d-f6b21795df51"}, "admissionItem": {"id": "7949c335-b5b2-46cf-8f5d-f6b21795df51"}, "visibility": "Private", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "sendEmail": false, "status": "Accepted"} responses: "200": - application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "d1b5785a-f370-4935-ab5c-d8b318a79002", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "confirmationNumber": "VNNDLJ6DKVK", "contact": {"firstName": "Henry", "lastName": "Potterfield", "middleName": "A", "nickname": "Harry", "email": "h.potterfield@test.com", "ccEmail": "h.porter@tesing.com", "gender": "Male", "company": "Cvent Inc.", "designation": "Event", "title": "Event Planner", "type": {"id": "861B51EC-AA7E-475F-B38D-4C8E35C47D63", "name": "VIP Member"}, "primaryAddressType": "Home", "homeAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "homePhone": "555-555-5555", "homeFax": "555-555-5555", "workAddress": {"address1": "Cvent Inc.", "address2": "4001 West Parmer Lane", "address3": "PO Box 123", "city": "Austin", "countryCode": "US", "postalCode": "78727", "region": "Texas", "regionCode": "TX", "country": "United States of America", "latitude": 30, "longitude": -97}, "workPhone": "555-555-5555", "workFax": "555-555-5555", "optOut": {"optedOut": false}, "customFields": [{"id": "d1b5785a-f370-4935-ab5c-d8b318a79002", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General"}], "sourceId": "system-a-00000000-0000-0000-0000-000000000000", "mobilePhone": "555-555-5555", "compliance": [{"creationTime": "2021-03-08T17:30:01.727Z", "complianceScope": "CCPA", "action": "DO_NOT_SELL", "createdBy": "PLANNER"}], "prefix": "Dr.", "pager": "555-555-5555", "deleted": false, "headline": "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", "personalWebsite": "https://www.example.com", "biography": "I am a marketing professional with experience in event planning and brand strategy.", "pronouns": "he/him/she/her/they/them", "_links": {"twitterUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "facebookUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "linkedInUrl": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "profilePicture": {"href": "https://cvent.com/picture123"}}}, "checkedIn": true, "checkIn": "2018-01-13T02:00:00Z", "checkOut": "2018-01-13T02:00:00Z", "duration": 4000, "registrationPath": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "invitationList": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "name": "Sample Object name"}, "webLinks": {"acceptRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", "declineRegistration": "https://example.com/123ABC?i=abcdefghijklmnopqrstuv"}, "registrationType": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "referenceId": "refid-plannerside", "externalReferences": [{"type": "Cvent Salesforce App", "id": "0000X123sfjhooks", "referenceId": "000X123jhooks"}], "note": "Would like to sit near the front of the room for sessions.", "guest": true, "deletedGuest": false, "group": {"id": "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", "member": true, "leader": true}, "administrator": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "unsubscribed": false, "status": "Accepted", "registeredAt": "2018-01-13T02:00:00Z", "registrationLastModified": "2018-01-13T02:00:00Z", "registrationCancelledAt": "2018-01-13T02:00:00Z", "invitedBy": "Planner-Invited", "responseMethod": "Self-Responded", "answers": [{"question": {"id": "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"}, "value": ["1234"]}], "admissionItem": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "code": "MU", "name": "Meet up"}, "visibility": "Private", "bio": "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", "websiteUrl": "https://www.example.com", "allowPushNotifications": false, "allowAppointmentPushNotifications": false, "testRecord": false, "attendeeLastModified": "2018-01-13T02:00:00Z", "appointmentGroups": [{"id": "bf183d50-56ad-454b-8b9f-06d8e923e1fd"}], "credit": 10} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateInternalInfoAnswers: @@ -20572,6 +20504,127 @@ examples: application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"id": "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueDetails: + speakeasy-default-update-venue-details: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A modern conference venue in downtown.", "additionalInformation": "Free parking available on-site.", "cancellationPolicy": "Full refund if cancelled 48 hours before event.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "country": "LA", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A modern conference venue in downtown.", "additionalInformation": "Free parking available on-site.", "cancellationPolicy": "Full refund if cancelled 48 hours before event.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "country": "LA", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Vienna Wolf Trap Hotel", "metroArea": "Washington DC Metro"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchVenueDetails: + speakeasy-default-patch-venue-details: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/merge-patch+json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A premier conference and event venue in the heart of Northern Virginia.", "additionalInformation": "Complimentary parking available for all event attendees.", "cancellationPolicy": "48-hour cancellation policy applies for all event bookings.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + responses: + "200": + application/json: {"type": "HOTEL", "timeZone": "America/New_York", "brand": "Quality Hotels", "chainScale": "UPSCALE_CHAINS", "mainPhoneNumber": "+1-703-555-0100", "mainFaxNumber": "+1-703-555-0101", "salesPhoneNumber": "+1-703-555-0102", "salesFaxNumber": "+1-703-555-0103", "tollFreeNumber": "1-800-555-0100", "websiteAddress": "https://www.example-hotel.com", "openingDate": "Spring 2025", "description": "A premier conference and event venue in the heart of Northern Virginia.", "additionalInformation": "Complimentary parking available for all event attendees.", "cancellationPolicy": "48-hour cancellation policy applies for all event bookings.", "locationTypes": ["SUBURBAN"], "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182", "directions": "Take I-66 West to Exit 67, then follow signs to Trap Road."}} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getVenueDetailsOverview: + speakeasy-default-get-venue-details-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + responses: + "200": + application/json: {"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "name": "Vienna Wolf Trap Hotel"} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueFacility: + speakeasy-default-update-venue-facility: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}, "id": "e1c05096-e352-4f2e-af1c-a6e022d36b34", "name": "Vienna Wolf Trap Hotel"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchVenueFacility: + speakeasy-default-patch-venue-facility: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/merge-patch+json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + responses: + "200": + application/json: {"numberOfMeetingRooms": 25, "space": {"totalMeetingRoomSpace": 50000, "totalExhibitSpace": 75000}, "sleeping": {"totalRooms": 350, "suites": 20, "singleRooms": 200, "doubleRooms": 130}, "singleRate": {"low": 129.99, "high": 249.99}, "doubleRate": {"low": 149.99, "high": 299.99}, "taxRate": 8.5, "occupancyRate": 75.5, "yearBuilt": 1998, "yearRenovated": 2021, "proximityFromAirport": {"distance": 12.5}, "restrictions": "No outside food or beverage permitted. Music must end by 11 PM.", "maximumCapacity": {"seated": 500, "standing": 800}} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + createMeetingRoom: + speakeasy-default-create-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "201": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listMeetingRoomsOverviews: + speakeasy-default-list-meeting-rooms-overviews: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + filter: "hiddenOnProfile eq 'false'" + responses: + "200": + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": []} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateMeetingRoom: + speakeasy-default-update-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "2344f9ab-537e-412f-ad6d-264fedbf17a6" + requestBody: + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-123", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false, "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchMeetingRoom: + speakeasy-default-patch-meeting-room: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "2a12f958-0ac4-4665-9210-449812da553a" + requestBody: + application/merge-patch+json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-RM-12345", "rates": null, "capacities": null, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + responses: + "200": + application/json: {"name": "Grand Ballroom", "description": "Large conference space with natural lighting", "dimensions": {"totalSpace": {"value": 1500, "unit": "SQUARE_FEET"}, "ceilingHeight": {"value": 12.5, "unit": "FEET"}, "length": {"value": 12.5, "unit": "FEET"}, "width": {"value": 12.5, "unit": "FEET"}}, "displayOrder": 1, "externalSourceId": "EXT-RM-12345", "rates": {"moveIn": {"value": 500, "applicationType": "PER_DAY"}, "moveOut": {"value": 500, "applicationType": "PER_DAY"}, "event": {"value": 500, "applicationType": "PER_DAY"}}, "capacities": {"exhibits": [{"layoutType": "BOOTH_10x10", "maxExhibits": 50}], "seating": [{"layoutType": "THEATER", "maxAttendees": 250}]}, "amenities": ["PROJECTOR"], "hiddenOnProfile": false} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getMeetingRoomOverview: + speakeasy-default-get-meeting-room-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + meetingRoomId: "081078e3-8a73-49c6-b757-a3d52dbc2cc8" + responses: + "200": + application/json: {"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "name": "Grand Ballroom", "hiddenOnProfile": false, "displayOrder": 1} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} examplesVersion: 1.0.2 generatedTests: getAccountUserGroups: "2025-12-09T16:06:19-06:00" @@ -20963,3 +21016,13 @@ generatedTests: listEventVouchers: "2026-06-24T15:40:48-04:00" listEventVouchersPostFilter: "2026-06-24T15:40:48-04:00" listEventVoucherAttendees: "2026-06-24T15:40:48-04:00" + updateVenueDetails: "2026-07-28T09:09:17-06:00" + patchVenueDetails: "2026-07-28T09:09:17-06:00" + getVenueDetailsOverview: "2026-07-28T09:09:17-06:00" + updateVenueFacility: "2026-07-28T09:09:17-06:00" + patchVenueFacility: "2026-07-28T09:09:17-06:00" + createMeetingRoom: "2026-07-28T09:09:17-06:00" + listMeetingRoomsOverviews: "2026-07-28T09:09:17-06:00" + updateMeetingRoom: "2026-07-28T09:09:17-06:00" + patchMeetingRoom: "2026-07-28T09:09:17-06:00" + getMeetingRoomOverview: "2026-07-28T09:09:17-06:00" diff --git a/packages/typescript/.speakeasy/gen.yaml b/packages/typescript/.speakeasy/gen.yaml index 28bbc192b..f97f0d9ac 100644 --- a/packages/typescript/.speakeasy/gen.yaml +++ b/packages/typescript/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false typescript: - version: 1.5.2 + version: 1.6.0 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/packages/typescript/.speakeasy/tests.arazzo.yaml b/packages/typescript/.speakeasy/tests.arazzo.yaml index 8e4c68f9f..499ee84d5 100644 --- a/packages/typescript/.speakeasy/tests.arazzo.yaml +++ b/packages/typescript/.speakeasy/tests.arazzo.yaml @@ -1733,7 +1733,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"8e8665e7-ca97-4610-90dc-3527c766faf9","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"8e8665e7-ca97-4610-90dc-3527c766faf9","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"unsubscribed":false,"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} type: simple x-speakeasy-test-group: Attendees x-speakeasy-test-rebuild: true @@ -1773,7 +1773,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"d1b5785a-f370-4935-ab5c-d8b318a79002","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","confirmationNumber":"VNNDLJ6DKVK","contact":{"firstName":"Henry","lastName":"Potterfield","middleName":"A","nickname":"Harry","email":"h.potterfield@test.com","ccEmail":"h.porter@tesing.com","gender":"Male","company":"Cvent Inc.","designation":"Event","title":"Event Planner","type":{"id":"861B51EC-AA7E-475F-B38D-4C8E35C47D63","name":"VIP Member"},"primaryAddressType":"Home","homeAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"homePhone":"555-555-5555","homeFax":"555-555-5555","workAddress":{"address1":"Cvent Inc.","address2":"4001 West Parmer Lane","address3":"PO Box 123","city":"Austin","countryCode":"US","postalCode":"78727","region":"Texas","regionCode":"TX","country":"United States of America","latitude":30,"longitude":-97},"workPhone":"555-555-5555","workFax":"555-555-5555","optOut":{"optedOut":false},"customFields":[{"id":"d1b5785a-f370-4935-ab5c-d8b318a79002","name":"What is a your favorite color?","value":["Choice C","Choice A"],"order":1,"type":"General"}],"sourceId":"system-a-00000000-0000-0000-0000-000000000000","mobilePhone":"555-555-5555","compliance":[{"creationTime":"2021-03-08T17:30:01.727Z","complianceScope":"CCPA","action":"DO_NOT_SELL","createdBy":"PLANNER"}],"prefix":"Dr.","pager":"555-555-5555","deleted":false,"headline":"Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands","personalWebsite":"https://www.example.com","biography":"I am a marketing professional with experience in event planning and brand strategy.","pronouns":"he/him/she/her/they/them","_links":{"twitterUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"facebookUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"linkedInUrl":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"profilePicture":{"href":"https://cvent.com/picture123"}}},"checkedIn":true,"checkIn":"2018-01-13T02:00:00Z","checkOut":"2018-01-13T02:00:00Z","duration":4000,"registrationPath":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"invitationList":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","name":"Sample Object name"},"webLinks":{"acceptRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv","declineRegistration":"https://example.com/123ABC?i=abcdefghijklmnopqrstuv"},"registrationType":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"referenceId":"refid-plannerside","externalReferences":[{"type":"Cvent Salesforce App","id":"0000X123sfjhooks","referenceId":"000X123jhooks"}],"note":"Would like to sit near the front of the room for sessions.","guest":true,"deletedGuest":false,"group":{"id":"d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce","member":true,"leader":true},"administrator":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"},"unsubscribed":false,"status":"Accepted","registeredAt":"2018-01-13T02:00:00Z","registrationLastModified":"2018-01-13T02:00:00Z","registrationCancelledAt":"2018-01-13T02:00:00Z","invitedBy":"Planner-Invited","responseMethod":"Self-Responded","answers":[{"question":{"id":"60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a"},"value":["1234"]}],"admissionItem":{"id":"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3","code":"MU","name":"Meet up"},"visibility":"Private","bio":"In west Philadelphia, born and raised, on the playground is where I spent most of my days.","websiteUrl":"https://www.example.com","allowPushNotifications":false,"allowAppointmentPushNotifications":false,"testRecord":false,"attendeeLastModified":"2018-01-13T02:00:00Z","appointmentGroups":[{"id":"bf183d50-56ad-454b-8b9f-06d8e923e1fd"}],"credit":10} type: simple x-speakeasy-test-group: Attendees x-speakeasy-test-rebuild: true @@ -10816,3 +10816,403 @@ workflows: type: simple x-speakeasy-test-group: Events x-speakeasy-test-rebuild: true + - workflowId: updateVenueDetails + steps: + - stepId: test + operationId: updateVenueDetails + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + additionalInformation: Free parking available on-site. + address: + city: Vienna + country: LA + directions: Take I-66 West to Exit 67, then follow signs to Trap Road. + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + brand: Quality Hotels + cancellationPolicy: Full refund if cancelled 48 hours before event. + chainScale: UPSCALE_CHAINS + description: A modern conference venue in downtown. + locationTypes: + - SUBURBAN + mainFaxNumber: +1-703-555-0101 + mainPhoneNumber: +1-703-555-0100 + openingDate: Spring 2025 + salesFaxNumber: +1-703-555-0103 + salesPhoneNumber: +1-703-555-0102 + timeZone: America/New_York + tollFreeNumber: 1-800-555-0100 + type: HOTEL + websiteAddress: https://www.example-hotel.com + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","type":"HOTEL","timeZone":"America/New_York","brand":"Quality Hotels","chainScale":"UPSCALE_CHAINS","mainPhoneNumber":"+1-703-555-0100","mainFaxNumber":"+1-703-555-0101","salesPhoneNumber":"+1-703-555-0102","salesFaxNumber":"+1-703-555-0103","tollFreeNumber":"1-800-555-0100","websiteAddress":"https://www.example-hotel.com","openingDate":"Spring 2025","description":"A modern conference venue in downtown.","additionalInformation":"Free parking available on-site.","cancellationPolicy":"Full refund if cancelled 48 hours before event.","locationTypes":["SUBURBAN"],"address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182","country":"LA","directions":"Take I-66 West to Exit 67, then follow signs to Trap Road."},"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","name":"Vienna Wolf Trap Hotel","metroArea":"Washington DC Metro"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: patchVenueDetails + steps: + - stepId: test + operationId: patchVenueDetails + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/merge-patch+json + payload: + additionalInformation: Complimentary parking available for all event attendees. + address: + city: Vienna + directions: Take I-66 West to Exit 67, then follow signs to Trap Road. + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + brand: Quality Hotels + cancellationPolicy: 48-hour cancellation policy applies for all event bookings. + chainScale: UPSCALE_CHAINS + description: A premier conference and event venue in the heart of Northern Virginia. + locationTypes: + - SUBURBAN + mainFaxNumber: +1-703-555-0101 + mainPhoneNumber: +1-703-555-0100 + openingDate: Spring 2025 + salesFaxNumber: +1-703-555-0103 + salesPhoneNumber: +1-703-555-0102 + timeZone: America/New_York + tollFreeNumber: 1-800-555-0100 + type: HOTEL + websiteAddress: https://www.example-hotel.com + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"type":"HOTEL","timeZone":"America/New_York","brand":"Quality Hotels","chainScale":"UPSCALE_CHAINS","mainPhoneNumber":"+1-703-555-0100","mainFaxNumber":"+1-703-555-0101","salesPhoneNumber":"+1-703-555-0102","salesFaxNumber":"+1-703-555-0103","tollFreeNumber":"1-800-555-0100","websiteAddress":"https://www.example-hotel.com","openingDate":"Spring 2025","description":"A premier conference and event venue in the heart of Northern Virginia.","additionalInformation":"Complimentary parking available for all event attendees.","cancellationPolicy":"48-hour cancellation policy applies for all event bookings.","locationTypes":["SUBURBAN"],"address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182","directions":"Take I-66 West to Exit 67, then follow signs to Trap Road."}} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: getVenueDetailsOverview + steps: + - stepId: test + operationId: getVenueDetailsOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"b2c3d4e5-f6a7-8901-bcde-f12345678901","name":"Vienna Wolf Trap Hotel"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: updateVenueFacility + steps: + - stepId: test + operationId: updateVenueFacility + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + doubleRate: + high: 299.99 + low: 149.99 + maximumCapacity: + seated: 500 + standing: 800 + numberOfMeetingRooms: 25 + occupancyRate: 75.5 + proximityFromAirport: + distance: 12.5 + restrictions: No outside food or beverage permitted. Music must end by 11 PM. + singleRate: + high: 249.99 + low: 129.99 + sleeping: + doubleRooms: 130 + singleRooms: 200 + suites: 20 + totalRooms: 350 + space: + totalExhibitSpace: 75000 + totalMeetingRoomSpace: 50000 + taxRate: 8.5 + yearBuilt: 1998 + yearRenovated: 2021 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","numberOfMeetingRooms":25,"space":{"totalMeetingRoomSpace":50000,"totalExhibitSpace":75000},"sleeping":{"totalRooms":350,"suites":20,"singleRooms":200,"doubleRooms":130},"singleRate":{"low":129.99,"high":249.99},"doubleRate":{"low":149.99,"high":299.99},"taxRate":8.5,"occupancyRate":75.5,"yearBuilt":1998,"yearRenovated":2021,"proximityFromAirport":{"distance":12.5},"restrictions":"No outside food or beverage permitted. Music must end by 11 PM.","maximumCapacity":{"seated":500,"standing":800},"id":"e1c05096-e352-4f2e-af1c-a6e022d36b34","name":"Vienna Wolf Trap Hotel"} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: patchVenueFacility + steps: + - stepId: test + operationId: patchVenueFacility + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/merge-patch+json + payload: + doubleRate: + high: 299.99 + low: 149.99 + maximumCapacity: + seated: 500 + standing: 800 + numberOfMeetingRooms: 25 + occupancyRate: 75.5 + proximityFromAirport: + distance: 12.5 + restrictions: No outside food or beverage permitted. Music must end by 11 PM. + singleRate: + high: 249.99 + low: 129.99 + sleeping: + doubleRooms: 130 + singleRooms: 200 + suites: 20 + totalRooms: 350 + space: + totalExhibitSpace: 75000 + totalMeetingRoomSpace: 50000 + taxRate: 8.5 + yearBuilt: 1998 + yearRenovated: 2021 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"numberOfMeetingRooms":25,"space":{"totalMeetingRoomSpace":50000,"totalExhibitSpace":75000},"sleeping":{"totalRooms":350,"suites":20,"singleRooms":200,"doubleRooms":130},"singleRate":{"low":129.99,"high":249.99},"doubleRate":{"low":149.99,"high":299.99},"taxRate":8.5,"occupancyRate":75.5,"yearBuilt":1998,"yearRenovated":2021,"proximityFromAirport":{"distance":12.5},"restrictions":"No outside food or beverage permitted. Music must end by 11 PM.","maximumCapacity":{"seated":500,"standing":800}} + type: simple + x-speakeasy-test-group: Venue Profiles + x-speakeasy-test-rebuild: true + - workflowId: createMeetingRoom + steps: + - stepId: test + operationId: createMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + amenities: + - PROJECTOR + capacities: + exhibits: + - layoutType: BOOTH_10x10 + maxExhibits: 50 + seating: + - layoutType: THEATER + maxAttendees: 250 + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-123 + hiddenOnProfile: false + name: Grand Ballroom + rates: + event: + applicationType: PER_DAY + value: 500 + moveIn: + applicationType: PER_DAY + value: 500 + moveOut: + applicationType: PER_DAY + value: 500 + successCriteria: + - condition: $statusCode == 201 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-123","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false,"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: listMeetingRoomsOverviews + steps: + - stepId: test + operationId: listMeetingRoomsOverviews + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: filter + in: query + value: hiddenOnProfile eq 'false' + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[]} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: updateMeetingRoom + steps: + - stepId: test + operationId: updateMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 2344f9ab-537e-412f-ad6d-264fedbf17a6 + requestBody: + contentType: application/json + payload: + amenities: + - PROJECTOR + capacities: + exhibits: + - layoutType: BOOTH_10x10 + maxExhibits: 50 + seating: + - layoutType: THEATER + maxAttendees: 250 + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-123 + hiddenOnProfile: false + name: Grand Ballroom + rates: + event: + applicationType: PER_DAY + value: 500 + moveIn: + applicationType: PER_DAY + value: 500 + moveOut: + applicationType: PER_DAY + value: 500 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-123","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false,"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: patchMeetingRoom + steps: + - stepId: test + operationId: patchMeetingRoom + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 2a12f958-0ac4-4665-9210-449812da553a + requestBody: + contentType: application/merge-patch+json + payload: + amenities: + - PROJECTOR + capacities: null + description: Large conference space with natural lighting + dimensions: + ceilingHeight: + unit: FEET + value: 12.5 + length: + unit: FEET + value: 12.5 + totalSpace: + unit: SQUARE_FEET + value: 1500 + width: + unit: FEET + value: 12.5 + displayOrder: 1 + externalSourceId: EXT-RM-12345 + hiddenOnProfile: false + name: Grand Ballroom + rates: null + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"name":"Grand Ballroom","description":"Large conference space with natural lighting","dimensions":{"totalSpace":{"value":1500,"unit":"SQUARE_FEET"},"ceilingHeight":{"value":12.5,"unit":"FEET"},"length":{"value":12.5,"unit":"FEET"},"width":{"value":12.5,"unit":"FEET"}},"displayOrder":1,"externalSourceId":"EXT-RM-12345","rates":{"moveIn":{"value":500,"applicationType":"PER_DAY"},"moveOut":{"value":500,"applicationType":"PER_DAY"},"event":{"value":500,"applicationType":"PER_DAY"}},"capacities":{"exhibits":[{"layoutType":"BOOTH_10x10","maxExhibits":50}],"seating":[{"layoutType":"THEATER","maxAttendees":250}]},"amenities":["PROJECTOR"],"hiddenOnProfile":false} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true + - workflowId: getMeetingRoomOverview + steps: + - stepId: test + operationId: getMeetingRoomOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: meetingRoomId + in: path + value: 081078e3-8a73-49c6-b757-a3d52dbc2cc8 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"b2c3d4e5-f6a7-8901-bcde-f12345678901","name":"Grand Ballroom","hiddenOnProfile":false,"displayOrder":1} + type: simple + x-speakeasy-test-group: Venue Meeting Rooms + x-speakeasy-test-rebuild: true diff --git a/packages/typescript/README.md b/packages/typescript/README.md index d6cec18b9..374938ac9 100644 --- a/packages/typescript/README.md +++ b/packages/typescript/README.md @@ -768,6 +768,22 @@ run(); * [addUserToAccountUserGroup](docs/sdks/users/README.md#addusertoaccountusergroup) - Associate User to Group * [deleteUserFromAccountUserGroup](docs/sdks/users/README.md#deleteuserfromaccountusergroup) - Delete User from Group +### [VenueMeetingRooms](docs/sdks/venuemeetingrooms/README.md) + +* [createMeetingRoom](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room +* [listMeetingRoomsOverviews](docs/sdks/venuemeetingrooms/README.md#listmeetingroomsoverviews) - List Meeting Rooms Overviews +* [updateMeetingRoom](docs/sdks/venuemeetingrooms/README.md#updatemeetingroom) - Update Meeting Room +* [patchMeetingRoom](docs/sdks/venuemeetingrooms/README.md#patchmeetingroom) - Patch Meeting Room +* [getMeetingRoomOverview](docs/sdks/venuemeetingrooms/README.md#getmeetingroomoverview) - Get Meeting Room Overview + +### [VenueProfiles](docs/sdks/venueprofiles/README.md) + +* [updateVenueDetails](docs/sdks/venueprofiles/README.md#updatevenuedetails) - Update Venue Details +* [patchVenueDetails](docs/sdks/venueprofiles/README.md#patchvenuedetails) - Patch Venue Details +* [getVenueDetailsOverview](docs/sdks/venueprofiles/README.md#getvenuedetailsoverview) - Get Venue Details Overview +* [updateVenueFacility](docs/sdks/venueprofiles/README.md#updatevenuefacility) - Update Venue Facility +* [patchVenueFacility](docs/sdks/venueprofiles/README.md#patchvenuefacility) - Patch Venue Facility + ### [Video](docs/sdks/video/README.md) * [listVideos](docs/sdks/video/README.md#listvideos) - List Videos @@ -1242,6 +1258,16 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`usersGetAccountUserGroup`](docs/sdks/users/README.md#getaccountusergroup) - Get Account User Group - [`usersGetAccountUserGroups`](docs/sdks/users/README.md#getaccountusergroups) - List Account User Groups - [`usersUpdateAccountUserGroup`](docs/sdks/users/README.md#updateaccountusergroup) - Update Account User Group +- [`venueMeetingRoomsCreateMeetingRoom`](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room +- [`venueMeetingRoomsGetMeetingRoomOverview`](docs/sdks/venuemeetingrooms/README.md#getmeetingroomoverview) - Get Meeting Room Overview +- [`venueMeetingRoomsListMeetingRoomsOverviews`](docs/sdks/venuemeetingrooms/README.md#listmeetingroomsoverviews) - List Meeting Rooms Overviews +- [`venueMeetingRoomsPatchMeetingRoom`](docs/sdks/venuemeetingrooms/README.md#patchmeetingroom) - Patch Meeting Room +- [`venueMeetingRoomsUpdateMeetingRoom`](docs/sdks/venuemeetingrooms/README.md#updatemeetingroom) - Update Meeting Room +- [`venueProfilesGetVenueDetailsOverview`](docs/sdks/venueprofiles/README.md#getvenuedetailsoverview) - Get Venue Details Overview +- [`venueProfilesPatchVenueDetails`](docs/sdks/venueprofiles/README.md#patchvenuedetails) - Patch Venue Details +- [`venueProfilesPatchVenueFacility`](docs/sdks/venueprofiles/README.md#patchvenuefacility) - Patch Venue Facility +- [`venueProfilesUpdateVenueDetails`](docs/sdks/venueprofiles/README.md#updatevenuedetails) - Update Venue Details +- [`venueProfilesUpdateVenueFacility`](docs/sdks/venueprofiles/README.md#updatevenuefacility) - Update Venue Facility - [`videoCreateTextTrack`](docs/sdks/video/README.md#createtexttrack) - Create Text Track - [`videoGetVideoViews`](docs/sdks/video/README.md#getvideoviews) - List Video Views - [`videoListAudioTracks`](docs/sdks/video/README.md#listaudiotracks) - List Audio Tracks @@ -1518,10 +1544,10 @@ run(); **Inherit from [`CventSDKError`](./src/models/errors/cventsdkerror.ts)**: -* [`ErrorResponse`](./src/models/errors/errorresponse.ts): Represents an error response with additional details of cascading error messages. Applicable to 18 of 448 methods.* -* [`ErrorResponse2`](./src/models/errors/errorresponse2.ts): The error response. Applicable to 11 of 448 methods.* -* [`SegmentsErrorResponse`](./src/models/errors/segmentserrorresponse.ts): Segments error response details. Status code `400`. Applicable to 2 of 448 methods.* -* [`BadRequestError`](./src/models/errors/badrequesterror.ts): A bad token response. Status code `400`. Applicable to 1 of 448 methods.* +* [`ErrorResponse2`](./src/models/errors/errorresponse2.ts): The error response. Applicable to 11 of 458 methods.* +* [`ErrorResponse`](./src/models/errors/errorresponse.ts): Represents an error response with additional details of cascading error messages. Applicable to 9 of 458 methods.* +* [`SegmentsErrorResponse`](./src/models/errors/segmentserrorresponse.ts): Segments error response details. Status code `400`. Applicable to 2 of 458 methods.* +* [`BadRequestError`](./src/models/errors/badrequesterror.ts): A bad token response. Status code `400`. Applicable to 1 of 458 methods.* * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string. diff --git a/packages/typescript/docs/models/components/activityad.md b/packages/typescript/docs/models/components/activityad.md new file mode 100644 index 000000000..405eb18f1 --- /dev/null +++ b/packages/typescript/docs/models/components/activityad.md @@ -0,0 +1,29 @@ +# ActivityAd + +The details of the advertisement. + +## Example Usage + +```typescript +import { ActivityAd } from "@cvent/sdk/models/components"; + +let value: ActivityAd = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "New Year Sale", + product: "ATTENDEE_HUB", + location: "Home Page", + attribution: { + type: "CUSTOM", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the ad. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | The name of the ad. | New Year Sale | +| `product` | *string* | :heavy_minus_sign: | The product for which ad is created | ATTENDEE_HUB | +| `location` | [components.AdLocation](../../models/components/adlocation.md) | :heavy_minus_sign: | The placement of the ad within the specific product. | Home Page | +| `attribution` | [components.Attribution](../../models/components/attribution.md) | :heavy_minus_sign: | The entity to which the ad is associated. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityadjson.md b/packages/typescript/docs/models/components/activityadjson.md deleted file mode 100644 index aa50b5c3a..000000000 --- a/packages/typescript/docs/models/components/activityadjson.md +++ /dev/null @@ -1,29 +0,0 @@ -# ActivityAdJson - -The details of the advertisement. - -## Example Usage - -```typescript -import { ActivityAdJson } from "@cvent/sdk/models/components"; - -let value: ActivityAdJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "New Year Sale", - product: "ATTENDEE_HUB", - location: "Home Page", - attribution: { - type: "CUSTOM", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the ad. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *string* | :heavy_minus_sign: | The name of the ad. | New Year Sale | -| `product` | *string* | :heavy_minus_sign: | The product for which ad is created | ATTENDEE_HUB | -| `location` | [components.AdLocationJson](../../models/components/adlocationjson.md) | :heavy_minus_sign: | The placement of the ad within the specific product. | Home Page | -| `attribution` | [components.Attribution](../../models/components/attribution.md) | :heavy_minus_sign: | The entity to which the ad is associated. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityappointment.md b/packages/typescript/docs/models/components/activityappointment.md new file mode 100644 index 000000000..5abf39f77 --- /dev/null +++ b/packages/typescript/docs/models/components/activityappointment.md @@ -0,0 +1,32 @@ +# ActivityAppointment + +An activity appointment. + +## Example Usage + +```typescript +import { ActivityAppointment } from "@cvent/sdk/models/components"; + +let value: ActivityAppointment = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | +| `code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | +| `appointmentEvent` | [components.ActivityAppointmentAppointmentEvent](../../models/components/activityappointmentappointmentevent.md) | :heavy_minus_sign: | N/A | | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment starts. | 2020-02-03T13:00:00.000Z | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment ends. | 2020-02-03T14:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityappointmentappointmentevent.md b/packages/typescript/docs/models/components/activityappointmentappointmentevent.md new file mode 100644 index 000000000..b1112efd1 --- /dev/null +++ b/packages/typescript/docs/models/components/activityappointmentappointmentevent.md @@ -0,0 +1,19 @@ +# ActivityAppointmentAppointmentEvent + +## Example Usage + +```typescript +import { ActivityAppointmentAppointmentEvent } from "@cvent/sdk/models/components"; + +let value: ActivityAppointmentAppointmentEvent = { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | +| `code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityappointmentjson.md b/packages/typescript/docs/models/components/activityappointmentjson.md deleted file mode 100644 index 8277fc7ef..000000000 --- a/packages/typescript/docs/models/components/activityappointmentjson.md +++ /dev/null @@ -1,32 +0,0 @@ -# ActivityAppointmentJson - -An activity appointment. - -## Example Usage - -```typescript -import { ActivityAppointmentJson } from "@cvent/sdk/models/components"; - -let value: ActivityAppointmentJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - start: new Date("2020-02-03T13:00:00.000Z"), - end: new Date("2020-02-03T14:00:00.000Z"), -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | -| `code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | -| `appointmentEvent` | [components.ActivityAppointmentJsonAppointmentEvent](../../models/components/activityappointmentjsonappointmentevent.md) | :heavy_minus_sign: | N/A | | -| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment starts. | 2020-02-03T13:00:00.000Z | -| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when an appointment ends. | 2020-02-03T14:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityappointmentjsonappointmentevent.md b/packages/typescript/docs/models/components/activityappointmentjsonappointmentevent.md deleted file mode 100644 index 7841d0cb5..000000000 --- a/packages/typescript/docs/models/components/activityappointmentjsonappointmentevent.md +++ /dev/null @@ -1,19 +0,0 @@ -# ActivityAppointmentJsonAppointmentEvent - -## Example Usage - -```typescript -import { ActivityAppointmentJsonAppointmentEvent } from "@cvent/sdk/models/components"; - -let value: ActivityAppointmentJsonAppointmentEvent = { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | -| `code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitybaseappointment.md b/packages/typescript/docs/models/components/activitybaseappointment.md new file mode 100644 index 000000000..767fdccc3 --- /dev/null +++ b/packages/typescript/docs/models/components/activitybaseappointment.md @@ -0,0 +1,28 @@ +# ActivityBaseAppointment + +Base entity of an activity appointment. + +## Example Usage + +```typescript +import { ActivityBaseAppointment } from "@cvent/sdk/models/components"; + +let value: ActivityBaseAppointment = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | +| `code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | +| `appointmentEvent` | [components.ActivityBaseAppointmentAppointmentEvent](../../models/components/activitybaseappointmentappointmentevent.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitybaseappointmentappointmentevent.md b/packages/typescript/docs/models/components/activitybaseappointmentappointmentevent.md new file mode 100644 index 000000000..b11a74375 --- /dev/null +++ b/packages/typescript/docs/models/components/activitybaseappointmentappointmentevent.md @@ -0,0 +1,19 @@ +# ActivityBaseAppointmentAppointmentEvent + +## Example Usage + +```typescript +import { ActivityBaseAppointmentAppointmentEvent } from "@cvent/sdk/models/components"; + +let value: ActivityBaseAppointmentAppointmentEvent = { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | +| `code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitybaseappointmentjson.md b/packages/typescript/docs/models/components/activitybaseappointmentjson.md deleted file mode 100644 index d2d2e2644..000000000 --- a/packages/typescript/docs/models/components/activitybaseappointmentjson.md +++ /dev/null @@ -1,28 +0,0 @@ -# ActivityBaseAppointmentJson - -Base entity of an activity appointment. - -## Example Usage - -```typescript -import { ActivityBaseAppointmentJson } from "@cvent/sdk/models/components"; - -let value: ActivityBaseAppointmentJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *string* | :heavy_minus_sign: | The name of the appointment. | Meeting with Cvent | -| `code` | *string* | :heavy_minus_sign: | The code of an appointment. | NTNHR3XMX5Z | -| `appointmentEvent` | [components.ActivityBaseAppointmentJsonAppointmentEvent](../../models/components/activitybaseappointmentjsonappointmentevent.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitybaseappointmentjsonappointmentevent.md b/packages/typescript/docs/models/components/activitybaseappointmentjsonappointmentevent.md deleted file mode 100644 index a598f6eca..000000000 --- a/packages/typescript/docs/models/components/activitybaseappointmentjsonappointmentevent.md +++ /dev/null @@ -1,19 +0,0 @@ -# ActivityBaseAppointmentJsonAppointmentEvent - -## Example Usage - -```typescript -import { ActivityBaseAppointmentJsonAppointmentEvent } from "@cvent/sdk/models/components"; - -let value: ActivityBaseAppointmentJsonAppointmentEvent = { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `title` | *string* | :heavy_minus_sign: | The title of linked appointment event. | Demo- Attendee Activity | -| `code` | *string* | :heavy_minus_sign: | The code of linked appointment event. | VFNGZT7LH7D | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityboothstaff.md b/packages/typescript/docs/models/components/activityboothstaff.md index 5522ac5e0..cdc3bb196 100644 --- a/packages/typescript/docs/models/components/activityboothstaff.md +++ b/packages/typescript/docs/models/components/activityboothstaff.md @@ -1,8 +1,6 @@ -# ~~ActivityBoothStaff~~ +# ActivityBoothStaff -Booth staff for the lead. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. +Booth staff for an activity. ## Example Usage diff --git a/packages/typescript/docs/models/components/activitycontact.md b/packages/typescript/docs/models/components/activitycontact.md index 57b255799..613bc1e1f 100644 --- a/packages/typescript/docs/models/components/activitycontact.md +++ b/packages/typescript/docs/models/components/activitycontact.md @@ -1,8 +1,6 @@ -# ~~ActivityContact~~ +# ActivityContact -Related contact. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. +An activity contact. ## Example Usage diff --git a/packages/typescript/docs/models/components/activitycontactjson.md b/packages/typescript/docs/models/components/activitycontactjson.md deleted file mode 100644 index fc61d2648..000000000 --- a/packages/typescript/docs/models/components/activitycontactjson.md +++ /dev/null @@ -1,23 +0,0 @@ -# ActivityContactJson - -An activity contact. - -## Example Usage - -```typescript -import { ActivityContactJson } from "@cvent/sdk/models/components"; - -let value: ActivityContactJson = { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the attendee. | Henry | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the attendee. | Potterfield | -| `email` | *string* | :heavy_minus_sign: | The email address of the attendee. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydata.md b/packages/typescript/docs/models/components/activitydata.md new file mode 100644 index 000000000..670ab7eef --- /dev/null +++ b/packages/typescript/docs/models/components/activitydata.md @@ -0,0 +1,865 @@ +# ActivityData + +This is used to denote the type of the attendee activity + + +## Supported Types + +### `components.AppointmentAccepted` + +```typescript +const value: components.AppointmentAccepted = { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, +}; +``` + +### `components.AppointmentCancelled` + +```typescript +const value: components.AppointmentCancelled = { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, +}; +``` + +### `components.AppointmentCheckedIn` + +```typescript +const value: components.AppointmentCheckedIn = { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, + checkedIn: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.AppointmentCreated` + +```typescript +const value: components.AppointmentCreated = { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, +}; +``` + +### `components.AppointmentDeclined` + +```typescript +const value: components.AppointmentDeclined = { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, +}; +``` + +### `components.AppointmentDenied` + +```typescript +const value: components.AppointmentDenied = { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, +}; +``` + +### `components.AppointmentRescheduled` + +```typescript +const value: components.AppointmentRescheduled = { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, +}; +``` + +### `components.EmailBounced` + +```typescript +const value: components.EmailBounced = { + type: "Invitation Reminder", + reason: "5.x.x - delivery error", + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, + bounced: new Date("2020-02-03T13:00:00.000Z"), + smtpCode: 500, + dsnDiagnostic: "smtp;500 ESS - global exclusion", +}; +``` + +### `components.EmailClicked` + +```typescript +const value: components.EmailClicked = { + type: "Invitation Reminder", + clicked: new Date("2020-02-03T13:00:00.000Z"), + url: "http://www.cvent.com", + urlText: "Click Here", +}; +``` + +### `components.EmailOpened` + +```typescript +const value: components.EmailOpened = { + type: "Invitation Reminder", + opened: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.EmailSent` + +```typescript +const value: components.EmailSent = { + type: "Invitation Reminder", + sent: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.EmailUndelivered` + +```typescript +const value: components.EmailUndelivered = { + type: "Invitation Reminder", + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, + undelivered: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.EventAttendeeHubVisited` + +```typescript +const value: components.EventAttendeeHubVisited = { + browser: "firefox", + operatingSystem: "windows", + pageName: "event website visits", + buttonText: "Go to My Event 11", +}; +``` + +### `components.EventAttendeeSubstituted` + +```typescript +const value: components.EventAttendeeSubstituted = { + oldContact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, + newContact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, +}; +``` + +### `components.EventBannerLinkClicked` + +```typescript +const value: components.EventBannerLinkClicked = { + exhibitor: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "AutoExpo", + featured: true, + eventSponsor: true, + }, + platform: "Attendee Hub", + target: { + details: "https://www.cvent.com", + }, +}; +``` + +### `components.EventCheckedIn` + +```typescript +const value: components.EventCheckedIn = { + checkedIn: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.EventCheckedOut` + +```typescript +const value: components.EventCheckedOut = { + checkOut: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.EventCustomCardOpened` + +```typescript +const value: components.EventCustomCardOpened = { + name: "Join our mailing list.", + url: "https://cvent.com", + type: "Video", + multipleLinks: false, +}; +``` + +### `components.EventFeedbackSubmitted` + +```typescript +const value: components.EventFeedbackSubmitted = { + survey: { + responseMethod: "sample method", + responses: [ + { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", + }, + answers: [ + { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + ], + }, + ], + }, +}; +``` + +### `components.EventNoShow` + +```typescript +const value: components.EventNoShow = {}; +``` + +### `components.EventPageVisitTracked` + +```typescript +const value: components.EventPageVisitTracked = { + source: "twitter", + medium: "social", + campaign: "sale", + term: "social-media", + content: "register-button", + custom: "custom-param", + additional: { + "id": "d89eaf5b-b2dc-4ffb-964e-affbb0942e65", + "submitted": "true", + }, +}; +``` + +### `components.EventRegistered` + +```typescript +const value: components.EventRegistered = { + status: "Accepted", +}; +``` + +### `components.EventRegistrationAbandoned` + +```typescript +const value: components.EventRegistrationAbandoned = { + lastSavedRegistrationPageName: "Personal Information", + lastActivity: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.EventRegistrationCancelled` + +```typescript +const value: components.EventRegistrationCancelled = { + status: "Accepted", +}; +``` + +### `components.EventVideoPlayed` + +```typescript +const value: components.EventVideoPlayed = { + browser: "firefox", + operatingSystem: "windows", + title: "We are Cvent!", + pageName: "Agenda", +}; +``` + +### `components.EventWaitlisted` + +```typescript +const value: components.EventWaitlisted = { + status: "Accepted", +}; +``` + +### `components.ExhibitorDocumentOpened` + +```typescript +const value: components.ExhibitorDocumentOpened = { + exhibitor: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "AutoExpo", + featured: true, + eventSponsor: true, + }, + platform: "Attendee Hub", + document: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "FAQs", + format: "pdf", + downloaded: true, + }, +}; +``` + +### `components.ExhibitorSocialLinkOpened` + +```typescript +const value: components.ExhibitorSocialLinkOpened = { + exhibitor: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "AutoExpo", + featured: true, + eventSponsor: true, + }, + platform: "Attendee Hub", + sponsorshipLevel: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Gold", + }, + socialNetwork: "LinkedIn", + url: "https://www.linkedin.com/company/cvent/mycompany/", +}; +``` + +### `components.ExhibitorViewed` + +```typescript +const value: components.ExhibitorViewed = { + exhibitor: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "AutoExpo", + featured: true, + eventSponsor: true, + }, + platform: "Attendee Hub", + sponsorshipLevel: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Gold", + }, + navigationSource: { + type: "Sponsored Session", + name: "Session name", + }, +}; +``` + +### `components.ExhibitorVirtualBoothJoined` + +```typescript +const value: components.ExhibitorVirtualBoothJoined = { + exhibitor: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "AutoExpo", + featured: true, + eventSponsor: true, + }, + platform: "Attendee Hub", + sponsorshipLevel: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Gold", + }, + solutionType: "CVC", +}; +``` + +### `components.ExhibitorWeblinkOpened` + +```typescript +const value: components.ExhibitorWeblinkOpened = { + exhibitor: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "AutoExpo", + featured: true, + eventSponsor: true, + }, + platform: "Attendee Hub", + weblink: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Cvent's website", + }, +}; +``` + +### `components.LeadInboundCreated` + +```typescript +const value: components.LeadInboundCreated = { + exhibitor: { + code: "CODE_UPDATE_1", + marketingCode: "MARKETING_CODE_1", + name: "Example Company", + }, + lead: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, +}; +``` + +### `components.LeadQualified` + +```typescript +const value: components.LeadQualified = { + exhibitor: { + code: "CODE_UPDATE_1", + marketingCode: "MARKETING_CODE_1", + name: "Example Company", + }, + lead: { + deviceId: "123", + deviceName: "Jack's iPhone", + boothStaff: { + firstName: "John", + lastName: "Doe", + email: "h.potterfield@test.com", + }, + }, + responses: [ + { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", + }, + answers: [ + { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + type: "simple", + }, + ], + }, + ], +}; +``` + +### `components.LeadScanned` + +```typescript +const value: components.LeadScanned = { + exhibitor: { + code: "CODE_UPDATE_1", + marketingCode: "MARKETING_CODE_1", + name: "Example Company", + }, + lead: { + deviceId: "123", + deviceName: "Jack's iPhone", + boothStaff: { + firstName: "John", + lastName: "Doe", + email: "h.potterfield@test.com", + }, + }, +}; +``` + +### `components.SessionCheckedIn` + +```typescript +const value: components.SessionCheckedIn = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, + checkedIn: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.SessionCheckedOut` + +```typescript +const value: components.SessionCheckedOut = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, + checkOut: new Date("2020-02-03T13:00:00.000Z"), +}; +``` + +### `components.SessionEnrolled` + +```typescript +const value: components.SessionEnrolled = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, +}; +``` + +### `components.SessionFeedbackSubmitted` + +```typescript +const value: components.SessionFeedbackSubmitted = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, + survey: { + responseMethod: "sample method", + responses: [ + { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", + }, + answers: [ + { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + ], + }, + ], + }, +}; +``` + +### `components.SessionNoShow` + +```typescript +const value: components.SessionNoShow = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, +}; +``` + +### `components.SessionPollResponseSubmitted` + +```typescript +const value: components.SessionPollResponseSubmitted = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, + poll: { + name: "Do you like the session?", + responses: [ + { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + answers: [ + { + value: "my answer", + }, + ], + }, + ], + }, +}; +``` + +### `components.SessionQuestionAsked` + +```typescript +const value: components.SessionQuestionAsked = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, + question: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + text: "Is this a new session?", + }, + platform: "Attendee Hub", + votes: 0, + anonymous: false, +}; +``` + +### `components.SessionQuestionUpvoted` + +```typescript +const value: components.SessionQuestionUpvoted = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, + question: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + text: "Is this a new session?", + }, + platform: "Attendee Hub", + votes: 0, +}; +``` + +### `components.SessionUnenrolled` + +```typescript +const value: components.SessionUnenrolled = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, +}; +``` + +### `components.SessionWaitlisted` + +```typescript +const value: components.SessionWaitlisted = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, +}; +``` + +### `components.SpeakerFeedbackSubmitted` + +```typescript +const value: components.SpeakerFeedbackSubmitted = { + session: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", + }, + speaker: { + name: "Henry Ford", + }, + survey: { + responseMethod: "sample method", + responses: [ + { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", + }, + answers: [ + { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + ], + }, + ], + }, +}; +``` + +### `components.SpeakerFileDownloaded` + +```typescript +const value: components.SpeakerFileDownloaded = { + browser: "firefox", + operatingSystem: "windows", + name: "Instructions", + type: "docx", + speaker: { + name: "Henry Ford", + }, +}; +``` + +### `components.ActivityDataAppointmentExternal` + +```typescript +const value: components.ActivityDataAppointmentExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +### `components.ActivityDataEventExternal` + +```typescript +const value: components.ActivityDataEventExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +### `components.ActivityDataExhibitorExternal` + +```typescript +const value: components.ActivityDataExhibitorExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +### `components.ActivityDataSessionExternal` + +```typescript +const value: components.ActivityDataSessionExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +### `components.EventAdViewed` + +```typescript +const value: components.EventAdViewed = { + platform: "UserPlatform", + ad: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "New Year Sale", + product: "ATTENDEE_HUB", + location: "Home Page", + attribution: { + type: "CUSTOM", + }, + }, +}; +``` + +### `components.EventAdClicked` + +```typescript +const value: components.EventAdClicked = { + platform: "UserPlatform", + ad: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "New Year Sale", + product: "ATTENDEE_HUB", + location: "Home Page", + attribution: { + type: "CUSTOM", + }, + }, +}; +``` + diff --git a/packages/typescript/docs/models/components/activitydataappointmentexternal.md b/packages/typescript/docs/models/components/activitydataappointmentexternal.md new file mode 100644 index 000000000..f440bcb16 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataappointmentexternal.md @@ -0,0 +1,26 @@ +# ActivityDataAppointmentExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ActivityDataAppointmentExternal } from "@cvent/sdk/models/components"; + +let value: ActivityDataAppointmentExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent1.md b/packages/typescript/docs/models/components/activitydataevent1.md new file mode 100644 index 000000000..8ca4f61e4 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent1.md @@ -0,0 +1,17 @@ +# ActivityDataEvent1 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent1 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent1 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent2.md b/packages/typescript/docs/models/components/activitydataevent2.md new file mode 100644 index 000000000..ec6a4ec36 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent2.md @@ -0,0 +1,17 @@ +# ActivityDataEvent2 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent2 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent2 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent3.md b/packages/typescript/docs/models/components/activitydataevent3.md new file mode 100644 index 000000000..04faea025 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent3.md @@ -0,0 +1,17 @@ +# ActivityDataEvent3 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent3 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent3 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent4.md b/packages/typescript/docs/models/components/activitydataevent4.md new file mode 100644 index 000000000..a5a5310f8 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent4.md @@ -0,0 +1,17 @@ +# ActivityDataEvent4 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent4 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent4 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent5.md b/packages/typescript/docs/models/components/activitydataevent5.md new file mode 100644 index 000000000..81a81470b --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent5.md @@ -0,0 +1,17 @@ +# ActivityDataEvent5 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent5 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent5 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent6.md b/packages/typescript/docs/models/components/activitydataevent6.md new file mode 100644 index 000000000..94951eab6 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent6.md @@ -0,0 +1,17 @@ +# ActivityDataEvent6 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent6 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent6 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent7.md b/packages/typescript/docs/models/components/activitydataevent7.md new file mode 100644 index 000000000..dd98f2124 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent7.md @@ -0,0 +1,17 @@ +# ActivityDataEvent7 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent7 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent7 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataevent8.md b/packages/typescript/docs/models/components/activitydataevent8.md new file mode 100644 index 000000000..d0c82e664 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataevent8.md @@ -0,0 +1,17 @@ +# ActivityDataEvent8 + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { ActivityDataEvent8 } from "@cvent/sdk/models/components"; + +let value: ActivityDataEvent8 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataeventexternal.md b/packages/typescript/docs/models/components/activitydataeventexternal.md new file mode 100644 index 000000000..c2ea596ac --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataeventexternal.md @@ -0,0 +1,26 @@ +# ActivityDataEventExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ActivityDataEventExternal } from "@cvent/sdk/models/components"; + +let value: ActivityDataEventExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydataexhibitorexternal.md b/packages/typescript/docs/models/components/activitydataexhibitorexternal.md new file mode 100644 index 000000000..8e73727de --- /dev/null +++ b/packages/typescript/docs/models/components/activitydataexhibitorexternal.md @@ -0,0 +1,26 @@ +# ActivityDataExhibitorExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ActivityDataExhibitorExternal } from "@cvent/sdk/models/components"; + +let value: ActivityDataExhibitorExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajson.md b/packages/typescript/docs/models/components/activitydatajson.md deleted file mode 100644 index 8ae830d8d..000000000 --- a/packages/typescript/docs/models/components/activitydatajson.md +++ /dev/null @@ -1,865 +0,0 @@ -# ActivityDataJson - -This is used to denote the type of the attendee activity - - -## Supported Types - -### `components.AppointmentAccepted` - -```typescript -const value: components.AppointmentAccepted = { - appointment: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - start: new Date("2020-02-03T13:00:00.000Z"), - end: new Date("2020-02-03T14:00:00.000Z"), - }, - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, -}; -``` - -### `components.AppointmentCancelled` - -```typescript -const value: components.AppointmentCancelled = { - appointment: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - start: new Date("2020-02-03T13:00:00.000Z"), - end: new Date("2020-02-03T14:00:00.000Z"), - }, - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, -}; -``` - -### `components.AppointmentCheckedIn` - -```typescript -const value: components.AppointmentCheckedIn = { - appointment: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - start: new Date("2020-02-03T13:00:00.000Z"), - end: new Date("2020-02-03T14:00:00.000Z"), - }, - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, - checkedIn: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.AppointmentCreated` - -```typescript -const value: components.AppointmentCreated = { - appointment: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - start: new Date("2020-02-03T13:00:00.000Z"), - end: new Date("2020-02-03T14:00:00.000Z"), - }, - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, -}; -``` - -### `components.AppointmentDeclined` - -```typescript -const value: components.AppointmentDeclined = { - appointment: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - start: new Date("2020-02-03T13:00:00.000Z"), - end: new Date("2020-02-03T14:00:00.000Z"), - }, - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, -}; -``` - -### `components.AppointmentDenied` - -```typescript -const value: components.AppointmentDenied = { - appointment: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - }, - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, -}; -``` - -### `components.AppointmentRescheduled` - -```typescript -const value: components.AppointmentRescheduled = { - appointment: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Meeting with Cvent", - code: "NTNHR3XMX5Z", - appointmentEvent: { - title: "Demo- Attendee Activity", - code: "VFNGZT7LH7D", - }, - start: new Date("2020-02-03T13:00:00.000Z"), - end: new Date("2020-02-03T14:00:00.000Z"), - }, - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, -}; -``` - -### `components.EmailBounced` - -```typescript -const value: components.EmailBounced = { - type: "Invitation Reminder", - reason: "5.x.x - delivery error", - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, - bounced: new Date("2020-02-03T13:00:00.000Z"), - smtpCode: 500, - dsnDiagnostic: "smtp;500 ESS - global exclusion", -}; -``` - -### `components.EmailClicked` - -```typescript -const value: components.EmailClicked = { - type: "Invitation Reminder", - clicked: new Date("2020-02-03T13:00:00.000Z"), - url: "http://www.cvent.com", - urlText: "Click Here", -}; -``` - -### `components.EmailOpened` - -```typescript -const value: components.EmailOpened = { - type: "Invitation Reminder", - opened: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.EmailSent` - -```typescript -const value: components.EmailSent = { - type: "Invitation Reminder", - sent: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.EmailUndelivered` - -```typescript -const value: components.EmailUndelivered = { - type: "Invitation Reminder", - contact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, - undelivered: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.EventAttendeeHubVisited` - -```typescript -const value: components.EventAttendeeHubVisited = { - browser: "firefox", - operatingSystem: "windows", - pageName: "event website visits", - buttonText: "Go to My Event 11", -}; -``` - -### `components.EventAttendeeSubstituted` - -```typescript -const value: components.EventAttendeeSubstituted = { - oldContact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, - newContact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, -}; -``` - -### `components.EventBannerLinkClicked` - -```typescript -const value: components.EventBannerLinkClicked = { - exhibitor: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "AutoExpo", - featured: true, - eventSponsor: true, - }, - platform: "Attendee Hub", - target: { - details: "https://www.cvent.com", - }, -}; -``` - -### `components.EventCheckedIn` - -```typescript -const value: components.EventCheckedIn = { - checkedIn: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.EventCheckedOut` - -```typescript -const value: components.EventCheckedOut = { - checkOut: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.EventCustomCardOpened` - -```typescript -const value: components.EventCustomCardOpened = { - name: "Join our mailing list.", - url: "https://cvent.com", - type: "Video", - multipleLinks: false, -}; -``` - -### `components.EventFeedbackSubmitted` - -```typescript -const value: components.EventFeedbackSubmitted = { - survey: { - responseMethod: "sample method", - responses: [ - { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", - }, - answers: [ - { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - ], - }, - ], - }, -}; -``` - -### `components.EventNoShow` - -```typescript -const value: components.EventNoShow = {}; -``` - -### `components.EventPageVisitTracked` - -```typescript -const value: components.EventPageVisitTracked = { - source: "twitter", - medium: "social", - campaign: "sale", - term: "social-media", - content: "register-button", - custom: "custom-param", - additional: { - "id": "d89eaf5b-b2dc-4ffb-964e-affbb0942e65", - "submitted": "true", - }, -}; -``` - -### `components.EventRegistered` - -```typescript -const value: components.EventRegistered = { - status: "Accepted", -}; -``` - -### `components.EventRegistrationAbandoned` - -```typescript -const value: components.EventRegistrationAbandoned = { - lastSavedRegistrationPageName: "Personal Information", - lastActivity: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.EventRegistrationCancelled` - -```typescript -const value: components.EventRegistrationCancelled = { - status: "Accepted", -}; -``` - -### `components.EventVideoPlayed` - -```typescript -const value: components.EventVideoPlayed = { - browser: "firefox", - operatingSystem: "windows", - title: "We are Cvent!", - pageName: "Agenda", -}; -``` - -### `components.EventWaitlisted` - -```typescript -const value: components.EventWaitlisted = { - status: "Accepted", -}; -``` - -### `components.ExhibitorDocumentOpened` - -```typescript -const value: components.ExhibitorDocumentOpened = { - exhibitor: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "AutoExpo", - featured: true, - eventSponsor: true, - }, - platform: "Attendee Hub", - document: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "FAQs", - format: "pdf", - downloaded: true, - }, -}; -``` - -### `components.ExhibitorSocialLinkOpened` - -```typescript -const value: components.ExhibitorSocialLinkOpened = { - exhibitor: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "AutoExpo", - featured: true, - eventSponsor: true, - }, - platform: "Attendee Hub", - sponsorshipLevel: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Gold", - }, - socialNetwork: "LinkedIn", - url: "https://www.linkedin.com/company/cvent/mycompany/", -}; -``` - -### `components.ExhibitorViewed` - -```typescript -const value: components.ExhibitorViewed = { - exhibitor: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "AutoExpo", - featured: true, - eventSponsor: true, - }, - platform: "Attendee Hub", - sponsorshipLevel: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Gold", - }, - navigationSource: { - type: "Sponsored Session", - name: "Session name", - }, -}; -``` - -### `components.ExhibitorVirtualBoothJoined` - -```typescript -const value: components.ExhibitorVirtualBoothJoined = { - exhibitor: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "AutoExpo", - featured: true, - eventSponsor: true, - }, - platform: "Attendee Hub", - sponsorshipLevel: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Gold", - }, - solutionType: "CVC", -}; -``` - -### `components.ExhibitorWeblinkOpened` - -```typescript -const value: components.ExhibitorWeblinkOpened = { - exhibitor: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "AutoExpo", - featured: true, - eventSponsor: true, - }, - platform: "Attendee Hub", - weblink: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Cvent's website", - }, -}; -``` - -### `components.LeadInboundCreated` - -```typescript -const value: components.LeadInboundCreated = { - exhibitor: { - code: "CODE_UPDATE_1", - marketingCode: "MARKETING_CODE_1", - name: "Example Company", - }, - lead: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, -}; -``` - -### `components.LeadQualified` - -```typescript -const value: components.LeadQualified = { - exhibitor: { - code: "CODE_UPDATE_1", - marketingCode: "MARKETING_CODE_1", - name: "Example Company", - }, - lead: { - deviceId: "123", - deviceName: "Jack's iPhone", - boothStaff: { - firstName: "John", - lastName: "Doe", - email: "h.potterfield@test.com", - }, - }, - responses: [ - { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", - }, - answers: [ - { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - type: "simple", - }, - ], - }, - ], -}; -``` - -### `components.LeadScanned` - -```typescript -const value: components.LeadScanned = { - exhibitor: { - code: "CODE_UPDATE_1", - marketingCode: "MARKETING_CODE_1", - name: "Example Company", - }, - lead: { - deviceId: "123", - deviceName: "Jack's iPhone", - boothStaff: { - firstName: "John", - lastName: "Doe", - email: "h.potterfield@test.com", - }, - }, -}; -``` - -### `components.SessionCheckedIn` - -```typescript -const value: components.SessionCheckedIn = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, - checkedIn: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.SessionCheckedOut` - -```typescript -const value: components.SessionCheckedOut = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, - checkOut: new Date("2020-02-03T13:00:00.000Z"), -}; -``` - -### `components.SessionEnrolled` - -```typescript -const value: components.SessionEnrolled = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, -}; -``` - -### `components.SessionFeedbackSubmitted` - -```typescript -const value: components.SessionFeedbackSubmitted = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, - survey: { - responseMethod: "sample method", - responses: [ - { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", - }, - answers: [ - { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - ], - }, - ], - }, -}; -``` - -### `components.SessionNoShow` - -```typescript -const value: components.SessionNoShow = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, -}; -``` - -### `components.SessionPollResponseSubmitted` - -```typescript -const value: components.SessionPollResponseSubmitted = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, - poll: { - name: "Do you like the session?", - responses: [ - { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - answers: [ - { - value: "my answer", - }, - ], - }, - ], - }, -}; -``` - -### `components.SessionQuestionAsked` - -```typescript -const value: components.SessionQuestionAsked = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, - question: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - text: "Is this a new session?", - }, - platform: "Attendee Hub", - votes: 0, - anonymous: false, -}; -``` - -### `components.SessionQuestionUpvoted` - -```typescript -const value: components.SessionQuestionUpvoted = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, - question: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - text: "Is this a new session?", - }, - platform: "Attendee Hub", - votes: 0, -}; -``` - -### `components.SessionUnenrolled` - -```typescript -const value: components.SessionUnenrolled = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, -}; -``` - -### `components.SessionWaitlisted` - -```typescript -const value: components.SessionWaitlisted = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, -}; -``` - -### `components.SpeakerFeedbackSubmitted` - -```typescript -const value: components.SpeakerFeedbackSubmitted = { - session: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", - }, - speaker: { - name: "Henry Ford", - }, - survey: { - responseMethod: "sample method", - responses: [ - { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", - }, - answers: [ - { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - ], - }, - ], - }, -}; -``` - -### `components.SpeakerFileDownloaded` - -```typescript -const value: components.SpeakerFileDownloaded = { - browser: "firefox", - operatingSystem: "windows", - name: "Instructions", - type: "docx", - speaker: { - name: "Henry Ford", - }, -}; -``` - -### `components.ActivityDataJsonAppointmentExternal` - -```typescript -const value: components.ActivityDataJsonAppointmentExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -### `components.ActivityDataJsonEventExternal` - -```typescript -const value: components.ActivityDataJsonEventExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -### `components.ActivityDataJsonExhibitorExternal` - -```typescript -const value: components.ActivityDataJsonExhibitorExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -### `components.ActivityDataJsonSessionExternal` - -```typescript -const value: components.ActivityDataJsonSessionExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -### `components.EventAdViewed` - -```typescript -const value: components.EventAdViewed = { - platform: "UserPlatform", - ad: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "New Year Sale", - product: "ATTENDEE_HUB", - location: "Home Page", - attribution: { - type: "CUSTOM", - }, - }, -}; -``` - -### `components.EventAdClicked` - -```typescript -const value: components.EventAdClicked = { - platform: "UserPlatform", - ad: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "New Year Sale", - product: "ATTENDEE_HUB", - location: "Home Page", - attribution: { - type: "CUSTOM", - }, - }, -}; -``` - diff --git a/packages/typescript/docs/models/components/activitydatajsonappointmentexternal.md b/packages/typescript/docs/models/components/activitydatajsonappointmentexternal.md deleted file mode 100644 index 004b80789..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonappointmentexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ActivityDataJsonAppointmentExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ActivityDataJsonAppointmentExternal } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonAppointmentExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent1.md b/packages/typescript/docs/models/components/activitydatajsonevent1.md deleted file mode 100644 index 171a7e4f9..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent1.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent1 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent1 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent1 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent10.md b/packages/typescript/docs/models/components/activitydatajsonevent10.md deleted file mode 100644 index e20694c96..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent10.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent10 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent10 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent10 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent11.md b/packages/typescript/docs/models/components/activitydatajsonevent11.md deleted file mode 100644 index d3a3e5ee9..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent11.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent11 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent11 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent11 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent2.md b/packages/typescript/docs/models/components/activitydatajsonevent2.md deleted file mode 100644 index 5eb4db532..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent2.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent2 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent2 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent2 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent3.md b/packages/typescript/docs/models/components/activitydatajsonevent3.md deleted file mode 100644 index bfd554ef9..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent3.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent3 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent3 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent3 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent4.md b/packages/typescript/docs/models/components/activitydatajsonevent4.md deleted file mode 100644 index a74bf1560..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent4.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent4 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent4 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent4 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent5.md b/packages/typescript/docs/models/components/activitydatajsonevent5.md deleted file mode 100644 index 22b4fe37a..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent5.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent5 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent5 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent5 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent6.md b/packages/typescript/docs/models/components/activitydatajsonevent6.md deleted file mode 100644 index 42dcc6b93..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent6.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent6 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent6 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent6 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent7.md b/packages/typescript/docs/models/components/activitydatajsonevent7.md deleted file mode 100644 index f5b547b5a..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent7.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent7 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent7 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent7 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent8.md b/packages/typescript/docs/models/components/activitydatajsonevent8.md deleted file mode 100644 index ec002f1a7..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent8.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent8 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent8 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent8 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonevent9.md b/packages/typescript/docs/models/components/activitydatajsonevent9.md deleted file mode 100644 index 700272a41..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonevent9.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityDataJsonEvent9 - -The event in which this activity occurred. - -## Example Usage - -```typescript -import { ActivityDataJsonEvent9 } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEvent9 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsoneventexternal.md b/packages/typescript/docs/models/components/activitydatajsoneventexternal.md deleted file mode 100644 index 5ff03ccd3..000000000 --- a/packages/typescript/docs/models/components/activitydatajsoneventexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ActivityDataJsonEventExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ActivityDataJsonEventExternal } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonEventExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonexhibitorexternal.md b/packages/typescript/docs/models/components/activitydatajsonexhibitorexternal.md deleted file mode 100644 index 990ef27d0..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonexhibitorexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ActivityDataJsonExhibitorExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ActivityDataJsonExhibitorExternal } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonExhibitorExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatajsonsessionexternal.md b/packages/typescript/docs/models/components/activitydatajsonsessionexternal.md deleted file mode 100644 index 462cccfc0..000000000 --- a/packages/typescript/docs/models/components/activitydatajsonsessionexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ActivityDataJsonSessionExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ActivityDataJsonSessionExternal } from "@cvent/sdk/models/components"; - -let value: ActivityDataJsonSessionExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitydatasessionexternal.md b/packages/typescript/docs/models/components/activitydatasessionexternal.md new file mode 100644 index 000000000..349866c19 --- /dev/null +++ b/packages/typescript/docs/models/components/activitydatasessionexternal.md @@ -0,0 +1,26 @@ +# ActivityDataSessionExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ActivityDataSessionExternal } from "@cvent/sdk/models/components"; + +let value: ActivityDataSessionExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitor.md b/packages/typescript/docs/models/components/activityexhibitor.md new file mode 100644 index 000000000..f6d323f69 --- /dev/null +++ b/packages/typescript/docs/models/components/activityexhibitor.md @@ -0,0 +1,24 @@ +# ActivityExhibitor + +An activity exhibitor. + +## Example Usage + +```typescript +import { ActivityExhibitor } from "@cvent/sdk/models/components"; + +let value: ActivityExhibitor = { + code: "CODE_UPDATE_1", + marketingCode: "MARKETING_CODE_1", + name: "Example Company", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | | +| `code` | *string* | :heavy_minus_sign: | Unique code of an exhibitor at a booth. | CODE_UPDATE_1 | +| `marketingCode` | *string* | :heavy_minus_sign: | The marketing code of an exhibitor. | MARKETING_CODE_1 | +| `name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | Example Company | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitordocument.md b/packages/typescript/docs/models/components/activityexhibitordocument.md new file mode 100644 index 000000000..d4b487188 --- /dev/null +++ b/packages/typescript/docs/models/components/activityexhibitordocument.md @@ -0,0 +1,25 @@ +# ActivityExhibitorDocument + +Document for an activity exhibitor. + +## Example Usage + +```typescript +import { ActivityExhibitorDocument } from "@cvent/sdk/models/components"; + +let value: ActivityExhibitorDocument = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "FAQs", + format: "pdf", + downloaded: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the document. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *string* | :heavy_minus_sign: | The title of the document. | FAQs | +| `format` | *string* | :heavy_minus_sign: | The format of the document eg. doc, docx, gif, jpg, pdf, etc. | pdf | +| `downloaded` | *boolean* | :heavy_minus_sign: | If the document is downloaded. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitordocumentjson.md b/packages/typescript/docs/models/components/activityexhibitordocumentjson.md deleted file mode 100644 index f4c34f637..000000000 --- a/packages/typescript/docs/models/components/activityexhibitordocumentjson.md +++ /dev/null @@ -1,25 +0,0 @@ -# ActivityExhibitorDocumentJson - -Document for an activity exhibitor. - -## Example Usage - -```typescript -import { ActivityExhibitorDocumentJson } from "@cvent/sdk/models/components"; - -let value: ActivityExhibitorDocumentJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "FAQs", - format: "pdf", - downloaded: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the document. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *string* | :heavy_minus_sign: | The title of the document. | FAQs | -| `format` | *string* | :heavy_minus_sign: | The format of the document eg. doc, docx, gif, jpg, pdf, etc. | pdf | -| `downloaded` | *boolean* | :heavy_minus_sign: | If the document is downloaded. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitorjson.md b/packages/typescript/docs/models/components/activityexhibitorjson.md deleted file mode 100644 index 7940d51b8..000000000 --- a/packages/typescript/docs/models/components/activityexhibitorjson.md +++ /dev/null @@ -1,24 +0,0 @@ -# ActivityExhibitorJson - -An activity exhibitor. - -## Example Usage - -```typescript -import { ActivityExhibitorJson } from "@cvent/sdk/models/components"; - -let value: ActivityExhibitorJson = { - code: "CODE_UPDATE_1", - marketingCode: "MARKETING_CODE_1", - name: "Example Company", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | | -| `code` | *string* | :heavy_minus_sign: | Unique code of an exhibitor at a booth. | CODE_UPDATE_1 | -| `marketingCode` | *string* | :heavy_minus_sign: | The marketing code of an exhibitor. | MARKETING_CODE_1 | -| `name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | Example Company | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitornavigationsource.md b/packages/typescript/docs/models/components/activityexhibitornavigationsource.md new file mode 100644 index 000000000..e362811d4 --- /dev/null +++ b/packages/typescript/docs/models/components/activityexhibitornavigationsource.md @@ -0,0 +1,21 @@ +# ActivityExhibitorNavigationSource + +Navigation source for an activity exhibitor. + +## Example Usage + +```typescript +import { ActivityExhibitorNavigationSource } from "@cvent/sdk/models/components"; + +let value: ActivityExhibitorNavigationSource = { + type: "Sponsored Session", + name: "Session name", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `type` | *string* | :heavy_minus_sign: | The source type in the attendee hub from where the user navigated to the exhibitor booth. | Sponsored Session | +| `name` | *string* | :heavy_minus_sign: | The source name in the attendee hub from where the user navigated to the exhibitor booth. | Session name | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitornavigationsourcejson.md b/packages/typescript/docs/models/components/activityexhibitornavigationsourcejson.md deleted file mode 100644 index fb5205e38..000000000 --- a/packages/typescript/docs/models/components/activityexhibitornavigationsourcejson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ActivityExhibitorNavigationSourceJson - -Navigation source for an activity exhibitor. - -## Example Usage - -```typescript -import { ActivityExhibitorNavigationSourceJson } from "@cvent/sdk/models/components"; - -let value: ActivityExhibitorNavigationSourceJson = { - type: "Sponsored Session", - name: "Session name", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `type` | *string* | :heavy_minus_sign: | The source type in the attendee hub from where the user navigated to the exhibitor booth. | Sponsored Session | -| `name` | *string* | :heavy_minus_sign: | The source name in the attendee hub from where the user navigated to the exhibitor booth. | Session name | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitorsponsorshiplevel.md b/packages/typescript/docs/models/components/activityexhibitorsponsorshiplevel.md new file mode 100644 index 000000000..4e0e5b30b --- /dev/null +++ b/packages/typescript/docs/models/components/activityexhibitorsponsorshiplevel.md @@ -0,0 +1,21 @@ +# ActivityExhibitorSponsorshipLevel + +Sponsorship level for an activity exhibitor. + +## Example Usage + +```typescript +import { ActivityExhibitorSponsorshipLevel } from "@cvent/sdk/models/components"; + +let value: ActivityExhibitorSponsorshipLevel = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Gold", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the sponsorship level. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | The name of the sponsorship level. | Gold | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitorsponsorshipleveljson.md b/packages/typescript/docs/models/components/activityexhibitorsponsorshipleveljson.md deleted file mode 100644 index fe052e7ab..000000000 --- a/packages/typescript/docs/models/components/activityexhibitorsponsorshipleveljson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ActivityExhibitorSponsorshipLevelJson - -Sponsorship level for an activity exhibitor. - -## Example Usage - -```typescript -import { ActivityExhibitorSponsorshipLevelJson } from "@cvent/sdk/models/components"; - -let value: ActivityExhibitorSponsorshipLevelJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Gold", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the sponsorship level. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *string* | :heavy_minus_sign: | The name of the sponsorship level. | Gold | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitorweblink.md b/packages/typescript/docs/models/components/activityexhibitorweblink.md new file mode 100644 index 000000000..3ac5f6601 --- /dev/null +++ b/packages/typescript/docs/models/components/activityexhibitorweblink.md @@ -0,0 +1,21 @@ +# ActivityExhibitorWeblink + +A web-link for an activity exhibitor. + +## Example Usage + +```typescript +import { ActivityExhibitorWeblink } from "@cvent/sdk/models/components"; + +let value: ActivityExhibitorWeblink = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Cvent's website", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the weblink. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | The name of the weblink. | Cvent's website | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityexhibitorweblinkjson.md b/packages/typescript/docs/models/components/activityexhibitorweblinkjson.md deleted file mode 100644 index f65d4eae7..000000000 --- a/packages/typescript/docs/models/components/activityexhibitorweblinkjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ActivityExhibitorWebLinkJson - -A web-link for an activity exhibitor. - -## Example Usage - -```typescript -import { ActivityExhibitorWebLinkJson } from "@cvent/sdk/models/components"; - -let value: ActivityExhibitorWebLinkJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Cvent's website", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the weblink. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *string* | :heavy_minus_sign: | The name of the weblink. | Cvent's website | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityjson.md b/packages/typescript/docs/models/components/activityjson.md deleted file mode 100644 index 23a21a588..000000000 --- a/packages/typescript/docs/models/components/activityjson.md +++ /dev/null @@ -1,51 +0,0 @@ -# ActivityJson - -An attendee activity. - -## Example Usage - -```typescript -import { ActivityJson } from "@cvent/sdk/models/components"; - -let value: ActivityJson = { - id: "9463c74e-18c6-401a-a710-ae0f485bf059", - attendee: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - event: { - id: "d84855b0-eeda-41c4-8e7a-53e80364cb95", - title: "Cvent Connect 2020", - code: "XRNGB4YY3CX", - timezone: "America/New_York", - }, - time: new Date("2019-08-24T14:15:22Z"), - created: new Date("2019-08-24T14:15:22Z"), - name: "Registered for Event", - type: "event.registered", - data: { - oldContact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, - newContact: { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `attendee` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [components.EventActivityDetailsJson](../../models/components/eventactivitydetailsjson.md) | :heavy_check_mark: | Details for an event activity. | | -| `time` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | -| `name` | *string* | :heavy_minus_sign: | Unique name corresponding to the attendee activity type. | Registered for Event | -| `type` | [components.ActivityTypeJson](../../models/components/activitytypejson.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity. | event.registered | -| `data` | *components.ActivityDataJson* | :heavy_minus_sign: | This is used to denote the type of the attendee activity | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitylead.md b/packages/typescript/docs/models/components/activitylead.md new file mode 100644 index 000000000..cf5ec88cb --- /dev/null +++ b/packages/typescript/docs/models/components/activitylead.md @@ -0,0 +1,28 @@ +# ActivityLead + +An activity lead. + +## Example Usage + +```typescript +import { ActivityLead } from "@cvent/sdk/models/components"; + +let value: ActivityLead = { + deviceId: "123", + deviceName: "Jack's iPhone", + boothStaff: { + firstName: "John", + lastName: "Doe", + email: "h.potterfield@test.com", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | Activity Lead ID | | +| `deviceId` | *string* | :heavy_minus_sign: | The unique identifier of the device. | 123 | +| `deviceName` | *string* | :heavy_minus_sign: | Name of the device. | Jack's iPhone | +| `boothStaff` | [components.ActivityBoothStaff](../../models/components/activityboothstaff.md) | :heavy_minus_sign: | Booth staff for an activity. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activityleadjson.md b/packages/typescript/docs/models/components/activityleadjson.md deleted file mode 100644 index 8f6129fb6..000000000 --- a/packages/typescript/docs/models/components/activityleadjson.md +++ /dev/null @@ -1,28 +0,0 @@ -# ActivityLeadJson - -An activity lead. - -## Example Usage - -```typescript -import { ActivityLeadJson } from "@cvent/sdk/models/components"; - -let value: ActivityLeadJson = { - deviceId: "123", - deviceName: "Jack's iPhone", - boothStaff: { - firstName: "John", - lastName: "Doe", - email: "h.potterfield@test.com", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Activity Lead ID | | -| `deviceId` | *string* | :heavy_minus_sign: | The unique identifier of the device. | 123 | -| `deviceName` | *string* | :heavy_minus_sign: | Name of the device. | Jack's iPhone | -| `boothStaff` | [components.ZeroAllOf4](../../models/components/zeroallof4.md) | :heavy_minus_sign: | Booth staff for an activity. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitytype.md b/packages/typescript/docs/models/components/activitytype.md new file mode 100644 index 000000000..80eba3079 --- /dev/null +++ b/packages/typescript/docs/models/components/activitytype.md @@ -0,0 +1,17 @@ +# ActivityType + +This is used to denote the type of the attendee activity. + +## Example Usage + +```typescript +import { ActivityType } from "@cvent/sdk/models/components"; + +let value: ActivityType = "event.registered"; +``` + +## Values + +```typescript +"appointment.accepted" | "appointment.cancelled" | "appointment.checkedIn" | "appointment.created" | "appointment.declined" | "appointment.denied" | "appointment.rescheduled" | "email.bounced" | "email.clicked" | "email.opened" | "email.sent" | "email.undelivered" | "event.attendeeHubVisited" | "event.attendeeSubstituted" | "event.bannerLinkClicked" | "event.checkedIn" | "event.checkedOut" | "event.customCardOpened" | "event.feedbackSubmitted" | "event.noShow" | "event.pageVisitTracked" | "event.registered" | "event.registrationAbandoned" | "event.registrationCancelled" | "event.videoPlayed" | "event.waitlisted" | "exhibitor.documentOpened" | "exhibitor.socialLinkOpened" | "exhibitor.viewed" | "exhibitor.virtualBoothJoined" | "exhibitor.weblinkOpened" | "lead.inboundCreated" | "lead.qualified" | "lead.scanned" | "session.checkedIn" | "session.checkedOut" | "session.enrolled" | "session.feedbackSubmitted" | "session.noShow" | "session.pollResponseSubmitted" | "session.questionAsked" | "session.questionUpvoted" | "session.unenrolled" | "session.waitlisted" | "speaker.feedbackSubmitted" | "speaker.fileDownloaded" | "appointment.external" | "event.external" | "exhibitor.external" | "session.external" | "event.adViewed" | "event.adClicked" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/activitytypejson.md b/packages/typescript/docs/models/components/activitytypejson.md deleted file mode 100644 index 0b8f6637b..000000000 --- a/packages/typescript/docs/models/components/activitytypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ActivityTypeJson - -This is used to denote the type of the attendee activity. - -## Example Usage - -```typescript -import { ActivityTypeJson } from "@cvent/sdk/models/components"; - -let value: ActivityTypeJson = "event.registered"; -``` - -## Values - -```typescript -"appointment.accepted" | "appointment.cancelled" | "appointment.checkedIn" | "appointment.created" | "appointment.declined" | "appointment.denied" | "appointment.rescheduled" | "email.bounced" | "email.clicked" | "email.opened" | "email.sent" | "email.undelivered" | "event.attendeeHubVisited" | "event.attendeeSubstituted" | "event.bannerLinkClicked" | "event.checkedIn" | "event.checkedOut" | "event.customCardOpened" | "event.feedbackSubmitted" | "event.noShow" | "event.pageVisitTracked" | "event.registered" | "event.registrationAbandoned" | "event.registrationCancelled" | "event.videoPlayed" | "event.waitlisted" | "exhibitor.documentOpened" | "exhibitor.socialLinkOpened" | "exhibitor.viewed" | "exhibitor.virtualBoothJoined" | "exhibitor.weblinkOpened" | "lead.inboundCreated" | "lead.qualified" | "lead.scanned" | "session.checkedIn" | "session.checkedOut" | "session.enrolled" | "session.feedbackSubmitted" | "session.noShow" | "session.pollResponseSubmitted" | "session.questionAsked" | "session.questionUpvoted" | "session.unenrolled" | "session.waitlisted" | "speaker.feedbackSubmitted" | "speaker.fileDownloaded" | "appointment.external" | "event.external" | "exhibitor.external" | "session.external" | "event.adViewed" | "event.adClicked" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressinfo.md b/packages/typescript/docs/models/components/addressinfo.md new file mode 100644 index 000000000..ccca77172 --- /dev/null +++ b/packages/typescript/docs/models/components/addressinfo.md @@ -0,0 +1,30 @@ +# AddressInfo + +Venue address information. + +## Example Usage + +```typescript +import { AddressInfo } from "@cvent/sdk/models/components"; + +let value: AddressInfo = { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + country: "NU", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *string* | :heavy_check_mark: | City. | Vienna | +| `stateProvince` | [components.StateProvince1](../../models/components/stateprovince1.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `zipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [components.Country](../../models/components/country.md) | :heavy_check_mark: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `directions` | *string* | :heavy_minus_sign: | Directions or instructions for getting to the venue. | Take I-66 West to Exit 67, then follow signs to Trap Road. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/adlocation.md b/packages/typescript/docs/models/components/adlocation.md new file mode 100644 index 000000000..a8ea80edc --- /dev/null +++ b/packages/typescript/docs/models/components/adlocation.md @@ -0,0 +1,17 @@ +# AdLocation + +The placement of the ad within the specific product. + +## Example Usage + +```typescript +import { AdLocation } from "@cvent/sdk/models/components"; + +let value: AdLocation = "Home Page"; +``` + +## Values + +```typescript +"Home Page" | "Exhibitor List" | "Session List" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/adlocationjson.md b/packages/typescript/docs/models/components/adlocationjson.md deleted file mode 100644 index 9480dc3db..000000000 --- a/packages/typescript/docs/models/components/adlocationjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AdLocationJson - -The placement of the ad within the specific product. - -## Example Usage - -```typescript -import { AdLocationJson } from "@cvent/sdk/models/components"; - -let value: AdLocationJson = "Home Page"; -``` - -## Values - -```typescript -"Home Page" | "Exhibitor List" | "Session List" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answer2.md b/packages/typescript/docs/models/components/answer2.md deleted file mode 100644 index 43702d95c..000000000 --- a/packages/typescript/docs/models/components/answer2.md +++ /dev/null @@ -1,22 +0,0 @@ -# Answer2 - -A JSON schema representing an answer object. - -## Example Usage - -```typescript -import { Answer2 } from "@cvent/sdk/models/components"; - -let value: Answer2 = { - type: "Choice", - value: "Choice A", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `type` | [components.AnswerType1](../../models/components/answertype1.md) | :heavy_check_mark: | Type of answer | Choice | -| `value` | *string* | :heavy_minus_sign: | Answered value like: Choice text, text answer input etc. | Choice A | -| `choice` | [components.Answer2Choice](../../models/components/answer2choice.md) | :heavy_minus_sign: | The choice that was selected. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answer21.md b/packages/typescript/docs/models/components/answer21.md new file mode 100644 index 000000000..592905c54 --- /dev/null +++ b/packages/typescript/docs/models/components/answer21.md @@ -0,0 +1,22 @@ +# Answer21 + +A question answer. + +## Example Usage + +```typescript +import { Answer21 } from "@cvent/sdk/models/components"; + +let value: Answer21 = { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| ~~`type`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. | simple | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answer22.md b/packages/typescript/docs/models/components/answer22.md new file mode 100644 index 000000000..95a16f5b9 --- /dev/null +++ b/packages/typescript/docs/models/components/answer22.md @@ -0,0 +1,22 @@ +# Answer22 + +A JSON schema representing an answer object. + +## Example Usage + +```typescript +import { Answer22 } from "@cvent/sdk/models/components"; + +let value: Answer22 = { + type: "Choice", + value: "Choice A", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `type` | [components.AnswerType11](../../models/components/answertype11.md) | :heavy_check_mark: | Type of answer | Choice | +| `value` | *string* | :heavy_minus_sign: | Answered value like: Choice text, text answer input etc. | Choice A | +| `choice` | [components.Answer2Choice](../../models/components/answer2choice.md) | :heavy_minus_sign: | The choice that was selected. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answerjson.md b/packages/typescript/docs/models/components/answerjson.md index ad0cab9ae..dc34286df 100644 --- a/packages/typescript/docs/models/components/answerjson.md +++ b/packages/typescript/docs/models/components/answerjson.md @@ -29,7 +29,7 @@ let value: AnswerJson = { | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [components.AnswerTypeJson1](../../models/components/answertypejson1.md) | :heavy_check_mark: | Type of answer | ChoiceText | +| `type` | [components.AnswerTypeJson](../../models/components/answertypejson.md) | :heavy_check_mark: | Type of answer | ChoiceText | | `value` | *string* | :heavy_minus_sign: | Value property is used to send information like string, number and date in case of following types of answers only: ChoiceText, Text, Comment, Other. In case of Rank Order question, rank should be put into value. Refer to questions resource to get choice label or category label from their respective ids. | 1 | | `choice` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `category` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/typescript/docs/models/components/answerjson1.md b/packages/typescript/docs/models/components/answerjson1.md deleted file mode 100644 index e92b3290f..000000000 --- a/packages/typescript/docs/models/components/answerjson1.md +++ /dev/null @@ -1,22 +0,0 @@ -# AnswerJson1 - -A question answer. - -## Example Usage - -```typescript -import { AnswerJson1 } from "@cvent/sdk/models/components"; - -let value: AnswerJson1 = { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| ~~`type`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. | simple | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answertype1.md b/packages/typescript/docs/models/components/answertype1.md deleted file mode 100644 index 82400d813..000000000 --- a/packages/typescript/docs/models/components/answertype1.md +++ /dev/null @@ -1,17 +0,0 @@ -# AnswerType1 - -Type of answer - -## Example Usage - -```typescript -import { AnswerType1 } from "@cvent/sdk/models/components"; - -let value: AnswerType1 = "Choice"; -``` - -## Values - -```typescript -"Choice" | "Text" | "Other" | "NA" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answertype11.md b/packages/typescript/docs/models/components/answertype11.md new file mode 100644 index 000000000..815ce55da --- /dev/null +++ b/packages/typescript/docs/models/components/answertype11.md @@ -0,0 +1,17 @@ +# AnswerType11 + +Type of answer + +## Example Usage + +```typescript +import { AnswerType11 } from "@cvent/sdk/models/components"; + +let value: AnswerType11 = "Choice"; +``` + +## Values + +```typescript +"Choice" | "Text" | "Other" | "NA" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answertype12.md b/packages/typescript/docs/models/components/answertype12.md new file mode 100644 index 000000000..d2ad940e6 --- /dev/null +++ b/packages/typescript/docs/models/components/answertype12.md @@ -0,0 +1,23 @@ +# AnswerType12 + +Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + +Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + +Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + +In all other cases, `answerType` is not expected to be set. + +## Example Usage + +```typescript +import { AnswerType12 } from "@cvent/sdk/models/components"; + +let value: AnswerType12 = "Other"; +``` + +## Values + +```typescript +"Other" | "NA" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answertypejson.md b/packages/typescript/docs/models/components/answertypejson.md index b49d37727..ad3211f3f 100644 --- a/packages/typescript/docs/models/components/answertypejson.md +++ b/packages/typescript/docs/models/components/answertypejson.md @@ -1,23 +1,17 @@ # AnswerTypeJson -Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - -Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - -Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - -In all other cases, `answerType` is not expected to be set. +Type of answer ## Example Usage ```typescript import { AnswerTypeJson } from "@cvent/sdk/models/components"; -let value: AnswerTypeJson = "Other"; +let value: AnswerTypeJson = "ChoiceText"; ``` ## Values ```typescript -"Other" | "NA" +"Choice" | "Text" | "ChoiceText" | "Comment" | "Other" | "NA" | "File" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/answertypejson1.md b/packages/typescript/docs/models/components/answertypejson1.md deleted file mode 100644 index ee22cd001..000000000 --- a/packages/typescript/docs/models/components/answertypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# AnswerTypeJson1 - -Type of answer - -## Example Usage - -```typescript -import { AnswerTypeJson1 } from "@cvent/sdk/models/components"; - -let value: AnswerTypeJson1 = "ChoiceText"; -``` - -## Values - -```typescript -"Choice" | "Text" | "ChoiceText" | "Comment" | "Other" | "NA" | "File" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentaccepted.md b/packages/typescript/docs/models/components/appointmentaccepted.md index 4ba8e0c32..75773558a 100644 --- a/packages/typescript/docs/models/components/appointmentaccepted.md +++ b/packages/typescript/docs/models/components/appointmentaccepted.md @@ -29,7 +29,7 @@ let value: AppointmentAccepted = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [components.ActivityAppointmentJson](../../models/components/activityappointmentjson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [components.ActivityAppointment](../../models/components/activityappointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentcancelled.md b/packages/typescript/docs/models/components/appointmentcancelled.md index 16cb0b77e..d9b39d580 100644 --- a/packages/typescript/docs/models/components/appointmentcancelled.md +++ b/packages/typescript/docs/models/components/appointmentcancelled.md @@ -29,7 +29,7 @@ let value: AppointmentCancelled = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [components.ActivityAppointmentJson](../../models/components/activityappointmentjson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [components.ActivityAppointment](../../models/components/activityappointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentcheckedin.md b/packages/typescript/docs/models/components/appointmentcheckedin.md index 98b6c1457..0b81b6148 100644 --- a/packages/typescript/docs/models/components/appointmentcheckedin.md +++ b/packages/typescript/docs/models/components/appointmentcheckedin.md @@ -32,6 +32,6 @@ let value: AppointmentCheckedIn = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `appointment` | [components.ActivityAppointmentJson](../../models/components/activityappointmentjson.md) | :heavy_minus_sign: | An activity appointment. | | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | | +| `appointment` | [components.ActivityAppointment](../../models/components/activityappointment.md) | :heavy_minus_sign: | An activity appointment. | | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | | | `checkedIn` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked in to the appointment. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentcreated.md b/packages/typescript/docs/models/components/appointmentcreated.md index b64e41f7e..cd06ff1a3 100644 --- a/packages/typescript/docs/models/components/appointmentcreated.md +++ b/packages/typescript/docs/models/components/appointmentcreated.md @@ -29,7 +29,7 @@ let value: AppointmentCreated = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [components.ActivityAppointmentJson](../../models/components/activityappointmentjson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [components.ActivityAppointment](../../models/components/activityappointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentdeclined.md b/packages/typescript/docs/models/components/appointmentdeclined.md index dff5b8811..d0dd3d482 100644 --- a/packages/typescript/docs/models/components/appointmentdeclined.md +++ b/packages/typescript/docs/models/components/appointmentdeclined.md @@ -29,7 +29,7 @@ let value: AppointmentDeclined = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [components.ActivityAppointmentJson](../../models/components/activityappointmentjson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [components.ActivityAppointment](../../models/components/activityappointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentdenied.md b/packages/typescript/docs/models/components/appointmentdenied.md index d51cc3c33..033707ac7 100644 --- a/packages/typescript/docs/models/components/appointmentdenied.md +++ b/packages/typescript/docs/models/components/appointmentdenied.md @@ -27,7 +27,7 @@ let value: AppointmentDenied = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `appointment` | [components.ActivityBaseAppointmentJson](../../models/components/activitybaseappointmentjson.md) | :heavy_minus_sign: | Base entity of an activity appointment. | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `appointment` | [components.ActivityBaseAppointment](../../models/components/activitybaseappointment.md) | :heavy_minus_sign: | Base entity of an activity appointment. | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentpaginatedresponse.md b/packages/typescript/docs/models/components/appointmentpaginatedresponse.md index b1365008e..b2a14032a 100644 --- a/packages/typescript/docs/models/components/appointmentpaginatedresponse.md +++ b/packages/typescript/docs/models/components/appointmentpaginatedresponse.md @@ -35,4 +35,4 @@ let value: AppointmentPaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.ZeroAllOf3](../../models/components/zeroallof3.md)[] | :heavy_check_mark: | Collection of appointments and their related details. | \ No newline at end of file +| `data` | [components.ZeroAllOf2](../../models/components/zeroallof2.md)[] | :heavy_check_mark: | Collection of appointments and their related details. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentrescheduled.md b/packages/typescript/docs/models/components/appointmentrescheduled.md index d0abadced..d40f8a3d3 100644 --- a/packages/typescript/docs/models/components/appointmentrescheduled.md +++ b/packages/typescript/docs/models/components/appointmentrescheduled.md @@ -29,7 +29,7 @@ let value: AppointmentRescheduled = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `appointment` | [components.ActivityAppointmentJson](../../models/components/activityappointmentjson.md) | :heavy_minus_sign: | An activity appointment. | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `appointment` | [components.ActivityAppointment](../../models/components/activityappointment.md) | :heavy_minus_sign: | An activity appointment. | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/areameasurement.md b/packages/typescript/docs/models/components/areameasurement.md new file mode 100644 index 000000000..f1ebd51f8 --- /dev/null +++ b/packages/typescript/docs/models/components/areameasurement.md @@ -0,0 +1,21 @@ +# AreaMeasurement + +Measurement of area in square feet or square meters. + +## Example Usage + +```typescript +import { AreaMeasurement } from "@cvent/sdk/models/components"; + +let value: AreaMeasurement = { + value: 1500, + unit: "SQUARE_FEET", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | The numeric value of the area measurement. | 1500 | +| `unit` | [components.AreaMeasurementUnit](../../models/components/areameasurementunit.md) | :heavy_check_mark: | The unit of measurement for the area. | SQUARE_FEET | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/areameasurementunit.md b/packages/typescript/docs/models/components/areameasurementunit.md new file mode 100644 index 000000000..b9f593022 --- /dev/null +++ b/packages/typescript/docs/models/components/areameasurementunit.md @@ -0,0 +1,17 @@ +# AreaMeasurementUnit + +The unit of measurement for the area. + +## Example Usage + +```typescript +import { AreaMeasurementUnit } from "@cvent/sdk/models/components"; + +let value: AreaMeasurementUnit = "SQUARE_FEET"; +``` + +## Values + +```typescript +"SQUARE_FEET" | "SQUARE_METERS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee11.md b/packages/typescript/docs/models/components/attendee11.md index 38e218921..ee43b971b 100644 --- a/packages/typescript/docs/models/components/attendee11.md +++ b/packages/typescript/docs/models/components/attendee11.md @@ -146,6 +146,7 @@ let value: Attendee11 = { administrator: { id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, + unsubscribed: false, status: "Accepted", registeredAt: new Date("2018-01-13T02:00:00Z"), registrationLastModified: new Date("2018-01-13T02:00:00Z"), @@ -213,14 +214,14 @@ let value: Attendee11 = { | `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 | +| `unsubscribed` | *boolean* | :heavy_minus_sign: | 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 is read-only; to update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). | 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. | | +| ~~`questions`~~ | [components.CustomFieldSchema1](../../models/components/customfieldschema1.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 | diff --git a/packages/typescript/docs/models/components/attendeeactivitiespaginatedresponse.md b/packages/typescript/docs/models/components/attendeeactivitiespaginatedresponse.md index 9962d4eb7..eda00de03 100644 --- a/packages/typescript/docs/models/components/attendeeactivitiespaginatedresponse.md +++ b/packages/typescript/docs/models/components/attendeeactivitiespaginatedresponse.md @@ -67,7 +67,7 @@ let value: AttendeeActivitiesPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.ActivityJson](../../models/components/activityjson.md)[] | :heavy_check_mark: | Collection of attendee activities. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.AttendeeActivity](../../models/components/attendeeactivity.md)[] | :heavy_check_mark: | Collection of attendee activities. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeactivity.md b/packages/typescript/docs/models/components/attendeeactivity.md new file mode 100644 index 000000000..7f64293b1 --- /dev/null +++ b/packages/typescript/docs/models/components/attendeeactivity.md @@ -0,0 +1,57 @@ +# AttendeeActivity + +An attendee activity. + +## Example Usage + +```typescript +import { AttendeeActivity } from "@cvent/sdk/models/components"; + +let value: AttendeeActivity = { + id: "9463c74e-18c6-401a-a710-ae0f485bf059", + attendee: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + event: { + id: "d84855b0-eeda-41c4-8e7a-53e80364cb95", + title: "Cvent Connect 2020", + code: "XRNGB4YY3CX", + timezone: "America/New_York", + }, + time: new Date("2019-08-24T14:15:22Z"), + created: new Date("2019-08-24T14:15:22Z"), + name: "Registered for Event", + type: "event.registered", + data: { + appointment: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Meeting with Cvent", + code: "NTNHR3XMX5Z", + appointmentEvent: { + title: "Demo- Attendee Activity", + code: "VFNGZT7LH7D", + }, + start: new Date("2020-02-03T13:00:00.000Z"), + end: new Date("2020-02-03T14:00:00.000Z"), + }, + contact: { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | +| `attendee` | [components.Uuid](../../models/components/uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `event` | [components.EventActivityDetail](../../models/components/eventactivitydetail.md) | :heavy_check_mark: | Details for an event activity. | | +| `time` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | +| `name` | *string* | :heavy_minus_sign: | Unique name corresponding to the attendee activity type. | Registered for Event | +| `type` | [components.ActivityType](../../models/components/activitytype.md) | :heavy_minus_sign: | This is used to denote the type of the attendee activity. | event.registered | +| `data` | *components.ActivityData* | :heavy_minus_sign: | This is used to denote the type of the attendee activity | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md b/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md index 8fc30f456..faeb5c1de 100644 --- a/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md +++ b/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md @@ -31,4 +31,4 @@ let value: AttendeeAddBulkItemEventJsonErrorResponse = { | `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | | `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | | `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | [components.ZeroAllOf7](../../models/components/zeroallof7.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| `details` | [components.ZeroAllOf5](../../models/components/zeroallof5.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeecontactinfo.md b/packages/typescript/docs/models/components/attendeecontactinfo.md index beddbe965..831c8b7ae 100644 --- a/packages/typescript/docs/models/components/attendeecontactinfo.md +++ b/packages/typescript/docs/models/components/attendeecontactinfo.md @@ -130,7 +130,7 @@ let value: AttendeeContactInfo = { | `workPhone` | *string* | :heavy_minus_sign: | Work phone number | 555-555-5555 | | `workFax` | *string* | :heavy_minus_sign: | Work FAX number | 555-555-5555 | | `optOut` | [components.OptOut](../../models/components/optout.md) | :heavy_minus_sign: | Opt-out choices. | | -| `customFields` | [components.CustomFieldSchema](../../models/components/customfieldschema.md)[] | :heavy_minus_sign: | Collection of custom fields. | | +| `customFields` | [components.CustomFieldSchema1](../../models/components/customfieldschema1.md)[] | :heavy_minus_sign: | Collection of custom fields. | | | `sourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name has part of the ID | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *string* | :heavy_minus_sign: | Mobile phone number | 555-555-5555 | | `compliance` | [components.Compliance](../../models/components/compliance.md)[] | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | diff --git a/packages/typescript/docs/models/components/attendeestatusjson.md b/packages/typescript/docs/models/components/attendeestatusjson.md deleted file mode 100644 index d4ffd2961..000000000 --- a/packages/typescript/docs/models/components/attendeestatusjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AttendeeStatusJson - -This is used to denote the status of an attendee. - -## Example Usage - -```typescript -import { AttendeeStatusJson } from "@cvent/sdk/models/components"; - -let value: AttendeeStatusJson = "Accepted"; -``` - -## Values - -```typescript -"No Response" | "Accepted" | "Declined" | "Visited" | "Waitlisted" | "Cancelled" | "Pending Approval" | "Denied Approval" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bannerlinktarget.md b/packages/typescript/docs/models/components/bannerlinktarget.md new file mode 100644 index 000000000..abd1b4b8d --- /dev/null +++ b/packages/typescript/docs/models/components/bannerlinktarget.md @@ -0,0 +1,20 @@ +# BannerLinkTarget + +The target of the link clicked on the banner. + +## Example Usage + +```typescript +import { BannerLinkTarget } from "@cvent/sdk/models/components"; + +let value: BannerLinkTarget = { + details: "https://www.cvent.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [components.BannerLinkTargetType](../../models/components/bannerlinktargettype.md) | :heavy_minus_sign: | The type of target associated with the banner link. | | +| `details` | *string* | :heavy_minus_sign: | The details of the target associated with the banner link. | https://www.cvent.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bannerlinktargetjson.md b/packages/typescript/docs/models/components/bannerlinktargetjson.md deleted file mode 100644 index 2dc4588f4..000000000 --- a/packages/typescript/docs/models/components/bannerlinktargetjson.md +++ /dev/null @@ -1,20 +0,0 @@ -# BannerLinkTargetJson - -The target of the link clicked on the banner. - -## Example Usage - -```typescript -import { BannerLinkTargetJson } from "@cvent/sdk/models/components"; - -let value: BannerLinkTargetJson = { - details: "https://www.cvent.com", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `type` | [components.BannerLinkTargetJsonType](../../models/components/bannerlinktargetjsontype.md) | :heavy_minus_sign: | The type of target associated with the banner link. | | -| `details` | *string* | :heavy_minus_sign: | The details of the target associated with the banner link. | https://www.cvent.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bannerlinktargetjsontype.md b/packages/typescript/docs/models/components/bannerlinktargetjsontype.md deleted file mode 100644 index e12a8cb33..000000000 --- a/packages/typescript/docs/models/components/bannerlinktargetjsontype.md +++ /dev/null @@ -1,17 +0,0 @@ -# BannerLinkTargetJsonType - -The type of target associated with the banner link. - -## Example Usage - -```typescript -import { BannerLinkTargetJsonType } from "@cvent/sdk/models/components"; - -let value: BannerLinkTargetJsonType = "External Url"; -``` - -## Values - -```typescript -"Attendee Hub Page" | "Discussion Topic" | "External Url" | "Floor Plan Details" | "Session Details" | "Speaker Details" | "Virtual Booth" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bannerlinktargettype.md b/packages/typescript/docs/models/components/bannerlinktargettype.md new file mode 100644 index 000000000..242506876 --- /dev/null +++ b/packages/typescript/docs/models/components/bannerlinktargettype.md @@ -0,0 +1,17 @@ +# BannerLinkTargetType + +The type of target associated with the banner link. + +## Example Usage + +```typescript +import { BannerLinkTargetType } from "@cvent/sdk/models/components"; + +let value: BannerLinkTargetType = "Attendee Hub Page"; +``` + +## Values + +```typescript +"Attendee Hub Page" | "Discussion Topic" | "External Url" | "Floor Plan Details" | "Session Details" | "Speaker Details" | "Virtual Booth" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/baseanswer.md b/packages/typescript/docs/models/components/baseanswer.md new file mode 100644 index 000000000..61af03926 --- /dev/null +++ b/packages/typescript/docs/models/components/baseanswer.md @@ -0,0 +1,20 @@ +# BaseAnswer + +Base entity of a question answer. + +## Example Usage + +```typescript +import { BaseAnswer } from "@cvent/sdk/models/components"; + +let value: BaseAnswer = { + value: "my answer", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Answer | | +| `value` | *string* | :heavy_minus_sign: | Value of an answer. | my answer | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/baseanswerjson.md b/packages/typescript/docs/models/components/baseanswerjson.md deleted file mode 100644 index 2060fa7ab..000000000 --- a/packages/typescript/docs/models/components/baseanswerjson.md +++ /dev/null @@ -1,20 +0,0 @@ -# BaseAnswerJson - -Base entity of a question answer. - -## Example Usage - -```typescript -import { BaseAnswerJson } from "@cvent/sdk/models/components"; - -let value: BaseAnswerJson = { - value: "my answer", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Answer | | -| `value` | *string* | :heavy_minus_sign: | Value of an answer. | my answer | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/basequestion.md b/packages/typescript/docs/models/components/basequestion.md new file mode 100644 index 000000000..1125af720 --- /dev/null +++ b/packages/typescript/docs/models/components/basequestion.md @@ -0,0 +1,21 @@ +# BaseQuestion + +The question that was answered. + +## Example Usage + +```typescript +import { BaseQuestion } from "@cvent/sdk/models/components"; + +let value: BaseQuestion = { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/basequestionresponse.md b/packages/typescript/docs/models/components/basequestionresponse.md new file mode 100644 index 000000000..dbc2c80a2 --- /dev/null +++ b/packages/typescript/docs/models/components/basequestionresponse.md @@ -0,0 +1,28 @@ +# BaseQuestionResponse + +Base entity for a question response. + +## Example Usage + +```typescript +import { BaseQuestionResponse } from "@cvent/sdk/models/components"; + +let value: BaseQuestionResponse = { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + answers: [ + { + value: "my answer", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `question` | [components.BaseQuestion](../../models/components/basequestion.md) | :heavy_minus_sign: | The question that was answered. | +| `answers` | [components.BaseAnswer](../../models/components/baseanswer.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/basequestionresponsejson.md b/packages/typescript/docs/models/components/basequestionresponsejson.md deleted file mode 100644 index dccdd21ce..000000000 --- a/packages/typescript/docs/models/components/basequestionresponsejson.md +++ /dev/null @@ -1,28 +0,0 @@ -# BaseQuestionResponseJson - -Base entity for a question response. - -## Example Usage - -```typescript -import { BaseQuestionResponseJson } from "@cvent/sdk/models/components"; - -let value: BaseQuestionResponseJson = { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - answers: [ - { - value: "my answer", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `question` | [components.ZeroAllOf5](../../models/components/zeroallof5.md) | :heavy_minus_sign: | The question that was answered. | -| `answers` | [components.BaseAnswerJson](../../models/components/baseanswerjson.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/biditemstatustype.md b/packages/typescript/docs/models/components/biditemstatustype.md index 3c9e0b26e..9b156063a 100644 --- a/packages/typescript/docs/models/components/biditemstatustype.md +++ b/packages/typescript/docs/models/components/biditemstatustype.md @@ -1,6 +1,6 @@ # BidItemStatusType -The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. +The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). ## Example Usage @@ -13,5 +13,5 @@ let value: BidItemStatusType = "requested"; ## Values ```typescript -"requested" | "delete_requested" | "deleted" | "not_available" +"requested" | "delete_requested" | "deleted" | "not_offered" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/budgetcategory.md b/packages/typescript/docs/models/components/budgetcategory.md new file mode 100644 index 000000000..28976d61b --- /dev/null +++ b/packages/typescript/docs/models/components/budgetcategory.md @@ -0,0 +1,21 @@ +# BudgetCategory + +Denotes the category assigned to the budget item. + +## Example Usage + +```typescript +import { BudgetCategory } from "@cvent/sdk/models/components"; + +let value: BudgetCategory = { + id: 3, + name: "Travel", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *number* | :heavy_check_mark: | Unique identifier of the budget category. | 3 | +| `name` | *string* | :heavy_minus_sign: | Name of the budget category assigned to the budget item. | Travel | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/budgetcostdetail.md b/packages/typescript/docs/models/components/budgetcostdetail.md new file mode 100644 index 000000000..d169ae1ec --- /dev/null +++ b/packages/typescript/docs/models/components/budgetcostdetail.md @@ -0,0 +1,33 @@ +# BudgetCostDetail + +The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + +## Example Usage + +```typescript +import { BudgetCostDetail } from "@cvent/sdk/models/components"; + +let value: BudgetCostDetail = { + category: { + id: 3, + name: "Travel", + }, + subCategory: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "utilities", + }, + units: 5.2, + cost: 100.5, + totalCost: 100.5, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `category` | [components.BudgetCategory](../../models/components/budgetcategory.md) | :heavy_minus_sign: | Denotes the category assigned to the budget item. | | +| `subCategory` | [components.BudgetSubCategory](../../models/components/budgetsubcategory.md) | :heavy_minus_sign: | This is used to denote the sub category for a budget. | | +| `units` | *number* | :heavy_minus_sign: | The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. | 5.2 | +| `cost` | *number* | :heavy_minus_sign: | The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. | 100.5 | +| `totalCost` | *number* | :heavy_minus_sign: | The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. | 100.5 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/budgetcostdetailjson1.md b/packages/typescript/docs/models/components/budgetcostdetailjson1.md deleted file mode 100644 index 42074a7ee..000000000 --- a/packages/typescript/docs/models/components/budgetcostdetailjson1.md +++ /dev/null @@ -1,33 +0,0 @@ -# BudgetCostDetailJson1 - -The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - -## Example Usage - -```typescript -import { BudgetCostDetailJson1 } from "@cvent/sdk/models/components"; - -let value: BudgetCostDetailJson1 = { - category: { - id: 3, - name: "Travel", - }, - subCategory: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "utilities", - }, - units: 5.2, - cost: 100.5, - totalCost: 100.5, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `category` | [components.BudgetCategoryJson](../../models/components/budgetcategoryjson.md) | :heavy_minus_sign: | Denotes the category assigned to the budget item. | | -| `subCategory` | [components.BudgetSubCategoryJson](../../models/components/budgetsubcategoryjson.md) | :heavy_minus_sign: | This is used to denote the sub category for a budget. | | -| `units` | *number* | :heavy_minus_sign: | The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. | 5.2 | -| `cost` | *number* | :heavy_minus_sign: | The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. | 100.5 | -| `totalCost` | *number* | :heavy_minus_sign: | The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. | 100.5 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/budgetcosttype.md b/packages/typescript/docs/models/components/budgetcosttype.md new file mode 100644 index 000000000..3bbd70646 --- /dev/null +++ b/packages/typescript/docs/models/components/budgetcosttype.md @@ -0,0 +1,17 @@ +# BudgetCostType + +Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + +## Example Usage + +```typescript +import { BudgetCostType } from "@cvent/sdk/models/components"; + +let value: BudgetCostType = "FIXED"; +``` + +## Values + +```typescript +"FIXED" | "VARIABLE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/budgetestimate.md b/packages/typescript/docs/models/components/budgetestimate.md new file mode 100644 index 000000000..d9593b476 --- /dev/null +++ b/packages/typescript/docs/models/components/budgetestimate.md @@ -0,0 +1,37 @@ +# BudgetEstimate + +The estimated budget of the Meeting Request. + +## Example Usage + +```typescript +import { BudgetEstimate } from "@cvent/sdk/models/components"; + +let value: BudgetEstimate = { + currency: "USD", + costType: "FIXED", + costDetail: [ + { + category: { + id: 3, + name: "Travel", + }, + subCategory: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "utilities", + }, + units: 5.2, + cost: 100.5, + totalCost: 100.5, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `currency` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. | USD | +| `costType` | [components.BudgetCostType](../../models/components/budgetcosttype.md) | :heavy_minus_sign: | Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. | FIXED | +| `costDetail` | [components.BudgetCostDetail](../../models/components/budgetcostdetail.md)[] | :heavy_minus_sign: | A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/budgetestimatejson.md b/packages/typescript/docs/models/components/budgetestimatejson.md deleted file mode 100644 index 41263aad1..000000000 --- a/packages/typescript/docs/models/components/budgetestimatejson.md +++ /dev/null @@ -1,37 +0,0 @@ -# BudgetEstimateJson - -The estimated budget of the Meeting Request. - -## Example Usage - -```typescript -import { BudgetEstimateJson } from "@cvent/sdk/models/components"; - -let value: BudgetEstimateJson = { - currency: "USD", - costType: "FIXED", - costDetail: [ - { - category: { - id: 3, - name: "Travel", - }, - subCategory: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "utilities", - }, - units: 5.2, - cost: 100.5, - totalCost: 100.5, - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `currency` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. | USD | -| `costType` | [components.BudgetCostTypeJson](../../models/components/budgetcosttypejson.md) | :heavy_minus_sign: | Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. | FIXED | -| `costDetail` | [components.BudgetCostDetailJson1](../../models/components/budgetcostdetailjson1.md)[] | :heavy_minus_sign: | A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/budgetsubcategory.md b/packages/typescript/docs/models/components/budgetsubcategory.md new file mode 100644 index 000000000..d20b54689 --- /dev/null +++ b/packages/typescript/docs/models/components/budgetsubcategory.md @@ -0,0 +1,21 @@ +# BudgetSubCategory + +This is used to denote the sub category for a budget. + +## Example Usage + +```typescript +import { BudgetSubCategory } from "@cvent/sdk/models/components"; + +let value: BudgetSubCategory = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "utilities", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | Name of the budget subcategory assigned to the budget item. | utilities | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkdata.md b/packages/typescript/docs/models/components/bulkdata.md index e3b4af44f..dec71ca4b 100644 --- a/packages/typescript/docs/models/components/bulkdata.md +++ b/packages/typescript/docs/models/components/bulkdata.md @@ -35,6 +35,6 @@ let value: BulkData = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `data` | [components.BulkDataPropertyJson](../../models/components/bulkdatapropertyjson.md)[] | :heavy_minus_sign: | Collection of objects to be processed | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `data` | [components.BulkDataProperty](../../models/components/bulkdataproperty.md)[] | :heavy_minus_sign: | Collection of objects to be processed | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkdataproperty.md b/packages/typescript/docs/models/components/bulkdataproperty.md index 88885edf0..87e28d92a 100644 --- a/packages/typescript/docs/models/components/bulkdataproperty.md +++ b/packages/typescript/docs/models/components/bulkdataproperty.md @@ -1,6 +1,6 @@ # BulkDataProperty -The response data for the bulk operation. +Data Record envelope ## Example Usage @@ -36,4 +36,4 @@ let value: BulkDataProperty = { | `pathParams` | Record | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
    "id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
    } | | `queryParams` | Record | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
    "param1": "param1Value",
    "param2": "param2Value"
    } | | `headers` | Record | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
    "header1": "header1Value",
    "header2": "header2Value"
    } | -| `dataRecord` | Record | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
    "event": {
    "id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
    },
    "title": "Day 1 Keynote Session",
    "start": "2020-02-03T13:00:00.000Z",
    "end": "2020-02-07T17:00:00.000Z",
    "status": "Active"
    } | \ No newline at end of file +| `dataRecord` | Record | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
    "event": {
    "id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
    },
    "title": "Day 1 Keynote Session",
    "start": "2020-02-03T13:00:00.000Z",
    "end": "2020-02-07T17:00:00.000Z",
    "status": "Active"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkdatapropertyjson.md b/packages/typescript/docs/models/components/bulkdatapropertyjson.md deleted file mode 100644 index 87f9d8383..000000000 --- a/packages/typescript/docs/models/components/bulkdatapropertyjson.md +++ /dev/null @@ -1,39 +0,0 @@ -# BulkDataPropertyJson - -Data Record envelope - -## Example Usage - -```typescript -import { BulkDataPropertyJson } from "@cvent/sdk/models/components"; - -let value: BulkDataPropertyJson = { - pathParams: { - "id": "11111111-0dc3-487b-953e-86d6abbdf7d3", - }, - queryParams: { - "param1": "param1Value", - "param2": "param2Value", - }, - headers: { - "header1": "header1Value", - "header2": "header2Value", - }, - dataRecord: { - "event": {}, - "title": {}, - "start": {}, - "end": {}, - "status": {}, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `pathParams` | Record | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
    "id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
    } | -| `queryParams` | Record | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
    "param1": "param1Value",
    "param2": "param2Value"
    } | -| `headers` | Record | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
    "header1": "header1Value",
    "header2": "header2Value"
    } | -| `dataRecord` | Record | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
    "event": {
    "id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
    },
    "title": "Day 1 Keynote Session",
    "start": "2020-02-03T13:00:00.000Z",
    "end": "2020-02-07T17:00:00.000Z",
    "status": "Active"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkdatarecord.md b/packages/typescript/docs/models/components/bulkdatarecord.md new file mode 100644 index 000000000..db272577e --- /dev/null +++ b/packages/typescript/docs/models/components/bulkdatarecord.md @@ -0,0 +1,14 @@ +# BulkDataRecord + +## Example Usage + +```typescript +import { BulkDataRecord } from "@cvent/sdk/models/components"; + +let value: BulkDataRecord = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkdatarecordjson.md b/packages/typescript/docs/models/components/bulkdatarecordjson.md deleted file mode 100644 index 8296e3526..000000000 --- a/packages/typescript/docs/models/components/bulkdatarecordjson.md +++ /dev/null @@ -1,14 +0,0 @@ -# BulkDataRecordJson - -## Example Usage - -```typescript -import { BulkDataRecordJson } from "@cvent/sdk/models/components"; - -let value: BulkDataRecordJson = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkdatauploadresponse.md b/packages/typescript/docs/models/components/bulkdatauploadresponse.md index 821f15620..6550894dc 100644 --- a/packages/typescript/docs/models/components/bulkdatauploadresponse.md +++ b/packages/typescript/docs/models/components/bulkdatauploadresponse.md @@ -36,7 +36,7 @@ let value: BulkDataUploadResponse = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `data` | [components.BulkDataPropertyJson](../../models/components/bulkdatapropertyjson.md)[] | :heavy_minus_sign: | Collection of objects to be processed | | -| `count` | *number* | :heavy_minus_sign: | The number of successfully uploaded data records | 100 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `data` | [components.BulkDataProperty](../../models/components/bulkdataproperty.md)[] | :heavy_minus_sign: | Collection of objects to be processed | | +| `count` | *number* | :heavy_minus_sign: | The number of successfully uploaded data records | 100 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkjobwithdata.md b/packages/typescript/docs/models/components/bulkjobwithdata.md index 12222a929..47c2dd1c2 100644 --- a/packages/typescript/docs/models/components/bulkjobwithdata.md +++ b/packages/typescript/docs/models/components/bulkjobwithdata.md @@ -75,4 +75,4 @@ let value: BulkJobWithData = { | `totalRecords` | *number* | :heavy_minus_sign: | Total number of records uploaded for the bulk job. | 5000 | | `successful` | *number* | :heavy_minus_sign: | Total number of records that were successfully processed by the bulk job. | 4950 | | `failed` | *number* | :heavy_minus_sign: | Total number of records that were unsuccessfully processed by the bulk job. | 50 | -| `data` | [components.BulkDataPropertyJson](../../models/components/bulkdatapropertyjson.md)[] | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file +| `data` | [components.BulkDataProperty](../../models/components/bulkdataproperty.md)[] | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkjobwithdatainput.md b/packages/typescript/docs/models/components/bulkjobwithdatainput.md index 53d5fec90..16df630f9 100644 --- a/packages/typescript/docs/models/components/bulkjobwithdatainput.md +++ b/packages/typescript/docs/models/components/bulkjobwithdatainput.md @@ -53,4 +53,4 @@ let value: BulkJobWithDataInput = { | `operation` | [components.BulkJobWithDataOperation](../../models/components/bulkjobwithdataoperation.md) | :heavy_check_mark: | Operation to be performed in the destination API. | PUT | | `headers` | Record | :heavy_minus_sign: | Headers to be passed on the destination API. Values must NOT be null. | {
    "header1": "header1Value",
    "header2": "header2Value"
    } | | `queryParams` | Record | :heavy_minus_sign: | Query Params to be passed on to the destination API. Values must NOT be null. | {
    "param1": "param1Value",
    "param2": "param2Value"
    } | -| `data` | [components.BulkDataPropertyJson](../../models/components/bulkdatapropertyjson.md)[] | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file +| `data` | [components.BulkDataProperty](../../models/components/bulkdataproperty.md)[] | :heavy_minus_sign: | Collection of objects to be processed | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkresult.md b/packages/typescript/docs/models/components/bulkresult.md new file mode 100644 index 000000000..698454f06 --- /dev/null +++ b/packages/typescript/docs/models/components/bulkresult.md @@ -0,0 +1,62 @@ +# BulkResult + +This entity is used to represent a single item that is returned as part of a Bulk Job Result call. + +## Example Usage + +```typescript +import { BulkResult } from "@cvent/sdk/models/components"; + +let value: BulkResult = { + data: { + pathParams: { + "id": "11111111-0dc3-487b-953e-86d6abbdf7d3", + }, + queryParams: { + "param1": "param1Value", + "param2": "param2Value", + }, + headers: { + "header1": "header1Value", + "header2": "header2Value", + }, + dataRecord: { + "event": {}, + "title": {}, + "start": {}, + "end": {}, + "status": {}, + }, + }, + status: 400, + message: "Example error message.", + request: { + "operation": "PUT", + "headers": { + "header1": "header1Value", + "header2": "header2Value", + }, + "queryParams": { + "param1": "param1Value", + "param2": "param2Value", + }, + }, + id: 1234, + job: { + id: "766d1986-9aaa-454f-86f5-d605c45b3131", + }, + failed: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `data` | [components.BulkResultBulkDataProperty](../../models/components/bulkresultbulkdataproperty.md) | :heavy_check_mark: | The response data for the bulk operation. | | +| `status` | *number* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | +| `message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | +| `request` | Record | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
    "operation": "PUT",
    "headers": {
    "header1": "header1Value",
    "header2": "header2Value"
    },
    "queryParams": {
    "param1": "param1Value",
    "param2": "param2Value"
    }
    } | +| `id` | *number* | :heavy_minus_sign: | The bulk result identifier. | 1234 | +| `job` | [components.Job](../../models/components/job.md) | :heavy_minus_sign: | Unique identifier of the bulk job linked to this result. | {
    "id": "766d1986-9aaa-454f-86f5-d605c45b3131"
    } | +| `failed` | *boolean* | :heavy_minus_sign: | A `true` value indicates the target operation returned an HTTP error status code.

    **Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be `false` even when individual items within the response body indicate failure. For such operations, inspect the `data` field to determine which items succeeded or failed. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkresultbulkdataproperty.md b/packages/typescript/docs/models/components/bulkresultbulkdataproperty.md new file mode 100644 index 000000000..07160fa28 --- /dev/null +++ b/packages/typescript/docs/models/components/bulkresultbulkdataproperty.md @@ -0,0 +1,39 @@ +# BulkResultBulkDataProperty + +The response data for the bulk operation. + +## Example Usage + +```typescript +import { BulkResultBulkDataProperty } from "@cvent/sdk/models/components"; + +let value: BulkResultBulkDataProperty = { + pathParams: { + "id": "11111111-0dc3-487b-953e-86d6abbdf7d3", + }, + queryParams: { + "param1": "param1Value", + "param2": "param2Value", + }, + headers: { + "header1": "header1Value", + "header2": "header2Value", + }, + dataRecord: { + "event": {}, + "title": {}, + "start": {}, + "end": {}, + "status": {}, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `pathParams` | Record | :heavy_minus_sign: | Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. | {
    "id": "11111111-0dc3-487b-953e-86d6abbdf7d3"
    } | +| `queryParams` | Record | :heavy_minus_sign: | Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. | {
    "param1": "param1Value",
    "param2": "param2Value"
    } | +| `headers` | Record | :heavy_minus_sign: | Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. | {
    "header1": "header1Value",
    "header2": "header2Value"
    } | +| `dataRecord` | Record | :heavy_check_mark: | Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. | {
    "event": {
    "id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"
    },
    "title": "Day 1 Keynote Session",
    "start": "2020-02-03T13:00:00.000Z",
    "end": "2020-02-07T17:00:00.000Z",
    "status": "Active"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkresultjson.md b/packages/typescript/docs/models/components/bulkresultjson.md deleted file mode 100644 index 362bfc8e1..000000000 --- a/packages/typescript/docs/models/components/bulkresultjson.md +++ /dev/null @@ -1,62 +0,0 @@ -# BulkResultJson - -This entity is used to represent a single item that is returned as part of a Bulk Job Result call. - -## Example Usage - -```typescript -import { BulkResultJson } from "@cvent/sdk/models/components"; - -let value: BulkResultJson = { - data: { - pathParams: { - "id": "11111111-0dc3-487b-953e-86d6abbdf7d3", - }, - queryParams: { - "param1": "param1Value", - "param2": "param2Value", - }, - headers: { - "header1": "header1Value", - "header2": "header2Value", - }, - dataRecord: { - "event": {}, - "title": {}, - "start": {}, - "end": {}, - "status": {}, - }, - }, - status: 400, - message: "Example error message.", - request: { - "operation": "PUT", - "headers": { - "header1": "header1Value", - "header2": "header2Value", - }, - "queryParams": { - "param1": "param1Value", - "param2": "param2Value", - }, - }, - id: 1234, - job: { - id: "766d1986-9aaa-454f-86f5-d605c45b3131", - }, - failed: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [components.BulkDataProperty](../../models/components/bulkdataproperty.md) | :heavy_check_mark: | The response data for the bulk operation. | | -| `status` | *number* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | -| `message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | -| `request` | Record | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
    "operation": "PUT",
    "headers": {
    "header1": "header1Value",
    "header2": "header2Value"
    },
    "queryParams": {
    "param1": "param1Value",
    "param2": "param2Value"
    }
    } | -| `id` | *number* | :heavy_minus_sign: | The bulk result identifier. | 1234 | -| `job` | [components.Job](../../models/components/job.md) | :heavy_minus_sign: | Unique identifier of the bulk job linked to this result. | {
    "id": "766d1986-9aaa-454f-86f5-d605c45b3131"
    } | -| `failed` | *boolean* | :heavy_minus_sign: | Indicator that specifies if the bulk result failed. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bulkresultspaginatedresponse.md b/packages/typescript/docs/models/components/bulkresultspaginatedresponse.md index a8eb182db..05b4f06d4 100644 --- a/packages/typescript/docs/models/components/bulkresultspaginatedresponse.md +++ b/packages/typescript/docs/models/components/bulkresultspaginatedresponse.md @@ -33,7 +33,7 @@ let value: BulkResultsPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.BulkResultJson](../../models/components/bulkresultjson.md)[] | :heavy_check_mark: | Collection of bulk result objects. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.BulkResult](../../models/components/bulkresult.md)[] | :heavy_check_mark: | Collection of bulk result objects. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/capacities.md b/packages/typescript/docs/models/components/capacities.md new file mode 100644 index 000000000..30762c855 --- /dev/null +++ b/packages/typescript/docs/models/components/capacities.md @@ -0,0 +1,26 @@ +# Capacities + +Capacity information for the meeting room, grouped by category. + +## Example Usage + +```typescript +import { Capacities } from "@cvent/sdk/models/components"; + +let value: Capacities = { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: null, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `exhibits` | [components.MeetingRoomExhibitCapacity](../../models/components/meetingroomexhibitcapacity.md)[] | :heavy_minus_sign: | Maximum number of exhibits per room setup. | +| `seating` | [components.MeetingRoomSeatingCapacity](../../models/components/meetingroomseatingcapacity.md)[] | :heavy_minus_sign: | Maximum number of attendees per seating style. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/cardtransactionjson.md b/packages/typescript/docs/models/components/cardtransactionjson.md index 46658a613..939fd60a6 100644 --- a/packages/typescript/docs/models/components/cardtransactionjson.md +++ b/packages/typescript/docs/models/components/cardtransactionjson.md @@ -57,5 +57,5 @@ let value: CardTransactionJson = { | `currency` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code used of transaction currency. | USD | | `merchant` | *string* | :heavy_minus_sign: | Merchant name. | Test Merchant | | `reconciliation` | [components.TransactionReconciliation](../../models/components/transactionreconciliation.md) | :heavy_minus_sign: | N/A | | -| `reconciliations` | [components.ZeroAllOf6](../../models/components/zeroallof6.md)[] | :heavy_minus_sign: | The list of reconciled item. | | +| `reconciliations` | [components.ZeroAllOf4](../../models/components/zeroallof4.md)[] | :heavy_minus_sign: | The list of reconciled item. | | | `descriptions` | *string*[] | :heavy_minus_sign: | The list of transaction description. | [
    "Electricity bill",
    "Event ticket",
    "Miscellaneous charge",
    "Purchase car",
    "Accommodation charge"
    ] | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/chainscale.md b/packages/typescript/docs/models/components/chainscale.md new file mode 100644 index 000000000..6620aab8f --- /dev/null +++ b/packages/typescript/docs/models/components/chainscale.md @@ -0,0 +1,29 @@ +# ChainScale + +A market segment classification of a venue chain based on Average Daily Rate and other factors. + +Values: +- `BLANK` — Blank +- `ECONOMYCHAINS` — Economy Chains +- `INDEPENDENTS` — Independents +- `LUXURY_CHAINS` — Luxury Chains +- `MIDSCALE_CHAINS` — Midscale Chains +- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains +- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains +- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains +- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains +- `UPSCALE_CHAINS` — Upscale Chains + +## Example Usage + +```typescript +import { ChainScale } from "@cvent/sdk/models/components"; + +let value: ChainScale = "UPSCALE_CHAINS"; +``` + +## Values + +```typescript +"BLANK" | "ECONOMYCHAINS" | "INDEPENDENTS" | "LUXURY_CHAINS" | "MIDSCALE_CHAINS" | "MIDSCALE_WITH_FB_CHAINS" | "MIDSCALE_WITHOUT_FB_CHAINS" | "UPPER_MIDSCALE_CHAINS" | "UPPER_UPSCALE_CHAINS" | "UPSCALE_CHAINS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compositevalue.md b/packages/typescript/docs/models/components/compositevalue.md new file mode 100644 index 000000000..fa76e2d92 --- /dev/null +++ b/packages/typescript/docs/models/components/compositevalue.md @@ -0,0 +1,47 @@ +# CompositeValue + +The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. + +The structure of the array depends on the question `type`. + + +## Supported Types + +### `components.MeetingRoomRequirement[]` + +```typescript +const value: components.MeetingRoomRequirement[] = []; +``` + +### `components.SleepingRoomRequirement[]` + +```typescript +const value: components.SleepingRoomRequirement[] = []; +``` + +### `components.BudgetEstimate[]` + +```typescript +const value: components.BudgetEstimate[] = [ + { + currency: "USD", + costType: "FIXED", + costDetail: [ + { + category: { + id: 3, + name: "Travel", + }, + subCategory: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "utilities", + }, + units: 5.2, + cost: 100.5, + totalCost: 100.5, + }, + ], + }, +]; +``` + diff --git a/packages/typescript/docs/models/components/compositevaluejson.md b/packages/typescript/docs/models/components/compositevaluejson.md deleted file mode 100644 index e1f2c5e98..000000000 --- a/packages/typescript/docs/models/components/compositevaluejson.md +++ /dev/null @@ -1,27 +0,0 @@ -# CompositeValueJson - -The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. - -The structure of the array depends on the question `type`. - - -## Supported Types - -### `components.MeetingRoomRequirementJson[]` - -```typescript -const value: components.MeetingRoomRequirementJson[] = []; -``` - -### `components.SleepingRoomRequirementJson[]` - -```typescript -const value: components.SleepingRoomRequirementJson[] = []; -``` - -### `components.BudgetEstimateJson[]` - -```typescript -const value: components.BudgetEstimateJson[] = []; -``` - diff --git a/packages/typescript/docs/models/components/contactcommonjson.md b/packages/typescript/docs/models/components/contactcommonjson.md deleted file mode 100644 index 67702155e..000000000 --- a/packages/typescript/docs/models/components/contactcommonjson.md +++ /dev/null @@ -1,24 +0,0 @@ -# ContactCommonJson - -Details of a contact. - -## Example Usage - -```typescript -import { ContactCommonJson } from "@cvent/sdk/models/components"; - -let value: ContactCommonJson = { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Contact ID | | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactfields.md b/packages/typescript/docs/models/components/contactfields.md deleted file mode 100644 index 768ab5339..000000000 --- a/packages/typescript/docs/models/components/contactfields.md +++ /dev/null @@ -1,29 +0,0 @@ -# ContactFields - -An array of standard contact fields supported by Cvent. - -## Example Usage - -```typescript -import { ContactFields } from "@cvent/sdk/models/components"; - -let value: ContactFields = { - data: [ - { - id: "2bdf796c-be98-454b-b8cc-0b63abf4b300", - name: "Email Address", - maximumLength: 80, - type: "String", - value: [ - "johndoe@cvent.com", - ], - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `data` | [components.ContactFieldJson](../../models/components/contactfieldjson.md)[] | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactfields1.md b/packages/typescript/docs/models/components/contactfields1.md new file mode 100644 index 000000000..108760ec9 --- /dev/null +++ b/packages/typescript/docs/models/components/contactfields1.md @@ -0,0 +1,24 @@ +# ContactFields1 + +Details of a contact. + +## Example Usage + +```typescript +import { ContactFields1 } from "@cvent/sdk/models/components"; + +let value: ContactFields1 = { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Contact ID | | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactfields2.md b/packages/typescript/docs/models/components/contactfields2.md new file mode 100644 index 000000000..ae940d312 --- /dev/null +++ b/packages/typescript/docs/models/components/contactfields2.md @@ -0,0 +1,19 @@ +# ContactFields2 + +An array of standard contact fields supported by Cvent. + +## Example Usage + +```typescript +import { ContactFields2 } from "@cvent/sdk/models/components"; + +let value: ContactFields2 = { + data: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `data` | [components.ContactFieldJson](../../models/components/contactfieldjson.md)[] | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/country.md b/packages/typescript/docs/models/components/country.md new file mode 100644 index 000000000..43a59ac90 --- /dev/null +++ b/packages/typescript/docs/models/components/country.md @@ -0,0 +1,17 @@ +# Country + +ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + +## Example Usage + +```typescript +import { Country } from "@cvent/sdk/models/components"; + +let value: Country = "NU"; +``` + +## Values + +```typescript +"BLANK" | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AN" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GB_1" | "GB_2" | "GB_3" | "GB_4" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KO" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TP" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/currency.md b/packages/typescript/docs/models/components/currency.md new file mode 100644 index 000000000..93d8dada2 --- /dev/null +++ b/packages/typescript/docs/models/components/currency.md @@ -0,0 +1,17 @@ +# Currency + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```typescript +import { Currency } from "@cvent/sdk/models/components"; + +let value: Currency = "BHD"; +``` + +## Values + +```typescript +"USD" | "CAD" | "AUD" | "EUR" | "GBP" | "HKD" | "NZD" | "AED" | "NOK" | "INR" | "MXN" | "SEK" | "DKK" | "MYR" | "JPY" | "SGD" | "THB" | "IDR" | "KRW" | "CNY" | "TWD" | "RUB" | "CHF" | "CZK" | "HUF" | "QAR" | "ZAR" | "RON" | "HRK" | "TRY" | "BRL" | "PHP" | "SAR" | "PLN" | "ARS" | "AWG" | "AZN" | "BSD" | "BBD" | "BMD" | "CLP" | "COP" | "CRC" | "DOP" | "XCD" | "ILS" | "JMD" | "LVL" | "LTL" | "MDL" | "ANG" | "OMR" | "TTD" | "UAH" | "UYU" | "RSD" | "AFN" | "AMD" | "AOA" | "BAM" | "BDT" | "BGN" | "BHD" | "BOB" | "DZD" | "EEK" | "EGP" | "FJD" | "GTQ" | "HNL" | "ISK" | "JOD" | "KYD" | "KZT" | "LBP" | "MAD" | "NGN" | "NIO" | "ESP" | "FRF" | "PAB" | "PEN" | "PKR" | "PYG" | "SVC" | "SYP" | "VEF" | "VND" | "XPF" | "GYD" | "MOP" | "PGK" | "XOF" | "XAF" | "BZD" | "BYR" | "BWP" | "BND" | "BIF" | "KHR" | "CVE" | "KMF" | "CDF" | "DJF" | "ERN" | "FKP" | "GMD" | "GEL" | "GHS" | "GIP" | "GNF" | "HTG" | "KES" | "KWD" | "KGS" | "LAK" | "LRD" | "MKD" | "MGA" | "MWK" | "MVR" | "MRO" | "MUR" | "MNT" | "MZN" | "MMK" | "NAD" | "NPR" | "RWF" | "SHP" | "WST" | "STD" | "SLL" | "SBD" | "SOS" | "LKR" | "SRD" | "SZL" | "TOP" | "TND" | "UGX" | "UZS" | "VUV" | "YER" | "ZMK" | "ZWD" | "SR" | "ETB" | "GH" | "GWP" | "IQD" | "IRR" | "KPW" | "LSL" | "ROL" | "SDG" | "SKK" | "TJS" | "TMT" | "TZS" | "ALL" | "BTN" | "CUP" | "LD" | "SCR" | "ZMW" | "ZWL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldschema.md b/packages/typescript/docs/models/components/customfieldschema.md deleted file mode 100644 index 4dcfd9af6..000000000 --- a/packages/typescript/docs/models/components/customfieldschema.md +++ /dev/null @@ -1,30 +0,0 @@ -# CustomFieldSchema - -A Custom Field - -## Example Usage - -```typescript -import { CustomFieldSchema } from "@cvent/sdk/models/components"; - -let value: CustomFieldSchema = { - id: "85bed263-9676-4d67-a6c8-b3a5bc149cb1", - name: "What is your favorite color?", - value: [ - "Choice C", - "Choice A", - ], - order: 1, - type: "MultiSelect", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
    "Choice C",
    "Choice A"
    ] | -| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `type` | [components.CustomFieldSchemaCustomFieldType](../../models/components/customfieldschemacustomfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldschema1.md b/packages/typescript/docs/models/components/customfieldschema1.md new file mode 100644 index 000000000..70dbd5be2 --- /dev/null +++ b/packages/typescript/docs/models/components/customfieldschema1.md @@ -0,0 +1,30 @@ +# CustomFieldSchema1 + +A Custom Field + +## Example Usage + +```typescript +import { CustomFieldSchema1 } from "@cvent/sdk/models/components"; + +let value: CustomFieldSchema1 = { + id: "5fa68fb7-2fb7-4c1b-bdf9-cfd270206165", + name: "What is your favorite color?", + value: [ + "Choice C", + "Choice A", + ], + order: 1, + type: "MultiSelect", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
    "Choice C",
    "Choice A"
    ] | +| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `type` | [components.CustomFieldSchemaCustomFieldType](../../models/components/customfieldschemacustomfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldschema2.md b/packages/typescript/docs/models/components/customfieldschema2.md new file mode 100644 index 000000000..16ce43ff3 --- /dev/null +++ b/packages/typescript/docs/models/components/customfieldschema2.md @@ -0,0 +1,54 @@ +# CustomFieldSchema2 + +Custom field for a meeting request. + +## Example Usage + +```typescript +import { CustomFieldSchema2 } from "@cvent/sdk/models/components"; + +let value: CustomFieldSchema2 = { + id: "310becf1-fcf6-4cb3-b517-475ff86bf101", + name: "What is your favorite color?", + value: [ + "Choice C", + "Choice A", + ], + order: 1, + type: "MultiSelect", + field: true, + fieldName: "Event Theme Color", + hidden: false, + required: true, + minLength: 0, + maxLength: 100, + minChoice: 0, + maxChoice: 10, + minDate: "1970-12-23", + maxDate: "2100-12-31", + answerTypes: [ + "Other", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *string* | :heavy_minus_sign: | The displayed field name which can be customized. | What is your favorite color? | +| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
    "Choice C",
    "Choice A"
    ] | +| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `type` | [components.CustomFieldSchemaCustomFieldType](../../models/components/customfieldschemacustomfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | +| `field` | *boolean* | :heavy_minus_sign: | True indicates the question is of the field type. | true | +| `fieldName` | *string* | :heavy_minus_sign: | The fixed field name. | Event Theme Color | +| `hidden` | *boolean* | :heavy_minus_sign: | True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. | false | +| `required` | *boolean* | :heavy_minus_sign: | True indicates the given question must be answered. | true | +| `minLength` | *number* | :heavy_minus_sign: | The minimum length of a text field. | 0 | +| `maxLength` | *number* | :heavy_minus_sign: | The maximum length of a text field. | 100 | +| `minChoice` | *number* | :heavy_minus_sign: | The minimum number of choices required for a multi-choice field. | 0 | +| `maxChoice` | *number* | :heavy_minus_sign: | The maximum number of choices allowed for a multi-choice field. | 10 | +| `minDate` | *string* | :heavy_minus_sign: | The ISO 8601 minimum date value for a date field. | 1970-12-23 | +| `maxDate` | *string* | :heavy_minus_sign: | The ISO 8601 maximum date value for a date field. | 2100-12-31 | +| `answerTypes` | [components.AnswerType12](../../models/components/answertype12.md)[] | :heavy_minus_sign: | List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/dimension.md b/packages/typescript/docs/models/components/dimension.md new file mode 100644 index 000000000..a26f2ac7a --- /dev/null +++ b/packages/typescript/docs/models/components/dimension.md @@ -0,0 +1,21 @@ +# Dimension + +A dimension measurement in feet or meters. + +## Example Usage + +```typescript +import { Dimension } from "@cvent/sdk/models/components"; + +let value: Dimension = { + value: 12.5, + unit: "FEET", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | The numeric value of the dimension. | 12.5 | +| `unit` | [components.DimensionUnit](../../models/components/dimensionunit.md) | :heavy_check_mark: | The unit of measurement for the dimension. | FEET | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/dimensionunit.md b/packages/typescript/docs/models/components/dimensionunit.md new file mode 100644 index 000000000..8e54ad826 --- /dev/null +++ b/packages/typescript/docs/models/components/dimensionunit.md @@ -0,0 +1,17 @@ +# DimensionUnit + +The unit of measurement for the dimension. + +## Example Usage + +```typescript +import { DimensionUnit } from "@cvent/sdk/models/components"; + +let value: DimensionUnit = "FEET"; +``` + +## Values + +```typescript +"FEET" | "METERS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distancemeasurementunit.md b/packages/typescript/docs/models/components/distancemeasurementunit.md new file mode 100644 index 000000000..ea728b2ce --- /dev/null +++ b/packages/typescript/docs/models/components/distancemeasurementunit.md @@ -0,0 +1,21 @@ +# DistanceMeasurementUnit + +Unit of measurement for distance. + +Values: +- `MILES` — Miles +- `KILOMETERS` — Kilometers + +## Example Usage + +```typescript +import { DistanceMeasurementUnit } from "@cvent/sdk/models/components"; + +let value: DistanceMeasurementUnit = "KILOMETERS"; +``` + +## Values + +```typescript +"MILES" | "KILOMETERS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailbounced.md b/packages/typescript/docs/models/components/emailbounced.md index 97ba48de0..5b2a5abbe 100644 --- a/packages/typescript/docs/models/components/emailbounced.md +++ b/packages/typescript/docs/models/components/emailbounced.md @@ -27,7 +27,7 @@ let value: EmailBounced = { | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `type` | *string* | :heavy_minus_sign: | Type of the email. | Invitation Reminder | | `reason` | *string* | :heavy_minus_sign: | Reason for the bounced email. | 5.x.x - delivery error | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | | | `bounced` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when an email bounced. | 2020-02-03T13:00:00.000Z | | `smtpCode` | *number* | :heavy_minus_sign: | The Simple Mail Transfer Protocol (SMTP) response status code. | 500 | | `dsnDiagnostic` | *string* | :heavy_minus_sign: | Delivery Status Notification diagnostic details. | smtp;500 ESS - global exclusion | diff --git a/packages/typescript/docs/models/components/emailundelivered.md b/packages/typescript/docs/models/components/emailundelivered.md index 70f6d670b..9933b2026 100644 --- a/packages/typescript/docs/models/components/emailundelivered.md +++ b/packages/typescript/docs/models/components/emailundelivered.md @@ -23,5 +23,5 @@ let value: EmailUndelivered = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `type` | *string* | :heavy_minus_sign: | Type of the email. | Invitation Reminder | -| `contact` | [components.ActivityContactJson](../../models/components/activitycontactjson.md) | :heavy_minus_sign: | An activity contact. | | +| `contact` | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | An activity contact. | | | `undelivered` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when an email was undelivered. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/errorresponse.md b/packages/typescript/docs/models/components/errorresponse.md index 8191d6ebf..333231856 100644 --- a/packages/typescript/docs/models/components/errorresponse.md +++ b/packages/typescript/docs/models/components/errorresponse.md @@ -28,4 +28,4 @@ let value: ErrorResponse = { | `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 +| `details` | [components.ZeroAllOf3](../../models/components/zeroallof3.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventactivitydetail.md b/packages/typescript/docs/models/components/eventactivitydetail.md new file mode 100644 index 000000000..f04a43807 --- /dev/null +++ b/packages/typescript/docs/models/components/eventactivitydetail.md @@ -0,0 +1,25 @@ +# EventActivityDetail + +Details for an event activity. + +## Example Usage + +```typescript +import { EventActivityDetail } from "@cvent/sdk/models/components"; + +let value: EventActivityDetail = { + id: "d84855b0-eeda-41c4-8e7a-53e80364cb95", + title: "Cvent Connect 2020", + code: "XRNGB4YY3CX", + timezone: "America/New_York", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | +| `title` | *string* | :heavy_minus_sign: | The title of the event. | Cvent Connect 2020 | +| `code` | *string* | :heavy_minus_sign: | The code of the event. | XRNGB4YY3CX | +| `timezone` | *string* | :heavy_minus_sign: | The timezone of the event. | America/New_York | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventactivitydetailinput.md b/packages/typescript/docs/models/components/eventactivitydetailinput.md new file mode 100644 index 000000000..b7cd31989 --- /dev/null +++ b/packages/typescript/docs/models/components/eventactivitydetailinput.md @@ -0,0 +1,19 @@ +# EventActivityDetailInput + +Details for an event activity. + +## Example Usage + +```typescript +import { EventActivityDetailInput } from "@cvent/sdk/models/components"; + +let value: EventActivityDetailInput = { + id: "d84855b0-eeda-41c4-8e7a-53e80364cb95", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventactivitydetailsjson.md b/packages/typescript/docs/models/components/eventactivitydetailsjson.md deleted file mode 100644 index a72d78e13..000000000 --- a/packages/typescript/docs/models/components/eventactivitydetailsjson.md +++ /dev/null @@ -1,25 +0,0 @@ -# EventActivityDetailsJson - -Details for an event activity. - -## Example Usage - -```typescript -import { EventActivityDetailsJson } from "@cvent/sdk/models/components"; - -let value: EventActivityDetailsJson = { - id: "d84855b0-eeda-41c4-8e7a-53e80364cb95", - title: "Cvent Connect 2020", - code: "XRNGB4YY3CX", - timezone: "America/New_York", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | -| `title` | *string* | :heavy_minus_sign: | The title of the event. | Cvent Connect 2020 | -| `code` | *string* | :heavy_minus_sign: | The code of the event. | XRNGB4YY3CX | -| `timezone` | *string* | :heavy_minus_sign: | The timezone of the event. | America/New_York | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventactivitydetailsjsoninput.md b/packages/typescript/docs/models/components/eventactivitydetailsjsoninput.md deleted file mode 100644 index a55850517..000000000 --- a/packages/typescript/docs/models/components/eventactivitydetailsjsoninput.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventActivityDetailsJsonInput - -Details for an event activity. - -## Example Usage - -```typescript -import { EventActivityDetailsJsonInput } from "@cvent/sdk/models/components"; - -let value: EventActivityDetailsJsonInput = { - id: "d84855b0-eeda-41c4-8e7a-53e80364cb95", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The identifier of the event. | d84855b0-eeda-41c4-8e7a-53e80364cb95 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventadclicked.md b/packages/typescript/docs/models/components/eventadclicked.md index 060ad79f7..a9c1fd028 100644 --- a/packages/typescript/docs/models/components/eventadclicked.md +++ b/packages/typescript/docs/models/components/eventadclicked.md @@ -23,8 +23,8 @@ let value: EventAdClicked = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent11](../../models/components/activitydatajsonevent11.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | -| `ad` | [components.ActivityAdJson](../../models/components/activityadjson.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [components.ActivityDataEvent8](../../models/components/activitydataevent8.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | +| `ad` | [components.ActivityAd](../../models/components/activityad.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventadviewed.md b/packages/typescript/docs/models/components/eventadviewed.md index a3e13f892..387fc1644 100644 --- a/packages/typescript/docs/models/components/eventadviewed.md +++ b/packages/typescript/docs/models/components/eventadviewed.md @@ -23,8 +23,8 @@ let value: EventAdViewed = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent10](../../models/components/activitydatajsonevent10.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | -| `ad` | [components.ActivityAdJson](../../models/components/activityadjson.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [components.ActivityDataEvent7](../../models/components/activitydataevent7.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | UserPlatform | +| `ad` | [components.ActivityAd](../../models/components/activityad.md) | :heavy_minus_sign: | The details of the advertisement. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventattendeesubstituted.md b/packages/typescript/docs/models/components/eventattendeesubstituted.md index edca8786c..af154ef6e 100644 --- a/packages/typescript/docs/models/components/eventattendeesubstituted.md +++ b/packages/typescript/docs/models/components/eventattendeesubstituted.md @@ -23,8 +23,8 @@ let value: EventAttendeeSubstituted = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent1](../../models/components/activitydatajsonevent1.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `oldContact` | [components.ContactCommonJson](../../models/components/contactcommonjson.md) | :heavy_minus_sign: | Details of a contact. | -| `newContact` | [components.ContactCommonJson](../../models/components/contactcommonjson.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `event` | [components.EventAttendeeSubstitutedEvent](../../models/components/eventattendeesubstitutedevent.md) | :heavy_minus_sign: | The event in which this activity occurred. | +| `oldContact` | [components.ContactFields1](../../models/components/contactfields1.md) | :heavy_minus_sign: | Details of a contact. | +| `newContact` | [components.ContactFields1](../../models/components/contactfields1.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventattendeesubstitutedevent.md b/packages/typescript/docs/models/components/eventattendeesubstitutedevent.md new file mode 100644 index 000000000..c4a7be377 --- /dev/null +++ b/packages/typescript/docs/models/components/eventattendeesubstitutedevent.md @@ -0,0 +1,17 @@ +# EventAttendeeSubstitutedEvent + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { EventAttendeeSubstitutedEvent } from "@cvent/sdk/models/components"; + +let value: EventAttendeeSubstitutedEvent = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventbannerlinkclicked.md b/packages/typescript/docs/models/components/eventbannerlinkclicked.md index 61c95c4e9..263dca031 100644 --- a/packages/typescript/docs/models/components/eventbannerlinkclicked.md +++ b/packages/typescript/docs/models/components/eventbannerlinkclicked.md @@ -23,9 +23,9 @@ let value: EventBannerLinkClicked = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `exhibitor` | [components.ExhibitorJson](../../models/components/exhibitorjson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `banner` | [components.Banner](../../models/components/banner.md) | :heavy_minus_sign: | The related banner | | -| `target` | [components.BannerLinkTargetJson](../../models/components/bannerlinktargetjson.md) | :heavy_minus_sign: | The target of the link clicked on the banner. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `exhibitor` | [components.Exhibitor1](../../models/components/exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `banner` | [components.Banner](../../models/components/banner.md) | :heavy_minus_sign: | The related banner | | +| `target` | [components.BannerLinkTarget](../../models/components/bannerlinktarget.md) | :heavy_minus_sign: | The target of the link clicked on the banner. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventcheckedin.md b/packages/typescript/docs/models/components/eventcheckedin.md index 371174a75..774b0c4ea 100644 --- a/packages/typescript/docs/models/components/eventcheckedin.md +++ b/packages/typescript/docs/models/components/eventcheckedin.md @@ -16,5 +16,5 @@ let value: EventCheckedIn = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent2](../../models/components/activitydatajsonevent2.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `event` | [components.ActivityDataEvent1](../../models/components/activitydataevent1.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `checkedIn` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked in to an event. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventcheckedout.md b/packages/typescript/docs/models/components/eventcheckedout.md index 5d8d19f31..b1cb41d34 100644 --- a/packages/typescript/docs/models/components/eventcheckedout.md +++ b/packages/typescript/docs/models/components/eventcheckedout.md @@ -16,5 +16,5 @@ let value: EventCheckedOut = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent3](../../models/components/activitydatajsonevent3.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `event` | [components.ActivityDataEvent2](../../models/components/activitydataevent2.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `checkOut` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when an attendee checked out from an event. | 2020-02-03T13:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventfeedbacksubmitted.md b/packages/typescript/docs/models/components/eventfeedbacksubmitted.md index b9f0eedb1..45ede8d30 100644 --- a/packages/typescript/docs/models/components/eventfeedbacksubmitted.md +++ b/packages/typescript/docs/models/components/eventfeedbacksubmitted.md @@ -31,7 +31,7 @@ let value: EventFeedbackSubmitted = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent4](../../models/components/activitydatajsonevent4.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `survey` | [components.SurveyResponseJson](../../models/components/surveyresponsejson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `event` | [components.EventFeedbackSubmittedEvent](../../models/components/eventfeedbacksubmittedevent.md) | :heavy_minus_sign: | The event in which this activity occurred. | +| `survey` | [components.SurveyResponse](../../models/components/surveyresponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventfeedbacksubmittedevent.md b/packages/typescript/docs/models/components/eventfeedbacksubmittedevent.md new file mode 100644 index 000000000..e1966d4fe --- /dev/null +++ b/packages/typescript/docs/models/components/eventfeedbacksubmittedevent.md @@ -0,0 +1,17 @@ +# EventFeedbackSubmittedEvent + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { EventFeedbackSubmittedEvent } from "@cvent/sdk/models/components"; + +let value: EventFeedbackSubmittedEvent = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventinsurance.md b/packages/typescript/docs/models/components/eventinsurance.md new file mode 100644 index 000000000..db1ad888f --- /dev/null +++ b/packages/typescript/docs/models/components/eventinsurance.md @@ -0,0 +1,23 @@ +# EventInsurance + +Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +Values: +- `BLANK` — Indicates no selection, leaves the field blank +- `REQUIRED` — Required +- `MAY_BE_REQUIRED` — May Be Required +- `NOT_REQUIRED` — Not Required + +## Example Usage + +```typescript +import { EventInsurance } from "@cvent/sdk/models/components"; + +let value: EventInsurance = "REQUIRED"; +``` + +## Values + +```typescript +"BLANK" | "REQUIRED" | "MAY_BE_REQUIRED" | "NOT_REQUIRED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventnoshow.md b/packages/typescript/docs/models/components/eventnoshow.md index 16eaedad4..a3e133dab 100644 --- a/packages/typescript/docs/models/components/eventnoshow.md +++ b/packages/typescript/docs/models/components/eventnoshow.md @@ -12,6 +12,6 @@ let value: EventNoShow = {}; ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent5](../../models/components/activitydatajsonevent5.md) | :heavy_minus_sign: | The event in which this activity occurred. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [components.ActivityDataEvent3](../../models/components/activitydataevent3.md) | :heavy_minus_sign: | The event in which this activity occurred. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventpagevisittracked.md b/packages/typescript/docs/models/components/eventpagevisittracked.md index 23265bfa9..22ae20584 100644 --- a/packages/typescript/docs/models/components/eventpagevisittracked.md +++ b/packages/typescript/docs/models/components/eventpagevisittracked.md @@ -25,7 +25,7 @@ let value: EventPageVisitTracked = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent6](../../models/components/activitydatajsonevent6.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `event` | [components.EventPageVisitTrackedEvent](../../models/components/eventpagevisittrackedevent.md) | :heavy_minus_sign: | The event in which this activity occurred. | | | `source` | *string* | :heavy_minus_sign: | Identifies which site sent the traffic. | twitter | | `medium` | *string* | :heavy_minus_sign: | Identifies what type of link was used, such as cost per click or email. | social | | `campaign` | *string* | :heavy_minus_sign: | Identifies a specific product promotion or strategic campaign. | sale | diff --git a/packages/typescript/docs/models/components/eventpagevisittrackedevent.md b/packages/typescript/docs/models/components/eventpagevisittrackedevent.md new file mode 100644 index 000000000..bd76723ca --- /dev/null +++ b/packages/typescript/docs/models/components/eventpagevisittrackedevent.md @@ -0,0 +1,17 @@ +# EventPageVisitTrackedEvent + +The event in which this activity occurred. + +## Example Usage + +```typescript +import { EventPageVisitTrackedEvent } from "@cvent/sdk/models/components"; + +let value: EventPageVisitTrackedEvent = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | Event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventquestionjson.md b/packages/typescript/docs/models/components/eventquestionjson.md index 1d96f779a..834700b90 100644 --- a/packages/typescript/docs/models/components/eventquestionjson.md +++ b/packages/typescript/docs/models/components/eventquestionjson.md @@ -44,5 +44,5 @@ let value: EventQuestionJson = { | `tag` | *string* | :heavy_minus_sign: | Tag of the question. It allows comparison of similar questions across multiple events. | All Admission Items | | `session` | [components.EventQuestionJsonSession](../../models/components/eventquestionjsonsession.md) | :heavy_minus_sign: | Represents the session associated to the question, if any. Blank if no session is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | | `admissionItem` | [components.EventQuestionJsonAdmissionItem](../../models/components/eventquestionjsonadmissionitem.md) | :heavy_minus_sign: | Represents the admission item associated to the question, if any. Blank if no admission item is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | -| `type` | [components.QuestionTypeJson2](../../models/components/questiontypejson2.md) | :heavy_minus_sign: | This object represents the type of a question | | +| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | This object represents the type of a question | | | `internalNote` | *string* | :heavy_minus_sign: | Optional description to provide additional context of the question. | This question is for the event registration form. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventregistered.md b/packages/typescript/docs/models/components/eventregistered.md index bf0fa643b..544669658 100644 --- a/packages/typescript/docs/models/components/eventregistered.md +++ b/packages/typescript/docs/models/components/eventregistered.md @@ -14,7 +14,7 @@ let value: EventRegistered = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent7](../../models/components/activitydatajsonevent7.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `status` | [components.AttendeeStatusJson](../../models/components/attendeestatusjson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [components.ActivityDataEvent4](../../models/components/activitydataevent4.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `status` | [components.AttendeeStatus](../../models/components/attendeestatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventregistrationabandoned.md b/packages/typescript/docs/models/components/eventregistrationabandoned.md index fe3f39a4b..5c49c45a8 100644 --- a/packages/typescript/docs/models/components/eventregistrationabandoned.md +++ b/packages/typescript/docs/models/components/eventregistrationabandoned.md @@ -19,4 +19,4 @@ let value: EventRegistrationAbandoned = { | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | `lastSavedRegistrationPageName` | *string* | :heavy_minus_sign: | The last page where an invitee left during the registration. | Personal Information | | `lastActivity` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when an invitee left the registration process. | 2020-02-03T13:00:00.000Z | -| ~~`contact`~~ | [components.ActivityContact](../../models/components/activitycontact.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Related contact. | | \ No newline at end of file +| ~~`contact`~~ | [components.EventRegistrationAbandonedActivityContact](../../models/components/eventregistrationabandonedactivitycontact.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Related contact. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventregistrationabandonedactivitycontact.md b/packages/typescript/docs/models/components/eventregistrationabandonedactivitycontact.md new file mode 100644 index 000000000..358afea48 --- /dev/null +++ b/packages/typescript/docs/models/components/eventregistrationabandonedactivitycontact.md @@ -0,0 +1,25 @@ +# ~~EventRegistrationAbandonedActivityContact~~ + +Related contact. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + +## Example Usage + +```typescript +import { EventRegistrationAbandonedActivityContact } from "@cvent/sdk/models/components"; + +let value: EventRegistrationAbandonedActivityContact = { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the attendee. | Henry | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the attendee. | Potterfield | +| `email` | *string* | :heavy_minus_sign: | The email address of the attendee. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventregistrationcancelled.md b/packages/typescript/docs/models/components/eventregistrationcancelled.md index 822ecea36..4228234ec 100644 --- a/packages/typescript/docs/models/components/eventregistrationcancelled.md +++ b/packages/typescript/docs/models/components/eventregistrationcancelled.md @@ -14,7 +14,7 @@ let value: EventRegistrationCancelled = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent8](../../models/components/activitydatajsonevent8.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `status` | [components.AttendeeStatusJson](../../models/components/attendeestatusjson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [components.ActivityDataEvent5](../../models/components/activitydataevent5.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `status` | [components.AttendeeStatus](../../models/components/attendeestatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventrole.md b/packages/typescript/docs/models/components/eventrole.md new file mode 100644 index 000000000..2b9ec9883 --- /dev/null +++ b/packages/typescript/docs/models/components/eventrole.md @@ -0,0 +1,19 @@ +# EventRole + +An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + +## Example Usage + +```typescript +import { EventRole } from "@cvent/sdk/models/components"; + +let value: EventRole = { + id: "2b1a3bba-84b2-46f4-bddb-4b4a44442dcc", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The ID of the event role. | 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventroleassignment.md b/packages/typescript/docs/models/components/eventroleassignment.md new file mode 100644 index 000000000..395be62c2 --- /dev/null +++ b/packages/typescript/docs/models/components/eventroleassignment.md @@ -0,0 +1,36 @@ +# EventRoleAssignment + +An assignment of an event role to a user for an event. + +## Example Usage + +```typescript +import { EventRoleAssignment } from "@cvent/sdk/models/components"; + +let value: EventRoleAssignment = { + id: + "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95", + event: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + user: { + id: "6807e044-993b-428c-aec8-7316f13c1b95", + }, + eventRole: { + id: "2b1a3bba-84b2-46f4-bddb-4b4a44442dcc", + }, + assigned: new Date("2017-01-02T02:00:00Z"), + assignedBy: "hporter", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 | +| `event` | [components.EventRoleAssignmentEvent](../../models/components/eventroleassignmentevent.md) | :heavy_minus_sign: | The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. | | +| `user` | [components.EventRoleAssignmentUser](../../models/components/eventroleassignmentuser.md) | :heavy_minus_sign: | The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. | | +| `eventRole` | [components.EventRole](../../models/components/eventrole.md) | :heavy_minus_sign: | An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. | | +| `assigned` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date-time when the event role was assigned to the user. | 2017-01-02T02:00:00Z | +| `assignedBy` | *string* | :heavy_minus_sign: | The identifier of the user who assigned the event role. | hporter | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventroleassignmentevent.md b/packages/typescript/docs/models/components/eventroleassignmentevent.md new file mode 100644 index 000000000..fce91c2ad --- /dev/null +++ b/packages/typescript/docs/models/components/eventroleassignmentevent.md @@ -0,0 +1,19 @@ +# EventRoleAssignmentEvent + +The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. + +## Example Usage + +```typescript +import { EventRoleAssignmentEvent } from "@cvent/sdk/models/components"; + +let value: EventRoleAssignmentEvent = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventroleassignmentjson.md b/packages/typescript/docs/models/components/eventroleassignmentjson.md deleted file mode 100644 index 9d95e0c8c..000000000 --- a/packages/typescript/docs/models/components/eventroleassignmentjson.md +++ /dev/null @@ -1,36 +0,0 @@ -# EventRoleAssignmentJson - -An assignment of an event role to a user for an event. - -## Example Usage - -```typescript -import { EventRoleAssignmentJson } from "@cvent/sdk/models/components"; - -let value: EventRoleAssignmentJson = { - id: - "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95", - event: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - user: { - id: "6807e044-993b-428c-aec8-7316f13c1b95", - }, - eventRole: { - id: "2b1a3bba-84b2-46f4-bddb-4b4a44442dcc", - }, - assigned: new Date("2017-01-02T02:00:00Z"), - assignedBy: "hporter", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3::2b1a3bba-84b2-46f4-bddb-4b4a44442dcc::6807e044-993b-428c-aec8-7316f13c1b95 | -| `event` | [components.EventRoleAssignmentJsonEvent](../../models/components/eventroleassignmentjsonevent.md) | :heavy_minus_sign: | The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. | | -| `user` | [components.EventRoleAssignmentJsonUser](../../models/components/eventroleassignmentjsonuser.md) | :heavy_minus_sign: | The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. | | -| `eventRole` | [components.EventRoleJson](../../models/components/eventrolejson.md) | :heavy_minus_sign: | An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. | | -| `assigned` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date-time when the event role was assigned to the user. | 2017-01-02T02:00:00Z | -| `assignedBy` | *string* | :heavy_minus_sign: | The identifier of the user who assigned the event role. | hporter | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventroleassignmentjsonevent.md b/packages/typescript/docs/models/components/eventroleassignmentjsonevent.md deleted file mode 100644 index a8db4699a..000000000 --- a/packages/typescript/docs/models/components/eventroleassignmentjsonevent.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventRoleAssignmentJsonEvent - -The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. - -## Example Usage - -```typescript -import { EventRoleAssignmentJsonEvent } from "@cvent/sdk/models/components"; - -let value: EventRoleAssignmentJsonEvent = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventroleassignmentjsonuser.md b/packages/typescript/docs/models/components/eventroleassignmentjsonuser.md deleted file mode 100644 index a70a4318b..000000000 --- a/packages/typescript/docs/models/components/eventroleassignmentjsonuser.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventRoleAssignmentJsonUser - -The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - -## Example Usage - -```typescript -import { EventRoleAssignmentJsonUser } from "@cvent/sdk/models/components"; - -let value: EventRoleAssignmentJsonUser = { - id: "6807e044-993b-428c-aec8-7316f13c1b95", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the user. | 6807e044-993b-428c-aec8-7316f13c1b95 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventroleassignmentspaginatedresponse.md b/packages/typescript/docs/models/components/eventroleassignmentspaginatedresponse.md index ae26f607a..aed405bf0 100644 --- a/packages/typescript/docs/models/components/eventroleassignmentspaginatedresponse.md +++ b/packages/typescript/docs/models/components/eventroleassignmentspaginatedresponse.md @@ -32,7 +32,7 @@ let value: EventRoleAssignmentsPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.EventRoleAssignmentJson](../../models/components/eventroleassignmentjson.md)[] | :heavy_check_mark: | A collection of event role assignments. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.EventRoleAssignment](../../models/components/eventroleassignment.md)[] | :heavy_check_mark: | A collection of event role assignments. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventroleassignmentuser.md b/packages/typescript/docs/models/components/eventroleassignmentuser.md new file mode 100644 index 000000000..67598f484 --- /dev/null +++ b/packages/typescript/docs/models/components/eventroleassignmentuser.md @@ -0,0 +1,19 @@ +# EventRoleAssignmentUser + +The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + +## Example Usage + +```typescript +import { EventRoleAssignmentUser } from "@cvent/sdk/models/components"; + +let value: EventRoleAssignmentUser = { + id: "6807e044-993b-428c-aec8-7316f13c1b95", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the user. | 6807e044-993b-428c-aec8-7316f13c1b95 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventrolejson.md b/packages/typescript/docs/models/components/eventrolejson.md deleted file mode 100644 index bcc86de33..000000000 --- a/packages/typescript/docs/models/components/eventrolejson.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventRoleJson - -An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - -## Example Usage - -```typescript -import { EventRoleJson } from "@cvent/sdk/models/components"; - -let value: EventRoleJson = { - id: "2b1a3bba-84b2-46f4-bddb-4b4a44442dcc", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The ID of the event role. | 2b1a3bba-84b2-46f4-bddb-4b4a44442dcc | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventsurveyquestionjson.md b/packages/typescript/docs/models/components/eventsurveyquestionjson.md index 30fbf4f1e..e3d1b7980 100644 --- a/packages/typescript/docs/models/components/eventsurveyquestionjson.md +++ b/packages/typescript/docs/models/components/eventsurveyquestionjson.md @@ -94,7 +94,7 @@ let value: EventSurveyQuestionJson = { | `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `type` | [components.QuestionTypeJson](../../models/components/questiontypejson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `choices` | [components.ChoiceJson1](../../models/components/choicejson1.md)[] | :heavy_minus_sign: | List of choices for the question. | | | `categories` | [components.CategoryJson1](../../models/components/categoryjson1.md)[] | :heavy_minus_sign: | List of categories for the question. | | | `subCategories` | [components.TextFieldJson](../../models/components/textfieldjson.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/typescript/docs/models/components/eventwaitlisted.md b/packages/typescript/docs/models/components/eventwaitlisted.md index ae8227b13..9b5f9392c 100644 --- a/packages/typescript/docs/models/components/eventwaitlisted.md +++ b/packages/typescript/docs/models/components/eventwaitlisted.md @@ -14,7 +14,7 @@ let value: EventWaitlisted = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `event` | [components.ActivityDataJsonEvent9](../../models/components/activitydatajsonevent9.md) | :heavy_minus_sign: | The event in which this activity occurred. | | -| `status` | [components.AttendeeStatusJson](../../models/components/attendeestatusjson.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `event` | [components.ActivityDataEvent6](../../models/components/activitydataevent6.md) | :heavy_minus_sign: | The event in which this activity occurred. | | +| `status` | [components.AttendeeStatus](../../models/components/attendeestatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitlayouttype.md b/packages/typescript/docs/models/components/exhibitlayouttype.md new file mode 100644 index 000000000..e138e0b93 --- /dev/null +++ b/packages/typescript/docs/models/components/exhibitlayouttype.md @@ -0,0 +1,17 @@ +# ExhibitLayoutType + +The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + +## Example Usage + +```typescript +import { ExhibitLayoutType } from "@cvent/sdk/models/components"; + +let value: ExhibitLayoutType = "BOOTH_10x10"; +``` + +## Values + +```typescript +"BOOTH_10x10" | "BOOTH_8x10" | "ISLAND_EXHIBIT" | "PENINSULA_EXHIBIT" | "PERIMETER_EXHIBIT" | "TABLETOP_EXHIBIT" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitor1.md b/packages/typescript/docs/models/components/exhibitor1.md new file mode 100644 index 000000000..859c26cf3 --- /dev/null +++ b/packages/typescript/docs/models/components/exhibitor1.md @@ -0,0 +1,25 @@ +# Exhibitor1 + +An exhibitor. + +## Example Usage + +```typescript +import { Exhibitor1 } from "@cvent/sdk/models/components"; + +let value: Exhibitor1 = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "AutoExpo", + featured: true, + eventSponsor: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | AutoExpo | +| `featured` | *boolean* | :heavy_minus_sign: | If the exhibitor is featured. | true | +| `eventSponsor` | *boolean* | :heavy_minus_sign: | If the exhibitor is an event sponsor. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitordocumentopened.md b/packages/typescript/docs/models/components/exhibitordocumentopened.md index 2e4115aad..a17dbf976 100644 --- a/packages/typescript/docs/models/components/exhibitordocumentopened.md +++ b/packages/typescript/docs/models/components/exhibitordocumentopened.md @@ -26,8 +26,8 @@ let value: ExhibitorDocumentOpened = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `exhibitor` | [components.ExhibitorJson](../../models/components/exhibitorjson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `document` | [components.ActivityExhibitorDocumentJson](../../models/components/activityexhibitordocumentjson.md) | :heavy_minus_sign: | Document for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `exhibitor` | [components.Exhibitor1](../../models/components/exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `document` | [components.ActivityExhibitorDocument](../../models/components/activityexhibitordocument.md) | :heavy_minus_sign: | Document for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitorjson.md b/packages/typescript/docs/models/components/exhibitorjson.md deleted file mode 100644 index 148f1d23d..000000000 --- a/packages/typescript/docs/models/components/exhibitorjson.md +++ /dev/null @@ -1,25 +0,0 @@ -# ExhibitorJson - -An exhibitor. - -## Example Usage - -```typescript -import { ExhibitorJson } from "@cvent/sdk/models/components"; - -let value: ExhibitorJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "AutoExpo", - featured: true, - eventSponsor: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *string* | :heavy_minus_sign: | The Name of an exhibitor. | AutoExpo | -| `featured` | *boolean* | :heavy_minus_sign: | If the exhibitor is featured. | true | -| `eventSponsor` | *boolean* | :heavy_minus_sign: | If the exhibitor is an event sponsor. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitorsociallinkopened.md b/packages/typescript/docs/models/components/exhibitorsociallinkopened.md index 352e4abc2..a2d04e611 100644 --- a/packages/typescript/docs/models/components/exhibitorsociallinkopened.md +++ b/packages/typescript/docs/models/components/exhibitorsociallinkopened.md @@ -26,10 +26,10 @@ let value: ExhibitorSocialLinkOpened = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [components.ExhibitorJson](../../models/components/exhibitorjson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `sponsorshipLevel` | [components.ActivityExhibitorSponsorshipLevelJson](../../models/components/activityexhibitorsponsorshipleveljson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `socialNetwork` | *string* | :heavy_minus_sign: | The name of the social network. | LinkedIn | -| `url` | *string* | :heavy_minus_sign: | The link opened by the attendee. | https://www.linkedin.com/company/cvent/mycompany/ | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `exhibitor` | [components.Exhibitor1](../../models/components/exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `sponsorshipLevel` | [components.ActivityExhibitorSponsorshipLevel](../../models/components/activityexhibitorsponsorshiplevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `socialNetwork` | *string* | :heavy_minus_sign: | The name of the social network. | LinkedIn | +| `url` | *string* | :heavy_minus_sign: | The link opened by the attendee. | https://www.linkedin.com/company/cvent/mycompany/ | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitorviewed.md b/packages/typescript/docs/models/components/exhibitorviewed.md index 383122874..1eac39fd5 100644 --- a/packages/typescript/docs/models/components/exhibitorviewed.md +++ b/packages/typescript/docs/models/components/exhibitorviewed.md @@ -28,9 +28,9 @@ let value: ExhibitorViewed = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [components.ExhibitorJson](../../models/components/exhibitorjson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `sponsorshipLevel` | [components.ActivityExhibitorSponsorshipLevelJson](../../models/components/activityexhibitorsponsorshipleveljson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `navigationSource` | [components.ActivityExhibitorNavigationSourceJson](../../models/components/activityexhibitornavigationsourcejson.md) | :heavy_minus_sign: | Navigation source for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `exhibitor` | [components.Exhibitor1](../../models/components/exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `sponsorshipLevel` | [components.ActivityExhibitorSponsorshipLevel](../../models/components/activityexhibitorsponsorshiplevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `navigationSource` | [components.ActivityExhibitorNavigationSource](../../models/components/activityexhibitornavigationsource.md) | :heavy_minus_sign: | Navigation source for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitorvirtualboothjoined.md b/packages/typescript/docs/models/components/exhibitorvirtualboothjoined.md index 0e5899dc5..f6a52f28e 100644 --- a/packages/typescript/docs/models/components/exhibitorvirtualboothjoined.md +++ b/packages/typescript/docs/models/components/exhibitorvirtualboothjoined.md @@ -25,9 +25,9 @@ let value: ExhibitorVirtualBoothJoined = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [components.ExhibitorJson](../../models/components/exhibitorjson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `sponsorshipLevel` | [components.ActivityExhibitorSponsorshipLevelJson](../../models/components/activityexhibitorsponsorshipleveljson.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | -| `solutionType` | *string* | :heavy_minus_sign: | The solution type used for the virtual booth. | CVC | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `exhibitor` | [components.Exhibitor1](../../models/components/exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `sponsorshipLevel` | [components.ActivityExhibitorSponsorshipLevel](../../models/components/activityexhibitorsponsorshiplevel.md) | :heavy_minus_sign: | Sponsorship level for an activity exhibitor. | | +| `solutionType` | *string* | :heavy_minus_sign: | The solution type used for the virtual booth. | CVC | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitorweblinkopened.md b/packages/typescript/docs/models/components/exhibitorweblinkopened.md index 3789e92e7..e9fbde156 100644 --- a/packages/typescript/docs/models/components/exhibitorweblinkopened.md +++ b/packages/typescript/docs/models/components/exhibitorweblinkopened.md @@ -24,8 +24,8 @@ let value: ExhibitorWeblinkOpened = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `exhibitor` | [components.ExhibitorJson](../../models/components/exhibitorjson.md) | :heavy_minus_sign: | An exhibitor. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `weblink` | [components.ActivityExhibitorWebLinkJson](../../models/components/activityexhibitorweblinkjson.md) | :heavy_minus_sign: | A web-link for an activity exhibitor. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `exhibitor` | [components.Exhibitor1](../../models/components/exhibitor1.md) | :heavy_minus_sign: | An exhibitor. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `weblink` | [components.ActivityExhibitorWeblink](../../models/components/activityexhibitorweblink.md) | :heavy_minus_sign: | A web-link for an activity exhibitor. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingexhibitoranswer.md b/packages/typescript/docs/models/components/existingexhibitoranswer.md index f53e42088..808a1ee77 100644 --- a/packages/typescript/docs/models/components/existingexhibitoranswer.md +++ b/packages/typescript/docs/models/components/existingexhibitoranswer.md @@ -37,5 +37,5 @@ let value: ExistingExhibitorAnswer = { | `question` | [components.Uuid](../../models/components/uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | | `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | -| `answers` | [components.Answer2](../../models/components/answer2.md)[] | :heavy_check_mark: | List of answers | | +| `answers` | [components.Answer22](../../models/components/answer22.md)[] | :heavy_check_mark: | List of answers | | | `id` | *string* | :heavy_check_mark: | Exhibitor Answer id | 06d2bfce-1793-11ec-9621-0242ac130002 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingexhibitoranswerinput.md b/packages/typescript/docs/models/components/existingexhibitoranswerinput.md index f1bcccb8c..e662c8e19 100644 --- a/packages/typescript/docs/models/components/existingexhibitoranswerinput.md +++ b/packages/typescript/docs/models/components/existingexhibitoranswerinput.md @@ -28,4 +28,4 @@ let value: ExistingExhibitorAnswerInput = { | `question` | [components.Uuid](../../models/components/uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | -| `answers` | [components.Answer2](../../models/components/answer2.md)[] | :heavy_check_mark: | List of answers | \ No newline at end of file +| `answers` | [components.Answer22](../../models/components/answer22.md)[] | :heavy_check_mark: | List of answers | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existinghub.md b/packages/typescript/docs/models/components/existinghub.md index 987c8e815..411025205 100644 --- a/packages/typescript/docs/models/components/existinghub.md +++ b/packages/typescript/docs/models/components/existinghub.md @@ -59,6 +59,7 @@ let value: ExistingHub = { idpUrl: "https://login.cvent.com/redirect?redirectUrl=https://cvent-login.com/oauth2/oauth-redirect&productId=0oaztigu7sVcS4PHM0h7&identityProviderName=OneloginforFlexGuestside", }, + websiteTheming: true, id: "1e7e0f38-d73c-4326-9f93-422086b91304", }; ``` @@ -87,5 +88,6 @@ let value: ExistingHub = { | `utmOverride` | [components.UTMOverride](../../models/components/utmoverride.md) | :heavy_minus_sign: | 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. | use-custom-parameter | | `fonts` | [components.HubFonts](../../models/components/hubfonts.md) | :heavy_minus_sign: | The fonts of the Events+ hub. | | | `login` | [components.HubLogin](../../models/components/hublogin.md) | :heavy_minus_sign: | Fields relating to the login process for the Events+ hub. | | +| `websiteTheming` | *boolean* | :heavy_minus_sign: | True indicates the Events+ hub is opted into the new website theming experience. False indicates the hub uses the legacy theming experience. | true | | `id` | *string* | :heavy_minus_sign: | The unique ID of an Events+ Hub. | 1e7e0f38-d73c-4326-9f93-422086b91304 | | `status` | [components.HubStatusProperty](../../models/components/hubstatusproperty.md) | :heavy_minus_sign: | The current Events+ Hub status. Inactive: The Events+ Hub is inactive and unavailable to members. Active: Members can access the Events+ Hub. Deleted: The Events+ Hub has been deleted and is unavailable to members or planners. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingmeetingroom.md b/packages/typescript/docs/models/components/existingmeetingroom.md new file mode 100644 index 000000000..860e2ab98 --- /dev/null +++ b/packages/typescript/docs/models/components/existingmeetingroom.md @@ -0,0 +1,89 @@ +# ExistingMeetingRoom + +An existing venue meeting room with read-only generated properties. + +## Example Usage + +```typescript +import { ExistingMeetingRoom } from "@cvent/sdk/models/components"; + +let value: ExistingMeetingRoom = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `name` | *string* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [components.ExistingMeetingRoomDimensions](../../models/components/existingmeetingroomdimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `displayOrder` | *number* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `rates` | [components.ExistingMeetingRoomRates](../../models/components/existingmeetingroomrates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [components.MeetingRoomCapacities](../../models/components/meetingroomcapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `amenities` | [components.MeetingRoomAmenity](../../models/components/meetingroomamenity.md)[] | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *boolean* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | +| `id` | *string* | :heavy_check_mark: | The unique identifier for the meeting room. | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingmeetingroomdimensions.md b/packages/typescript/docs/models/components/existingmeetingroomdimensions.md new file mode 100644 index 000000000..6d97214df --- /dev/null +++ b/packages/typescript/docs/models/components/existingmeetingroomdimensions.md @@ -0,0 +1,37 @@ +# ExistingMeetingRoomDimensions + +Physical dimensions for the meeting room. + +## Example Usage + +```typescript +import { ExistingMeetingRoomDimensions } from "@cvent/sdk/models/components"; + +let value: ExistingMeetingRoomDimensions = { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `totalSpace` | [components.AreaMeasurement](../../models/components/areameasurement.md) | :heavy_check_mark: | Measurement of area in square feet or square meters. | +| `ceilingHeight` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `length` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `width` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingmeetingroominput.md b/packages/typescript/docs/models/components/existingmeetingroominput.md new file mode 100644 index 000000000..e1ab8b3b6 --- /dev/null +++ b/packages/typescript/docs/models/components/existingmeetingroominput.md @@ -0,0 +1,79 @@ +# ExistingMeetingRoomInput + +An existing venue meeting room with read-only generated properties. + +## Example Usage + +```typescript +import { ExistingMeetingRoomInput } from "@cvent/sdk/models/components"; + +let value: ExistingMeetingRoomInput = { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [components.ExistingMeetingRoomDimensions](../../models/components/existingmeetingroomdimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `displayOrder` | *number* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `rates` | [components.ExistingMeetingRoomRates](../../models/components/existingmeetingroomrates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [components.MeetingRoomCapacities](../../models/components/meetingroomcapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `amenities` | [components.MeetingRoomAmenity](../../models/components/meetingroomamenity.md)[] | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *boolean* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingmeetingroomrates.md b/packages/typescript/docs/models/components/existingmeetingroomrates.md new file mode 100644 index 000000000..56b3587f1 --- /dev/null +++ b/packages/typescript/docs/models/components/existingmeetingroomrates.md @@ -0,0 +1,32 @@ +# ExistingMeetingRoomRates + +Rate information for move in/out and events. + +## Example Usage + +```typescript +import { ExistingMeetingRoomRates } from "@cvent/sdk/models/components"; + +let value: ExistingMeetingRoomRates = { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `moveIn` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `moveOut` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `event` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuedetails.md b/packages/typescript/docs/models/components/existingvenuedetails.md new file mode 100644 index 000000000..80c40e97f --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuedetails.md @@ -0,0 +1,73 @@ +# ExistingVenueDetails + +An existing venue details model with read-only generated properties. + +## Example Usage + +```typescript +import { ExistingVenueDetails } from "@cvent/sdk/models/components"; + +let value: ExistingVenueDetails = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: "A modern conference venue in downtown.", + additionalInformation: "Free parking available on-site.", + cancellationPolicy: "Full refund if cancelled 48 hours before event.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + country: "CH", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890", + name: "Vienna Wolf Trap Hotel", + metroArea: "Washington DC Metro", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `type` | [components.VenueType](../../models/components/venuetype.md) | :heavy_check_mark: | Type of venue.

    Values:
    - `AQUARIUM_ZOO` — Aquarium/Zoo
    - `ARENA_STADIUM` — Arena/Stadium
    - `BANQUET_FACILITY` — Banquet Facility
    - `BAR_CLUB` — Bar/Club
    - `BLANK` — Blank
    - `BOUTIQUE_HOTEL` — Boutique Hotel
    - `CONFERENCE_CENTER` — Conference Center
    - `CONVENTION_CENTER` — Convention Center
    - `CORPORATE_OFFICE_SPACE` — Corporate Office Space
    - `CVB` — CVB
    - `DMC` — Destination Management Company
    - `EDUCATIONAL_FACILITY` — Educational Facility
    - `ENTERTAINMENT_VENUE` — Entertainment Venue
    - `EXPOSITION_CENTER` — Exposition Center
    - `GALLERY_MUSEUM` — Gallery/Museum
    - `GOLF_COURSE` — Golf Course
    - `HOTEL` — Hotel
    - `INTERNAL_VENUE` — Internal Venue
    - `LUXURY_HOTEL` — Luxury Hotel
    - `MOVIE_THEATRE` — Movie Theatre
    - `RESORT` — Resort
    - `RESTAURANT` — Restaurant
    - `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `timeZone` | *string* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

    [Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `brand` | *string* | :heavy_minus_sign: | Venue brand. | Quality Hotels | +| `chainScale` | [components.ChainScale](../../models/components/chainscale.md) | :heavy_minus_sign: | A market segment classification of a venue chain based on Average Daily Rate and other factors.

    Values:
    - `BLANK` — Blank
    - `ECONOMYCHAINS` — Economy Chains
    - `INDEPENDENTS` — Independents
    - `LUXURY_CHAINS` — Luxury Chains
    - `MIDSCALE_CHAINS` — Midscale Chains
    - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
    - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
    - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
    - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
    - `UPSCALE_CHAINS` — Upscale Chains | UPSCALE_CHAINS | +| `mainPhoneNumber` | *string* | :heavy_check_mark: | Primary phone number for the venue. | +1-703-555-0100 | +| `mainFaxNumber` | *string* | :heavy_check_mark: | Primary fax number for the venue. | +1-703-555-0101 | +| `salesPhoneNumber` | *string* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `salesFaxNumber` | *string* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `tollFreeNumber` | *string* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `websiteAddress` | *string* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `currency` | [components.Currency](../../models/components/currency.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `openingDate` | *string* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `description` | *string* | :heavy_minus_sign: | Venue description. | A modern conference venue in downtown. | +| `additionalInformation` | *string* | :heavy_minus_sign: | Additional information about the venue. | Free parking available on-site. | +| `cancellationPolicy` | *string* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | Full refund if cancelled 48 hours before event. | +| `locationTypes` | [components.LocationType](../../models/components/locationtype.md)[] | :heavy_minus_sign: | Location classifications. | | +| `address` | [components.AddressInfo](../../models/components/addressinfo.md) | :heavy_check_mark: | Venue address information. | | +| `id` | *string* | :heavy_check_mark: | Venue ID. | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `name` | *string* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | +| `metroArea` | *string* | :heavy_minus_sign: | Metro area name. Populated once the venue is approved. | Washington DC Metro | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuedetailsinput.md b/packages/typescript/docs/models/components/existingvenuedetailsinput.md new file mode 100644 index 000000000..66af0d039 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuedetailsinput.md @@ -0,0 +1,59 @@ +# ExistingVenueDetailsInput + +An existing venue details model with read-only generated properties. + +## Example Usage + +```typescript +import { ExistingVenueDetailsInput } from "@cvent/sdk/models/components"; + +let value: ExistingVenueDetailsInput = { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: "A modern conference venue in downtown.", + additionalInformation: "Free parking available on-site.", + cancellationPolicy: "Full refund if cancelled 48 hours before event.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + country: "CH", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.VenueType](../../models/components/venuetype.md) | :heavy_check_mark: | Type of venue.

    Values:
    - `AQUARIUM_ZOO` — Aquarium/Zoo
    - `ARENA_STADIUM` — Arena/Stadium
    - `BANQUET_FACILITY` — Banquet Facility
    - `BAR_CLUB` — Bar/Club
    - `BLANK` — Blank
    - `BOUTIQUE_HOTEL` — Boutique Hotel
    - `CONFERENCE_CENTER` — Conference Center
    - `CONVENTION_CENTER` — Convention Center
    - `CORPORATE_OFFICE_SPACE` — Corporate Office Space
    - `CVB` — CVB
    - `DMC` — Destination Management Company
    - `EDUCATIONAL_FACILITY` — Educational Facility
    - `ENTERTAINMENT_VENUE` — Entertainment Venue
    - `EXPOSITION_CENTER` — Exposition Center
    - `GALLERY_MUSEUM` — Gallery/Museum
    - `GOLF_COURSE` — Golf Course
    - `HOTEL` — Hotel
    - `INTERNAL_VENUE` — Internal Venue
    - `LUXURY_HOTEL` — Luxury Hotel
    - `MOVIE_THEATRE` — Movie Theatre
    - `RESORT` — Resort
    - `RESTAURANT` — Restaurant
    - `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `timeZone` | *string* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

    [Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `brand` | *string* | :heavy_minus_sign: | Venue brand. | Quality Hotels | +| `chainScale` | [components.ChainScale](../../models/components/chainscale.md) | :heavy_minus_sign: | A market segment classification of a venue chain based on Average Daily Rate and other factors.

    Values:
    - `BLANK` — Blank
    - `ECONOMYCHAINS` — Economy Chains
    - `INDEPENDENTS` — Independents
    - `LUXURY_CHAINS` — Luxury Chains
    - `MIDSCALE_CHAINS` — Midscale Chains
    - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains
    - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains
    - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains
    - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains
    - `UPSCALE_CHAINS` — Upscale Chains | UPSCALE_CHAINS | +| `mainPhoneNumber` | *string* | :heavy_check_mark: | Primary phone number for the venue. | +1-703-555-0100 | +| `mainFaxNumber` | *string* | :heavy_check_mark: | Primary fax number for the venue. | +1-703-555-0101 | +| `salesPhoneNumber` | *string* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `salesFaxNumber` | *string* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `tollFreeNumber` | *string* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `websiteAddress` | *string* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `currency` | [components.Currency](../../models/components/currency.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `openingDate` | *string* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `description` | *string* | :heavy_minus_sign: | Venue description. | A modern conference venue in downtown. | +| `additionalInformation` | *string* | :heavy_minus_sign: | Additional information about the venue. | Free parking available on-site. | +| `cancellationPolicy` | *string* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | Full refund if cancelled 48 hours before event. | +| `locationTypes` | [components.LocationType](../../models/components/locationtype.md)[] | :heavy_minus_sign: | Location classifications. | | +| `address` | [components.AddressInfo](../../models/components/addressinfo.md) | :heavy_check_mark: | Venue address information. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacility.md b/packages/typescript/docs/models/components/existingvenuefacility.md new file mode 100644 index 000000000..f0fb58321 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacility.md @@ -0,0 +1,74 @@ +# ExistingVenueFacility + +An existing venue facility model with read-only generated properties. + +## Example Usage + +```typescript +import { ExistingVenueFacility } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacility = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: + "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, + id: "e1c05096-e352-4f2e-af1c-a6e022d36b34", + name: "Vienna Wolf Trap Hotel", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `numberOfMeetingRooms` | *number* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `space` | [components.ExistingVenueFacilitySpace](../../models/components/existingvenuefacilityspace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `sleeping` | [components.ExistingVenueFacilitySleeping](../../models/components/existingvenuefacilitysleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `singleRate` | [components.ExistingVenueFacilitySingleRate](../../models/components/existingvenuefacilitysinglerate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `doubleRate` | [components.ExistingVenueFacilityDoubleRate](../../models/components/existingvenuefacilitydoublerate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `taxRate` | *number* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `occupancyRate` | *number* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `yearBuilt` | *number* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `yearRenovated` | *number* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `proximityFromAirport` | [components.ExistingVenueFacilityProximityFromAirport](../../models/components/existingvenuefacilityproximityfromairport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `restrictions` | *string* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `maximumCapacity` | [components.ExistingVenueFacilityMaximumCapacity](../../models/components/existingvenuefacilitymaximumcapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `eventInsurance` | [components.EventInsurance](../../models/components/eventinsurance.md) | :heavy_minus_sign: | Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

    Values:
    - `BLANK` — Indicates no selection, leaves the field blank
    - `REQUIRED` — Required
    - `MAY_BE_REQUIRED` — May Be Required
    - `NOT_REQUIRED` — Not Required | | +| `id` | *string* | :heavy_check_mark: | Venue ID. | e1c05096-e352-4f2e-af1c-a6e022d36b34 | +| `name` | *string* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacilitydoublerate.md b/packages/typescript/docs/models/components/existingvenuefacilitydoublerate.md new file mode 100644 index 000000000..e2f9c75ea --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacilitydoublerate.md @@ -0,0 +1,21 @@ +# ExistingVenueFacilityDoubleRate + +Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + +## Example Usage + +```typescript +import { ExistingVenueFacilityDoubleRate } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacilityDoubleRate = { + low: 149.99, + high: 299.99, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *number* | :heavy_minus_sign: | Lowest published rate for a double-occupancy room. | 149.99 | +| `high` | *number* | :heavy_minus_sign: | Highest published rate for a double-occupancy room. | 299.99 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacilityinput.md b/packages/typescript/docs/models/components/existingvenuefacilityinput.md new file mode 100644 index 000000000..de40a43c8 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacilityinput.md @@ -0,0 +1,62 @@ +# ExistingVenueFacilityInput + +An existing venue facility model with read-only generated properties. + +## Example Usage + +```typescript +import { ExistingVenueFacilityInput } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacilityInput = { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: + "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `numberOfMeetingRooms` | *number* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `space` | [components.ExistingVenueFacilitySpace](../../models/components/existingvenuefacilityspace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `sleeping` | [components.ExistingVenueFacilitySleeping](../../models/components/existingvenuefacilitysleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `singleRate` | [components.ExistingVenueFacilitySingleRate](../../models/components/existingvenuefacilitysinglerate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `doubleRate` | [components.ExistingVenueFacilityDoubleRate](../../models/components/existingvenuefacilitydoublerate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `taxRate` | *number* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `occupancyRate` | *number* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `yearBuilt` | *number* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `yearRenovated` | *number* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `proximityFromAirport` | [components.ExistingVenueFacilityProximityFromAirport](../../models/components/existingvenuefacilityproximityfromairport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `restrictions` | *string* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `maximumCapacity` | [components.ExistingVenueFacilityMaximumCapacity](../../models/components/existingvenuefacilitymaximumcapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `eventInsurance` | [components.EventInsurance](../../models/components/eventinsurance.md) | :heavy_minus_sign: | Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

    Values:
    - `BLANK` — Indicates no selection, leaves the field blank
    - `REQUIRED` — Required
    - `MAY_BE_REQUIRED` — May Be Required
    - `NOT_REQUIRED` — Not Required | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacilitymaximumcapacity.md b/packages/typescript/docs/models/components/existingvenuefacilitymaximumcapacity.md new file mode 100644 index 000000000..41a0a8a35 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacilitymaximumcapacity.md @@ -0,0 +1,21 @@ +# ExistingVenueFacilityMaximumCapacity + +Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +## Example Usage + +```typescript +import { ExistingVenueFacilityMaximumCapacity } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacilityMaximumCapacity = { + seated: 500, + standing: 800, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `seated` | *number* | :heavy_minus_sign: | Maximum seated capacity at the venue. | 500 | +| `standing` | *number* | :heavy_minus_sign: | Maximum standing capacity at the venue. | 800 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacilityproximityfromairport.md b/packages/typescript/docs/models/components/existingvenuefacilityproximityfromairport.md new file mode 100644 index 000000000..c37fb5513 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacilityproximityfromairport.md @@ -0,0 +1,20 @@ +# ExistingVenueFacilityProximityFromAirport + +Distance from the nearest airport. `unit` is required when `distance` is provided. + +## Example Usage + +```typescript +import { ExistingVenueFacilityProximityFromAirport } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacilityProximityFromAirport = { + distance: 12.5, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `distance` | *number* | :heavy_minus_sign: | Distance from the nearest airport, expressed in `unit`. Up to four digits. | 12.5 | +| `unit` | [components.DistanceMeasurementUnit](../../models/components/distancemeasurementunit.md) | :heavy_minus_sign: | Unit of measurement for distance.

    Values:
    - `MILES` — Miles
    - `KILOMETERS` — Kilometers | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacilitysinglerate.md b/packages/typescript/docs/models/components/existingvenuefacilitysinglerate.md new file mode 100644 index 000000000..5e192bac5 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacilitysinglerate.md @@ -0,0 +1,21 @@ +# ExistingVenueFacilitySingleRate + +Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + +## Example Usage + +```typescript +import { ExistingVenueFacilitySingleRate } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacilitySingleRate = { + low: 129.99, + high: 249.99, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *number* | :heavy_minus_sign: | Lowest published rate for a single-occupancy room. | 129.99 | +| `high` | *number* | :heavy_minus_sign: | Highest published rate for a single-occupancy room. | 249.99 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacilitysleeping.md b/packages/typescript/docs/models/components/existingvenuefacilitysleeping.md new file mode 100644 index 000000000..8094e6bc9 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacilitysleeping.md @@ -0,0 +1,25 @@ +# ExistingVenueFacilitySleeping + +Sleeping room inventory at the venue. + +## Example Usage + +```typescript +import { ExistingVenueFacilitySleeping } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacilitySleeping = { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `totalRooms` | *number* | :heavy_minus_sign: | Total number of sleeping rooms at the venue. | 350 | +| `suites` | *number* | :heavy_minus_sign: | Total number of suites at the venue. | 20 | +| `singleRooms` | *number* | :heavy_minus_sign: | Total number of single-occupancy rooms at the venue. | 200 | +| `doubleRooms` | *number* | :heavy_minus_sign: | Total number of double-occupancy rooms at the venue. | 130 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenuefacilityspace.md b/packages/typescript/docs/models/components/existingvenuefacilityspace.md new file mode 100644 index 000000000..3023052a9 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenuefacilityspace.md @@ -0,0 +1,22 @@ +# ExistingVenueFacilitySpace + +Facility space measurements at the venue. + +## Example Usage + +```typescript +import { ExistingVenueFacilitySpace } from "@cvent/sdk/models/components"; + +let value: ExistingVenueFacilitySpace = { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `unitOfMeasurement` | [components.MeasurementUnit](../../models/components/measurementunit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

    Values:
    - `SQUARE_FEET` — Square Feet
    - `SQUARE_METERS` — Square Meters | | +| `totalMeetingRoomSpace` | *number* | :heavy_minus_sign: | Total meeting room space at the venue. | 50000 | +| `totalExhibitSpace` | *number* | :heavy_minus_sign: | Total exhibit space at the venue. | 75000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitiesadditionalfieldsmetadatajson.md b/packages/typescript/docs/models/components/externalactivitiesadditionalfieldsmetadatajson.md deleted file mode 100644 index 67c2da45b..000000000 --- a/packages/typescript/docs/models/components/externalactivitiesadditionalfieldsmetadatajson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ExternalActivitiesAdditionalFieldsMetadataJson - -Additional fields metadata for an external activity. - -## Example Usage - -```typescript -import { ExternalActivitiesAdditionalFieldsMetadataJson } from "@cvent/sdk/models/components"; - -let value: ExternalActivitiesAdditionalFieldsMetadataJson = { - name: "facebook_social.media", - description: "Contains data for facebook social media activity.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the additional field. | facebook_social.media | -| `description` | *string* | :heavy_minus_sign: | Description of the additional field. | Contains data for facebook social media activity. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivity.md b/packages/typescript/docs/models/components/externalactivity.md index 8d4549e16..c2f9af686 100644 --- a/packages/typescript/docs/models/components/externalactivity.md +++ b/packages/typescript/docs/models/components/externalactivity.md @@ -38,10 +38,10 @@ let value: ExternalActivity = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `id` | *string* | :heavy_minus_sign: | The identifier of the attendee activity. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `attendee` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [components.EventActivityDetailsJson](../../models/components/eventactivitydetailsjson.md) | :heavy_check_mark: | Details for an event activity. | | +| `attendee` | [components.Uuid](../../models/components/uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `event` | [components.EventActivityDetail](../../models/components/eventactivitydetail.md) | :heavy_check_mark: | Details for an event activity. | | | `time` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when this attendee activity occurred. | 2019-08-24T14:15:22Z | | `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date and time when this record was created. | 2019-08-24T14:15:22Z | | `name` | *string* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | -| `type` | [components.ExternalActivityTypeJson](../../models/components/externalactivitytypejson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `data` | *components.ExternalActivityDataJson* | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file +| `type` | [components.ExternalActivityType](../../models/components/externalactivitytype.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `data` | *components.ExternalActivityData* | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivityadditionalfieldsmetadata.md b/packages/typescript/docs/models/components/externalactivityadditionalfieldsmetadata.md new file mode 100644 index 000000000..73ee36cf4 --- /dev/null +++ b/packages/typescript/docs/models/components/externalactivityadditionalfieldsmetadata.md @@ -0,0 +1,21 @@ +# ExternalActivityAdditionalFieldsMetadata + +Additional fields metadata for an external activity. + +## Example Usage + +```typescript +import { ExternalActivityAdditionalFieldsMetadata } from "@cvent/sdk/models/components"; + +let value: ExternalActivityAdditionalFieldsMetadata = { + name: "facebook_social.media", + description: "Contains data for facebook social media activity.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the additional field. | facebook_social.media | +| `description` | *string* | :heavy_minus_sign: | Description of the additional field. | Contains data for facebook social media activity. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydata.md b/packages/typescript/docs/models/components/externalactivitydata.md new file mode 100644 index 000000000..db1a17bd8 --- /dev/null +++ b/packages/typescript/docs/models/components/externalactivitydata.md @@ -0,0 +1,59 @@ +# ExternalActivityData + +This is used to denote the type of the external attendee activity. + + +## Supported Types + +### `components.ExternalActivityDataEventExternal` + +```typescript +const value: components.ExternalActivityDataEventExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +### `components.ExternalActivityDataSessionExternal` + +```typescript +const value: components.ExternalActivityDataSessionExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +### `components.ExternalActivityDataAppointmentExternal` + +```typescript +const value: components.ExternalActivityDataAppointmentExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +### `components.ExternalActivityDataExhibitorExternal` + +```typescript +const value: components.ExternalActivityDataExhibitorExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + diff --git a/packages/typescript/docs/models/components/externalactivitydataappointmentexternal.md b/packages/typescript/docs/models/components/externalactivitydataappointmentexternal.md new file mode 100644 index 000000000..76b6fb45a --- /dev/null +++ b/packages/typescript/docs/models/components/externalactivitydataappointmentexternal.md @@ -0,0 +1,26 @@ +# ExternalActivityDataAppointmentExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ExternalActivityDataAppointmentExternal } from "@cvent/sdk/models/components"; + +let value: ExternalActivityDataAppointmentExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydataeventexternal.md b/packages/typescript/docs/models/components/externalactivitydataeventexternal.md new file mode 100644 index 000000000..6c9118a22 --- /dev/null +++ b/packages/typescript/docs/models/components/externalactivitydataeventexternal.md @@ -0,0 +1,26 @@ +# ExternalActivityDataEventExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ExternalActivityDataEventExternal } from "@cvent/sdk/models/components"; + +let value: ExternalActivityDataEventExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydataexhibitorexternal.md b/packages/typescript/docs/models/components/externalactivitydataexhibitorexternal.md new file mode 100644 index 000000000..f0bec3a76 --- /dev/null +++ b/packages/typescript/docs/models/components/externalactivitydataexhibitorexternal.md @@ -0,0 +1,26 @@ +# ExternalActivityDataExhibitorExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ExternalActivityDataExhibitorExternal } from "@cvent/sdk/models/components"; + +let value: ExternalActivityDataExhibitorExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydatajson.md b/packages/typescript/docs/models/components/externalactivitydatajson.md deleted file mode 100644 index 042773902..000000000 --- a/packages/typescript/docs/models/components/externalactivitydatajson.md +++ /dev/null @@ -1,59 +0,0 @@ -# ExternalActivityDataJson - -This is used to denote the type of the external attendee activity. - - -## Supported Types - -### `components.ExternalActivityDataJsonEventExternal` - -```typescript -const value: components.ExternalActivityDataJsonEventExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -### `components.ExternalActivityDataJsonSessionExternal` - -```typescript -const value: components.ExternalActivityDataJsonSessionExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -### `components.ExternalActivityDataJsonAppointmentExternal` - -```typescript -const value: components.ExternalActivityDataJsonAppointmentExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -### `components.ExternalActivityDataJsonExhibitorExternal` - -```typescript -const value: components.ExternalActivityDataJsonExhibitorExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - diff --git a/packages/typescript/docs/models/components/externalactivitydatajsonappointmentexternal.md b/packages/typescript/docs/models/components/externalactivitydatajsonappointmentexternal.md deleted file mode 100644 index ad66738ee..000000000 --- a/packages/typescript/docs/models/components/externalactivitydatajsonappointmentexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ExternalActivityDataJsonAppointmentExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ExternalActivityDataJsonAppointmentExternal } from "@cvent/sdk/models/components"; - -let value: ExternalActivityDataJsonAppointmentExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydatajsoneventexternal.md b/packages/typescript/docs/models/components/externalactivitydatajsoneventexternal.md deleted file mode 100644 index 9a662aaf2..000000000 --- a/packages/typescript/docs/models/components/externalactivitydatajsoneventexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ExternalActivityDataJsonEventExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ExternalActivityDataJsonEventExternal } from "@cvent/sdk/models/components"; - -let value: ExternalActivityDataJsonEventExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydatajsonexhibitorexternal.md b/packages/typescript/docs/models/components/externalactivitydatajsonexhibitorexternal.md deleted file mode 100644 index c4aaf0f96..000000000 --- a/packages/typescript/docs/models/components/externalactivitydatajsonexhibitorexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ExternalActivityDataJsonExhibitorExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ExternalActivityDataJsonExhibitorExternal } from "@cvent/sdk/models/components"; - -let value: ExternalActivityDataJsonExhibitorExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydatajsonsessionexternal.md b/packages/typescript/docs/models/components/externalactivitydatajsonsessionexternal.md deleted file mode 100644 index fa8aef7a4..000000000 --- a/packages/typescript/docs/models/components/externalactivitydatajsonsessionexternal.md +++ /dev/null @@ -1,26 +0,0 @@ -# ExternalActivityDataJsonSessionExternal - -Additional fields for external activities. - -## Example Usage - -```typescript -import { ExternalActivityDataJsonSessionExternal } from "@cvent/sdk/models/components"; - -let value: ExternalActivityDataJsonSessionExternal = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - externalActivityDate: new Date("2019-08-24T14:15:22Z"), - additionalFields: { - "venue": "tokyo", - "submitted": "true", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | -| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitydatasessionexternal.md b/packages/typescript/docs/models/components/externalactivitydatasessionexternal.md new file mode 100644 index 000000000..f7d14f3ef --- /dev/null +++ b/packages/typescript/docs/models/components/externalactivitydatasessionexternal.md @@ -0,0 +1,26 @@ +# ExternalActivityDataSessionExternal + +Additional fields for external activities. + +## Example Usage + +```typescript +import { ExternalActivityDataSessionExternal } from "@cvent/sdk/models/components"; + +let value: ExternalActivityDataSessionExternal = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + externalActivityDate: new Date("2019-08-24T14:15:22Z"), + additionalFields: { + "venue": "tokyo", + "submitted": "true", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `externalActivityDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when the external activity was created. | 2019-08-24T14:15:22Z | +| `additionalFields` | Record | :heavy_minus_sign: | Additional fields provided for the external attendee activity | {
    "venue": "tokyo",
    "submitted": "true"
    } | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivityinput.md b/packages/typescript/docs/models/components/externalactivityinput.md index cd81949b1..03330619e 100644 --- a/packages/typescript/docs/models/components/externalactivityinput.md +++ b/packages/typescript/docs/models/components/externalactivityinput.md @@ -29,10 +29,10 @@ let value: ExternalActivityInput = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `attendee` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [components.EventActivityDetailsJsonInput](../../models/components/eventactivitydetailsjsoninput.md) | :heavy_check_mark: | Details for an event activity. | | -| `name` | *string* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | -| `type` | [components.ExternalActivityTypeJson](../../models/components/externalactivitytypejson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `data` | *components.ExternalActivityDataJson* | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `attendee` | [components.Uuid](../../models/components/uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | +| `event` | [components.EventActivityDetailInput](../../models/components/eventactivitydetailinput.md) | :heavy_check_mark: | Details for an event activity. | | +| `name` | *string* | :heavy_check_mark: | Name for the external attendee activity. | Registered for Event | +| `type` | [components.ExternalActivityType](../../models/components/externalactivitytype.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `data` | *components.ExternalActivityData* | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitymetadata.md b/packages/typescript/docs/models/components/externalactivitymetadata.md index 43a04f883..8e54d5dc4 100644 --- a/packages/typescript/docs/models/components/externalactivitymetadata.md +++ b/packages/typescript/docs/models/components/externalactivitymetadata.md @@ -28,14 +28,14 @@ let value: ExternalActivityMetadata = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `id` | *string* | :heavy_minus_sign: | The identifier of external attendee activity metadata. | 9463c74e-18c6-401a-a710-ae0f485bf059 | -| `type` | [components.ExternalActivityTypeJson](../../models/components/externalactivitytypejson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | -| `description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | -| `fields` | [components.ExternalActivitiesAdditionalFieldsMetadataJson](../../models/components/externalactivitiesadditionalfieldsmetadatajson.md)[] | :heavy_minus_sign: | Metadata for the fields. | | \ 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 identifier of external attendee activity metadata. | 9463c74e-18c6-401a-a710-ae0f485bf059 | +| `type` | [components.ExternalActivityType](../../models/components/externalactivitytype.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | +| `description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | +| `fields` | [components.ExternalActivityAdditionalFieldsMetadata](../../models/components/externalactivityadditionalfieldsmetadata.md)[] | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitymetadatainput.md b/packages/typescript/docs/models/components/externalactivitymetadatainput.md index 392561311..8e737573a 100644 --- a/packages/typescript/docs/models/components/externalactivitymetadatainput.md +++ b/packages/typescript/docs/models/components/externalactivitymetadatainput.md @@ -23,9 +23,9 @@ let value: ExternalActivityMetadataInput = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [components.ExternalActivityTypeJson](../../models/components/externalactivitytypejson.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | -| `name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | -| `description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | -| `fields` | [components.ExternalActivitiesAdditionalFieldsMetadataJson](../../models/components/externalactivitiesadditionalfieldsmetadatajson.md)[] | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.ExternalActivityType](../../models/components/externalactivitytype.md) | :heavy_check_mark: | This is used to denote the type of the external attendee activity. | event.external | +| `name` | *string* | :heavy_check_mark: | Name of an external attendee activity. | social.media | +| `description` | *string* | :heavy_minus_sign: | Description of an external attendee activity. | This external activity contains data of social activities for an attendee. | +| `fields` | [components.ExternalActivityAdditionalFieldsMetadata](../../models/components/externalactivityadditionalfieldsmetadata.md)[] | :heavy_minus_sign: | Metadata for the fields. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitymetadatapaginatedresponse.md b/packages/typescript/docs/models/components/externalactivitymetadatapaginatedresponse.md index 4dbdd91f4..291e8d75d 100644 --- a/packages/typescript/docs/models/components/externalactivitymetadatapaginatedresponse.md +++ b/packages/typescript/docs/models/components/externalactivitymetadatapaginatedresponse.md @@ -34,5 +34,5 @@ let value: ExternalActivityMetadataPaginatedResponse = { | 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.ExternalActivityMetadata](../../models/components/externalactivitymetadata.md)[] | :heavy_check_mark: | Collection of external attendee activities metadata in an account. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitytype.md b/packages/typescript/docs/models/components/externalactivitytype.md new file mode 100644 index 000000000..89226298d --- /dev/null +++ b/packages/typescript/docs/models/components/externalactivitytype.md @@ -0,0 +1,17 @@ +# ExternalActivityType + +This is used to denote the type of the external attendee activity. + +## Example Usage + +```typescript +import { ExternalActivityType } from "@cvent/sdk/models/components"; + +let value: ExternalActivityType = "event.external"; +``` + +## Values + +```typescript +"event.external" | "session.external" | "appointment.external" | "exhibitor.external" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/externalactivitytypejson.md b/packages/typescript/docs/models/components/externalactivitytypejson.md deleted file mode 100644 index b2e21ea00..000000000 --- a/packages/typescript/docs/models/components/externalactivitytypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ExternalActivityTypeJson - -This is used to denote the type of the external attendee activity. - -## Example Usage - -```typescript -import { ExternalActivityTypeJson } from "@cvent/sdk/models/components"; - -let value: ExternalActivityTypeJson = "event.external"; -``` - -## Values - -```typescript -"event.external" | "session.external" | "appointment.external" | "exhibitor.external" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/housingeventsummarylist.md b/packages/typescript/docs/models/components/housingeventsummarylist.md index a8bd2a574..240efa995 100644 --- a/packages/typescript/docs/models/components/housingeventsummarylist.md +++ b/packages/typescript/docs/models/components/housingeventsummarylist.md @@ -60,4 +60,4 @@ let value: HousingEventSummaryList = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.ZeroAllOf8](../../models/components/zeroallof8.md)[] | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file +| `data` | [components.ZeroAllOf6](../../models/components/zeroallof6.md)[] | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/hubspaginatedresponse.md b/packages/typescript/docs/models/components/hubspaginatedresponse.md index 8e0279ba6..4bf4659ff 100644 --- a/packages/typescript/docs/models/components/hubspaginatedresponse.md +++ b/packages/typescript/docs/models/components/hubspaginatedresponse.md @@ -79,6 +79,7 @@ let value: HubsPaginatedResponse = { idpUrl: "https://login.cvent.com/redirect?redirectUrl=https://cvent-login.com/oauth2/oauth-redirect&productId=0oaztigu7sVcS4PHM0h7&identityProviderName=OneloginforFlexGuestside", }, + websiteTheming: true, id: "1e7e0f38-d73c-4326-9f93-422086b91304", }, ], diff --git a/packages/typescript/docs/models/components/leadinboundcreated.md b/packages/typescript/docs/models/components/leadinboundcreated.md index c5165f3fb..7c3f4913b 100644 --- a/packages/typescript/docs/models/components/leadinboundcreated.md +++ b/packages/typescript/docs/models/components/leadinboundcreated.md @@ -21,7 +21,7 @@ let value: LeadInboundCreated = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `exhibitor` | [components.ActivityExhibitorJson](../../models/components/activityexhibitorjson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `lead` | [components.LeadObjectJson](../../models/components/leadobjectjson.md) | :heavy_minus_sign: | A Lead | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `exhibitor` | [components.ActivityExhibitor](../../models/components/activityexhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `lead` | [components.LeadObject](../../models/components/leadobject.md) | :heavy_minus_sign: | A Lead | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadobject.md b/packages/typescript/docs/models/components/leadobject.md new file mode 100644 index 000000000..ce4e376ab --- /dev/null +++ b/packages/typescript/docs/models/components/leadobject.md @@ -0,0 +1,22 @@ +# LeadObject + +A Lead + +## Example Usage + +```typescript +import { LeadObject } from "@cvent/sdk/models/components"; + +let value: LeadObject = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| ~~`deviceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    The unique identifier of the device. | ID1 | +| ~~`deviceName`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Name of the device. | Device 1 | +| ~~`boothStaff`~~ | [components.LeadObjectActivityBoothStaff](../../models/components/leadobjectactivityboothstaff.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Booth staff for the lead. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadobjectactivityboothstaff.md b/packages/typescript/docs/models/components/leadobjectactivityboothstaff.md new file mode 100644 index 000000000..c3c1c91e2 --- /dev/null +++ b/packages/typescript/docs/models/components/leadobjectactivityboothstaff.md @@ -0,0 +1,26 @@ +# ~~LeadObjectActivityBoothStaff~~ + +Booth staff for the lead. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + +## Example Usage + +```typescript +import { LeadObjectActivityBoothStaff } from "@cvent/sdk/models/components"; + +let value: LeadObjectActivityBoothStaff = { + firstName: "John", + lastName: "Doe", + email: "h.potterfield@test.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor booth staff. | | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the booth staff that captured the lead. | John | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the booth staff that captured the lead. | Doe | +| `email` | *string* | :heavy_minus_sign: | The email address of the booth staff that captured the lead. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadobjectjson.md b/packages/typescript/docs/models/components/leadobjectjson.md deleted file mode 100644 index c814d14da..000000000 --- a/packages/typescript/docs/models/components/leadobjectjson.md +++ /dev/null @@ -1,22 +0,0 @@ -# LeadObjectJson - -A Lead - -## Example Usage - -```typescript -import { LeadObjectJson } from "@cvent/sdk/models/components"; - -let value: LeadObjectJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| ~~`deviceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    The unique identifier of the device. | ID1 | -| ~~`deviceName`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Name of the device. | Device 1 | -| ~~`boothStaff`~~ | [components.ActivityBoothStaff](../../models/components/activityboothstaff.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    Booth staff for the lead. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadqualified.md b/packages/typescript/docs/models/components/leadqualified.md index e6e879d5b..b8c985593 100644 --- a/packages/typescript/docs/models/components/leadqualified.md +++ b/packages/typescript/docs/models/components/leadqualified.md @@ -43,8 +43,8 @@ let value: LeadQualified = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `exhibitor` | [components.ActivityExhibitorJson](../../models/components/activityexhibitorjson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `lead` | [components.ActivityLeadJson](../../models/components/activityleadjson.md) | :heavy_minus_sign: | An activity lead. | -| `responses` | [components.LeadQualifiedQuestionResponseJson](../../models/components/leadqualifiedquestionresponsejson.md)[] | :heavy_minus_sign: | The list of responses provided by the attendee. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `exhibitor` | [components.ActivityExhibitor](../../models/components/activityexhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `lead` | [components.ActivityLead](../../models/components/activitylead.md) | :heavy_minus_sign: | An activity lead. | +| `responses` | [components.LeadQualifiedQuestionResponse](../../models/components/leadqualifiedquestionresponse.md)[] | :heavy_minus_sign: | The list of responses provided by the attendee. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadqualifiedanswer.md b/packages/typescript/docs/models/components/leadqualifiedanswer.md new file mode 100644 index 000000000..338973ff9 --- /dev/null +++ b/packages/typescript/docs/models/components/leadqualifiedanswer.md @@ -0,0 +1,23 @@ +# LeadQualifiedAnswer + +A question answer. + +## Example Usage + +```typescript +import { LeadQualifiedAnswer } from "@cvent/sdk/models/components"; + +let value: LeadQualifiedAnswer = { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + type: "simple", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `type` | *string* | :heavy_minus_sign: | Data type of an answer. | simple | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadqualifiedanswerjson.md b/packages/typescript/docs/models/components/leadqualifiedanswerjson.md deleted file mode 100644 index 2e21e32e2..000000000 --- a/packages/typescript/docs/models/components/leadqualifiedanswerjson.md +++ /dev/null @@ -1,23 +0,0 @@ -# LeadQualifiedAnswerJson - -A question answer. - -## Example Usage - -```typescript -import { LeadQualifiedAnswerJson } from "@cvent/sdk/models/components"; - -let value: LeadQualifiedAnswerJson = { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - type: "simple", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `type` | *string* | :heavy_minus_sign: | Data type of an answer. | simple | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadqualifiedquestionresponse.md b/packages/typescript/docs/models/components/leadqualifiedquestionresponse.md new file mode 100644 index 000000000..e540942e6 --- /dev/null +++ b/packages/typescript/docs/models/components/leadqualifiedquestionresponse.md @@ -0,0 +1,31 @@ +# LeadQualifiedQuestionResponse + +A Question response. + +## Example Usage + +```typescript +import { LeadQualifiedQuestionResponse } from "@cvent/sdk/models/components"; + +let value: LeadQualifiedQuestionResponse = { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", + }, + answers: [ + { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + type: "simple", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `question` | [components.Question2](../../models/components/question2.md) | :heavy_minus_sign: | The question that was answered. | +| `answers` | [components.LeadQualifiedAnswer](../../models/components/leadqualifiedanswer.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadqualifiedquestionresponsejson.md b/packages/typescript/docs/models/components/leadqualifiedquestionresponsejson.md deleted file mode 100644 index 4a7cdd6e7..000000000 --- a/packages/typescript/docs/models/components/leadqualifiedquestionresponsejson.md +++ /dev/null @@ -1,31 +0,0 @@ -# LeadQualifiedQuestionResponseJson - -A Question response. - -## Example Usage - -```typescript -import { LeadQualifiedQuestionResponseJson } from "@cvent/sdk/models/components"; - -let value: LeadQualifiedQuestionResponseJson = { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", - }, - answers: [ - { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - type: "simple", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `question` | [components.QuestionJson2](../../models/components/questionjson2.md) | :heavy_minus_sign: | The question that was answered. | -| `answers` | [components.LeadQualifiedAnswerJson](../../models/components/leadqualifiedanswerjson.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadscanned.md b/packages/typescript/docs/models/components/leadscanned.md index a397e077f..a73698561 100644 --- a/packages/typescript/docs/models/components/leadscanned.md +++ b/packages/typescript/docs/models/components/leadscanned.md @@ -27,7 +27,7 @@ let value: LeadScanned = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `exhibitor` | [components.ActivityExhibitorJson](../../models/components/activityexhibitorjson.md) | :heavy_minus_sign: | An activity exhibitor. | -| `lead` | [components.ActivityLeadJson](../../models/components/activityleadjson.md) | :heavy_minus_sign: | An activity lead. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `exhibitor` | [components.ActivityExhibitor](../../models/components/activityexhibitor.md) | :heavy_minus_sign: | An activity exhibitor. | +| `lead` | [components.ActivityLead](../../models/components/activitylead.md) | :heavy_minus_sign: | An activity lead. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/locationjson.md b/packages/typescript/docs/models/components/locationjson.md index 8c15fce5a..1ee759008 100644 --- a/packages/typescript/docs/models/components/locationjson.md +++ b/packages/typescript/docs/models/components/locationjson.md @@ -24,5 +24,5 @@ let value: LocationJson = { | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | | `name` | *string* | :heavy_check_mark: | The name of the location. | Conference Room B | -| `parentLocation` | [components.ZeroAllOf2](../../models/components/zeroallof2.md) | :heavy_minus_sign: | Details of a location. | | +| `parentLocation` | [components.ZeroAllOf1](../../models/components/zeroallof1.md) | :heavy_minus_sign: | Details of a location. | | | `capacity` | *number* | :heavy_minus_sign: | The number of attendees that can be accommodated in this location. -1 indicates unlimited capacity. | 5 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/locationtype.md b/packages/typescript/docs/models/components/locationtype.md new file mode 100644 index 000000000..7403d3b2b --- /dev/null +++ b/packages/typescript/docs/models/components/locationtype.md @@ -0,0 +1,17 @@ +# LocationType + +Location classification for the venue. + +## Example Usage + +```typescript +import { LocationType } from "@cvent/sdk/models/components"; + +let value: LocationType = "SUBURBAN"; +``` + +## Values + +```typescript +"AIRPORT" | "INTERSTATE" | "RESORT" | "SMALL_METRO_TOWN" | "SUBURBAN" | "URBAN" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequest.md b/packages/typescript/docs/models/components/meetingrequest.md index 4a0e3c479..843c51ad5 100644 --- a/packages/typescript/docs/models/components/meetingrequest.md +++ b/packages/typescript/docs/models/components/meetingrequest.md @@ -52,7 +52,7 @@ let value: MeetingRequest = { | `status` | *string* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | | `statusNote` | *string* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | | `meetingRequestForm` | [components.MeetingRequestMeetingRequestForm](../../models/components/meetingrequestmeetingrequestform.md) | :heavy_check_mark: | The meeting request form the request is associated with. | | -| `questions` | [components.MeetingRequestQuestionJson](../../models/components/meetingrequestquestionjson.md)[] | :heavy_minus_sign: | The list of possible answers to a question. | | +| `questions` | [components.MeetingRequestQuestion](../../models/components/meetingrequestquestion.md)[] | :heavy_minus_sign: | The list of possible answers to a question. | | | `event` | [components.MeetingRequestEvent](../../models/components/meetingrequestevent.md) | :heavy_minus_sign: | The event the request is associated with. | | | `sourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | | `code` | *string* | :heavy_minus_sign: | The meeting request code for reference. | VPNH3JGMTND | diff --git a/packages/typescript/docs/models/components/meetingrequestbulkresponseitem.md b/packages/typescript/docs/models/components/meetingrequestbulkresponseitem.md new file mode 100644 index 000000000..af5a7da59 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestbulkresponseitem.md @@ -0,0 +1,54 @@ +# MeetingRequestBulkResponseItem + +Represents a single meeting request that's returned as part of a bulk request call. + +## Example Usage + +```typescript +import { MeetingRequestBulkResponseItem } from "@cvent/sdk/models/components"; + +let value: MeetingRequestBulkResponseItem = { + data: { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + id: "017f1149-0f3a-4531-b1aa-6f66a6cb04f3", + name: "Limited MR", + status: "Submitted to Accounting", + statusNote: + "The status indicates that the request is submitted to accounting", + meetingRequestForm: { + name: "Annual Sales Meeting Request Form", + }, + questions: [ + { + id: "f1ea56cd-6860-4f1a-baf7-973118384384", + name: "What is your favorite color?", + type: "SingleSelect", + value: [ + "Green", + ], + answerType: "Other", + secondaryValue: "The other answer for the question.", + compositeValue: [], + }, + ], + sourceId: "sourceId12", + code: "VPNH3JGMTND", + archiveDate: "2017-01-02T02:00:00Z", + }, + status: 200, + message: "Successful", + request: "Example request information.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `data` | [components.MeetingRequest](../../models/components/meetingrequest.md) | :heavy_check_mark: | A meeting request. | | +| `status` | *number* | :heavy_check_mark: | HTTP status code representing the processing status of a single item. | 200 | +| `message` | *string* | :heavy_minus_sign: | Quick description of what happened during processing. | Successful | +| `request` | *components.RequestT* | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | Example request information. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestbulkresponseitemjson.md b/packages/typescript/docs/models/components/meetingrequestbulkresponseitemjson.md deleted file mode 100644 index b4c3544c5..000000000 --- a/packages/typescript/docs/models/components/meetingrequestbulkresponseitemjson.md +++ /dev/null @@ -1,54 +0,0 @@ -# MeetingRequestBulkResponseItemJson - -Represents a single meeting request that's returned as part of a bulk request call. - -## Example Usage - -```typescript -import { MeetingRequestBulkResponseItemJson } from "@cvent/sdk/models/components"; - -let value: MeetingRequestBulkResponseItemJson = { - data: { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - id: "017f1149-0f3a-4531-b1aa-6f66a6cb04f3", - name: "Limited MR", - status: "Submitted to Accounting", - statusNote: - "The status indicates that the request is submitted to accounting", - meetingRequestForm: { - name: "Annual Sales Meeting Request Form", - }, - questions: [ - { - id: "f1ea56cd-6860-4f1a-baf7-973118384384", - name: "What is your favorite color?", - type: "SingleSelect", - value: [ - "Green", - ], - answerType: "Other", - secondaryValue: "The other answer for the question.", - compositeValue: [], - }, - ], - sourceId: "sourceId12", - code: "VPNH3JGMTND", - archiveDate: "2017-01-02T02:00:00Z", - }, - status: 200, - message: "Successful", - request: "Example request information.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `data` | [components.MeetingRequest](../../models/components/meetingrequest.md) | :heavy_check_mark: | A meeting request. | | -| `status` | *number* | :heavy_check_mark: | HTTP status code representing the processing status of a single item. | 200 | -| `message` | *string* | :heavy_minus_sign: | Quick description of what happened during processing. | Successful | -| `request` | *components.RequestT* | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | Example request information. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestbulkresponseitemjsonrequest.md b/packages/typescript/docs/models/components/meetingrequestbulkresponseitemjsonrequest.md deleted file mode 100644 index 8756760c5..000000000 --- a/packages/typescript/docs/models/components/meetingrequestbulkresponseitemjsonrequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# MeetingRequestBulkResponseItemJsonRequest - -## Example Usage - -```typescript -import { MeetingRequestBulkResponseItemJsonRequest } from "@cvent/sdk/models/components"; - -let value: MeetingRequestBulkResponseItemJsonRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestbulkresponseitemrequest.md b/packages/typescript/docs/models/components/meetingrequestbulkresponseitemrequest.md new file mode 100644 index 000000000..96b357aa7 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestbulkresponseitemrequest.md @@ -0,0 +1,14 @@ +# MeetingRequestBulkResponseItemRequest + +## Example Usage + +```typescript +import { MeetingRequestBulkResponseItemRequest } from "@cvent/sdk/models/components"; + +let value: MeetingRequestBulkResponseItemRequest = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestcreate.md b/packages/typescript/docs/models/components/meetingrequestcreate.md new file mode 100644 index 000000000..e6dc1c580 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestcreate.md @@ -0,0 +1,32 @@ +# MeetingRequestCreate + +A meeting request to create. + +## Example Usage + +```typescript +import { MeetingRequestCreate } from "@cvent/sdk/models/components"; + +let value: MeetingRequestCreate = { + name: "####test", + sourceId: "sourceId12", + questions: [ + { + id: "f1ea56cd-6860-4f1a-baf7-973118384384", + value: [ + "Green", + ], + answerType: "Other", + secondaryValue: "The other answer for the question.", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the specific meeting request. | ####test | +| `sourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | +| `questions` | [components.MeetingRequestQuestionInput](../../models/components/meetingrequestquestioninput.md)[] | :heavy_check_mark: | Questions for the meeting request. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestcreatejson.md b/packages/typescript/docs/models/components/meetingrequestcreatejson.md deleted file mode 100644 index b2fa9091e..000000000 --- a/packages/typescript/docs/models/components/meetingrequestcreatejson.md +++ /dev/null @@ -1,32 +0,0 @@ -# MeetingRequestCreateJson - -A meeting request to create. - -## Example Usage - -```typescript -import { MeetingRequestCreateJson } from "@cvent/sdk/models/components"; - -let value: MeetingRequestCreateJson = { - name: "####test", - sourceId: "sourceId12", - questions: [ - { - id: "f1ea56cd-6860-4f1a-baf7-973118384384", - value: [ - "Green", - ], - answerType: "Other", - secondaryValue: "The other answer for the question.", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the specific meeting request. | ####test | -| `sourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | -| `questions` | [components.RequestedMeetingRequestQuestionJson](../../models/components/requestedmeetingrequestquestionjson.md)[] | :heavy_check_mark: | Questions for the meeting request. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestcustomfieldjson.md b/packages/typescript/docs/models/components/meetingrequestcustomfieldjson.md deleted file mode 100644 index e1eb8c63e..000000000 --- a/packages/typescript/docs/models/components/meetingrequestcustomfieldjson.md +++ /dev/null @@ -1,51 +0,0 @@ -# MeetingRequestCustomFieldJson - -Custom field for a meeting request. - -## Example Usage - -```typescript -import { MeetingRequestCustomFieldJson } from "@cvent/sdk/models/components"; - -let value: MeetingRequestCustomFieldJson = { - id: "4bdda432-70d2-48a1-8b6a-2426a8ddc973", - name: "What is your favorite color?", - value: [ - "Choice C", - "Choice A", - ], - order: 1, - type: "MultiSelect", - hidden: false, - required: true, - minLength: 0, - maxLength: 100, - minChoice: 0, - maxChoice: 10, - minDate: "1970-12-23", - maxDate: "2100-12-31", - answerTypes: [ - "Other", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
    "Choice C",
    "Choice A"
    ] | -| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `type` | [components.MeetingRequestCustomFieldJsonCustomFieldType](../../models/components/meetingrequestcustomfieldjsoncustomfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | -| `field` | *boolean* | :heavy_minus_sign: | The actual text of the custom field. | | -| `hidden` | *boolean* | :heavy_minus_sign: | True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. | false | -| `required` | *boolean* | :heavy_minus_sign: | True indicates the given question must be answered. | true | -| `minLength` | *number* | :heavy_minus_sign: | The minimum length of a text field. | 0 | -| `maxLength` | *number* | :heavy_minus_sign: | The maximum length of a text field. | 100 | -| `minChoice` | *number* | :heavy_minus_sign: | The minimum number of choices required for a multi-choice field. | 0 | -| `maxChoice` | *number* | :heavy_minus_sign: | The maximum number of choices allowed for a multi-choice field. | 10 | -| `minDate` | *string* | :heavy_minus_sign: | The ISO 8601 minimum date value for a date field. | 1970-12-23 | -| `maxDate` | *string* | :heavy_minus_sign: | The ISO 8601 maximum date value for a date field. | 2100-12-31 | -| `answerTypes` | [components.AnswerTypeJson](../../models/components/answertypejson.md)[] | :heavy_minus_sign: | List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestcustomfieldjsoncustomfieldtype.md b/packages/typescript/docs/models/components/meetingrequestcustomfieldjsoncustomfieldtype.md deleted file mode 100644 index f62c5797b..000000000 --- a/packages/typescript/docs/models/components/meetingrequestcustomfieldjsoncustomfieldtype.md +++ /dev/null @@ -1,17 +0,0 @@ -# MeetingRequestCustomFieldJsonCustomFieldType - -The type of data collected by a custom field. - -## Example Usage - -```typescript -import { MeetingRequestCustomFieldJsonCustomFieldType } from "@cvent/sdk/models/components"; - -let value: MeetingRequestCustomFieldJsonCustomFieldType = "MultiSelect"; -``` - -## Values - -```typescript -"AutoIncrement" | "ConsentQuestion" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "MultiChoice" | "MultiSelect" | "Number" | "OpenEndedDateTime" | "OpenEndedText" | "SingleChoice" | "SingleSelect" | "USPhoneNumber" | "Unknown" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestdocument.md b/packages/typescript/docs/models/components/meetingrequestdocument.md new file mode 100644 index 000000000..9b4526b27 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestdocument.md @@ -0,0 +1,40 @@ +# MeetingRequestDocument + +Document attached to a meeting request that can be downloaded. + +## Example Usage + +```typescript +import { MeetingRequestDocument } from "@cvent/sdk/models/components"; + +let value: MeetingRequestDocument = { + id: "c4afc983-6cfc-4248-8b78-f66976424500", + name: "Agenda", + size: 204800, + uploaded: new Date("2024-06-15T13:45:30Z"), + uploadedBy: "John Doe", + lastModified: new Date("2024-10-12T03:00:00Z"), + lastModifiedBy: "John Doe", + mimeType: "application/pdf", + referenceLink: { + url: + "https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf", + expiration: new Date("2025-12-31T23:59:59Z"), + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique identifier of the document. | | +| `name` | *string* | :heavy_minus_sign: | Name of the document. | Agenda | +| `size` | *number* | :heavy_minus_sign: | Size of the document in bytes | 204800 | +| `uploaded` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO-8601 formatted date and time when the document was uploaded. | 2024-06-15T13:45:30Z | +| `uploadedBy` | *string* | :heavy_minus_sign: | The user who uploaded the document. | John Doe | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO-8601 formatted date and time when this document was last updated. | 2024-10-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The user who last updated the document. | John Doe | +| `mimeType` | *string* | :heavy_minus_sign: | The MIME type of the document | application/pdf | +| `referenceLink` | [components.MeetingRequestDocumentReferenceLink](../../models/components/meetingrequestdocumentreferencelink.md) | :heavy_minus_sign: | A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. | | +| `meetingRequest` | [components.MeetingRequestDocumentMeetingRequest](../../models/components/meetingrequestdocumentmeetingrequest.md) | :heavy_minus_sign: | The meeting request this document is attached to. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestdocumentjson.md b/packages/typescript/docs/models/components/meetingrequestdocumentjson.md deleted file mode 100644 index d8a06303d..000000000 --- a/packages/typescript/docs/models/components/meetingrequestdocumentjson.md +++ /dev/null @@ -1,40 +0,0 @@ -# MeetingRequestDocumentJson - -Document attached to a meeting request that can be downloaded. - -## Example Usage - -```typescript -import { MeetingRequestDocumentJson } from "@cvent/sdk/models/components"; - -let value: MeetingRequestDocumentJson = { - id: "e800bcab-4ac9-46ef-977f-5d629fd4121b", - name: "Agenda", - size: 204800, - uploaded: new Date("2024-06-15T13:45:30Z"), - uploadedBy: "John Doe", - lastModified: new Date("2024-10-12T03:00:00Z"), - lastModifiedBy: "John Doe", - mimeType: "application/pdf", - referenceLink: { - url: - "https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf", - expiration: new Date("2025-12-31T23:59:59Z"), - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | Unique identifier of the document. | | -| `name` | *string* | :heavy_minus_sign: | Name of the document. | Agenda | -| `size` | *number* | :heavy_minus_sign: | Size of the document in bytes | 204800 | -| `uploaded` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO-8601 formatted date and time when the document was uploaded. | 2024-06-15T13:45:30Z | -| `uploadedBy` | *string* | :heavy_minus_sign: | The user who uploaded the document. | John Doe | -| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO-8601 formatted date and time when this document was last updated. | 2024-10-12T03:00:00Z | -| `lastModifiedBy` | *string* | :heavy_minus_sign: | The user who last updated the document. | John Doe | -| `mimeType` | *string* | :heavy_minus_sign: | The MIME type of the document | application/pdf | -| `referenceLink` | [components.MeetingRequestDocumentReferenceLinkJson](../../models/components/meetingrequestdocumentreferencelinkjson.md) | :heavy_minus_sign: | A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. | | -| `meetingRequest` | [components.MeetingRequestDocumentJsonMeetingRequest](../../models/components/meetingrequestdocumentjsonmeetingrequest.md) | :heavy_minus_sign: | The meeting request this document is attached to. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestdocumentjsonmeetingrequest.md b/packages/typescript/docs/models/components/meetingrequestdocumentjsonmeetingrequest.md deleted file mode 100644 index 959aca87b..000000000 --- a/packages/typescript/docs/models/components/meetingrequestdocumentjsonmeetingrequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# MeetingRequestDocumentJsonMeetingRequest - -The meeting request this document is attached to. - -## Example Usage - -```typescript -import { MeetingRequestDocumentJsonMeetingRequest } from "@cvent/sdk/models/components"; - -let value: MeetingRequestDocumentJsonMeetingRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *string* | :heavy_minus_sign: | Meeting Request ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestdocumentmeetingrequest.md b/packages/typescript/docs/models/components/meetingrequestdocumentmeetingrequest.md new file mode 100644 index 000000000..2a1c9b517 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestdocumentmeetingrequest.md @@ -0,0 +1,17 @@ +# MeetingRequestDocumentMeetingRequest + +The meeting request this document is attached to. + +## Example Usage + +```typescript +import { MeetingRequestDocumentMeetingRequest } from "@cvent/sdk/models/components"; + +let value: MeetingRequestDocumentMeetingRequest = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *string* | :heavy_minus_sign: | Meeting Request ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestdocumentpaginatedresponse.md b/packages/typescript/docs/models/components/meetingrequestdocumentpaginatedresponse.md index 18a029834..5ddcac7c1 100644 --- a/packages/typescript/docs/models/components/meetingrequestdocumentpaginatedresponse.md +++ b/packages/typescript/docs/models/components/meetingrequestdocumentpaginatedresponse.md @@ -32,7 +32,7 @@ let value: MeetingRequestDocumentPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.MeetingRequestDocumentJson](../../models/components/meetingrequestdocumentjson.md)[] | :heavy_check_mark: | Collection of meeting request object documents. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.MeetingRequestDocument](../../models/components/meetingrequestdocument.md)[] | :heavy_check_mark: | Collection of meeting request object documents. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestdocumentreferencelink.md b/packages/typescript/docs/models/components/meetingrequestdocumentreferencelink.md new file mode 100644 index 000000000..e9a476dbb --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestdocumentreferencelink.md @@ -0,0 +1,22 @@ +# MeetingRequestDocumentReferenceLink + +A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. + +## Example Usage + +```typescript +import { MeetingRequestDocumentReferenceLink } from "@cvent/sdk/models/components"; + +let value: MeetingRequestDocumentReferenceLink = { + url: + "https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf", + expiration: new Date("2025-12-31T23:59:59Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `url` | *string* | :heavy_minus_sign: | The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. | https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf | +| `expiration` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. | 2025-12-31T23:59:59Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestdocumentreferencelinkjson.md b/packages/typescript/docs/models/components/meetingrequestdocumentreferencelinkjson.md deleted file mode 100644 index 1614e3f49..000000000 --- a/packages/typescript/docs/models/components/meetingrequestdocumentreferencelinkjson.md +++ /dev/null @@ -1,22 +0,0 @@ -# MeetingRequestDocumentReferenceLinkJson - -A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - -## Example Usage - -```typescript -import { MeetingRequestDocumentReferenceLinkJson } from "@cvent/sdk/models/components"; - -let value: MeetingRequestDocumentReferenceLinkJson = { - url: - "https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf", - expiration: new Date("2025-12-31T23:59:59Z"), -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `url` | *string* | :heavy_minus_sign: | The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. | https://custom.cvent.com/4B31940730B6475A8D6A7785748A67EE/files/smm/8cfc2168a00342f5ba9e13f7a808df8e/78ce60fbf1da4cf5af139a65f59aed60.pdf | -| `expiration` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. | 2025-12-31T23:59:59Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestform.md b/packages/typescript/docs/models/components/meetingrequestform.md index c6b1d8a31..ea634f4e4 100644 --- a/packages/typescript/docs/models/components/meetingrequestform.md +++ b/packages/typescript/docs/models/components/meetingrequestform.md @@ -24,6 +24,8 @@ let value: MeetingRequestForm = { ], order: 1, type: "MultiSelect", + field: true, + fieldName: "Event Theme Color", hidden: false, required: true, minLength: 0, @@ -48,4 +50,4 @@ let value: MeetingRequestForm = { | `name` | *string* | :heavy_check_mark: | User-defined name of the meeting request form. | Request for Medical Meetups | | `statuses` | *string*[] | :heavy_minus_sign: | User-defined list of statuses for the meeting request form. | | | `active` | *boolean* | :heavy_minus_sign: | A boolean indicating a meeting request form's active status. When true, the meeting request form is available for new request submissions. When false, only updates can be made to existing requests for this form | true | -| `questions` | [components.MeetingRequestCustomFieldJson](../../models/components/meetingrequestcustomfieldjson.md)[] | :heavy_minus_sign: | The list of questions that will need to be answered by someone creating a meeting request from this form. | | \ No newline at end of file +| `questions` | [components.CustomFieldSchema2](../../models/components/customfieldschema2.md)[] | :heavy_minus_sign: | The list of questions that will need to be answered by someone creating a meeting request from this form. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestformpaginatedresponse.md b/packages/typescript/docs/models/components/meetingrequestformpaginatedresponse.md index cbee842f2..5b67a6628 100644 --- a/packages/typescript/docs/models/components/meetingrequestformpaginatedresponse.md +++ b/packages/typescript/docs/models/components/meetingrequestformpaginatedresponse.md @@ -44,6 +44,8 @@ let value: MeetingRequestFormPaginatedResponse = { ], order: 1, type: "MultiSelect", + field: true, + fieldName: "Event Theme Color", hidden: false, required: true, minLength: 0, @@ -66,5 +68,5 @@ let value: MeetingRequestFormPaginatedResponse = { | 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.MeetingRequestForm](../../models/components/meetingrequestform.md)[] | :heavy_check_mark: | Collection of meeting request form objects. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestpaginatedresponse.md b/packages/typescript/docs/models/components/meetingrequestpaginatedresponse.md index f8daddffe..05e028a7f 100644 --- a/packages/typescript/docs/models/components/meetingrequestpaginatedresponse.md +++ b/packages/typescript/docs/models/components/meetingrequestpaginatedresponse.md @@ -65,5 +65,5 @@ let value: MeetingRequestPaginatedResponse = { | 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.MeetingRequest](../../models/components/meetingrequest.md)[] | :heavy_check_mark: | Collection of meeting request objects. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestquestion.md b/packages/typescript/docs/models/components/meetingrequestquestion.md new file mode 100644 index 000000000..b4b65fb5d --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestquestion.md @@ -0,0 +1,33 @@ +# MeetingRequestQuestion + +A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + +## Example Usage + +```typescript +import { MeetingRequestQuestion } from "@cvent/sdk/models/components"; + +let value: MeetingRequestQuestion = { + id: "f1ea56cd-6860-4f1a-baf7-973118384384", + name: "What is your favorite color?", + type: "SingleSelect", + value: [ + "Green", + ], + answerType: "Other", + secondaryValue: "The other answer for the question.", + compositeValue: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
    * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
    * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
    * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
    * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
    * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
    * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `name` | *string* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | +| `type` | [components.QuestionType1](../../models/components/questiontype1.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | +| `value` | *string*[] | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

    In all other cases, `answerType` is not expected to be set. | Other | +| `secondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | +| `compositeValue` | *components.CompositeValue* | :heavy_minus_sign: | The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.

    The structure of the array depends on the question `type`. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestquestioninput.md b/packages/typescript/docs/models/components/meetingrequestquestioninput.md new file mode 100644 index 000000000..920ebfa07 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestquestioninput.md @@ -0,0 +1,27 @@ +# MeetingRequestQuestionInput + +A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + +## Example Usage + +```typescript +import { MeetingRequestQuestionInput } from "@cvent/sdk/models/components"; + +let value: MeetingRequestQuestionInput = { + id: "f1ea56cd-6860-4f1a-baf7-973118384384", + value: [ + "Green", + ], + answerType: "Other", + secondaryValue: "The other answer for the question.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
    * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
    * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
    * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
    * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
    * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
    * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `value` | *string*[] | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

    In all other cases, `answerType` is not expected to be set. | Other | +| `secondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestquestionjson.md b/packages/typescript/docs/models/components/meetingrequestquestionjson.md deleted file mode 100644 index 712188901..000000000 --- a/packages/typescript/docs/models/components/meetingrequestquestionjson.md +++ /dev/null @@ -1,33 +0,0 @@ -# MeetingRequestQuestionJson - -A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. - -## Example Usage - -```typescript -import { MeetingRequestQuestionJson } from "@cvent/sdk/models/components"; - -let value: MeetingRequestQuestionJson = { - id: "f1ea56cd-6860-4f1a-baf7-973118384384", - name: "What is your favorite color?", - type: "SingleSelect", - value: [ - "Green", - ], - answerType: "Other", - secondaryValue: "The other answer for the question.", - compositeValue: [], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
    * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
    * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
    * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
    * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
    * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
    * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `name` | *string* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | -| `type` | [components.QuestionTypeJson](../../models/components/questiontypejson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | -| `value` | *string*[] | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

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

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

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

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

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

    In all other cases, `answerType` is not expected to be set. | Other | -| `secondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | -| `compositeValue` | *components.CompositeValueJson* | :heavy_minus_sign: | The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead.

    The structure of the array depends on the question `type`. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestupdate.md b/packages/typescript/docs/models/components/meetingrequestupdate.md new file mode 100644 index 000000000..4f8b2a8db --- /dev/null +++ b/packages/typescript/docs/models/components/meetingrequestupdate.md @@ -0,0 +1,39 @@ +# MeetingRequestUpdate + +An updated meeting request. + +## Example Usage + +```typescript +import { MeetingRequestUpdate } from "@cvent/sdk/models/components"; + +let value: MeetingRequestUpdate = { + id: "017f1149-0f3a-4531-b1aa-6f66a6cb04f3", + name: "Limited MR", + questions: [ + { + id: "f1ea56cd-6860-4f1a-baf7-973118384384", + value: [ + "Green", + ], + answerType: "Other", + secondaryValue: "The other answer for the question.", + }, + ], + status: "Submitted to Accounting", + sourceId: "sourceId12", + statusNote: + "The status indicates that the request is submitted to accounting", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The ID of a meeting request. | 017f1149-0f3a-4531-b1aa-6f66a6cb04f3 | +| `name` | *string* | :heavy_minus_sign: | The name of the specific meeting request. | Limited MR | +| `questions` | [components.MeetingRequestQuestionInput](../../models/components/meetingrequestquestioninput.md)[] | :heavy_minus_sign: | Questions for the meeting request. | | +| `status` | *string* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | +| `sourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | +| `statusNote` | *string* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestupdatejson.md b/packages/typescript/docs/models/components/meetingrequestupdatejson.md deleted file mode 100644 index 761a54a56..000000000 --- a/packages/typescript/docs/models/components/meetingrequestupdatejson.md +++ /dev/null @@ -1,39 +0,0 @@ -# MeetingRequestUpdateJson - -An updated meeting request. - -## Example Usage - -```typescript -import { MeetingRequestUpdateJson } from "@cvent/sdk/models/components"; - -let value: MeetingRequestUpdateJson = { - id: "017f1149-0f3a-4531-b1aa-6f66a6cb04f3", - name: "Limited MR", - questions: [ - { - id: "f1ea56cd-6860-4f1a-baf7-973118384384", - value: [ - "Green", - ], - answerType: "Other", - secondaryValue: "The other answer for the question.", - }, - ], - status: "Submitted to Accounting", - sourceId: "sourceId12", - statusNote: - "The status indicates that the request is submitted to accounting", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The ID of a meeting request. | 017f1149-0f3a-4531-b1aa-6f66a6cb04f3 | -| `name` | *string* | :heavy_minus_sign: | The name of the specific meeting request. | Limited MR | -| `questions` | [components.RequestedMeetingRequestQuestionJson](../../models/components/requestedmeetingrequestquestionjson.md)[] | :heavy_minus_sign: | Questions for the meeting request. | | -| `status` | *string* | :heavy_minus_sign: | The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. | Submitted to Accounting | -| `sourceId` | *string* | :heavy_minus_sign: | The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. | sourceId12 | -| `statusNote` | *string* | :heavy_minus_sign: | The note about the status. | The status indicates that the request is submitted to accounting | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroom.md b/packages/typescript/docs/models/components/meetingroom.md new file mode 100644 index 000000000..70272f40e --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroom.md @@ -0,0 +1,79 @@ +# MeetingRoom + +A venue meeting room. + +## Example Usage + +```typescript +import { MeetingRoom } from "@cvent/sdk/models/components"; + +let value: MeetingRoom = { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_check_mark: | The name of the meeting room. | Grand Ballroom | +| `description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [components.MeetingRoomDimensions](../../models/components/meetingroomdimensions.md) | :heavy_check_mark: | Physical dimensions for the meeting room. | | +| `displayOrder` | *number* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-123 | +| `rates` | [components.MeetingRoomRates](../../models/components/meetingroomrates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [components.MeetingRoomCapacities](../../models/components/meetingroomcapacities.md) | :heavy_minus_sign: | Capacity information for a meeting room, grouped by category. | | +| `amenities` | [components.MeetingRoomAmenity](../../models/components/meetingroomamenity.md)[] | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *boolean* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomagendaitemtype.md b/packages/typescript/docs/models/components/meetingroomagendaitemtype.md new file mode 100644 index 000000000..a31c144b8 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomagendaitemtype.md @@ -0,0 +1,17 @@ +# MeetingRoomAgendaItemType + +Defines the agenda item types of a meeting room requirement. + +## Example Usage + +```typescript +import { MeetingRoomAgendaItemType } from "@cvent/sdk/models/components"; + +let value: MeetingRoomAgendaItemType = "Breakout"; +``` + +## Values + +```typescript +"Break" | "Breakfast" | "Breakout" | "Dinner" | "Exhibit" | "General Session" | "Hospitality Desk" | "Hospitality Suite" | "Lunch" | "Meeting" | "Office" | "Other" | "Reception" | "Registration" | "Setup" | "Snack" | "Speaker Room" | "Storage Room" | "Teardown" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomagendaitemtypejson.md b/packages/typescript/docs/models/components/meetingroomagendaitemtypejson.md deleted file mode 100644 index 1a51cf6c0..000000000 --- a/packages/typescript/docs/models/components/meetingroomagendaitemtypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# MeetingRoomAgendaItemTypeJson - -Defines the agenda item types of a meeting room requirement. - -## Example Usage - -```typescript -import { MeetingRoomAgendaItemTypeJson } from "@cvent/sdk/models/components"; - -let value: MeetingRoomAgendaItemTypeJson = "Breakout"; -``` - -## Values - -```typescript -"Break" | "Breakfast" | "Breakout" | "Dinner" | "Exhibit" | "General Session" | "Hospitality Desk" | "Hospitality Suite" | "Lunch" | "Meeting" | "Office" | "Other" | "Reception" | "Registration" | "Setup" | "Snack" | "Speaker Room" | "Storage Room" | "Teardown" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomamenity.md b/packages/typescript/docs/models/components/meetingroomamenity.md new file mode 100644 index 000000000..eba5d1dbc --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomamenity.md @@ -0,0 +1,17 @@ +# MeetingRoomAmenity + +Available amenities for a meeting room. + +## Example Usage + +```typescript +import { MeetingRoomAmenity } from "@cvent/sdk/models/components"; + +let value: MeetingRoomAmenity = "PROJECTOR"; +``` + +## Values + +```typescript +"AUDIO_RECORDING" | "BACKGROUND_MUSIC" | "BLACKBOARD" | "BUILT_IN_SCREEN" | "CLOSED_CIRCUIT_VIDEO" | "DRY_ERASE_BOARD" | "DVD_PLAYER" | "EASEL" | "ELECTRIC_POINTER" | "FLIPCHART_MARKERS" | "INTERNET" | "LECTERN" | "MICROPHONE" | "MONITOR_CART" | "OUTDOOR_SPACE" | "PERSONAL_COMPUTER" | "POWERED_SPEAKER" | "PRIVATE_SPACE" | "PROJECTION_STAND" | "PROJECTOR" | "SEMI_PRIVATE_SPACE" | "TELEVISION" | "VHS_PLAYER" | "VIDEO_CAMERA" | "VIDEO_MONITOR" | "VIDEO_RECORDING" | "WHEELCHAIR_ACCESSIBLE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomcapacities.md b/packages/typescript/docs/models/components/meetingroomcapacities.md new file mode 100644 index 000000000..b8cd4fa59 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomcapacities.md @@ -0,0 +1,31 @@ +# MeetingRoomCapacities + +Capacity information for a meeting room, grouped by category. + +## Example Usage + +```typescript +import { MeetingRoomCapacities } from "@cvent/sdk/models/components"; + +let value: MeetingRoomCapacities = { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `exhibits` | [components.MeetingRoomExhibitCapacity](../../models/components/meetingroomexhibitcapacity.md)[] | :heavy_minus_sign: | Maximum number of exhibits per room setup. | +| `seating` | [components.MeetingRoomSeatingCapacity](../../models/components/meetingroomseatingcapacity.md)[] | :heavy_minus_sign: | Maximum number of attendees per seating style. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomdimensions.md b/packages/typescript/docs/models/components/meetingroomdimensions.md new file mode 100644 index 000000000..d51ed3092 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomdimensions.md @@ -0,0 +1,37 @@ +# MeetingRoomDimensions + +Physical dimensions for the meeting room. + +## Example Usage + +```typescript +import { MeetingRoomDimensions } from "@cvent/sdk/models/components"; + +let value: MeetingRoomDimensions = { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `totalSpace` | [components.AreaMeasurement](../../models/components/areameasurement.md) | :heavy_check_mark: | Measurement of area in square feet or square meters. | +| `ceilingHeight` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `length` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `width` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomexhibitcapacity.md b/packages/typescript/docs/models/components/meetingroomexhibitcapacity.md new file mode 100644 index 000000000..bcfbe6a40 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomexhibitcapacity.md @@ -0,0 +1,21 @@ +# MeetingRoomExhibitCapacity + +Maximum number of exhibits for a specific exhibit layout type in a meeting room. + +## Example Usage + +```typescript +import { MeetingRoomExhibitCapacity } from "@cvent/sdk/models/components"; + +let value: MeetingRoomExhibitCapacity = { + layoutType: "BOOTH_10x10", + maxExhibits: 50, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `layoutType` | [components.ExhibitLayoutType](../../models/components/exhibitlayouttype.md) | :heavy_check_mark: | The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. | BOOTH_10x10 | +| `maxExhibits` | *number* | :heavy_check_mark: | Maximum number of exhibits for this layout type. | 50 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomoverview.md b/packages/typescript/docs/models/components/meetingroomoverview.md new file mode 100644 index 000000000..61ba0ef0d --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomoverview.md @@ -0,0 +1,25 @@ +# MeetingRoomOverview + +An overview of a venue meeting room containing key identifiers and display properties. + +## Example Usage + +```typescript +import { MeetingRoomOverview } from "@cvent/sdk/models/components"; + +let value: MeetingRoomOverview = { + id: "b2c3d4e5-f6a7-8901-bcde-f12345678901", + name: "Grand Ballroom", + hiddenOnProfile: false, + displayOrder: 1, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The ID of the meeting room. | b2c3d4e5-f6a7-8901-bcde-f12345678901 | +| `name` | *string* | :heavy_check_mark: | The display name of the meeting room. | Grand Ballroom | +| `hiddenOnProfile` | *boolean* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | +| `displayOrder` | *number* | :heavy_minus_sign: | Position of this meeting room in the venue's room listing, with 1 being the first position. | 1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomrate.md b/packages/typescript/docs/models/components/meetingroomrate.md new file mode 100644 index 000000000..f2c9d037e --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomrate.md @@ -0,0 +1,21 @@ +# MeetingRoomRate + +Meeting room rate with a value and application type. + +## Example Usage + +```typescript +import { MeetingRoomRate } from "@cvent/sdk/models/components"; + +let value: MeetingRoomRate = { + value: 500, + applicationType: "PER_DAY", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | The monetary value of the rate. | 500 | +| `applicationType` | [components.RateApplicationType](../../models/components/rateapplicationtype.md) | :heavy_check_mark: | How the rate is applied to the meeting room booking.

    Values:
    - `COMPLIMENTARY` — Complimentary
    - `INCLUDED` — Included
    - `ONETIME_FEE` — One-Time Fee
    - `PER_DAY` — Per Day
    - `PER_HOUR` — Per Hour
    - `PER_SQ_FT` — Per Square Foot
    - `PER_SQ_MTR` — Per Square Meter
    - `TOTAL` — Total | PER_DAY | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomrates.md b/packages/typescript/docs/models/components/meetingroomrates.md new file mode 100644 index 000000000..bcb633ee9 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomrates.md @@ -0,0 +1,32 @@ +# MeetingRoomRates + +Rate information for move in/out and events. + +## Example Usage + +```typescript +import { MeetingRoomRates } from "@cvent/sdk/models/components"; + +let value: MeetingRoomRates = { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `moveIn` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `moveOut` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `event` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomrequirement.md b/packages/typescript/docs/models/components/meetingroomrequirement.md new file mode 100644 index 000000000..55ee47dd2 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomrequirement.md @@ -0,0 +1,41 @@ +# MeetingRoomRequirement + +The requirement of a meeting room on the specified date. + +## Example Usage + +```typescript +import { MeetingRoomRequirement } from "@cvent/sdk/models/components"; + +let value: MeetingRoomRequirement = { + date: "2099-12-11", + startTime: "09:30:00", + endTime: "14:45:00", + agendaItem: "Meeting Room Agenda point 1.", + agendaItemType: [ + "Breakout", + ], + setupType: [ + "Classroom", + ], + roomSize: 100, + numberOfPeople: 250, + twentyFourHourHold: false, + note: "Meeting room note.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `date` | *string* | :heavy_check_mark: | The date for the meeting room, in format of YYYY-MM-DD. | 2099-12-11 | +| `startTime` | *string* | :heavy_minus_sign: | The start time for the meeting room, in format of HH:MM:SS. | 09:30:00 | +| `endTime` | *string* | :heavy_minus_sign: | The end time for the meeting room, in format of HH:MM:SS. | 14:45:00 | +| `agendaItem` | *string* | :heavy_minus_sign: | The agenda item for the meeting room. | Meeting Room Agenda point 1. | +| `agendaItemType` | [components.MeetingRoomAgendaItemType](../../models/components/meetingroomagendaitemtype.md)[] | :heavy_minus_sign: | For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. | | +| `setupType` | [components.MeetingRoomSetupType](../../models/components/meetingroomsetuptype.md)[] | :heavy_minus_sign: | For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. | | +| `roomSize` | *number* | :heavy_minus_sign: | The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. | 100 | +| `numberOfPeople` | *number* | :heavy_minus_sign: | The number of people for the meeting room. | 250 | +| `twentyFourHourHold` | *boolean* | :heavy_minus_sign: | True indicates the meeting room is held for 24 hours. | false | +| `note` | *string* | :heavy_minus_sign: | The meeting room requirement note. | Meeting room note. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomrequirementjson.md b/packages/typescript/docs/models/components/meetingroomrequirementjson.md deleted file mode 100644 index 990119a60..000000000 --- a/packages/typescript/docs/models/components/meetingroomrequirementjson.md +++ /dev/null @@ -1,41 +0,0 @@ -# MeetingRoomRequirementJson - -The requirement of a meeting room on the specified date. - -## Example Usage - -```typescript -import { MeetingRoomRequirementJson } from "@cvent/sdk/models/components"; - -let value: MeetingRoomRequirementJson = { - date: "2099-12-11", - startTime: "09:30:00", - endTime: "14:45:00", - agendaItem: "Meeting Room Agenda point 1.", - agendaItemType: [ - "Breakout", - ], - setupType: [ - "Classroom", - ], - roomSize: 100, - numberOfPeople: 250, - twentyFourHourHold: false, - note: "Meeting room note.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `date` | *string* | :heavy_check_mark: | The date for the meeting room, in format of YYYY-MM-DD. | 2099-12-11 | -| `startTime` | *string* | :heavy_minus_sign: | The start time for the meeting room, in format of HH:MM:SS. | 09:30:00 | -| `endTime` | *string* | :heavy_minus_sign: | The end time for the meeting room, in format of HH:MM:SS. | 14:45:00 | -| `agendaItem` | *string* | :heavy_minus_sign: | The agenda item for the meeting room. | Meeting Room Agenda point 1. | -| `agendaItemType` | [components.MeetingRoomAgendaItemTypeJson](../../models/components/meetingroomagendaitemtypejson.md)[] | :heavy_minus_sign: | For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. | | -| `setupType` | [components.MeetingRoomSetupTypeJson](../../models/components/meetingroomsetuptypejson.md)[] | :heavy_minus_sign: | For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. | | -| `roomSize` | *number* | :heavy_minus_sign: | The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. | 100 | -| `numberOfPeople` | *number* | :heavy_minus_sign: | The number of people for the meeting room. | 250 | -| `twentyFourHourHold` | *boolean* | :heavy_minus_sign: | True indicates the meeting room is held for 24 hours. | false | -| `note` | *string* | :heavy_minus_sign: | The meeting room requirement note. | Meeting room note. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomseatingcapacity.md b/packages/typescript/docs/models/components/meetingroomseatingcapacity.md new file mode 100644 index 000000000..1bfa97a61 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomseatingcapacity.md @@ -0,0 +1,21 @@ +# MeetingRoomSeatingCapacity + +Maximum number of attendees for a specific seating style in a meeting room. + +## Example Usage + +```typescript +import { MeetingRoomSeatingCapacity } from "@cvent/sdk/models/components"; + +let value: MeetingRoomSeatingCapacity = { + layoutType: "THEATER", + maxAttendees: 250, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `layoutType` | [components.SeatingLayoutType](../../models/components/seatinglayouttype.md) | :heavy_check_mark: | The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. | THEATER | +| `maxAttendees` | *number* | :heavy_check_mark: | Maximum number of attendees for this seating style. | 250 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomsetuptype.md b/packages/typescript/docs/models/components/meetingroomsetuptype.md new file mode 100644 index 000000000..d36cade99 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomsetuptype.md @@ -0,0 +1,17 @@ +# MeetingRoomSetupType + +Defines the setup types of a meeting room requirement. + +## Example Usage + +```typescript +import { MeetingRoomSetupType } from "@cvent/sdk/models/components"; + +let value: MeetingRoomSetupType = "Classroom"; +``` + +## Values + +```typescript +"10x10" | "8x10" | "Buffet" | "Cabaret" | "Chevron" | "Classroom" | "Conference" | "Crescent Rounds" | "Flow" | "Herringbone" | "Hollow Square" | "Island" | "Other" | "Peninsula" | "Plated" | "Reception" | "Rounds" | "Rounds of 10" | "Rounds of 6" | "Rounds of 8" | "School Room" | "Tabletop" | "Theater" | "T-Shaped" | "U-Shaped" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomsetuptypejson.md b/packages/typescript/docs/models/components/meetingroomsetuptypejson.md deleted file mode 100644 index 80011e026..000000000 --- a/packages/typescript/docs/models/components/meetingroomsetuptypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# MeetingRoomSetupTypeJson - -Defines the setup types of a meeting room requirement. - -## Example Usage - -```typescript -import { MeetingRoomSetupTypeJson } from "@cvent/sdk/models/components"; - -let value: MeetingRoomSetupTypeJson = "Classroom"; -``` - -## Values - -```typescript -"10x10" | "8x10" | "Buffet" | "Cabaret" | "Chevron" | "Classroom" | "Conference" | "Crescent Rounds" | "Flow" | "Herringbone" | "Hollow Square" | "Island" | "Other" | "Peninsula" | "Plated" | "Reception" | "Rounds" | "Rounds of 10" | "Rounds of 6" | "Rounds of 8" | "School Room" | "Tabletop" | "Theater" | "T-Shaped" | "U-Shaped" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingroomsoverviewresponse.md b/packages/typescript/docs/models/components/meetingroomsoverviewresponse.md new file mode 100644 index 000000000..ff57130e5 --- /dev/null +++ b/packages/typescript/docs/models/components/meetingroomsoverviewresponse.md @@ -0,0 +1,45 @@ +# MeetingRoomsOverviewResponse + +Paginated overview of meeting rooms for a venue. + +## Example Usage + +```typescript +import { MeetingRoomsOverviewResponse } from "@cvent/sdk/models/components"; + +let value: MeetingRoomsOverviewResponse = { + paging: { + previousToken: "1a2b3c4d5e6f7g8h9i10j11k", + nextToken: "1a2b3c4d5e6f7g8h9i10j11k", + currentToken: "1a2b3c4d5e6f7g8h9i10j11k", + limit: 100, + totalCount: 2, + links: { + next: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + self: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + prev: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + }, + }, + data: [ + { + id: "b2c3d4e5-f6a7-8901-bcde-f12345678901", + name: "Grand Ballroom", + hiddenOnProfile: false, + displayOrder: 1, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.MeetingRoomOverview](../../models/components/meetingroomoverview.md)[] | :heavy_check_mark: | Overview of meeting rooms. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/patchmeetingroom.md b/packages/typescript/docs/models/components/patchmeetingroom.md new file mode 100644 index 000000000..9bb4e2c1a --- /dev/null +++ b/packages/typescript/docs/models/components/patchmeetingroom.md @@ -0,0 +1,80 @@ +# PatchMeetingRoom + +Partial update payload for a venue meeting room. + +## Example Usage + +```typescript +import { PatchMeetingRoom } from "@cvent/sdk/models/components"; + +let value: PatchMeetingRoom = { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-RM-12345", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + hiddenOnProfile: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the meeting room. | Grand Ballroom | +| `description` | *string* | :heavy_minus_sign: | The detailed description of the meeting room. | Large conference space with natural lighting | +| `dimensions` | [components.PatchMeetingRoomDimensions](../../models/components/patchmeetingroomdimensions.md) | :heavy_minus_sign: | Physical dimensions for the meeting room. | | +| `displayOrder` | *number* | :heavy_minus_sign: | The position of this meeting room in the venue's room listing. | 1 | +| `externalSourceId` | *string* | :heavy_minus_sign: | The provider's own identifier for this meeting room. | EXT-RM-12345 | +| `rates` | [components.PatchMeetingRoomRates](../../models/components/patchmeetingroomrates.md) | :heavy_minus_sign: | Rate information for move in/out and events. | | +| `capacities` | [components.Capacities](../../models/components/capacities.md) | :heavy_minus_sign: | Capacity information for the meeting room, grouped by category. | | +| `amenities` | [components.MeetingRoomAmenity](../../models/components/meetingroomamenity.md)[] | :heavy_minus_sign: | List of amenities available in the meeting room. | | +| `hiddenOnProfile` | *boolean* | :heavy_minus_sign: | True indicates the meeting room is hidden on the venue profile. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/patchmeetingroomdimensions.md b/packages/typescript/docs/models/components/patchmeetingroomdimensions.md new file mode 100644 index 000000000..e22367bcc --- /dev/null +++ b/packages/typescript/docs/models/components/patchmeetingroomdimensions.md @@ -0,0 +1,37 @@ +# PatchMeetingRoomDimensions + +Physical dimensions for the meeting room. + +## Example Usage + +```typescript +import { PatchMeetingRoomDimensions } from "@cvent/sdk/models/components"; + +let value: PatchMeetingRoomDimensions = { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `totalSpace` | [components.AreaMeasurement](../../models/components/areameasurement.md) | :heavy_minus_sign: | Measurement of area in square feet or square meters. | +| `ceilingHeight` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `length` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | +| `width` | [components.Dimension](../../models/components/dimension.md) | :heavy_minus_sign: | A dimension measurement in feet or meters. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/patchmeetingroomrates.md b/packages/typescript/docs/models/components/patchmeetingroomrates.md new file mode 100644 index 000000000..d91d130ee --- /dev/null +++ b/packages/typescript/docs/models/components/patchmeetingroomrates.md @@ -0,0 +1,32 @@ +# PatchMeetingRoomRates + +Rate information for move in/out and events. + +## Example Usage + +```typescript +import { PatchMeetingRoomRates } from "@cvent/sdk/models/components"; + +let value: PatchMeetingRoomRates = { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `moveIn` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `moveOut` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | +| `event` | [components.MeetingRoomRate](../../models/components/meetingroomrate.md) | :heavy_minus_sign: | Meeting room rate with a value and application type. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/pollresponse.md b/packages/typescript/docs/models/components/pollresponse.md new file mode 100644 index 000000000..9cf7aaff8 --- /dev/null +++ b/packages/typescript/docs/models/components/pollresponse.md @@ -0,0 +1,33 @@ +# PollResponse + +This is used to denote the poll details. + +## Example Usage + +```typescript +import { PollResponse } from "@cvent/sdk/models/components"; + +let value: PollResponse = { + name: "Do you like the session?", + responses: [ + { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + answers: [ + { + value: "my answer", + }, + ], + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_minus_sign: | The name of the poll. | Do you like the session? | +| `responses` | [components.BaseQuestionResponse](../../models/components/basequestionresponse.md)[] | :heavy_minus_sign: | The list of question and answers for a poll. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/pollresponsejson.md b/packages/typescript/docs/models/components/pollresponsejson.md deleted file mode 100644 index 8408eacda..000000000 --- a/packages/typescript/docs/models/components/pollresponsejson.md +++ /dev/null @@ -1,33 +0,0 @@ -# PollResponseJson - -This is used to denote the poll details. - -## Example Usage - -```typescript -import { PollResponseJson } from "@cvent/sdk/models/components"; - -let value: PollResponseJson = { - name: "Do you like the session?", - responses: [ - { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - answers: [ - { - value: "my answer", - }, - ], - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the poll. | Do you like the session? | -| `responses` | [components.BaseQuestionResponseJson](../../models/components/basequestionresponsejson.md)[] | :heavy_minus_sign: | The list of question and answers for a poll. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processform.md b/packages/typescript/docs/models/components/processform.md new file mode 100644 index 000000000..946c64acf --- /dev/null +++ b/packages/typescript/docs/models/components/processform.md @@ -0,0 +1,21 @@ +# ProcessForm + +An object that contains the process form ID. + +This is an **expandable** object and if requested will contain the name of a process form object. + +## Example Usage + +```typescript +import { ProcessForm } from "@cvent/sdk/models/components"; + +let value: ProcessForm = { + id: "9c97eb50-9f88-4972-a603-f617fc3258dd", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The ID of the process form. | 9c97eb50-9f88-4972-a603-f617fc3258dd | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformjson.md b/packages/typescript/docs/models/components/processformjson.md deleted file mode 100644 index 06ca90a93..000000000 --- a/packages/typescript/docs/models/components/processformjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ProcessFormJson - -An object that contains the process form ID. - -This is an **expandable** object and if requested will contain the name of a process form object. - -## Example Usage - -```typescript -import { ProcessFormJson } from "@cvent/sdk/models/components"; - -let value: ProcessFormJson = { - id: "9c97eb50-9f88-4972-a603-f617fc3258dd", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The ID of the process form. | 9c97eb50-9f88-4972-a603-f617fc3258dd | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformquestiontypejson.md b/packages/typescript/docs/models/components/processformquestiontypejson.md deleted file mode 100644 index 92f999296..000000000 --- a/packages/typescript/docs/models/components/processformquestiontypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ProcessFormQuestionTypeJson - -Denotes the type of data collected by a question. - -## Example Usage - -```typescript -import { ProcessFormQuestionTypeJson } from "@cvent/sdk/models/components"; - -let value: ProcessFormQuestionTypeJson = "Number"; -``` - -## Values - -```typescript -"CommentBox" | "Currency" | "Decimal" | "DateTime" | "Email" | "General" | "Number" | "MultiSelect" | "SingleSelect" | "USPhoneNumber" | "Unknown" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformsubmission.md b/packages/typescript/docs/models/components/processformsubmission.md new file mode 100644 index 000000000..c5c707310 --- /dev/null +++ b/packages/typescript/docs/models/components/processformsubmission.md @@ -0,0 +1,48 @@ +# ProcessFormSubmission + +Represents a process form submission in the context of a specific event. + +## Example Usage + +```typescript +import { ProcessFormSubmission } from "@cvent/sdk/models/components"; + +let value: ProcessFormSubmission = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + id: "f66a6cb0-4531-0f3a-cb1a-64f3017f1149", + event: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + processForm: { + id: "9c97eb50-9f88-4972-a603-f617fc3258dd", + }, + status: "initialized", + questions: [ + { + id: "f1ea56cd-6860-4f1a-baf7-973118384384", + name: "What is your favorite color?", + type: "Currency", + value: [ + "Green", + ], + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `id` | *string* | :heavy_check_mark: | The unique ID representing the process form submission. | f66a6cb0-4531-0f3a-cb1a-64f3017f1149 | +| `event` | [components.ProcessFormSubmissionEvent](../../models/components/processformsubmissionevent.md) | :heavy_check_mark: | The event which the process form submission is associated with. | | +| `processForm` | [components.ProcessForm](../../models/components/processform.md) | :heavy_minus_sign: | An object that contains the process form ID.

    This is an **expandable** object and if requested will contain the name of a process form object. | | +| `status` | *string* | :heavy_minus_sign: | The status of the process form submission. The status is planner defined and can be any string. | initialized | +| `questions` | [components.ProcessFormSubmissionQuestion](../../models/components/processformsubmissionquestion.md)[] | :heavy_minus_sign: | The list of possible answers to a question. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformsubmissionevent.md b/packages/typescript/docs/models/components/processformsubmissionevent.md new file mode 100644 index 000000000..c61667696 --- /dev/null +++ b/packages/typescript/docs/models/components/processformsubmissionevent.md @@ -0,0 +1,19 @@ +# ProcessFormSubmissionEvent + +The event which the process form submission is associated with. + +## Example Usage + +```typescript +import { ProcessFormSubmissionEvent } from "@cvent/sdk/models/components"; + +let value: ProcessFormSubmissionEvent = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformsubmissionjson.md b/packages/typescript/docs/models/components/processformsubmissionjson.md deleted file mode 100644 index 714087d54..000000000 --- a/packages/typescript/docs/models/components/processformsubmissionjson.md +++ /dev/null @@ -1,48 +0,0 @@ -# ProcessFormSubmissionJson - -Represents a process form submission in the context of a specific event. - -## Example Usage - -```typescript -import { ProcessFormSubmissionJson } from "@cvent/sdk/models/components"; - -let value: ProcessFormSubmissionJson = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - id: "f66a6cb0-4531-0f3a-cb1a-64f3017f1149", - event: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - processForm: { - id: "9c97eb50-9f88-4972-a603-f617fc3258dd", - }, - status: "initialized", - questions: [ - { - id: "f1ea56cd-6860-4f1a-baf7-973118384384", - name: "What is your favorite color?", - type: "Currency", - value: [ - "Green", - ], - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `id` | *string* | :heavy_check_mark: | The unique ID representing the process form submission. | f66a6cb0-4531-0f3a-cb1a-64f3017f1149 | -| `event` | [components.ProcessFormSubmissionJsonEvent](../../models/components/processformsubmissionjsonevent.md) | :heavy_check_mark: | The event which the process form submission is associated with. | | -| `processForm` | [components.ProcessFormJson](../../models/components/processformjson.md) | :heavy_minus_sign: | An object that contains the process form ID.

    This is an **expandable** object and if requested will contain the name of a process form object. | | -| `status` | *string* | :heavy_minus_sign: | The status of the process form submission. The status is planner defined and can be any string. | initialized | -| `questions` | [components.ProcessFormSubmissionQuestionJson](../../models/components/processformsubmissionquestionjson.md)[] | :heavy_minus_sign: | The list of possible answers to a question. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformsubmissionjsonevent.md b/packages/typescript/docs/models/components/processformsubmissionjsonevent.md deleted file mode 100644 index 1d8577f0c..000000000 --- a/packages/typescript/docs/models/components/processformsubmissionjsonevent.md +++ /dev/null @@ -1,19 +0,0 @@ -# ProcessFormSubmissionJsonEvent - -The event which the process form submission is associated with. - -## Example Usage - -```typescript -import { ProcessFormSubmissionJsonEvent } from "@cvent/sdk/models/components"; - -let value: ProcessFormSubmissionJsonEvent = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformsubmissionquestion.md b/packages/typescript/docs/models/components/processformsubmissionquestion.md new file mode 100644 index 000000000..1f9f8d627 --- /dev/null +++ b/packages/typescript/docs/models/components/processformsubmissionquestion.md @@ -0,0 +1,27 @@ +# ProcessFormSubmissionQuestion + +A question for a process form submission. + +## Example Usage + +```typescript +import { ProcessFormSubmissionQuestion } from "@cvent/sdk/models/components"; + +let value: ProcessFormSubmissionQuestion = { + id: "f1ea56cd-6860-4f1a-baf7-973118384384", + name: "What is your favorite color?", + type: "Decimal", + value: [ + "Green", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID representing this question. | f1ea56cd-6860-4f1a-baf7-973118384384 | +| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `type` | [components.QuestionType11](../../models/components/questiontype11.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | FreeText | +| `value` | *string*[] | :heavy_check_mark: | The set of answers to the question. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformsubmissionquestionjson.md b/packages/typescript/docs/models/components/processformsubmissionquestionjson.md deleted file mode 100644 index cb18b1e82..000000000 --- a/packages/typescript/docs/models/components/processformsubmissionquestionjson.md +++ /dev/null @@ -1,27 +0,0 @@ -# ProcessFormSubmissionQuestionJson - -A question for a process form submission. - -## Example Usage - -```typescript -import { ProcessFormSubmissionQuestionJson } from "@cvent/sdk/models/components"; - -let value: ProcessFormSubmissionQuestionJson = { - id: "f1ea56cd-6860-4f1a-baf7-973118384384", - name: "What is your favorite color?", - type: "SingleSelect", - value: [ - "Green", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | The unique ID representing this question. | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `type` | [components.ProcessFormQuestionTypeJson](../../models/components/processformquestiontypejson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | FreeText | -| `value` | *string*[] | :heavy_check_mark: | The set of answers to the question. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/processformsubmissionspaginatedresponse.md b/packages/typescript/docs/models/components/processformsubmissionspaginatedresponse.md index 0297429de..7a0ccfac7 100644 --- a/packages/typescript/docs/models/components/processformsubmissionspaginatedresponse.md +++ b/packages/typescript/docs/models/components/processformsubmissionspaginatedresponse.md @@ -57,7 +57,7 @@ let value: ProcessFormSubmissionsPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.ProcessFormSubmissionJson](../../models/components/processformsubmissionjson.md)[] | :heavy_check_mark: | Collection of process form submission objects. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.ProcessFormSubmission](../../models/components/processformsubmission.md)[] | :heavy_check_mark: | Collection of process form submission objects. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/question2.md b/packages/typescript/docs/models/components/question2.md new file mode 100644 index 000000000..338256f9e --- /dev/null +++ b/packages/typescript/docs/models/components/question2.md @@ -0,0 +1,23 @@ +# Question2 + +The question that was answered. + +## Example Usage + +```typescript +import { Question2 } from "@cvent/sdk/models/components"; + +let value: Question2 = { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiondetail.md b/packages/typescript/docs/models/components/questiondetail.md new file mode 100644 index 000000000..f8448787d --- /dev/null +++ b/packages/typescript/docs/models/components/questiondetail.md @@ -0,0 +1,21 @@ +# QuestionDetail + +The question asked in a session. + +## Example Usage + +```typescript +import { QuestionDetail } from "@cvent/sdk/models/components"; + +let value: QuestionDetail = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + text: "Is this a new session?", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `text` | *string* | :heavy_minus_sign: | Question text. | Is this a new session? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiondetailjson.md b/packages/typescript/docs/models/components/questiondetailjson.md deleted file mode 100644 index df4695c2a..000000000 --- a/packages/typescript/docs/models/components/questiondetailjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# QuestionDetailJson - -The question asked in a session. - -## Example Usage - -```typescript -import { QuestionDetailJson } from "@cvent/sdk/models/components"; - -let value: QuestionDetailJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - text: "Is this a new session?", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `text` | *string* | :heavy_minus_sign: | Question text. | Is this a new session? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionjson1.md b/packages/typescript/docs/models/components/questionjson1.md index caf0130f5..2ac1e5ed2 100644 --- a/packages/typescript/docs/models/components/questionjson1.md +++ b/packages/typescript/docs/models/components/questionjson1.md @@ -94,7 +94,7 @@ let value: QuestionJson1 = { | `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `type` | [components.QuestionTypeJson](../../models/components/questiontypejson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `choices` | [components.ChoiceJson1](../../models/components/choicejson1.md)[] | :heavy_minus_sign: | List of choices for the question. | | | `categories` | [components.CategoryJson1](../../models/components/categoryjson1.md)[] | :heavy_minus_sign: | List of categories for the question. | | | `subCategories` | [components.TextFieldJson](../../models/components/textfieldjson.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/typescript/docs/models/components/questionjson2.md b/packages/typescript/docs/models/components/questionjson2.md deleted file mode 100644 index 962f01f57..000000000 --- a/packages/typescript/docs/models/components/questionjson2.md +++ /dev/null @@ -1,23 +0,0 @@ -# QuestionJson2 - -The question that was answered. - -## Example Usage - -```typescript -import { QuestionJson2 } from "@cvent/sdk/models/components"; - -let value: QuestionJson2 = { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponse.md b/packages/typescript/docs/models/components/questionresponse.md new file mode 100644 index 000000000..0df577fee --- /dev/null +++ b/packages/typescript/docs/models/components/questionresponse.md @@ -0,0 +1,30 @@ +# QuestionResponse + +A Question response. + +## Example Usage + +```typescript +import { QuestionResponse } from "@cvent/sdk/models/components"; + +let value: QuestionResponse = { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", + }, + answers: [ + { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `question` | [components.Question2](../../models/components/question2.md) | :heavy_minus_sign: | The question that was answered. | +| `answers` | [components.Answer21](../../models/components/answer21.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponsejson.md b/packages/typescript/docs/models/components/questionresponsejson.md deleted file mode 100644 index 4ac4b8d17..000000000 --- a/packages/typescript/docs/models/components/questionresponsejson.md +++ /dev/null @@ -1,30 +0,0 @@ -# QuestionResponseJson - -A Question response. - -## Example Usage - -```typescript -import { QuestionResponseJson } from "@cvent/sdk/models/components"; - -let value: QuestionResponseJson = { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", - }, - answers: [ - { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `question` | [components.QuestionJson2](../../models/components/questionjson2.md) | :heavy_minus_sign: | The question that was answered. | -| `answers` | [components.AnswerJson1](../../models/components/answerjson1.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontype1.md b/packages/typescript/docs/models/components/questiontype1.md new file mode 100644 index 000000000..e482f3da2 --- /dev/null +++ b/packages/typescript/docs/models/components/questiontype1.md @@ -0,0 +1,17 @@ +# QuestionType1 + +Denotes the type of data collected by a question. + +## Example Usage + +```typescript +import { QuestionType1 } from "@cvent/sdk/models/components"; + +let value: QuestionType1 = "SingleSelect"; +``` + +## Values + +```typescript +"AutoIncrement" | "BudgetEstimates" | "ConsentQuestion" | "Country" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "Number" | "MeetingRoomRequirements" | "MultiSelect" | "SingleSelect" | "SleepingRoomRequirements" | "USPhoneNumber" | "Unknown" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontype11.md b/packages/typescript/docs/models/components/questiontype11.md new file mode 100644 index 000000000..a5863e160 --- /dev/null +++ b/packages/typescript/docs/models/components/questiontype11.md @@ -0,0 +1,17 @@ +# QuestionType11 + +Denotes the type of data collected by a question. + +## Example Usage + +```typescript +import { QuestionType11 } from "@cvent/sdk/models/components"; + +let value: QuestionType11 = "Currency"; +``` + +## Values + +```typescript +"CommentBox" | "Currency" | "Decimal" | "DateTime" | "Email" | "General" | "Number" | "MultiSelect" | "SingleSelect" | "USPhoneNumber" | "Unknown" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontypejson.md b/packages/typescript/docs/models/components/questiontypejson.md index 9f2e7fcee..6214f91a4 100644 --- a/packages/typescript/docs/models/components/questiontypejson.md +++ b/packages/typescript/docs/models/components/questiontypejson.md @@ -1,17 +1,17 @@ # QuestionTypeJson -Denotes the type of data collected by a question. +Question Type. ## Example Usage ```typescript import { QuestionTypeJson } from "@cvent/sdk/models/components"; -let value: QuestionTypeJson = "SingleSelect"; +let value: QuestionTypeJson = "SingleChoice"; ``` ## Values ```typescript -"AutoIncrement" | "BudgetEstimates" | "ConsentQuestion" | "Country" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "Number" | "MeetingRoomRequirements" | "MultiSelect" | "SingleSelect" | "SleepingRoomRequirements" | "USPhoneNumber" | "Unknown" +"SingleChoice" | "MultiChoice" | "MatrixSingleChoice" | "MatrixMultiChoice" | "MatrixSideBySide" | "MatrixSpreadSheet" | "DateTime" | "Number" | "Text" | "CommentBox" | "Form" | "RankOrder" | "FileUpload" | "NetPromoter" | "Rating" | "MatrixRating" | "NumberAllocation" | "LargeChoices" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontypejson1.md b/packages/typescript/docs/models/components/questiontypejson1.md index 3251fbfea..6c67af6ae 100644 --- a/packages/typescript/docs/models/components/questiontypejson1.md +++ b/packages/typescript/docs/models/components/questiontypejson1.md @@ -1,17 +1,17 @@ # QuestionTypeJson1 -Question Type. +This object represents the type of a question ## Example Usage ```typescript import { QuestionTypeJson1 } from "@cvent/sdk/models/components"; -let value: QuestionTypeJson1 = "SingleChoice"; +let value: QuestionTypeJson1 = "MatrixMultiPerRow"; ``` ## Values ```typescript -"SingleChoice" | "MultiChoice" | "MatrixSingleChoice" | "MatrixMultiChoice" | "MatrixSideBySide" | "MatrixSpreadSheet" | "DateTime" | "Number" | "Text" | "CommentBox" | "Form" | "RankOrder" | "FileUpload" | "NetPromoter" | "Rating" | "MatrixRating" | "NumberAllocation" | "LargeChoices" +"SingleChoice" | "MultiChoice" | "OpenEndedDateTime" | "OpenEndedTextOneLine" | "OpenEndedTextCommentBox" | "OpenEndedNumeric" | "FileUpload" | "MatrixSinglePerRow" | "MatrixMultiPerRow" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontypejson2.md b/packages/typescript/docs/models/components/questiontypejson2.md deleted file mode 100644 index ae18e8000..000000000 --- a/packages/typescript/docs/models/components/questiontypejson2.md +++ /dev/null @@ -1,17 +0,0 @@ -# QuestionTypeJson2 - -This object represents the type of a question - -## Example Usage - -```typescript -import { QuestionTypeJson2 } from "@cvent/sdk/models/components"; - -let value: QuestionTypeJson2 = "MatrixSinglePerRow"; -``` - -## Values - -```typescript -"SingleChoice" | "MultiChoice" | "OpenEndedDateTime" | "OpenEndedTextOneLine" | "OpenEndedTextCommentBox" | "OpenEndedNumeric" | "FileUpload" | "MatrixSinglePerRow" | "MatrixMultiPerRow" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rateapplicationtype.md b/packages/typescript/docs/models/components/rateapplicationtype.md new file mode 100644 index 000000000..1eddb0541 --- /dev/null +++ b/packages/typescript/docs/models/components/rateapplicationtype.md @@ -0,0 +1,27 @@ +# RateApplicationType + +How the rate is applied to the meeting room booking. + +Values: +- `COMPLIMENTARY` — Complimentary +- `INCLUDED` — Included +- `ONETIME_FEE` — One-Time Fee +- `PER_DAY` — Per Day +- `PER_HOUR` — Per Hour +- `PER_SQ_FT` — Per Square Foot +- `PER_SQ_MTR` — Per Square Meter +- `TOTAL` — Total + +## Example Usage + +```typescript +import { RateApplicationType } from "@cvent/sdk/models/components"; + +let value: RateApplicationType = "PER_DAY"; +``` + +## Values + +```typescript +"COMPLIMENTARY" | "INCLUDED" | "ONETIME_FEE" | "PER_DAY" | "PER_HOUR" | "PER_SQ_FT" | "PER_SQ_MTR" | "TOTAL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/requestedmeetingrequestquestionjson.md b/packages/typescript/docs/models/components/requestedmeetingrequestquestionjson.md deleted file mode 100644 index 4f5b84a0b..000000000 --- a/packages/typescript/docs/models/components/requestedmeetingrequestquestionjson.md +++ /dev/null @@ -1,27 +0,0 @@ -# RequestedMeetingRequestQuestionJson - -A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine how to format the `value` array. - -## Example Usage - -```typescript -import { RequestedMeetingRequestQuestionJson } from "@cvent/sdk/models/components"; - -let value: RequestedMeetingRequestQuestionJson = { - id: "f1ea56cd-6860-4f1a-baf7-973118384384", - value: [ - "Green", - ], - answerType: "Other", - secondaryValue: "The other answer for the question.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
    * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
    * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
    * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
    * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
    * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
    * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | -| `value` | *string*[] | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

    **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`).

    **Country/Region questions (`type: Country`):** Provide either the country name (for example, `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes).

    **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object.

    *Meeting Room Requirement example (one item in value array):*
    `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"`

    *Sleeping Room Requirement example:*
    `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"`

    *Budget Estimate example:*
    `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` | | -| `answerType` | [components.AnswerTypeJson](../../models/components/answertypejson.md) | :heavy_minus_sign: | Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.

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

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

    In all other cases, `answerType` is not expected to be set. | Other | -| `secondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/requestt.md b/packages/typescript/docs/models/components/requestt.md index 74c6f4236..a8cd52ec2 100644 --- a/packages/typescript/docs/models/components/requestt.md +++ b/packages/typescript/docs/models/components/requestt.md @@ -5,10 +5,10 @@ The processed request tied to this response. This field is only sent when proces ## Supported Types -### `components.MeetingRequestBulkResponseItemJsonRequest` +### `components.MeetingRequestBulkResponseItemRequest` ```typescript -const value: components.MeetingRequestBulkResponseItemJsonRequest = {}; +const value: components.MeetingRequestBulkResponseItemRequest = {}; ``` ### `string` diff --git a/packages/typescript/docs/models/components/seatinglayouttype.md b/packages/typescript/docs/models/components/seatinglayouttype.md new file mode 100644 index 000000000..3e13f84b7 --- /dev/null +++ b/packages/typescript/docs/models/components/seatinglayouttype.md @@ -0,0 +1,17 @@ +# SeatingLayoutType + +The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + +## Example Usage + +```typescript +import { SeatingLayoutType } from "@cvent/sdk/models/components"; + +let value: SeatingLayoutType = "THEATER"; +``` + +## Values + +```typescript +"BANQUET" | "CLASSROOM" | "COCKTAIL_ROUNDS" | "CONFERENCE" | "CRESCENT_ROUNDS" | "E_SHAPE" | "HOLLOW_SQUARE" | "MAXIMUM_CAPACITY" | "PERIMETER_SEATING" | "ROYAL_CONFERENCE" | "TALK_SHOW" | "THEATER" | "T_SHAPE" | "U_SHAPE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionactivity10.md b/packages/typescript/docs/models/components/sessionactivity10.md deleted file mode 100644 index ae607123d..000000000 --- a/packages/typescript/docs/models/components/sessionactivity10.md +++ /dev/null @@ -1,23 +0,0 @@ -# SessionActivity10 - -The activity session. - -## Example Usage - -```typescript -import { SessionActivity10 } from "@cvent/sdk/models/components"; - -let value: SessionActivity10 = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionactivity11.md b/packages/typescript/docs/models/components/sessionactivity11.md deleted file mode 100644 index aea92d666..000000000 --- a/packages/typescript/docs/models/components/sessionactivity11.md +++ /dev/null @@ -1,23 +0,0 @@ -# SessionActivity11 - -The activity session. - -## Example Usage - -```typescript -import { SessionActivity11 } from "@cvent/sdk/models/components"; - -let value: SessionActivity11 = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionactivity8.md b/packages/typescript/docs/models/components/sessionactivity8.md deleted file mode 100644 index d6688f30c..000000000 --- a/packages/typescript/docs/models/components/sessionactivity8.md +++ /dev/null @@ -1,23 +0,0 @@ -# SessionActivity8 - -The activity session. - -## Example Usage - -```typescript -import { SessionActivity8 } from "@cvent/sdk/models/components"; - -let value: SessionActivity8 = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionactivity9.md b/packages/typescript/docs/models/components/sessionactivity9.md deleted file mode 100644 index 007de0e22..000000000 --- a/packages/typescript/docs/models/components/sessionactivity9.md +++ /dev/null @@ -1,23 +0,0 @@ -# SessionActivity9 - -The activity session. - -## Example Usage - -```typescript -import { SessionActivity9 } from "@cvent/sdk/models/components"; - -let value: SessionActivity9 = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - title: "tech_session", - code: "XRNGB4YY3CX", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | -| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionfeedbacksubmitted.md b/packages/typescript/docs/models/components/sessionfeedbacksubmitted.md index 7eb48d5a5..3d3809421 100644 --- a/packages/typescript/docs/models/components/sessionfeedbacksubmitted.md +++ b/packages/typescript/docs/models/components/sessionfeedbacksubmitted.md @@ -36,7 +36,7 @@ let value: SessionFeedbackSubmitted = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [components.SessionActivity4](../../models/components/sessionactivity4.md) | :heavy_minus_sign: | The activity session. | -| `survey` | [components.SurveyResponseJson](../../models/components/surveyresponsejson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `session` | [components.SessionFeedbackSubmittedSessionActivity](../../models/components/sessionfeedbacksubmittedsessionactivity.md) | :heavy_minus_sign: | The activity session. | +| `survey` | [components.SurveyResponse](../../models/components/surveyresponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionfeedbacksubmittedsessionactivity.md b/packages/typescript/docs/models/components/sessionfeedbacksubmittedsessionactivity.md new file mode 100644 index 000000000..d7328131f --- /dev/null +++ b/packages/typescript/docs/models/components/sessionfeedbacksubmittedsessionactivity.md @@ -0,0 +1,23 @@ +# SessionFeedbackSubmittedSessionActivity + +The activity session. + +## Example Usage + +```typescript +import { SessionFeedbackSubmittedSessionActivity } from "@cvent/sdk/models/components"; + +let value: SessionFeedbackSubmittedSessionActivity = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionnoshow.md b/packages/typescript/docs/models/components/sessionnoshow.md index 279c2358f..e19dde07f 100644 --- a/packages/typescript/docs/models/components/sessionnoshow.md +++ b/packages/typescript/docs/models/components/sessionnoshow.md @@ -20,4 +20,4 @@ let value: SessionNoShow = { | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `session` | [components.SessionActivity5](../../models/components/sessionactivity5.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| `session` | [components.SessionActivity4](../../models/components/sessionactivity4.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionpollresponsesubmitted.md b/packages/typescript/docs/models/components/sessionpollresponsesubmitted.md index 707a14a5f..05daaba2c 100644 --- a/packages/typescript/docs/models/components/sessionpollresponsesubmitted.md +++ b/packages/typescript/docs/models/components/sessionpollresponsesubmitted.md @@ -34,7 +34,7 @@ let value: SessionPollResponseSubmitted = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `session` | [components.SessionActivity6](../../models/components/sessionactivity6.md) | :heavy_minus_sign: | The activity session. | -| `poll` | [components.PollResponseJson](../../models/components/pollresponsejson.md) | :heavy_minus_sign: | This is used to denote the poll details. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `session` | [components.SessionPollResponseSubmittedSessionActivity](../../models/components/sessionpollresponsesubmittedsessionactivity.md) | :heavy_minus_sign: | The activity session. | +| `poll` | [components.PollResponse](../../models/components/pollresponse.md) | :heavy_minus_sign: | This is used to denote the poll details. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionpollresponsesubmittedsessionactivity.md b/packages/typescript/docs/models/components/sessionpollresponsesubmittedsessionactivity.md new file mode 100644 index 000000000..3bf8b44c8 --- /dev/null +++ b/packages/typescript/docs/models/components/sessionpollresponsesubmittedsessionactivity.md @@ -0,0 +1,23 @@ +# SessionPollResponseSubmittedSessionActivity + +The activity session. + +## Example Usage + +```typescript +import { SessionPollResponseSubmittedSessionActivity } from "@cvent/sdk/models/components"; + +let value: SessionPollResponseSubmittedSessionActivity = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionquestionasked.md b/packages/typescript/docs/models/components/sessionquestionasked.md index e91a43f10..1d0abe805 100644 --- a/packages/typescript/docs/models/components/sessionquestionasked.md +++ b/packages/typescript/docs/models/components/sessionquestionasked.md @@ -25,10 +25,10 @@ let value: SessionQuestionAsked = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [components.SessionActivity7](../../models/components/sessionactivity7.md) | :heavy_minus_sign: | The activity session. | | -| `question` | [components.QuestionDetailJson](../../models/components/questiondetailjson.md) | :heavy_minus_sign: | The question asked in a session. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `votes` | *number* | :heavy_minus_sign: | The number of votes for a question. | 0 | -| `anonymous` | *boolean* | :heavy_minus_sign: | True indicates the question was posted anonymously. | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `session` | [components.SessionQuestionAskedSessionActivity](../../models/components/sessionquestionaskedsessionactivity.md) | :heavy_minus_sign: | The activity session. | | +| `question` | [components.QuestionDetail](../../models/components/questiondetail.md) | :heavy_minus_sign: | The question asked in a session. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `votes` | *number* | :heavy_minus_sign: | The number of votes for a question. | 0 | +| `anonymous` | *boolean* | :heavy_minus_sign: | True indicates the question was posted anonymously. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionquestionaskedsessionactivity.md b/packages/typescript/docs/models/components/sessionquestionaskedsessionactivity.md new file mode 100644 index 000000000..dc0baab90 --- /dev/null +++ b/packages/typescript/docs/models/components/sessionquestionaskedsessionactivity.md @@ -0,0 +1,23 @@ +# SessionQuestionAskedSessionActivity + +The activity session. + +## Example Usage + +```typescript +import { SessionQuestionAskedSessionActivity } from "@cvent/sdk/models/components"; + +let value: SessionQuestionAskedSessionActivity = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionquestionupvoted.md b/packages/typescript/docs/models/components/sessionquestionupvoted.md index e84a07d13..2bbc3b1c7 100644 --- a/packages/typescript/docs/models/components/sessionquestionupvoted.md +++ b/packages/typescript/docs/models/components/sessionquestionupvoted.md @@ -24,9 +24,9 @@ let value: SessionQuestionUpvoted = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [components.SessionActivity8](../../models/components/sessionactivity8.md) | :heavy_minus_sign: | The activity session. | | -| `question` | [components.QuestionDetailJson](../../models/components/questiondetailjson.md) | :heavy_minus_sign: | The question asked in a session. | | -| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | -| `votes` | *number* | :heavy_minus_sign: | The number of votes for a question. | 0 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `session` | [components.SessionActivity5](../../models/components/sessionactivity5.md) | :heavy_minus_sign: | The activity session. | | +| `question` | [components.QuestionDetail](../../models/components/questiondetail.md) | :heavy_minus_sign: | The question asked in a session. | | +| `platform` | *string* | :heavy_minus_sign: | The platform used by the user. | Attendee Hub | +| `votes` | *number* | :heavy_minus_sign: | The number of votes for a question. | 0 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionunenrolled.md b/packages/typescript/docs/models/components/sessionunenrolled.md index a5d804fbf..a66b8341c 100644 --- a/packages/typescript/docs/models/components/sessionunenrolled.md +++ b/packages/typescript/docs/models/components/sessionunenrolled.md @@ -20,4 +20,4 @@ let value: SessionUnenrolled = { | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `session` | [components.SessionActivity9](../../models/components/sessionactivity9.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| `session` | [components.SessionActivity6](../../models/components/sessionactivity6.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionwaitlisted.md b/packages/typescript/docs/models/components/sessionwaitlisted.md index 0b7d33eb8..865d8af33 100644 --- a/packages/typescript/docs/models/components/sessionwaitlisted.md +++ b/packages/typescript/docs/models/components/sessionwaitlisted.md @@ -18,6 +18,6 @@ let value: SessionWaitlisted = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `session` | [components.SessionActivity10](../../models/components/sessionactivity10.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `session` | [components.SessionActivity7](../../models/components/sessionactivity7.md) | :heavy_minus_sign: | The activity session. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sleepingroomrequirement.md b/packages/typescript/docs/models/components/sleepingroomrequirement.md new file mode 100644 index 000000000..79e956191 --- /dev/null +++ b/packages/typescript/docs/models/components/sleepingroomrequirement.md @@ -0,0 +1,29 @@ +# SleepingRoomRequirement + +The requirements of a sleeping room on the specified date. + +## Example Usage + +```typescript +import { SleepingRoomRequirement } from "@cvent/sdk/models/components"; + +let value: SleepingRoomRequirement = { + date: "2099-12-11", + any: 10, + single: 10, + suite: 10, + staff: 10, + doubleBeds: 10, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `date` | *string* | :heavy_check_mark: | The date for the sleeping room, in format of YYYY-MM-DD. | 2099-12-11 | +| `any` | *number* | :heavy_minus_sign: | The number of any sleeping rooms. | 10 | +| `single` | *number* | :heavy_minus_sign: | The number of 1 bed sleeping rooms. | 10 | +| `suite` | *number* | :heavy_minus_sign: | The number of suite sleeping rooms. | 10 | +| `staff` | *number* | :heavy_minus_sign: | The number of sleeping rooms for staff. | 10 | +| `doubleBeds` | *number* | :heavy_minus_sign: | The number of 2 beds sleeping rooms. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sleepingroomrequirementjson.md b/packages/typescript/docs/models/components/sleepingroomrequirementjson.md deleted file mode 100644 index 2e0f35644..000000000 --- a/packages/typescript/docs/models/components/sleepingroomrequirementjson.md +++ /dev/null @@ -1,29 +0,0 @@ -# SleepingRoomRequirementJson - -The requirements of a sleeping room on the specified date. - -## Example Usage - -```typescript -import { SleepingRoomRequirementJson } from "@cvent/sdk/models/components"; - -let value: SleepingRoomRequirementJson = { - date: "2099-12-11", - any: 10, - single: 10, - suite: 10, - staff: 10, - doubleBeds: 10, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `date` | *string* | :heavy_check_mark: | The date for the sleeping room, in format of YYYY-MM-DD. | 2099-12-11 | -| `any` | *number* | :heavy_minus_sign: | The number of any sleeping rooms. | 10 | -| `single` | *number* | :heavy_minus_sign: | The number of 1 bed sleeping rooms. | 10 | -| `suite` | *number* | :heavy_minus_sign: | The number of suite sleeping rooms. | 10 | -| `staff` | *number* | :heavy_minus_sign: | The number of sleeping rooms for staff. | 10 | -| `doubleBeds` | *number* | :heavy_minus_sign: | The number of 2 beds sleeping rooms. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speaker1.md b/packages/typescript/docs/models/components/speaker1.md new file mode 100644 index 000000000..fbe5f918e --- /dev/null +++ b/packages/typescript/docs/models/components/speaker1.md @@ -0,0 +1,20 @@ +# Speaker1 + +An activity speaker. + +## Example Usage + +```typescript +import { Speaker1 } from "@cvent/sdk/models/components"; + +let value: Speaker1 = { + name: "Henry Ford", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the speaker. | | +| `name` | *string* | :heavy_minus_sign: | Name of the speaker. | Henry Ford | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerfeedbacksubmitted.md b/packages/typescript/docs/models/components/speakerfeedbacksubmitted.md index 5b35923b8..01415c37b 100644 --- a/packages/typescript/docs/models/components/speakerfeedbacksubmitted.md +++ b/packages/typescript/docs/models/components/speakerfeedbacksubmitted.md @@ -39,8 +39,8 @@ let value: SpeakerFeedbackSubmitted = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `session` | [components.SessionActivity11](../../models/components/sessionactivity11.md) | :heavy_minus_sign: | The activity session. | -| `speaker` | [components.SpeakerJson](../../models/components/speakerjson.md) | :heavy_minus_sign: | An activity speaker. | -| `survey` | [components.SurveyResponseJson](../../models/components/surveyresponsejson.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `session` | [components.SpeakerFeedbackSubmittedSessionActivity](../../models/components/speakerfeedbacksubmittedsessionactivity.md) | :heavy_minus_sign: | The activity session. | +| `speaker` | [components.Speaker1](../../models/components/speaker1.md) | :heavy_minus_sign: | An activity speaker. | +| `survey` | [components.SurveyResponse](../../models/components/surveyresponse.md) | :heavy_minus_sign: | A survey response. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerfeedbacksubmittedsessionactivity.md b/packages/typescript/docs/models/components/speakerfeedbacksubmittedsessionactivity.md new file mode 100644 index 000000000..dcbac17b2 --- /dev/null +++ b/packages/typescript/docs/models/components/speakerfeedbacksubmittedsessionactivity.md @@ -0,0 +1,23 @@ +# SpeakerFeedbackSubmittedSessionActivity + +The activity session. + +## Example Usage + +```typescript +import { SpeakerFeedbackSubmittedSessionActivity } from "@cvent/sdk/models/components"; + +let value: SpeakerFeedbackSubmittedSessionActivity = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + title: "tech_session", + code: "XRNGB4YY3CX", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `title` | *string* | :heavy_minus_sign: | The title of the session. | tech_session | +| `code` | *string* | :heavy_minus_sign: | The code of the session. | XRNGB4YY3CX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerfiledownloaded.md b/packages/typescript/docs/models/components/speakerfiledownloaded.md index fd0f45cc8..9b1c8b118 100644 --- a/packages/typescript/docs/models/components/speakerfiledownloaded.md +++ b/packages/typescript/docs/models/components/speakerfiledownloaded.md @@ -20,10 +20,10 @@ let value: SpeakerFileDownloaded = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `browser` | *string* | :heavy_minus_sign: | The name of the web browser. | firefox | -| `operatingSystem` | *string* | :heavy_minus_sign: | The name of the operating system. | windows | -| `name` | *string* | :heavy_minus_sign: | The name of the file. | Instructions | -| `type` | *string* | :heavy_minus_sign: | The type of the file. | docx | -| `speaker` | [components.SpeakerJson](../../models/components/speakerjson.md) | :heavy_minus_sign: | An activity speaker. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `browser` | *string* | :heavy_minus_sign: | The name of the web browser. | firefox | +| `operatingSystem` | *string* | :heavy_minus_sign: | The name of the operating system. | windows | +| `name` | *string* | :heavy_minus_sign: | The name of the file. | Instructions | +| `type` | *string* | :heavy_minus_sign: | The type of the file. | docx | +| `speaker` | [components.Speaker1](../../models/components/speaker1.md) | :heavy_minus_sign: | An activity speaker. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerjson.md b/packages/typescript/docs/models/components/speakerjson.md deleted file mode 100644 index 3cccab3ae..000000000 --- a/packages/typescript/docs/models/components/speakerjson.md +++ /dev/null @@ -1,20 +0,0 @@ -# SpeakerJson - -An activity speaker. - -## Example Usage - -```typescript -import { SpeakerJson } from "@cvent/sdk/models/components"; - -let value: SpeakerJson = { - name: "Henry Ford", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the speaker. | | -| `name` | *string* | :heavy_minus_sign: | Name of the speaker. | Henry Ford | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/standardsurveyquestionjson.md b/packages/typescript/docs/models/components/standardsurveyquestionjson.md index 4ef96961e..35b75d31b 100644 --- a/packages/typescript/docs/models/components/standardsurveyquestionjson.md +++ b/packages/typescript/docs/models/components/standardsurveyquestionjson.md @@ -94,7 +94,7 @@ let value: StandardSurveyQuestionJson = { | `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `type` | [components.QuestionTypeJson](../../models/components/questiontypejson.md) | :heavy_minus_sign: | Question Type. | SingleChoice | | `choices` | [components.ChoiceJson1](../../models/components/choicejson1.md)[] | :heavy_minus_sign: | List of choices for the question. | | | `categories` | [components.CategoryJson1](../../models/components/categoryjson1.md)[] | :heavy_minus_sign: | List of categories for the question. | | | `subCategories` | [components.TextFieldJson](../../models/components/textfieldjson.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | diff --git a/packages/typescript/docs/models/components/stateprovince1.md b/packages/typescript/docs/models/components/stateprovince1.md new file mode 100644 index 000000000..cf020573b --- /dev/null +++ b/packages/typescript/docs/models/components/stateprovince1.md @@ -0,0 +1,17 @@ +# StateProvince1 + +The state province code used for contact information. + +## Example Usage + +```typescript +import { StateProvince1 } from "@cvent/sdk/models/components"; + +let value: StateProvince1 = "IN_AS"; +``` + +## Values + +```typescript +"BLANK" | "AA" | "AB" | "ABD" | "ABE" | "ACT_AUS" | "AE" | "AGB" | "AGY" | "AK" | "AL" | "ANS" | "ANT" | "AP" | "AR" | "ARD" | "ARM" | "AS" | "AT_1" | "AT_2" | "AT_3" | "AT_4" | "AT_5" | "AT_6" | "AT_7" | "AT_8" | "AT_9" | "AZ" | "BAN" | "BAS" | "BBD" | "BC" | "BDF" | "BE_BRU" | "BEN" | "BE_VAN" | "BE_VBR" | "BE_VLI" | "BE_VOV" | "BE_VWV" | "BE_WBR" | "BE_WHT" | "BE_WLG" | "BE_WLX" | "BE_WNA" | "BEX" | "BFS" | "BGE" | "BGW" | "BIR" | "BKM" | "BLA" | "BLY" | "BMH" | "BNB" | "BNE" | "BNH" | "BNS" | "BOL" | "BPL" | "BR_AC" | "BR_AL" | "BR_AM" | "BR_AP" | "BR_BA" | "BRC" | "BR_CE" | "BRD" | "BR_DF" | "BR_ES" | "BR_GO" | "BRK" | "BR_MA" | "BR_MG" | "BR_MS" | "BR_MT" | "BR_PA" | "BR_PB" | "BR_PE" | "BR_PI" | "BR_PR" | "BR_RJ" | "BR_RN" | "BR_RO" | "BR_RR" | "BR_RS" | "BR_SC" | "BR_SE" | "BR_SP" | "BR_TO" | "BRY" | "BST" | "BUR" | "CA" | "CAM" | "CAY" | "CGN" | "CGV" | "CH_AG" | "CH_AI" | "CH_AR" | "CH_BE" | "CH_BL" | "CH_BS" | "CH_FR" | "CH_GE" | "CH_GL" | "CH_GR" | "CHI" | "CH_JU" | "CH_LU" | "CH_NE" | "CH_NW" | "CH_OW" | "CHS" | "CH_SG" | "CH_SH" | "CH_SO" | "CH_SZ" | "CH_TG" | "CH_TI" | "CH_UR" | "CH_VD" | "CH_VS" | "CH_ZG" | "CH_ZH" | "CKF" | "CKT" | "CLD" | "CLK" | "CLR" | "CMA" | "CMD" | "CMN" | "CN_11" | "CN_12" | "CN_13" | "CN_14" | "CN_15" | "CN_21" | "CN_22" | "CN_23" | "CN_31" | "CN_32" | "CN_33" | "CN_34" | "CN_35" | "CN_36" | "CN_37" | "CN_41" | "CN_42" | "CN_43" | "CN_44" | "CN_45" | "CN_46" | "CN_50" | "CN_51" | "CN_52" | "CN_53" | "CN_54" | "CN_61" | "CN_62" | "CN_63" | "CN_64" | "CN_65" | "CN_91" | "CN_92" | "CO" | "CON" | "COV" | "CRF" | "CRY" | "CSR" | "CT" | "CWD" | "CWY" | "DAL" | "DBY" | "DC" | "DE" | "DEN" | "DER" | "DEV" | "DGN" | "DGY" | "DK_015" | "DK_020" | "DK_025" | "DK_030" | "DK_035" | "DK_040" | "DK_042" | "DK_050" | "DK_055" | "DK_060" | "DK_065" | "DK_070" | "DK_076" | "DK_080" | "DK_101" | "DK_147" | "DK_81" | "DK_82" | "DK_83" | "DK_84" | "DK_85" | "DNC" | "DND" | "DOR" | "DOW" | "DRY" | "DUD" | "DUR" | "EAL" | "EAY" | "EDH" | "EDU" | "ELN" | "ELS" | "ENF" | "ERW" | "ERY" | "ESS" | "ESX" | "FAL" | "FER" | "FIF" | "FL" | "FLN" | "FM" | "GA" | "GAT" | "GB" | "GLG" | "GLN" | "GLS" | "GR_01" | "GR_03" | "GR_04" | "GR_05" | "GR_06" | "GR_07" | "GR_11" | "GR_12" | "GR_13" | "GR_14" | "GR_15" | "GR_16" | "GR_17" | "GR_21" | "GR_22" | "GR_23" | "GR_24" | "GR_31" | "GR_32" | "GR_33" | "GR_34" | "GR_41" | "GR_42" | "GR_43" | "GR_44" | "GR_51" | "GR_52" | "GR_53" | "GR_54" | "GR_55" | "GR_56" | "GR_57" | "GR_58" | "GR_59" | "GR_61" | "GR_62" | "GR_63" | "GR_64" | "GR_69" | "GR_71" | "GR_72" | "GR_73" | "GR_81" | "GR_82" | "GR_83" | "GR_84" | "GR_85" | "GR_91" | "GR_92" | "GR_93" | "GR_94" | "GR_A_1" | "GRE" | "GTM" | "GU" | "GWN" | "HAL" | "HAM" | "HAV" | "HCK" | "HEF" | "HI" | "HIL" | "HLD" | "HMF" | "HNS" | "HPL" | "HRT" | "HRW" | "HRY" | "IA" | "ID" | "IE_C" | "IE_CE" | "IE_CN" | "IE_CW" | "IE_D" | "IE_DL" | "IE_G" | "IE_KE" | "IE_KK" | "IE_KY" | "IE_LD" | "IE_LH" | "IE_LK" | "IE_LM" | "IE_LS" | "IE_MH" | "IE_MN" | "IE_MO" | "IE_OY" | "IE_RN" | "IE_SO" | "IE_TA" | "IE_WD" | "IE_WH" | "IE_WW" | "IE_WX" | "IL" | "IN" | "IN_AN" | "IN_AP" | "IN_AR" | "IN_AS" | "IN_BR" | "IN_CH" | "IN_CT" | "IN_DD" | "IN_DL" | "IN_DN" | "IN_GA" | "IN_GJ" | "IN_HP" | "IN_HR" | "IN_JH" | "IN_JK" | "IN_KA" | "IN_KL" | "IN_LD" | "IN_MH" | "IN_ML" | "IN_MN" | "IN_MP" | "IN_MZ" | "IN_NL" | "IN_OR" | "IN_PB" | "IN_PY" | "IN_RJ" | "IN_SK" | "IN_TG" | "IN_TN" | "IN_TR" | "IN_UL" | "IN_UP" | "IN_WB" | "IOA" | "IOI" | "IOL" | "IOM" | "IOS" | "IOW" | "IOY" | "ISL" | "IT_21" | "IT_23" | "IT_25" | "IT_32" | "IT_34" | "IT_36" | "IT_42" | "IT_45" | "IT_52" | "IT_55" | "IT_57" | "IT_62" | "IT_65" | "IT_67" | "IT_72" | "IT_75" | "IT_77" | "IT_78" | "IT_82" | "IT_88" | "IT_AG" | "IT_AL" | "IT_AN" | "IT_AO" | "IT_AP" | "IT_AQ" | "IT_AR" | "IT_AT" | "IT_AV" | "IT_BA" | "IT_BG" | "IT_BI" | "IT_BL" | "IT_BN" | "IT_BO" | "IT_BR" | "IT_BS" | "IT_BT" | "IT_BZ" | "IT_CA" | "IT_CB" | "IT_CE" | "IT_CH" | "IT_CI" | "IT_CL" | "IT_CN" | "IT_CO" | "IT_CR" | "IT_CS" | "IT_CT" | "IT_CZ" | "IT_EN" | "IT_FC" | "IT_FE" | "IT_FG" | "IT_FI" | "IT_FM" | "IT_FR" | "IT_GE" | "IT_GO" | "IT_GR" | "IT_IM" | "IT_IS" | "IT_KR" | "IT_LC" | "IT_LE" | "IT_LI" | "IT_LO" | "IT_LT" | "IT_LU" | "IT_MB" | "IT_MC" | "IT_ME" | "IT_MI" | "IT_MN" | "IT_MO" | "IT_MS" | "IT_MT" | "IT_NA" | "IT_NO" | "IT_NU" | "IT_OG" | "IT_OR" | "IT_OT" | "IT_PA" | "IT_PC" | "IT_PD" | "IT_PE" | "IT_PG" | "IT_PI" | "IT_PN" | "IT_PO" | "IT_PR" | "IT_PT" | "IT_PU" | "IT_PV" | "IT_PZ" | "IT_RA" | "IT_RC" | "IT_RE" | "IT_RG" | "IT_RI" | "IT_RM" | "IT_RN" | "IT_RO" | "IT_SA" | "IT_SI" | "IT_SO" | "IT_SP" | "IT_SR" | "IT_SS" | "IT_SV" | "IT_TA" | "IT_TE" | "IT_TN" | "IT_TO" | "IT_TP" | "IT_TR" | "IT_TS" | "IT_TV" | "IT_UD" | "IT_VA" | "IT_VB" | "IT_VC" | "IT_VE" | "IT_VI" | "IT_VR" | "IT_VS" | "IT_VT" | "IT_VV" | "IVK" | "JP_01" | "JP_02" | "JP_03" | "JP_04" | "JP_05" | "JP_06" | "JP_07" | "JP_08" | "JP_09" | "JP_10" | "JP_11" | "JP_12" | "JP_13" | "JP_14" | "JP_15" | "JP_16" | "JP_17" | "JP_18" | "JP_19" | "JP_20" | "JP_21" | "JP_22" | "JP_23" | "JP_24" | "JP_25" | "JP_26" | "JP_27" | "JP_28" | "JP_29" | "JP_30" | "JP_31" | "JP_32" | "JP_33" | "JP_34" | "JP_35" | "JP_36" | "JP_37" | "JP_38" | "JP_39" | "JP_40" | "JP_41" | "JP_42" | "JP_43" | "JP_44" | "JP_45" | "JP_46" | "JP_47" | "KEC" | "KEN" | "KHL" | "KIR" | "KS" | "KTT" | "KWL" | "KY" | "LA" | "LAN" | "LBH" | "LCE" | "LDS" | "LEC" | "LEW" | "LIN" | "LIV" | "LMV" | "LND" | "LRN" | "LSB" | "LU_D" | "LU_G" | "LU_L" | "LUT" | "MA" | "MAN" | "MB" | "MD" | "MDB" | "MDS" | "MDW" | "ME" | "MFT" | "MGM" | "MH" | "MI" | "MIK" | "MLN" | "MN" | "MO" | "MON" | "MP" | "MRT" | "MRY" | "MS" | "MSY" | "MT" | "MTY" | "MX_AGU" | "MX_BCN" | "MX_BCS" | "MX_CAM" | "MX_CHH" | "MX_CHP" | "MX_COA" | "MX_COL" | "MX_DIF" | "MX_DUR" | "MX_GRO" | "MX_GUA" | "MX_HID" | "MX_JAL" | "MX_MEX" | "MX_MIC" | "MX_MOR" | "MX_NAY" | "MX_NLE" | "MX_OAX" | "MX_PUE" | "MX_QUE" | "MX_ROO" | "MX_SIN" | "MX_SLP" | "MX_SON" | "MX_TAB" | "MX_TAM" | "MX_TLA" | "MX_VER" | "MX_YUC" | "MX_ZAC" | "MYL" | "NAY" | "NB" | "NBL" | "NC" | "ND" | "NDN" | "NE" | "NEL" | "NET" | "NFK" | "NGM" | "NH" | "NJ" | "NL" | "NL_DR" | "NL_FL" | "NL_FR" | "NL_GE" | "NL_GR" | "NLK" | "NL_LI" | "NLN" | "NL_NB" | "NL_NH" | "NL_OV" | "NL_UT" | "NL_ZE" | "NL_ZH" | "NM" | "NO_01" | "NO_02" | "NO_03" | "NO_04" | "NO_05" | "NO_06" | "NO_07" | "NO_08" | "NO_09" | "NO_10" | "NO_11" | "NO_12" | "NO_14" | "NO_15" | "NO_16" | "NO_17" | "NO_18" | "NO_19" | "NO_20" | "NO_21" | "NO_22" | "NRY" | "NS" | "NSM" | "NSW_AUS" | "NT" | "NT_AUS" | "NTA" | "NTH" | "NTL" | "NTT" | "NTY" | "NU" | "NV" | "NWM" | "NWP" | "NY" | "NYK" | "NYM" | "OH" | "OK" | "OLD" | "OMH" | "ON" | "OR" | "ORK" | "OXF" | "PA" | "PE" | "PEM" | "PKN" | "PLY" | "POL" | "POR" | "POW" | "PR" | "PTE" | "PW" | "QC" | "QLD_AUS" | "RCC" | "RCH" | "RCT" | "RDB" | "RDG" | "RFW" | "RI" | "RIC" | "ROT" | "RUT" | "SA_AUS" | "SAW" | "SAY" | "SC" | "SCB" | "SD" | "SFK" | "SFT" | "SGC" | "SGM" | "SHF" | "SHN" | "SHR" | "SK" | "SKP" | "SLF" | "SLG" | "SLK" | "SOL" | "SOM" | "SOS" | "SRY" | "STB" | "STE" | "STG" | "STH" | "STN" | "STS" | "STT" | "STY" | "SWA" | "SWD" | "SWK" | "SYK" | "TAM" | "TAS_AUS" | "TFW" | "THR" | "TN" | "TOB" | "TOF" | "TRF" | "TWH" | "TWR" | "TX" | "TYR" | "UT" | "VA" | "VGL" | "VI" | "VIC_AUS" | "VT" | "WA" | "WA_AUS" | "WAR" | "WBK" | "WDU" | "WFT" | "WGM" | "WGN" | "WI" | "WIL" | "WIS" | "WKF" | "WLL" | "WLN" | "WLV" | "WMD" | "WND" | "WNM" | "WOK" | "WOR" | "WRL" | "WRT" | "WRX" | "WSM" | "WSX" | "WV" | "WY" | "WYK" | "YOR" | "YT" | "ZET" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/surveyresponse.md b/packages/typescript/docs/models/components/surveyresponse.md new file mode 100644 index 000000000..5c98234a2 --- /dev/null +++ b/packages/typescript/docs/models/components/surveyresponse.md @@ -0,0 +1,36 @@ +# SurveyResponse + +A survey response. + +## Example Usage + +```typescript +import { SurveyResponse } from "@cvent/sdk/models/components"; + +let value: SurveyResponse = { + responseMethod: "sample method", + responses: [ + { + question: { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", + }, + answers: [ + { + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + }, + ], + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the survey. | | +| `responseMethod` | *string* | :heavy_minus_sign: | The method used to capture the survey response. | sample method | +| `responses` | [components.QuestionResponse](../../models/components/questionresponse.md)[] | :heavy_minus_sign: | The list of question and answers for a survey. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/surveyresponsejson.md b/packages/typescript/docs/models/components/surveyresponsejson.md deleted file mode 100644 index 5f07f2f85..000000000 --- a/packages/typescript/docs/models/components/surveyresponsejson.md +++ /dev/null @@ -1,36 +0,0 @@ -# SurveyResponseJson - -A survey response. - -## Example Usage - -```typescript -import { SurveyResponseJson } from "@cvent/sdk/models/components"; - -let value: SurveyResponseJson = { - responseMethod: "sample method", - responses: [ - { - question: { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", - }, - answers: [ - { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - }, - ], - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the survey. | | -| `responseMethod` | *string* | :heavy_minus_sign: | The method used to capture the survey response. | sample method | -| `responses` | [components.QuestionResponseJson](../../models/components/questionresponsejson.md)[] | :heavy_minus_sign: | The list of question and answers for a survey. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidamenity.md b/packages/typescript/docs/models/components/travelbidamenity.md index 63aefe381..fd8841438 100644 --- a/packages/typescript/docs/models/components/travelbidamenity.md +++ b/packages/typescript/docs/models/components/travelbidamenity.md @@ -21,14 +21,14 @@ let value: TravelBidAmenity = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [components.AmenityType](../../models/components/amenitytype.md) | :heavy_minus_sign: | Amenity type | amenity | -| `code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | -| `category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | -| `included` | *boolean* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | -| `price` | *number* | :heavy_minus_sign: | The price of the amenity. | 100 | -| `discountAmount` | *number* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | -| `internalCost` | *number* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | -| `description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.AmenityType](../../models/components/amenitytype.md) | :heavy_minus_sign: | Amenity type | amenity | +| `code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | +| `category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | +| `included` | *boolean* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | +| `price` | *number* | :heavy_minus_sign: | The price of the amenity. | 100 | +| `discountAmount` | *number* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | +| `internalCost` | *number* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | +| `description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddiscount.md b/packages/typescript/docs/models/components/travelbiddiscount.md index f44aaafa9..010534a9d 100644 --- a/packages/typescript/docs/models/components/travelbiddiscount.md +++ b/packages/typescript/docs/models/components/travelbiddiscount.md @@ -18,8 +18,8 @@ let value: TravelBidDiscount = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidDiscountPropertyRoom](../../models/components/travelbiddiscountpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `discount` | *number* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [components.TravelBidDiscountPropertyRoom](../../models/components/travelbiddiscountpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `discount` | *number* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseason.md b/packages/typescript/docs/models/components/travelbidfairseason.md index 45ce261f9..1abe495fe 100644 --- a/packages/typescript/docs/models/components/travelbidfairseason.md +++ b/packages/typescript/docs/models/components/travelbidfairseason.md @@ -33,13 +33,13 @@ let value: TravelBidFairSeason = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [components.FairSeasonType](../../models/components/fairseasontype.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | -| `name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | -| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | -| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | -| `minLengthOfStay` | *number* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | -| `releasePeriod` | *number* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | -| `rates` | [components.TravelBidFairSeasonRate](../../models/components/travelbidfairseasonrate.md)[] | :heavy_minus_sign: | Collection of rates for the fair season. | | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.FairSeasonType](../../models/components/fairseasontype.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | +| `name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | +| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | +| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | +| `minLengthOfStay` | *number* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | +| `releasePeriod` | *number* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | +| `rates` | [components.TravelBidFairSeasonRate](../../models/components/travelbidfairseasonrate.md)[] | :heavy_minus_sign: | Collection of rates for the fair season. | | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseasonrate.md b/packages/typescript/docs/models/components/travelbidfairseasonrate.md index 3aa66cfd2..0a7e92fe7 100644 --- a/packages/typescript/docs/models/components/travelbidfairseasonrate.md +++ b/packages/typescript/docs/models/components/travelbidfairseasonrate.md @@ -22,12 +22,12 @@ let value: TravelBidFairSeasonRate = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidFairSeasonRatePropertyRoom](../../models/components/travelbidfairseasonratepropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *number* | :heavy_minus_sign: | The single room rate. | 100 | -| `doubleRate` | *number* | :heavy_minus_sign: | The double room rate. | 101 | -| `tripleRate` | *number* | :heavy_minus_sign: | The triple room rate. | 102 | -| `quadRate` | *number* | :heavy_minus_sign: | The quadruple room rate. | 103 | -| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [components.TravelBidFairSeasonRatePropertyRoom](../../models/components/travelbidfairseasonratepropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *number* | :heavy_minus_sign: | The single room rate. | 100 | +| `doubleRate` | *number* | :heavy_minus_sign: | The double room rate. | 101 | +| `tripleRate` | *number* | :heavy_minus_sign: | The triple room rate. | 102 | +| `quadRate` | *number* | :heavy_minus_sign: | The quadruple room rate. | 103 | +| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidpolicy.md b/packages/typescript/docs/models/components/travelbidpolicy.md index 1f15130fe..035925350 100644 --- a/packages/typescript/docs/models/components/travelbidpolicy.md +++ b/packages/typescript/docs/models/components/travelbidpolicy.md @@ -18,12 +18,12 @@ let value: TravelBidPolicy = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | -| `category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | -| `value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | -| `valueType` | [components.PolicyValueType](../../models/components/policyvaluetype.md) | :heavy_minus_sign: | Value type of the policy | | -| `included` | *boolean* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | -| `description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | +| `category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | +| `value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | +| `valueType` | [components.PolicyValueType](../../models/components/policyvaluetype.md) | :heavy_minus_sign: | Value type of the policy | | +| `included` | *boolean* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | +| `description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidroom.md b/packages/typescript/docs/models/components/travelbidroom.md index 2d6a61275..db5468446 100644 --- a/packages/typescript/docs/models/components/travelbidroom.md +++ b/packages/typescript/docs/models/components/travelbidroom.md @@ -19,9 +19,9 @@ let value: TravelBidRoom = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidRoomPropertyRoom](../../models/components/travelbidroompropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `allocation` | *number* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | -| `order` | *number* | :heavy_minus_sign: | The order of the room in the bid. | 1 | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [components.TravelBidRoomPropertyRoom](../../models/components/travelbidroompropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `allocation` | *number* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | +| `order` | *number* | :heavy_minus_sign: | The order of the room in the bid. | 1 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseason.md b/packages/typescript/docs/models/components/travelbidseason.md index 6c33d563f..217681f8d 100644 --- a/packages/typescript/docs/models/components/travelbidseason.md +++ b/packages/typescript/docs/models/components/travelbidseason.md @@ -50,13 +50,13 @@ let value: TravelBidSeason = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | -| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | -| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | -| `releasePeriod` | *number* | :heavy_minus_sign: | Number of release periods. | 1 | -| `weekendReleasePeriod` | *number* | :heavy_minus_sign: | Number of weekend release periods. | 2 | -| `rates` | [components.TravelBidSeasonRate](../../models/components/travelbidseasonrate.md)[] | :heavy_minus_sign: | Collection of rates for the season. | | -| `weekendRates` | [components.TravelBidSeasonRate](../../models/components/travelbidseasonrate.md)[] | :heavy_minus_sign: | Collection of weekend rates for the season. | | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | +| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | +| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | +| `releasePeriod` | *number* | :heavy_minus_sign: | Number of release periods. | 1 | +| `weekendReleasePeriod` | *number* | :heavy_minus_sign: | Number of weekend release periods. | 2 | +| `rates` | [components.TravelBidSeasonRate](../../models/components/travelbidseasonrate.md)[] | :heavy_minus_sign: | Collection of rates for the season. | | +| `weekendRates` | [components.TravelBidSeasonRate](../../models/components/travelbidseasonrate.md)[] | :heavy_minus_sign: | Collection of weekend rates for the season. | | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseasonrate.md b/packages/typescript/docs/models/components/travelbidseasonrate.md index b531cae68..ab1e523c5 100644 --- a/packages/typescript/docs/models/components/travelbidseasonrate.md +++ b/packages/typescript/docs/models/components/travelbidseasonrate.md @@ -24,14 +24,14 @@ let value: TravelBidSeasonRate = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidSeasonRatePropertyRoom](../../models/components/travelbidseasonratepropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | -| `doubleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | -| `tripleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | -| `quadRate` | *number* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | -| `nlraSingleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | -| `nlraDoubleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | -| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [components.TravelBidSeasonRatePropertyRoom](../../models/components/travelbidseasonratepropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | +| `doubleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | +| `tripleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | +| `quadRate` | *number* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | +| `nlraSingleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | +| `nlraDoubleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | +| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ 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 68f6b0c22..0c2bc3078 100644 --- a/packages/typescript/docs/models/components/travelbidtaxandfee.md +++ b/packages/typescript/docs/models/components/travelbidtaxandfee.md @@ -17,11 +17,11 @@ let value: TravelBidTaxAndFee = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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. | | -| `notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | -| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `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. | | +| `notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuedetailsoverview.md b/packages/typescript/docs/models/components/venuedetailsoverview.md new file mode 100644 index 000000000..eb288183a --- /dev/null +++ b/packages/typescript/docs/models/components/venuedetailsoverview.md @@ -0,0 +1,21 @@ +# VenueDetailsOverview + +An overview of venue details containing key identifiers and display properties. + +## Example Usage + +```typescript +import { VenueDetailsOverview } from "@cvent/sdk/models/components"; + +let value: VenueDetailsOverview = { + id: "b2c3d4e5-f6a7-8901-bcde-f12345678901", + name: "Vienna Wolf Trap Hotel", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Venue ID. | b2c3d4e5-f6a7-8901-bcde-f12345678901 | +| `name` | *string* | :heavy_check_mark: | Venue name. | Vienna Wolf Trap Hotel | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuedetailspatch.md b/packages/typescript/docs/models/components/venuedetailspatch.md new file mode 100644 index 000000000..8954cb3aa --- /dev/null +++ b/packages/typescript/docs/models/components/venuedetailspatch.md @@ -0,0 +1,61 @@ +# VenueDetailsPatch + +Partial update payload for venue details. + +## Example Usage + +```typescript +import { VenueDetailsPatch } from "@cvent/sdk/models/components"; + +let value: VenueDetailsPatch = { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: + "A premier conference and event venue in the heart of Northern Virginia.", + additionalInformation: + "Complimentary parking available for all event attendees.", + cancellationPolicy: + "48-hour cancellation policy applies for all event bookings.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.VenueType](../../models/components/venuetype.md) | :heavy_minus_sign: | Type of venue.

    Values:
    - `AQUARIUM_ZOO` — Aquarium/Zoo
    - `ARENA_STADIUM` — Arena/Stadium
    - `BANQUET_FACILITY` — Banquet Facility
    - `BAR_CLUB` — Bar/Club
    - `BLANK` — Blank
    - `BOUTIQUE_HOTEL` — Boutique Hotel
    - `CONFERENCE_CENTER` — Conference Center
    - `CONVENTION_CENTER` — Convention Center
    - `CORPORATE_OFFICE_SPACE` — Corporate Office Space
    - `CVB` — CVB
    - `DMC` — Destination Management Company
    - `EDUCATIONAL_FACILITY` — Educational Facility
    - `ENTERTAINMENT_VENUE` — Entertainment Venue
    - `EXPOSITION_CENTER` — Exposition Center
    - `GALLERY_MUSEUM` — Gallery/Museum
    - `GOLF_COURSE` — Golf Course
    - `HOTEL` — Hotel
    - `INTERNAL_VENUE` — Internal Venue
    - `LUXURY_HOTEL` — Luxury Hotel
    - `MOVIE_THEATRE` — Movie Theatre
    - `RESORT` — Resort
    - `RESTAURANT` — Restaurant
    - `SPECIAL_EVENT_VENUE` — Special Event Venue | HOTEL | +| `timeZone` | *string* | :heavy_minus_sign: | Time zone identifier for the venue. See the supported timezones reference for valid values.

    [Supported Timezones](https://developers.cvent.com/docs/rest-api/reference/api-standards#supported-timezones) | America/New_York | +| `brand` | *string* | :heavy_minus_sign: | Venue brand. Brands vary by venue type. | Quality Hotels | +| `chainScale` | [components.VenueDetailsPatchChainScale](../../models/components/venuedetailspatchchainscale.md) | :heavy_minus_sign: | N/A | UPSCALE_CHAINS | +| `mainPhoneNumber` | *string* | :heavy_minus_sign: | Primary phone number for the venue. | +1-703-555-0100 | +| `mainFaxNumber` | *string* | :heavy_minus_sign: | Primary fax number for the venue. | +1-703-555-0101 | +| `salesPhoneNumber` | *string* | :heavy_minus_sign: | Sales phone number of the venue. | +1-703-555-0102 | +| `salesFaxNumber` | *string* | :heavy_minus_sign: | Sales fax number of the venue. | +1-703-555-0103 | +| `tollFreeNumber` | *string* | :heavy_minus_sign: | Toll-free number of the venue. | 1-800-555-0100 | +| `websiteAddress` | *string* | :heavy_minus_sign: | Website address. | https://www.example-hotel.com | +| `currency` | [components.VenueDetailsPatchCurrency](../../models/components/venuedetailspatchcurrency.md) | :heavy_minus_sign: | N/A | | +| `openingDate` | *string* | :heavy_minus_sign: | Venue opening date as free-form text. | Spring 2025 | +| `description` | *string* | :heavy_minus_sign: | Venue description. | A premier conference and event venue in the heart of Northern Virginia. | +| `additionalInformation` | *string* | :heavy_minus_sign: | Additional information about the venue. | Complimentary parking available for all event attendees. | +| `cancellationPolicy` | *string* | :heavy_minus_sign: | Cancellation policy for bookings at the venue. | 48-hour cancellation policy applies for all event bookings. | +| `locationTypes` | [components.LocationType](../../models/components/locationtype.md)[] | :heavy_minus_sign: | Location classifications. | | +| `address` | [components.VenueDetailsPatchAddress](../../models/components/venuedetailspatchaddress.md) | :heavy_minus_sign: | Venue address information. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuedetailspatchaddress.md b/packages/typescript/docs/models/components/venuedetailspatchaddress.md new file mode 100644 index 000000000..3539c3d67 --- /dev/null +++ b/packages/typescript/docs/models/components/venuedetailspatchaddress.md @@ -0,0 +1,29 @@ +# VenueDetailsPatchAddress + +Venue address information. + +## Example Usage + +```typescript +import { VenueDetailsPatchAddress } from "@cvent/sdk/models/components"; + +let value: VenueDetailsPatchAddress = { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *string* | :heavy_minus_sign: | City. | Vienna | +| `stateProvince` | [components.StateProvince1](../../models/components/stateprovince1.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `zipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [components.Country](../../models/components/country.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `directions` | *string* | :heavy_minus_sign: | Directions or instructions for getting to the venue. | Take I-66 West to Exit 67, then follow signs to Trap Road. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuedetailspatchchainscale.md b/packages/typescript/docs/models/components/venuedetailspatchchainscale.md new file mode 100644 index 000000000..662df0335 --- /dev/null +++ b/packages/typescript/docs/models/components/venuedetailspatchchainscale.md @@ -0,0 +1,29 @@ +# VenueDetailsPatchChainScale + +A market segment classification of a venue chain based on Average Daily Rate and other factors. + +Values: +- `BLANK` — Blank +- `ECONOMYCHAINS` — Economy Chains +- `INDEPENDENTS` — Independents +- `LUXURY_CHAINS` — Luxury Chains +- `MIDSCALE_CHAINS` — Midscale Chains +- `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains +- `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains +- `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains +- `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains +- `UPSCALE_CHAINS` — Upscale Chains + +## Example Usage + +```typescript +import { VenueDetailsPatchChainScale } from "@cvent/sdk/models/components"; + +let value: VenueDetailsPatchChainScale = "UPSCALE_CHAINS"; +``` + +## Values + +```typescript +"BLANK" | "ECONOMYCHAINS" | "INDEPENDENTS" | "LUXURY_CHAINS" | "MIDSCALE_CHAINS" | "MIDSCALE_WITH_FB_CHAINS" | "MIDSCALE_WITHOUT_FB_CHAINS" | "UPPER_MIDSCALE_CHAINS" | "UPPER_UPSCALE_CHAINS" | "UPSCALE_CHAINS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuedetailspatchcurrency.md b/packages/typescript/docs/models/components/venuedetailspatchcurrency.md new file mode 100644 index 000000000..904608418 --- /dev/null +++ b/packages/typescript/docs/models/components/venuedetailspatchcurrency.md @@ -0,0 +1,17 @@ +# VenueDetailsPatchCurrency + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```typescript +import { VenueDetailsPatchCurrency } from "@cvent/sdk/models/components"; + +let value: VenueDetailsPatchCurrency = "COP"; +``` + +## Values + +```typescript +"USD" | "CAD" | "AUD" | "EUR" | "GBP" | "HKD" | "NZD" | "AED" | "NOK" | "INR" | "MXN" | "SEK" | "DKK" | "MYR" | "JPY" | "SGD" | "THB" | "IDR" | "KRW" | "CNY" | "TWD" | "RUB" | "CHF" | "CZK" | "HUF" | "QAR" | "ZAR" | "RON" | "HRK" | "TRY" | "BRL" | "PHP" | "SAR" | "PLN" | "ARS" | "AWG" | "AZN" | "BSD" | "BBD" | "BMD" | "CLP" | "COP" | "CRC" | "DOP" | "XCD" | "ILS" | "JMD" | "LVL" | "LTL" | "MDL" | "ANG" | "OMR" | "TTD" | "UAH" | "UYU" | "RSD" | "AFN" | "AMD" | "AOA" | "BAM" | "BDT" | "BGN" | "BHD" | "BOB" | "DZD" | "EEK" | "EGP" | "FJD" | "GTQ" | "HNL" | "ISK" | "JOD" | "KYD" | "KZT" | "LBP" | "MAD" | "NGN" | "NIO" | "ESP" | "FRF" | "PAB" | "PEN" | "PKR" | "PYG" | "SVC" | "SYP" | "VEF" | "VND" | "XPF" | "GYD" | "MOP" | "PGK" | "XOF" | "XAF" | "BZD" | "BYR" | "BWP" | "BND" | "BIF" | "KHR" | "CVE" | "KMF" | "CDF" | "DJF" | "ERN" | "FKP" | "GMD" | "GEL" | "GHS" | "GIP" | "GNF" | "HTG" | "KES" | "KWD" | "KGS" | "LAK" | "LRD" | "MKD" | "MGA" | "MWK" | "MVR" | "MRO" | "MUR" | "MNT" | "MZN" | "MMK" | "NAD" | "NPR" | "RWF" | "SHP" | "WST" | "STD" | "SLL" | "SBD" | "SOS" | "LKR" | "SRD" | "SZL" | "TOP" | "TND" | "UGX" | "UZS" | "VUV" | "YER" | "ZMK" | "ZWD" | "SR" | "ETB" | "GH" | "GWP" | "IQD" | "IRR" | "KPW" | "LSL" | "ROL" | "SDG" | "SKK" | "TJS" | "TMT" | "TZS" | "ALL" | "BTN" | "CUP" | "LD" | "SCR" | "ZMW" | "ZWL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatch.md b/packages/typescript/docs/models/components/venuefacilitypatch.md new file mode 100644 index 000000000..6099a194d --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatch.md @@ -0,0 +1,62 @@ +# VenueFacilityPatch + +Partial update payload for venue facility information. Only fields present in the request body are updated; omitted fields remain unchanged. Set leaf fields to `null` to unset them. For grouped objects, update or clear each child field explicitly instead of setting the entire group to `null`. Field applicability varies by venue type; values supplied for fields that do not apply to the venue's type will be rejected. + +## Example Usage + +```typescript +import { VenueFacilityPatch } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatch = { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: + "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `numberOfMeetingRooms` | *number* | :heavy_minus_sign: | Total number of meeting rooms at the venue. | 25 | +| `space` | [components.VenueFacilityPatchSpace](../../models/components/venuefacilitypatchspace.md) | :heavy_minus_sign: | Facility space measurements at the venue. | | +| `sleeping` | [components.VenueFacilityPatchSleeping](../../models/components/venuefacilitypatchsleeping.md) | :heavy_minus_sign: | Sleeping room inventory at the venue. | | +| `singleRate` | [components.VenueFacilityPatchSingleRate](../../models/components/venuefacilitypatchsinglerate.md) | :heavy_minus_sign: | Published rate range for single-occupancy rooms, expressed in the venue's configured currency. | | +| `doubleRate` | [components.VenueFacilityPatchDoubleRate](../../models/components/venuefacilitypatchdoublerate.md) | :heavy_minus_sign: | Published rate range for double-occupancy rooms, expressed in the venue's configured currency. | | +| `taxRate` | *number* | :heavy_minus_sign: | Tax rate applied at the venue, expressed as a percentage. | 8.5 | +| `occupancyRate` | *number* | :heavy_minus_sign: | Occupancy rate at the venue, expressed as a percentage. | 75.5 | +| `yearBuilt` | *number* | :heavy_minus_sign: | Four-digit year the venue was built. | 1998 | +| `yearRenovated` | *number* | :heavy_minus_sign: | Four-digit year the venue was last renovated. | 2021 | +| `proximityFromAirport` | [components.VenueFacilityPatchProximityFromAirport](../../models/components/venuefacilitypatchproximityfromairport.md) | :heavy_minus_sign: | Distance from the nearest airport. `unit` is required when `distance` is provided. | | +| `restrictions` | *string* | :heavy_minus_sign: | Free-form description of any facility restrictions at the venue. | No outside food or beverage permitted. Music must end by 11 PM. | +| `maximumCapacity` | [components.VenueFacilityPatchMaximumCapacity](../../models/components/venuefacilitypatchmaximumcapacity.md) | :heavy_minus_sign: | Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. | | +| `eventInsurance` | [components.VenueFacilityPatchEventInsurance](../../models/components/venuefacilitypatcheventinsurance.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchdistancemeasurementunit.md b/packages/typescript/docs/models/components/venuefacilitypatchdistancemeasurementunit.md new file mode 100644 index 000000000..81e05d29d --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchdistancemeasurementunit.md @@ -0,0 +1,21 @@ +# VenueFacilityPatchDistanceMeasurementUnit + +Unit of measurement for distance. + +Values: +- `MILES` — Miles +- `KILOMETERS` — Kilometers + +## Example Usage + +```typescript +import { VenueFacilityPatchDistanceMeasurementUnit } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchDistanceMeasurementUnit = "MILES"; +``` + +## Values + +```typescript +"MILES" | "KILOMETERS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchdoublerate.md b/packages/typescript/docs/models/components/venuefacilitypatchdoublerate.md new file mode 100644 index 000000000..36d311608 --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchdoublerate.md @@ -0,0 +1,21 @@ +# VenueFacilityPatchDoubleRate + +Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + +## Example Usage + +```typescript +import { VenueFacilityPatchDoubleRate } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchDoubleRate = { + low: 149.99, + high: 299.99, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *number* | :heavy_minus_sign: | Lowest published rate for a double-occupancy room. | 149.99 | +| `high` | *number* | :heavy_minus_sign: | Highest published rate for a double-occupancy room. | 299.99 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatcheventinsurance.md b/packages/typescript/docs/models/components/venuefacilitypatcheventinsurance.md new file mode 100644 index 000000000..77d8f50f9 --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatcheventinsurance.md @@ -0,0 +1,23 @@ +# VenueFacilityPatchEventInsurance + +Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +Values: +- `BLANK` — Indicates no selection, leaves the field blank +- `REQUIRED` — Required +- `MAY_BE_REQUIRED` — May Be Required +- `NOT_REQUIRED` — Not Required + +## Example Usage + +```typescript +import { VenueFacilityPatchEventInsurance } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchEventInsurance = "MAY_BE_REQUIRED"; +``` + +## Values + +```typescript +"BLANK" | "REQUIRED" | "MAY_BE_REQUIRED" | "NOT_REQUIRED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchmaximumcapacity.md b/packages/typescript/docs/models/components/venuefacilitypatchmaximumcapacity.md new file mode 100644 index 000000000..e73dda906 --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchmaximumcapacity.md @@ -0,0 +1,21 @@ +# VenueFacilityPatchMaximumCapacity + +Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + +## Example Usage + +```typescript +import { VenueFacilityPatchMaximumCapacity } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchMaximumCapacity = { + seated: 500, + standing: 800, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `seated` | *number* | :heavy_minus_sign: | Maximum seated capacity at the venue. | 500 | +| `standing` | *number* | :heavy_minus_sign: | Maximum standing capacity at the venue. | 800 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchmeasurementunit.md b/packages/typescript/docs/models/components/venuefacilitypatchmeasurementunit.md new file mode 100644 index 000000000..df2ed557e --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchmeasurementunit.md @@ -0,0 +1,21 @@ +# VenueFacilityPatchMeasurementUnit + +Unit of measurement for area or space. + +Values: +- `SQUARE_FEET` — Square Feet +- `SQUARE_METERS` — Square Meters + +## Example Usage + +```typescript +import { VenueFacilityPatchMeasurementUnit } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchMeasurementUnit = "SQUARE_METERS"; +``` + +## Values + +```typescript +"SQUARE_FEET" | "SQUARE_METERS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchproximityfromairport.md b/packages/typescript/docs/models/components/venuefacilitypatchproximityfromairport.md new file mode 100644 index 000000000..4247d081a --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchproximityfromairport.md @@ -0,0 +1,20 @@ +# VenueFacilityPatchProximityFromAirport + +Distance from the nearest airport. `unit` is required when `distance` is provided. + +## Example Usage + +```typescript +import { VenueFacilityPatchProximityFromAirport } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchProximityFromAirport = { + distance: 12.5, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `distance` | *number* | :heavy_minus_sign: | Distance from the nearest airport, expressed in `unit`. Up to four digits. | 12.5 | +| `unit` | [components.VenueFacilityPatchDistanceMeasurementUnit](../../models/components/venuefacilitypatchdistancemeasurementunit.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchsinglerate.md b/packages/typescript/docs/models/components/venuefacilitypatchsinglerate.md new file mode 100644 index 000000000..0b3facc88 --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchsinglerate.md @@ -0,0 +1,21 @@ +# VenueFacilityPatchSingleRate + +Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + +## Example Usage + +```typescript +import { VenueFacilityPatchSingleRate } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchSingleRate = { + low: 129.99, + high: 249.99, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `low` | *number* | :heavy_minus_sign: | Lowest published rate for a single-occupancy room. | 129.99 | +| `high` | *number* | :heavy_minus_sign: | Highest published rate for a single-occupancy room. | 249.99 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchsleeping.md b/packages/typescript/docs/models/components/venuefacilitypatchsleeping.md new file mode 100644 index 000000000..4428e9e80 --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchsleeping.md @@ -0,0 +1,25 @@ +# VenueFacilityPatchSleeping + +Sleeping room inventory at the venue. + +## Example Usage + +```typescript +import { VenueFacilityPatchSleeping } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchSleeping = { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `totalRooms` | *number* | :heavy_minus_sign: | Total number of sleeping rooms at the venue. | 350 | +| `suites` | *number* | :heavy_minus_sign: | Total number of suites at the venue. | 20 | +| `singleRooms` | *number* | :heavy_minus_sign: | Total number of single-occupancy rooms at the venue. | 200 | +| `doubleRooms` | *number* | :heavy_minus_sign: | Total number of double-occupancy rooms at the venue. | 130 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuefacilitypatchspace.md b/packages/typescript/docs/models/components/venuefacilitypatchspace.md new file mode 100644 index 000000000..29dcf9289 --- /dev/null +++ b/packages/typescript/docs/models/components/venuefacilitypatchspace.md @@ -0,0 +1,22 @@ +# VenueFacilityPatchSpace + +Facility space measurements at the venue. + +## Example Usage + +```typescript +import { VenueFacilityPatchSpace } from "@cvent/sdk/models/components"; + +let value: VenueFacilityPatchSpace = { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `unitOfMeasurement` | [components.VenueFacilityPatchMeasurementUnit](../../models/components/venuefacilitypatchmeasurementunit.md) | :heavy_minus_sign: | N/A | | +| `totalMeetingRoomSpace` | *number* | :heavy_minus_sign: | Total meeting room space at the venue. | 50000 | +| `totalExhibitSpace` | *number* | :heavy_minus_sign: | Total exhibit space at the venue. | 75000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venuetype.md b/packages/typescript/docs/models/components/venuetype.md new file mode 100644 index 000000000..953c0faf1 --- /dev/null +++ b/packages/typescript/docs/models/components/venuetype.md @@ -0,0 +1,42 @@ +# VenueType + +Type of venue. + +Values: +- `AQUARIUM_ZOO` — Aquarium/Zoo +- `ARENA_STADIUM` — Arena/Stadium +- `BANQUET_FACILITY` — Banquet Facility +- `BAR_CLUB` — Bar/Club +- `BLANK` — Blank +- `BOUTIQUE_HOTEL` — Boutique Hotel +- `CONFERENCE_CENTER` — Conference Center +- `CONVENTION_CENTER` — Convention Center +- `CORPORATE_OFFICE_SPACE` — Corporate Office Space +- `CVB` — CVB +- `DMC` — Destination Management Company +- `EDUCATIONAL_FACILITY` — Educational Facility +- `ENTERTAINMENT_VENUE` — Entertainment Venue +- `EXPOSITION_CENTER` — Exposition Center +- `GALLERY_MUSEUM` — Gallery/Museum +- `GOLF_COURSE` — Golf Course +- `HOTEL` — Hotel +- `INTERNAL_VENUE` — Internal Venue +- `LUXURY_HOTEL` — Luxury Hotel +- `MOVIE_THEATRE` — Movie Theatre +- `RESORT` — Resort +- `RESTAURANT` — Restaurant +- `SPECIAL_EVENT_VENUE` — Special Event Venue + +## Example Usage + +```typescript +import { VenueType } from "@cvent/sdk/models/components"; + +let value: VenueType = "HOTEL"; +``` + +## Values + +```typescript +"AQUARIUM_ZOO" | "ARENA_STADIUM" | "BANQUET_FACILITY" | "BAR_CLUB" | "BLANK" | "BOUTIQUE_HOTEL" | "CONFERENCE_CENTER" | "CONVENTION_CENTER" | "CORPORATE_OFFICE_SPACE" | "CVB" | "DMC" | "EDUCATIONAL_FACILITY" | "ENTERTAINMENT_VENUE" | "EXPOSITION_CENTER" | "GALLERY_MUSEUM" | "GOLF_COURSE" | "HOTEL" | "INTERNAL_VENUE" | "LUXURY_HOTEL" | "MOVIE_THEATRE" | "RESORT" | "RESTAURANT" | "SPECIAL_EVENT_VENUE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof1.md b/packages/typescript/docs/models/components/zeroallof1.md index 8a965e44a..b5f82168a 100644 --- a/packages/typescript/docs/models/components/zeroallof1.md +++ b/packages/typescript/docs/models/components/zeroallof1.md @@ -1,6 +1,6 @@ # ZeroAllOf1 -Represents an error response with no additional details. +Details of a location. ## Example Usage @@ -8,16 +8,14 @@ Represents an error response with no additional details. import { ZeroAllOf1 } from "@cvent/sdk/models/components"; let value: ZeroAllOf1 = { - code: 400, - message: "Bad Request", - target: "example target", + id: "0046e875-79a5-4851-8332-da105d58088a", + name: "Conference Room B", }; ``` ## 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 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | +| `name` | *string* | :heavy_check_mark: | The name of the location. | Conference Room B | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof2.md b/packages/typescript/docs/models/components/zeroallof2.md index 30310e64e..15b08e6b7 100644 --- a/packages/typescript/docs/models/components/zeroallof2.md +++ b/packages/typescript/docs/models/components/zeroallof2.md @@ -1,6 +1,6 @@ # ZeroAllOf2 -Details of a location. +Details of an event appointment. ## Example Usage @@ -9,13 +9,75 @@ import { ZeroAllOf2 } from "@cvent/sdk/models/components"; let value: ZeroAllOf2 = { id: "0046e875-79a5-4851-8332-da105d58088a", - name: "Conference Room B", + code: "APPT-0001", + name: "Meeting with Cvent", + description: "Discuss about marketing.", + start: new Date("2019-04-12T15:20:00.000Z"), + end: new Date("2019-04-12T15:30:00.000Z"), + status: "CONFIRMED", + location: { + name: "Hynes Convention Center", + }, + type: { + name: "Customer Meeting", + }, + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + appointmentEvent: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + participants: [ + { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + attendee: { + id: + "dd1057b9-a957-4c22-be88-741a29d01471/97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", + contact: { + id: "97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", + }, + }, + type: "Attendee", + response: "CONFIRMED", + participation: { + participated: true, + }, + questionViewer: false, + privateNoteViewer: false, + deleted: false, + status: "confirmed", + }, + ], + autoAcceptAttendees: false, + enforceScheduleRules: false, + deleted: false, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID representing the location. | 0046e875-79a5-4851-8332-da105d58088a | -| `name` | *string* | :heavy_check_mark: | The name of the location. | Conference Room B | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID representing the appointment. | 0046e875-79a5-4851-8332-da105d58088a | +| `code` | *string* | :heavy_minus_sign: | The unique appointment code in Cvent or unique reference id of an appointment in the external systems. | APPT-0001 | +| `name` | *string* | :heavy_check_mark: | The name of the appointment. | Meeting with Cvent | +| `description` | *string* | :heavy_minus_sign: | The description of the appointment. | Discuss about marketing. | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted start date/time of the appointment. | 2019-04-12T15:20:00.000Z | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted end date/time of the appointment. | 2019-04-12T15:30:00.000Z | +| `status` | [components.AppointmentStatusJson](../../models/components/appointmentstatusjson.md) | :heavy_minus_sign: | Denotes the status of an appointment. | CONFIRMED | +| `location` | [components.LocationAllOf](../../models/components/locationallof.md) | :heavy_minus_sign: | The location of the appointment. | | +| `type` | [components.TypeAllOf](../../models/components/typeallof.md) | :heavy_check_mark: | The type of the appointment. | | +| `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 | +| `appointmentEvent` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| `participants` | [components.AppointmentParticipantJson](../../models/components/appointmentparticipantjson.md)[] | :heavy_minus_sign: | Collection of attendees participating in this appointment, and their related details. | | +| `autoAcceptAttendees` | *boolean* | :heavy_minus_sign: | True indicates participants will be automatically marked as accepted for the appointment. | false | +| `enforceScheduleRules` | *boolean* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | +| ~~`modified`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | +| `deleted` | *boolean* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof3.md b/packages/typescript/docs/models/components/zeroallof3.md index a51d4a067..735e0811c 100644 --- a/packages/typescript/docs/models/components/zeroallof3.md +++ b/packages/typescript/docs/models/components/zeroallof3.md @@ -1,6 +1,6 @@ # ZeroAllOf3 -Details of an event appointment. +Represents an error response with no additional details. ## Example Usage @@ -8,76 +8,16 @@ Details of an event appointment. import { ZeroAllOf3 } from "@cvent/sdk/models/components"; let value: ZeroAllOf3 = { - id: "0046e875-79a5-4851-8332-da105d58088a", - code: "APPT-0001", - name: "Meeting with Cvent", - description: "Discuss about marketing.", - start: new Date("2019-04-12T15:20:00.000Z"), - end: new Date("2019-04-12T15:30:00.000Z"), - status: "CONFIRMED", - location: { - name: "Hynes Convention Center", - }, - type: { - name: "Customer Meeting", - }, - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - appointmentEvent: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - participants: [ - { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - attendee: { - id: - "dd1057b9-a957-4c22-be88-741a29d01471/97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", - contact: { - id: "97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", - }, - }, - type: "Attendee", - response: "CONFIRMED", - participation: { - participated: true, - }, - questionViewer: false, - privateNoteViewer: false, - deleted: false, - status: "confirmed", - }, - ], - autoAcceptAttendees: false, - enforceScheduleRules: false, - deleted: false, + code: 400, + message: "Bad Request", + target: "example target", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID representing the appointment. | 0046e875-79a5-4851-8332-da105d58088a | -| `code` | *string* | :heavy_minus_sign: | The unique appointment code in Cvent or unique reference id of an appointment in the external systems. | APPT-0001 | -| `name` | *string* | :heavy_check_mark: | The name of the appointment. | Meeting with Cvent | -| `description` | *string* | :heavy_minus_sign: | The description of the appointment. | Discuss about marketing. | -| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted start date/time of the appointment. | 2019-04-12T15:20:00.000Z | -| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted end date/time of the appointment. | 2019-04-12T15:30:00.000Z | -| `status` | [components.AppointmentStatusJson](../../models/components/appointmentstatusjson.md) | :heavy_minus_sign: | Denotes the status of an appointment. | CONFIRMED | -| `location` | [components.LocationAllOf](../../models/components/locationallof.md) | :heavy_minus_sign: | The location of the appointment. | | -| `type` | [components.TypeAllOf](../../models/components/typeallof.md) | :heavy_check_mark: | The type of the appointment. | | -| `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 | -| `appointmentEvent` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `participants` | [components.AppointmentParticipantJson](../../models/components/appointmentparticipantjson.md)[] | :heavy_minus_sign: | Collection of attendees participating in this appointment, and their related details. | | -| `autoAcceptAttendees` | *boolean* | :heavy_minus_sign: | True indicates participants will be automatically marked as accepted for the appointment. | false | -| `enforceScheduleRules` | *boolean* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | -| ~~`modified`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

    This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | -| `deleted` | *boolean* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof4.md b/packages/typescript/docs/models/components/zeroallof4.md index 94f6fdc62..c1b6b1300 100644 --- a/packages/typescript/docs/models/components/zeroallof4.md +++ b/packages/typescript/docs/models/components/zeroallof4.md @@ -1,6 +1,6 @@ # ZeroAllOf4 -Booth staff for an activity. +A transaction reconciliation record. ## Example Usage @@ -8,17 +8,19 @@ Booth staff for an activity. import { ZeroAllOf4 } from "@cvent/sdk/models/components"; let value: ZeroAllOf4 = { - firstName: "John", - lastName: "Doe", - email: "h.potterfield@test.com", + status: "Reconciled", + amount: 100.5, + reconciledBy: "Test User", + reconciledDate: new Date("2020-02-07T09:37:50Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the exhibitor booth staff. | | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the booth staff that captured the lead. | John | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the booth staff that captured the lead. | Doe | -| `email` | *string* | :heavy_minus_sign: | The email address of the booth staff that captured the lead. | h.potterfield@test.com | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `budgetItem` | [components.BudgetItemAllOf](../../models/components/budgetitemallof.md) | :heavy_minus_sign: | The identifier of reconciled budget item. | | +| `status` | [components.ReconciliationStatusJson](../../models/components/reconciliationstatusjson.md) | :heavy_minus_sign: | This is used to denote the reconciliation status for a transaction. | Reconciled | +| `amount` | *number* | :heavy_minus_sign: | Reconciliation amount. | 100.5 | +| `reconciledBy` | *string* | :heavy_minus_sign: | Reconciled by user. | Test User | +| `reconciledDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date and time for Reconciled date. | 2020-02-07T09:37:50Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof5.md b/packages/typescript/docs/models/components/zeroallof5.md index 1fb37950b..44abf77c8 100644 --- a/packages/typescript/docs/models/components/zeroallof5.md +++ b/packages/typescript/docs/models/components/zeroallof5.md @@ -1,6 +1,6 @@ # ZeroAllOf5 -The question that was answered. +Represents an error response for the checkin APIs that includes a unique id. ## Example Usage @@ -8,14 +8,18 @@ The question that was answered. import { ZeroAllOf5 } from "@cvent/sdk/models/components"; let value: ZeroAllOf5 = { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", + id: "a96e7faa-b23e-49de-9040-c908473ba7ac", + code: 400, + message: "Bad Request", + target: "example target", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | +| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof6.md b/packages/typescript/docs/models/components/zeroallof6.md index 85f688fbd..1fe2bb149 100644 --- a/packages/typescript/docs/models/components/zeroallof6.md +++ b/packages/typescript/docs/models/components/zeroallof6.md @@ -1,6 +1,6 @@ # ZeroAllOf6 -A transaction reconciliation record. +Information about housing event with key information, providing a summarized view. ## Example Usage @@ -8,19 +8,40 @@ A transaction reconciliation record. import { ZeroAllOf6 } from "@cvent/sdk/models/components"; let value: ZeroAllOf6 = { - status: "Reconciled", - amount: 100.5, - reconciledBy: "Test User", - reconciledDate: new Date("2020-02-07T09:37:50Z"), + id: 21738574, + name: "Summit 2027", + start: new Date("2027-01-13T05:00:00Z"), + end: new Date("2027-01-15T05:00:00Z"), + cutOff: new Date("2026-10-13T04:00:00Z"), + timeZone: "America/New_York", + venue: { + name: "Holiday Inn", + address: { + address1: "West St. 1", + address2: "Apt. 16", + city: "Austin", + region: "Texas", + regionCode: "TX", + postalCode: "23452AB", + country: "United States of America", + countryCode: "US", + latitude: 2342.23423, + longitude: 231234.23423, + }, + }, + status: "Cancelled", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `budgetItem` | [components.BudgetItemAllOf](../../models/components/budgetitemallof.md) | :heavy_minus_sign: | The identifier of reconciled budget item. | | -| `status` | [components.ReconciliationStatusJson](../../models/components/reconciliationstatusjson.md) | :heavy_minus_sign: | This is used to denote the reconciliation status for a transaction. | Reconciled | -| `amount` | *number* | :heavy_minus_sign: | Reconciliation amount. | 100.5 | -| `reconciledBy` | *string* | :heavy_minus_sign: | Reconciled by user. | Test User | -| `reconciledDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date and time for Reconciled date. | 2020-02-07T09:37:50Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *number* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | +| `name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | +| `cutOff` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | +| `timeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | +| `venue` | [components.VenueJson1](../../models/components/venuejson1.md) | :heavy_check_mark: | Event venue details. | | +| `status` | [components.HousingEventStatusesJson](../../models/components/housingeventstatusesjson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof7.md b/packages/typescript/docs/models/components/zeroallof7.md deleted file mode 100644 index 8f58d15aa..000000000 --- a/packages/typescript/docs/models/components/zeroallof7.md +++ /dev/null @@ -1,25 +0,0 @@ -# ZeroAllOf7 - -Represents an error response for the checkin APIs that includes a unique id. - -## Example Usage - -```typescript -import { ZeroAllOf7 } from "@cvent/sdk/models/components"; - -let value: ZeroAllOf7 = { - id: "a96e7faa-b23e-49de-9040-c908473ba7ac", - code: 400, - message: "Bad Request", - target: "example target", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | -| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof8.md b/packages/typescript/docs/models/components/zeroallof8.md deleted file mode 100644 index a9563e686..000000000 --- a/packages/typescript/docs/models/components/zeroallof8.md +++ /dev/null @@ -1,47 +0,0 @@ -# ZeroAllOf8 - -Information about housing event with key information, providing a summarized view. - -## Example Usage - -```typescript -import { ZeroAllOf8 } from "@cvent/sdk/models/components"; - -let value: ZeroAllOf8 = { - id: 21738574, - name: "Summit 2027", - start: new Date("2027-01-13T05:00:00Z"), - end: new Date("2027-01-15T05:00:00Z"), - cutOff: new Date("2026-10-13T04:00:00Z"), - timeZone: "America/New_York", - venue: { - name: "Holiday Inn", - address: { - address1: "West St. 1", - address2: "Apt. 16", - city: "Austin", - region: "Texas", - regionCode: "TX", - postalCode: "23452AB", - country: "United States of America", - countryCode: "US", - latitude: 2342.23423, - longitude: 231234.23423, - }, - }, - status: "PreOpen", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *number* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | -| `name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | -| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | -| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | -| `cutOff` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | -| `timeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | -| `venue` | [components.VenueJson1](../../models/components/venuejson1.md) | :heavy_check_mark: | Event venue details. | | -| `status` | [components.HousingEventStatusesJson](../../models/components/housingeventstatusesjson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/errorresponse.md b/packages/typescript/docs/models/errors/errorresponse.md index 203b2dd19..4ae96c77a 100644 --- a/packages/typescript/docs/models/errors/errorresponse.md +++ b/packages/typescript/docs/models/errors/errorresponse.md @@ -17,4 +17,4 @@ import { ErrorResponse } from "@cvent/sdk/models/errors"; | `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 +| `details` | [components.ZeroAllOf3](../../models/components/zeroallof3.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/segmentserrorresponse.md b/packages/typescript/docs/models/errors/segmentserrorresponse.md index ba60609d7..7ccb345b8 100644 --- a/packages/typescript/docs/models/errors/segmentserrorresponse.md +++ b/packages/typescript/docs/models/errors/segmentserrorresponse.md @@ -17,5 +17,5 @@ import { SegmentsErrorResponse } from "@cvent/sdk/models/errors"; | `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. | | +| `details` | [components.ZeroAllOf3](../../models/components/zeroallof3.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | | `validationCode` | [errors.ValidationCode](../../models/errors/validationcode.md) | :heavy_minus_sign: | Business validation code for bad requests. | SEGMENTS_PER_EVENT_LIMIT_REACHED | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/createmeetingrequestrequest.md b/packages/typescript/docs/models/operations/createmeetingrequestrequest.md index d1cf521d9..f4ce04b4e 100644 --- a/packages/typescript/docs/models/operations/createmeetingrequestrequest.md +++ b/packages/typescript/docs/models/operations/createmeetingrequestrequest.md @@ -13,8 +13,8 @@ let value: CreateMeetingRequestRequest = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `skipRequiredQuestionValidation` | *boolean* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | -| `requestBody` | [components.MeetingRequestCreateJson](../../models/components/meetingrequestcreatejson.md)[] | :heavy_check_mark: | Up to **5 meeting requests** can be created per call. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `skipRequiredQuestionValidation` | *boolean* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | +| `requestBody` | [components.MeetingRequestCreate](../../models/components/meetingrequestcreate.md)[] | :heavy_check_mark: | Up to **5 meeting requests** can be created per call. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/createmeetingroomrequest.md b/packages/typescript/docs/models/operations/createmeetingroomrequest.md new file mode 100644 index 000000000..2ca90f7ba --- /dev/null +++ b/packages/typescript/docs/models/operations/createmeetingroomrequest.md @@ -0,0 +1,73 @@ +# CreateMeetingRoomRequest + +## Example Usage + +```typescript +import { CreateMeetingRoomRequest } from "@cvent/sdk/models/operations"; + +let value: CreateMeetingRoomRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoom` | [components.MeetingRoom](../../models/components/meetingroom.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/createmeetingroomresponse.md b/packages/typescript/docs/models/operations/createmeetingroomresponse.md new file mode 100644 index 000000000..8a449faec --- /dev/null +++ b/packages/typescript/docs/models/operations/createmeetingroomresponse.md @@ -0,0 +1,85 @@ +# CreateMeetingRoomResponse + +## Example Usage + +```typescript +import { CreateMeetingRoomResponse } from "@cvent/sdk/models/operations"; + +let value: CreateMeetingRoomResponse = { + headers: { + "key": [], + "key1": [ + "", + "", + ], + "key2": [], + }, + result: { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `headers` | Record | :heavy_check_mark: | N/A | +| `result` | [components.ExistingMeetingRoom](../../models/components/existingmeetingroom.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getairactualdetailrequest.md b/packages/typescript/docs/models/operations/getairactualdetailrequest.md index d5d41f574..098180f17 100644 --- a/packages/typescript/docs/models/operations/getairactualdetailrequest.md +++ b/packages/typescript/docs/models/operations/getairactualdetailrequest.md @@ -6,6 +6,7 @@ import { GetAirActualDetailRequest } from "@cvent/sdk/models/operations"; let value: GetAirActualDetailRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -15,7 +16,6 @@ let value: GetAirActualDetailRequest = { sort: "airActualDetails.name:DESC,airActualDetails.lastModified:ASC", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -23,11 +23,11 @@ let value: GetAirActualDetailRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `expand` | [components.ExpandAirActualQuestionAnswer](../../models/components/expandairactualquestionanswer.md)[] | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

    The following fields are expandable:
    * airActualDetails.airActualAnswers.question (List Event Questions)
    | airActualDetails.airActualAnswers.question | | `sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
    search results as a priority ordered list of sorts

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

    The following fields are sortable:
    * airActualDetails.name
    * airActualDetails.lastModified
    where i <= limit
    | airActualDetails.name:DESC,airActualDetails.lastModified:ASC | -| `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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getairrequestsrequest.md b/packages/typescript/docs/models/operations/getairrequestsrequest.md index f510a4d85..d06d1488a 100644 --- a/packages/typescript/docs/models/operations/getairrequestsrequest.md +++ b/packages/typescript/docs/models/operations/getairrequestsrequest.md @@ -6,6 +6,7 @@ import { GetAirRequestsRequest } from "@cvent/sdk/models/operations"; let value: GetAirRequestsRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -16,7 +17,6 @@ let value: GetAirRequestsRequest = { expand: [ "airRequestDetails.airRequestAnswers.question", ], - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -24,11 +24,11 @@ let value: GetAirRequestsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
    search results as a priority ordered list of sorts

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

    The following fields are sortable:
    * airRequestDetails.requesterFirstName
    * airRequestDetails.requesterLastName
    * airRequestDetails.lastModified
    | airRequestDetails.requesterFirstName:DESC,airRequestDetails.requesterLastName:ASC | | `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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `expand` | [components.ExpandAirRequestQuestionAnswer](../../models/components/expandairrequestquestionanswer.md)[] | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

    The following fields are expandable:
    * airRequestDetails.airRequestAnswers.question (List Event Questions)
    | airRequestDetails.airRequestAnswers.question | -| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `expand` | [components.ExpandAirRequestQuestionAnswer](../../models/components/expandairrequestquestionanswer.md)[] | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

    The following fields are expandable:
    * airRequestDetails.airRequestAnswers.question (List Event Questions)
    | airRequestDetails.airRequestAnswers.question | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getalternatetravelanswersrequest.md b/packages/typescript/docs/models/operations/getalternatetravelanswersrequest.md index d4eb5665f..5ef64bd0a 100644 --- a/packages/typescript/docs/models/operations/getalternatetravelanswersrequest.md +++ b/packages/typescript/docs/models/operations/getalternatetravelanswersrequest.md @@ -6,12 +6,12 @@ import { GetAlternateTravelAnswersRequest } from "@cvent/sdk/models/operations"; let value: GetAlternateTravelAnswersRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -19,9 +19,9 @@ let value: GetAlternateTravelAnswersRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
    to data that matches your criteria. See
    [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

    Supported fields and operators are listed below:

    \| Field \| Operators \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getbudgetallocationsrequest.md b/packages/typescript/docs/models/operations/getbudgetallocationsrequest.md index d212d7300..894a8eff9 100644 --- a/packages/typescript/docs/models/operations/getbudgetallocationsrequest.md +++ b/packages/typescript/docs/models/operations/getbudgetallocationsrequest.md @@ -6,12 +6,12 @@ import { GetBudgetAllocationsRequest } from "@cvent/sdk/models/operations"; let value: GetBudgetAllocationsRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -19,9 +19,9 @@ let value: GetBudgetAllocationsRequest = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
    to data that matches your criteria. See
    [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

    Supported fields and operators are listed below:

    \| Field \| Operators \|
    \|:-----------------\|:-----------------------------\|
    \| budgetVersion.id \| `eq` \|
    \| budgetItem.id \| `eq` \|
    \| category.id \| `eq`, `ne` \|
    \| subcategory.id \| `eq`, `ne` \|
    \| generalLedger.id \| `eq`, `ne` \|
    \| value \| `lt`, `le`, `gt`, `ge`, `eq` \|

    The following logical operators are supported for combining filters:
    * and
    * or
    | category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000 | -| `id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
    \|:-----------------\|:-----------------------------\|
    \| budgetVersion.id \| `eq` \|
    \| budgetItem.id \| `eq` \|
    \| category.id \| `eq`, `ne` \|
    \| subcategory.id \| `eq`, `ne` \|
    \| generalLedger.id \| `eq`, `ne` \|
    \| value \| `lt`, `le`, `gt`, `ge`, `eq` \|

    The following logical operators are supported for combining filters:
    * and
    * or
    | category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/geteventfeaturesrequest.md b/packages/typescript/docs/models/operations/geteventfeaturesrequest.md index e93274ae9..782c6bd13 100644 --- a/packages/typescript/docs/models/operations/geteventfeaturesrequest.md +++ b/packages/typescript/docs/models/operations/geteventfeaturesrequest.md @@ -6,10 +6,10 @@ import { GetEventFeaturesRequest } from "@cvent/sdk/models/operations"; let value: GetEventFeaturesRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", locale: "en-US", filter: "enabled eq 'true'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -17,8 +17,8 @@ let value: GetEventFeaturesRequest = { | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `locale` | *string* | :heavy_minus_sign: | Locale code in IETF Language tag format. Indicates desired locale of return values. | en-US | -| `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 \|
    \|---------\|-----------\|
    \| enabled \| `eq` \|
    | enabled eq 'true' | -| `id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
    \|---------\|-----------\|
    \| enabled \| `eq` \|
    | enabled eq 'true' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/geteventsurveyquestionsrequest.md b/packages/typescript/docs/models/operations/geteventsurveyquestionsrequest.md index b3b904dcb..2fe75d73c 100644 --- a/packages/typescript/docs/models/operations/geteventsurveyquestionsrequest.md +++ b/packages/typescript/docs/models/operations/geteventsurveyquestionsrequest.md @@ -6,11 +6,11 @@ import { GetEventSurveyQuestionsRequest } from "@cvent/sdk/models/operations"; let value: GetEventSurveyQuestionsRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -18,9 +18,9 @@ let value: GetEventSurveyQuestionsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | -| `id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/geteventsurveyresponsesrequest.md b/packages/typescript/docs/models/operations/geteventsurveyresponsesrequest.md index 530a47f3f..365024502 100644 --- a/packages/typescript/docs/models/operations/geteventsurveyresponsesrequest.md +++ b/packages/typescript/docs/models/operations/geteventsurveyresponsesrequest.md @@ -6,12 +6,12 @@ import { GetEventSurveyResponsesRequest } from "@cvent/sdk/models/operations"; let value: GetEventSurveyResponsesRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -19,10 +19,10 @@ let value: GetEventSurveyResponsesRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
    to data that matches your criteria. See
    [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

    Supported fields and operators are listed below:

    \| Field \| Operators \|
    \|---------------\|-------------\|
    \| id \| `eq`, `ne` \|
    \| respondent.id \| `eq`, `ne` \|
    \| session.id \| `eq`, `ne` \|
    \| speaker.id \| `eq`, `ne` \|
    \| question.id \| `eq`, `ne` \|
    | id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | -| `id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \|
    \|---------------\|-------------\|
    \| id \| `eq`, `ne` \|
    \| respondent.id \| `eq`, `ne` \|
    \| session.id \| `eq`, `ne` \|
    \| speaker.id \| `eq`, `ne` \|
    \| question.id \| `eq`, `ne` \|
    | id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/geteventsurveysrequest.md b/packages/typescript/docs/models/operations/geteventsurveysrequest.md index c911faaf3..295b436f1 100644 --- a/packages/typescript/docs/models/operations/geteventsurveysrequest.md +++ b/packages/typescript/docs/models/operations/geteventsurveysrequest.md @@ -6,12 +6,12 @@ import { GetEventSurveysRequest } from "@cvent/sdk/models/operations"; let value: GetEventSurveysRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -19,9 +19,9 @@ let value: GetEventSurveysRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
    to data that matches your criteria. See
    [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

    Supported fields and operators are listed below:

    \| Field \| Operators \| Notes \|
    \|----------\|-------------\|--------------------------------\|
    \| id \| `eq`, `ne` \| chapter ID of the event survey \|
    \| type \| `eq`, `ne` \| \|
    \| sessions \| `eq`, `ne` \| \|

    The following logical operators are supported for combining filters:
    * `and`
    * `or`
    | id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | -| `id` | *string* | :heavy_check_mark: | Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
    \|----------\|-------------\|--------------------------------\|
    \| id \| `eq`, `ne` \| chapter ID of the event survey \|
    \| type \| `eq`, `ne` \| \|
    \| sessions \| `eq`, `ne` \| \|

    The following logical operators are supported for combining filters:
    * `and`
    * `or`
    | id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/gethotelrequestsrequest.md b/packages/typescript/docs/models/operations/gethotelrequestsrequest.md index d427ec03d..2b61f9ae3 100644 --- a/packages/typescript/docs/models/operations/gethotelrequestsrequest.md +++ b/packages/typescript/docs/models/operations/gethotelrequestsrequest.md @@ -6,6 +6,7 @@ import { GetHotelRequestsRequest } from "@cvent/sdk/models/operations"; let value: GetHotelRequestsRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -16,7 +17,6 @@ let value: GetHotelRequestsRequest = { "hotelRequestDetails.requesterFirstName:DESC,hotelRequestDetails.requesterLastName:ASC", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -24,11 +24,11 @@ let value: GetHotelRequestsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `expand` | [components.ExpandHotelRequestQuestionAnswer](../../models/components/expandhotelrequestquestionanswer.md)[] | :heavy_minus_sign: | A list of fields to be expanded, returning additional information alongside the specified fields. The expanded entity is retrieved and displayed inline for each specified expansion field. The respective scopes for each expansion are required.

    The following fields are expandable:
    * hotelRequestDetails.hotelRequestAnswers.question (List Event Questions)
    | hotelRequestDetails.hotelRequestAnswers.question | | `sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
    search results as a priority ordered list of sorts

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

    The following fields are sortable:
    * hotelRequestDetails.requesterFirstName
    * hotelRequestDetails.requesterLastName
    * hotelRequestDetails.lastModified
    | hotelRequestDetails.requesterFirstName:DESC,hotelRequestDetails.requesterLastName:ASC | -| `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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/gethousingreservationrequestsrequest.md b/packages/typescript/docs/models/operations/gethousingreservationrequestsrequest.md index 886698ffa..c59e89413 100644 --- a/packages/typescript/docs/models/operations/gethousingreservationrequestsrequest.md +++ b/packages/typescript/docs/models/operations/gethousingreservationrequestsrequest.md @@ -6,12 +6,12 @@ import { GetHousingReservationRequestsRequest } from "@cvent/sdk/models/operations"; let value: GetHousingReservationRequestsRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -19,9 +19,9 @@ let value: GetHousingReservationRequestsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | | `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
    to data that matches your criteria. See
    [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

    Supported fields and operators are listed below:

    \| Field \| Operators \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | -| `id` | *string* | :heavy_check_mark: | ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------------\|
    \| attendee.id \| `eq`, `ne` \| Limit: 17 fields can be passed in a filter \|

    The following logical operators are supported for combining filters:
    * or
    | (attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a') | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getmeetingroomoverviewrequest.md b/packages/typescript/docs/models/operations/getmeetingroomoverviewrequest.md new file mode 100644 index 000000000..950822025 --- /dev/null +++ b/packages/typescript/docs/models/operations/getmeetingroomoverviewrequest.md @@ -0,0 +1,19 @@ +# GetMeetingRoomOverviewRequest + +## Example Usage + +```typescript +import { GetMeetingRoomOverviewRequest } from "@cvent/sdk/models/operations"; + +let value: GetMeetingRoomOverviewRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "14c63b6f-b029-4da3-bad1-de2f5ac58146", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoomId` | *string* | :heavy_check_mark: | Unique identifier for a meeting room. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getorderitemsrequest.md b/packages/typescript/docs/models/operations/getorderitemsrequest.md index 364271830..21be6e92f 100644 --- a/packages/typescript/docs/models/operations/getorderitemsrequest.md +++ b/packages/typescript/docs/models/operations/getorderitemsrequest.md @@ -25,4 +25,4 @@ let value: GetOrderItemsRequest = { | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
    to data that matches your criteria. See
    [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

    Supported fields and operators are listed below:

    \| Field \| Operators \|
    \|--------------\|------------------------------------\|
    \| id \| `eq`, `ne` \|
    \| attendee.id \| `eq`, `ne` \|
    \| event.id \| `eq`, `ne` \|
    \| order.id \| `eq`, `ne` \|
    \| product.id \| `eq`, `ne` \|
    \| product.type \| `eq`, `ne` \|
    \| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
    \| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

    The following logical operators are supported for combining filters:
    * and
    * or
    | attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (product.id eq '65322e75-076f-4070-a6e6-3315c581728d' OR product.id eq 'e1874067-a5ed-4111-ac8a-63de9aa18929') | -| `deleted` | *boolean* | :heavy_minus_sign: | This sets whether or not to fetch deleted order items in the response. If set to true, the response will include records for the deleted order items.
    | | \ No newline at end of file +| `deleted` | *boolean* | :heavy_minus_sign: | When `true`, includes soft-deleted records in the response. Defaults to `false`. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getordersrequest.md b/packages/typescript/docs/models/operations/getordersrequest.md index 116f1c225..02970560c 100644 --- a/packages/typescript/docs/models/operations/getordersrequest.md +++ b/packages/typescript/docs/models/operations/getordersrequest.md @@ -25,4 +25,4 @@ let value: GetOrdersRequest = { | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | | `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
    to data that matches your criteria. See
    [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.

    Supported fields and operators are listed below:

    \| Field \| Operators \|
    \|--------------\|------------------------------------\|
    \| id \| `eq`, `ne` \|
    \| attendee.id \| `eq`, `ne` \|
    \| event.id \| `eq`, `ne` \|
    \| type \| `eq`, `ne` \|
    \| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
    \| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

    The following logical operators are supported for combining filters:
    * and
    * or
    | attendee.id eq '78b3d72a-1851-46f4-a837-5f8613f4db83' AND (type eq 'Online Charge' OR type eq 'Online Refund') | -| `deleted` | *boolean* | :heavy_minus_sign: | This sets whether or not to fetch deleted orders in the response. If set to true, the response will include records for the deleted orders.
    | | \ No newline at end of file +| `deleted` | *boolean* | :heavy_minus_sign: | When `true`, includes soft-deleted records in the response. Defaults to `false`. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getstandardsurveyemailtemplatesrequest.md b/packages/typescript/docs/models/operations/getstandardsurveyemailtemplatesrequest.md index 09920f280..7065d474d 100644 --- a/packages/typescript/docs/models/operations/getstandardsurveyemailtemplatesrequest.md +++ b/packages/typescript/docs/models/operations/getstandardsurveyemailtemplatesrequest.md @@ -6,8 +6,8 @@ import { GetStandardSurveyEmailTemplatesRequest } from "@cvent/sdk/models/operations"; let value: GetStandardSurveyEmailTemplatesRequest = { - token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", }; ``` @@ -15,6 +15,6 @@ let value: GetStandardSurveyEmailTemplatesRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | -| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getstandardsurveyquestionsrequest.md b/packages/typescript/docs/models/operations/getstandardsurveyquestionsrequest.md index 8b05a9c58..c97958c99 100644 --- a/packages/typescript/docs/models/operations/getstandardsurveyquestionsrequest.md +++ b/packages/typescript/docs/models/operations/getstandardsurveyquestionsrequest.md @@ -6,10 +6,10 @@ import { GetStandardSurveyQuestionsRequest } from "@cvent/sdk/models/operations"; let value: GetStandardSurveyQuestionsRequest = { + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -17,8 +17,8 @@ let value: GetStandardSurveyQuestionsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | -| `surveyId` | *string* | :heavy_check_mark: | Id of a survey or Id of a chapter in event survey | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getvenuedetailsoverviewrequest.md b/packages/typescript/docs/models/operations/getvenuedetailsoverviewrequest.md new file mode 100644 index 000000000..aa6697c69 --- /dev/null +++ b/packages/typescript/docs/models/operations/getvenuedetailsoverviewrequest.md @@ -0,0 +1,17 @@ +# GetVenueDetailsOverviewRequest + +## Example Usage + +```typescript +import { GetVenueDetailsOverviewRequest } from "@cvent/sdk/models/operations"; + +let value: GetVenueDetailsOverviewRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listattendeespostfilterresponse.md b/packages/typescript/docs/models/operations/listattendeespostfilterresponse.md index 88b3268f3..87100a1fa 100644 --- a/packages/typescript/docs/models/operations/listattendeespostfilterresponse.md +++ b/packages/typescript/docs/models/operations/listattendeespostfilterresponse.md @@ -167,6 +167,7 @@ let value: ListAttendeesPostFilterResponse = { administrator: { id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, + unsubscribed: false, status: "Accepted", registeredAt: new Date("2018-01-13T02:00:00Z"), registrationLastModified: new Date("2018-01-13T02:00:00Z"), diff --git a/packages/typescript/docs/models/operations/listattendeesrequest.md b/packages/typescript/docs/models/operations/listattendeesrequest.md index 77e1e7aa8..0bece35d6 100644 --- a/packages/typescript/docs/models/operations/listattendeesrequest.md +++ b/packages/typescript/docs/models/operations/listattendeesrequest.md @@ -21,13 +21,13 @@ let value: ListAttendeesRequest = { ## 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 | -| `expand` | [components.Expand](../../models/components/expand.md)[] | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
    The expanded entity is retrieved and displayed inline for each specified expand value.

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

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

    The respective scopes for each expansion are required.

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

    The following fields are sortable:
    * contact.firstName
    * contact.lastName
    * contact.title
    * contact.company
    * registeredAt
    * checkIn
    | contact.company:DESC,contact.title:ASC | -| `includeDeletedGuests` | *boolean* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
    The `deletedGuest` filter has no effect unless this parameter is `true`.
    | | -| `filter` | *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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------\|
    \| event.id \| `eq`, `ne` \| \|
    \| id \| `eq`, `ne` \| \|
    \| confirmationNumber \| `eq`, `ne` \| \|
    \| checkedIn \| `eq`, `ne` \| \|
    \| checkIn \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| checkOut \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| registrationPath.id \| `eq`, `ne` \| \|
    \| invitationList.id \| `eq`, `ne` \| \|
    \| registrationType.id \| `eq`, `ne`, `is null`, `is not null`, `is empty`, `is not empty` \| \|
    \| referenceId \| `eq`, `ne` \| \|
    \| externalReference.type \| `eq` \| \|
    \| externalReference.id \| `eq` \| \|
    \| externalReference.referenceId \| `eq` \| \|
    \| note \| `eq`, `ne` \| \|
    \| guest \| `eq`, `ne` \| \|
    \| group.leader \| `eq`, `ne` \| \|
    \| group.id \| `eq`, `ne` \| \|
    \| unsubscribed \| `eq`, `ne` \| **DEPRECATED**: Please use PUT /attendees/{id}/email-subscriptions instead \|
    \| registeredAt \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| registrationLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| invitedBy \| `eq`, `ne` \| \|
    \| responseMethod \| `eq`, `ne` \| \|
    \| status \| `eq`, `ne` \| \|
    \| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated when any field in the response has changed. Used by the 'before' and 'after' filters. \|
    \| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| contact.id \| `eq`, `ne` \| \|
    \| visibility \| `eq`, `ne` \| \|
    \| contact.title \| `eq`, `ne`, `sw` \| \|
    \| contact.company \| `eq`, `ne`, `sw` \| \|
    \| contact.firstName \| `eq`, `ne`, `sw` \| \|
    \| contact.lastName \| `eq`, `ne`, `sw` \| \|
    \| answers.question.{question id} \| `eq`, `ne` \| \|
    \| contact.email \| `eq`, `ne`, `sw` \| \|
    \| attendeeLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated only when some field other than contact.* has changed. Not used by the 'before' and 'after' filters. \|
    \| appointmentGroup.id \| `eq`, `ne` \| \|
    \| contact.deleted \| `eq`, `ne` \| \|
    \| primaryId \| `eq`, `ne` \| \|
    \| deletedGuest \| `eq`, `ne` \| Filter returns guests marked as deleted. This filter works only when the query parameter `includeDeletedGuests` is `true`. \|
    | contact.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or checkedIn eq 'true' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `expand` | [components.Expand](../../models/components/expand.md)[] | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
    The expanded entity is retrieved and displayed inline for each specified expand value.

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

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

    The respective scopes for each expansion are required.

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

    The following fields are sortable:
    * contact.firstName
    * contact.lastName
    * contact.title
    * contact.company
    * registeredAt
    * checkIn
    | contact.company:DESC,contact.title:ASC | +| `includeDeletedGuests` | *boolean* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
    The `deletedGuest` filter has no effect unless this parameter is `true`.
    | | +| `filter` | *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 \| Notes \|
    \|------------------\|-------------------------------------\|------------------------------------------\|
    \| event.id \| `eq`, `ne` \| \|
    \| id \| `eq`, `ne` \| \|
    \| confirmationNumber \| `eq`, `ne` \| \|
    \| checkedIn \| `eq`, `ne` \| \|
    \| checkIn \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| checkOut \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| registrationPath.id \| `eq`, `ne` \| \|
    \| invitationList.id \| `eq`, `ne` \| \|
    \| registrationType.id \| `eq`, `ne`, `is null`, `is not null`, `is empty`, `is not empty` \| \|
    \| referenceId \| `eq`, `ne` \| \|
    \| externalReference.type \| `eq` \| \|
    \| externalReference.id \| `eq` \| \|
    \| externalReference.referenceId \| `eq` \| \|
    \| note \| `eq`, `ne` \| \|
    \| guest \| `eq`, `ne` \| \|
    \| group.leader \| `eq`, `ne` \| \|
    \| group.id \| `eq`, `ne` \| \|
    \| unsubscribed \| `eq`, `ne` \| Read-only. To update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) \|
    \| registeredAt \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| registrationLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| invitedBy \| `eq`, `ne` \| \|
    \| responseMethod \| `eq`, `ne` \| \|
    \| status \| `eq`, `ne` \| \|
    \| lastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated when any field in the response has changed. Used by the 'before' and 'after' filters. \|
    \| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| \|
    \| contact.id \| `eq`, `ne` \| \|
    \| visibility \| `eq`, `ne` \| \|
    \| contact.title \| `eq`, `ne`, `sw` \| \|
    \| contact.company \| `eq`, `ne`, `sw` \| \|
    \| contact.firstName \| `eq`, `ne`, `sw` \| \|
    \| contact.lastName \| `eq`, `ne`, `sw` \| \|
    \| answers.question.{question id} \| `eq`, `ne` \| \|
    \| contact.email \| `eq`, `ne`, `sw` \| \|
    \| attendeeLastModified \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \| Will be updated only when some field other than contact.* has changed. Not used by the 'before' and 'after' filters. \|
    \| appointmentGroup.id \| `eq`, `ne` \| \|
    \| contact.deleted \| `eq`, `ne` \| \|
    \| primaryId \| `eq`, `ne` \| \|
    \| deletedGuest \| `eq`, `ne` \| Filter returns guests marked as deleted. This filter works only when the query parameter `includeDeletedGuests` is `true`. \|
    | contact.id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or checkedIn eq 'true' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listattendeesresponse.md b/packages/typescript/docs/models/operations/listattendeesresponse.md index 91c0405ba..b6c49e7c6 100644 --- a/packages/typescript/docs/models/operations/listattendeesresponse.md +++ b/packages/typescript/docs/models/operations/listattendeesresponse.md @@ -167,6 +167,7 @@ let value: ListAttendeesResponse = { administrator: { id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, + unsubscribed: false, status: "Accepted", registeredAt: new Date("2018-01-13T02:00:00Z"), registrationLastModified: new Date("2018-01-13T02:00:00Z"), diff --git a/packages/typescript/docs/models/operations/listbulkjobresultrequest.md b/packages/typescript/docs/models/operations/listbulkjobresultrequest.md index 97975d469..24e955749 100644 --- a/packages/typescript/docs/models/operations/listbulkjobresultrequest.md +++ b/packages/typescript/docs/models/operations/listbulkjobresultrequest.md @@ -16,11 +16,11 @@ let value: ListBulkJobResultRequest = { ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | A uuid path parameter. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | -| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | -| `filter` | *string* | :heavy_minus_sign: | A filter query string narrows search results and supports the combination of logical and comparison operators.
    The filter adheres to the pattern filter='field' comparisonType 'value'.

    These are the comparison types that can be used in filter expressions:
    * equal: eq
    * not equal: ne

    The following fields are filterable:
    * failed (eq\|ne)
    | failed eq "true" | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A uuid path parameter. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
    This will override any other pageable parameters provided.
    | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `filter` | *string* | :heavy_minus_sign: | A filter query string narrows search results and supports the combination of logical and comparison operators.
    The filter adheres to the pattern filter='field' comparisonType 'value'.

    These are the comparison types that can be used in filter expressions:
    * equal: eq
    * not equal: ne

    The following fields are filterable:
    * failed (eq\|ne)

    **Note:** this filters for the top-level HTTP status of the target operation.
    For operations that return 207 (Multi-Status), filter results may not capture all failed records.
    Inspect individual record statuses in the `data` field for a complete picture.
    | failed eq "true" | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listeventweblinksrequest.md b/packages/typescript/docs/models/operations/listeventweblinksrequest.md index 4583275ab..57e64db1c 100644 --- a/packages/typescript/docs/models/operations/listeventweblinksrequest.md +++ b/packages/typescript/docs/models/operations/listeventweblinksrequest.md @@ -6,9 +6,9 @@ import { ListEventWeblinksRequest } from "@cvent/sdk/models/operations"; let value: ListEventWeblinksRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", locale: "en-US", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }; ``` @@ -16,7 +16,7 @@ let value: ListEventWeblinksRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `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 | | `locale` | *string* | :heavy_minus_sign: | Locale code in IETF Language tag format. Indicates desired locale of return values. | en-US | -| `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | | -| `id` | *string* | :heavy_check_mark: | Unique Id of an event | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listmeetingroomsoverviewsrequest.md b/packages/typescript/docs/models/operations/listmeetingroomsoverviewsrequest.md new file mode 100644 index 000000000..50b145ef0 --- /dev/null +++ b/packages/typescript/docs/models/operations/listmeetingroomsoverviewsrequest.md @@ -0,0 +1,22 @@ +# ListMeetingRoomsOverviewsRequest + +## Example Usage + +```typescript +import { ListMeetingRoomsOverviewsRequest } from "@cvent/sdk/models/operations"; + +let value: ListMeetingRoomsOverviewsRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + filter: "hiddenOnProfile eq 'false'", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous request. This must be a valid UUID v4 if provided. This will override any other pageable parameters provided. | 0e28af57-511f-47ab-ae46-46cd1ca51a1a | +| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results to data that matches your criteria. See [Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details. Supported fields and operators are listed below:

    * `hiddenOnProfile` (`eq`)
    | hiddenOnProfile eq 'false' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/patchmeetingroomrequest.md b/packages/typescript/docs/models/operations/patchmeetingroomrequest.md new file mode 100644 index 000000000..c88dbc104 --- /dev/null +++ b/packages/typescript/docs/models/operations/patchmeetingroomrequest.md @@ -0,0 +1,76 @@ +# PatchMeetingRoomRequest + +## Example Usage + +```typescript +import { PatchMeetingRoomRequest } from "@cvent/sdk/models/operations"; + +let value: PatchMeetingRoomRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "6f569db0-cd38-463b-b2c0-222c0f8c9750", + patchMeetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-RM-12345", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + hiddenOnProfile: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoomId` | *string* | :heavy_check_mark: | Unique identifier for a meeting room. | | +| `patchMeetingRoom` | [components.PatchMeetingRoom](../../models/components/patchmeetingroom.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/patchvenuedetailsrequest.md b/packages/typescript/docs/models/operations/patchvenuedetailsrequest.md new file mode 100644 index 000000000..4048dc577 --- /dev/null +++ b/packages/typescript/docs/models/operations/patchvenuedetailsrequest.md @@ -0,0 +1,47 @@ +# PatchVenueDetailsRequest + +## Example Usage + +```typescript +import { PatchVenueDetailsRequest } from "@cvent/sdk/models/operations"; + +let value: PatchVenueDetailsRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + venueDetailsPatch: { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: + "A premier conference and event venue in the heart of Northern Virginia.", + additionalInformation: + "Complimentary parking available for all event attendees.", + cancellationPolicy: + "48-hour cancellation policy applies for all event bookings.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `venueDetailsPatch` | [components.VenueDetailsPatch](../../models/components/venuedetailspatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/patchvenuefacilityrequest.md b/packages/typescript/docs/models/operations/patchvenuefacilityrequest.md new file mode 100644 index 000000000..1f80d7a6c --- /dev/null +++ b/packages/typescript/docs/models/operations/patchvenuefacilityrequest.md @@ -0,0 +1,52 @@ +# PatchVenueFacilityRequest + +## Example Usage + +```typescript +import { PatchVenueFacilityRequest } from "@cvent/sdk/models/operations"; + +let value: PatchVenueFacilityRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + venueFacilityPatch: { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: + "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `venueFacilityPatch` | [components.VenueFacilityPatch](../../models/components/venuefacilitypatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/updatemeetingrequestrequest.md b/packages/typescript/docs/models/operations/updatemeetingrequestrequest.md index 3f385bb6c..62ae9963a 100644 --- a/packages/typescript/docs/models/operations/updatemeetingrequestrequest.md +++ b/packages/typescript/docs/models/operations/updatemeetingrequestrequest.md @@ -32,8 +32,8 @@ let value: UpdateMeetingRequestRequest = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `skipRequiredQuestionValidation` | *boolean* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | -| `requestBody` | [components.MeetingRequestUpdateJson](../../models/components/meetingrequestupdatejson.md)[] | :heavy_check_mark: | Up to **5 meeting requests** can be updated per call. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Meeting request form ID. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `skipRequiredQuestionValidation` | *boolean* | :heavy_minus_sign: | Flag `true` to skip required field validation. | | +| `requestBody` | [components.MeetingRequestUpdate](../../models/components/meetingrequestupdate.md)[] | :heavy_check_mark: | Up to **5 meeting requests** can be updated per call. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/updatemeetingroomrequest.md b/packages/typescript/docs/models/operations/updatemeetingroomrequest.md new file mode 100644 index 000000000..46800ff6e --- /dev/null +++ b/packages/typescript/docs/models/operations/updatemeetingroomrequest.md @@ -0,0 +1,75 @@ +# UpdateMeetingRoomRequest + +## Example Usage + +```typescript +import { UpdateMeetingRoomRequest } from "@cvent/sdk/models/operations"; + +let value: UpdateMeetingRoomRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "2594ecc5-53f8-4f9d-9f54-0b6b8c7a8dd2", + existingMeetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `meetingRoomId` | *string* | :heavy_check_mark: | Unique identifier for a meeting room. | | +| `existingMeetingRoom` | [components.ExistingMeetingRoomInput](../../models/components/existingmeetingroominput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/updatevenuedetailsrequest.md b/packages/typescript/docs/models/operations/updatevenuedetailsrequest.md new file mode 100644 index 000000000..48bb53cd8 --- /dev/null +++ b/packages/typescript/docs/models/operations/updatevenuedetailsrequest.md @@ -0,0 +1,45 @@ +# UpdateVenueDetailsRequest + +## Example Usage + +```typescript +import { UpdateVenueDetailsRequest } from "@cvent/sdk/models/operations"; + +let value: UpdateVenueDetailsRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueDetails: { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: "A modern conference venue in downtown.", + additionalInformation: "Free parking available on-site.", + cancellationPolicy: "Full refund if cancelled 48 hours before event.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + country: "CH", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `existingVenueDetails` | [components.ExistingVenueDetailsInput](../../models/components/existingvenuedetailsinput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/updatevenuefacilityrequest.md b/packages/typescript/docs/models/operations/updatevenuefacilityrequest.md new file mode 100644 index 000000000..0ed222dc5 --- /dev/null +++ b/packages/typescript/docs/models/operations/updatevenuefacilityrequest.md @@ -0,0 +1,52 @@ +# UpdateVenueFacilityRequest + +## Example Usage + +```typescript +import { UpdateVenueFacilityRequest } from "@cvent/sdk/models/operations"; + +let value: UpdateVenueFacilityRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueFacility: { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: + "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `existingVenueFacility` | [components.ExistingVenueFacilityInput](../../models/components/existingvenuefacilityinput.md) | :heavy_check_mark: | N/A | | \ 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 b01ad4c8e..7956e46b1 100644 --- a/packages/typescript/docs/sdks/appointments/README.md +++ b/packages/typescript/docs/sdks/appointments/README.md @@ -937,11 +937,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## updateAppointment @@ -1069,11 +1068,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## cancelAppointment diff --git a/packages/typescript/docs/sdks/audiencesegments/README.md b/packages/typescript/docs/sdks/audiencesegments/README.md index d3acd2066..1e27e2fb5 100644 --- a/packages/typescript/docs/sdks/audiencesegments/README.md +++ b/packages/typescript/docs/sdks/audiencesegments/README.md @@ -415,8 +415,7 @@ run(); | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | | errors.SegmentsErrorResponse | 400 | application/json | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 401, 403, 429 | application/json | +| errors.ErrorResponse1 | 401, 403, 422, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## listAudienceSegments @@ -829,11 +828,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## deleteAudienceSegment @@ -1123,8 +1121,7 @@ run(); | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | | errors.SegmentsErrorResponse | 400 | application/json | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## disassociateAttendeeFromAudienceSegment diff --git a/packages/typescript/docs/sdks/budget/README.md b/packages/typescript/docs/sdks/budget/README.md index 3954ba4e6..cd536955e 100644 --- a/packages/typescript/docs/sdks/budget/README.md +++ b/packages/typescript/docs/sdks/budget/README.md @@ -1465,11 +1465,11 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.budget.getBudgetAllocations({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -1503,11 +1503,11 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await budgetGetBudgetAllocations(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "category.id eq 'e9ee2669-65db-46f8-872c-dbafbf9b0e92' or value lt 1000", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; diff --git a/packages/typescript/docs/sdks/bulk/README.md b/packages/typescript/docs/sdks/bulk/README.md index dbfd6ae5c..b47ce07e5 100644 --- a/packages/typescript/docs/sdks/bulk/README.md +++ b/packages/typescript/docs/sdks/bulk/README.md @@ -509,7 +509,14 @@ run(); ## listBulkJobResult -Used to list the results of a bulk Job. +Used to list the results of a bulk job. + +**Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation +is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record +reflects only whether the target operation returned an HTTP error — it does not capture partial item-level +failures within the multi-status response body. For these operations, inspect each result record's `data` field +to determine which items succeeded or failed. + ### Example Usage diff --git a/packages/typescript/docs/sdks/eventfeatures/README.md b/packages/typescript/docs/sdks/eventfeatures/README.md index a32493689..a5022a337 100644 --- a/packages/typescript/docs/sdks/eventfeatures/README.md +++ b/packages/typescript/docs/sdks/eventfeatures/README.md @@ -37,10 +37,10 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.eventFeatures.getEventFeatures({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", locale: "en-US", filter: "enabled eq 'true'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -74,10 +74,10 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await eventFeaturesGetEventFeatures(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", locale: "en-US", filter: "enabled eq 'true'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -362,9 +362,9 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.eventFeatures.listEventWeblinks({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", locale: "en-US", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -398,9 +398,9 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await eventFeaturesListEventWeblinks(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", locale: "en-US", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; diff --git a/packages/typescript/docs/sdks/eventtravel/README.md b/packages/typescript/docs/sdks/eventtravel/README.md index a7a36e1dd..2af96f032 100644 --- a/packages/typescript/docs/sdks/eventtravel/README.md +++ b/packages/typescript/docs/sdks/eventtravel/README.md @@ -35,6 +35,7 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.eventTravel.getAirActualDetail({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -43,7 +44,6 @@ async function run() { ], sort: "airActualDetails.name:DESC,airActualDetails.lastModified:ASC", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -77,6 +77,7 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await eventTravelGetAirActualDetail(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -85,7 +86,6 @@ async function run() { ], sort: "airActualDetails.name:DESC,airActualDetails.lastModified:ASC", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -143,6 +143,7 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.eventTravel.getAirRequests({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -151,7 +152,6 @@ async function run() { expand: [ "airRequestDetails.airRequestAnswers.question", ], - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -185,6 +185,7 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await eventTravelGetAirRequests(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -193,7 +194,6 @@ async function run() { expand: [ "airRequestDetails.airRequestAnswers.question", ], - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -251,11 +251,11 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.eventTravel.getAlternateTravelAnswers({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -289,11 +289,11 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await eventTravelGetAlternateTravelAnswers(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -351,6 +351,7 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.eventTravel.getHotelRequests({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -359,7 +360,6 @@ async function run() { ], sort: "hotelRequestDetails.requesterFirstName:DESC,hotelRequestDetails.requesterLastName:ASC", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -393,6 +393,7 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await eventTravelGetHotelRequests(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", @@ -401,7 +402,6 @@ async function run() { ], sort: "hotelRequestDetails.requesterFirstName:DESC,hotelRequestDetails.requesterLastName:ASC", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -459,11 +459,11 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.eventTravel.getHousingReservationRequests({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -497,11 +497,11 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await eventTravelGetHousingReservationRequests(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "(attendee.id eq '76f2b9e2-fcce-4d93-be29-a008b76a050c') OR (attendee.id eq '16322408-bae8-4b29-a559-702d2023e13a')", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; diff --git a/packages/typescript/docs/sdks/exhibitorcontent/README.md b/packages/typescript/docs/sdks/exhibitorcontent/README.md index 206da7b7d..76f95b05a 100644 --- a/packages/typescript/docs/sdks/exhibitorcontent/README.md +++ b/packages/typescript/docs/sdks/exhibitorcontent/README.md @@ -316,11 +316,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## disassociateExhibitorFile @@ -620,11 +619,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getExhibitorWeblink @@ -833,11 +831,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## deleteExhibitorWeblink diff --git a/packages/typescript/docs/sdks/meetingrequest/README.md b/packages/typescript/docs/sdks/meetingrequest/README.md index fd8d078da..899afebf1 100644 --- a/packages/typescript/docs/sdks/meetingrequest/README.md +++ b/packages/typescript/docs/sdks/meetingrequest/README.md @@ -289,11 +289,10 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse | 422 | application/json | -| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## createMeetingRequest @@ -407,7 +406,7 @@ run(); ### Response -**Promise\<[components.MeetingRequestBulkResponseItemJson[]](../../models/.md)\>** +**Promise\<[components.MeetingRequestBulkResponseItem[]](../../models/.md)\>** ### Errors @@ -502,7 +501,7 @@ run(); ### Response -**Promise\<[components.MeetingRequestBulkResponseItemJson[]](../../models/.md)\>** +**Promise\<[components.MeetingRequestBulkResponseItem[]](../../models/.md)\>** ### Errors diff --git a/packages/typescript/docs/sdks/surveys/README.md b/packages/typescript/docs/sdks/surveys/README.md index 3bacd2095..0ad0c9971 100644 --- a/packages/typescript/docs/sdks/surveys/README.md +++ b/packages/typescript/docs/sdks/surveys/README.md @@ -151,11 +151,11 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.surveys.getEventSurveys({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -189,11 +189,11 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await surveysGetEventSurveys(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and type eq 'Session Feedback' and sessions eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' or sessions eq '05ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -251,11 +251,11 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.surveys.getEventSurveyQuestions({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -289,11 +289,11 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await surveysGetEventSurveyQuestions(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -827,12 +827,12 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.surveys.getEventSurveyResponses({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -866,12 +866,12 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await surveysGetEventSurveyResponses(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", filter: "id eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3'", - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; @@ -1513,8 +1513,8 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.surveys.getStandardSurveyEmailTemplates({ - token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", }); for await (const page of result) { @@ -1548,8 +1548,8 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await surveysGetStandardSurveyEmailTemplates(cventSDK, { - token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", }); if (res.ok) { const { value: result } = res; @@ -1607,10 +1607,10 @@ const cventSDK = new CventSDK({ async function run() { const result = await cventSDK.surveys.getStandardSurveyQuestions({ + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); for await (const page of result) { @@ -1644,10 +1644,10 @@ const cventSDK = new CventSDKCore({ async function run() { const res = await surveysGetStandardSurveyQuestions(cventSDK, { + surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", after: new Date("2017-01-02T02:00:00Z"), before: new Date("2017-01-02T02:00:00Z"), token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", - surveyId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }); if (res.ok) { const { value: result } = res; diff --git a/packages/typescript/docs/sdks/venuemeetingrooms/README.md b/packages/typescript/docs/sdks/venuemeetingrooms/README.md new file mode 100644 index 000000000..1b52531a7 --- /dev/null +++ b/packages/typescript/docs/sdks/venuemeetingrooms/README.md @@ -0,0 +1,749 @@ +# VenueMeetingRooms + +## Overview + +Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. + +### Available Operations + +* [createMeetingRoom](#createmeetingroom) - Create Meeting Room +* [listMeetingRoomsOverviews](#listmeetingroomsoverviews) - List Meeting Rooms Overviews +* [updateMeetingRoom](#updatemeetingroom) - Update Meeting Room +* [patchMeetingRoom](#patchmeetingroom) - Patch Meeting Room +* [getMeetingRoomOverview](#getmeetingroomoverview) - Get Meeting Room Overview + +## createMeetingRoom + +Create a new meeting room for the specified venue. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueMeetingRooms.createMeetingRoom({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueMeetingRoomsCreateMeetingRoom } from "@cvent/sdk/funcs/venueMeetingRoomsCreateMeetingRoom.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueMeetingRoomsCreateMeetingRoom(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueMeetingRoomsCreateMeetingRoom failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.CreateMeetingRoomRequest](../../models/operations/createmeetingroomrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.CreateMeetingRoomResponse](../../models/operations/createmeetingroomresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## listMeetingRoomsOverviews + +Retrieve a paginated list of meeting room overviews for the specified venue. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueMeetingRooms.listMeetingRoomsOverviews({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + filter: "hiddenOnProfile eq 'false'", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueMeetingRoomsListMeetingRoomsOverviews } from "@cvent/sdk/funcs/venueMeetingRoomsListMeetingRoomsOverviews.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueMeetingRoomsListMeetingRoomsOverviews(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + filter: "hiddenOnProfile eq 'false'", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueMeetingRoomsListMeetingRoomsOverviews failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListMeetingRoomsOverviewsRequest](../../models/operations/listmeetingroomsoverviewsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.MeetingRoomsOverviewResponse](../../models/components/meetingroomsoverviewresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## updateMeetingRoom + +Update a meeting room for the specified venue, replacing the existing meeting room data. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueMeetingRooms.updateMeetingRoom({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "2344f9ab-537e-412f-ad6d-264fedbf17a6", + existingMeetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueMeetingRoomsUpdateMeetingRoom } from "@cvent/sdk/funcs/venueMeetingRoomsUpdateMeetingRoom.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueMeetingRoomsUpdateMeetingRoom(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "2344f9ab-537e-412f-ad6d-264fedbf17a6", + existingMeetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-123", + rates: { + moveIn: { + value: 500, + applicationType: "PER_DAY", + }, + moveOut: { + value: 500, + applicationType: "PER_DAY", + }, + event: { + value: 500, + applicationType: "PER_DAY", + }, + }, + capacities: { + exhibits: [ + { + layoutType: "BOOTH_10x10", + maxExhibits: 50, + }, + ], + seating: [ + { + layoutType: "THEATER", + maxAttendees: 250, + }, + ], + }, + amenities: [ + "PROJECTOR", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueMeetingRoomsUpdateMeetingRoom failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateMeetingRoomRequest](../../models/operations/updatemeetingroomrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ExistingMeetingRoom](../../models/components/existingmeetingroom.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## patchMeetingRoom + +Partially update a meeting room for the specified venue. + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged. +- All changes are applied atomically. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueMeetingRooms.patchMeetingRoom({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "2a12f958-0ac4-4665-9210-449812da553a", + patchMeetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-RM-12345", + rates: null, + capacities: null, + amenities: [ + "PROJECTOR", + ], + hiddenOnProfile: false, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueMeetingRoomsPatchMeetingRoom } from "@cvent/sdk/funcs/venueMeetingRoomsPatchMeetingRoom.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueMeetingRoomsPatchMeetingRoom(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "2a12f958-0ac4-4665-9210-449812da553a", + patchMeetingRoom: { + name: "Grand Ballroom", + description: "Large conference space with natural lighting", + dimensions: { + totalSpace: { + value: 1500, + unit: "SQUARE_FEET", + }, + ceilingHeight: { + value: 12.5, + unit: "FEET", + }, + length: { + value: 12.5, + unit: "FEET", + }, + width: { + value: 12.5, + unit: "FEET", + }, + }, + displayOrder: 1, + externalSourceId: "EXT-RM-12345", + rates: null, + capacities: null, + amenities: [ + "PROJECTOR", + ], + hiddenOnProfile: false, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueMeetingRoomsPatchMeetingRoom failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.PatchMeetingRoomRequest](../../models/operations/patchmeetingroomrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.PatchMeetingRoom](../../models/components/patchmeetingroom.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## getMeetingRoomOverview + +Retrieve an overview of a specific meeting room for the specified venue. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueMeetingRooms.getMeetingRoomOverview({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "081078e3-8a73-49c6-b757-a3d52dbc2cc8", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueMeetingRoomsGetMeetingRoomOverview } from "@cvent/sdk/funcs/venueMeetingRoomsGetMeetingRoomOverview.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueMeetingRoomsGetMeetingRoomOverview(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + meetingRoomId: "081078e3-8a73-49c6-b757-a3d52dbc2cc8", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueMeetingRoomsGetMeetingRoomOverview failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetMeetingRoomOverviewRequest](../../models/operations/getmeetingroomoverviewrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.MeetingRoomOverview](../../models/components/meetingroomoverview.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/typescript/docs/sdks/venueprofiles/README.md b/packages/typescript/docs/sdks/venueprofiles/README.md new file mode 100644 index 000000000..0b4c6d067 --- /dev/null +++ b/packages/typescript/docs/sdks/venueprofiles/README.md @@ -0,0 +1,714 @@ +# VenueProfiles + +## Overview + +Manage venue profile details including type, contact information, address, and other venue properties. + +### Available Operations + +* [updateVenueDetails](#updatevenuedetails) - Update Venue Details +* [patchVenueDetails](#patchvenuedetails) - Patch Venue Details +* [getVenueDetailsOverview](#getvenuedetailsoverview) - Get Venue Details Overview +* [updateVenueFacility](#updatevenuefacility) - Update Venue Facility +* [patchVenueFacility](#patchvenuefacility) - Patch Venue Facility + +## updateVenueDetails + +Update venue details for the specified venue, replacing the existing venue details data. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueProfiles.updateVenueDetails({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueDetails: { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: "A modern conference venue in downtown.", + additionalInformation: "Free parking available on-site.", + cancellationPolicy: "Full refund if cancelled 48 hours before event.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + country: "LA", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueProfilesUpdateVenueDetails } from "@cvent/sdk/funcs/venueProfilesUpdateVenueDetails.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueProfilesUpdateVenueDetails(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueDetails: { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: "A modern conference venue in downtown.", + additionalInformation: "Free parking available on-site.", + cancellationPolicy: "Full refund if cancelled 48 hours before event.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + country: "LA", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueProfilesUpdateVenueDetails failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateVenueDetailsRequest](../../models/operations/updatevenuedetailsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ExistingVenueDetails](../../models/components/existingvenuedetails.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## patchVenueDetails + +Partially updates the specified venue's details using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- If any part of the patch fails, the entire request will fail. + +**Array Handling:** +- Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. +- If an array property is not included in the payload, no updates are made to that field. +- If an empty array is sent, it replaces the existing array with an empty array. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueProfiles.patchVenueDetails({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + venueDetailsPatch: { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: "A premier conference and event venue in the heart of Northern Virginia.", + additionalInformation: "Complimentary parking available for all event attendees.", + cancellationPolicy: "48-hour cancellation policy applies for all event bookings.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueProfilesPatchVenueDetails } from "@cvent/sdk/funcs/venueProfilesPatchVenueDetails.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueProfilesPatchVenueDetails(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + venueDetailsPatch: { + type: "HOTEL", + timeZone: "America/New_York", + brand: "Quality Hotels", + chainScale: "UPSCALE_CHAINS", + mainPhoneNumber: "+1-703-555-0100", + mainFaxNumber: "+1-703-555-0101", + salesPhoneNumber: "+1-703-555-0102", + salesFaxNumber: "+1-703-555-0103", + tollFreeNumber: "1-800-555-0100", + websiteAddress: "https://www.example-hotel.com", + openingDate: "Spring 2025", + description: "A premier conference and event venue in the heart of Northern Virginia.", + additionalInformation: "Complimentary parking available for all event attendees.", + cancellationPolicy: "48-hour cancellation policy applies for all event bookings.", + locationTypes: [ + "SUBURBAN", + ], + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + directions: "Take I-66 West to Exit 67, then follow signs to Trap Road.", + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueProfilesPatchVenueDetails failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.PatchVenueDetailsRequest](../../models/operations/patchvenuedetailsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.VenueDetailsPatch](../../models/components/venuedetailspatch.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## getVenueDetailsOverview + +Retrieve an overview of venue details for the specified venue. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueProfiles.getVenueDetailsOverview({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueProfilesGetVenueDetailsOverview } from "@cvent/sdk/funcs/venueProfilesGetVenueDetailsOverview.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueProfilesGetVenueDetailsOverview(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueProfilesGetVenueDetailsOverview failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetVenueDetailsOverviewRequest](../../models/operations/getvenuedetailsoverviewrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.VenueDetailsOverview](../../models/components/venuedetailsoverview.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## updateVenueFacility + +Update the facility information for the specified venue, replacing all existing values with those provided in the request body. + +Field applicability varies by venue type: +- Most facility information fields do not apply to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueProfiles.updateVenueFacility({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueFacility: { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueProfilesUpdateVenueFacility } from "@cvent/sdk/funcs/venueProfilesUpdateVenueFacility.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueProfilesUpdateVenueFacility(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueFacility: { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueProfilesUpdateVenueFacility failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateVenueFacilityRequest](../../models/operations/updatevenuefacilityrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ExistingVenueFacility](../../models/components/existingvenuefacility.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## patchVenueFacility + +Partially update the facility information for the specified venue using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- If any part of the patch fails, the entire request will fail. +- `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + +Field applicability varies by venue type: +- Most facility information fields do not apply to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueProfiles.patchVenueFacility({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + venueFacilityPatch: { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueProfilesPatchVenueFacility } from "@cvent/sdk/funcs/venueProfilesPatchVenueFacility.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueProfilesPatchVenueFacility(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + venueFacilityPatch: { + numberOfMeetingRooms: 25, + space: { + totalMeetingRoomSpace: 50000, + totalExhibitSpace: 75000, + }, + sleeping: { + totalRooms: 350, + suites: 20, + singleRooms: 200, + doubleRooms: 130, + }, + singleRate: { + low: 129.99, + high: 249.99, + }, + doubleRate: { + low: 149.99, + high: 299.99, + }, + taxRate: 8.5, + occupancyRate: 75.5, + yearBuilt: 1998, + yearRenovated: 2021, + proximityFromAirport: { + distance: 12.5, + }, + restrictions: "No outside food or beverage permitted. Music must end by 11 PM.", + maximumCapacity: { + seated: 500, + standing: 800, + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueProfilesPatchVenueFacility failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.PatchVenueFacilityRequest](../../models/operations/patchvenuefacilityrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.VenueFacilityPatch](../../models/components/venuefacilitypatch.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/typescript/jsr.json b/packages/typescript/jsr.json index 8d6ca1421..c6b192974 100644 --- a/packages/typescript/jsr.json +++ b/packages/typescript/jsr.json @@ -2,7 +2,7 @@ { "name": "@cvent/sdk", - "version": "1.5.2", + "version": "1.6.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 1637baaa0..ed78ed79e 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@cvent/sdk", - "version": "1.5.2", + "version": "1.6.0", "author": "Cvent", "files": [ "dist/", diff --git a/packages/typescript/src/funcs/appointmentsCreateAppointment.ts b/packages/typescript/src/funcs/appointmentsCreateAppointment.ts index d2183952b..0651d3161 100644 --- a/packages/typescript/src/funcs/appointmentsCreateAppointment.ts +++ b/packages/typescript/src/funcs/appointmentsCreateAppointment.ts @@ -41,7 +41,6 @@ export function appointmentsCreateAppointment( ): APIPromise< Result< components.AppointmentWithQuestions, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +67,6 @@ async function $do( [ Result< components.AppointmentWithQuestions, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -174,7 +172,6 @@ async function $do( const [result] = await M.match< components.AppointmentWithQuestions, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -186,8 +183,10 @@ async function $do( | SDKValidationError >( M.json(201, components.AppointmentWithQuestions$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 422, 429], + errors.ErrorResponse1$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts b/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts index 1a73a4c0c..4c8a5bfd9 100644 --- a/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts +++ b/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts @@ -41,7 +41,6 @@ export function appointmentsUpdateAppointment( ): APIPromise< Result< components.AppointmentWithQuestions, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +67,6 @@ async function $do( [ Result< components.AppointmentWithQuestions, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -180,7 +178,6 @@ async function $do( const [result] = await M.match< components.AppointmentWithQuestions, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -192,8 +189,10 @@ async function $do( | SDKValidationError >( M.json(200, components.AppointmentWithQuestions$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 422, 429], + errors.ErrorResponse1$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts b/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts index e4dea7a32..c31663e51 100644 --- a/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts @@ -42,7 +42,6 @@ export function audienceSegmentsAssociateAttendeeToSegment( Result< void, | errors.SegmentsErrorResponse - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -70,7 +69,6 @@ async function $do( Result< void, | errors.SegmentsErrorResponse - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -177,7 +175,6 @@ async function $do( const [result] = await M.match< void, | errors.SegmentsErrorResponse - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -190,8 +187,7 @@ async function $do( >( M.nil(204, z.void()), M.jsonErr(400, errors.SegmentsErrorResponse$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr([401, 403, 404, 422, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts b/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts index a37367e29..93fd95a8b 100644 --- a/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts @@ -41,7 +41,6 @@ export function audienceSegmentsCreateAudienceSegment( Result< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -69,7 +68,6 @@ async function $do( Result< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -162,7 +160,6 @@ async function $do( const [result] = await M.match< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -175,8 +172,7 @@ async function $do( >( M.json(201, components.ExistingAudienceSegment$inboundSchema), M.jsonErr(400, errors.SegmentsErrorResponse$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([401, 403, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr([401, 403, 422, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts b/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts index 950127c5a..2797bc683 100644 --- a/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts @@ -41,7 +41,6 @@ export function audienceSegmentsUpdateAudienceSegment( ): APIPromise< Result< components.ExistingAudienceSegment, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +67,6 @@ async function $do( [ Result< components.ExistingAudienceSegment, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -171,7 +169,6 @@ async function $do( const [result] = await M.match< components.ExistingAudienceSegment, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -183,8 +180,10 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingAudienceSegment$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 422, 429], + errors.ErrorResponse1$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/bulkListBulkJobResult.ts b/packages/typescript/src/funcs/bulkListBulkJobResult.ts index 3fd8409bc..8bf217f47 100644 --- a/packages/typescript/src/funcs/bulkListBulkJobResult.ts +++ b/packages/typescript/src/funcs/bulkListBulkJobResult.ts @@ -36,7 +36,13 @@ import { * List Bulk Job Result * * @remarks - * Used to list the results of a bulk Job. + * Used to list the results of a bulk job. + * + * **Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial item-level + * failures within the multi-status response body. For these operations, inspect each result record's `data` field + * to determine which items succeeded or failed. */ export function bulkListBulkJobResult( client: CventSDKCore, diff --git a/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts b/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts index 829028a54..500e2e919 100644 --- a/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts +++ b/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts @@ -41,7 +41,6 @@ export function exhibitorContentCreateExhibitorWeblink( ): APIPromise< Result< components.ExistingWeblink, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +67,6 @@ async function $do( [ Result< components.ExistingWeblink, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -174,7 +172,6 @@ async function $do( const [result] = await M.match< components.ExistingWeblink, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -186,8 +183,10 @@ async function $do( | SDKValidationError >( M.json(201, components.ExistingWeblink$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 422, 429], + errors.ErrorResponse1$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts index 820bfe009..bb280335f 100644 --- a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts +++ b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts @@ -41,7 +41,6 @@ export function exhibitorContentUpdateExhibitorFile( ): APIPromise< Result< components.ExistingFile, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +67,6 @@ async function $do( [ Result< components.ExistingFile, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,7 +176,6 @@ async function $do( const [result] = await M.match< components.ExistingFile, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -190,8 +187,10 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingFile$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 422, 429], + errors.ErrorResponse1$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts index bf5c49c9b..5d77f6501 100644 --- a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts +++ b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts @@ -41,7 +41,6 @@ export function exhibitorContentUpdateExhibitorWeblink( ): APIPromise< Result< components.ExistingWeblink, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +67,6 @@ async function $do( [ Result< components.ExistingWeblink, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,7 +176,6 @@ async function $do( const [result] = await M.match< components.ExistingWeblink, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -190,8 +187,10 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingWeblink$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 422, 429], + errors.ErrorResponse1$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/meetingRequestCreateMeetingRequest.ts b/packages/typescript/src/funcs/meetingRequestCreateMeetingRequest.ts index a1e538754..6ec9ab58e 100644 --- a/packages/typescript/src/funcs/meetingRequestCreateMeetingRequest.ts +++ b/packages/typescript/src/funcs/meetingRequestCreateMeetingRequest.ts @@ -43,7 +43,7 @@ export function meetingRequestCreateMeetingRequest( options?: RequestOptions, ): APIPromise< Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -69,7 +69,7 @@ async function $do( ): Promise< [ Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -173,7 +173,7 @@ async function $do( }; const [result] = await M.match< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -186,7 +186,7 @@ async function $do( >( M.json( 207, - z.array(components.MeetingRequestBulkResponseItemJson$inboundSchema), + z.array(components.MeetingRequestBulkResponseItem$inboundSchema), ), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), diff --git a/packages/typescript/src/funcs/meetingRequestGetMRFById.ts b/packages/typescript/src/funcs/meetingRequestGetMRFById.ts index 748c43eb0..487d2e6d6 100644 --- a/packages/typescript/src/funcs/meetingRequestGetMRFById.ts +++ b/packages/typescript/src/funcs/meetingRequestGetMRFById.ts @@ -41,7 +41,6 @@ export function meetingRequestGetMRFById( ): APIPromise< Result< components.MeetingRequestForm, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +67,6 @@ async function $do( [ Result< components.MeetingRequestForm, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -166,7 +164,6 @@ async function $do( const [result] = await M.match< components.MeetingRequestForm, - | errors.ErrorResponse | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,8 +175,7 @@ async function $do( | SDKValidationError >( M.json(200, components.MeetingRequestForm$inboundSchema), - M.jsonErr(422, errors.ErrorResponse$inboundSchema), - M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr([401, 403, 404, 422, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/meetingRequestUpdateMeetingRequest.ts b/packages/typescript/src/funcs/meetingRequestUpdateMeetingRequest.ts index effffd37f..d07ae7cfa 100644 --- a/packages/typescript/src/funcs/meetingRequestUpdateMeetingRequest.ts +++ b/packages/typescript/src/funcs/meetingRequestUpdateMeetingRequest.ts @@ -43,7 +43,7 @@ export function meetingRequestUpdateMeetingRequest( options?: RequestOptions, ): APIPromise< Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -69,7 +69,7 @@ async function $do( ): Promise< [ Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -173,7 +173,7 @@ async function $do( }; const [result] = await M.match< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -186,7 +186,7 @@ async function $do( >( M.json( 207, - z.array(components.MeetingRequestBulkResponseItemJson$inboundSchema), + z.array(components.MeetingRequestBulkResponseItem$inboundSchema), ), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), diff --git a/packages/typescript/src/funcs/travelRFPsGetTravelProposal.ts b/packages/typescript/src/funcs/travelRFPsGetTravelProposal.ts index d241ef6b7..4982612df 100644 --- a/packages/typescript/src/funcs/travelRFPsGetTravelProposal.ts +++ b/packages/typescript/src/funcs/travelRFPsGetTravelProposal.ts @@ -110,7 +110,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "GetTravelProposal", - oAuth2Scopes: ["business-transient/proposals:read"], + oAuth2Scopes: [ + "business-transient/proposals:read", + "business-travel/proposals:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts b/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts index 2f69a41eb..71cf6d527 100644 --- a/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts +++ b/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts @@ -113,7 +113,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "GetTravelProposalBid", - oAuth2Scopes: ["business-transient/bids:read"], + oAuth2Scopes: ["business-transient/bids:read", "business-travel/bids:read"], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsListTravelProposalBids.ts b/packages/typescript/src/funcs/travelRFPsListTravelProposalBids.ts index 844305c20..e4af2f068 100644 --- a/packages/typescript/src/funcs/travelRFPsListTravelProposalBids.ts +++ b/packages/typescript/src/funcs/travelRFPsListTravelProposalBids.ts @@ -123,7 +123,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "ListTravelProposalBids", - oAuth2Scopes: ["business-transient/bids:read"], + oAuth2Scopes: ["business-transient/bids:read", "business-travel/bids:read"], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsListTravelProposals.ts b/packages/typescript/src/funcs/travelRFPsListTravelProposals.ts index 47c6ce2d3..a1ac457ed 100644 --- a/packages/typescript/src/funcs/travelRFPsListTravelProposals.ts +++ b/packages/typescript/src/funcs/travelRFPsListTravelProposals.ts @@ -123,7 +123,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "ListTravelProposals", - oAuth2Scopes: ["business-transient/proposals:read"], + oAuth2Scopes: [ + "business-transient/proposals:read", + "business-travel/proposals:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/venueMeetingRoomsCreateMeetingRoom.ts b/packages/typescript/src/funcs/venueMeetingRoomsCreateMeetingRoom.ts new file mode 100644 index 000000000..e6b5cd023 --- /dev/null +++ b/packages/typescript/src/funcs/venueMeetingRoomsCreateMeetingRoom.ts @@ -0,0 +1,188 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Create Meeting Room + * + * @remarks + * Create a new meeting room for the specified venue. + */ +export function venueMeetingRoomsCreateMeetingRoom( + client: CventSDKCore, + request: operations.CreateMeetingRoomRequest, + options?: RequestOptions, +): APIPromise< + Result< + operations.CreateMeetingRoomResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.CreateMeetingRoomRequest, + options?: RequestOptions, +): Promise< + [ + Result< + operations.CreateMeetingRoomResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.CreateMeetingRoomRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.meetingRoom, { explode: true }); + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/meeting-rooms")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "createMeetingRoom", + oAuth2Scopes: ["venue/meeting-rooms:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + operations.CreateMeetingRoomResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(201, operations.CreateMeetingRoomResponse$inboundSchema, { + hdrs: true, + key: "Result", + }), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueMeetingRoomsGetMeetingRoomOverview.ts b/packages/typescript/src/funcs/venueMeetingRoomsGetMeetingRoomOverview.ts new file mode 100644 index 000000000..aac57e7b2 --- /dev/null +++ b/packages/typescript/src/funcs/venueMeetingRoomsGetMeetingRoomOverview.ts @@ -0,0 +1,192 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get Meeting Room Overview + * + * @remarks + * Retrieve an overview of a specific meeting room for the specified venue. + */ +export function venueMeetingRoomsGetMeetingRoomOverview( + client: CventSDKCore, + request: operations.GetMeetingRoomOverviewRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.MeetingRoomOverview, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.GetMeetingRoomOverviewRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.MeetingRoomOverview, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.GetMeetingRoomOverviewRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + meetingRoomId: encodeSimple("meetingRoomId", payload.meetingRoomId, { + explode: false, + charEncoding: "percent", + }), + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc( + "/venues/{venueId}/meeting-rooms/{meetingRoomId}/overview", + )(pathParams); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getMeetingRoomOverview", + oAuth2Scopes: ["venue/meeting-room-overviews:read"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.MeetingRoomOverview, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.MeetingRoomOverview$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueMeetingRoomsListMeetingRoomsOverviews.ts b/packages/typescript/src/funcs/venueMeetingRoomsListMeetingRoomsOverviews.ts new file mode 100644 index 000000000..59f2d0c0a --- /dev/null +++ b/packages/typescript/src/funcs/venueMeetingRoomsListMeetingRoomsOverviews.ts @@ -0,0 +1,195 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * List Meeting Rooms Overviews + * + * @remarks + * Retrieve a paginated list of meeting room overviews for the specified venue. + */ +export function venueMeetingRoomsListMeetingRoomsOverviews( + client: CventSDKCore, + request: operations.ListMeetingRoomsOverviewsRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.MeetingRoomsOverviewResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.ListMeetingRoomsOverviewsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.MeetingRoomsOverviewResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListMeetingRoomsOverviewsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/meeting-rooms/overviews")( + pathParams, + ); + + const query = encodeFormQuery({ + "filter": payload.filter, + "limit": payload.limit, + "token": payload.token, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "listMeetingRoomsOverviews", + oAuth2Scopes: ["venue/meeting-room-overviews:read"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.MeetingRoomsOverviewResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.MeetingRoomsOverviewResponse$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueMeetingRoomsPatchMeetingRoom.ts b/packages/typescript/src/funcs/venueMeetingRoomsPatchMeetingRoom.ts new file mode 100644 index 000000000..2ffd5b966 --- /dev/null +++ b/packages/typescript/src/funcs/venueMeetingRoomsPatchMeetingRoom.ts @@ -0,0 +1,197 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Patch Meeting Room + * + * @remarks + * Partially update a meeting room for the specified venue. + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged. + * - All changes are applied atomically. + */ +export function venueMeetingRoomsPatchMeetingRoom( + client: CventSDKCore, + request: operations.PatchMeetingRoomRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.PatchMeetingRoom, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.PatchMeetingRoomRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.PatchMeetingRoom, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.PatchMeetingRoomRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.patchMeetingRoom, { explode: true }); + + const pathParams = { + meetingRoomId: encodeSimple("meetingRoomId", payload.meetingRoomId, { + explode: false, + charEncoding: "percent", + }), + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/meeting-rooms/{meetingRoomId}")( + pathParams, + ); + + const headers = new Headers(compactMap({ + "Content-Type": "application/merge-patch+json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "patchMeetingRoom", + oAuth2Scopes: ["venue/meeting-rooms:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.PatchMeetingRoom, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.PatchMeetingRoom$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueMeetingRoomsUpdateMeetingRoom.ts b/packages/typescript/src/funcs/venueMeetingRoomsUpdateMeetingRoom.ts new file mode 100644 index 000000000..707a87609 --- /dev/null +++ b/packages/typescript/src/funcs/venueMeetingRoomsUpdateMeetingRoom.ts @@ -0,0 +1,194 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Meeting Room + * + * @remarks + * Update a meeting room for the specified venue, replacing the existing meeting room data. + */ +export function venueMeetingRoomsUpdateMeetingRoom( + client: CventSDKCore, + request: operations.UpdateMeetingRoomRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.ExistingMeetingRoom, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.UpdateMeetingRoomRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.ExistingMeetingRoom, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.UpdateMeetingRoomRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.existingMeetingRoom, { + explode: true, + }); + + const pathParams = { + meetingRoomId: encodeSimple("meetingRoomId", payload.meetingRoomId, { + explode: false, + charEncoding: "percent", + }), + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/meeting-rooms/{meetingRoomId}")( + pathParams, + ); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateMeetingRoom", + oAuth2Scopes: ["venue/meeting-rooms:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PUT", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.ExistingMeetingRoom, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ExistingMeetingRoom$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueProfilesGetVenueDetailsOverview.ts b/packages/typescript/src/funcs/venueProfilesGetVenueDetailsOverview.ts new file mode 100644 index 000000000..5cc7e7081 --- /dev/null +++ b/packages/typescript/src/funcs/venueProfilesGetVenueDetailsOverview.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get Venue Details Overview + * + * @remarks + * Retrieve an overview of venue details for the specified venue. + */ +export function venueProfilesGetVenueDetailsOverview( + client: CventSDKCore, + request: operations.GetVenueDetailsOverviewRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.VenueDetailsOverview, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.GetVenueDetailsOverviewRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.VenueDetailsOverview, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.GetVenueDetailsOverviewRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/details/overview")(pathParams); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getVenueDetailsOverview", + oAuth2Scopes: ["venue/venue-details-overview:read"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.VenueDetailsOverview, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.VenueDetailsOverview$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueProfilesPatchVenueDetails.ts b/packages/typescript/src/funcs/venueProfilesPatchVenueDetails.ts new file mode 100644 index 000000000..6ca5b8e6d --- /dev/null +++ b/packages/typescript/src/funcs/venueProfilesPatchVenueDetails.ts @@ -0,0 +1,195 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Patch Venue Details + * + * @remarks + * Partially updates the specified venue's details using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + * **Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + */ +export function venueProfilesPatchVenueDetails( + client: CventSDKCore, + request: operations.PatchVenueDetailsRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.VenueDetailsPatch, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.PatchVenueDetailsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.VenueDetailsPatch, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.PatchVenueDetailsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.venueDetailsPatch, { explode: true }); + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/details")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/merge-patch+json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "patchVenueDetails", + oAuth2Scopes: ["venue/venue-details:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.VenueDetailsPatch, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.VenueDetailsPatch$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueProfilesPatchVenueFacility.ts b/packages/typescript/src/funcs/venueProfilesPatchVenueFacility.ts new file mode 100644 index 000000000..4df182186 --- /dev/null +++ b/packages/typescript/src/funcs/venueProfilesPatchVenueFacility.ts @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Patch Venue Facility + * + * @remarks + * Partially update the facility information for the specified venue using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + * Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + */ +export function venueProfilesPatchVenueFacility( + client: CventSDKCore, + request: operations.PatchVenueFacilityRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.VenueFacilityPatch, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.PatchVenueFacilityRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.VenueFacilityPatch, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.PatchVenueFacilityRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.venueFacilityPatch, { + explode: true, + }); + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/facility")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/merge-patch+json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "patchVenueFacility", + oAuth2Scopes: ["venue/venue-facility:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.VenueFacilityPatch, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.VenueFacilityPatch$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueProfilesUpdateVenueDetails.ts b/packages/typescript/src/funcs/venueProfilesUpdateVenueDetails.ts new file mode 100644 index 000000000..cd24c24f2 --- /dev/null +++ b/packages/typescript/src/funcs/venueProfilesUpdateVenueDetails.ts @@ -0,0 +1,188 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Venue Details + * + * @remarks + * Update venue details for the specified venue, replacing the existing venue details data. + */ +export function venueProfilesUpdateVenueDetails( + client: CventSDKCore, + request: operations.UpdateVenueDetailsRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.ExistingVenueDetails, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.UpdateVenueDetailsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.ExistingVenueDetails, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.UpdateVenueDetailsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.existingVenueDetails, { + explode: true, + }); + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/details")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateVenueDetails", + oAuth2Scopes: ["venue/venue-details:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PUT", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.ExistingVenueDetails, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ExistingVenueDetails$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueProfilesUpdateVenueFacility.ts b/packages/typescript/src/funcs/venueProfilesUpdateVenueFacility.ts new file mode 100644 index 000000000..13166002f --- /dev/null +++ b/packages/typescript/src/funcs/venueProfilesUpdateVenueFacility.ts @@ -0,0 +1,192 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Venue Facility + * + * @remarks + * Update the facility information for the specified venue, replacing all existing values with those provided in the request body. + * + * Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + */ +export function venueProfilesUpdateVenueFacility( + client: CventSDKCore, + request: operations.UpdateVenueFacilityRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.ExistingVenueFacility, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.UpdateVenueFacilityRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.ExistingVenueFacility, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.UpdateVenueFacilityRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.existingVenueFacility, { + explode: true, + }); + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/facility")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateVenueFacility", + oAuth2Scopes: ["venue/venue-facility:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PUT", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.ExistingVenueFacility, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ExistingVenueFacility$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/hooks/oauth2scopes.ts b/packages/typescript/src/hooks/oauth2scopes.ts index dd38f9978..55a563bc5 100644 --- a/packages/typescript/src/hooks/oauth2scopes.ts +++ b/packages/typescript/src/hooks/oauth2scopes.ts @@ -153,6 +153,14 @@ export type OAuth2AuthorizationCodeOAuth2Scope = * Allows the reading of BT Proposal data */ | "business-transient/proposals:read" + /** + * Allows the reading of BT Bid data + */ + | "business-travel/bids:read" + /** + * Allows the reading of BT Proposal data + */ + | "business-travel/proposals:read" /** * Allows the reading of communication compliance */ @@ -800,7 +808,27 @@ export type OAuth2AuthorizationCodeOAuth2Scope = /** * Allows the reading of event surveys */ - | "survey/surveys:read"; + | "survey/surveys:read" + /** + * Allows read access for overview of meeting room. + */ + | "venue/meeting-room-overviews:read" + /** + * Allows the creation and modification of meeting rooms. + */ + | "venue/meeting-rooms:write" + /** + * Allows read access for overview of venue details. + */ + | "venue/venue-details-overview:read" + /** + * Allows the creation and modification of venue details. + */ + | "venue/venue-details:write" + /** + * Allows the modification of venue facility information. + */ + | "venue/venue-facility:write"; /** * Available scopes for the OAuth2.clientCredentials OAuth 2.0 scheme (clientCredentials flow). @@ -954,11 +982,11 @@ export type OAuth2ClientCredentialsOAuth2Scope = */ | "bulk/bulk-jobs:write" /** - * Allows the reading of BT Bid data + * Allows the reading of Business Transient Bid data */ | "business-transient/bids:read" /** - * Allows the reading of BT Proposal data + * Allows the reading of Business Transient Proposal data */ | "business-transient/proposals:read" /** @@ -993,6 +1021,14 @@ export type OAuth2ClientCredentialsOAuth2Scope = * Allows the reading of business transient travel supplier account data. */ | "business-transient/travel-supplier-accounts:read" + /** + * Allows the reading of Business Travel Bid data + */ + | "business-travel/bids:read" + /** + * Allows the reading of Business Travel Proposal data + */ + | "business-travel/proposals:read" /** * Allows the reading of business travel account data. */ @@ -1720,4 +1756,24 @@ export type OAuth2ClientCredentialsOAuth2Scope = /** * Allows the reading of event surveys */ - | "survey/surveys:read"; + | "survey/surveys:read" + /** + * Allows read access for overview of meeting room. + */ + | "venue/meeting-room-overviews:read" + /** + * Allows the creation and modification of meeting rooms. + */ + | "venue/meeting-rooms:write" + /** + * Allows read access for overview of venue details. + */ + | "venue/venue-details-overview:read" + /** + * Allows the creation and modification of venue details. + */ + | "venue/venue-details:write" + /** + * Allows the modification of venue facility information. + */ + | "venue/venue-facility:write"; diff --git a/packages/typescript/src/lib/config.ts b/packages/typescript/src/lib/config.ts index 4d63382d8..d86a73e2d 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.2", + sdkVersion: "1.6.0", genVersion: "2.859.2", - userAgent: "speakeasy-sdk/typescript 1.5.2 2.859.2 ea @cvent/sdk", + userAgent: "speakeasy-sdk/typescript 1.6.0 2.859.2 ea @cvent/sdk", } as const; diff --git a/packages/typescript/src/models/components/activityad.ts b/packages/typescript/src/models/components/activityad.ts new file mode 100644 index 000000000..e6f387034 --- /dev/null +++ b/packages/typescript/src/models/components/activityad.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 { AdLocation, AdLocation$inboundSchema } from "./adlocation.js"; + +/** + * The entity to which the ad is associated. + */ +export type Attribution = { + /** + * The unique identifier of the attribution. + */ + id?: string | undefined; + /** + * The type of attribution. + */ + type?: string | undefined; +}; + +/** + * The details of the advertisement. + */ +export type ActivityAd = { + /** + * The unique identifier of the ad. + */ + id?: string | undefined; + /** + * The name of the ad. + */ + name?: string | undefined; + /** + * The product for which ad is created + */ + product?: string | undefined; + /** + * The placement of the ad within the specific product. + */ + location?: AdLocation | undefined; + /** + * The entity to which the ad is associated. + */ + attribution?: Attribution | undefined; +}; + +/** @internal */ +export const Attribution$inboundSchema: z.ZodType< + Attribution, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + type: z.string().optional(), +}); + +export function attributionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Attribution$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Attribution' from JSON`, + ); +} + +/** @internal */ +export const ActivityAd$inboundSchema: z.ZodType< + ActivityAd, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), + product: z.string().optional(), + location: AdLocation$inboundSchema.optional(), + attribution: z.lazy(() => Attribution$inboundSchema).optional(), +}); + +export function activityAdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityAd$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityAd' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityadjson.ts b/packages/typescript/src/models/components/activityadjson.ts deleted file mode 100644 index 10e0beeb9..000000000 --- a/packages/typescript/src/models/components/activityadjson.ts +++ /dev/null @@ -1,95 +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 { - AdLocationJson, - AdLocationJson$inboundSchema, -} from "./adlocationjson.js"; - -/** - * The entity to which the ad is associated. - */ -export type Attribution = { - /** - * The unique identifier of the attribution. - */ - id?: string | undefined; - /** - * The type of attribution. - */ - type?: string | undefined; -}; - -/** - * The details of the advertisement. - */ -export type ActivityAdJson = { - /** - * The unique identifier of the ad. - */ - id?: string | undefined; - /** - * The name of the ad. - */ - name?: string | undefined; - /** - * The product for which ad is created - */ - product?: string | undefined; - /** - * The placement of the ad within the specific product. - */ - location?: AdLocationJson | undefined; - /** - * The entity to which the ad is associated. - */ - attribution?: Attribution | undefined; -}; - -/** @internal */ -export const Attribution$inboundSchema: z.ZodType< - Attribution, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - type: z.string().optional(), -}); - -export function attributionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Attribution$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Attribution' from JSON`, - ); -} - -/** @internal */ -export const ActivityAdJson$inboundSchema: z.ZodType< - ActivityAdJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), - product: z.string().optional(), - location: AdLocationJson$inboundSchema.optional(), - attribution: z.lazy(() => Attribution$inboundSchema).optional(), -}); - -export function activityAdJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityAdJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityAdJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityappointment.ts b/packages/typescript/src/models/components/activityappointment.ts new file mode 100644 index 000000000..cae6fe28d --- /dev/null +++ b/packages/typescript/src/models/components/activityappointment.ts @@ -0,0 +1,95 @@ +/* + * 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"; + +export type ActivityAppointmentAppointmentEvent = { + /** + * The title of linked appointment event. + */ + title?: string | undefined; + /** + * The code of linked appointment event. + */ + code?: string | undefined; +}; + +/** + * An activity appointment. + */ +export type ActivityAppointment = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The name of the appointment. + */ + name?: string | undefined; + /** + * The code of an appointment. + */ + code?: string | undefined; + appointmentEvent?: ActivityAppointmentAppointmentEvent | undefined; + /** + * The ISO 8601 zoned date time when an appointment starts. + */ + start?: Date | undefined; + /** + * The ISO 8601 zoned date time when an appointment ends. + */ + end?: Date | undefined; +}; + +/** @internal */ +export const ActivityAppointmentAppointmentEvent$inboundSchema: z.ZodType< + ActivityAppointmentAppointmentEvent, + z.ZodTypeDef, + unknown +> = z.object({ + title: z.string().optional(), + code: z.string().optional(), +}); + +export function activityAppointmentAppointmentEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ActivityAppointmentAppointmentEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityAppointmentAppointmentEvent' from JSON`, + ); +} + +/** @internal */ +export const ActivityAppointment$inboundSchema: z.ZodType< + ActivityAppointment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), + code: z.string().optional(), + appointmentEvent: z.lazy(() => + ActivityAppointmentAppointmentEvent$inboundSchema + ).optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function activityAppointmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityAppointment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityAppointment' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityappointmentjson.ts b/packages/typescript/src/models/components/activityappointmentjson.ts deleted file mode 100644 index 1662d9e19..000000000 --- a/packages/typescript/src/models/components/activityappointmentjson.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"; - -export type ActivityAppointmentJsonAppointmentEvent = { - /** - * The title of linked appointment event. - */ - title?: string | undefined; - /** - * The code of linked appointment event. - */ - code?: string | undefined; -}; - -/** - * An activity appointment. - */ -export type ActivityAppointmentJson = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The name of the appointment. - */ - name?: string | undefined; - /** - * The code of an appointment. - */ - code?: string | undefined; - appointmentEvent?: ActivityAppointmentJsonAppointmentEvent | undefined; - /** - * The ISO 8601 zoned date time when an appointment starts. - */ - start?: Date | undefined; - /** - * The ISO 8601 zoned date time when an appointment ends. - */ - end?: Date | undefined; -}; - -/** @internal */ -export const ActivityAppointmentJsonAppointmentEvent$inboundSchema: z.ZodType< - ActivityAppointmentJsonAppointmentEvent, - z.ZodTypeDef, - unknown -> = z.object({ - title: z.string().optional(), - code: z.string().optional(), -}); - -export function activityAppointmentJsonAppointmentEventFromJSON( - jsonString: string, -): SafeParseResult< - ActivityAppointmentJsonAppointmentEvent, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - ActivityAppointmentJsonAppointmentEvent$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'ActivityAppointmentJsonAppointmentEvent' from JSON`, - ); -} - -/** @internal */ -export const ActivityAppointmentJson$inboundSchema: z.ZodType< - ActivityAppointmentJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), - code: z.string().optional(), - appointmentEvent: z.lazy(() => - ActivityAppointmentJsonAppointmentEvent$inboundSchema - ).optional(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function activityAppointmentJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityAppointmentJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityAppointmentJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activitybaseappointment.ts b/packages/typescript/src/models/components/activitybaseappointment.ts new file mode 100644 index 000000000..c0d70edea --- /dev/null +++ b/packages/typescript/src/models/components/activitybaseappointment.ts @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ActivityBaseAppointmentAppointmentEvent = { + /** + * The title of linked appointment event. + */ + title?: string | undefined; + /** + * The code of linked appointment event. + */ + code?: string | undefined; +}; + +/** + * Base entity of an activity appointment. + */ +export type ActivityBaseAppointment = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The name of the appointment. + */ + name?: string | undefined; + /** + * The code of an appointment. + */ + code?: string | undefined; + appointmentEvent?: ActivityBaseAppointmentAppointmentEvent | undefined; +}; + +/** @internal */ +export const ActivityBaseAppointmentAppointmentEvent$inboundSchema: z.ZodType< + ActivityBaseAppointmentAppointmentEvent, + z.ZodTypeDef, + unknown +> = z.object({ + title: z.string().optional(), + code: z.string().optional(), +}); + +export function activityBaseAppointmentAppointmentEventFromJSON( + jsonString: string, +): SafeParseResult< + ActivityBaseAppointmentAppointmentEvent, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + ActivityBaseAppointmentAppointmentEvent$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'ActivityBaseAppointmentAppointmentEvent' from JSON`, + ); +} + +/** @internal */ +export const ActivityBaseAppointment$inboundSchema: z.ZodType< + ActivityBaseAppointment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), + code: z.string().optional(), + appointmentEvent: z.lazy(() => + ActivityBaseAppointmentAppointmentEvent$inboundSchema + ).optional(), +}); + +export function activityBaseAppointmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityBaseAppointment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityBaseAppointment' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activitybaseappointmentjson.ts b/packages/typescript/src/models/components/activitybaseappointmentjson.ts deleted file mode 100644 index e8fa9214d..000000000 --- a/packages/typescript/src/models/components/activitybaseappointmentjson.ts +++ /dev/null @@ -1,89 +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"; - -export type ActivityBaseAppointmentJsonAppointmentEvent = { - /** - * The title of linked appointment event. - */ - title?: string | undefined; - /** - * The code of linked appointment event. - */ - code?: string | undefined; -}; - -/** - * Base entity of an activity appointment. - */ -export type ActivityBaseAppointmentJson = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The name of the appointment. - */ - name?: string | undefined; - /** - * The code of an appointment. - */ - code?: string | undefined; - appointmentEvent?: ActivityBaseAppointmentJsonAppointmentEvent | undefined; -}; - -/** @internal */ -export const ActivityBaseAppointmentJsonAppointmentEvent$inboundSchema: - z.ZodType< - ActivityBaseAppointmentJsonAppointmentEvent, - z.ZodTypeDef, - unknown - > = z.object({ - title: z.string().optional(), - code: z.string().optional(), - }); - -export function activityBaseAppointmentJsonAppointmentEventFromJSON( - jsonString: string, -): SafeParseResult< - ActivityBaseAppointmentJsonAppointmentEvent, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - ActivityBaseAppointmentJsonAppointmentEvent$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'ActivityBaseAppointmentJsonAppointmentEvent' from JSON`, - ); -} - -/** @internal */ -export const ActivityBaseAppointmentJson$inboundSchema: z.ZodType< - ActivityBaseAppointmentJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), - code: z.string().optional(), - appointmentEvent: z.lazy(() => - ActivityBaseAppointmentJsonAppointmentEvent$inboundSchema - ).optional(), -}); - -export function activityBaseAppointmentJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityBaseAppointmentJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityBaseAppointmentJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityboothstaff.ts b/packages/typescript/src/models/components/activityboothstaff.ts new file mode 100644 index 000000000..bab3abf77 --- /dev/null +++ b/packages/typescript/src/models/components/activityboothstaff.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Booth staff for an activity. + */ +export type ActivityBoothStaff = { + /** + * The unique identifier of the exhibitor booth staff. + */ + id?: string | undefined; + /** + * The first name of the booth staff that captured the lead. + */ + firstName?: string | undefined; + /** + * The last name of the booth staff that captured the lead. + */ + lastName?: string | undefined; + /** + * The email address of the booth staff that captured the lead. + */ + email?: string | undefined; +}; + +/** @internal */ +export const ActivityBoothStaff$inboundSchema: z.ZodType< + ActivityBoothStaff, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + firstName: z.string().optional(), + lastName: z.string().optional(), + email: z.string().optional(), +}); + +export function activityBoothStaffFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityBoothStaff$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityBoothStaff' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activitycontact.ts b/packages/typescript/src/models/components/activitycontact.ts new file mode 100644 index 000000000..90fbc2e31 --- /dev/null +++ b/packages/typescript/src/models/components/activitycontact.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An activity contact. + */ +export type ActivityContact = { + /** + * The first name of the attendee. + */ + firstName?: string | undefined; + /** + * The last name of the attendee. + */ + lastName?: string | undefined; + /** + * The email address of the attendee. + */ + email?: string | undefined; +}; + +/** @internal */ +export const ActivityContact$inboundSchema: z.ZodType< + ActivityContact, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.string().optional(), + lastName: z.string().optional(), + email: z.string().optional(), +}); + +export function activityContactFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityContact$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityContact' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activitycontactjson.ts b/packages/typescript/src/models/components/activitycontactjson.ts deleted file mode 100644 index 724d0ac9c..000000000 --- a/packages/typescript/src/models/components/activitycontactjson.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * An activity contact. - */ -export type ActivityContactJson = { - /** - * The first name of the attendee. - */ - firstName?: string | undefined; - /** - * The last name of the attendee. - */ - lastName?: string | undefined; - /** - * The email address of the attendee. - */ - email?: string | undefined; -}; - -/** @internal */ -export const ActivityContactJson$inboundSchema: z.ZodType< - ActivityContactJson, - z.ZodTypeDef, - unknown -> = z.object({ - firstName: z.string().optional(), - lastName: z.string().optional(), - email: z.string().optional(), -}); - -export function activityContactJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityContactJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityContactJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activitydata.ts b/packages/typescript/src/models/components/activitydata.ts new file mode 100644 index 000000000..7b2ed5add --- /dev/null +++ b/packages/typescript/src/models/components/activitydata.ts @@ -0,0 +1,3059 @@ +/* + * 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 { ActivityAd, ActivityAd$inboundSchema } from "./activityad.js"; +import { + ActivityAppointment, + ActivityAppointment$inboundSchema, +} from "./activityappointment.js"; +import { + ActivityBaseAppointment, + ActivityBaseAppointment$inboundSchema, +} from "./activitybaseappointment.js"; +import { + ActivityContact, + ActivityContact$inboundSchema, +} from "./activitycontact.js"; +import { + ActivityExhibitor, + ActivityExhibitor$inboundSchema, +} from "./activityexhibitor.js"; +import { + ActivityExhibitorDocument, + ActivityExhibitorDocument$inboundSchema, +} from "./activityexhibitordocument.js"; +import { + ActivityExhibitorNavigationSource, + ActivityExhibitorNavigationSource$inboundSchema, +} from "./activityexhibitornavigationsource.js"; +import { + ActivityExhibitorSponsorshipLevel, + ActivityExhibitorSponsorshipLevel$inboundSchema, +} from "./activityexhibitorsponsorshiplevel.js"; +import { + ActivityExhibitorWeblink, + ActivityExhibitorWeblink$inboundSchema, +} from "./activityexhibitorweblink.js"; +import { ActivityLead, ActivityLead$inboundSchema } from "./activitylead.js"; +import { + AttendeeStatus, + AttendeeStatus$inboundSchema, +} from "./attendeestatus.js"; +import { + BannerLinkTarget, + BannerLinkTarget$inboundSchema, +} from "./bannerlinktarget.js"; +import { + ContactFields1, + ContactFields1$inboundSchema, +} from "./contactfields1.js"; +import { Exhibitor1, Exhibitor1$inboundSchema } from "./exhibitor1.js"; +import { LeadObject, LeadObject$inboundSchema } from "./leadobject.js"; +import { + LeadQualifiedQuestionResponse, + LeadQualifiedQuestionResponse$inboundSchema, +} from "./leadqualifiedquestionresponse.js"; +import { PollResponse, PollResponse$inboundSchema } from "./pollresponse.js"; +import { + QuestionDetail, + QuestionDetail$inboundSchema, +} from "./questiondetail.js"; +import { Speaker1, Speaker1$inboundSchema } from "./speaker1.js"; +import { + SurveyResponse, + SurveyResponse$inboundSchema, +} from "./surveyresponse.js"; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent8 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * Clicked an Event Ad. + */ +export type EventAdClicked = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent8 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * The details of the advertisement. + */ + ad?: ActivityAd | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent7 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * Viewed an Event Ad. + */ +export type EventAdViewed = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent7 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * The details of the advertisement. + */ + ad?: ActivityAd | undefined; +}; + +/** + * Additional fields for external activities. + */ +export type ActivityDataSessionExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * Additional fields for external activities. + */ +export type ActivityDataExhibitorExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * Additional fields for external activities. + */ +export type ActivityDataEventExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * Additional fields for external activities. + */ +export type ActivityDataAppointmentExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * A speaker file-downloaded activity. + */ +export type SpeakerFileDownloaded = { + /** + * The name of the web browser. + */ + browser?: string | undefined; + /** + * The name of the operating system. + */ + operatingSystem?: string | undefined; + /** + * The name of the file. + */ + name?: string | undefined; + /** + * The type of the file. + */ + type?: string | undefined; + /** + * An activity speaker. + */ + speaker?: Speaker1 | undefined; +}; + +/** + * The activity session. + */ +export type SpeakerFeedbackSubmittedSessionActivity = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A speaker feedback-submitted activity. + */ +export type SpeakerFeedbackSubmitted = { + /** + * The activity session. + */ + session?: SpeakerFeedbackSubmittedSessionActivity | undefined; + /** + * An activity speaker. + */ + speaker?: Speaker1 | undefined; + /** + * A survey response. + */ + survey?: SurveyResponse | undefined; +}; + +/** + * The activity session. + */ +export type SessionActivity7 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A session activity. + */ +export type SessionWaitlisted = { + /** + * The activity session. + */ + session?: SessionActivity7 | undefined; +}; + +/** + * The activity session. + */ +export type SessionActivity6 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A session activity. + */ +export type SessionUnenrolled = { + /** + * The activity session. + */ + session?: SessionActivity6 | undefined; +}; + +/** + * The activity session. + */ +export type SessionActivity5 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * This denotes the question asked in the session. + */ +export type SessionQuestionUpvoted = { + /** + * The activity session. + */ + session?: SessionActivity5 | undefined; + /** + * The question asked in a session. + */ + question?: QuestionDetail | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * The number of votes for a question. + */ + votes?: number | undefined; +}; + +/** + * The activity session. + */ +export type SessionQuestionAskedSessionActivity = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * The question asked activity details for the session. + */ +export type SessionQuestionAsked = { + /** + * The activity session. + */ + session?: SessionQuestionAskedSessionActivity | undefined; + /** + * The question asked in a session. + */ + question?: QuestionDetail | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * The number of votes for a question. + */ + votes?: number | undefined; + /** + * True indicates the question was posted anonymously. + */ + anonymous?: boolean | undefined; +}; + +/** + * The activity session. + */ +export type SessionPollResponseSubmittedSessionActivity = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * The poll created for a session. + */ +export type SessionPollResponseSubmitted = { + /** + * The activity session. + */ + session?: SessionPollResponseSubmittedSessionActivity | undefined; + /** + * This is used to denote the poll details. + */ + poll?: PollResponse | undefined; +}; + +/** + * The activity session. + */ +export type SessionActivity4 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A session activity. + */ +export type SessionNoShow = { + /** + * The activity session. + */ + session?: SessionActivity4 | undefined; +}; + +/** + * The activity session. + */ +export type SessionFeedbackSubmittedSessionActivity = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A session feedback-submitted activity. + */ +export type SessionFeedbackSubmitted = { + /** + * The activity session. + */ + session?: SessionFeedbackSubmittedSessionActivity | undefined; + /** + * A survey response. + */ + survey?: SurveyResponse | undefined; +}; + +/** + * The activity session. + */ +export type SessionActivity3 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A session activity. + */ +export type SessionEnrolled = { + /** + * The activity session. + */ + session?: SessionActivity3 | undefined; +}; + +/** + * The activity session. + */ +export type SessionActivity2 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A session checked-Out activity. + */ +export type SessionCheckedOut = { + /** + * The activity session. + */ + session?: SessionActivity2 | undefined; + /** + * ISO 8601 date and time when an attendee checked out from a session. + */ + checkOut?: Date | undefined; +}; + +/** + * The activity session. + */ +export type SessionActivity1 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The title of the session. + */ + title?: string | undefined; + /** + * The code of the session. + */ + code?: string | undefined; +}; + +/** + * A session checked-in activity. + */ +export type SessionCheckedIn = { + /** + * The activity session. + */ + session?: SessionActivity1 | undefined; + /** + * ISO 8601 date and time when an attendee checked in to a session. + */ + checkedIn?: Date | undefined; +}; + +/** + * A lead activity + */ +export type LeadScanned = { + /** + * An activity exhibitor. + */ + exhibitor?: ActivityExhibitor | undefined; + /** + * An activity lead. + */ + lead?: ActivityLead | undefined; +}; + +/** + * A qualified lead. + */ +export type LeadQualified = { + /** + * An activity exhibitor. + */ + exhibitor?: ActivityExhibitor | undefined; + /** + * An activity lead. + */ + lead?: ActivityLead | undefined; + /** + * The list of responses provided by the attendee. + */ + responses?: Array | undefined; +}; + +/** + * A lead inbound-created activity. + */ +export type LeadInboundCreated = { + /** + * An activity exhibitor. + */ + exhibitor?: ActivityExhibitor | undefined; + /** + * A Lead + */ + lead?: LeadObject | undefined; +}; + +/** + * An exhibitor weblink-opened activity. + */ +export type ExhibitorWeblinkOpened = { + /** + * An exhibitor. + */ + exhibitor?: Exhibitor1 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * A web-link for an activity exhibitor. + */ + weblink?: ActivityExhibitorWeblink | undefined; +}; + +/** + * An exhibitor virtual-booth-joined activity. + */ +export type ExhibitorVirtualBoothJoined = { + /** + * An exhibitor. + */ + exhibitor?: Exhibitor1 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * Sponsorship level for an activity exhibitor. + */ + sponsorshipLevel?: ActivityExhibitorSponsorshipLevel | undefined; + /** + * The solution type used for the virtual booth. + */ + solutionType?: string | undefined; +}; + +/** + * An exhibitor viewed activity. + */ +export type ExhibitorViewed = { + /** + * An exhibitor. + */ + exhibitor?: Exhibitor1 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * Sponsorship level for an activity exhibitor. + */ + sponsorshipLevel?: ActivityExhibitorSponsorshipLevel | undefined; + /** + * Navigation source for an activity exhibitor. + */ + navigationSource?: ActivityExhibitorNavigationSource | undefined; +}; + +/** + * An exhibitor social-link-opened activity. + */ +export type ExhibitorSocialLinkOpened = { + /** + * An exhibitor. + */ + exhibitor?: Exhibitor1 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * Sponsorship level for an activity exhibitor. + */ + sponsorshipLevel?: ActivityExhibitorSponsorshipLevel | undefined; + /** + * The name of the social network. + */ + socialNetwork?: string | undefined; + /** + * The link opened by the attendee. + */ + url?: string | undefined; +}; + +/** + * An exhibitor document-opened activity. + */ +export type ExhibitorDocumentOpened = { + /** + * An exhibitor. + */ + exhibitor?: Exhibitor1 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * Document for an activity exhibitor. + */ + document?: ActivityExhibitorDocument | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent6 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An event-registered activity. + */ +export type EventWaitlisted = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent6 | undefined; + /** + * This is used to denote the status of an attendee. + */ + status?: AttendeeStatus | undefined; +}; + +/** + * An event video-played activity. + */ +export type EventVideoPlayed = { + /** + * The name of the web browser. + */ + browser?: string | undefined; + /** + * The name of the operating system. + */ + operatingSystem?: string | undefined; + /** + * The title of video. + */ + title?: string | undefined; + /** + * The name of the page. + */ + pageName?: string | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent5 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An event-registered activity. + */ +export type EventRegistrationCancelled = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent5 | undefined; + /** + * This is used to denote the status of an attendee. + */ + status?: AttendeeStatus | undefined; +}; + +/** + * Related contact. + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +export type EventRegistrationAbandonedActivityContact = { + /** + * The first name of the attendee. + */ + firstName?: string | undefined; + /** + * The last name of the attendee. + */ + lastName?: string | undefined; + /** + * The email address of the attendee. + */ + email?: string | undefined; +}; + +/** + * An event registration-abandoned activity. + */ +export type EventRegistrationAbandoned = { + /** + * The last page where an invitee left during the registration. + */ + lastSavedRegistrationPageName?: string | undefined; + /** + * ISO 8601 date and time when an invitee left the registration process. + */ + lastActivity?: Date | undefined; + /** + * Related contact. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + contact?: EventRegistrationAbandonedActivityContact | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent4 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An event-registered activity. + */ +export type EventRegistered = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent4 | undefined; + /** + * This is used to denote the status of an attendee. + */ + status?: AttendeeStatus | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type EventPageVisitTrackedEvent = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * Contains Urchin Tracking Module (UTM) data. + */ +export type EventPageVisitTracked = { + /** + * The event in which this activity occurred. + */ + event?: EventPageVisitTrackedEvent | undefined; + /** + * Identifies which site sent the traffic. + */ + source?: string | undefined; + /** + * Identifies what type of link was used, such as cost per click or email. + */ + medium?: string | undefined; + /** + * Identifies a specific product promotion or strategic campaign. + */ + campaign?: string | undefined; + /** + * Identifies search terms. + */ + term?: string | undefined; + /** + * Identifies what specifically was clicked to bring the user to the site, such as a banner ad or a text link. + */ + content?: string | undefined; + /** + * An additional tracking parameter which can be used to compliment the standard UTM parameters. + */ + custom?: string | undefined; + /** + * Contains any additional non-standard UTM parameters. Key represents the custom parameters added by the planner. Value represents the corresponding value recorded about the page viewer. + */ + additional?: { [k: string]: string } | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent3 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An email activity. + */ +export type EventNoShow = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent3 | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type EventFeedbackSubmittedEvent = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An event-feedback-submitted activity. + */ +export type EventFeedbackSubmitted = { + /** + * The event in which this activity occurred. + */ + event?: EventFeedbackSubmittedEvent | undefined; + /** + * A survey response. + */ + survey?: SurveyResponse | undefined; +}; + +/** + * This is used to denote the attendee activity fetched when a custom card is opened by an attendee. + */ +export type EventCustomCardOpened = { + /** + * The name of the custom card. + */ + name?: string | undefined; + /** + * The URL associated with the custom card. + */ + url?: string | undefined; + /** + * The type of the custom card. This value can be Link, Video, Appointment etc. + */ + type?: string | undefined; + /** + * True indicates the custom card contains multiple links. An attendee uses only one link at a time in a custom card. + */ + multipleLinks?: boolean | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent2 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An email-checked-out activity. + */ +export type EventCheckedOut = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent2 | undefined; + /** + * ISO 8601 date and time when an attendee checked out from an event. + */ + checkOut?: Date | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type ActivityDataEvent1 = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An email-checked-in activity. + */ +export type EventCheckedIn = { + /** + * The event in which this activity occurred. + */ + event?: ActivityDataEvent1 | undefined; + /** + * ISO 8601 date and time when an attendee checked in to an event. + */ + checkedIn?: Date | undefined; +}; + +/** + * The related banner + */ +export type Banner = { + /** + * Banner ID + */ + id?: string | undefined; +}; + +/** + * The link on the banner clicked by an attendee. + */ +export type EventBannerLinkClicked = { + /** + * An exhibitor. + */ + exhibitor?: Exhibitor1 | undefined; + /** + * The platform used by the user. + */ + platform?: string | undefined; + /** + * The related banner + */ + banner?: Banner | undefined; + /** + * The target of the link clicked on the banner. + */ + target?: BannerLinkTarget | undefined; +}; + +/** + * The event in which this activity occurred. + */ +export type EventAttendeeSubstitutedEvent = { + /** + * Event ID. + */ + id?: string | undefined; +}; + +/** + * An attendee-substituted activity. + */ +export type EventAttendeeSubstituted = { + /** + * The event in which this activity occurred. + */ + event?: EventAttendeeSubstitutedEvent | undefined; + /** + * Details of a contact. + */ + oldContact?: ContactFields1 | undefined; + /** + * Details of a contact. + */ + newContact?: ContactFields1 | undefined; +}; + +/** + * An event attendee-hub-visited activity. + */ +export type EventAttendeeHubVisited = { + /** + * The name of the web browser. + */ + browser?: string | undefined; + /** + * The name of the operating system. + */ + operatingSystem?: string | undefined; + /** + * The name of the event website page before the attendee arrived in Attendee Hub. + */ + pageName?: string | undefined; + /** + * Text on the button. + */ + buttonText?: string | undefined; +}; + +/** + * An email-undelivered activity. + */ +export type EmailUndelivered = { + /** + * Type of the email. + */ + type?: string | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; + /** + * ISO 8601 date and time when an email was undelivered. + */ + undelivered?: Date | undefined; +}; + +/** + * An email-sent activity. + */ +export type EmailSent = { + /** + * Type of the email. + */ + type?: string | undefined; + /** + * ISO 8601 date and time when an email was sent. + */ + sent?: Date | undefined; +}; + +/** + * An email-opened activity. + */ +export type EmailOpened = { + /** + * Type of the email. + */ + type?: string | undefined; + /** + * ISO 8601 date and time when an email was opened. + */ + opened?: Date | undefined; +}; + +/** + * An email-clicked activity. + */ +export type EmailClicked = { + /** + * Type of the email. + */ + type?: string | undefined; + /** + * ISO 8601 date and time when an email link was clicked. + */ + clicked?: Date | undefined; + /** + * The URL clicked in the email. + */ + url?: string | undefined; + /** + * The URL text of the link. + */ + urlText?: string | undefined; +}; + +/** + * An email-bounced activity. + */ +export type EmailBounced = { + /** + * Type of the email. + */ + type?: string | undefined; + /** + * Reason for the bounced email. + */ + reason?: string | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; + /** + * ISO 8601 date and time when an email bounced. + */ + bounced?: Date | undefined; + /** + * The Simple Mail Transfer Protocol (SMTP) response status code. + */ + smtpCode?: number | undefined; + /** + * Delivery Status Notification diagnostic details. + */ + dsnDiagnostic?: string | undefined; + /** + * Used to denote if a recipient has opted-out of receiving emails. + */ + optOut: boolean; +}; + +/** + * Appointment created activity. + */ +export type AppointmentRescheduled = { + /** + * An activity appointment. + */ + appointment?: ActivityAppointment | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; +}; + +/** + * Appointment denied activity. + */ +export type AppointmentDenied = { + /** + * Base entity of an activity appointment. + */ + appointment?: ActivityBaseAppointment | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; +}; + +/** + * Appointment activity + */ +export type AppointmentDeclined = { + /** + * An activity appointment. + */ + appointment?: ActivityAppointment | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; +}; + +/** + * Appointment created activity. + */ +export type AppointmentCreated = { + /** + * An activity appointment. + */ + appointment?: ActivityAppointment | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; +}; + +/** + * Appointment checked-in activity. + */ +export type AppointmentCheckedIn = { + /** + * An activity appointment. + */ + appointment?: ActivityAppointment | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; + /** + * ISO 8601 date and time when an attendee checked in to the appointment. + */ + checkedIn?: Date | undefined; +}; + +/** + * Appointment activity + */ +export type AppointmentCancelled = { + /** + * An activity appointment. + */ + appointment?: ActivityAppointment | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; +}; + +/** + * Appointment activity + */ +export type AppointmentAccepted = { + /** + * An activity appointment. + */ + appointment?: ActivityAppointment | undefined; + /** + * An activity contact. + */ + contact?: ActivityContact | undefined; +}; + +/** + * This is used to denote the type of the attendee activity + */ +export type ActivityData = + | ActivityDataAppointmentExternal + | ActivityDataEventExternal + | ActivityDataExhibitorExternal + | ActivityDataSessionExternal + | AppointmentAccepted + | AppointmentCancelled + | AppointmentCheckedIn + | AppointmentCreated + | AppointmentDeclined + | AppointmentDenied + | AppointmentRescheduled + | EmailBounced + | EmailClicked + | EmailOpened + | EmailSent + | EmailUndelivered + | EventAttendeeHubVisited + | EventAttendeeSubstituted + | EventBannerLinkClicked + | EventCheckedIn + | EventCheckedOut + | EventCustomCardOpened + | EventFeedbackSubmitted + | EventNoShow + | EventPageVisitTracked + | EventRegistered + | EventRegistrationAbandoned + | EventRegistrationCancelled + | EventVideoPlayed + | EventWaitlisted + | ExhibitorDocumentOpened + | ExhibitorSocialLinkOpened + | ExhibitorViewed + | ExhibitorVirtualBoothJoined + | ExhibitorWeblinkOpened + | LeadInboundCreated + | LeadQualified + | LeadScanned + | SessionCheckedIn + | SessionCheckedOut + | SessionEnrolled + | SessionFeedbackSubmitted + | SessionNoShow + | SessionPollResponseSubmitted + | SessionQuestionAsked + | SessionQuestionUpvoted + | SessionUnenrolled + | SessionWaitlisted + | SpeakerFeedbackSubmitted + | SpeakerFileDownloaded + | EventAdViewed + | EventAdClicked; + +/** @internal */ +export const ActivityDataEvent8$inboundSchema: z.ZodType< + ActivityDataEvent8, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent8' from JSON`, + ); +} + +/** @internal */ +export const EventAdClicked$inboundSchema: z.ZodType< + EventAdClicked, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent8$inboundSchema).optional(), + platform: z.string().optional(), + ad: ActivityAd$inboundSchema.optional(), +}); + +export function eventAdClickedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventAdClicked$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventAdClicked' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEvent7$inboundSchema: z.ZodType< + ActivityDataEvent7, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent7' from JSON`, + ); +} + +/** @internal */ +export const EventAdViewed$inboundSchema: z.ZodType< + EventAdViewed, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent7$inboundSchema).optional(), + platform: z.string().optional(), + ad: ActivityAd$inboundSchema.optional(), +}); + +export function eventAdViewedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventAdViewed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventAdViewed' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataSessionExternal$inboundSchema: z.ZodType< + ActivityDataSessionExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); + +export function activityDataSessionExternalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataSessionExternal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataSessionExternal' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataExhibitorExternal$inboundSchema: z.ZodType< + ActivityDataExhibitorExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); + +export function activityDataExhibitorExternalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataExhibitorExternal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataExhibitorExternal' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEventExternal$inboundSchema: z.ZodType< + ActivityDataEventExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); + +export function activityDataEventExternalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEventExternal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEventExternal' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataAppointmentExternal$inboundSchema: z.ZodType< + ActivityDataAppointmentExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); + +export function activityDataAppointmentExternalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataAppointmentExternal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataAppointmentExternal' from JSON`, + ); +} + +/** @internal */ +export const SpeakerFileDownloaded$inboundSchema: z.ZodType< + SpeakerFileDownloaded, + z.ZodTypeDef, + unknown +> = z.object({ + browser: z.string().optional(), + operatingSystem: z.string().optional(), + name: z.string().optional(), + type: z.string().optional(), + speaker: Speaker1$inboundSchema.optional(), +}); + +export function speakerFileDownloadedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SpeakerFileDownloaded$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SpeakerFileDownloaded' from JSON`, + ); +} + +/** @internal */ +export const SpeakerFeedbackSubmittedSessionActivity$inboundSchema: z.ZodType< + SpeakerFeedbackSubmittedSessionActivity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function speakerFeedbackSubmittedSessionActivityFromJSON( + jsonString: string, +): SafeParseResult< + SpeakerFeedbackSubmittedSessionActivity, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + SpeakerFeedbackSubmittedSessionActivity$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'SpeakerFeedbackSubmittedSessionActivity' from JSON`, + ); +} + +/** @internal */ +export const SpeakerFeedbackSubmitted$inboundSchema: z.ZodType< + SpeakerFeedbackSubmitted, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SpeakerFeedbackSubmittedSessionActivity$inboundSchema) + .optional(), + speaker: Speaker1$inboundSchema.optional(), + survey: SurveyResponse$inboundSchema.optional(), +}); + +export function speakerFeedbackSubmittedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SpeakerFeedbackSubmitted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SpeakerFeedbackSubmitted' from JSON`, + ); +} + +/** @internal */ +export const SessionActivity7$inboundSchema: z.ZodType< + SessionActivity7, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionActivity7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionActivity7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionActivity7' from JSON`, + ); +} + +/** @internal */ +export const SessionWaitlisted$inboundSchema: z.ZodType< + SessionWaitlisted, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionActivity7$inboundSchema).optional(), +}); + +export function sessionWaitlistedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionWaitlisted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionWaitlisted' from JSON`, + ); +} + +/** @internal */ +export const SessionActivity6$inboundSchema: z.ZodType< + SessionActivity6, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionActivity6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionActivity6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionActivity6' from JSON`, + ); +} + +/** @internal */ +export const SessionUnenrolled$inboundSchema: z.ZodType< + SessionUnenrolled, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionActivity6$inboundSchema).optional(), +}); + +export function sessionUnenrolledFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionUnenrolled$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionUnenrolled' from JSON`, + ); +} + +/** @internal */ +export const SessionActivity5$inboundSchema: z.ZodType< + SessionActivity5, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionActivity5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionActivity5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionActivity5' from JSON`, + ); +} + +/** @internal */ +export const SessionQuestionUpvoted$inboundSchema: z.ZodType< + SessionQuestionUpvoted, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionActivity5$inboundSchema).optional(), + question: QuestionDetail$inboundSchema.optional(), + platform: z.string().optional(), + votes: z.number().int().optional(), +}); + +export function sessionQuestionUpvotedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionQuestionUpvoted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionQuestionUpvoted' from JSON`, + ); +} + +/** @internal */ +export const SessionQuestionAskedSessionActivity$inboundSchema: z.ZodType< + SessionQuestionAskedSessionActivity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionQuestionAskedSessionActivityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + SessionQuestionAskedSessionActivity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionQuestionAskedSessionActivity' from JSON`, + ); +} + +/** @internal */ +export const SessionQuestionAsked$inboundSchema: z.ZodType< + SessionQuestionAsked, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionQuestionAskedSessionActivity$inboundSchema) + .optional(), + question: QuestionDetail$inboundSchema.optional(), + platform: z.string().optional(), + votes: z.number().int().optional(), + anonymous: z.boolean().optional(), +}); + +export function sessionQuestionAskedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionQuestionAsked$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionQuestionAsked' from JSON`, + ); +} + +/** @internal */ +export const SessionPollResponseSubmittedSessionActivity$inboundSchema: + z.ZodType< + SessionPollResponseSubmittedSessionActivity, + z.ZodTypeDef, + unknown + > = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), + }); + +export function sessionPollResponseSubmittedSessionActivityFromJSON( + jsonString: string, +): SafeParseResult< + SessionPollResponseSubmittedSessionActivity, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + SessionPollResponseSubmittedSessionActivity$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'SessionPollResponseSubmittedSessionActivity' from JSON`, + ); +} + +/** @internal */ +export const SessionPollResponseSubmitted$inboundSchema: z.ZodType< + SessionPollResponseSubmitted, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => + SessionPollResponseSubmittedSessionActivity$inboundSchema + ).optional(), + poll: PollResponse$inboundSchema.optional(), +}); + +export function sessionPollResponseSubmittedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionPollResponseSubmitted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionPollResponseSubmitted' from JSON`, + ); +} + +/** @internal */ +export const SessionActivity4$inboundSchema: z.ZodType< + SessionActivity4, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionActivity4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionActivity4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionActivity4' from JSON`, + ); +} + +/** @internal */ +export const SessionNoShow$inboundSchema: z.ZodType< + SessionNoShow, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionActivity4$inboundSchema).optional(), +}); + +export function sessionNoShowFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionNoShow$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionNoShow' from JSON`, + ); +} + +/** @internal */ +export const SessionFeedbackSubmittedSessionActivity$inboundSchema: z.ZodType< + SessionFeedbackSubmittedSessionActivity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionFeedbackSubmittedSessionActivityFromJSON( + jsonString: string, +): SafeParseResult< + SessionFeedbackSubmittedSessionActivity, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + SessionFeedbackSubmittedSessionActivity$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'SessionFeedbackSubmittedSessionActivity' from JSON`, + ); +} + +/** @internal */ +export const SessionFeedbackSubmitted$inboundSchema: z.ZodType< + SessionFeedbackSubmitted, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionFeedbackSubmittedSessionActivity$inboundSchema) + .optional(), + survey: SurveyResponse$inboundSchema.optional(), +}); + +export function sessionFeedbackSubmittedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionFeedbackSubmitted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionFeedbackSubmitted' from JSON`, + ); +} + +/** @internal */ +export const SessionActivity3$inboundSchema: z.ZodType< + SessionActivity3, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionActivity3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionActivity3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionActivity3' from JSON`, + ); +} + +/** @internal */ +export const SessionEnrolled$inboundSchema: z.ZodType< + SessionEnrolled, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionActivity3$inboundSchema).optional(), +}); + +export function sessionEnrolledFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionEnrolled$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionEnrolled' from JSON`, + ); +} + +/** @internal */ +export const SessionActivity2$inboundSchema: z.ZodType< + SessionActivity2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionActivity2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionActivity2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionActivity2' from JSON`, + ); +} + +/** @internal */ +export const SessionCheckedOut$inboundSchema: z.ZodType< + SessionCheckedOut, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionActivity2$inboundSchema).optional(), + checkOut: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function sessionCheckedOutFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionCheckedOut$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionCheckedOut' from JSON`, + ); +} + +/** @internal */ +export const SessionActivity1$inboundSchema: z.ZodType< + SessionActivity1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), +}); + +export function sessionActivity1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionActivity1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionActivity1' from JSON`, + ); +} + +/** @internal */ +export const SessionCheckedIn$inboundSchema: z.ZodType< + SessionCheckedIn, + z.ZodTypeDef, + unknown +> = z.object({ + session: z.lazy(() => SessionActivity1$inboundSchema).optional(), + checkedIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function sessionCheckedInFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionCheckedIn$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionCheckedIn' from JSON`, + ); +} + +/** @internal */ +export const LeadScanned$inboundSchema: z.ZodType< + LeadScanned, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: ActivityExhibitor$inboundSchema.optional(), + lead: ActivityLead$inboundSchema.optional(), +}); + +export function leadScannedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadScanned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadScanned' from JSON`, + ); +} + +/** @internal */ +export const LeadQualified$inboundSchema: z.ZodType< + LeadQualified, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: ActivityExhibitor$inboundSchema.optional(), + lead: ActivityLead$inboundSchema.optional(), + responses: z.array(LeadQualifiedQuestionResponse$inboundSchema).optional(), +}); + +export function leadQualifiedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadQualified$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadQualified' from JSON`, + ); +} + +/** @internal */ +export const LeadInboundCreated$inboundSchema: z.ZodType< + LeadInboundCreated, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: ActivityExhibitor$inboundSchema.optional(), + lead: LeadObject$inboundSchema.optional(), +}); + +export function leadInboundCreatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadInboundCreated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadInboundCreated' from JSON`, + ); +} + +/** @internal */ +export const ExhibitorWeblinkOpened$inboundSchema: z.ZodType< + ExhibitorWeblinkOpened, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: Exhibitor1$inboundSchema.optional(), + platform: z.string().optional(), + weblink: ActivityExhibitorWeblink$inboundSchema.optional(), +}); + +export function exhibitorWeblinkOpenedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExhibitorWeblinkOpened$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExhibitorWeblinkOpened' from JSON`, + ); +} + +/** @internal */ +export const ExhibitorVirtualBoothJoined$inboundSchema: z.ZodType< + ExhibitorVirtualBoothJoined, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: Exhibitor1$inboundSchema.optional(), + platform: z.string().optional(), + sponsorshipLevel: ActivityExhibitorSponsorshipLevel$inboundSchema.optional(), + solutionType: z.string().optional(), +}); + +export function exhibitorVirtualBoothJoinedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExhibitorVirtualBoothJoined$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExhibitorVirtualBoothJoined' from JSON`, + ); +} + +/** @internal */ +export const ExhibitorViewed$inboundSchema: z.ZodType< + ExhibitorViewed, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: Exhibitor1$inboundSchema.optional(), + platform: z.string().optional(), + sponsorshipLevel: ActivityExhibitorSponsorshipLevel$inboundSchema.optional(), + navigationSource: ActivityExhibitorNavigationSource$inboundSchema.optional(), +}); + +export function exhibitorViewedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExhibitorViewed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExhibitorViewed' from JSON`, + ); +} + +/** @internal */ +export const ExhibitorSocialLinkOpened$inboundSchema: z.ZodType< + ExhibitorSocialLinkOpened, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: Exhibitor1$inboundSchema.optional(), + platform: z.string().optional(), + sponsorshipLevel: ActivityExhibitorSponsorshipLevel$inboundSchema.optional(), + socialNetwork: z.string().optional(), + url: z.string().optional(), +}); + +export function exhibitorSocialLinkOpenedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExhibitorSocialLinkOpened$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExhibitorSocialLinkOpened' from JSON`, + ); +} + +/** @internal */ +export const ExhibitorDocumentOpened$inboundSchema: z.ZodType< + ExhibitorDocumentOpened, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: Exhibitor1$inboundSchema.optional(), + platform: z.string().optional(), + document: ActivityExhibitorDocument$inboundSchema.optional(), +}); + +export function exhibitorDocumentOpenedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExhibitorDocumentOpened$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExhibitorDocumentOpened' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEvent6$inboundSchema: z.ZodType< + ActivityDataEvent6, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent6' from JSON`, + ); +} + +/** @internal */ +export const EventWaitlisted$inboundSchema: z.ZodType< + EventWaitlisted, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent6$inboundSchema).optional(), + status: AttendeeStatus$inboundSchema.optional(), +}); + +export function eventWaitlistedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventWaitlisted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventWaitlisted' from JSON`, + ); +} + +/** @internal */ +export const EventVideoPlayed$inboundSchema: z.ZodType< + EventVideoPlayed, + z.ZodTypeDef, + unknown +> = z.object({ + browser: z.string().optional(), + operatingSystem: z.string().optional(), + title: z.string().optional(), + pageName: z.string().optional(), +}); + +export function eventVideoPlayedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventVideoPlayed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventVideoPlayed' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEvent5$inboundSchema: z.ZodType< + ActivityDataEvent5, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent5' from JSON`, + ); +} + +/** @internal */ +export const EventRegistrationCancelled$inboundSchema: z.ZodType< + EventRegistrationCancelled, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent5$inboundSchema).optional(), + status: AttendeeStatus$inboundSchema.optional(), +}); + +export function eventRegistrationCancelledFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventRegistrationCancelled$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventRegistrationCancelled' from JSON`, + ); +} + +/** @internal */ +export const EventRegistrationAbandonedActivityContact$inboundSchema: z.ZodType< + EventRegistrationAbandonedActivityContact, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.string().optional(), + lastName: z.string().optional(), + email: z.string().optional(), +}); + +export function eventRegistrationAbandonedActivityContactFromJSON( + jsonString: string, +): SafeParseResult< + EventRegistrationAbandonedActivityContact, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + EventRegistrationAbandonedActivityContact$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'EventRegistrationAbandonedActivityContact' from JSON`, + ); +} + +/** @internal */ +export const EventRegistrationAbandoned$inboundSchema: z.ZodType< + EventRegistrationAbandoned, + z.ZodTypeDef, + unknown +> = z.object({ + lastSavedRegistrationPageName: z.string().optional(), + lastActivity: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + contact: z.lazy(() => EventRegistrationAbandonedActivityContact$inboundSchema) + .optional(), +}); + +export function eventRegistrationAbandonedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventRegistrationAbandoned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventRegistrationAbandoned' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEvent4$inboundSchema: z.ZodType< + ActivityDataEvent4, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent4' from JSON`, + ); +} + +/** @internal */ +export const EventRegistered$inboundSchema: z.ZodType< + EventRegistered, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent4$inboundSchema).optional(), + status: AttendeeStatus$inboundSchema.optional(), +}); + +export function eventRegisteredFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventRegistered$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventRegistered' from JSON`, + ); +} + +/** @internal */ +export const EventPageVisitTrackedEvent$inboundSchema: z.ZodType< + EventPageVisitTrackedEvent, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function eventPageVisitTrackedEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventPageVisitTrackedEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventPageVisitTrackedEvent' from JSON`, + ); +} + +/** @internal */ +export const EventPageVisitTracked$inboundSchema: z.ZodType< + EventPageVisitTracked, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => EventPageVisitTrackedEvent$inboundSchema).optional(), + source: z.string().optional(), + medium: z.string().optional(), + campaign: z.string().optional(), + term: z.string().optional(), + content: z.string().optional(), + custom: z.string().optional(), + additional: z.record(z.string()).optional(), +}); + +export function eventPageVisitTrackedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventPageVisitTracked$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventPageVisitTracked' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEvent3$inboundSchema: z.ZodType< + ActivityDataEvent3, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent3' from JSON`, + ); +} + +/** @internal */ +export const EventNoShow$inboundSchema: z.ZodType< + EventNoShow, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent3$inboundSchema).optional(), +}); + +export function eventNoShowFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventNoShow$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventNoShow' from JSON`, + ); +} + +/** @internal */ +export const EventFeedbackSubmittedEvent$inboundSchema: z.ZodType< + EventFeedbackSubmittedEvent, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function eventFeedbackSubmittedEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventFeedbackSubmittedEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventFeedbackSubmittedEvent' from JSON`, + ); +} + +/** @internal */ +export const EventFeedbackSubmitted$inboundSchema: z.ZodType< + EventFeedbackSubmitted, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => EventFeedbackSubmittedEvent$inboundSchema).optional(), + survey: SurveyResponse$inboundSchema.optional(), +}); + +export function eventFeedbackSubmittedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventFeedbackSubmitted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventFeedbackSubmitted' from JSON`, + ); +} + +/** @internal */ +export const EventCustomCardOpened$inboundSchema: z.ZodType< + EventCustomCardOpened, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + url: z.string().optional(), + type: z.string().optional(), + multipleLinks: z.boolean().optional(), +}); + +export function eventCustomCardOpenedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventCustomCardOpened$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventCustomCardOpened' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEvent2$inboundSchema: z.ZodType< + ActivityDataEvent2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent2' from JSON`, + ); +} + +/** @internal */ +export const EventCheckedOut$inboundSchema: z.ZodType< + EventCheckedOut, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent2$inboundSchema).optional(), + checkOut: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function eventCheckedOutFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventCheckedOut$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventCheckedOut' from JSON`, + ); +} + +/** @internal */ +export const ActivityDataEvent1$inboundSchema: z.ZodType< + ActivityDataEvent1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function activityDataEvent1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityDataEvent1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityDataEvent1' from JSON`, + ); +} + +/** @internal */ +export const EventCheckedIn$inboundSchema: z.ZodType< + EventCheckedIn, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => ActivityDataEvent1$inboundSchema).optional(), + checkedIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function eventCheckedInFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventCheckedIn$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventCheckedIn' from JSON`, + ); +} + +/** @internal */ +export const Banner$inboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + }); + +export function bannerFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Banner$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Banner' from JSON`, + ); +} + +/** @internal */ +export const EventBannerLinkClicked$inboundSchema: z.ZodType< + EventBannerLinkClicked, + z.ZodTypeDef, + unknown +> = z.object({ + exhibitor: Exhibitor1$inboundSchema.optional(), + platform: z.string().optional(), + banner: z.lazy(() => Banner$inboundSchema).optional(), + target: BannerLinkTarget$inboundSchema.optional(), +}); + +export function eventBannerLinkClickedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventBannerLinkClicked$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventBannerLinkClicked' from JSON`, + ); +} + +/** @internal */ +export const EventAttendeeSubstitutedEvent$inboundSchema: z.ZodType< + EventAttendeeSubstitutedEvent, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function eventAttendeeSubstitutedEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventAttendeeSubstitutedEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventAttendeeSubstitutedEvent' from JSON`, + ); +} + +/** @internal */ +export const EventAttendeeSubstituted$inboundSchema: z.ZodType< + EventAttendeeSubstituted, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.lazy(() => EventAttendeeSubstitutedEvent$inboundSchema).optional(), + oldContact: ContactFields1$inboundSchema.optional(), + newContact: ContactFields1$inboundSchema.optional(), +}); + +export function eventAttendeeSubstitutedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventAttendeeSubstituted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventAttendeeSubstituted' from JSON`, + ); +} + +/** @internal */ +export const EventAttendeeHubVisited$inboundSchema: z.ZodType< + EventAttendeeHubVisited, + z.ZodTypeDef, + unknown +> = z.object({ + browser: z.string().optional(), + operatingSystem: z.string().optional(), + pageName: z.string().optional(), + buttonText: z.string().optional(), +}); + +export function eventAttendeeHubVisitedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventAttendeeHubVisited$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventAttendeeHubVisited' from JSON`, + ); +} + +/** @internal */ +export const EmailUndelivered$inboundSchema: z.ZodType< + EmailUndelivered, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string().optional(), + contact: ActivityContact$inboundSchema.optional(), + undelivered: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function emailUndeliveredFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmailUndelivered$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmailUndelivered' from JSON`, + ); +} + +/** @internal */ +export const EmailSent$inboundSchema: z.ZodType< + EmailSent, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string().optional(), + sent: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function emailSentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmailSent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmailSent' from JSON`, + ); +} + +/** @internal */ +export const EmailOpened$inboundSchema: z.ZodType< + EmailOpened, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string().optional(), + opened: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function emailOpenedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmailOpened$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmailOpened' from JSON`, + ); +} + +/** @internal */ +export const EmailClicked$inboundSchema: z.ZodType< + EmailClicked, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string().optional(), + clicked: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + url: z.string().optional(), + urlText: z.string().optional(), +}); + +export function emailClickedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmailClicked$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmailClicked' from JSON`, + ); +} + +/** @internal */ +export const EmailBounced$inboundSchema: z.ZodType< + EmailBounced, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string().optional(), + reason: z.string().optional(), + contact: ActivityContact$inboundSchema.optional(), + bounced: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + smtpCode: z.number().int().optional(), + dsnDiagnostic: z.string().optional(), + optOut: z.boolean().default(false), +}); + +export function emailBouncedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmailBounced$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmailBounced' from JSON`, + ); +} + +/** @internal */ +export const AppointmentRescheduled$inboundSchema: z.ZodType< + AppointmentRescheduled, + z.ZodTypeDef, + unknown +> = z.object({ + appointment: ActivityAppointment$inboundSchema.optional(), + contact: ActivityContact$inboundSchema.optional(), +}); + +export function appointmentRescheduledFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppointmentRescheduled$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppointmentRescheduled' from JSON`, + ); +} + +/** @internal */ +export const AppointmentDenied$inboundSchema: z.ZodType< + AppointmentDenied, + z.ZodTypeDef, + unknown +> = z.object({ + appointment: ActivityBaseAppointment$inboundSchema.optional(), + contact: ActivityContact$inboundSchema.optional(), +}); + +export function appointmentDeniedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppointmentDenied$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppointmentDenied' from JSON`, + ); +} + +/** @internal */ +export const AppointmentDeclined$inboundSchema: z.ZodType< + AppointmentDeclined, + z.ZodTypeDef, + unknown +> = z.object({ + appointment: ActivityAppointment$inboundSchema.optional(), + contact: ActivityContact$inboundSchema.optional(), +}); + +export function appointmentDeclinedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppointmentDeclined$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppointmentDeclined' from JSON`, + ); +} + +/** @internal */ +export const AppointmentCreated$inboundSchema: z.ZodType< + AppointmentCreated, + z.ZodTypeDef, + unknown +> = z.object({ + appointment: ActivityAppointment$inboundSchema.optional(), + contact: ActivityContact$inboundSchema.optional(), +}); + +export function appointmentCreatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppointmentCreated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppointmentCreated' from JSON`, + ); +} + +/** @internal */ +export const AppointmentCheckedIn$inboundSchema: z.ZodType< + AppointmentCheckedIn, + z.ZodTypeDef, + unknown +> = z.object({ + appointment: ActivityAppointment$inboundSchema.optional(), + contact: ActivityContact$inboundSchema.optional(), + checkedIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function appointmentCheckedInFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppointmentCheckedIn$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppointmentCheckedIn' from JSON`, + ); +} + +/** @internal */ +export const AppointmentCancelled$inboundSchema: z.ZodType< + AppointmentCancelled, + z.ZodTypeDef, + unknown +> = z.object({ + appointment: ActivityAppointment$inboundSchema.optional(), + contact: ActivityContact$inboundSchema.optional(), +}); + +export function appointmentCancelledFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppointmentCancelled$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppointmentCancelled' from JSON`, + ); +} + +/** @internal */ +export const AppointmentAccepted$inboundSchema: z.ZodType< + AppointmentAccepted, + z.ZodTypeDef, + unknown +> = z.object({ + appointment: ActivityAppointment$inboundSchema.optional(), + contact: ActivityContact$inboundSchema.optional(), +}); + +export function appointmentAcceptedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppointmentAccepted$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppointmentAccepted' from JSON`, + ); +} + +/** @internal */ +export const ActivityData$inboundSchema: z.ZodType< + ActivityData, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ActivityDataAppointmentExternal$inboundSchema), + z.lazy(() => ActivityDataEventExternal$inboundSchema), + z.lazy(() => ActivityDataExhibitorExternal$inboundSchema), + z.lazy(() => ActivityDataSessionExternal$inboundSchema), + z.lazy(() => AppointmentAccepted$inboundSchema), + z.lazy(() => AppointmentCancelled$inboundSchema), + z.lazy(() => AppointmentCheckedIn$inboundSchema), + z.lazy(() => AppointmentCreated$inboundSchema), + z.lazy(() => AppointmentDeclined$inboundSchema), + z.lazy(() => AppointmentDenied$inboundSchema), + z.lazy(() => AppointmentRescheduled$inboundSchema), + z.lazy(() => EmailBounced$inboundSchema), + z.lazy(() => EmailClicked$inboundSchema), + z.lazy(() => EmailOpened$inboundSchema), + z.lazy(() => EmailSent$inboundSchema), + z.lazy(() => EmailUndelivered$inboundSchema), + z.lazy(() => EventAttendeeHubVisited$inboundSchema), + z.lazy(() => EventAttendeeSubstituted$inboundSchema), + z.lazy(() => EventBannerLinkClicked$inboundSchema), + z.lazy(() => EventCheckedIn$inboundSchema), + z.lazy(() => EventCheckedOut$inboundSchema), + z.lazy(() => EventCustomCardOpened$inboundSchema), + z.lazy(() => EventFeedbackSubmitted$inboundSchema), + z.lazy(() => EventNoShow$inboundSchema), + z.lazy(() => EventPageVisitTracked$inboundSchema), + z.lazy(() => EventRegistered$inboundSchema), + z.lazy(() => EventRegistrationAbandoned$inboundSchema), + z.lazy(() => EventRegistrationCancelled$inboundSchema), + z.lazy(() => EventVideoPlayed$inboundSchema), + z.lazy(() => EventWaitlisted$inboundSchema), + z.lazy(() => ExhibitorDocumentOpened$inboundSchema), + z.lazy(() => ExhibitorSocialLinkOpened$inboundSchema), + z.lazy(() => ExhibitorViewed$inboundSchema), + z.lazy(() => ExhibitorVirtualBoothJoined$inboundSchema), + z.lazy(() => ExhibitorWeblinkOpened$inboundSchema), + z.lazy(() => LeadInboundCreated$inboundSchema), + z.lazy(() => LeadQualified$inboundSchema), + z.lazy(() => LeadScanned$inboundSchema), + z.lazy(() => SessionCheckedIn$inboundSchema), + z.lazy(() => SessionCheckedOut$inboundSchema), + z.lazy(() => SessionEnrolled$inboundSchema), + z.lazy(() => SessionFeedbackSubmitted$inboundSchema), + z.lazy(() => SessionNoShow$inboundSchema), + z.lazy(() => SessionPollResponseSubmitted$inboundSchema), + z.lazy(() => SessionQuestionAsked$inboundSchema), + z.lazy(() => SessionQuestionUpvoted$inboundSchema), + z.lazy(() => SessionUnenrolled$inboundSchema), + z.lazy(() => SessionWaitlisted$inboundSchema), + z.lazy(() => SpeakerFeedbackSubmitted$inboundSchema), + z.lazy(() => SpeakerFileDownloaded$inboundSchema), + z.lazy(() => EventAdViewed$inboundSchema), + z.lazy(() => EventAdClicked$inboundSchema), +]); + +export function activityDataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityData$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityData' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activitydatajson.ts b/packages/typescript/src/models/components/activitydatajson.ts deleted file mode 100644 index e5648431b..000000000 --- a/packages/typescript/src/models/components/activitydatajson.ts +++ /dev/null @@ -1,3045 +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 { - ActivityAdJson, - ActivityAdJson$inboundSchema, -} from "./activityadjson.js"; -import { - ActivityAppointmentJson, - ActivityAppointmentJson$inboundSchema, -} from "./activityappointmentjson.js"; -import { - ActivityBaseAppointmentJson, - ActivityBaseAppointmentJson$inboundSchema, -} from "./activitybaseappointmentjson.js"; -import { - ActivityContactJson, - ActivityContactJson$inboundSchema, -} from "./activitycontactjson.js"; -import { - ActivityExhibitorDocumentJson, - ActivityExhibitorDocumentJson$inboundSchema, -} from "./activityexhibitordocumentjson.js"; -import { - ActivityExhibitorJson, - ActivityExhibitorJson$inboundSchema, -} from "./activityexhibitorjson.js"; -import { - ActivityExhibitorNavigationSourceJson, - ActivityExhibitorNavigationSourceJson$inboundSchema, -} from "./activityexhibitornavigationsourcejson.js"; -import { - ActivityExhibitorSponsorshipLevelJson, - ActivityExhibitorSponsorshipLevelJson$inboundSchema, -} from "./activityexhibitorsponsorshipleveljson.js"; -import { - ActivityExhibitorWebLinkJson, - ActivityExhibitorWebLinkJson$inboundSchema, -} from "./activityexhibitorweblinkjson.js"; -import { - ActivityLeadJson, - ActivityLeadJson$inboundSchema, -} from "./activityleadjson.js"; -import { - AttendeeStatusJson, - AttendeeStatusJson$inboundSchema, -} from "./attendeestatusjson.js"; -import { - BannerLinkTargetJson, - BannerLinkTargetJson$inboundSchema, -} from "./bannerlinktargetjson.js"; -import { - ContactCommonJson, - ContactCommonJson$inboundSchema, -} from "./contactcommonjson.js"; -import { ExhibitorJson, ExhibitorJson$inboundSchema } from "./exhibitorjson.js"; -import { - LeadObjectJson, - LeadObjectJson$inboundSchema, -} from "./leadobjectjson.js"; -import { - LeadQualifiedQuestionResponseJson, - LeadQualifiedQuestionResponseJson$inboundSchema, -} from "./leadqualifiedquestionresponsejson.js"; -import { - PollResponseJson, - PollResponseJson$inboundSchema, -} from "./pollresponsejson.js"; -import { - QuestionDetailJson, - QuestionDetailJson$inboundSchema, -} from "./questiondetailjson.js"; -import { SpeakerJson, SpeakerJson$inboundSchema } from "./speakerjson.js"; -import { - SurveyResponseJson, - SurveyResponseJson$inboundSchema, -} from "./surveyresponsejson.js"; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent11 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * Clicked an Event Ad. - */ -export type EventAdClicked = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent11 | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * The details of the advertisement. - */ - ad?: ActivityAdJson | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent10 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * Viewed an Event Ad. - */ -export type EventAdViewed = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent10 | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * The details of the advertisement. - */ - ad?: ActivityAdJson | undefined; -}; - -/** - * Additional fields for external activities. - */ -export type ActivityDataJsonSessionExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * Additional fields for external activities. - */ -export type ActivityDataJsonExhibitorExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * Additional fields for external activities. - */ -export type ActivityDataJsonEventExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * Additional fields for external activities. - */ -export type ActivityDataJsonAppointmentExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * A speaker file-downloaded activity. - */ -export type SpeakerFileDownloaded = { - /** - * The name of the web browser. - */ - browser?: string | undefined; - /** - * The name of the operating system. - */ - operatingSystem?: string | undefined; - /** - * The name of the file. - */ - name?: string | undefined; - /** - * The type of the file. - */ - type?: string | undefined; - /** - * An activity speaker. - */ - speaker?: SpeakerJson | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity11 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A speaker feedback-submitted activity. - */ -export type SpeakerFeedbackSubmitted = { - /** - * The activity session. - */ - session?: SessionActivity11 | undefined; - /** - * An activity speaker. - */ - speaker?: SpeakerJson | undefined; - /** - * A survey response. - */ - survey?: SurveyResponseJson | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity10 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A session activity. - */ -export type SessionWaitlisted = { - /** - * The activity session. - */ - session?: SessionActivity10 | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity9 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A session activity. - */ -export type SessionUnenrolled = { - /** - * The activity session. - */ - session?: SessionActivity9 | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity8 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * This denotes the question asked in the session. - */ -export type SessionQuestionUpvoted = { - /** - * The activity session. - */ - session?: SessionActivity8 | undefined; - /** - * The question asked in a session. - */ - question?: QuestionDetailJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * The number of votes for a question. - */ - votes?: number | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity7 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * The question asked activity details for the session. - */ -export type SessionQuestionAsked = { - /** - * The activity session. - */ - session?: SessionActivity7 | undefined; - /** - * The question asked in a session. - */ - question?: QuestionDetailJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * The number of votes for a question. - */ - votes?: number | undefined; - /** - * True indicates the question was posted anonymously. - */ - anonymous?: boolean | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity6 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * The poll created for a session. - */ -export type SessionPollResponseSubmitted = { - /** - * The activity session. - */ - session?: SessionActivity6 | undefined; - /** - * This is used to denote the poll details. - */ - poll?: PollResponseJson | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity5 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A session activity. - */ -export type SessionNoShow = { - /** - * The activity session. - */ - session?: SessionActivity5 | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity4 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A session feedback-submitted activity. - */ -export type SessionFeedbackSubmitted = { - /** - * The activity session. - */ - session?: SessionActivity4 | undefined; - /** - * A survey response. - */ - survey?: SurveyResponseJson | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity3 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A session activity. - */ -export type SessionEnrolled = { - /** - * The activity session. - */ - session?: SessionActivity3 | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity2 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A session checked-Out activity. - */ -export type SessionCheckedOut = { - /** - * The activity session. - */ - session?: SessionActivity2 | undefined; - /** - * ISO 8601 date and time when an attendee checked out from a session. - */ - checkOut?: Date | undefined; -}; - -/** - * The activity session. - */ -export type SessionActivity1 = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The title of the session. - */ - title?: string | undefined; - /** - * The code of the session. - */ - code?: string | undefined; -}; - -/** - * A session checked-in activity. - */ -export type SessionCheckedIn = { - /** - * The activity session. - */ - session?: SessionActivity1 | undefined; - /** - * ISO 8601 date and time when an attendee checked in to a session. - */ - checkedIn?: Date | undefined; -}; - -/** - * A lead activity - */ -export type LeadScanned = { - /** - * An activity exhibitor. - */ - exhibitor?: ActivityExhibitorJson | undefined; - /** - * An activity lead. - */ - lead?: ActivityLeadJson | undefined; -}; - -/** - * A qualified lead. - */ -export type LeadQualified = { - /** - * An activity exhibitor. - */ - exhibitor?: ActivityExhibitorJson | undefined; - /** - * An activity lead. - */ - lead?: ActivityLeadJson | undefined; - /** - * The list of responses provided by the attendee. - */ - responses?: Array | undefined; -}; - -/** - * A lead inbound-created activity. - */ -export type LeadInboundCreated = { - /** - * An activity exhibitor. - */ - exhibitor?: ActivityExhibitorJson | undefined; - /** - * A Lead - */ - lead?: LeadObjectJson | undefined; -}; - -/** - * An exhibitor weblink-opened activity. - */ -export type ExhibitorWeblinkOpened = { - /** - * An exhibitor. - */ - exhibitor?: ExhibitorJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * A web-link for an activity exhibitor. - */ - weblink?: ActivityExhibitorWebLinkJson | undefined; -}; - -/** - * An exhibitor virtual-booth-joined activity. - */ -export type ExhibitorVirtualBoothJoined = { - /** - * An exhibitor. - */ - exhibitor?: ExhibitorJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * Sponsorship level for an activity exhibitor. - */ - sponsorshipLevel?: ActivityExhibitorSponsorshipLevelJson | undefined; - /** - * The solution type used for the virtual booth. - */ - solutionType?: string | undefined; -}; - -/** - * An exhibitor viewed activity. - */ -export type ExhibitorViewed = { - /** - * An exhibitor. - */ - exhibitor?: ExhibitorJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * Sponsorship level for an activity exhibitor. - */ - sponsorshipLevel?: ActivityExhibitorSponsorshipLevelJson | undefined; - /** - * Navigation source for an activity exhibitor. - */ - navigationSource?: ActivityExhibitorNavigationSourceJson | undefined; -}; - -/** - * An exhibitor social-link-opened activity. - */ -export type ExhibitorSocialLinkOpened = { - /** - * An exhibitor. - */ - exhibitor?: ExhibitorJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * Sponsorship level for an activity exhibitor. - */ - sponsorshipLevel?: ActivityExhibitorSponsorshipLevelJson | undefined; - /** - * The name of the social network. - */ - socialNetwork?: string | undefined; - /** - * The link opened by the attendee. - */ - url?: string | undefined; -}; - -/** - * An exhibitor document-opened activity. - */ -export type ExhibitorDocumentOpened = { - /** - * An exhibitor. - */ - exhibitor?: ExhibitorJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * Document for an activity exhibitor. - */ - document?: ActivityExhibitorDocumentJson | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent9 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An event-registered activity. - */ -export type EventWaitlisted = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent9 | undefined; - /** - * This is used to denote the status of an attendee. - */ - status?: AttendeeStatusJson | undefined; -}; - -/** - * An event video-played activity. - */ -export type EventVideoPlayed = { - /** - * The name of the web browser. - */ - browser?: string | undefined; - /** - * The name of the operating system. - */ - operatingSystem?: string | undefined; - /** - * The title of video. - */ - title?: string | undefined; - /** - * The name of the page. - */ - pageName?: string | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent8 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An event-registered activity. - */ -export type EventRegistrationCancelled = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent8 | undefined; - /** - * This is used to denote the status of an attendee. - */ - status?: AttendeeStatusJson | undefined; -}; - -/** - * Related contact. - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. - */ -export type ActivityContact = { - /** - * The first name of the attendee. - */ - firstName?: string | undefined; - /** - * The last name of the attendee. - */ - lastName?: string | undefined; - /** - * The email address of the attendee. - */ - email?: string | undefined; -}; - -/** - * An event registration-abandoned activity. - */ -export type EventRegistrationAbandoned = { - /** - * The last page where an invitee left during the registration. - */ - lastSavedRegistrationPageName?: string | undefined; - /** - * ISO 8601 date and time when an invitee left the registration process. - */ - lastActivity?: Date | undefined; - /** - * Related contact. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - contact?: ActivityContact | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent7 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An event-registered activity. - */ -export type EventRegistered = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent7 | undefined; - /** - * This is used to denote the status of an attendee. - */ - status?: AttendeeStatusJson | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent6 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * Contains Urchin Tracking Module (UTM) data. - */ -export type EventPageVisitTracked = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent6 | undefined; - /** - * Identifies which site sent the traffic. - */ - source?: string | undefined; - /** - * Identifies what type of link was used, such as cost per click or email. - */ - medium?: string | undefined; - /** - * Identifies a specific product promotion or strategic campaign. - */ - campaign?: string | undefined; - /** - * Identifies search terms. - */ - term?: string | undefined; - /** - * Identifies what specifically was clicked to bring the user to the site, such as a banner ad or a text link. - */ - content?: string | undefined; - /** - * An additional tracking parameter which can be used to compliment the standard UTM parameters. - */ - custom?: string | undefined; - /** - * Contains any additional non-standard UTM parameters. Key represents the custom parameters added by the planner. Value represents the corresponding value recorded about the page viewer. - */ - additional?: { [k: string]: string } | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent5 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An email activity. - */ -export type EventNoShow = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent5 | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent4 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An event-feedback-submitted activity. - */ -export type EventFeedbackSubmitted = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent4 | undefined; - /** - * A survey response. - */ - survey?: SurveyResponseJson | undefined; -}; - -/** - * This is used to denote the attendee activity fetched when a custom card is opened by an attendee. - */ -export type EventCustomCardOpened = { - /** - * The name of the custom card. - */ - name?: string | undefined; - /** - * The URL associated with the custom card. - */ - url?: string | undefined; - /** - * The type of the custom card. This value can be Link, Video, Appointment etc. - */ - type?: string | undefined; - /** - * True indicates the custom card contains multiple links. An attendee uses only one link at a time in a custom card. - */ - multipleLinks?: boolean | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent3 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An email-checked-out activity. - */ -export type EventCheckedOut = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent3 | undefined; - /** - * ISO 8601 date and time when an attendee checked out from an event. - */ - checkOut?: Date | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent2 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An email-checked-in activity. - */ -export type EventCheckedIn = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent2 | undefined; - /** - * ISO 8601 date and time when an attendee checked in to an event. - */ - checkedIn?: Date | undefined; -}; - -/** - * The related banner - */ -export type Banner = { - /** - * Banner ID - */ - id?: string | undefined; -}; - -/** - * The link on the banner clicked by an attendee. - */ -export type EventBannerLinkClicked = { - /** - * An exhibitor. - */ - exhibitor?: ExhibitorJson | undefined; - /** - * The platform used by the user. - */ - platform?: string | undefined; - /** - * The related banner - */ - banner?: Banner | undefined; - /** - * The target of the link clicked on the banner. - */ - target?: BannerLinkTargetJson | undefined; -}; - -/** - * The event in which this activity occurred. - */ -export type ActivityDataJsonEvent1 = { - /** - * Event ID. - */ - id?: string | undefined; -}; - -/** - * An attendee-substituted activity. - */ -export type EventAttendeeSubstituted = { - /** - * The event in which this activity occurred. - */ - event?: ActivityDataJsonEvent1 | undefined; - /** - * Details of a contact. - */ - oldContact?: ContactCommonJson | undefined; - /** - * Details of a contact. - */ - newContact?: ContactCommonJson | undefined; -}; - -/** - * An event attendee-hub-visited activity. - */ -export type EventAttendeeHubVisited = { - /** - * The name of the web browser. - */ - browser?: string | undefined; - /** - * The name of the operating system. - */ - operatingSystem?: string | undefined; - /** - * The name of the event website page before the attendee arrived in Attendee Hub. - */ - pageName?: string | undefined; - /** - * Text on the button. - */ - buttonText?: string | undefined; -}; - -/** - * An email-undelivered activity. - */ -export type EmailUndelivered = { - /** - * Type of the email. - */ - type?: string | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; - /** - * ISO 8601 date and time when an email was undelivered. - */ - undelivered?: Date | undefined; -}; - -/** - * An email-sent activity. - */ -export type EmailSent = { - /** - * Type of the email. - */ - type?: string | undefined; - /** - * ISO 8601 date and time when an email was sent. - */ - sent?: Date | undefined; -}; - -/** - * An email-opened activity. - */ -export type EmailOpened = { - /** - * Type of the email. - */ - type?: string | undefined; - /** - * ISO 8601 date and time when an email was opened. - */ - opened?: Date | undefined; -}; - -/** - * An email-clicked activity. - */ -export type EmailClicked = { - /** - * Type of the email. - */ - type?: string | undefined; - /** - * ISO 8601 date and time when an email link was clicked. - */ - clicked?: Date | undefined; - /** - * The URL clicked in the email. - */ - url?: string | undefined; - /** - * The URL text of the link. - */ - urlText?: string | undefined; -}; - -/** - * An email-bounced activity. - */ -export type EmailBounced = { - /** - * Type of the email. - */ - type?: string | undefined; - /** - * Reason for the bounced email. - */ - reason?: string | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; - /** - * ISO 8601 date and time when an email bounced. - */ - bounced?: Date | undefined; - /** - * The Simple Mail Transfer Protocol (SMTP) response status code. - */ - smtpCode?: number | undefined; - /** - * Delivery Status Notification diagnostic details. - */ - dsnDiagnostic?: string | undefined; - /** - * Used to denote if a recipient has opted-out of receiving emails. - */ - optOut: boolean; -}; - -/** - * Appointment created activity. - */ -export type AppointmentRescheduled = { - /** - * An activity appointment. - */ - appointment?: ActivityAppointmentJson | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; -}; - -/** - * Appointment denied activity. - */ -export type AppointmentDenied = { - /** - * Base entity of an activity appointment. - */ - appointment?: ActivityBaseAppointmentJson | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; -}; - -/** - * Appointment activity - */ -export type AppointmentDeclined = { - /** - * An activity appointment. - */ - appointment?: ActivityAppointmentJson | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; -}; - -/** - * Appointment created activity. - */ -export type AppointmentCreated = { - /** - * An activity appointment. - */ - appointment?: ActivityAppointmentJson | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; -}; - -/** - * Appointment checked-in activity. - */ -export type AppointmentCheckedIn = { - /** - * An activity appointment. - */ - appointment?: ActivityAppointmentJson | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; - /** - * ISO 8601 date and time when an attendee checked in to the appointment. - */ - checkedIn?: Date | undefined; -}; - -/** - * Appointment activity - */ -export type AppointmentCancelled = { - /** - * An activity appointment. - */ - appointment?: ActivityAppointmentJson | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; -}; - -/** - * Appointment activity - */ -export type AppointmentAccepted = { - /** - * An activity appointment. - */ - appointment?: ActivityAppointmentJson | undefined; - /** - * An activity contact. - */ - contact?: ActivityContactJson | undefined; -}; - -/** - * This is used to denote the type of the attendee activity - */ -export type ActivityDataJson = - | ActivityDataJsonAppointmentExternal - | ActivityDataJsonEventExternal - | ActivityDataJsonExhibitorExternal - | ActivityDataJsonSessionExternal - | AppointmentAccepted - | AppointmentCancelled - | AppointmentCheckedIn - | AppointmentCreated - | AppointmentDeclined - | AppointmentDenied - | AppointmentRescheduled - | EmailBounced - | EmailClicked - | EmailOpened - | EmailSent - | EmailUndelivered - | EventAttendeeHubVisited - | EventAttendeeSubstituted - | EventBannerLinkClicked - | EventCheckedIn - | EventCheckedOut - | EventCustomCardOpened - | EventFeedbackSubmitted - | EventNoShow - | EventPageVisitTracked - | EventRegistered - | EventRegistrationAbandoned - | EventRegistrationCancelled - | EventVideoPlayed - | EventWaitlisted - | ExhibitorDocumentOpened - | ExhibitorSocialLinkOpened - | ExhibitorViewed - | ExhibitorVirtualBoothJoined - | ExhibitorWeblinkOpened - | LeadInboundCreated - | LeadQualified - | LeadScanned - | SessionCheckedIn - | SessionCheckedOut - | SessionEnrolled - | SessionFeedbackSubmitted - | SessionNoShow - | SessionPollResponseSubmitted - | SessionQuestionAsked - | SessionQuestionUpvoted - | SessionUnenrolled - | SessionWaitlisted - | SpeakerFeedbackSubmitted - | SpeakerFileDownloaded - | EventAdViewed - | EventAdClicked; - -/** @internal */ -export const ActivityDataJsonEvent11$inboundSchema: z.ZodType< - ActivityDataJsonEvent11, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent11' from JSON`, - ); -} - -/** @internal */ -export const EventAdClicked$inboundSchema: z.ZodType< - EventAdClicked, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent11$inboundSchema).optional(), - platform: z.string().optional(), - ad: ActivityAdJson$inboundSchema.optional(), -}); - -export function eventAdClickedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventAdClicked$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventAdClicked' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent10$inboundSchema: z.ZodType< - ActivityDataJsonEvent10, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent10' from JSON`, - ); -} - -/** @internal */ -export const EventAdViewed$inboundSchema: z.ZodType< - EventAdViewed, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent10$inboundSchema).optional(), - platform: z.string().optional(), - ad: ActivityAdJson$inboundSchema.optional(), -}); - -export function eventAdViewedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventAdViewed$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventAdViewed' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonSessionExternal$inboundSchema: z.ZodType< - ActivityDataJsonSessionExternal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), -}); - -export function activityDataJsonSessionExternalFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonSessionExternal$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonSessionExternal' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonExhibitorExternal$inboundSchema: z.ZodType< - ActivityDataJsonExhibitorExternal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), -}); - -export function activityDataJsonExhibitorExternalFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonExhibitorExternal$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonExhibitorExternal' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEventExternal$inboundSchema: z.ZodType< - ActivityDataJsonEventExternal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), -}); - -export function activityDataJsonEventExternalFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEventExternal$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEventExternal' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonAppointmentExternal$inboundSchema: z.ZodType< - ActivityDataJsonAppointmentExternal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), -}); - -export function activityDataJsonAppointmentExternalFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ActivityDataJsonAppointmentExternal$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonAppointmentExternal' from JSON`, - ); -} - -/** @internal */ -export const SpeakerFileDownloaded$inboundSchema: z.ZodType< - SpeakerFileDownloaded, - z.ZodTypeDef, - unknown -> = z.object({ - browser: z.string().optional(), - operatingSystem: z.string().optional(), - name: z.string().optional(), - type: z.string().optional(), - speaker: SpeakerJson$inboundSchema.optional(), -}); - -export function speakerFileDownloadedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SpeakerFileDownloaded$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SpeakerFileDownloaded' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity11$inboundSchema: z.ZodType< - SessionActivity11, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity11' from JSON`, - ); -} - -/** @internal */ -export const SpeakerFeedbackSubmitted$inboundSchema: z.ZodType< - SpeakerFeedbackSubmitted, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity11$inboundSchema).optional(), - speaker: SpeakerJson$inboundSchema.optional(), - survey: SurveyResponseJson$inboundSchema.optional(), -}); - -export function speakerFeedbackSubmittedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SpeakerFeedbackSubmitted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SpeakerFeedbackSubmitted' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity10$inboundSchema: z.ZodType< - SessionActivity10, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity10' from JSON`, - ); -} - -/** @internal */ -export const SessionWaitlisted$inboundSchema: z.ZodType< - SessionWaitlisted, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity10$inboundSchema).optional(), -}); - -export function sessionWaitlistedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionWaitlisted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionWaitlisted' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity9$inboundSchema: z.ZodType< - SessionActivity9, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity9' from JSON`, - ); -} - -/** @internal */ -export const SessionUnenrolled$inboundSchema: z.ZodType< - SessionUnenrolled, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity9$inboundSchema).optional(), -}); - -export function sessionUnenrolledFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionUnenrolled$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionUnenrolled' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity8$inboundSchema: z.ZodType< - SessionActivity8, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity8' from JSON`, - ); -} - -/** @internal */ -export const SessionQuestionUpvoted$inboundSchema: z.ZodType< - SessionQuestionUpvoted, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity8$inboundSchema).optional(), - question: QuestionDetailJson$inboundSchema.optional(), - platform: z.string().optional(), - votes: z.number().int().optional(), -}); - -export function sessionQuestionUpvotedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionQuestionUpvoted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionQuestionUpvoted' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity7$inboundSchema: z.ZodType< - SessionActivity7, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity7' from JSON`, - ); -} - -/** @internal */ -export const SessionQuestionAsked$inboundSchema: z.ZodType< - SessionQuestionAsked, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity7$inboundSchema).optional(), - question: QuestionDetailJson$inboundSchema.optional(), - platform: z.string().optional(), - votes: z.number().int().optional(), - anonymous: z.boolean().optional(), -}); - -export function sessionQuestionAskedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionQuestionAsked$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionQuestionAsked' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity6$inboundSchema: z.ZodType< - SessionActivity6, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity6' from JSON`, - ); -} - -/** @internal */ -export const SessionPollResponseSubmitted$inboundSchema: z.ZodType< - SessionPollResponseSubmitted, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity6$inboundSchema).optional(), - poll: PollResponseJson$inboundSchema.optional(), -}); - -export function sessionPollResponseSubmittedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionPollResponseSubmitted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionPollResponseSubmitted' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity5$inboundSchema: z.ZodType< - SessionActivity5, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity5' from JSON`, - ); -} - -/** @internal */ -export const SessionNoShow$inboundSchema: z.ZodType< - SessionNoShow, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity5$inboundSchema).optional(), -}); - -export function sessionNoShowFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionNoShow$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionNoShow' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity4$inboundSchema: z.ZodType< - SessionActivity4, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity4' from JSON`, - ); -} - -/** @internal */ -export const SessionFeedbackSubmitted$inboundSchema: z.ZodType< - SessionFeedbackSubmitted, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity4$inboundSchema).optional(), - survey: SurveyResponseJson$inboundSchema.optional(), -}); - -export function sessionFeedbackSubmittedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionFeedbackSubmitted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionFeedbackSubmitted' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity3$inboundSchema: z.ZodType< - SessionActivity3, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity3' from JSON`, - ); -} - -/** @internal */ -export const SessionEnrolled$inboundSchema: z.ZodType< - SessionEnrolled, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity3$inboundSchema).optional(), -}); - -export function sessionEnrolledFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionEnrolled$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionEnrolled' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity2$inboundSchema: z.ZodType< - SessionActivity2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity2' from JSON`, - ); -} - -/** @internal */ -export const SessionCheckedOut$inboundSchema: z.ZodType< - SessionCheckedOut, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity2$inboundSchema).optional(), - checkOut: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function sessionCheckedOutFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionCheckedOut$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionCheckedOut' from JSON`, - ); -} - -/** @internal */ -export const SessionActivity1$inboundSchema: z.ZodType< - SessionActivity1, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), -}); - -export function sessionActivity1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionActivity1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionActivity1' from JSON`, - ); -} - -/** @internal */ -export const SessionCheckedIn$inboundSchema: z.ZodType< - SessionCheckedIn, - z.ZodTypeDef, - unknown -> = z.object({ - session: z.lazy(() => SessionActivity1$inboundSchema).optional(), - checkedIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function sessionCheckedInFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionCheckedIn$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionCheckedIn' from JSON`, - ); -} - -/** @internal */ -export const LeadScanned$inboundSchema: z.ZodType< - LeadScanned, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ActivityExhibitorJson$inboundSchema.optional(), - lead: ActivityLeadJson$inboundSchema.optional(), -}); - -export function leadScannedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadScanned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadScanned' from JSON`, - ); -} - -/** @internal */ -export const LeadQualified$inboundSchema: z.ZodType< - LeadQualified, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ActivityExhibitorJson$inboundSchema.optional(), - lead: ActivityLeadJson$inboundSchema.optional(), - responses: z.array(LeadQualifiedQuestionResponseJson$inboundSchema) - .optional(), -}); - -export function leadQualifiedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadQualified$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadQualified' from JSON`, - ); -} - -/** @internal */ -export const LeadInboundCreated$inboundSchema: z.ZodType< - LeadInboundCreated, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ActivityExhibitorJson$inboundSchema.optional(), - lead: LeadObjectJson$inboundSchema.optional(), -}); - -export function leadInboundCreatedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadInboundCreated$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadInboundCreated' from JSON`, - ); -} - -/** @internal */ -export const ExhibitorWeblinkOpened$inboundSchema: z.ZodType< - ExhibitorWeblinkOpened, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ExhibitorJson$inboundSchema.optional(), - platform: z.string().optional(), - weblink: ActivityExhibitorWebLinkJson$inboundSchema.optional(), -}); - -export function exhibitorWeblinkOpenedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExhibitorWeblinkOpened$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExhibitorWeblinkOpened' from JSON`, - ); -} - -/** @internal */ -export const ExhibitorVirtualBoothJoined$inboundSchema: z.ZodType< - ExhibitorVirtualBoothJoined, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ExhibitorJson$inboundSchema.optional(), - platform: z.string().optional(), - sponsorshipLevel: ActivityExhibitorSponsorshipLevelJson$inboundSchema - .optional(), - solutionType: z.string().optional(), -}); - -export function exhibitorVirtualBoothJoinedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExhibitorVirtualBoothJoined$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExhibitorVirtualBoothJoined' from JSON`, - ); -} - -/** @internal */ -export const ExhibitorViewed$inboundSchema: z.ZodType< - ExhibitorViewed, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ExhibitorJson$inboundSchema.optional(), - platform: z.string().optional(), - sponsorshipLevel: ActivityExhibitorSponsorshipLevelJson$inboundSchema - .optional(), - navigationSource: ActivityExhibitorNavigationSourceJson$inboundSchema - .optional(), -}); - -export function exhibitorViewedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExhibitorViewed$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExhibitorViewed' from JSON`, - ); -} - -/** @internal */ -export const ExhibitorSocialLinkOpened$inboundSchema: z.ZodType< - ExhibitorSocialLinkOpened, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ExhibitorJson$inboundSchema.optional(), - platform: z.string().optional(), - sponsorshipLevel: ActivityExhibitorSponsorshipLevelJson$inboundSchema - .optional(), - socialNetwork: z.string().optional(), - url: z.string().optional(), -}); - -export function exhibitorSocialLinkOpenedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExhibitorSocialLinkOpened$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExhibitorSocialLinkOpened' from JSON`, - ); -} - -/** @internal */ -export const ExhibitorDocumentOpened$inboundSchema: z.ZodType< - ExhibitorDocumentOpened, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ExhibitorJson$inboundSchema.optional(), - platform: z.string().optional(), - document: ActivityExhibitorDocumentJson$inboundSchema.optional(), -}); - -export function exhibitorDocumentOpenedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExhibitorDocumentOpened$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExhibitorDocumentOpened' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent9$inboundSchema: z.ZodType< - ActivityDataJsonEvent9, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent9' from JSON`, - ); -} - -/** @internal */ -export const EventWaitlisted$inboundSchema: z.ZodType< - EventWaitlisted, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent9$inboundSchema).optional(), - status: AttendeeStatusJson$inboundSchema.optional(), -}); - -export function eventWaitlistedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventWaitlisted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventWaitlisted' from JSON`, - ); -} - -/** @internal */ -export const EventVideoPlayed$inboundSchema: z.ZodType< - EventVideoPlayed, - z.ZodTypeDef, - unknown -> = z.object({ - browser: z.string().optional(), - operatingSystem: z.string().optional(), - title: z.string().optional(), - pageName: z.string().optional(), -}); - -export function eventVideoPlayedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventVideoPlayed$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventVideoPlayed' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent8$inboundSchema: z.ZodType< - ActivityDataJsonEvent8, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent8' from JSON`, - ); -} - -/** @internal */ -export const EventRegistrationCancelled$inboundSchema: z.ZodType< - EventRegistrationCancelled, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent8$inboundSchema).optional(), - status: AttendeeStatusJson$inboundSchema.optional(), -}); - -export function eventRegistrationCancelledFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventRegistrationCancelled$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventRegistrationCancelled' from JSON`, - ); -} - -/** @internal */ -export const ActivityContact$inboundSchema: z.ZodType< - ActivityContact, - z.ZodTypeDef, - unknown -> = z.object({ - firstName: z.string().optional(), - lastName: z.string().optional(), - email: z.string().optional(), -}); - -export function activityContactFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityContact$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityContact' from JSON`, - ); -} - -/** @internal */ -export const EventRegistrationAbandoned$inboundSchema: z.ZodType< - EventRegistrationAbandoned, - z.ZodTypeDef, - unknown -> = z.object({ - lastSavedRegistrationPageName: z.string().optional(), - lastActivity: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - contact: z.lazy(() => ActivityContact$inboundSchema).optional(), -}); - -export function eventRegistrationAbandonedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventRegistrationAbandoned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventRegistrationAbandoned' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent7$inboundSchema: z.ZodType< - ActivityDataJsonEvent7, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent7' from JSON`, - ); -} - -/** @internal */ -export const EventRegistered$inboundSchema: z.ZodType< - EventRegistered, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent7$inboundSchema).optional(), - status: AttendeeStatusJson$inboundSchema.optional(), -}); - -export function eventRegisteredFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventRegistered$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventRegistered' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent6$inboundSchema: z.ZodType< - ActivityDataJsonEvent6, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent6' from JSON`, - ); -} - -/** @internal */ -export const EventPageVisitTracked$inboundSchema: z.ZodType< - EventPageVisitTracked, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent6$inboundSchema).optional(), - source: z.string().optional(), - medium: z.string().optional(), - campaign: z.string().optional(), - term: z.string().optional(), - content: z.string().optional(), - custom: z.string().optional(), - additional: z.record(z.string()).optional(), -}); - -export function eventPageVisitTrackedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventPageVisitTracked$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventPageVisitTracked' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent5$inboundSchema: z.ZodType< - ActivityDataJsonEvent5, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent5' from JSON`, - ); -} - -/** @internal */ -export const EventNoShow$inboundSchema: z.ZodType< - EventNoShow, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent5$inboundSchema).optional(), -}); - -export function eventNoShowFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventNoShow$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventNoShow' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent4$inboundSchema: z.ZodType< - ActivityDataJsonEvent4, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent4' from JSON`, - ); -} - -/** @internal */ -export const EventFeedbackSubmitted$inboundSchema: z.ZodType< - EventFeedbackSubmitted, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent4$inboundSchema).optional(), - survey: SurveyResponseJson$inboundSchema.optional(), -}); - -export function eventFeedbackSubmittedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventFeedbackSubmitted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventFeedbackSubmitted' from JSON`, - ); -} - -/** @internal */ -export const EventCustomCardOpened$inboundSchema: z.ZodType< - EventCustomCardOpened, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - url: z.string().optional(), - type: z.string().optional(), - multipleLinks: z.boolean().optional(), -}); - -export function eventCustomCardOpenedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventCustomCardOpened$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventCustomCardOpened' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent3$inboundSchema: z.ZodType< - ActivityDataJsonEvent3, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent3' from JSON`, - ); -} - -/** @internal */ -export const EventCheckedOut$inboundSchema: z.ZodType< - EventCheckedOut, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent3$inboundSchema).optional(), - checkOut: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function eventCheckedOutFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventCheckedOut$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventCheckedOut' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent2$inboundSchema: z.ZodType< - ActivityDataJsonEvent2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent2' from JSON`, - ); -} - -/** @internal */ -export const EventCheckedIn$inboundSchema: z.ZodType< - EventCheckedIn, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent2$inboundSchema).optional(), - checkedIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function eventCheckedInFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventCheckedIn$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventCheckedIn' from JSON`, - ); -} - -/** @internal */ -export const Banner$inboundSchema: z.ZodType = z - .object({ - id: z.string().optional(), - }); - -export function bannerFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Banner$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Banner' from JSON`, - ); -} - -/** @internal */ -export const EventBannerLinkClicked$inboundSchema: z.ZodType< - EventBannerLinkClicked, - z.ZodTypeDef, - unknown -> = z.object({ - exhibitor: ExhibitorJson$inboundSchema.optional(), - platform: z.string().optional(), - banner: z.lazy(() => Banner$inboundSchema).optional(), - target: BannerLinkTargetJson$inboundSchema.optional(), -}); - -export function eventBannerLinkClickedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventBannerLinkClicked$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventBannerLinkClicked' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJsonEvent1$inboundSchema: z.ZodType< - ActivityDataJsonEvent1, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function activityDataJsonEvent1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJsonEvent1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJsonEvent1' from JSON`, - ); -} - -/** @internal */ -export const EventAttendeeSubstituted$inboundSchema: z.ZodType< - EventAttendeeSubstituted, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.lazy(() => ActivityDataJsonEvent1$inboundSchema).optional(), - oldContact: ContactCommonJson$inboundSchema.optional(), - newContact: ContactCommonJson$inboundSchema.optional(), -}); - -export function eventAttendeeSubstitutedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventAttendeeSubstituted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventAttendeeSubstituted' from JSON`, - ); -} - -/** @internal */ -export const EventAttendeeHubVisited$inboundSchema: z.ZodType< - EventAttendeeHubVisited, - z.ZodTypeDef, - unknown -> = z.object({ - browser: z.string().optional(), - operatingSystem: z.string().optional(), - pageName: z.string().optional(), - buttonText: z.string().optional(), -}); - -export function eventAttendeeHubVisitedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventAttendeeHubVisited$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventAttendeeHubVisited' from JSON`, - ); -} - -/** @internal */ -export const EmailUndelivered$inboundSchema: z.ZodType< - EmailUndelivered, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string().optional(), - contact: ActivityContactJson$inboundSchema.optional(), - undelivered: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function emailUndeliveredFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EmailUndelivered$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmailUndelivered' from JSON`, - ); -} - -/** @internal */ -export const EmailSent$inboundSchema: z.ZodType< - EmailSent, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string().optional(), - sent: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function emailSentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EmailSent$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmailSent' from JSON`, - ); -} - -/** @internal */ -export const EmailOpened$inboundSchema: z.ZodType< - EmailOpened, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string().optional(), - opened: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function emailOpenedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EmailOpened$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmailOpened' from JSON`, - ); -} - -/** @internal */ -export const EmailClicked$inboundSchema: z.ZodType< - EmailClicked, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string().optional(), - clicked: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - url: z.string().optional(), - urlText: z.string().optional(), -}); - -export function emailClickedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EmailClicked$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmailClicked' from JSON`, - ); -} - -/** @internal */ -export const EmailBounced$inboundSchema: z.ZodType< - EmailBounced, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string().optional(), - reason: z.string().optional(), - contact: ActivityContactJson$inboundSchema.optional(), - bounced: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - smtpCode: z.number().int().optional(), - dsnDiagnostic: z.string().optional(), - optOut: z.boolean().default(false), -}); - -export function emailBouncedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EmailBounced$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmailBounced' from JSON`, - ); -} - -/** @internal */ -export const AppointmentRescheduled$inboundSchema: z.ZodType< - AppointmentRescheduled, - z.ZodTypeDef, - unknown -> = z.object({ - appointment: ActivityAppointmentJson$inboundSchema.optional(), - contact: ActivityContactJson$inboundSchema.optional(), -}); - -export function appointmentRescheduledFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AppointmentRescheduled$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AppointmentRescheduled' from JSON`, - ); -} - -/** @internal */ -export const AppointmentDenied$inboundSchema: z.ZodType< - AppointmentDenied, - z.ZodTypeDef, - unknown -> = z.object({ - appointment: ActivityBaseAppointmentJson$inboundSchema.optional(), - contact: ActivityContactJson$inboundSchema.optional(), -}); - -export function appointmentDeniedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AppointmentDenied$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AppointmentDenied' from JSON`, - ); -} - -/** @internal */ -export const AppointmentDeclined$inboundSchema: z.ZodType< - AppointmentDeclined, - z.ZodTypeDef, - unknown -> = z.object({ - appointment: ActivityAppointmentJson$inboundSchema.optional(), - contact: ActivityContactJson$inboundSchema.optional(), -}); - -export function appointmentDeclinedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AppointmentDeclined$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AppointmentDeclined' from JSON`, - ); -} - -/** @internal */ -export const AppointmentCreated$inboundSchema: z.ZodType< - AppointmentCreated, - z.ZodTypeDef, - unknown -> = z.object({ - appointment: ActivityAppointmentJson$inboundSchema.optional(), - contact: ActivityContactJson$inboundSchema.optional(), -}); - -export function appointmentCreatedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AppointmentCreated$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AppointmentCreated' from JSON`, - ); -} - -/** @internal */ -export const AppointmentCheckedIn$inboundSchema: z.ZodType< - AppointmentCheckedIn, - z.ZodTypeDef, - unknown -> = z.object({ - appointment: ActivityAppointmentJson$inboundSchema.optional(), - contact: ActivityContactJson$inboundSchema.optional(), - checkedIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function appointmentCheckedInFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AppointmentCheckedIn$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AppointmentCheckedIn' from JSON`, - ); -} - -/** @internal */ -export const AppointmentCancelled$inboundSchema: z.ZodType< - AppointmentCancelled, - z.ZodTypeDef, - unknown -> = z.object({ - appointment: ActivityAppointmentJson$inboundSchema.optional(), - contact: ActivityContactJson$inboundSchema.optional(), -}); - -export function appointmentCancelledFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AppointmentCancelled$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AppointmentCancelled' from JSON`, - ); -} - -/** @internal */ -export const AppointmentAccepted$inboundSchema: z.ZodType< - AppointmentAccepted, - z.ZodTypeDef, - unknown -> = z.object({ - appointment: ActivityAppointmentJson$inboundSchema.optional(), - contact: ActivityContactJson$inboundSchema.optional(), -}); - -export function appointmentAcceptedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AppointmentAccepted$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AppointmentAccepted' from JSON`, - ); -} - -/** @internal */ -export const ActivityDataJson$inboundSchema: z.ZodType< - ActivityDataJson, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ActivityDataJsonAppointmentExternal$inboundSchema), - z.lazy(() => ActivityDataJsonEventExternal$inboundSchema), - z.lazy(() => ActivityDataJsonExhibitorExternal$inboundSchema), - z.lazy(() => ActivityDataJsonSessionExternal$inboundSchema), - z.lazy(() => AppointmentAccepted$inboundSchema), - z.lazy(() => AppointmentCancelled$inboundSchema), - z.lazy(() => AppointmentCheckedIn$inboundSchema), - z.lazy(() => AppointmentCreated$inboundSchema), - z.lazy(() => AppointmentDeclined$inboundSchema), - z.lazy(() => AppointmentDenied$inboundSchema), - z.lazy(() => AppointmentRescheduled$inboundSchema), - z.lazy(() => EmailBounced$inboundSchema), - z.lazy(() => EmailClicked$inboundSchema), - z.lazy(() => EmailOpened$inboundSchema), - z.lazy(() => EmailSent$inboundSchema), - z.lazy(() => EmailUndelivered$inboundSchema), - z.lazy(() => EventAttendeeHubVisited$inboundSchema), - z.lazy(() => EventAttendeeSubstituted$inboundSchema), - z.lazy(() => EventBannerLinkClicked$inboundSchema), - z.lazy(() => EventCheckedIn$inboundSchema), - z.lazy(() => EventCheckedOut$inboundSchema), - z.lazy(() => EventCustomCardOpened$inboundSchema), - z.lazy(() => EventFeedbackSubmitted$inboundSchema), - z.lazy(() => EventNoShow$inboundSchema), - z.lazy(() => EventPageVisitTracked$inboundSchema), - z.lazy(() => EventRegistered$inboundSchema), - z.lazy(() => EventRegistrationAbandoned$inboundSchema), - z.lazy(() => EventRegistrationCancelled$inboundSchema), - z.lazy(() => EventVideoPlayed$inboundSchema), - z.lazy(() => EventWaitlisted$inboundSchema), - z.lazy(() => ExhibitorDocumentOpened$inboundSchema), - z.lazy(() => ExhibitorSocialLinkOpened$inboundSchema), - z.lazy(() => ExhibitorViewed$inboundSchema), - z.lazy(() => ExhibitorVirtualBoothJoined$inboundSchema), - z.lazy(() => ExhibitorWeblinkOpened$inboundSchema), - z.lazy(() => LeadInboundCreated$inboundSchema), - z.lazy(() => LeadQualified$inboundSchema), - z.lazy(() => LeadScanned$inboundSchema), - z.lazy(() => SessionCheckedIn$inboundSchema), - z.lazy(() => SessionCheckedOut$inboundSchema), - z.lazy(() => SessionEnrolled$inboundSchema), - z.lazy(() => SessionFeedbackSubmitted$inboundSchema), - z.lazy(() => SessionNoShow$inboundSchema), - z.lazy(() => SessionPollResponseSubmitted$inboundSchema), - z.lazy(() => SessionQuestionAsked$inboundSchema), - z.lazy(() => SessionQuestionUpvoted$inboundSchema), - z.lazy(() => SessionUnenrolled$inboundSchema), - z.lazy(() => SessionWaitlisted$inboundSchema), - z.lazy(() => SpeakerFeedbackSubmitted$inboundSchema), - z.lazy(() => SpeakerFileDownloaded$inboundSchema), - z.lazy(() => EventAdViewed$inboundSchema), - z.lazy(() => EventAdClicked$inboundSchema), -]); - -export function activityDataJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityDataJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityDataJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityexhibitor.ts b/packages/typescript/src/models/components/activityexhibitor.ts new file mode 100644 index 000000000..bcce97662 --- /dev/null +++ b/packages/typescript/src/models/components/activityexhibitor.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An activity exhibitor. + */ +export type ActivityExhibitor = { + /** + * The unique identifier of the exhibitor. + */ + id?: string | undefined; + /** + * Unique code of an exhibitor at a booth. + */ + code?: string | undefined; + /** + * The marketing code of an exhibitor. + */ + marketingCode?: string | undefined; + /** + * The Name of an exhibitor. + */ + name?: string | undefined; +}; + +/** @internal */ +export const ActivityExhibitor$inboundSchema: z.ZodType< + ActivityExhibitor, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + code: z.string().optional(), + marketingCode: z.string().optional(), + name: z.string().optional(), +}); + +export function activityExhibitorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityExhibitor$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityExhibitor' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityexhibitordocument.ts b/packages/typescript/src/models/components/activityexhibitordocument.ts new file mode 100644 index 000000000..00124c548 --- /dev/null +++ b/packages/typescript/src/models/components/activityexhibitordocument.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Document for an activity exhibitor. + */ +export type ActivityExhibitorDocument = { + /** + * The unique identifier of the document. + */ + id?: string | undefined; + /** + * The title of the document. + */ + title?: string | undefined; + /** + * The format of the document eg. doc, docx, gif, jpg, pdf, etc. + */ + format?: string | undefined; + /** + * If the document is downloaded. + */ + downloaded?: boolean | undefined; +}; + +/** @internal */ +export const ActivityExhibitorDocument$inboundSchema: z.ZodType< + ActivityExhibitorDocument, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + format: z.string().optional(), + downloaded: z.boolean().optional(), +}); + +export function activityExhibitorDocumentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityExhibitorDocument$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityExhibitorDocument' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityexhibitordocumentjson.ts b/packages/typescript/src/models/components/activityexhibitordocumentjson.ts deleted file mode 100644 index 708aff9a0..000000000 --- a/packages/typescript/src/models/components/activityexhibitordocumentjson.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Document for an activity exhibitor. - */ -export type ActivityExhibitorDocumentJson = { - /** - * The unique identifier of the document. - */ - id?: string | undefined; - /** - * The title of the document. - */ - title?: string | undefined; - /** - * The format of the document eg. doc, docx, gif, jpg, pdf, etc. - */ - format?: string | undefined; - /** - * If the document is downloaded. - */ - downloaded?: boolean | undefined; -}; - -/** @internal */ -export const ActivityExhibitorDocumentJson$inboundSchema: z.ZodType< - ActivityExhibitorDocumentJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - format: z.string().optional(), - downloaded: z.boolean().optional(), -}); - -export function activityExhibitorDocumentJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityExhibitorDocumentJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityExhibitorDocumentJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityexhibitorjson.ts b/packages/typescript/src/models/components/activityexhibitorjson.ts deleted file mode 100644 index 750bca00f..000000000 --- a/packages/typescript/src/models/components/activityexhibitorjson.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * An activity exhibitor. - */ -export type ActivityExhibitorJson = { - /** - * The unique identifier of the exhibitor. - */ - id?: string | undefined; - /** - * Unique code of an exhibitor at a booth. - */ - code?: string | undefined; - /** - * The marketing code of an exhibitor. - */ - marketingCode?: string | undefined; - /** - * The Name of an exhibitor. - */ - name?: string | undefined; -}; - -/** @internal */ -export const ActivityExhibitorJson$inboundSchema: z.ZodType< - ActivityExhibitorJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - code: z.string().optional(), - marketingCode: z.string().optional(), - name: z.string().optional(), -}); - -export function activityExhibitorJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityExhibitorJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityExhibitorJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityexhibitornavigationsource.ts b/packages/typescript/src/models/components/activityexhibitornavigationsource.ts new file mode 100644 index 000000000..2aa68d6a8 --- /dev/null +++ b/packages/typescript/src/models/components/activityexhibitornavigationsource.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Navigation source for an activity exhibitor. + */ +export type ActivityExhibitorNavigationSource = { + /** + * The source type in the attendee hub from where the user navigated to the exhibitor booth. + */ + type?: string | undefined; + /** + * The source name in the attendee hub from where the user navigated to the exhibitor booth. + */ + name?: string | undefined; +}; + +/** @internal */ +export const ActivityExhibitorNavigationSource$inboundSchema: z.ZodType< + ActivityExhibitorNavigationSource, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string().optional(), + name: z.string().optional(), +}); + +export function activityExhibitorNavigationSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityExhibitorNavigationSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityExhibitorNavigationSource' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityexhibitornavigationsourcejson.ts b/packages/typescript/src/models/components/activityexhibitornavigationsourcejson.ts deleted file mode 100644 index 7bd399aaa..000000000 --- a/packages/typescript/src/models/components/activityexhibitornavigationsourcejson.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Navigation source for an activity exhibitor. - */ -export type ActivityExhibitorNavigationSourceJson = { - /** - * The source type in the attendee hub from where the user navigated to the exhibitor booth. - */ - type?: string | undefined; - /** - * The source name in the attendee hub from where the user navigated to the exhibitor booth. - */ - name?: string | undefined; -}; - -/** @internal */ -export const ActivityExhibitorNavigationSourceJson$inboundSchema: z.ZodType< - ActivityExhibitorNavigationSourceJson, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string().optional(), - name: z.string().optional(), -}); - -export function activityExhibitorNavigationSourceJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ActivityExhibitorNavigationSourceJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityExhibitorNavigationSourceJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityexhibitorsponsorshiplevel.ts b/packages/typescript/src/models/components/activityexhibitorsponsorshiplevel.ts new file mode 100644 index 000000000..d8b029900 --- /dev/null +++ b/packages/typescript/src/models/components/activityexhibitorsponsorshiplevel.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Sponsorship level for an activity exhibitor. + */ +export type ActivityExhibitorSponsorshipLevel = { + /** + * The unique identifier of the sponsorship level. + */ + id?: string | undefined; + /** + * The name of the sponsorship level. + */ + name?: string | undefined; +}; + +/** @internal */ +export const ActivityExhibitorSponsorshipLevel$inboundSchema: z.ZodType< + ActivityExhibitorSponsorshipLevel, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), +}); + +export function activityExhibitorSponsorshipLevelFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityExhibitorSponsorshipLevel$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityExhibitorSponsorshipLevel' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityexhibitorsponsorshipleveljson.ts b/packages/typescript/src/models/components/activityexhibitorsponsorshipleveljson.ts deleted file mode 100644 index 6be69d776..000000000 --- a/packages/typescript/src/models/components/activityexhibitorsponsorshipleveljson.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Sponsorship level for an activity exhibitor. - */ -export type ActivityExhibitorSponsorshipLevelJson = { - /** - * The unique identifier of the sponsorship level. - */ - id?: string | undefined; - /** - * The name of the sponsorship level. - */ - name?: string | undefined; -}; - -/** @internal */ -export const ActivityExhibitorSponsorshipLevelJson$inboundSchema: z.ZodType< - ActivityExhibitorSponsorshipLevelJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), -}); - -export function activityExhibitorSponsorshipLevelJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ActivityExhibitorSponsorshipLevelJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityExhibitorSponsorshipLevelJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityexhibitorweblink.ts b/packages/typescript/src/models/components/activityexhibitorweblink.ts new file mode 100644 index 000000000..9e3411a01 --- /dev/null +++ b/packages/typescript/src/models/components/activityexhibitorweblink.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * A web-link for an activity exhibitor. + */ +export type ActivityExhibitorWeblink = { + /** + * The unique identifier of the weblink. + */ + id?: string | undefined; + /** + * The name of the weblink. + */ + name?: string | undefined; +}; + +/** @internal */ +export const ActivityExhibitorWeblink$inboundSchema: z.ZodType< + ActivityExhibitorWeblink, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), +}); + +export function activityExhibitorWeblinkFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityExhibitorWeblink$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityExhibitorWeblink' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityexhibitorweblinkjson.ts b/packages/typescript/src/models/components/activityexhibitorweblinkjson.ts deleted file mode 100644 index e6ed08da6..000000000 --- a/packages/typescript/src/models/components/activityexhibitorweblinkjson.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"; - -/** - * A web-link for an activity exhibitor. - */ -export type ActivityExhibitorWebLinkJson = { - /** - * The unique identifier of the weblink. - */ - id?: string | undefined; - /** - * The name of the weblink. - */ - name?: string | undefined; -}; - -/** @internal */ -export const ActivityExhibitorWebLinkJson$inboundSchema: z.ZodType< - ActivityExhibitorWebLinkJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), -}); - -export function activityExhibitorWebLinkJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityExhibitorWebLinkJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityExhibitorWebLinkJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activityjson.ts b/packages/typescript/src/models/components/activityjson.ts deleted file mode 100644 index 949089a97..000000000 --- a/packages/typescript/src/models/components/activityjson.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - ActivityDataJson, - ActivityDataJson$inboundSchema, -} from "./activitydatajson.js"; -import { - ActivityTypeJson, - ActivityTypeJson$inboundSchema, -} from "./activitytypejson.js"; -import { - EventActivityDetailsJson, - EventActivityDetailsJson$inboundSchema, -} from "./eventactivitydetailsjson.js"; -import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; - -/** - * An attendee activity. - */ -export type ActivityJson = { - /** - * The identifier of the attendee activity. - */ - id?: string | undefined; - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - attendee: UuidJson; - /** - * Details for an event activity. - */ - event: EventActivityDetailsJson; - /** - * ISO 8601 date and time when this attendee activity occurred. - */ - time?: Date | undefined; - /** - * ISO 8601 date and time when this record was created. - */ - created?: Date | undefined; - /** - * Unique name corresponding to the attendee activity type. - */ - name?: string | undefined; - /** - * This is used to denote the type of the attendee activity. - */ - type?: ActivityTypeJson | undefined; - /** - * This is used to denote the type of the attendee activity - */ - data?: ActivityDataJson | undefined; -}; - -/** @internal */ -export const ActivityJson$inboundSchema: z.ZodType< - ActivityJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - attendee: UuidJson$inboundSchema, - event: EventActivityDetailsJson$inboundSchema, - time: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - name: z.string().optional(), - type: ActivityTypeJson$inboundSchema.optional(), - data: ActivityDataJson$inboundSchema.optional(), -}); - -export function activityJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activitylead.ts b/packages/typescript/src/models/components/activitylead.ts new file mode 100644 index 000000000..0ab8c8151 --- /dev/null +++ b/packages/typescript/src/models/components/activitylead.ts @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + ActivityBoothStaff, + ActivityBoothStaff$inboundSchema, +} from "./activityboothstaff.js"; + +/** + * An activity lead. + */ +export type ActivityLead = { + /** + * Activity Lead ID + */ + id?: string | undefined; + /** + * The unique identifier of the device. + */ + deviceId?: string | undefined; + /** + * Name of the device. + */ + deviceName?: string | undefined; + /** + * Booth staff for an activity. + */ + boothStaff?: ActivityBoothStaff | undefined; +}; + +/** @internal */ +export const ActivityLead$inboundSchema: z.ZodType< + ActivityLead, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + deviceId: z.string().optional(), + deviceName: z.string().optional(), + boothStaff: ActivityBoothStaff$inboundSchema.optional(), +}); + +export function activityLeadFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActivityLead$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActivityLead' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/activityleadjson.ts b/packages/typescript/src/models/components/activityleadjson.ts deleted file mode 100644 index 5fb491b88..000000000 --- a/packages/typescript/src/models/components/activityleadjson.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { ZeroAllOf4, ZeroAllOf4$inboundSchema } from "./zeroallof4.js"; - -/** - * An activity lead. - */ -export type ActivityLeadJson = { - /** - * Activity Lead ID - */ - id?: string | undefined; - /** - * The unique identifier of the device. - */ - deviceId?: string | undefined; - /** - * Name of the device. - */ - deviceName?: string | undefined; - /** - * Booth staff for an activity. - */ - boothStaff?: ZeroAllOf4 | undefined; -}; - -/** @internal */ -export const ActivityLeadJson$inboundSchema: z.ZodType< - ActivityLeadJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - deviceId: z.string().optional(), - deviceName: z.string().optional(), - boothStaff: ZeroAllOf4$inboundSchema.optional(), -}); - -export function activityLeadJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityLeadJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityLeadJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/activitytype.ts b/packages/typescript/src/models/components/activitytype.ts new file mode 100644 index 000000000..59ab7e04a --- /dev/null +++ b/packages/typescript/src/models/components/activitytype.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * This is used to denote the type of the attendee activity. + */ +export const ActivityType = { + AppointmentAccepted: "appointment.accepted", + AppointmentCancelled: "appointment.cancelled", + AppointmentCheckedIn: "appointment.checkedIn", + AppointmentCreated: "appointment.created", + AppointmentDeclined: "appointment.declined", + AppointmentDenied: "appointment.denied", + AppointmentRescheduled: "appointment.rescheduled", + EmailBounced: "email.bounced", + EmailClicked: "email.clicked", + EmailOpened: "email.opened", + EmailSent: "email.sent", + EmailUndelivered: "email.undelivered", + EventAttendeeHubVisited: "event.attendeeHubVisited", + EventAttendeeSubstituted: "event.attendeeSubstituted", + EventBannerLinkClicked: "event.bannerLinkClicked", + EventCheckedIn: "event.checkedIn", + EventCheckedOut: "event.checkedOut", + EventCustomCardOpened: "event.customCardOpened", + EventFeedbackSubmitted: "event.feedbackSubmitted", + EventNoShow: "event.noShow", + EventPageVisitTracked: "event.pageVisitTracked", + EventRegistered: "event.registered", + EventRegistrationAbandoned: "event.registrationAbandoned", + EventRegistrationCancelled: "event.registrationCancelled", + EventVideoPlayed: "event.videoPlayed", + EventWaitlisted: "event.waitlisted", + ExhibitorDocumentOpened: "exhibitor.documentOpened", + ExhibitorSocialLinkOpened: "exhibitor.socialLinkOpened", + ExhibitorViewed: "exhibitor.viewed", + ExhibitorVirtualBoothJoined: "exhibitor.virtualBoothJoined", + ExhibitorWeblinkOpened: "exhibitor.weblinkOpened", + LeadInboundCreated: "lead.inboundCreated", + LeadQualified: "lead.qualified", + LeadScanned: "lead.scanned", + SessionCheckedIn: "session.checkedIn", + SessionCheckedOut: "session.checkedOut", + SessionEnrolled: "session.enrolled", + SessionFeedbackSubmitted: "session.feedbackSubmitted", + SessionNoShow: "session.noShow", + SessionPollResponseSubmitted: "session.pollResponseSubmitted", + SessionQuestionAsked: "session.questionAsked", + SessionQuestionUpvoted: "session.questionUpvoted", + SessionUnenrolled: "session.unenrolled", + SessionWaitlisted: "session.waitlisted", + SpeakerFeedbackSubmitted: "speaker.feedbackSubmitted", + SpeakerFileDownloaded: "speaker.fileDownloaded", + AppointmentExternal: "appointment.external", + EventExternal: "event.external", + ExhibitorExternal: "exhibitor.external", + SessionExternal: "session.external", + EventAdViewed: "event.adViewed", + EventAdClicked: "event.adClicked", +} as const; +/** + * This is used to denote the type of the attendee activity. + */ +export type ActivityType = ClosedEnum; + +/** @internal */ +export const ActivityType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(ActivityType); diff --git a/packages/typescript/src/models/components/activitytypejson.ts b/packages/typescript/src/models/components/activitytypejson.ts deleted file mode 100644 index 6ff600382..000000000 --- a/packages/typescript/src/models/components/activitytypejson.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote the type of the attendee activity. - */ -export const ActivityTypeJson = { - AppointmentAccepted: "appointment.accepted", - AppointmentCancelled: "appointment.cancelled", - AppointmentCheckedIn: "appointment.checkedIn", - AppointmentCreated: "appointment.created", - AppointmentDeclined: "appointment.declined", - AppointmentDenied: "appointment.denied", - AppointmentRescheduled: "appointment.rescheduled", - EmailBounced: "email.bounced", - EmailClicked: "email.clicked", - EmailOpened: "email.opened", - EmailSent: "email.sent", - EmailUndelivered: "email.undelivered", - EventAttendeeHubVisited: "event.attendeeHubVisited", - EventAttendeeSubstituted: "event.attendeeSubstituted", - EventBannerLinkClicked: "event.bannerLinkClicked", - EventCheckedIn: "event.checkedIn", - EventCheckedOut: "event.checkedOut", - EventCustomCardOpened: "event.customCardOpened", - EventFeedbackSubmitted: "event.feedbackSubmitted", - EventNoShow: "event.noShow", - EventPageVisitTracked: "event.pageVisitTracked", - EventRegistered: "event.registered", - EventRegistrationAbandoned: "event.registrationAbandoned", - EventRegistrationCancelled: "event.registrationCancelled", - EventVideoPlayed: "event.videoPlayed", - EventWaitlisted: "event.waitlisted", - ExhibitorDocumentOpened: "exhibitor.documentOpened", - ExhibitorSocialLinkOpened: "exhibitor.socialLinkOpened", - ExhibitorViewed: "exhibitor.viewed", - ExhibitorVirtualBoothJoined: "exhibitor.virtualBoothJoined", - ExhibitorWeblinkOpened: "exhibitor.weblinkOpened", - LeadInboundCreated: "lead.inboundCreated", - LeadQualified: "lead.qualified", - LeadScanned: "lead.scanned", - SessionCheckedIn: "session.checkedIn", - SessionCheckedOut: "session.checkedOut", - SessionEnrolled: "session.enrolled", - SessionFeedbackSubmitted: "session.feedbackSubmitted", - SessionNoShow: "session.noShow", - SessionPollResponseSubmitted: "session.pollResponseSubmitted", - SessionQuestionAsked: "session.questionAsked", - SessionQuestionUpvoted: "session.questionUpvoted", - SessionUnenrolled: "session.unenrolled", - SessionWaitlisted: "session.waitlisted", - SpeakerFeedbackSubmitted: "speaker.feedbackSubmitted", - SpeakerFileDownloaded: "speaker.fileDownloaded", - AppointmentExternal: "appointment.external", - EventExternal: "event.external", - ExhibitorExternal: "exhibitor.external", - SessionExternal: "session.external", - EventAdViewed: "event.adViewed", - EventAdClicked: "event.adClicked", -} as const; -/** - * This is used to denote the type of the attendee activity. - */ -export type ActivityTypeJson = ClosedEnum; - -/** @internal */ -export const ActivityTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ActivityTypeJson -> = z.nativeEnum(ActivityTypeJson); diff --git a/packages/typescript/src/models/components/addressinfo.ts b/packages/typescript/src/models/components/addressinfo.ts new file mode 100644 index 000000000..6c5754c88 --- /dev/null +++ b/packages/typescript/src/models/components/addressinfo.ts @@ -0,0 +1,105 @@ +/* + * 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 { + Country, + Country$inboundSchema, + Country$outboundSchema, +} from "./country.js"; +import { + StateProvince1, + StateProvince1$inboundSchema, + StateProvince1$outboundSchema, +} from "./stateprovince1.js"; + +/** + * Venue address information. + */ +export type AddressInfo = { + /** + * Street address line 1. + */ + streetAddress1?: string | undefined; + /** + * Street address line 2. + */ + streetAddress2?: string | undefined; + /** + * City. + */ + city: string; + /** + * The state province code used for contact information. + */ + stateProvince?: StateProvince1 | undefined; + /** + * ZIP or postal code. + */ + zipPostalCode?: string | undefined; + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + country: Country; + /** + * Directions or instructions for getting to the venue. + */ + directions?: string | undefined; +}; + +/** @internal */ +export const AddressInfo$inboundSchema: z.ZodType< + AddressInfo, + z.ZodTypeDef, + unknown +> = z.object({ + streetAddress1: z.string().optional(), + streetAddress2: z.string().optional(), + city: z.string(), + stateProvince: StateProvince1$inboundSchema.optional(), + zipPostalCode: z.string().optional(), + country: Country$inboundSchema, + directions: z.string().optional(), +}); +/** @internal */ +export type AddressInfo$Outbound = { + streetAddress1?: string | undefined; + streetAddress2?: string | undefined; + city: string; + stateProvince?: string | undefined; + zipPostalCode?: string | undefined; + country: string; + directions?: string | undefined; +}; + +/** @internal */ +export const AddressInfo$outboundSchema: z.ZodType< + AddressInfo$Outbound, + z.ZodTypeDef, + AddressInfo +> = z.object({ + streetAddress1: z.string().optional(), + streetAddress2: z.string().optional(), + city: z.string(), + stateProvince: StateProvince1$outboundSchema.optional(), + zipPostalCode: z.string().optional(), + country: Country$outboundSchema, + directions: z.string().optional(), +}); + +export function addressInfoToJSON(addressInfo: AddressInfo): string { + return JSON.stringify(AddressInfo$outboundSchema.parse(addressInfo)); +} +export function addressInfoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddressInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddressInfo' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/adlocation.ts b/packages/typescript/src/models/components/adlocation.ts new file mode 100644 index 000000000..84ef57c3b --- /dev/null +++ b/packages/typescript/src/models/components/adlocation.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The placement of the ad within the specific product. + */ +export const AdLocation = { + HomePage: "Home Page", + ExhibitorList: "Exhibitor List", + SessionList: "Session List", +} as const; +/** + * The placement of the ad within the specific product. + */ +export type AdLocation = ClosedEnum; + +/** @internal */ +export const AdLocation$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(AdLocation); diff --git a/packages/typescript/src/models/components/adlocationjson.ts b/packages/typescript/src/models/components/adlocationjson.ts deleted file mode 100644 index 5101484fb..000000000 --- a/packages/typescript/src/models/components/adlocationjson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The placement of the ad within the specific product. - */ -export const AdLocationJson = { - HomePage: "Home Page", - ExhibitorList: "Exhibitor List", - SessionList: "Session List", -} as const; -/** - * The placement of the ad within the specific product. - */ -export type AdLocationJson = ClosedEnum; - -/** @internal */ -export const AdLocationJson$inboundSchema: z.ZodNativeEnum< - typeof AdLocationJson -> = z.nativeEnum(AdLocationJson); diff --git a/packages/typescript/src/models/components/answer2.ts b/packages/typescript/src/models/components/answer2.ts deleted file mode 100644 index 7d2f98ab6..000000000 --- a/packages/typescript/src/models/components/answer2.ts +++ /dev/null @@ -1,114 +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 { - AnswerType1, - AnswerType1$inboundSchema, - AnswerType1$outboundSchema, -} from "./answertype1.js"; - -/** - * The choice that was selected. - */ -export type Answer2Choice = { - /** - * The ID of the choice that was selected. - */ - id?: string | undefined; -}; - -/** - * A JSON schema representing an answer object. - */ -export type Answer2 = { - /** - * Type of answer - */ - type: AnswerType1; - /** - * Answered value like: Choice text, text answer input etc. - */ - value?: string | undefined; - /** - * The choice that was selected. - */ - choice?: Answer2Choice | undefined; -}; - -/** @internal */ -export const Answer2Choice$inboundSchema: z.ZodType< - Answer2Choice, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); -/** @internal */ -export type Answer2Choice$Outbound = { - id?: string | undefined; -}; - -/** @internal */ -export const Answer2Choice$outboundSchema: z.ZodType< - Answer2Choice$Outbound, - z.ZodTypeDef, - Answer2Choice -> = z.object({ - id: z.string().optional(), -}); - -export function answer2ChoiceToJSON(answer2Choice: Answer2Choice): string { - return JSON.stringify(Answer2Choice$outboundSchema.parse(answer2Choice)); -} -export function answer2ChoiceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Answer2Choice$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Answer2Choice' from JSON`, - ); -} - -/** @internal */ -export const Answer2$inboundSchema: z.ZodType = - z.object({ - type: AnswerType1$inboundSchema, - value: z.string().optional(), - choice: z.lazy(() => Answer2Choice$inboundSchema).optional(), - }); -/** @internal */ -export type Answer2$Outbound = { - type: string; - value?: string | undefined; - choice?: Answer2Choice$Outbound | undefined; -}; - -/** @internal */ -export const Answer2$outboundSchema: z.ZodType< - Answer2$Outbound, - z.ZodTypeDef, - Answer2 -> = z.object({ - type: AnswerType1$outboundSchema, - value: z.string().optional(), - choice: z.lazy(() => Answer2Choice$outboundSchema).optional(), -}); - -export function answer2ToJSON(answer2: Answer2): string { - return JSON.stringify(Answer2$outboundSchema.parse(answer2)); -} -export function answer2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Answer2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Answer2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/answer21.ts b/packages/typescript/src/models/components/answer21.ts new file mode 100644 index 000000000..7575798a9 --- /dev/null +++ b/packages/typescript/src/models/components/answer21.ts @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * A question answer. + */ +export type Answer21 = { + /** + * The unique identifier of the question. + */ + id?: string | undefined; + /** + * Question text. + */ + text?: string | undefined; + /** + * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + type?: string | undefined; +}; + +/** @internal */ +export const Answer21$inboundSchema: z.ZodType< + Answer21, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), + type: z.string().optional(), +}); + +export function answer21FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Answer21$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Answer21' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/answer22.ts b/packages/typescript/src/models/components/answer22.ts new file mode 100644 index 000000000..9c52b1130 --- /dev/null +++ b/packages/typescript/src/models/components/answer22.ts @@ -0,0 +1,117 @@ +/* + * 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 { + AnswerType11, + AnswerType11$inboundSchema, + AnswerType11$outboundSchema, +} from "./answertype11.js"; + +/** + * The choice that was selected. + */ +export type Answer2Choice = { + /** + * The ID of the choice that was selected. + */ + id?: string | undefined; +}; + +/** + * A JSON schema representing an answer object. + */ +export type Answer22 = { + /** + * Type of answer + */ + type: AnswerType11; + /** + * Answered value like: Choice text, text answer input etc. + */ + value?: string | undefined; + /** + * The choice that was selected. + */ + choice?: Answer2Choice | undefined; +}; + +/** @internal */ +export const Answer2Choice$inboundSchema: z.ZodType< + Answer2Choice, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); +/** @internal */ +export type Answer2Choice$Outbound = { + id?: string | undefined; +}; + +/** @internal */ +export const Answer2Choice$outboundSchema: z.ZodType< + Answer2Choice$Outbound, + z.ZodTypeDef, + Answer2Choice +> = z.object({ + id: z.string().optional(), +}); + +export function answer2ChoiceToJSON(answer2Choice: Answer2Choice): string { + return JSON.stringify(Answer2Choice$outboundSchema.parse(answer2Choice)); +} +export function answer2ChoiceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Answer2Choice$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Answer2Choice' from JSON`, + ); +} + +/** @internal */ +export const Answer22$inboundSchema: z.ZodType< + Answer22, + z.ZodTypeDef, + unknown +> = z.object({ + type: AnswerType11$inboundSchema, + value: z.string().optional(), + choice: z.lazy(() => Answer2Choice$inboundSchema).optional(), +}); +/** @internal */ +export type Answer22$Outbound = { + type: string; + value?: string | undefined; + choice?: Answer2Choice$Outbound | undefined; +}; + +/** @internal */ +export const Answer22$outboundSchema: z.ZodType< + Answer22$Outbound, + z.ZodTypeDef, + Answer22 +> = z.object({ + type: AnswerType11$outboundSchema, + value: z.string().optional(), + choice: z.lazy(() => Answer2Choice$outboundSchema).optional(), +}); + +export function answer22ToJSON(answer22: Answer22): string { + return JSON.stringify(Answer22$outboundSchema.parse(answer22)); +} +export function answer22FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Answer22$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Answer22' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/answerjson.ts b/packages/typescript/src/models/components/answerjson.ts index 246e9f57c..a1a2f5f6e 100644 --- a/packages/typescript/src/models/components/answerjson.ts +++ b/packages/typescript/src/models/components/answerjson.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 { - AnswerTypeJson1, - AnswerTypeJson1$inboundSchema, - AnswerTypeJson1$outboundSchema, -} from "./answertypejson1.js"; + AnswerTypeJson, + AnswerTypeJson$inboundSchema, + AnswerTypeJson$outboundSchema, +} from "./answertypejson.js"; import { UuidJson, UuidJson$inboundSchema, @@ -25,7 +25,7 @@ export type AnswerJson = { /** * Type of answer */ - type: AnswerTypeJson1; + type: AnswerTypeJson; /** * Value property is used to send information like string, number and date in case of following types of answers only: ChoiceText, Text, Comment, Other. In case of Rank Order question, rank should be put into value. Refer to questions resource to get choice label or category label from their respective ids. */ @@ -54,7 +54,7 @@ export const AnswerJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - type: AnswerTypeJson1$inboundSchema, + type: AnswerTypeJson$inboundSchema, value: z.string().optional(), choice: UuidJson$inboundSchema.optional(), category: UuidJson$inboundSchema.optional(), @@ -77,7 +77,7 @@ export const AnswerJson$outboundSchema: z.ZodType< z.ZodTypeDef, AnswerJson > = z.object({ - type: AnswerTypeJson1$outboundSchema, + type: AnswerTypeJson$outboundSchema, value: z.string().optional(), choice: UuidJson$outboundSchema.optional(), category: UuidJson$outboundSchema.optional(), diff --git a/packages/typescript/src/models/components/answerjson1.ts b/packages/typescript/src/models/components/answerjson1.ts deleted file mode 100644 index 167f5853e..000000000 --- a/packages/typescript/src/models/components/answerjson1.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * A question answer. - */ -export type AnswerJson1 = { - /** - * The unique identifier of the question. - */ - id?: string | undefined; - /** - * Question text. - */ - text?: string | undefined; - /** - * Data type of an answer. DEPRECATED: This field is deprecated and not applicable to this activity. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - type?: string | undefined; -}; - -/** @internal */ -export const AnswerJson1$inboundSchema: z.ZodType< - AnswerJson1, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - type: z.string().optional(), -}); - -export function answerJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AnswerJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AnswerJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/answertype1.ts b/packages/typescript/src/models/components/answertype1.ts deleted file mode 100644 index 51f8bb6a7..000000000 --- a/packages/typescript/src/models/components/answertype1.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"; - -/** - * Type of answer - */ -export const AnswerType1 = { - Choice: "Choice", - Text: "Text", - Other: "Other", - Na: "NA", -} as const; -/** - * Type of answer - */ -export type AnswerType1 = ClosedEnum; - -/** @internal */ -export const AnswerType1$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(AnswerType1); -/** @internal */ -export const AnswerType1$outboundSchema: z.ZodNativeEnum = - AnswerType1$inboundSchema; diff --git a/packages/typescript/src/models/components/answertype11.ts b/packages/typescript/src/models/components/answertype11.ts new file mode 100644 index 000000000..d1143faac --- /dev/null +++ b/packages/typescript/src/models/components/answertype11.ts @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Type of answer + */ +export const AnswerType11 = { + Choice: "Choice", + Text: "Text", + Other: "Other", + Na: "NA", +} as const; +/** + * Type of answer + */ +export type AnswerType11 = ClosedEnum; + +/** @internal */ +export const AnswerType11$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(AnswerType11); +/** @internal */ +export const AnswerType11$outboundSchema: z.ZodNativeEnum = + AnswerType11$inboundSchema; diff --git a/packages/typescript/src/models/components/answertype12.ts b/packages/typescript/src/models/components/answertype12.ts new file mode 100644 index 000000000..81ee60b0a --- /dev/null +++ b/packages/typescript/src/models/components/answertype12.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + * + * @remarks + * + * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + * + * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + * + * In all other cases, `answerType` is not expected to be set. + */ +export const AnswerType12 = { + Other: "Other", + Na: "NA", +} as const; +/** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + * + * @remarks + * + * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + * + * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + * + * In all other cases, `answerType` is not expected to be set. + */ +export type AnswerType12 = ClosedEnum; + +/** @internal */ +export const AnswerType12$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(AnswerType12); +/** @internal */ +export const AnswerType12$outboundSchema: z.ZodNativeEnum = + AnswerType12$inboundSchema; diff --git a/packages/typescript/src/models/components/answertypejson.ts b/packages/typescript/src/models/components/answertypejson.ts index 9a61ec6e7..55597a08c 100644 --- a/packages/typescript/src/models/components/answertypejson.ts +++ b/packages/typescript/src/models/components/answertypejson.ts @@ -6,30 +6,19 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - * - * @remarks - * - * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - * - * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - * - * In all other cases, `answerType` is not expected to be set. + * Type of answer */ export const AnswerTypeJson = { + Choice: "Choice", + Text: "Text", + ChoiceText: "ChoiceText", + Comment: "Comment", Other: "Other", Na: "NA", + File: "File", } as const; /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - * - * @remarks - * - * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - * - * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - * - * In all other cases, `answerType` is not expected to be set. + * Type of answer */ export type AnswerTypeJson = ClosedEnum; diff --git a/packages/typescript/src/models/components/answertypejson1.ts b/packages/typescript/src/models/components/answertypejson1.ts deleted file mode 100644 index c10157eed..000000000 --- a/packages/typescript/src/models/components/answertypejson1.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Type of answer - */ -export const AnswerTypeJson1 = { - Choice: "Choice", - Text: "Text", - ChoiceText: "ChoiceText", - Comment: "Comment", - Other: "Other", - Na: "NA", - File: "File", -} as const; -/** - * Type of answer - */ -export type AnswerTypeJson1 = ClosedEnum; - -/** @internal */ -export const AnswerTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof AnswerTypeJson1 -> = z.nativeEnum(AnswerTypeJson1); -/** @internal */ -export const AnswerTypeJson1$outboundSchema: z.ZodNativeEnum< - typeof AnswerTypeJson1 -> = AnswerTypeJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/appointmentpaginatedresponse.ts b/packages/typescript/src/models/components/appointmentpaginatedresponse.ts index fddcc47d5..643e3fdd5 100644 --- a/packages/typescript/src/models/components/appointmentpaginatedresponse.ts +++ b/packages/typescript/src/models/components/appointmentpaginatedresponse.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { ZeroAllOf3, ZeroAllOf3$inboundSchema } from "./zeroallof3.js"; +import { ZeroAllOf2, ZeroAllOf2$inboundSchema } from "./zeroallof2.js"; /** * The response for a request of appointments, including the paging object. @@ -20,7 +20,7 @@ export type AppointmentPaginatedResponse = { /** * Collection of appointments and their related details. */ - data: Array; + data: Array; }; /** @internal */ @@ -30,7 +30,7 @@ export const AppointmentPaginatedResponse$inboundSchema: z.ZodType< unknown > = z.object({ paging: PagingJson$inboundSchema, - data: z.array(ZeroAllOf3$inboundSchema), + data: z.array(ZeroAllOf2$inboundSchema), }); export function appointmentPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/areameasurement.ts b/packages/typescript/src/models/components/areameasurement.ts new file mode 100644 index 000000000..dd3f3c062 --- /dev/null +++ b/packages/typescript/src/models/components/areameasurement.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The unit of measurement for the area. + */ +export const AreaMeasurementUnit = { + SquareFeet: "SQUARE_FEET", + SquareMeters: "SQUARE_METERS", +} as const; +/** + * The unit of measurement for the area. + */ +export type AreaMeasurementUnit = ClosedEnum; + +/** + * Measurement of area in square feet or square meters. + */ +export type AreaMeasurement = { + /** + * The numeric value of the area measurement. + */ + value: number; + /** + * The unit of measurement for the area. + */ + unit: AreaMeasurementUnit; +}; + +/** @internal */ +export const AreaMeasurementUnit$inboundSchema: z.ZodNativeEnum< + typeof AreaMeasurementUnit +> = z.nativeEnum(AreaMeasurementUnit); +/** @internal */ +export const AreaMeasurementUnit$outboundSchema: z.ZodNativeEnum< + typeof AreaMeasurementUnit +> = AreaMeasurementUnit$inboundSchema; + +/** @internal */ +export const AreaMeasurement$inboundSchema: z.ZodType< + AreaMeasurement, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.number(), + unit: AreaMeasurementUnit$inboundSchema, +}); +/** @internal */ +export type AreaMeasurement$Outbound = { + value: number; + unit: string; +}; + +/** @internal */ +export const AreaMeasurement$outboundSchema: z.ZodType< + AreaMeasurement$Outbound, + z.ZodTypeDef, + AreaMeasurement +> = z.object({ + value: z.number(), + unit: AreaMeasurementUnit$outboundSchema, +}); + +export function areaMeasurementToJSON( + areaMeasurement: AreaMeasurement, +): string { + return JSON.stringify(AreaMeasurement$outboundSchema.parse(areaMeasurement)); +} +export function areaMeasurementFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AreaMeasurement$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AreaMeasurement' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/attendee11.ts b/packages/typescript/src/models/components/attendee11.ts index 91a837e12..c1d92872d 100644 --- a/packages/typescript/src/models/components/attendee11.ts +++ b/packages/typescript/src/models/components/attendee11.ts @@ -40,9 +40,9 @@ import { AttendeeWebLinks$inboundSchema, } from "./attendeeweblinks.js"; import { - CustomFieldSchema, - CustomFieldSchema$inboundSchema, -} from "./customfieldschema.js"; + CustomFieldSchema1, + CustomFieldSchema1$inboundSchema, +} from "./customfieldschema1.js"; import { ExternalReference, ExternalReference$inboundSchema, @@ -186,9 +186,7 @@ export type Attendee11 = { */ administrator?: Uuid | undefined; /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * 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 is read-only; to update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus). */ unsubscribed?: boolean | undefined; /** @@ -240,7 +238,7 @@ export type Attendee11 = { * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ - questions?: Array | undefined; + questions?: Array | undefined; /** * The list of answers to the registration questions. */ @@ -383,7 +381,7 @@ export const Attendee11$inboundSchema: z.ZodType< ).optional(), invitedBy: AttendeeInvitedBy1$inboundSchema.optional(), responseMethod: AttendeeResponseMethod1$inboundSchema.optional(), - questions: z.array(CustomFieldSchema$inboundSchema).optional(), + questions: z.array(CustomFieldSchema1$inboundSchema).optional(), answers: z.array(AttendeeAnswer$inboundSchema).optional(), admissionItem: z.lazy(() => Attendee1Lookup$inboundSchema).optional(), visibility: AttendeeVisibility$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/attendeeactivitiespaginatedresponse.ts b/packages/typescript/src/models/components/attendeeactivitiespaginatedresponse.ts index 255565b6f..23ca40aa4 100644 --- a/packages/typescript/src/models/components/attendeeactivitiespaginatedresponse.ts +++ b/packages/typescript/src/models/components/attendeeactivitiespaginatedresponse.ts @@ -6,8 +6,11 @@ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { ActivityJson, ActivityJson$inboundSchema } from "./activityjson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { + AttendeeActivity, + AttendeeActivity$inboundSchema, +} from "./attendeeactivity.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of attendee activities. This includes the paging object as well as the collection of attendee activities. @@ -16,11 +19,11 @@ export type AttendeeActivitiesPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of attendee activities. */ - data: Array; + data: Array; }; /** @internal */ @@ -29,8 +32,8 @@ export const AttendeeActivitiesPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(ActivityJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(AttendeeActivity$inboundSchema), }); export function attendeeActivitiesPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/attendeeactivity.ts b/packages/typescript/src/models/components/attendeeactivity.ts new file mode 100644 index 000000000..1f20f2d40 --- /dev/null +++ b/packages/typescript/src/models/components/attendeeactivity.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { ActivityData, ActivityData$inboundSchema } from "./activitydata.js"; +import { ActivityType, ActivityType$inboundSchema } from "./activitytype.js"; +import { + EventActivityDetail, + EventActivityDetail$inboundSchema, +} from "./eventactivitydetail.js"; +import { Uuid, Uuid$inboundSchema } from "./uuid.js"; + +/** + * An attendee activity. + */ +export type AttendeeActivity = { + /** + * The identifier of the attendee activity. + */ + id?: string | undefined; + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + attendee: Uuid; + /** + * Details for an event activity. + */ + event: EventActivityDetail; + /** + * ISO 8601 date and time when this attendee activity occurred. + */ + time?: Date | undefined; + /** + * ISO 8601 date and time when this record was created. + */ + created?: Date | undefined; + /** + * Unique name corresponding to the attendee activity type. + */ + name?: string | undefined; + /** + * This is used to denote the type of the attendee activity. + */ + type?: ActivityType | undefined; + /** + * This is used to denote the type of the attendee activity + */ + data?: ActivityData | undefined; +}; + +/** @internal */ +export const AttendeeActivity$inboundSchema: z.ZodType< + AttendeeActivity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + attendee: Uuid$inboundSchema, + event: EventActivityDetail$inboundSchema, + time: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string().optional(), + type: ActivityType$inboundSchema.optional(), + data: ActivityData$inboundSchema.optional(), +}); + +export function attendeeActivityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AttendeeActivity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AttendeeActivity' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts b/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts index 26706b71b..abacdfe8e 100644 --- a/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts +++ b/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts @@ -6,7 +6,7 @@ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { ZeroAllOf7, ZeroAllOf7$inboundSchema } from "./zeroallof7.js"; +import { ZeroAllOf5, ZeroAllOf5$inboundSchema } from "./zeroallof5.js"; import { ZeroOneOf, ZeroOneOf$inboundSchema } from "./zerooneof.js"; /** @@ -32,7 +32,7 @@ export type AttendeeAddBulkItemEventJsonErrorResponse = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; export type AttendeeAddBulkItemEventJsonData = @@ -68,7 +68,7 @@ export const AttendeeAddBulkItemEventJsonErrorResponse$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(ZeroAllOf7$inboundSchema).optional(), + details: z.array(ZeroAllOf5$inboundSchema).optional(), }); export function attendeeAddBulkItemEventJsonErrorResponseFromJSON( diff --git a/packages/typescript/src/models/components/attendeecontactinfo.ts b/packages/typescript/src/models/components/attendeecontactinfo.ts index ce397f85b..776d46946 100644 --- a/packages/typescript/src/models/components/attendeecontactinfo.ts +++ b/packages/typescript/src/models/components/attendeecontactinfo.ts @@ -20,9 +20,9 @@ import { import { Compliance, Compliance$inboundSchema } from "./compliance.js"; import { ContactLinks, ContactLinks$inboundSchema } from "./contactlinks.js"; import { - CustomFieldSchema, - CustomFieldSchema$inboundSchema, -} from "./customfieldschema.js"; + CustomFieldSchema1, + CustomFieldSchema1$inboundSchema, +} from "./customfieldschema1.js"; import { Gender, Gender$inboundSchema } from "./gender.js"; /** @@ -152,7 +152,7 @@ export type AttendeeContactInfo = { /** * Collection of custom fields. */ - customFields?: Array | undefined; + customFields?: Array | undefined; /** * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name has part of the ID */ @@ -255,7 +255,7 @@ export const AttendeeContactInfo$inboundSchema: z.ZodType< workPhone: z.string().optional(), workFax: z.string().optional(), optOut: z.lazy(() => OptOut$inboundSchema).optional(), - customFields: z.array(CustomFieldSchema$inboundSchema).optional(), + customFields: z.array(CustomFieldSchema1$inboundSchema).optional(), sourceId: z.string().optional(), mobilePhone: z.string().optional(), compliance: z.array(Compliance$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/attendeestatusjson.ts b/packages/typescript/src/models/components/attendeestatusjson.ts deleted file mode 100644 index 43b0bd707..000000000 --- a/packages/typescript/src/models/components/attendeestatusjson.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote the status of an attendee. - */ -export const AttendeeStatusJson = { - NoResponse: "No Response", - Accepted: "Accepted", - Declined: "Declined", - Visited: "Visited", - Waitlisted: "Waitlisted", - Cancelled: "Cancelled", - PendingApproval: "Pending Approval", - DeniedApproval: "Denied Approval", -} as const; -/** - * This is used to denote the status of an attendee. - */ -export type AttendeeStatusJson = ClosedEnum; - -/** @internal */ -export const AttendeeStatusJson$inboundSchema: z.ZodNativeEnum< - typeof AttendeeStatusJson -> = z.nativeEnum(AttendeeStatusJson); diff --git a/packages/typescript/src/models/components/bannerlinktarget.ts b/packages/typescript/src/models/components/bannerlinktarget.ts new file mode 100644 index 000000000..8885914f1 --- /dev/null +++ b/packages/typescript/src/models/components/bannerlinktarget.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 { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The type of target associated with the banner link. + */ +export const BannerLinkTargetType = { + AttendeeHubPage: "Attendee Hub Page", + DiscussionTopic: "Discussion Topic", + ExternalUrl: "External Url", + FloorPlanDetails: "Floor Plan Details", + SessionDetails: "Session Details", + SpeakerDetails: "Speaker Details", + VirtualBooth: "Virtual Booth", +} as const; +/** + * The type of target associated with the banner link. + */ +export type BannerLinkTargetType = ClosedEnum; + +/** + * The target of the link clicked on the banner. + */ +export type BannerLinkTarget = { + /** + * The type of target associated with the banner link. + */ + type?: BannerLinkTargetType | undefined; + /** + * The details of the target associated with the banner link. + */ + details?: string | undefined; +}; + +/** @internal */ +export const BannerLinkTargetType$inboundSchema: z.ZodNativeEnum< + typeof BannerLinkTargetType +> = z.nativeEnum(BannerLinkTargetType); + +/** @internal */ +export const BannerLinkTarget$inboundSchema: z.ZodType< + BannerLinkTarget, + z.ZodTypeDef, + unknown +> = z.object({ + type: BannerLinkTargetType$inboundSchema.optional(), + details: z.string().optional(), +}); + +export function bannerLinkTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BannerLinkTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BannerLinkTarget' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/bannerlinktargetjson.ts b/packages/typescript/src/models/components/bannerlinktargetjson.ts deleted file mode 100644 index b3e9b8bb6..000000000 --- a/packages/typescript/src/models/components/bannerlinktargetjson.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The type of target associated with the banner link. - */ -export const BannerLinkTargetJsonType = { - AttendeeHubPage: "Attendee Hub Page", - DiscussionTopic: "Discussion Topic", - ExternalUrl: "External Url", - FloorPlanDetails: "Floor Plan Details", - SessionDetails: "Session Details", - SpeakerDetails: "Speaker Details", - VirtualBooth: "Virtual Booth", -} as const; -/** - * The type of target associated with the banner link. - */ -export type BannerLinkTargetJsonType = ClosedEnum< - typeof BannerLinkTargetJsonType ->; - -/** - * The target of the link clicked on the banner. - */ -export type BannerLinkTargetJson = { - /** - * The type of target associated with the banner link. - */ - type?: BannerLinkTargetJsonType | undefined; - /** - * The details of the target associated with the banner link. - */ - details?: string | undefined; -}; - -/** @internal */ -export const BannerLinkTargetJsonType$inboundSchema: z.ZodNativeEnum< - typeof BannerLinkTargetJsonType -> = z.nativeEnum(BannerLinkTargetJsonType); - -/** @internal */ -export const BannerLinkTargetJson$inboundSchema: z.ZodType< - BannerLinkTargetJson, - z.ZodTypeDef, - unknown -> = z.object({ - type: BannerLinkTargetJsonType$inboundSchema.optional(), - details: z.string().optional(), -}); - -export function bannerLinkTargetJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BannerLinkTargetJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BannerLinkTargetJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/baseanswer.ts b/packages/typescript/src/models/components/baseanswer.ts new file mode 100644 index 000000000..f101de986 --- /dev/null +++ b/packages/typescript/src/models/components/baseanswer.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Base entity of a question answer. + */ +export type BaseAnswer = { + /** + * The unique identifier of the Answer + */ + id?: string | undefined; + /** + * Value of an answer. + */ + value?: string | undefined; +}; + +/** @internal */ +export const BaseAnswer$inboundSchema: z.ZodType< + BaseAnswer, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + value: z.string().optional(), +}); + +export function baseAnswerFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BaseAnswer$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BaseAnswer' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/baseanswerjson.ts b/packages/typescript/src/models/components/baseanswerjson.ts deleted file mode 100644 index 24a2c1b64..000000000 --- a/packages/typescript/src/models/components/baseanswerjson.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"; - -/** - * Base entity of a question answer. - */ -export type BaseAnswerJson = { - /** - * The unique identifier of the Answer - */ - id?: string | undefined; - /** - * Value of an answer. - */ - value?: string | undefined; -}; - -/** @internal */ -export const BaseAnswerJson$inboundSchema: z.ZodType< - BaseAnswerJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - value: z.string().optional(), -}); - -export function baseAnswerJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BaseAnswerJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BaseAnswerJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/basequestion.ts b/packages/typescript/src/models/components/basequestion.ts new file mode 100644 index 000000000..b1d9c7bd4 --- /dev/null +++ b/packages/typescript/src/models/components/basequestion.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The question that was answered. + */ +export type BaseQuestion = { + /** + * The unique identifier of the question. + */ + id?: string | undefined; + /** + * Question text. + */ + text?: string | undefined; +}; + +/** @internal */ +export const BaseQuestion$inboundSchema: z.ZodType< + BaseQuestion, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), +}); + +export function baseQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BaseQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BaseQuestion' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/basequestionresponse.ts b/packages/typescript/src/models/components/basequestionresponse.ts new file mode 100644 index 000000000..e53d867db --- /dev/null +++ b/packages/typescript/src/models/components/basequestionresponse.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 { BaseAnswer, BaseAnswer$inboundSchema } from "./baseanswer.js"; +import { BaseQuestion, BaseQuestion$inboundSchema } from "./basequestion.js"; + +/** + * Base entity for a question response. + */ +export type BaseQuestionResponse = { + /** + * The question that was answered. + */ + question?: BaseQuestion | undefined; + /** + * List of answers. + */ + answers?: Array | undefined; +}; + +/** @internal */ +export const BaseQuestionResponse$inboundSchema: z.ZodType< + BaseQuestionResponse, + z.ZodTypeDef, + unknown +> = z.object({ + question: BaseQuestion$inboundSchema.optional(), + answers: z.array(BaseAnswer$inboundSchema).optional(), +}); + +export function baseQuestionResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BaseQuestionResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BaseQuestionResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/basequestionresponsejson.ts b/packages/typescript/src/models/components/basequestionresponsejson.ts deleted file mode 100644 index 9401a8625..000000000 --- a/packages/typescript/src/models/components/basequestionresponsejson.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - BaseAnswerJson, - BaseAnswerJson$inboundSchema, -} from "./baseanswerjson.js"; -import { ZeroAllOf5, ZeroAllOf5$inboundSchema } from "./zeroallof5.js"; - -/** - * Base entity for a question response. - */ -export type BaseQuestionResponseJson = { - /** - * The question that was answered. - */ - question?: ZeroAllOf5 | undefined; - /** - * List of answers. - */ - answers?: Array | undefined; -}; - -/** @internal */ -export const BaseQuestionResponseJson$inboundSchema: z.ZodType< - BaseQuestionResponseJson, - z.ZodTypeDef, - unknown -> = z.object({ - question: ZeroAllOf5$inboundSchema.optional(), - answers: z.array(BaseAnswerJson$inboundSchema).optional(), -}); - -export function baseQuestionResponseJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BaseQuestionResponseJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BaseQuestionResponseJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/biditemstatustype.ts b/packages/typescript/src/models/components/biditemstatustype.ts index 9fd46ef7e..d400f1c1e 100644 --- a/packages/typescript/src/models/components/biditemstatustype.ts +++ b/packages/typescript/src/models/components/biditemstatustype.ts @@ -6,16 +6,16 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ export const BidItemStatusType = { Requested: "requested", DeleteRequested: "delete_requested", Deleted: "deleted", - NotAvailable: "not_available", + NotOffered: "not_offered", } as const; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ export type BidItemStatusType = ClosedEnum; diff --git a/packages/typescript/src/models/components/budgetcategory.ts b/packages/typescript/src/models/components/budgetcategory.ts new file mode 100644 index 000000000..a9d3ce879 --- /dev/null +++ b/packages/typescript/src/models/components/budgetcategory.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Denotes the category assigned to the budget item. + */ +export type BudgetCategory = { + /** + * Unique identifier of the budget category. + */ + id: number; + /** + * Name of the budget category assigned to the budget item. + */ + name?: string | undefined; +}; + +/** @internal */ +export const BudgetCategory$inboundSchema: z.ZodType< + BudgetCategory, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.number().int(), + name: z.string().optional(), +}); + +export function budgetCategoryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BudgetCategory$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BudgetCategory' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/budgetcostdetail.ts b/packages/typescript/src/models/components/budgetcostdetail.ts new file mode 100644 index 000000000..60074c575 --- /dev/null +++ b/packages/typescript/src/models/components/budgetcostdetail.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 { + BudgetCategory, + BudgetCategory$inboundSchema, +} from "./budgetcategory.js"; +import { + BudgetSubCategory, + BudgetSubCategory$inboundSchema, +} from "./budgetsubcategory.js"; + +/** + * The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + */ +export type BudgetCostDetail = { + /** + * Denotes the category assigned to the budget item. + */ + category?: BudgetCategory | undefined; + /** + * This is used to denote the sub category for a budget. + */ + subCategory?: BudgetSubCategory | undefined; + /** + * The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. + */ + units?: number | undefined; + /** + * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. + */ + cost?: number | undefined; + /** + * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. + */ + totalCost?: number | undefined; +}; + +/** @internal */ +export const BudgetCostDetail$inboundSchema: z.ZodType< + BudgetCostDetail, + z.ZodTypeDef, + unknown +> = z.object({ + category: BudgetCategory$inboundSchema.optional(), + subCategory: BudgetSubCategory$inboundSchema.optional(), + units: z.number().optional(), + cost: z.number().optional(), + totalCost: z.number().optional(), +}); + +export function budgetCostDetailFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BudgetCostDetail$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BudgetCostDetail' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/budgetcostdetailjson1.ts b/packages/typescript/src/models/components/budgetcostdetailjson1.ts deleted file mode 100644 index 07907a9a5..000000000 --- a/packages/typescript/src/models/components/budgetcostdetailjson1.ts +++ /dev/null @@ -1,65 +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 { - BudgetCategoryJson, - BudgetCategoryJson$inboundSchema, -} from "./budgetcategoryjson.js"; -import { - BudgetSubCategoryJson, - BudgetSubCategoryJson$inboundSchema, -} from "./budgetsubcategoryjson.js"; - -/** - * The budget entry in detail, which consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - */ -export type BudgetCostDetailJson1 = { - /** - * Denotes the category assigned to the budget item. - */ - category?: BudgetCategoryJson | undefined; - /** - * This is used to denote the sub category for a budget. - */ - subCategory?: BudgetSubCategoryJson | undefined; - /** - * The number of units associated with a budget item. This field can be any number if the budget item is a *Variable* cost type. If the budget item uses a *Fixed* cost type, set this field to 1. - */ - units?: number | undefined; - /** - * The cost amount of the budget item. If the budget item uses a *Fixed* cost type, the value of this field won't be applied to the creation or update of a Meeting Request. - */ - cost?: number | undefined; - /** - * The total cost of the budget item. If the budget item uses a *Variable* cost type, this field will be set as the result of units times cost. The value of this field will be applied to the creation or update of a Meeting Request only if the cost type is *Fixed*. - */ - totalCost?: number | undefined; -}; - -/** @internal */ -export const BudgetCostDetailJson1$inboundSchema: z.ZodType< - BudgetCostDetailJson1, - z.ZodTypeDef, - unknown -> = z.object({ - category: BudgetCategoryJson$inboundSchema.optional(), - subCategory: BudgetSubCategoryJson$inboundSchema.optional(), - units: z.number().optional(), - cost: z.number().optional(), - totalCost: z.number().optional(), -}); - -export function budgetCostDetailJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BudgetCostDetailJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BudgetCostDetailJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/budgetcosttype.ts b/packages/typescript/src/models/components/budgetcosttype.ts new file mode 100644 index 000000000..75dd1d9b6 --- /dev/null +++ b/packages/typescript/src/models/components/budgetcosttype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + */ +export const BudgetCostType = { + Fixed: "FIXED", + Variable: "VARIABLE", +} as const; +/** + * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + */ +export type BudgetCostType = ClosedEnum; + +/** @internal */ +export const BudgetCostType$inboundSchema: z.ZodNativeEnum< + typeof BudgetCostType +> = z.nativeEnum(BudgetCostType); diff --git a/packages/typescript/src/models/components/budgetestimate.ts b/packages/typescript/src/models/components/budgetestimate.ts new file mode 100644 index 000000000..dfa27de38 --- /dev/null +++ b/packages/typescript/src/models/components/budgetestimate.ts @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + BudgetCostDetail, + BudgetCostDetail$inboundSchema, +} from "./budgetcostdetail.js"; +import { + BudgetCostType, + BudgetCostType$inboundSchema, +} from "./budgetcosttype.js"; + +/** + * The estimated budget of the Meeting Request. + */ +export type BudgetEstimate = { + /** + * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. + */ + currency?: string | undefined; + /** + * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. + */ + costType?: BudgetCostType | undefined; + /** + * A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. + */ + costDetail?: Array | undefined; +}; + +/** @internal */ +export const BudgetEstimate$inboundSchema: z.ZodType< + BudgetEstimate, + z.ZodTypeDef, + unknown +> = z.object({ + currency: z.string().optional(), + costType: BudgetCostType$inboundSchema.optional(), + costDetail: z.array(BudgetCostDetail$inboundSchema).optional(), +}); + +export function budgetEstimateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BudgetEstimate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BudgetEstimate' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/budgetestimatejson.ts b/packages/typescript/src/models/components/budgetestimatejson.ts deleted file mode 100644 index 3c7d7d9de..000000000 --- a/packages/typescript/src/models/components/budgetestimatejson.ts +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - BudgetCostDetailJson1, - BudgetCostDetailJson1$inboundSchema, -} from "./budgetcostdetailjson1.js"; -import { - BudgetCostTypeJson, - BudgetCostTypeJson$inboundSchema, -} from "./budgetcosttypejson.js"; - -/** - * The estimated budget of the Meeting Request. - */ -export type BudgetEstimateJson = { - /** - * The ISO 4217 standard format currency code used for this budget. Note: the allowed currencies are configured per account. A **BAD REQUEST (400)** error will be returned if the specified currency is not allowed for the account during the creation or update of the Meeting Request. - */ - currency?: string | undefined; - /** - * Denotes the cost type of a budget item. FIXED costs stay the same regardless of quantity. VARIABLE costs are based on a quantity. - */ - costType?: BudgetCostTypeJson | undefined; - /** - * A list of budget entry details. Each entry consists of the budget category or sub-category, the number of units, the cost per unit, and the total amount. - */ - costDetail?: Array | undefined; -}; - -/** @internal */ -export const BudgetEstimateJson$inboundSchema: z.ZodType< - BudgetEstimateJson, - z.ZodTypeDef, - unknown -> = z.object({ - currency: z.string().optional(), - costType: BudgetCostTypeJson$inboundSchema.optional(), - costDetail: z.array(BudgetCostDetailJson1$inboundSchema).optional(), -}); - -export function budgetEstimateJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BudgetEstimateJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BudgetEstimateJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/budgetsubcategory.ts b/packages/typescript/src/models/components/budgetsubcategory.ts new file mode 100644 index 000000000..7ff280a3a --- /dev/null +++ b/packages/typescript/src/models/components/budgetsubcategory.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * This is used to denote the sub category for a budget. + */ +export type BudgetSubCategory = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * Name of the budget subcategory assigned to the budget item. + */ + name?: string | undefined; +}; + +/** @internal */ +export const BudgetSubCategory$inboundSchema: z.ZodType< + BudgetSubCategory, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), +}); + +export function budgetSubCategoryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BudgetSubCategory$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BudgetSubCategory' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/bulkdata.ts b/packages/typescript/src/models/components/bulkdata.ts index 8ef80e786..e2b2bbe78 100644 --- a/packages/typescript/src/models/components/bulkdata.ts +++ b/packages/typescript/src/models/components/bulkdata.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - BulkDataPropertyJson, - BulkDataPropertyJson$Outbound, - BulkDataPropertyJson$outboundSchema, -} from "./bulkdatapropertyjson.js"; + BulkDataProperty, + BulkDataProperty$Outbound, + BulkDataProperty$outboundSchema, +} from "./bulkdataproperty.js"; /** * The model representing an arbitrary list of JSON data loaded to bulk job. @@ -16,12 +16,12 @@ export type BulkData = { /** * Collection of objects to be processed */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ export type BulkData$Outbound = { - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -30,7 +30,7 @@ export const BulkData$outboundSchema: z.ZodType< z.ZodTypeDef, BulkData > = z.object({ - data: z.array(BulkDataPropertyJson$outboundSchema).optional(), + data: z.array(BulkDataProperty$outboundSchema).optional(), }); export function bulkDataToJSON(bulkData: BulkData): string { diff --git a/packages/typescript/src/models/components/bulkdataproperty.ts b/packages/typescript/src/models/components/bulkdataproperty.ts new file mode 100644 index 000000000..1fa20aee9 --- /dev/null +++ b/packages/typescript/src/models/components/bulkdataproperty.ts @@ -0,0 +1,84 @@ +/* + * 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 { + BulkDataRecord, + BulkDataRecord$inboundSchema, + BulkDataRecord$Outbound, + BulkDataRecord$outboundSchema, +} from "./bulkdatarecord.js"; + +/** + * Data Record envelope + */ +export type BulkDataProperty = { + /** + * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. + */ + pathParams?: { [k: string]: string } | undefined; + /** + * Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. + */ + queryParams?: { [k: string]: string } | undefined; + /** + * Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. + */ + headers?: { [k: string]: string } | undefined; + /** + * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. + */ + dataRecord: { [k: string]: BulkDataRecord }; +}; + +/** @internal */ +export const BulkDataProperty$inboundSchema: z.ZodType< + BulkDataProperty, + z.ZodTypeDef, + unknown +> = z.object({ + pathParams: z.record(z.string()).optional(), + queryParams: z.record(z.string()).optional(), + headers: z.record(z.string()).optional(), + dataRecord: z.record(BulkDataRecord$inboundSchema), +}); +/** @internal */ +export type BulkDataProperty$Outbound = { + pathParams?: { [k: string]: string } | undefined; + queryParams?: { [k: string]: string } | undefined; + headers?: { [k: string]: string } | undefined; + dataRecord: { [k: string]: BulkDataRecord$Outbound }; +}; + +/** @internal */ +export const BulkDataProperty$outboundSchema: z.ZodType< + BulkDataProperty$Outbound, + z.ZodTypeDef, + BulkDataProperty +> = z.object({ + pathParams: z.record(z.string()).optional(), + queryParams: z.record(z.string()).optional(), + headers: z.record(z.string()).optional(), + dataRecord: z.record(BulkDataRecord$outboundSchema), +}); + +export function bulkDataPropertyToJSON( + bulkDataProperty: BulkDataProperty, +): string { + return JSON.stringify( + BulkDataProperty$outboundSchema.parse(bulkDataProperty), + ); +} +export function bulkDataPropertyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BulkDataProperty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BulkDataProperty' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/bulkdatapropertyjson.ts b/packages/typescript/src/models/components/bulkdatapropertyjson.ts deleted file mode 100644 index e9a64ee80..000000000 --- a/packages/typescript/src/models/components/bulkdatapropertyjson.ts +++ /dev/null @@ -1,84 +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 { - BulkDataRecordJson, - BulkDataRecordJson$inboundSchema, - BulkDataRecordJson$Outbound, - BulkDataRecordJson$outboundSchema, -} from "./bulkdatarecordjson.js"; - -/** - * Data Record envelope - */ -export type BulkDataPropertyJson = { - /** - * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. - */ - pathParams?: { [k: string]: string } | undefined; - /** - * Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. - */ - queryParams?: { [k: string]: string } | undefined; - /** - * Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. - */ - headers?: { [k: string]: string } | undefined; - /** - * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. - */ - dataRecord: { [k: string]: BulkDataRecordJson }; -}; - -/** @internal */ -export const BulkDataPropertyJson$inboundSchema: z.ZodType< - BulkDataPropertyJson, - z.ZodTypeDef, - unknown -> = z.object({ - pathParams: z.record(z.string()).optional(), - queryParams: z.record(z.string()).optional(), - headers: z.record(z.string()).optional(), - dataRecord: z.record(BulkDataRecordJson$inboundSchema), -}); -/** @internal */ -export type BulkDataPropertyJson$Outbound = { - pathParams?: { [k: string]: string } | undefined; - queryParams?: { [k: string]: string } | undefined; - headers?: { [k: string]: string } | undefined; - dataRecord: { [k: string]: BulkDataRecordJson$Outbound }; -}; - -/** @internal */ -export const BulkDataPropertyJson$outboundSchema: z.ZodType< - BulkDataPropertyJson$Outbound, - z.ZodTypeDef, - BulkDataPropertyJson -> = z.object({ - pathParams: z.record(z.string()).optional(), - queryParams: z.record(z.string()).optional(), - headers: z.record(z.string()).optional(), - dataRecord: z.record(BulkDataRecordJson$outboundSchema), -}); - -export function bulkDataPropertyJsonToJSON( - bulkDataPropertyJson: BulkDataPropertyJson, -): string { - return JSON.stringify( - BulkDataPropertyJson$outboundSchema.parse(bulkDataPropertyJson), - ); -} -export function bulkDataPropertyJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BulkDataPropertyJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BulkDataPropertyJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/bulkdatarecord.ts b/packages/typescript/src/models/components/bulkdatarecord.ts new file mode 100644 index 000000000..1c2eccfe8 --- /dev/null +++ b/packages/typescript/src/models/components/bulkdatarecord.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"; + +export type BulkDataRecord = {}; + +/** @internal */ +export const BulkDataRecord$inboundSchema: z.ZodType< + BulkDataRecord, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type BulkDataRecord$Outbound = {}; + +/** @internal */ +export const BulkDataRecord$outboundSchema: z.ZodType< + BulkDataRecord$Outbound, + z.ZodTypeDef, + BulkDataRecord +> = z.object({}); + +export function bulkDataRecordToJSON(bulkDataRecord: BulkDataRecord): string { + return JSON.stringify(BulkDataRecord$outboundSchema.parse(bulkDataRecord)); +} +export function bulkDataRecordFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BulkDataRecord$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BulkDataRecord' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/bulkdatarecordjson.ts b/packages/typescript/src/models/components/bulkdatarecordjson.ts deleted file mode 100644 index b411673f3..000000000 --- a/packages/typescript/src/models/components/bulkdatarecordjson.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type BulkDataRecordJson = {}; - -/** @internal */ -export const BulkDataRecordJson$inboundSchema: z.ZodType< - BulkDataRecordJson, - z.ZodTypeDef, - unknown -> = z.object({}); -/** @internal */ -export type BulkDataRecordJson$Outbound = {}; - -/** @internal */ -export const BulkDataRecordJson$outboundSchema: z.ZodType< - BulkDataRecordJson$Outbound, - z.ZodTypeDef, - BulkDataRecordJson -> = z.object({}); - -export function bulkDataRecordJsonToJSON( - bulkDataRecordJson: BulkDataRecordJson, -): string { - return JSON.stringify( - BulkDataRecordJson$outboundSchema.parse(bulkDataRecordJson), - ); -} -export function bulkDataRecordJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BulkDataRecordJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BulkDataRecordJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/bulkdatauploadresponse.ts b/packages/typescript/src/models/components/bulkdatauploadresponse.ts index 0bae84ccf..f3a4935d8 100644 --- a/packages/typescript/src/models/components/bulkdatauploadresponse.ts +++ b/packages/typescript/src/models/components/bulkdatauploadresponse.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - BulkDataPropertyJson, - BulkDataPropertyJson$inboundSchema, -} from "./bulkdatapropertyjson.js"; + BulkDataProperty, + BulkDataProperty$inboundSchema, +} from "./bulkdataproperty.js"; /** * The model representing the results of a bulk data upload @@ -18,7 +18,7 @@ export type BulkDataUploadResponse = { /** * Collection of objects to be processed */ - data?: Array | undefined; + data?: Array | undefined; /** * The number of successfully uploaded data records */ @@ -31,7 +31,7 @@ export const BulkDataUploadResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - data: z.array(BulkDataPropertyJson$inboundSchema).optional(), + data: z.array(BulkDataProperty$inboundSchema).optional(), count: z.number().int().optional(), }); diff --git a/packages/typescript/src/models/components/bulkjobwithdata.ts b/packages/typescript/src/models/components/bulkjobwithdata.ts index 06642ee7b..b88d8e5b9 100644 --- a/packages/typescript/src/models/components/bulkjobwithdata.ts +++ b/packages/typescript/src/models/components/bulkjobwithdata.ts @@ -8,11 +8,11 @@ import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - BulkDataPropertyJson, - BulkDataPropertyJson$inboundSchema, - BulkDataPropertyJson$Outbound, - BulkDataPropertyJson$outboundSchema, -} from "./bulkdatapropertyjson.js"; + BulkDataProperty, + BulkDataProperty$inboundSchema, + BulkDataProperty$Outbound, + BulkDataProperty$outboundSchema, +} from "./bulkdataproperty.js"; /** * Operation to be performed in the destination API. @@ -117,7 +117,7 @@ export type BulkJobWithData = { /** * Collection of objects to be processed */ - data?: Array | undefined; + data?: Array | undefined; }; /** @@ -147,7 +147,7 @@ export type BulkJobWithDataInput = { /** * Collection of objects to be processed */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -191,7 +191,7 @@ export const BulkJobWithData$inboundSchema: z.ZodType< totalRecords: z.number().int().optional(), successful: z.number().int().optional(), failed: z.number().int().optional(), - data: z.array(BulkDataPropertyJson$inboundSchema).optional(), + data: z.array(BulkDataProperty$inboundSchema).optional(), }); export function bulkJobWithDataFromJSON( @@ -211,7 +211,7 @@ export type BulkJobWithDataInput$Outbound = { operation: string; headers?: { [k: string]: string } | undefined; queryParams?: { [k: string]: string } | undefined; - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -225,7 +225,7 @@ export const BulkJobWithDataInput$outboundSchema: z.ZodType< operation: BulkJobWithDataOperation$outboundSchema, headers: z.record(z.string()).optional(), queryParams: z.record(z.string()).optional(), - data: z.array(BulkDataPropertyJson$outboundSchema).optional(), + data: z.array(BulkDataProperty$outboundSchema).optional(), }); export function bulkJobWithDataInputToJSON( diff --git a/packages/typescript/src/models/components/bulkresult.ts b/packages/typescript/src/models/components/bulkresult.ts new file mode 100644 index 000000000..473e23107 --- /dev/null +++ b/packages/typescript/src/models/components/bulkresult.ts @@ -0,0 +1,145 @@ +/* + * 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 { + BulkDataRecord, + BulkDataRecord$inboundSchema, +} from "./bulkdatarecord.js"; + +/** + * The response data for the bulk operation. + */ +export type BulkResultBulkDataProperty = { + /** + * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. + */ + pathParams?: { [k: string]: string } | undefined; + /** + * Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. + */ + queryParams?: { [k: string]: string } | undefined; + /** + * Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. + */ + headers?: { [k: string]: string } | undefined; + /** + * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. + */ + dataRecord: { [k: string]: BulkDataRecord }; +}; + +/** + * Unique identifier of the bulk job linked to this result. + */ +export type Job = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; +}; + +/** + * This entity is used to represent a single item that is returned as part of a Bulk Job Result call. + */ +export type BulkResult = { + /** + * The response data for the bulk operation. + */ + data: BulkResultBulkDataProperty; + /** + * http status code representing processing status of a single item + */ + status: number; + /** + * Quick description of what happened with processing + */ + message?: string | undefined; + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + request?: { [k: string]: any } | undefined; + /** + * The bulk result identifier. + */ + id?: number | undefined; + /** + * Unique identifier of the bulk job linked to this result. + */ + job?: Job | undefined; + /** + * A `true` value indicates the target operation returned an HTTP error status code. + * + * @remarks + * + * **Caution:** When the target operation returns a `207 Multi-Status` response, this flag will be `false` even when individual items within the response body indicate failure. For such operations, inspect the `data` field to determine which items succeeded or failed. + */ + failed?: boolean | undefined; +}; + +/** @internal */ +export const BulkResultBulkDataProperty$inboundSchema: z.ZodType< + BulkResultBulkDataProperty, + z.ZodTypeDef, + unknown +> = z.object({ + pathParams: z.record(z.string()).optional(), + queryParams: z.record(z.string()).optional(), + headers: z.record(z.string()).optional(), + dataRecord: z.record(BulkDataRecord$inboundSchema), +}); + +export function bulkResultBulkDataPropertyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BulkResultBulkDataProperty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BulkResultBulkDataProperty' from JSON`, + ); +} + +/** @internal */ +export const Job$inboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + }); + +export function jobFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Job$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Job' from JSON`, + ); +} + +/** @internal */ +export const BulkResult$inboundSchema: z.ZodType< + BulkResult, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.lazy(() => BulkResultBulkDataProperty$inboundSchema), + status: z.number().int(), + message: z.string().optional(), + request: z.record(z.any()).optional(), + id: z.number().int().optional(), + job: z.lazy(() => Job$inboundSchema).optional(), + failed: z.boolean().optional(), +}); + +export function bulkResultFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BulkResult$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BulkResult' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/bulkresultjson.ts b/packages/typescript/src/models/components/bulkresultjson.ts deleted file mode 100644 index ffa5a0f29..000000000 --- a/packages/typescript/src/models/components/bulkresultjson.ts +++ /dev/null @@ -1,141 +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 { - BulkDataRecordJson, - BulkDataRecordJson$inboundSchema, -} from "./bulkdatarecordjson.js"; - -/** - * The response data for the bulk operation. - */ -export type BulkDataProperty = { - /** - * Key-value pairs where a key identifies a labeled placeholders in the url (e.g. "/endpoint/{entityId}") and a value represents the value to substitute. Necessary if the target endpoint has path parameters. Values must NOT be null. - */ - pathParams?: { [k: string]: string } | undefined; - /** - * Query params specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level queryParams. Values must NOT be null. - */ - queryParams?: { [k: string]: string } | undefined; - /** - * Headers specific to this data record to pass to the target endpoint. Entries merge with, and overlaps override, job-level headers. Values must NOT be null. - */ - headers?: { [k: string]: string } | undefined; - /** - * Arbitrary container to hold a JSON payload. The payload is the data you're sending, or the reply received when fetching results. For the request, this data must be structured in the way the API you're running a bulk job for accepts. For example, to bulk create sessions, you structure each of the `dataRecord` entries based on the format of the Create Session endpoint. - */ - dataRecord: { [k: string]: BulkDataRecordJson }; -}; - -/** - * Unique identifier of the bulk job linked to this result. - */ -export type Job = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; -}; - -/** - * This entity is used to represent a single item that is returned as part of a Bulk Job Result call. - */ -export type BulkResultJson = { - /** - * The response data for the bulk operation. - */ - data: BulkDataProperty; - /** - * http status code representing processing status of a single item - */ - status: number; - /** - * Quick description of what happened with processing - */ - message?: string | undefined; - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - request?: { [k: string]: any } | undefined; - /** - * The bulk result identifier. - */ - id?: number | undefined; - /** - * Unique identifier of the bulk job linked to this result. - */ - job?: Job | undefined; - /** - * Indicator that specifies if the bulk result failed. - */ - failed?: boolean | undefined; -}; - -/** @internal */ -export const BulkDataProperty$inboundSchema: z.ZodType< - BulkDataProperty, - z.ZodTypeDef, - unknown -> = z.object({ - pathParams: z.record(z.string()).optional(), - queryParams: z.record(z.string()).optional(), - headers: z.record(z.string()).optional(), - dataRecord: z.record(BulkDataRecordJson$inboundSchema), -}); - -export function bulkDataPropertyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BulkDataProperty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BulkDataProperty' from JSON`, - ); -} - -/** @internal */ -export const Job$inboundSchema: z.ZodType = z - .object({ - id: z.string().optional(), - }); - -export function jobFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Job$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Job' from JSON`, - ); -} - -/** @internal */ -export const BulkResultJson$inboundSchema: z.ZodType< - BulkResultJson, - z.ZodTypeDef, - unknown -> = z.object({ - data: z.lazy(() => BulkDataProperty$inboundSchema), - status: z.number().int(), - message: z.string().optional(), - request: z.record(z.any()).optional(), - id: z.number().int().optional(), - job: z.lazy(() => Job$inboundSchema).optional(), - failed: z.boolean().optional(), -}); - -export function bulkResultJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BulkResultJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BulkResultJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/bulkresultspaginatedresponse.ts b/packages/typescript/src/models/components/bulkresultspaginatedresponse.ts index 035a88e07..1beea9b28 100644 --- a/packages/typescript/src/models/components/bulkresultspaginatedresponse.ts +++ b/packages/typescript/src/models/components/bulkresultspaginatedresponse.ts @@ -6,11 +6,8 @@ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - BulkResultJson, - BulkResultJson$inboundSchema, -} from "./bulkresultjson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { BulkResult, BulkResult$inboundSchema } from "./bulkresult.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of results from a Bulk Job run. This includes the paging object as well @@ -22,11 +19,11 @@ export type BulkResultsPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Collection of bulk result objects. */ - data: Array; + data: Array; }; /** @internal */ @@ -35,8 +32,8 @@ export const BulkResultsPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(BulkResultJson$inboundSchema), + paging: Paging$inboundSchema.optional(), + data: z.array(BulkResult$inboundSchema), }); export function bulkResultsPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/cardtransactionjson.ts b/packages/typescript/src/models/components/cardtransactionjson.ts index cb04eb064..8c73b9244 100644 --- a/packages/typescript/src/models/components/cardtransactionjson.ts +++ b/packages/typescript/src/models/components/cardtransactionjson.ts @@ -14,7 +14,7 @@ import { TransactionTypeJson1, TransactionTypeJson1$inboundSchema, } from "./transactiontypejson1.js"; -import { ZeroAllOf6, ZeroAllOf6$inboundSchema } from "./zeroallof6.js"; +import { ZeroAllOf4, ZeroAllOf4$inboundSchema } from "./zeroallof4.js"; /** * The identifier of the Event. @@ -114,7 +114,7 @@ export type CardTransactionJson = { /** * The list of reconciled item. */ - reconciliations?: Array | undefined; + reconciliations?: Array | undefined; /** * The list of transaction description. */ @@ -219,7 +219,7 @@ export const CardTransactionJson$inboundSchema: z.ZodType< merchant: z.string().optional(), reconciliation: z.lazy(() => TransactionReconciliation$inboundSchema) .optional(), - reconciliations: z.array(ZeroAllOf6$inboundSchema).optional(), + reconciliations: z.array(ZeroAllOf4$inboundSchema).optional(), descriptions: z.array(z.string()).optional(), }); diff --git a/packages/typescript/src/models/components/chainscale.ts b/packages/typescript/src/models/components/chainscale.ts new file mode 100644 index 000000000..8ff05bf06 --- /dev/null +++ b/packages/typescript/src/models/components/chainscale.ts @@ -0,0 +1,61 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + * @remarks + * + * Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ +export const ChainScale = { + Blank: "BLANK", + Economychains: "ECONOMYCHAINS", + Independents: "INDEPENDENTS", + LuxuryChains: "LUXURY_CHAINS", + MidscaleChains: "MIDSCALE_CHAINS", + MidscaleWithFbChains: "MIDSCALE_WITH_FB_CHAINS", + MidscaleWithoutFbChains: "MIDSCALE_WITHOUT_FB_CHAINS", + UpperMidscaleChains: "UPPER_MIDSCALE_CHAINS", + UpperUpscaleChains: "UPPER_UPSCALE_CHAINS", + UpscaleChains: "UPSCALE_CHAINS", +} as const; +/** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + * @remarks + * + * Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ +export type ChainScale = ClosedEnum; + +/** @internal */ +export const ChainScale$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(ChainScale); +/** @internal */ +export const ChainScale$outboundSchema: z.ZodNativeEnum = + ChainScale$inboundSchema; diff --git a/packages/typescript/src/models/components/compositevalue.ts b/packages/typescript/src/models/components/compositevalue.ts new file mode 100644 index 000000000..c83b6a552 --- /dev/null +++ b/packages/typescript/src/models/components/compositevalue.ts @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + BudgetEstimate, + BudgetEstimate$inboundSchema, +} from "./budgetestimate.js"; +import { + MeetingRoomRequirement, + MeetingRoomRequirement$inboundSchema, +} from "./meetingroomrequirement.js"; +import { + SleepingRoomRequirement, + SleepingRoomRequirement$inboundSchema, +} from "./sleepingroomrequirement.js"; + +/** + * The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. + * + * @remarks + * + * The structure of the array depends on the question `type`. + */ +export type CompositeValue = + | Array + | Array + | Array; + +/** @internal */ +export const CompositeValue$inboundSchema: z.ZodType< + CompositeValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(MeetingRoomRequirement$inboundSchema), + z.array(SleepingRoomRequirement$inboundSchema), + z.array(BudgetEstimate$inboundSchema), +]); + +export function compositeValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CompositeValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CompositeValue' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/compositevaluejson.ts b/packages/typescript/src/models/components/compositevaluejson.ts deleted file mode 100644 index 2bd49b040..000000000 --- a/packages/typescript/src/models/components/compositevaluejson.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - BudgetEstimateJson, - BudgetEstimateJson$inboundSchema, -} from "./budgetestimatejson.js"; -import { - MeetingRoomRequirementJson, - MeetingRoomRequirementJson$inboundSchema, -} from "./meetingroomrequirementjson.js"; -import { - SleepingRoomRequirementJson, - SleepingRoomRequirementJson$inboundSchema, -} from "./sleepingroomrequirementjson.js"; - -/** - * The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. - * - * @remarks - * - * The structure of the array depends on the question `type`. - */ -export type CompositeValueJson = - | Array - | Array - | Array; - -/** @internal */ -export const CompositeValueJson$inboundSchema: z.ZodType< - CompositeValueJson, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(MeetingRoomRequirementJson$inboundSchema), - z.array(SleepingRoomRequirementJson$inboundSchema), - z.array(BudgetEstimateJson$inboundSchema), -]); - -export function compositeValueJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CompositeValueJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CompositeValueJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactcommonjson.ts b/packages/typescript/src/models/components/contactcommonjson.ts deleted file mode 100644 index 297f092ba..000000000 --- a/packages/typescript/src/models/components/contactcommonjson.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Details of a contact. - */ -export type ContactCommonJson = { - /** - * Contact ID - */ - id?: string | undefined; - /** - * The first name of the contact. - */ - firstName?: string | undefined; - /** - * The last name of the contact. - */ - lastName?: string | undefined; - /** - * The email address of the contact. - */ - email?: string | undefined; -}; - -/** @internal */ -export const ContactCommonJson$inboundSchema: z.ZodType< - ContactCommonJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - firstName: z.string().optional(), - lastName: z.string().optional(), - email: z.string().optional(), -}); - -export function contactCommonJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactCommonJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactCommonJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactfields.ts b/packages/typescript/src/models/components/contactfields.ts deleted file mode 100644 index 2ad90987b..000000000 --- a/packages/typescript/src/models/components/contactfields.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 { - ContactFieldJson, - ContactFieldJson$inboundSchema, - ContactFieldJson$Outbound, - ContactFieldJson$outboundSchema, -} from "./contactfieldjsoninput.js"; - -/** - * An array of standard contact fields supported by Cvent. - */ -export type ContactFields = { - /** - * Collection of standard contact fields. - */ - data: Array; -}; - -/** @internal */ -export const ContactFields$inboundSchema: z.ZodType< - ContactFields, - z.ZodTypeDef, - unknown -> = z.object({ - data: z.array(ContactFieldJson$inboundSchema), -}); -/** @internal */ -export type ContactFields$Outbound = { - data: Array; -}; - -/** @internal */ -export const ContactFields$outboundSchema: z.ZodType< - ContactFields$Outbound, - z.ZodTypeDef, - ContactFields -> = z.object({ - data: z.array(ContactFieldJson$outboundSchema), -}); - -export function contactFieldsToJSON(contactFields: ContactFields): string { - return JSON.stringify(ContactFields$outboundSchema.parse(contactFields)); -} -export function contactFieldsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactFields$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactFields' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactfields1.ts b/packages/typescript/src/models/components/contactfields1.ts new file mode 100644 index 000000000..ec5b3e718 --- /dev/null +++ b/packages/typescript/src/models/components/contactfields1.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Details of a contact. + */ +export type ContactFields1 = { + /** + * Contact ID + */ + id?: string | undefined; + /** + * The first name of the contact. + */ + firstName?: string | undefined; + /** + * The last name of the contact. + */ + lastName?: string | undefined; + /** + * The email address of the contact. + */ + email?: string | undefined; +}; + +/** @internal */ +export const ContactFields1$inboundSchema: z.ZodType< + ContactFields1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + firstName: z.string().optional(), + lastName: z.string().optional(), + email: z.string().optional(), +}); + +export function contactFields1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactFields1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactFields1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactfields2.ts b/packages/typescript/src/models/components/contactfields2.ts new file mode 100644 index 000000000..cc8aab352 --- /dev/null +++ b/packages/typescript/src/models/components/contactfields2.ts @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + ContactFieldJson, + ContactFieldJson$inboundSchema, + ContactFieldJson$Outbound, + ContactFieldJson$outboundSchema, +} from "./contactfieldjsoninput.js"; + +/** + * An array of standard contact fields supported by Cvent. + */ +export type ContactFields2 = { + /** + * Collection of standard contact fields. + */ + data: Array; +}; + +/** @internal */ +export const ContactFields2$inboundSchema: z.ZodType< + ContactFields2, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.array(ContactFieldJson$inboundSchema), +}); +/** @internal */ +export type ContactFields2$Outbound = { + data: Array; +}; + +/** @internal */ +export const ContactFields2$outboundSchema: z.ZodType< + ContactFields2$Outbound, + z.ZodTypeDef, + ContactFields2 +> = z.object({ + data: z.array(ContactFieldJson$outboundSchema), +}); + +export function contactFields2ToJSON(contactFields2: ContactFields2): string { + return JSON.stringify(ContactFields2$outboundSchema.parse(contactFields2)); +} +export function contactFields2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactFields2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactFields2' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/country.ts b/packages/typescript/src/models/components/country.ts new file mode 100644 index 000000000..3119b7bfc --- /dev/null +++ b/packages/typescript/src/models/components/country.ts @@ -0,0 +1,280 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ +export const Country = { + Blank: "BLANK", + Ad: "AD", + Ae: "AE", + Af: "AF", + Ag: "AG", + Ai: "AI", + Al: "AL", + Am: "AM", + An: "AN", + Ao: "AO", + Aq: "AQ", + Ar: "AR", + As: "AS", + At: "AT", + Au: "AU", + Aw: "AW", + Ax: "AX", + Az: "AZ", + Ba: "BA", + Bb: "BB", + Bd: "BD", + Be: "BE", + Bf: "BF", + Bg: "BG", + Bh: "BH", + Bi: "BI", + Bj: "BJ", + Bl: "BL", + Bm: "BM", + Bn: "BN", + Bo: "BO", + Bq: "BQ", + Br: "BR", + Bs: "BS", + Bt: "BT", + Bv: "BV", + Bw: "BW", + By: "BY", + Bz: "BZ", + Ca: "CA", + Cc: "CC", + Cd: "CD", + Cf: "CF", + Cg: "CG", + Ch: "CH", + Ci: "CI", + Ck: "CK", + Cl: "CL", + Cm: "CM", + Cn: "CN", + Co: "CO", + Cr: "CR", + Cu: "CU", + Cv: "CV", + Cw: "CW", + Cx: "CX", + Cy: "CY", + Cz: "CZ", + De: "DE", + Dj: "DJ", + Dk: "DK", + Dm: "DM", + Do: "DO", + Dz: "DZ", + Ec: "EC", + Ee: "EE", + Eg: "EG", + Eh: "EH", + Er: "ER", + Es: "ES", + Et: "ET", + Fi: "FI", + Fj: "FJ", + Fk: "FK", + Fm: "FM", + Fo: "FO", + Fr: "FR", + Ga: "GA", + Gb: "GB", + Gb1: "GB_1", + Gb2: "GB_2", + Gb3: "GB_3", + Gb4: "GB_4", + Gd: "GD", + Ge: "GE", + Gf: "GF", + Gg: "GG", + Gh: "GH", + Gi: "GI", + Gl: "GL", + Gm: "GM", + Gn: "GN", + Gp: "GP", + Gq: "GQ", + Gr: "GR", + Gs: "GS", + Gt: "GT", + Gu: "GU", + Gw: "GW", + Gy: "GY", + Hk: "HK", + Hm: "HM", + Hn: "HN", + Hr: "HR", + Ht: "HT", + Hu: "HU", + Id: "ID", + Ie: "IE", + Il: "IL", + Im: "IM", + In: "IN", + Io: "IO", + Iq: "IQ", + Ir: "IR", + Is: "IS", + It: "IT", + Je: "JE", + Jm: "JM", + Jo: "JO", + Jp: "JP", + Ke: "KE", + Kg: "KG", + Kh: "KH", + Ki: "KI", + Km: "KM", + Kn: "KN", + Ko: "KO", + Kp: "KP", + Kr: "KR", + Kw: "KW", + Ky: "KY", + Kz: "KZ", + La: "LA", + Lb: "LB", + Lc: "LC", + Li: "LI", + Lk: "LK", + Lr: "LR", + Ls: "LS", + Lt: "LT", + Lu: "LU", + Lv: "LV", + Ly: "LY", + Ma: "MA", + Mc: "MC", + Md: "MD", + Me: "ME", + Mf: "MF", + Mg: "MG", + Mh: "MH", + Mk: "MK", + Ml: "ML", + Mm: "MM", + Mn: "MN", + Mo: "MO", + Mp: "MP", + Mq: "MQ", + Mr: "MR", + Ms: "MS", + Mt: "MT", + Mu: "MU", + Mv: "MV", + Mw: "MW", + Mx: "MX", + My: "MY", + Mz: "MZ", + Na: "NA", + Nc: "NC", + Ne: "NE", + Nf: "NF", + Ng: "NG", + Ni: "NI", + Nl: "NL", + No: "NO", + Np: "NP", + Nr: "NR", + Nu: "NU", + Nz: "NZ", + Om: "OM", + Pa: "PA", + Pe: "PE", + Pf: "PF", + Pg: "PG", + Ph: "PH", + Pk: "PK", + Pl: "PL", + Pm: "PM", + Pn: "PN", + Pr: "PR", + Ps: "PS", + Pt: "PT", + Pw: "PW", + Py: "PY", + Qa: "QA", + Re: "RE", + Ro: "RO", + Rs: "RS", + Ru: "RU", + Rw: "RW", + Sa: "SA", + Sb: "SB", + Sc: "SC", + Sd: "SD", + Se: "SE", + Sg: "SG", + Sh: "SH", + Si: "SI", + Sj: "SJ", + Sk: "SK", + Sl: "SL", + Sm: "SM", + Sn: "SN", + So: "SO", + Sr: "SR", + Ss: "SS", + St: "ST", + Sv: "SV", + Sx: "SX", + Sy: "SY", + Sz: "SZ", + Tc: "TC", + Td: "TD", + Tf: "TF", + Tg: "TG", + Th: "TH", + Tj: "TJ", + Tk: "TK", + Tl: "TL", + Tm: "TM", + Tn: "TN", + To: "TO", + Tp: "TP", + Tr: "TR", + Tt: "TT", + Tv: "TV", + Tw: "TW", + Tz: "TZ", + Ua: "UA", + Ug: "UG", + Um: "UM", + Us: "US", + Uy: "UY", + Uz: "UZ", + Va: "VA", + Vc: "VC", + Ve: "VE", + Vg: "VG", + Vi: "VI", + Vn: "VN", + Vu: "VU", + Wf: "WF", + Ws: "WS", + Ye: "YE", + Yt: "YT", + Za: "ZA", + Zm: "ZM", + Zw: "ZW", +} as const; +/** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ +export type Country = ClosedEnum; + +/** @internal */ +export const Country$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Country); +/** @internal */ +export const Country$outboundSchema: z.ZodNativeEnum = + Country$inboundSchema; diff --git a/packages/typescript/src/models/components/currency.ts b/packages/typescript/src/models/components/currency.ts new file mode 100644 index 000000000..2843ee700 --- /dev/null +++ b/packages/typescript/src/models/components/currency.ts @@ -0,0 +1,190 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The ISO 4217 standard format currency code used for RFPs. + */ +export const Currency = { + Usd: "USD", + Cad: "CAD", + Aud: "AUD", + Eur: "EUR", + Gbp: "GBP", + Hkd: "HKD", + Nzd: "NZD", + Aed: "AED", + Nok: "NOK", + Inr: "INR", + Mxn: "MXN", + Sek: "SEK", + Dkk: "DKK", + Myr: "MYR", + Jpy: "JPY", + Sgd: "SGD", + Thb: "THB", + Idr: "IDR", + Krw: "KRW", + Cny: "CNY", + Twd: "TWD", + Rub: "RUB", + Chf: "CHF", + Czk: "CZK", + Huf: "HUF", + Qar: "QAR", + Zar: "ZAR", + Ron: "RON", + Hrk: "HRK", + Try: "TRY", + Brl: "BRL", + Php: "PHP", + Sar: "SAR", + Pln: "PLN", + Ars: "ARS", + Awg: "AWG", + Azn: "AZN", + Bsd: "BSD", + Bbd: "BBD", + Bmd: "BMD", + Clp: "CLP", + Cop: "COP", + Crc: "CRC", + Dop: "DOP", + Xcd: "XCD", + Ils: "ILS", + Jmd: "JMD", + Lvl: "LVL", + Ltl: "LTL", + Mdl: "MDL", + Ang: "ANG", + Omr: "OMR", + Ttd: "TTD", + Uah: "UAH", + Uyu: "UYU", + Rsd: "RSD", + Afn: "AFN", + Amd: "AMD", + Aoa: "AOA", + Bam: "BAM", + Bdt: "BDT", + Bgn: "BGN", + Bhd: "BHD", + Bob: "BOB", + Dzd: "DZD", + Eek: "EEK", + Egp: "EGP", + Fjd: "FJD", + Gtq: "GTQ", + Hnl: "HNL", + Isk: "ISK", + Jod: "JOD", + Kyd: "KYD", + Kzt: "KZT", + Lbp: "LBP", + Mad: "MAD", + Ngn: "NGN", + Nio: "NIO", + Esp: "ESP", + Frf: "FRF", + Pab: "PAB", + Pen: "PEN", + Pkr: "PKR", + Pyg: "PYG", + Svc: "SVC", + Syp: "SYP", + Vef: "VEF", + Vnd: "VND", + Xpf: "XPF", + Gyd: "GYD", + Mop: "MOP", + Pgk: "PGK", + Xof: "XOF", + Xaf: "XAF", + Bzd: "BZD", + Byr: "BYR", + Bwp: "BWP", + Bnd: "BND", + Bif: "BIF", + Khr: "KHR", + Cve: "CVE", + Kmf: "KMF", + Cdf: "CDF", + Djf: "DJF", + Ern: "ERN", + Fkp: "FKP", + Gmd: "GMD", + Gel: "GEL", + Ghs: "GHS", + Gip: "GIP", + Gnf: "GNF", + Htg: "HTG", + Kes: "KES", + Kwd: "KWD", + Kgs: "KGS", + Lak: "LAK", + Lrd: "LRD", + Mkd: "MKD", + Mga: "MGA", + Mwk: "MWK", + Mvr: "MVR", + Mro: "MRO", + Mur: "MUR", + Mnt: "MNT", + Mzn: "MZN", + Mmk: "MMK", + Nad: "NAD", + Npr: "NPR", + Rwf: "RWF", + Shp: "SHP", + Wst: "WST", + Std: "STD", + Sll: "SLL", + Sbd: "SBD", + Sos: "SOS", + Lkr: "LKR", + Srd: "SRD", + Szl: "SZL", + Top: "TOP", + Tnd: "TND", + Ugx: "UGX", + Uzs: "UZS", + Vuv: "VUV", + Yer: "YER", + Zmk: "ZMK", + Zwd: "ZWD", + Sr: "SR", + Etb: "ETB", + Gh: "GH", + Gwp: "GWP", + Iqd: "IQD", + Irr: "IRR", + Kpw: "KPW", + Lsl: "LSL", + Rol: "ROL", + Sdg: "SDG", + Skk: "SKK", + Tjs: "TJS", + Tmt: "TMT", + Tzs: "TZS", + All: "ALL", + Btn: "BTN", + Cup: "CUP", + Ld: "LD", + Scr: "SCR", + Zmw: "ZMW", + Zwl: "ZWL", +} as const; +/** + * The ISO 4217 standard format currency code used for RFPs. + */ +export type Currency = ClosedEnum; + +/** @internal */ +export const Currency$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Currency); +/** @internal */ +export const Currency$outboundSchema: z.ZodNativeEnum = + Currency$inboundSchema; diff --git a/packages/typescript/src/models/components/customfieldschema.ts b/packages/typescript/src/models/components/customfieldschema.ts deleted file mode 100644 index 895f02c24..000000000 --- a/packages/typescript/src/models/components/customfieldschema.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The type of data collected by a custom field. - */ -export const CustomFieldSchemaCustomFieldType = { - AutoIncrement: "AutoIncrement", - ConsentQuestion: "ConsentQuestion", - Currency: "Currency", - Decimal: "Decimal", - Date: "Date", - DateTime: "DateTime", - Email: "Email", - FileUpload: "FileUpload", - FreeText: "FreeText", - General: "General", - MultiChoice: "MultiChoice", - MultiSelect: "MultiSelect", - Number: "Number", - OpenEndedDateTime: "OpenEndedDateTime", - OpenEndedText: "OpenEndedText", - SingleChoice: "SingleChoice", - SingleSelect: "SingleSelect", - USPhoneNumber: "USPhoneNumber", - Unknown: "Unknown", -} as const; -/** - * The type of data collected by a custom field. - */ -export type CustomFieldSchemaCustomFieldType = ClosedEnum< - typeof CustomFieldSchemaCustomFieldType ->; - -/** - * A Custom Field - */ -export type CustomFieldSchema = { - /** - * The unique ID representing this custom field. - */ - id: string; - /** - * The actual text of the custom field. - */ - name?: string | undefined; - /** - * The set of answers or possible answers to a question. - */ - value: Array; - /** - * The order of this question in the bigger list of questions. - */ - order?: number | undefined; - /** - * The type of data collected by a custom field. - */ - type?: CustomFieldSchemaCustomFieldType | undefined; -}; - -/** @internal */ -export const CustomFieldSchemaCustomFieldType$inboundSchema: z.ZodNativeEnum< - typeof CustomFieldSchemaCustomFieldType -> = z.nativeEnum(CustomFieldSchemaCustomFieldType); - -/** @internal */ -export const CustomFieldSchema$inboundSchema: z.ZodType< - CustomFieldSchema, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), - value: z.array(z.string()), - order: z.number().int().optional(), - type: CustomFieldSchemaCustomFieldType$inboundSchema.optional(), -}); - -export function customFieldSchemaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomFieldSchema$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomFieldSchema' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/customfieldschema1.ts b/packages/typescript/src/models/components/customfieldschema1.ts new file mode 100644 index 000000000..93387d273 --- /dev/null +++ b/packages/typescript/src/models/components/customfieldschema1.ts @@ -0,0 +1,199 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { AnswerType12, AnswerType12$inboundSchema } from "./answertype12.js"; + +/** + * The type of data collected by a custom field. + */ +export const CustomFieldSchemaCustomFieldType = { + AutoIncrement: "AutoIncrement", + ConsentQuestion: "ConsentQuestion", + Currency: "Currency", + Decimal: "Decimal", + Date: "Date", + DateTime: "DateTime", + Email: "Email", + FileUpload: "FileUpload", + FreeText: "FreeText", + General: "General", + MultiChoice: "MultiChoice", + MultiSelect: "MultiSelect", + Number: "Number", + OpenEndedDateTime: "OpenEndedDateTime", + OpenEndedText: "OpenEndedText", + SingleChoice: "SingleChoice", + SingleSelect: "SingleSelect", + USPhoneNumber: "USPhoneNumber", + Unknown: "Unknown", +} as const; +/** + * The type of data collected by a custom field. + */ +export type CustomFieldSchemaCustomFieldType = ClosedEnum< + typeof CustomFieldSchemaCustomFieldType +>; + +/** + * A Custom Field + */ +export type CustomFieldSchema1 = { + /** + * The unique ID representing this custom field. + */ + id: string; + /** + * The actual text of the custom field. + */ + name?: string | undefined; + /** + * The set of answers or possible answers to a question. + */ + value: Array; + /** + * The order of this question in the bigger list of questions. + */ + order?: number | undefined; + /** + * The type of data collected by a custom field. + */ + type?: CustomFieldSchemaCustomFieldType | undefined; +}; + +/** + * Custom field for a meeting request. + */ +export type CustomFieldSchema2 = { + /** + * The unique ID representing this custom field. + */ + id: string; + /** + * The displayed field name which can be customized. + */ + name?: string | undefined; + /** + * The set of answers or possible answers to a question. + */ + value: Array; + /** + * The order of this question in the bigger list of questions. + */ + order?: number | undefined; + /** + * The type of data collected by a custom field. + */ + type?: CustomFieldSchemaCustomFieldType | undefined; + /** + * True indicates the question is of the field type. + */ + field?: boolean | undefined; + /** + * The fixed field name. + */ + fieldName?: string | undefined; + /** + * True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. + */ + hidden?: boolean | undefined; + /** + * True indicates the given question must be answered. + */ + required?: boolean | undefined; + /** + * The minimum length of a text field. + */ + minLength?: number | undefined; + /** + * The maximum length of a text field. + */ + maxLength?: number | undefined; + /** + * The minimum number of choices required for a multi-choice field. + */ + minChoice?: number | undefined; + /** + * The maximum number of choices allowed for a multi-choice field. + */ + maxChoice?: number | undefined; + /** + * The ISO 8601 minimum date value for a date field. + */ + minDate?: string | undefined; + /** + * The ISO 8601 maximum date value for a date field. + */ + maxDate?: string | undefined; + /** + * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. + */ + answerTypes?: Array | undefined; +}; + +/** @internal */ +export const CustomFieldSchemaCustomFieldType$inboundSchema: z.ZodNativeEnum< + typeof CustomFieldSchemaCustomFieldType +> = z.nativeEnum(CustomFieldSchemaCustomFieldType); + +/** @internal */ +export const CustomFieldSchema1$inboundSchema: z.ZodType< + CustomFieldSchema1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), + value: z.array(z.string()), + order: z.number().int().optional(), + type: CustomFieldSchemaCustomFieldType$inboundSchema.optional(), +}); + +export function customFieldSchema1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomFieldSchema1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomFieldSchema1' from JSON`, + ); +} + +/** @internal */ +export const CustomFieldSchema2$inboundSchema: z.ZodType< + CustomFieldSchema2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), + value: z.array(z.string()), + order: z.number().int().optional(), + type: CustomFieldSchemaCustomFieldType$inboundSchema.optional(), + field: z.boolean().optional(), + fieldName: z.string().optional(), + hidden: z.boolean().optional(), + required: z.boolean().optional(), + minLength: z.number().optional(), + maxLength: z.number().optional(), + minChoice: z.number().optional(), + maxChoice: z.number().optional(), + minDate: z.string().optional(), + maxDate: z.string().optional(), + answerTypes: z.array(AnswerType12$inboundSchema).optional(), +}); + +export function customFieldSchema2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomFieldSchema2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomFieldSchema2' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/dimension.ts b/packages/typescript/src/models/components/dimension.ts new file mode 100644 index 000000000..44c38c817 --- /dev/null +++ b/packages/typescript/src/models/components/dimension.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The unit of measurement for the dimension. + */ +export const DimensionUnit = { + Feet: "FEET", + Meters: "METERS", +} as const; +/** + * The unit of measurement for the dimension. + */ +export type DimensionUnit = ClosedEnum; + +/** + * A dimension measurement in feet or meters. + */ +export type Dimension = { + /** + * The numeric value of the dimension. + */ + value: number; + /** + * The unit of measurement for the dimension. + */ + unit: DimensionUnit; +}; + +/** @internal */ +export const DimensionUnit$inboundSchema: z.ZodNativeEnum< + typeof DimensionUnit +> = z.nativeEnum(DimensionUnit); +/** @internal */ +export const DimensionUnit$outboundSchema: z.ZodNativeEnum< + typeof DimensionUnit +> = DimensionUnit$inboundSchema; + +/** @internal */ +export const Dimension$inboundSchema: z.ZodType< + Dimension, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.number(), + unit: DimensionUnit$inboundSchema, +}); +/** @internal */ +export type Dimension$Outbound = { + value: number; + unit: string; +}; + +/** @internal */ +export const Dimension$outboundSchema: z.ZodType< + Dimension$Outbound, + z.ZodTypeDef, + Dimension +> = z.object({ + value: z.number(), + unit: DimensionUnit$outboundSchema, +}); + +export function dimensionToJSON(dimension: Dimension): string { + return JSON.stringify(Dimension$outboundSchema.parse(dimension)); +} +export function dimensionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Dimension$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Dimension' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/distancemeasurementunit.ts b/packages/typescript/src/models/components/distancemeasurementunit.ts new file mode 100644 index 000000000..c1b8ad4a4 --- /dev/null +++ b/packages/typescript/src/models/components/distancemeasurementunit.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Unit of measurement for distance. + * + * @remarks + * + * Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ +export const DistanceMeasurementUnit = { + Miles: "MILES", + Kilometers: "KILOMETERS", +} as const; +/** + * Unit of measurement for distance. + * + * @remarks + * + * Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ +export type DistanceMeasurementUnit = ClosedEnum< + typeof DistanceMeasurementUnit +>; + +/** @internal */ +export const DistanceMeasurementUnit$inboundSchema: z.ZodNativeEnum< + typeof DistanceMeasurementUnit +> = z.nativeEnum(DistanceMeasurementUnit); +/** @internal */ +export const DistanceMeasurementUnit$outboundSchema: z.ZodNativeEnum< + typeof DistanceMeasurementUnit +> = DistanceMeasurementUnit$inboundSchema; diff --git a/packages/typescript/src/models/components/errorresponse.ts b/packages/typescript/src/models/components/errorresponse.ts index 8664db618..81b9f8f5b 100644 --- a/packages/typescript/src/models/components/errorresponse.ts +++ b/packages/typescript/src/models/components/errorresponse.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 { ZeroAllOf1, ZeroAllOf1$inboundSchema } from "./zeroallof1.js"; +import { ZeroAllOf3, ZeroAllOf3$inboundSchema } from "./zeroallof3.js"; /** * Represents an error response with additional details of cascading error messages. @@ -27,7 +27,7 @@ export type ErrorResponse = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; /** @internal */ @@ -39,7 +39,7 @@ export const ErrorResponse$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(ZeroAllOf1$inboundSchema).optional(), + details: z.array(ZeroAllOf3$inboundSchema).optional(), }); export function errorResponseFromJSON( diff --git a/packages/typescript/src/models/components/eventactivitydetail.ts b/packages/typescript/src/models/components/eventactivitydetail.ts new file mode 100644 index 000000000..b0aeb0762 --- /dev/null +++ b/packages/typescript/src/models/components/eventactivitydetail.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Details for an event activity. + */ +export type EventActivityDetail = { + /** + * The identifier of the event. + */ + id?: string | undefined; + /** + * The title of the event. + */ + title?: string | undefined; + /** + * The code of the event. + */ + code?: string | undefined; + /** + * The timezone of the event. + */ + timezone?: string | undefined; +}; + +/** @internal */ +export const EventActivityDetail$inboundSchema: z.ZodType< + EventActivityDetail, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + title: z.string().optional(), + code: z.string().optional(), + timezone: z.string().optional(), +}); + +export function eventActivityDetailFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventActivityDetail$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventActivityDetail' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventactivitydetailinput.ts b/packages/typescript/src/models/components/eventactivitydetailinput.ts new file mode 100644 index 000000000..12445bb02 --- /dev/null +++ b/packages/typescript/src/models/components/eventactivitydetailinput.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * Details for an event activity. + */ +export type EventActivityDetailInput = { + /** + * The identifier of the event. + */ + id?: string | undefined; +}; + +/** @internal */ +export type EventActivityDetailInput$Outbound = { + id?: string | undefined; +}; + +/** @internal */ +export const EventActivityDetailInput$outboundSchema: z.ZodType< + EventActivityDetailInput$Outbound, + z.ZodTypeDef, + EventActivityDetailInput +> = z.object({ + id: z.string().optional(), +}); + +export function eventActivityDetailInputToJSON( + eventActivityDetailInput: EventActivityDetailInput, +): string { + return JSON.stringify( + EventActivityDetailInput$outboundSchema.parse(eventActivityDetailInput), + ); +} diff --git a/packages/typescript/src/models/components/eventactivitydetailsjson.ts b/packages/typescript/src/models/components/eventactivitydetailsjson.ts deleted file mode 100644 index 8f88aad7f..000000000 --- a/packages/typescript/src/models/components/eventactivitydetailsjson.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Details for an event activity. - */ -export type EventActivityDetailsJson = { - /** - * The identifier of the event. - */ - id?: string | undefined; - /** - * The title of the event. - */ - title?: string | undefined; - /** - * The code of the event. - */ - code?: string | undefined; - /** - * The timezone of the event. - */ - timezone?: string | undefined; -}; - -/** @internal */ -export const EventActivityDetailsJson$inboundSchema: z.ZodType< - EventActivityDetailsJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - title: z.string().optional(), - code: z.string().optional(), - timezone: z.string().optional(), -}); - -export function eventActivityDetailsJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventActivityDetailsJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventActivityDetailsJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventactivitydetailsjsoninput.ts b/packages/typescript/src/models/components/eventactivitydetailsjsoninput.ts deleted file mode 100644 index d5c54b00b..000000000 --- a/packages/typescript/src/models/components/eventactivitydetailsjsoninput.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * Details for an event activity. - */ -export type EventActivityDetailsJsonInput = { - /** - * The identifier of the event. - */ - id?: string | undefined; -}; - -/** @internal */ -export type EventActivityDetailsJsonInput$Outbound = { - id?: string | undefined; -}; - -/** @internal */ -export const EventActivityDetailsJsonInput$outboundSchema: z.ZodType< - EventActivityDetailsJsonInput$Outbound, - z.ZodTypeDef, - EventActivityDetailsJsonInput -> = z.object({ - id: z.string().optional(), -}); - -export function eventActivityDetailsJsonInputToJSON( - eventActivityDetailsJsonInput: EventActivityDetailsJsonInput, -): string { - return JSON.stringify( - EventActivityDetailsJsonInput$outboundSchema.parse( - eventActivityDetailsJsonInput, - ), - ); -} diff --git a/packages/typescript/src/models/components/eventinsurance.ts b/packages/typescript/src/models/components/eventinsurance.ts new file mode 100644 index 000000000..b7ae4527b --- /dev/null +++ b/packages/typescript/src/models/components/eventinsurance.ts @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ +export const EventInsurance = { + Blank: "BLANK", + Required: "REQUIRED", + MayBeRequired: "MAY_BE_REQUIRED", + NotRequired: "NOT_REQUIRED", +} as const; +/** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ +export type EventInsurance = ClosedEnum; + +/** @internal */ +export const EventInsurance$inboundSchema: z.ZodNativeEnum< + typeof EventInsurance +> = z.nativeEnum(EventInsurance); +/** @internal */ +export const EventInsurance$outboundSchema: z.ZodNativeEnum< + typeof EventInsurance +> = EventInsurance$inboundSchema; diff --git a/packages/typescript/src/models/components/eventquestionjson.ts b/packages/typescript/src/models/components/eventquestionjson.ts index d5bfe1f56..3b546d085 100644 --- a/packages/typescript/src/models/components/eventquestionjson.ts +++ b/packages/typescript/src/models/components/eventquestionjson.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - QuestionTypeJson2, - QuestionTypeJson2$inboundSchema, -} from "./questiontypejson2.js"; + QuestionTypeJson1, + QuestionTypeJson1$inboundSchema, +} from "./questiontypejson1.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** @@ -83,7 +83,7 @@ export type EventQuestionJson = { /** * This object represents the type of a question */ - type?: QuestionTypeJson2 | undefined; + type?: QuestionTypeJson1 | undefined; /** * Optional description to provide additional context of the question. */ @@ -149,7 +149,7 @@ export const EventQuestionJson$inboundSchema: z.ZodType< session: z.lazy(() => EventQuestionJsonSession$inboundSchema).optional(), admissionItem: z.lazy(() => EventQuestionJsonAdmissionItem$inboundSchema) .optional(), - type: QuestionTypeJson2$inboundSchema.optional(), + type: QuestionTypeJson1$inboundSchema.optional(), internalNote: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/eventrole.ts b/packages/typescript/src/models/components/eventrole.ts new file mode 100644 index 000000000..b3126937e --- /dev/null +++ b/packages/typescript/src/models/components/eventrole.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + */ +export type EventRole = { + /** + * The ID of the event role. + */ + id?: string | undefined; +}; + +/** @internal */ +export const EventRole$inboundSchema: z.ZodType< + EventRole, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function eventRoleFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventRole$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventRole' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventroleassignment.ts b/packages/typescript/src/models/components/eventroleassignment.ts new file mode 100644 index 000000000..3fd5309af --- /dev/null +++ b/packages/typescript/src/models/components/eventroleassignment.ts @@ -0,0 +1,122 @@ +/* + * 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 { EventRole, EventRole$inboundSchema } from "./eventrole.js"; + +/** + * The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. + */ +export type EventRoleAssignmentEvent = { + /** + * The unique ID of the event. + */ + id?: string | undefined; +}; + +/** + * The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + */ +export type EventRoleAssignmentUser = { + /** + * The unique ID of the user. + */ + id?: string | undefined; +}; + +/** + * An assignment of an event role to a user for an event. + */ +export type EventRoleAssignment = { + /** + * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. + */ + id?: string | undefined; + /** + * The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. + */ + event?: EventRoleAssignmentEvent | undefined; + /** + * The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. + */ + user?: EventRoleAssignmentUser | undefined; + /** + * An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. + */ + eventRole?: EventRole | undefined; + /** + * The ISO 8601 zoned date-time when the event role was assigned to the user. + */ + assigned?: Date | undefined; + /** + * The identifier of the user who assigned the event role. + */ + assignedBy?: string | undefined; +}; + +/** @internal */ +export const EventRoleAssignmentEvent$inboundSchema: z.ZodType< + EventRoleAssignmentEvent, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function eventRoleAssignmentEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventRoleAssignmentEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventRoleAssignmentEvent' from JSON`, + ); +} + +/** @internal */ +export const EventRoleAssignmentUser$inboundSchema: z.ZodType< + EventRoleAssignmentUser, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function eventRoleAssignmentUserFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventRoleAssignmentUser$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventRoleAssignmentUser' from JSON`, + ); +} + +/** @internal */ +export const EventRoleAssignment$inboundSchema: z.ZodType< + EventRoleAssignment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + event: z.lazy(() => EventRoleAssignmentEvent$inboundSchema).optional(), + user: z.lazy(() => EventRoleAssignmentUser$inboundSchema).optional(), + eventRole: EventRole$inboundSchema.optional(), + assigned: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + assignedBy: z.string().optional(), +}); + +export function eventRoleAssignmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventRoleAssignment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventRoleAssignment' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventroleassignmentjson.ts b/packages/typescript/src/models/components/eventroleassignmentjson.ts deleted file mode 100644 index 376e34c64..000000000 --- a/packages/typescript/src/models/components/eventroleassignmentjson.ts +++ /dev/null @@ -1,122 +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 { EventRoleJson, EventRoleJson$inboundSchema } from "./eventrolejson.js"; - -/** - * The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. - */ -export type EventRoleAssignmentJsonEvent = { - /** - * The unique ID of the event. - */ - id?: string | undefined; -}; - -/** - * The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - */ -export type EventRoleAssignmentJsonUser = { - /** - * The unique ID of the user. - */ - id?: string | undefined; -}; - -/** - * An assignment of an event role to a user for an event. - */ -export type EventRoleAssignmentJson = { - /** - * The unique ID of the event role assignment, which concatenates the IDs of the event, the event role, and the user assigned the role. - */ - id?: string | undefined; - /** - * The event where the user gets a role. For more details, use the [Get Event](#tag/Events/operation/getEventById) endpoint with the event ID. - */ - event?: EventRoleAssignmentJsonEvent | undefined; - /** - * The user to whom the event role is assigned. For more details, use the [Get User](#tag/User-SCIM/operation/getUser) endpoint with the user ID. - */ - user?: EventRoleAssignmentJsonUser | undefined; - /** - * An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - */ - eventRole?: EventRoleJson | undefined; - /** - * The ISO 8601 zoned date-time when the event role was assigned to the user. - */ - assigned?: Date | undefined; - /** - * The identifier of the user who assigned the event role. - */ - assignedBy?: string | undefined; -}; - -/** @internal */ -export const EventRoleAssignmentJsonEvent$inboundSchema: z.ZodType< - EventRoleAssignmentJsonEvent, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function eventRoleAssignmentJsonEventFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventRoleAssignmentJsonEvent$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventRoleAssignmentJsonEvent' from JSON`, - ); -} - -/** @internal */ -export const EventRoleAssignmentJsonUser$inboundSchema: z.ZodType< - EventRoleAssignmentJsonUser, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function eventRoleAssignmentJsonUserFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventRoleAssignmentJsonUser$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventRoleAssignmentJsonUser' from JSON`, - ); -} - -/** @internal */ -export const EventRoleAssignmentJson$inboundSchema: z.ZodType< - EventRoleAssignmentJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - event: z.lazy(() => EventRoleAssignmentJsonEvent$inboundSchema).optional(), - user: z.lazy(() => EventRoleAssignmentJsonUser$inboundSchema).optional(), - eventRole: EventRoleJson$inboundSchema.optional(), - assigned: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - assignedBy: z.string().optional(), -}); - -export function eventRoleAssignmentJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventRoleAssignmentJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventRoleAssignmentJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventroleassignmentspaginatedresponse.ts b/packages/typescript/src/models/components/eventroleassignmentspaginatedresponse.ts index 5b0e9b7ee..395d67776 100644 --- a/packages/typescript/src/models/components/eventroleassignmentspaginatedresponse.ts +++ b/packages/typescript/src/models/components/eventroleassignmentspaginatedresponse.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 { - EventRoleAssignmentJson, - EventRoleAssignmentJson$inboundSchema, -} from "./eventroleassignmentjson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; + EventRoleAssignment, + EventRoleAssignment$inboundSchema, +} from "./eventroleassignment.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response to a request to get a paginated list of event role assignments. This includes the paging object and the collection of event role assignments. @@ -19,11 +19,11 @@ export type EventRoleAssignmentsPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * A collection of event role assignments. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +32,8 @@ export const EventRoleAssignmentsPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(EventRoleAssignmentJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(EventRoleAssignment$inboundSchema), }); export function eventRoleAssignmentsPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/eventrolejson.ts b/packages/typescript/src/models/components/eventrolejson.ts deleted file mode 100644 index cc4d09529..000000000 --- a/packages/typescript/src/models/components/eventrolejson.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * An object that contains the event role ID. This is an **expandable** object and, if requested, will contain the name of the event role. - */ -export type EventRoleJson = { - /** - * The ID of the event role. - */ - id?: string | undefined; -}; - -/** @internal */ -export const EventRoleJson$inboundSchema: z.ZodType< - EventRoleJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function eventRoleJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventRoleJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventRoleJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventsurveyquestionjson.ts b/packages/typescript/src/models/components/eventsurveyquestionjson.ts index 63d0f31ca..bbe12c549 100644 --- a/packages/typescript/src/models/components/eventsurveyquestionjson.ts +++ b/packages/typescript/src/models/components/eventsurveyquestionjson.ts @@ -14,9 +14,9 @@ import { CategoryJson1, CategoryJson1$inboundSchema } from "./categoryjson1.js"; import { ChoiceJson1, ChoiceJson1$inboundSchema } from "./choicejson1.js"; import { FieldJson, FieldJson$inboundSchema } from "./fieldjson.js"; import { - QuestionTypeJson1, - QuestionTypeJson1$inboundSchema, -} from "./questiontypejson1.js"; + QuestionTypeJson, + QuestionTypeJson$inboundSchema, +} from "./questiontypejson.js"; import { TextFieldJson, TextFieldJson$inboundSchema } from "./textfieldjson.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; @@ -63,7 +63,7 @@ export type EventSurveyQuestionJson = { /** * Question Type. */ - type?: QuestionTypeJson1 | undefined; + type?: QuestionTypeJson | undefined; /** * List of choices for the question. */ @@ -132,7 +132,7 @@ export const EventSurveyQuestionJson$inboundSchema: z.ZodType< shortText: z.string().optional(), htmlText: z.string().optional(), code: z.string().optional(), - type: QuestionTypeJson1$inboundSchema.optional(), + type: QuestionTypeJson$inboundSchema.optional(), choices: z.array(ChoiceJson1$inboundSchema).optional(), categories: z.array(CategoryJson1$inboundSchema).optional(), subCategories: z.array(TextFieldJson$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/exhibitlayouttype.ts b/packages/typescript/src/models/components/exhibitlayouttype.ts new file mode 100644 index 000000000..64934d359 --- /dev/null +++ b/packages/typescript/src/models/components/exhibitlayouttype.ts @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + */ +export const ExhibitLayoutType = { + BOOTH10x10: "BOOTH_10x10", + BOOTH8x10: "BOOTH_8x10", + IslandExhibit: "ISLAND_EXHIBIT", + PeninsulaExhibit: "PENINSULA_EXHIBIT", + PerimeterExhibit: "PERIMETER_EXHIBIT", + TabletopExhibit: "TABLETOP_EXHIBIT", +} as const; +/** + * The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + */ +export type ExhibitLayoutType = ClosedEnum; + +/** @internal */ +export const ExhibitLayoutType$inboundSchema: z.ZodNativeEnum< + typeof ExhibitLayoutType +> = z.nativeEnum(ExhibitLayoutType); +/** @internal */ +export const ExhibitLayoutType$outboundSchema: z.ZodNativeEnum< + typeof ExhibitLayoutType +> = ExhibitLayoutType$inboundSchema; diff --git a/packages/typescript/src/models/components/exhibitor1.ts b/packages/typescript/src/models/components/exhibitor1.ts new file mode 100644 index 000000000..9913b1a3a --- /dev/null +++ b/packages/typescript/src/models/components/exhibitor1.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An exhibitor. + */ +export type Exhibitor1 = { + /** + * The unique identifier of the exhibitor. + */ + id?: string | undefined; + /** + * The Name of an exhibitor. + */ + name?: string | undefined; + /** + * If the exhibitor is featured. + */ + featured?: boolean | undefined; + /** + * If the exhibitor is an event sponsor. + */ + eventSponsor?: boolean | undefined; +}; + +/** @internal */ +export const Exhibitor1$inboundSchema: z.ZodType< + Exhibitor1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), + featured: z.boolean().optional(), + eventSponsor: z.boolean().optional(), +}); + +export function exhibitor1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Exhibitor1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Exhibitor1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/exhibitorjson.ts b/packages/typescript/src/models/components/exhibitorjson.ts deleted file mode 100644 index ca74c5b57..000000000 --- a/packages/typescript/src/models/components/exhibitorjson.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * An exhibitor. - */ -export type ExhibitorJson = { - /** - * The unique identifier of the exhibitor. - */ - id?: string | undefined; - /** - * The Name of an exhibitor. - */ - name?: string | undefined; - /** - * If the exhibitor is featured. - */ - featured?: boolean | undefined; - /** - * If the exhibitor is an event sponsor. - */ - eventSponsor?: boolean | undefined; -}; - -/** @internal */ -export const ExhibitorJson$inboundSchema: z.ZodType< - ExhibitorJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), - featured: z.boolean().optional(), - eventSponsor: z.boolean().optional(), -}); - -export function exhibitorJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExhibitorJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExhibitorJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/existingexhibitoranswer.ts b/packages/typescript/src/models/components/existingexhibitoranswer.ts index a1a182df9..49ca0fa83 100644 --- a/packages/typescript/src/models/components/existingexhibitoranswer.ts +++ b/packages/typescript/src/models/components/existingexhibitoranswer.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 { Answer2, Answer2$inboundSchema } from "./answer2.js"; +import { Answer22, Answer22$inboundSchema } from "./answer22.js"; import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; import { Uuid, Uuid$inboundSchema } from "./uuid.js"; @@ -46,7 +46,7 @@ export type ExistingExhibitorAnswer = { /** * List of answers */ - answers: Array; + answers: Array; /** * Exhibitor Answer id */ @@ -69,7 +69,7 @@ export const ExistingExhibitorAnswer$inboundSchema: z.ZodType< question: Uuid$inboundSchema, event: Event3$inboundSchema, exhibitor: Exhibitor$inboundSchema, - answers: z.array(Answer2$inboundSchema), + answers: z.array(Answer22$inboundSchema), id: z.string(), }); diff --git a/packages/typescript/src/models/components/existingexhibitoranswerinput.ts b/packages/typescript/src/models/components/existingexhibitoranswerinput.ts index aeead51fa..e8c0cd891 100644 --- a/packages/typescript/src/models/components/existingexhibitoranswerinput.ts +++ b/packages/typescript/src/models/components/existingexhibitoranswerinput.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - Answer2, - Answer2$Outbound, - Answer2$outboundSchema, -} from "./answer2.js"; + Answer22, + Answer22$Outbound, + Answer22$outboundSchema, +} from "./answer22.js"; import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; import { Exhibitor, @@ -35,7 +35,7 @@ export type ExistingExhibitorAnswerInput = { /** * List of answers */ - answers: Array; + answers: Array; }; /** @internal */ @@ -43,7 +43,7 @@ export type ExistingExhibitorAnswerInput$Outbound = { question: Uuid$Outbound; event: Event3$Outbound; exhibitor: Exhibitor$Outbound; - answers: Array; + answers: Array; }; /** @internal */ @@ -55,7 +55,7 @@ export const ExistingExhibitorAnswerInput$outboundSchema: z.ZodType< question: Uuid$outboundSchema, event: Event3$outboundSchema, exhibitor: Exhibitor$outboundSchema, - answers: z.array(Answer2$outboundSchema), + answers: z.array(Answer22$outboundSchema), }); export function existingExhibitorAnswerInputToJSON( diff --git a/packages/typescript/src/models/components/existinghub.ts b/packages/typescript/src/models/components/existinghub.ts index e3e71cabc..f5f2f401b 100644 --- a/packages/typescript/src/models/components/existinghub.ts +++ b/packages/typescript/src/models/components/existinghub.ts @@ -103,6 +103,10 @@ export type ExistingHub = { * Fields relating to the login process for the Events+ hub. */ login?: HubLogin | undefined; + /** + * True indicates the Events+ hub is opted into the new website theming experience. False indicates the hub uses the legacy theming experience. + */ + websiteTheming: boolean; /** * The unique ID of an Events+ Hub. */ @@ -142,6 +146,7 @@ export const ExistingHub$inboundSchema: z.ZodType< utmOverride: UTMOverride$inboundSchema.default("use-existing-parameter"), fonts: HubFonts$inboundSchema.optional(), login: HubLogin$inboundSchema.optional(), + websiteTheming: z.boolean().default(false), id: z.string().optional(), status: HubStatusProperty$inboundSchema.optional(), }); diff --git a/packages/typescript/src/models/components/existingmeetingroom.ts b/packages/typescript/src/models/components/existingmeetingroom.ts new file mode 100644 index 000000000..a2a07018e --- /dev/null +++ b/packages/typescript/src/models/components/existingmeetingroom.ts @@ -0,0 +1,349 @@ +/* + * 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 { + AreaMeasurement, + AreaMeasurement$inboundSchema, + AreaMeasurement$Outbound, + AreaMeasurement$outboundSchema, +} from "./areameasurement.js"; +import { + Dimension, + Dimension$inboundSchema, + Dimension$Outbound, + Dimension$outboundSchema, +} from "./dimension.js"; +import { + MeetingRoomAmenity, + MeetingRoomAmenity$inboundSchema, + MeetingRoomAmenity$outboundSchema, +} from "./meetingroomamenity.js"; +import { + MeetingRoomCapacities, + MeetingRoomCapacities$inboundSchema, + MeetingRoomCapacities$Outbound, + MeetingRoomCapacities$outboundSchema, +} from "./meetingroomcapacities.js"; +import { + MeetingRoomRate, + MeetingRoomRate$inboundSchema, + MeetingRoomRate$Outbound, + MeetingRoomRate$outboundSchema, +} from "./meetingroomrate.js"; + +/** + * Physical dimensions for the meeting room. + */ +export type ExistingMeetingRoomDimensions = { + /** + * Measurement of area in square feet or square meters. + */ + totalSpace: AreaMeasurement; + /** + * A dimension measurement in feet or meters. + */ + ceilingHeight?: Dimension | undefined; + /** + * A dimension measurement in feet or meters. + */ + length?: Dimension | undefined; + /** + * A dimension measurement in feet or meters. + */ + width?: Dimension | undefined; +}; + +/** + * Rate information for move in/out and events. + */ +export type ExistingMeetingRoomRates = { + /** + * Meeting room rate with a value and application type. + */ + moveIn?: MeetingRoomRate | undefined; + /** + * Meeting room rate with a value and application type. + */ + moveOut?: MeetingRoomRate | undefined; + /** + * Meeting room rate with a value and application type. + */ + event?: MeetingRoomRate | undefined; +}; + +/** + * An existing venue meeting room with read-only generated properties. + */ +export type ExistingMeetingRoom = { + /** + * The ISO 8601 zoned date time when this record was created. + */ + created?: Date | undefined; + /** + * The identifier of the user that created this record. + */ + createdBy?: string | undefined; + /** + * The ISO 8601 zoned date time when this record was updated. + */ + lastModified?: Date | undefined; + /** + * The identifier of the user that last updated this record. + */ + lastModifiedBy?: string | undefined; + /** + * The name of the meeting room. + */ + name: string; + /** + * The detailed description of the meeting room. + */ + description?: string | undefined; + /** + * Physical dimensions for the meeting room. + */ + dimensions: ExistingMeetingRoomDimensions; + /** + * The position of this meeting room in the venue's room listing. + */ + displayOrder?: number | undefined; + /** + * The provider's own identifier for this meeting room. + */ + externalSourceId?: string | undefined; + /** + * Rate information for move in/out and events. + */ + rates?: ExistingMeetingRoomRates | undefined; + /** + * Capacity information for a meeting room, grouped by category. + */ + capacities?: MeetingRoomCapacities | undefined; + /** + * List of amenities available in the meeting room. + */ + amenities?: Array | undefined; + /** + * True indicates the meeting room is hidden on the venue profile. + */ + hiddenOnProfile: boolean; + /** + * The unique identifier for the meeting room. + */ + id: string; +}; + +/** + * An existing venue meeting room with read-only generated properties. + */ +export type ExistingMeetingRoomInput = { + /** + * The name of the meeting room. + */ + name: string; + /** + * The detailed description of the meeting room. + */ + description?: string | undefined; + /** + * Physical dimensions for the meeting room. + */ + dimensions: ExistingMeetingRoomDimensions; + /** + * The position of this meeting room in the venue's room listing. + */ + displayOrder?: number | undefined; + /** + * The provider's own identifier for this meeting room. + */ + externalSourceId?: string | undefined; + /** + * Rate information for move in/out and events. + */ + rates?: ExistingMeetingRoomRates | undefined; + /** + * Capacity information for a meeting room, grouped by category. + */ + capacities?: MeetingRoomCapacities | undefined; + /** + * List of amenities available in the meeting room. + */ + amenities?: Array | undefined; + /** + * True indicates the meeting room is hidden on the venue profile. + */ + hiddenOnProfile?: boolean | undefined; +}; + +/** @internal */ +export const ExistingMeetingRoomDimensions$inboundSchema: z.ZodType< + ExistingMeetingRoomDimensions, + z.ZodTypeDef, + unknown +> = z.object({ + totalSpace: AreaMeasurement$inboundSchema, + ceilingHeight: Dimension$inboundSchema.optional(), + length: Dimension$inboundSchema.optional(), + width: Dimension$inboundSchema.optional(), +}); +/** @internal */ +export type ExistingMeetingRoomDimensions$Outbound = { + totalSpace: AreaMeasurement$Outbound; + ceilingHeight?: Dimension$Outbound | undefined; + length?: Dimension$Outbound | undefined; + width?: Dimension$Outbound | undefined; +}; + +/** @internal */ +export const ExistingMeetingRoomDimensions$outboundSchema: z.ZodType< + ExistingMeetingRoomDimensions$Outbound, + z.ZodTypeDef, + ExistingMeetingRoomDimensions +> = z.object({ + totalSpace: AreaMeasurement$outboundSchema, + ceilingHeight: Dimension$outboundSchema.optional(), + length: Dimension$outboundSchema.optional(), + width: Dimension$outboundSchema.optional(), +}); + +export function existingMeetingRoomDimensionsToJSON( + existingMeetingRoomDimensions: ExistingMeetingRoomDimensions, +): string { + return JSON.stringify( + ExistingMeetingRoomDimensions$outboundSchema.parse( + existingMeetingRoomDimensions, + ), + ); +} +export function existingMeetingRoomDimensionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingMeetingRoomDimensions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingMeetingRoomDimensions' from JSON`, + ); +} + +/** @internal */ +export const ExistingMeetingRoomRates$inboundSchema: z.ZodType< + ExistingMeetingRoomRates, + z.ZodTypeDef, + unknown +> = z.object({ + moveIn: MeetingRoomRate$inboundSchema.optional(), + moveOut: MeetingRoomRate$inboundSchema.optional(), + event: MeetingRoomRate$inboundSchema.optional(), +}); +/** @internal */ +export type ExistingMeetingRoomRates$Outbound = { + moveIn?: MeetingRoomRate$Outbound | undefined; + moveOut?: MeetingRoomRate$Outbound | undefined; + event?: MeetingRoomRate$Outbound | undefined; +}; + +/** @internal */ +export const ExistingMeetingRoomRates$outboundSchema: z.ZodType< + ExistingMeetingRoomRates$Outbound, + z.ZodTypeDef, + ExistingMeetingRoomRates +> = z.object({ + moveIn: MeetingRoomRate$outboundSchema.optional(), + moveOut: MeetingRoomRate$outboundSchema.optional(), + event: MeetingRoomRate$outboundSchema.optional(), +}); + +export function existingMeetingRoomRatesToJSON( + existingMeetingRoomRates: ExistingMeetingRoomRates, +): string { + return JSON.stringify( + ExistingMeetingRoomRates$outboundSchema.parse(existingMeetingRoomRates), + ); +} +export function existingMeetingRoomRatesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingMeetingRoomRates$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingMeetingRoomRates' from JSON`, + ); +} + +/** @internal */ +export const ExistingMeetingRoom$inboundSchema: z.ZodType< + ExistingMeetingRoom, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + createdBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + name: z.string(), + description: z.string().optional(), + dimensions: z.lazy(() => ExistingMeetingRoomDimensions$inboundSchema), + displayOrder: z.number().int().optional(), + externalSourceId: z.string().optional(), + rates: z.lazy(() => ExistingMeetingRoomRates$inboundSchema).optional(), + capacities: MeetingRoomCapacities$inboundSchema.optional(), + amenities: z.array(MeetingRoomAmenity$inboundSchema).optional(), + hiddenOnProfile: z.boolean().default(false), + id: z.string(), +}); + +export function existingMeetingRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingMeetingRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingMeetingRoom' from JSON`, + ); +} + +/** @internal */ +export type ExistingMeetingRoomInput$Outbound = { + name: string; + description?: string | undefined; + dimensions: ExistingMeetingRoomDimensions$Outbound; + displayOrder?: number | undefined; + externalSourceId?: string | undefined; + rates?: ExistingMeetingRoomRates$Outbound | undefined; + capacities?: MeetingRoomCapacities$Outbound | undefined; + amenities?: Array | undefined; + hiddenOnProfile: boolean; +}; + +/** @internal */ +export const ExistingMeetingRoomInput$outboundSchema: z.ZodType< + ExistingMeetingRoomInput$Outbound, + z.ZodTypeDef, + ExistingMeetingRoomInput +> = z.object({ + name: z.string(), + description: z.string().optional(), + dimensions: z.lazy(() => ExistingMeetingRoomDimensions$outboundSchema), + displayOrder: z.number().int().optional(), + externalSourceId: z.string().optional(), + rates: z.lazy(() => ExistingMeetingRoomRates$outboundSchema).optional(), + capacities: MeetingRoomCapacities$outboundSchema.optional(), + amenities: z.array(MeetingRoomAmenity$outboundSchema).optional(), + hiddenOnProfile: z.boolean().default(false), +}); + +export function existingMeetingRoomInputToJSON( + existingMeetingRoomInput: ExistingMeetingRoomInput, +): string { + return JSON.stringify( + ExistingMeetingRoomInput$outboundSchema.parse(existingMeetingRoomInput), + ); +} diff --git a/packages/typescript/src/models/components/existingvenuedetails.ts b/packages/typescript/src/models/components/existingvenuedetails.ts new file mode 100644 index 000000000..fb3b5a6b8 --- /dev/null +++ b/packages/typescript/src/models/components/existingvenuedetails.ts @@ -0,0 +1,201 @@ +/* + * 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 { AddressInfo, AddressInfo$inboundSchema } from "./addressinfo.js"; +import { ChainScale, ChainScale$inboundSchema } from "./chainscale.js"; +import { Currency, Currency$inboundSchema } from "./currency.js"; +import { LocationType, LocationType$inboundSchema } from "./locationtype.js"; +import { VenueType, VenueType$inboundSchema } from "./venuetype.js"; + +/** + * An existing venue details model with read-only generated properties. + */ +export type ExistingVenueDetails = { + /** + * The ISO 8601 zoned date time when this record was created. + */ + created?: Date | undefined; + /** + * The identifier of the user that created this record. + */ + createdBy?: string | undefined; + /** + * The ISO 8601 zoned date time when this record was updated. + */ + lastModified?: Date | undefined; + /** + * The identifier of the user that last updated this record. + */ + lastModifiedBy?: string | undefined; + /** + * Type of venue. + * + * @remarks + * + * Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + type: VenueType; + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + */ + timeZone?: string | undefined; + /** + * Venue brand. + */ + brand?: string | undefined; + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + * @remarks + * + * Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + chainScale?: ChainScale | undefined; + /** + * Primary phone number for the venue. + */ + mainPhoneNumber: string; + /** + * Primary fax number for the venue. + */ + mainFaxNumber: string; + /** + * Sales phone number of the venue. + */ + salesPhoneNumber?: string | undefined; + /** + * Sales fax number of the venue. + */ + salesFaxNumber?: string | undefined; + /** + * Toll-free number of the venue. + */ + tollFreeNumber?: string | undefined; + /** + * Website address. + */ + websiteAddress?: string | undefined; + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + currency?: Currency | undefined; + /** + * Venue opening date as free-form text. + */ + openingDate?: string | undefined; + /** + * Venue description. + */ + description?: string | undefined; + /** + * Additional information about the venue. + */ + additionalInformation?: string | undefined; + /** + * Cancellation policy for bookings at the venue. + */ + cancellationPolicy?: string | undefined; + /** + * Location classifications. + */ + locationTypes?: Array | undefined; + /** + * Venue address information. + */ + address: AddressInfo; + /** + * Venue ID. + */ + id: string; + /** + * Venue name. + */ + name: string; + /** + * Metro area name. Populated once the venue is approved. + */ + metroArea?: string | undefined; +}; + +/** @internal */ +export const ExistingVenueDetails$inboundSchema: z.ZodType< + ExistingVenueDetails, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + createdBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + type: VenueType$inboundSchema, + timeZone: z.string().optional(), + brand: z.string().optional(), + chainScale: ChainScale$inboundSchema.optional(), + mainPhoneNumber: z.string(), + mainFaxNumber: z.string(), + salesPhoneNumber: z.string().optional(), + salesFaxNumber: z.string().optional(), + tollFreeNumber: z.string().optional(), + websiteAddress: z.string().optional(), + currency: Currency$inboundSchema.optional(), + openingDate: z.string().optional(), + description: z.string().optional(), + additionalInformation: z.string().optional(), + cancellationPolicy: z.string().optional(), + locationTypes: z.array(LocationType$inboundSchema).optional(), + address: AddressInfo$inboundSchema, + id: z.string(), + name: z.string(), + metroArea: z.string().optional(), +}); + +export function existingVenueDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingVenueDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueDetails' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/existingvenuedetailsinput.ts b/packages/typescript/src/models/components/existingvenuedetailsinput.ts new file mode 100644 index 000000000..efd2bba7f --- /dev/null +++ b/packages/typescript/src/models/components/existingvenuedetailsinput.ts @@ -0,0 +1,183 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + AddressInfo, + AddressInfo$Outbound, + AddressInfo$outboundSchema, +} from "./addressinfo.js"; +import { ChainScale, ChainScale$outboundSchema } from "./chainscale.js"; +import { Currency, Currency$outboundSchema } from "./currency.js"; +import { LocationType, LocationType$outboundSchema } from "./locationtype.js"; +import { VenueType, VenueType$outboundSchema } from "./venuetype.js"; + +/** + * An existing venue details model with read-only generated properties. + */ +export type ExistingVenueDetailsInput = { + /** + * Type of venue. + * + * @remarks + * + * Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + type: VenueType; + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + */ + timeZone?: string | undefined; + /** + * Venue brand. + */ + brand?: string | undefined; + /** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + * @remarks + * + * Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ + chainScale?: ChainScale | undefined; + /** + * Primary phone number for the venue. + */ + mainPhoneNumber: string; + /** + * Primary fax number for the venue. + */ + mainFaxNumber: string; + /** + * Sales phone number of the venue. + */ + salesPhoneNumber?: string | undefined; + /** + * Sales fax number of the venue. + */ + salesFaxNumber?: string | undefined; + /** + * Toll-free number of the venue. + */ + tollFreeNumber?: string | undefined; + /** + * Website address. + */ + websiteAddress?: string | undefined; + /** + * The ISO 4217 standard format currency code used for RFPs. + */ + currency?: Currency | undefined; + /** + * Venue opening date as free-form text. + */ + openingDate?: string | undefined; + /** + * Venue description. + */ + description?: string | undefined; + /** + * Additional information about the venue. + */ + additionalInformation?: string | undefined; + /** + * Cancellation policy for bookings at the venue. + */ + cancellationPolicy?: string | undefined; + /** + * Location classifications. + */ + locationTypes?: Array | undefined; + /** + * Venue address information. + */ + address: AddressInfo; +}; + +/** @internal */ +export type ExistingVenueDetailsInput$Outbound = { + type: string; + timeZone?: string | undefined; + brand?: string | undefined; + chainScale?: string | undefined; + mainPhoneNumber: string; + mainFaxNumber: string; + salesPhoneNumber?: string | undefined; + salesFaxNumber?: string | undefined; + tollFreeNumber?: string | undefined; + websiteAddress?: string | undefined; + currency?: string | undefined; + openingDate?: string | undefined; + description?: string | undefined; + additionalInformation?: string | undefined; + cancellationPolicy?: string | undefined; + locationTypes?: Array | undefined; + address: AddressInfo$Outbound; +}; + +/** @internal */ +export const ExistingVenueDetailsInput$outboundSchema: z.ZodType< + ExistingVenueDetailsInput$Outbound, + z.ZodTypeDef, + ExistingVenueDetailsInput +> = z.object({ + type: VenueType$outboundSchema, + timeZone: z.string().optional(), + brand: z.string().optional(), + chainScale: ChainScale$outboundSchema.optional(), + mainPhoneNumber: z.string(), + mainFaxNumber: z.string(), + salesPhoneNumber: z.string().optional(), + salesFaxNumber: z.string().optional(), + tollFreeNumber: z.string().optional(), + websiteAddress: z.string().optional(), + currency: Currency$outboundSchema.optional(), + openingDate: z.string().optional(), + description: z.string().optional(), + additionalInformation: z.string().optional(), + cancellationPolicy: z.string().optional(), + locationTypes: z.array(LocationType$outboundSchema).optional(), + address: AddressInfo$outboundSchema, +}); + +export function existingVenueDetailsInputToJSON( + existingVenueDetailsInput: ExistingVenueDetailsInput, +): string { + return JSON.stringify( + ExistingVenueDetailsInput$outboundSchema.parse(existingVenueDetailsInput), + ); +} diff --git a/packages/typescript/src/models/components/existingvenuefacility.ts b/packages/typescript/src/models/components/existingvenuefacility.ts new file mode 100644 index 000000000..781e32575 --- /dev/null +++ b/packages/typescript/src/models/components/existingvenuefacility.ts @@ -0,0 +1,669 @@ +/* + * 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 { + DistanceMeasurementUnit, + DistanceMeasurementUnit$inboundSchema, + DistanceMeasurementUnit$outboundSchema, +} from "./distancemeasurementunit.js"; +import { + EventInsurance, + EventInsurance$inboundSchema, + EventInsurance$outboundSchema, +} from "./eventinsurance.js"; +import { + MeasurementUnit, + MeasurementUnit$inboundSchema, + MeasurementUnit$outboundSchema, +} from "./measurementunit.js"; + +/** + * Facility space measurements at the venue. + */ +export type ExistingVenueFacilitySpace = { + /** + * Unit of measurement for area or space. + * + * @remarks + * + * Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ + unitOfMeasurement?: MeasurementUnit | undefined; + /** + * Total meeting room space at the venue. + */ + totalMeetingRoomSpace?: number | undefined; + /** + * Total exhibit space at the venue. + */ + totalExhibitSpace?: number | undefined; +}; + +/** + * Sleeping room inventory at the venue. + */ +export type ExistingVenueFacilitySleeping = { + /** + * Total number of sleeping rooms at the venue. + */ + totalRooms?: number | undefined; + /** + * Total number of suites at the venue. + */ + suites?: number | undefined; + /** + * Total number of single-occupancy rooms at the venue. + */ + singleRooms?: number | undefined; + /** + * Total number of double-occupancy rooms at the venue. + */ + doubleRooms?: number | undefined; +}; + +/** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ +export type ExistingVenueFacilitySingleRate = { + /** + * Lowest published rate for a single-occupancy room. + */ + low?: number | undefined; + /** + * Highest published rate for a single-occupancy room. + */ + high?: number | undefined; +}; + +/** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ +export type ExistingVenueFacilityDoubleRate = { + /** + * Lowest published rate for a double-occupancy room. + */ + low?: number | undefined; + /** + * Highest published rate for a double-occupancy room. + */ + high?: number | undefined; +}; + +/** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ +export type ExistingVenueFacilityProximityFromAirport = { + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + distance?: number | undefined; + /** + * Unit of measurement for distance. + * + * @remarks + * + * Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ + unit?: DistanceMeasurementUnit | undefined; +}; + +/** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ +export type ExistingVenueFacilityMaximumCapacity = { + /** + * Maximum seated capacity at the venue. + */ + seated?: number | undefined; + /** + * Maximum standing capacity at the venue. + */ + standing?: number | undefined; +}; + +/** + * An existing venue facility model with read-only generated properties. + */ +export type ExistingVenueFacility = { + /** + * The ISO 8601 zoned date time when this record was created. + */ + created?: Date | undefined; + /** + * The identifier of the user that created this record. + */ + createdBy?: string | undefined; + /** + * The ISO 8601 zoned date time when this record was updated. + */ + lastModified?: Date | undefined; + /** + * The identifier of the user that last updated this record. + */ + lastModifiedBy?: string | undefined; + /** + * Total number of meeting rooms at the venue. + */ + numberOfMeetingRooms?: number | undefined; + /** + * Facility space measurements at the venue. + */ + space?: ExistingVenueFacilitySpace | undefined; + /** + * Sleeping room inventory at the venue. + */ + sleeping?: ExistingVenueFacilitySleeping | undefined; + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + singleRate?: ExistingVenueFacilitySingleRate | undefined; + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + doubleRate?: ExistingVenueFacilityDoubleRate | undefined; + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + taxRate?: number | undefined; + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + occupancyRate?: number | undefined; + /** + * Four-digit year the venue was built. + */ + yearBuilt?: number | undefined; + /** + * Four-digit year the venue was last renovated. + */ + yearRenovated?: number | undefined; + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + proximityFromAirport?: ExistingVenueFacilityProximityFromAirport | undefined; + /** + * Free-form description of any facility restrictions at the venue. + */ + restrictions?: string | undefined; + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + maximumCapacity?: ExistingVenueFacilityMaximumCapacity | undefined; + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + eventInsurance?: EventInsurance | undefined; + /** + * Venue ID. + */ + id: string; + /** + * Venue name. + */ + name: string; +}; + +/** + * An existing venue facility model with read-only generated properties. + */ +export type ExistingVenueFacilityInput = { + /** + * Total number of meeting rooms at the venue. + */ + numberOfMeetingRooms?: number | undefined; + /** + * Facility space measurements at the venue. + */ + space?: ExistingVenueFacilitySpace | undefined; + /** + * Sleeping room inventory at the venue. + */ + sleeping?: ExistingVenueFacilitySleeping | undefined; + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + singleRate?: ExistingVenueFacilitySingleRate | undefined; + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + doubleRate?: ExistingVenueFacilityDoubleRate | undefined; + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + taxRate?: number | undefined; + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + occupancyRate?: number | undefined; + /** + * Four-digit year the venue was built. + */ + yearBuilt?: number | undefined; + /** + * Four-digit year the venue was last renovated. + */ + yearRenovated?: number | undefined; + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + proximityFromAirport?: ExistingVenueFacilityProximityFromAirport | undefined; + /** + * Free-form description of any facility restrictions at the venue. + */ + restrictions?: string | undefined; + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + maximumCapacity?: ExistingVenueFacilityMaximumCapacity | undefined; + /** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ + eventInsurance?: EventInsurance | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilitySpace$inboundSchema: z.ZodType< + ExistingVenueFacilitySpace, + z.ZodTypeDef, + unknown +> = z.object({ + unitOfMeasurement: MeasurementUnit$inboundSchema.optional(), + totalMeetingRoomSpace: z.number().int().optional(), + totalExhibitSpace: z.number().int().optional(), +}); +/** @internal */ +export type ExistingVenueFacilitySpace$Outbound = { + unitOfMeasurement?: string | undefined; + totalMeetingRoomSpace?: number | undefined; + totalExhibitSpace?: number | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilitySpace$outboundSchema: z.ZodType< + ExistingVenueFacilitySpace$Outbound, + z.ZodTypeDef, + ExistingVenueFacilitySpace +> = z.object({ + unitOfMeasurement: MeasurementUnit$outboundSchema.optional(), + totalMeetingRoomSpace: z.number().int().optional(), + totalExhibitSpace: z.number().int().optional(), +}); + +export function existingVenueFacilitySpaceToJSON( + existingVenueFacilitySpace: ExistingVenueFacilitySpace, +): string { + return JSON.stringify( + ExistingVenueFacilitySpace$outboundSchema.parse(existingVenueFacilitySpace), + ); +} +export function existingVenueFacilitySpaceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingVenueFacilitySpace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueFacilitySpace' from JSON`, + ); +} + +/** @internal */ +export const ExistingVenueFacilitySleeping$inboundSchema: z.ZodType< + ExistingVenueFacilitySleeping, + z.ZodTypeDef, + unknown +> = z.object({ + totalRooms: z.number().int().optional(), + suites: z.number().int().optional(), + singleRooms: z.number().int().optional(), + doubleRooms: z.number().int().optional(), +}); +/** @internal */ +export type ExistingVenueFacilitySleeping$Outbound = { + totalRooms?: number | undefined; + suites?: number | undefined; + singleRooms?: number | undefined; + doubleRooms?: number | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilitySleeping$outboundSchema: z.ZodType< + ExistingVenueFacilitySleeping$Outbound, + z.ZodTypeDef, + ExistingVenueFacilitySleeping +> = z.object({ + totalRooms: z.number().int().optional(), + suites: z.number().int().optional(), + singleRooms: z.number().int().optional(), + doubleRooms: z.number().int().optional(), +}); + +export function existingVenueFacilitySleepingToJSON( + existingVenueFacilitySleeping: ExistingVenueFacilitySleeping, +): string { + return JSON.stringify( + ExistingVenueFacilitySleeping$outboundSchema.parse( + existingVenueFacilitySleeping, + ), + ); +} +export function existingVenueFacilitySleepingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingVenueFacilitySleeping$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueFacilitySleeping' from JSON`, + ); +} + +/** @internal */ +export const ExistingVenueFacilitySingleRate$inboundSchema: z.ZodType< + ExistingVenueFacilitySingleRate, + z.ZodTypeDef, + unknown +> = z.object({ + low: z.number().optional(), + high: z.number().optional(), +}); +/** @internal */ +export type ExistingVenueFacilitySingleRate$Outbound = { + low?: number | undefined; + high?: number | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilitySingleRate$outboundSchema: z.ZodType< + ExistingVenueFacilitySingleRate$Outbound, + z.ZodTypeDef, + ExistingVenueFacilitySingleRate +> = z.object({ + low: z.number().optional(), + high: z.number().optional(), +}); + +export function existingVenueFacilitySingleRateToJSON( + existingVenueFacilitySingleRate: ExistingVenueFacilitySingleRate, +): string { + return JSON.stringify( + ExistingVenueFacilitySingleRate$outboundSchema.parse( + existingVenueFacilitySingleRate, + ), + ); +} +export function existingVenueFacilitySingleRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingVenueFacilitySingleRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueFacilitySingleRate' from JSON`, + ); +} + +/** @internal */ +export const ExistingVenueFacilityDoubleRate$inboundSchema: z.ZodType< + ExistingVenueFacilityDoubleRate, + z.ZodTypeDef, + unknown +> = z.object({ + low: z.number().optional(), + high: z.number().optional(), +}); +/** @internal */ +export type ExistingVenueFacilityDoubleRate$Outbound = { + low?: number | undefined; + high?: number | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilityDoubleRate$outboundSchema: z.ZodType< + ExistingVenueFacilityDoubleRate$Outbound, + z.ZodTypeDef, + ExistingVenueFacilityDoubleRate +> = z.object({ + low: z.number().optional(), + high: z.number().optional(), +}); + +export function existingVenueFacilityDoubleRateToJSON( + existingVenueFacilityDoubleRate: ExistingVenueFacilityDoubleRate, +): string { + return JSON.stringify( + ExistingVenueFacilityDoubleRate$outboundSchema.parse( + existingVenueFacilityDoubleRate, + ), + ); +} +export function existingVenueFacilityDoubleRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingVenueFacilityDoubleRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueFacilityDoubleRate' from JSON`, + ); +} + +/** @internal */ +export const ExistingVenueFacilityProximityFromAirport$inboundSchema: z.ZodType< + ExistingVenueFacilityProximityFromAirport, + z.ZodTypeDef, + unknown +> = z.object({ + distance: z.number().optional(), + unit: DistanceMeasurementUnit$inboundSchema.optional(), +}); +/** @internal */ +export type ExistingVenueFacilityProximityFromAirport$Outbound = { + distance?: number | undefined; + unit?: string | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilityProximityFromAirport$outboundSchema: + z.ZodType< + ExistingVenueFacilityProximityFromAirport$Outbound, + z.ZodTypeDef, + ExistingVenueFacilityProximityFromAirport + > = z.object({ + distance: z.number().optional(), + unit: DistanceMeasurementUnit$outboundSchema.optional(), + }); + +export function existingVenueFacilityProximityFromAirportToJSON( + existingVenueFacilityProximityFromAirport: + ExistingVenueFacilityProximityFromAirport, +): string { + return JSON.stringify( + ExistingVenueFacilityProximityFromAirport$outboundSchema.parse( + existingVenueFacilityProximityFromAirport, + ), + ); +} +export function existingVenueFacilityProximityFromAirportFromJSON( + jsonString: string, +): SafeParseResult< + ExistingVenueFacilityProximityFromAirport, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + ExistingVenueFacilityProximityFromAirport$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'ExistingVenueFacilityProximityFromAirport' from JSON`, + ); +} + +/** @internal */ +export const ExistingVenueFacilityMaximumCapacity$inboundSchema: z.ZodType< + ExistingVenueFacilityMaximumCapacity, + z.ZodTypeDef, + unknown +> = z.object({ + seated: z.number().int().optional(), + standing: z.number().int().optional(), +}); +/** @internal */ +export type ExistingVenueFacilityMaximumCapacity$Outbound = { + seated?: number | undefined; + standing?: number | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilityMaximumCapacity$outboundSchema: z.ZodType< + ExistingVenueFacilityMaximumCapacity$Outbound, + z.ZodTypeDef, + ExistingVenueFacilityMaximumCapacity +> = z.object({ + seated: z.number().int().optional(), + standing: z.number().int().optional(), +}); + +export function existingVenueFacilityMaximumCapacityToJSON( + existingVenueFacilityMaximumCapacity: ExistingVenueFacilityMaximumCapacity, +): string { + return JSON.stringify( + ExistingVenueFacilityMaximumCapacity$outboundSchema.parse( + existingVenueFacilityMaximumCapacity, + ), + ); +} +export function existingVenueFacilityMaximumCapacityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ExistingVenueFacilityMaximumCapacity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueFacilityMaximumCapacity' from JSON`, + ); +} + +/** @internal */ +export const ExistingVenueFacility$inboundSchema: z.ZodType< + ExistingVenueFacility, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + createdBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + numberOfMeetingRooms: z.number().int().optional(), + space: z.lazy(() => ExistingVenueFacilitySpace$inboundSchema).optional(), + sleeping: z.lazy(() => ExistingVenueFacilitySleeping$inboundSchema) + .optional(), + singleRate: z.lazy(() => ExistingVenueFacilitySingleRate$inboundSchema) + .optional(), + doubleRate: z.lazy(() => ExistingVenueFacilityDoubleRate$inboundSchema) + .optional(), + taxRate: z.number().optional(), + occupancyRate: z.number().optional(), + yearBuilt: z.number().int().optional(), + yearRenovated: z.number().int().optional(), + proximityFromAirport: z.lazy(() => + ExistingVenueFacilityProximityFromAirport$inboundSchema + ).optional(), + restrictions: z.string().optional(), + maximumCapacity: z.lazy(() => + ExistingVenueFacilityMaximumCapacity$inboundSchema + ).optional(), + eventInsurance: EventInsurance$inboundSchema.optional(), + id: z.string(), + name: z.string(), +}); + +export function existingVenueFacilityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingVenueFacility$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueFacility' from JSON`, + ); +} + +/** @internal */ +export type ExistingVenueFacilityInput$Outbound = { + numberOfMeetingRooms?: number | undefined; + space?: ExistingVenueFacilitySpace$Outbound | undefined; + sleeping?: ExistingVenueFacilitySleeping$Outbound | undefined; + singleRate?: ExistingVenueFacilitySingleRate$Outbound | undefined; + doubleRate?: ExistingVenueFacilityDoubleRate$Outbound | undefined; + taxRate?: number | undefined; + occupancyRate?: number | undefined; + yearBuilt?: number | undefined; + yearRenovated?: number | undefined; + proximityFromAirport?: + | ExistingVenueFacilityProximityFromAirport$Outbound + | undefined; + restrictions?: string | undefined; + maximumCapacity?: ExistingVenueFacilityMaximumCapacity$Outbound | undefined; + eventInsurance?: string | undefined; +}; + +/** @internal */ +export const ExistingVenueFacilityInput$outboundSchema: z.ZodType< + ExistingVenueFacilityInput$Outbound, + z.ZodTypeDef, + ExistingVenueFacilityInput +> = z.object({ + numberOfMeetingRooms: z.number().int().optional(), + space: z.lazy(() => ExistingVenueFacilitySpace$outboundSchema).optional(), + sleeping: z.lazy(() => ExistingVenueFacilitySleeping$outboundSchema) + .optional(), + singleRate: z.lazy(() => ExistingVenueFacilitySingleRate$outboundSchema) + .optional(), + doubleRate: z.lazy(() => ExistingVenueFacilityDoubleRate$outboundSchema) + .optional(), + taxRate: z.number().optional(), + occupancyRate: z.number().optional(), + yearBuilt: z.number().int().optional(), + yearRenovated: z.number().int().optional(), + proximityFromAirport: z.lazy(() => + ExistingVenueFacilityProximityFromAirport$outboundSchema + ).optional(), + restrictions: z.string().optional(), + maximumCapacity: z.lazy(() => + ExistingVenueFacilityMaximumCapacity$outboundSchema + ).optional(), + eventInsurance: EventInsurance$outboundSchema.optional(), +}); + +export function existingVenueFacilityInputToJSON( + existingVenueFacilityInput: ExistingVenueFacilityInput, +): string { + return JSON.stringify( + ExistingVenueFacilityInput$outboundSchema.parse(existingVenueFacilityInput), + ); +} diff --git a/packages/typescript/src/models/components/externalactivitiesadditionalfieldsmetadatajson.ts b/packages/typescript/src/models/components/externalactivitiesadditionalfieldsmetadatajson.ts deleted file mode 100644 index 2a1a94f4c..000000000 --- a/packages/typescript/src/models/components/externalactivitiesadditionalfieldsmetadatajson.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Additional fields metadata for an external activity. - */ -export type ExternalActivitiesAdditionalFieldsMetadataJson = { - /** - * The name of the additional field. - */ - name: string; - /** - * Description of the additional field. - */ - description?: string | undefined; -}; - -/** @internal */ -export const ExternalActivitiesAdditionalFieldsMetadataJson$inboundSchema: - z.ZodType< - ExternalActivitiesAdditionalFieldsMetadataJson, - z.ZodTypeDef, - unknown - > = z.object({ - name: z.string(), - description: z.string().optional(), - }); -/** @internal */ -export type ExternalActivitiesAdditionalFieldsMetadataJson$Outbound = { - name: string; - description?: string | undefined; -}; - -/** @internal */ -export const ExternalActivitiesAdditionalFieldsMetadataJson$outboundSchema: - z.ZodType< - ExternalActivitiesAdditionalFieldsMetadataJson$Outbound, - z.ZodTypeDef, - ExternalActivitiesAdditionalFieldsMetadataJson - > = z.object({ - name: z.string(), - description: z.string().optional(), - }); - -export function externalActivitiesAdditionalFieldsMetadataJsonToJSON( - externalActivitiesAdditionalFieldsMetadataJson: - ExternalActivitiesAdditionalFieldsMetadataJson, -): string { - return JSON.stringify( - ExternalActivitiesAdditionalFieldsMetadataJson$outboundSchema.parse( - externalActivitiesAdditionalFieldsMetadataJson, - ), - ); -} -export function externalActivitiesAdditionalFieldsMetadataJsonFromJSON( - jsonString: string, -): SafeParseResult< - ExternalActivitiesAdditionalFieldsMetadataJson, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - ExternalActivitiesAdditionalFieldsMetadataJson$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'ExternalActivitiesAdditionalFieldsMetadataJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/externalactivity.ts b/packages/typescript/src/models/components/externalactivity.ts index 6710c9484..209ed1460 100644 --- a/packages/typescript/src/models/components/externalactivity.ts +++ b/packages/typescript/src/models/components/externalactivity.ts @@ -7,18 +7,18 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - EventActivityDetailsJson, - EventActivityDetailsJson$inboundSchema, -} from "./eventactivitydetailsjson.js"; + EventActivityDetail, + EventActivityDetail$inboundSchema, +} from "./eventactivitydetail.js"; import { - ExternalActivityDataJson, - ExternalActivityDataJson$inboundSchema, -} from "./externalactivitydatajson.js"; + ExternalActivityData, + ExternalActivityData$inboundSchema, +} from "./externalactivitydata.js"; import { - ExternalActivityTypeJson, - ExternalActivityTypeJson$inboundSchema, -} from "./externalactivitytypejson.js"; -import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; + ExternalActivityType, + ExternalActivityType$inboundSchema, +} from "./externalactivitytype.js"; +import { Uuid, Uuid$inboundSchema } from "./uuid.js"; /** * An external attendee activity. @@ -31,11 +31,11 @@ export type ExternalActivity = { /** * The reference to the related entity. Contains only the ID of the related entity. */ - attendee: UuidJson; + attendee: Uuid; /** * Details for an event activity. */ - event: EventActivityDetailsJson; + event: EventActivityDetail; /** * ISO 8601 date and time when this attendee activity occurred. */ @@ -51,11 +51,11 @@ export type ExternalActivity = { /** * This is used to denote the type of the external attendee activity. */ - type: ExternalActivityTypeJson; + type: ExternalActivityType; /** * This is used to denote the type of the external attendee activity. */ - data: ExternalActivityDataJson; + data: ExternalActivityData; }; /** @internal */ @@ -65,15 +65,15 @@ export const ExternalActivity$inboundSchema: z.ZodType< unknown > = z.object({ id: z.string().optional(), - attendee: UuidJson$inboundSchema, - event: EventActivityDetailsJson$inboundSchema, + attendee: Uuid$inboundSchema, + event: EventActivityDetail$inboundSchema, time: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), created: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), name: z.string(), - type: ExternalActivityTypeJson$inboundSchema, - data: ExternalActivityDataJson$inboundSchema, + type: ExternalActivityType$inboundSchema, + data: ExternalActivityData$inboundSchema, }); export function externalActivityFromJSON( diff --git a/packages/typescript/src/models/components/externalactivityadditionalfieldsmetadata.ts b/packages/typescript/src/models/components/externalactivityadditionalfieldsmetadata.ts new file mode 100644 index 000000000..d3dafdeb9 --- /dev/null +++ b/packages/typescript/src/models/components/externalactivityadditionalfieldsmetadata.ts @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Additional fields metadata for an external activity. + */ +export type ExternalActivityAdditionalFieldsMetadata = { + /** + * The name of the additional field. + */ + name: string; + /** + * Description of the additional field. + */ + description?: string | undefined; +}; + +/** @internal */ +export const ExternalActivityAdditionalFieldsMetadata$inboundSchema: z.ZodType< + ExternalActivityAdditionalFieldsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + description: z.string().optional(), +}); +/** @internal */ +export type ExternalActivityAdditionalFieldsMetadata$Outbound = { + name: string; + description?: string | undefined; +}; + +/** @internal */ +export const ExternalActivityAdditionalFieldsMetadata$outboundSchema: z.ZodType< + ExternalActivityAdditionalFieldsMetadata$Outbound, + z.ZodTypeDef, + ExternalActivityAdditionalFieldsMetadata +> = z.object({ + name: z.string(), + description: z.string().optional(), +}); + +export function externalActivityAdditionalFieldsMetadataToJSON( + externalActivityAdditionalFieldsMetadata: + ExternalActivityAdditionalFieldsMetadata, +): string { + return JSON.stringify( + ExternalActivityAdditionalFieldsMetadata$outboundSchema.parse( + externalActivityAdditionalFieldsMetadata, + ), + ); +} +export function externalActivityAdditionalFieldsMetadataFromJSON( + jsonString: string, +): SafeParseResult< + ExternalActivityAdditionalFieldsMetadata, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + ExternalActivityAdditionalFieldsMetadata$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'ExternalActivityAdditionalFieldsMetadata' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/externalactivitydata.ts b/packages/typescript/src/models/components/externalactivitydata.ts new file mode 100644 index 000000000..5d32b046c --- /dev/null +++ b/packages/typescript/src/models/components/externalactivitydata.ts @@ -0,0 +1,341 @@ +/* + * 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"; + +/** + * Additional fields for external activities. + */ +export type ExternalActivityDataExhibitorExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * Additional fields for external activities. + */ +export type ExternalActivityDataAppointmentExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * Additional fields for external activities. + */ +export type ExternalActivityDataSessionExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * Additional fields for external activities. + */ +export type ExternalActivityDataEventExternal = { + /** + * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor + */ + id: string; + /** + * The ISO 8601 zoned date time when the external activity was created. + */ + externalActivityDate: Date; + /** + * Additional fields provided for the external attendee activity + */ + additionalFields?: { [k: string]: string } | undefined; +}; + +/** + * This is used to denote the type of the external attendee activity. + */ +export type ExternalActivityData = + | ExternalActivityDataEventExternal + | ExternalActivityDataSessionExternal + | ExternalActivityDataAppointmentExternal + | ExternalActivityDataExhibitorExternal; + +/** @internal */ +export const ExternalActivityDataExhibitorExternal$inboundSchema: z.ZodType< + ExternalActivityDataExhibitorExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); +/** @internal */ +export type ExternalActivityDataExhibitorExternal$Outbound = { + id: string; + externalActivityDate: string; + additionalFields?: { [k: string]: string } | undefined; +}; + +/** @internal */ +export const ExternalActivityDataExhibitorExternal$outboundSchema: z.ZodType< + ExternalActivityDataExhibitorExternal$Outbound, + z.ZodTypeDef, + ExternalActivityDataExhibitorExternal +> = z.object({ + id: z.string(), + externalActivityDate: z.date().transform(v => v.toISOString()), + additionalFields: z.record(z.string()).optional(), +}); + +export function externalActivityDataExhibitorExternalToJSON( + externalActivityDataExhibitorExternal: ExternalActivityDataExhibitorExternal, +): string { + return JSON.stringify( + ExternalActivityDataExhibitorExternal$outboundSchema.parse( + externalActivityDataExhibitorExternal, + ), + ); +} +export function externalActivityDataExhibitorExternalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ExternalActivityDataExhibitorExternal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExternalActivityDataExhibitorExternal' from JSON`, + ); +} + +/** @internal */ +export const ExternalActivityDataAppointmentExternal$inboundSchema: z.ZodType< + ExternalActivityDataAppointmentExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); +/** @internal */ +export type ExternalActivityDataAppointmentExternal$Outbound = { + id: string; + externalActivityDate: string; + additionalFields?: { [k: string]: string } | undefined; +}; + +/** @internal */ +export const ExternalActivityDataAppointmentExternal$outboundSchema: z.ZodType< + ExternalActivityDataAppointmentExternal$Outbound, + z.ZodTypeDef, + ExternalActivityDataAppointmentExternal +> = z.object({ + id: z.string(), + externalActivityDate: z.date().transform(v => v.toISOString()), + additionalFields: z.record(z.string()).optional(), +}); + +export function externalActivityDataAppointmentExternalToJSON( + externalActivityDataAppointmentExternal: + ExternalActivityDataAppointmentExternal, +): string { + return JSON.stringify( + ExternalActivityDataAppointmentExternal$outboundSchema.parse( + externalActivityDataAppointmentExternal, + ), + ); +} +export function externalActivityDataAppointmentExternalFromJSON( + jsonString: string, +): SafeParseResult< + ExternalActivityDataAppointmentExternal, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + ExternalActivityDataAppointmentExternal$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'ExternalActivityDataAppointmentExternal' from JSON`, + ); +} + +/** @internal */ +export const ExternalActivityDataSessionExternal$inboundSchema: z.ZodType< + ExternalActivityDataSessionExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); +/** @internal */ +export type ExternalActivityDataSessionExternal$Outbound = { + id: string; + externalActivityDate: string; + additionalFields?: { [k: string]: string } | undefined; +}; + +/** @internal */ +export const ExternalActivityDataSessionExternal$outboundSchema: z.ZodType< + ExternalActivityDataSessionExternal$Outbound, + z.ZodTypeDef, + ExternalActivityDataSessionExternal +> = z.object({ + id: z.string(), + externalActivityDate: z.date().transform(v => v.toISOString()), + additionalFields: z.record(z.string()).optional(), +}); + +export function externalActivityDataSessionExternalToJSON( + externalActivityDataSessionExternal: ExternalActivityDataSessionExternal, +): string { + return JSON.stringify( + ExternalActivityDataSessionExternal$outboundSchema.parse( + externalActivityDataSessionExternal, + ), + ); +} +export function externalActivityDataSessionExternalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ExternalActivityDataSessionExternal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExternalActivityDataSessionExternal' from JSON`, + ); +} + +/** @internal */ +export const ExternalActivityDataEventExternal$inboundSchema: z.ZodType< + ExternalActivityDataEventExternal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + externalActivityDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + additionalFields: z.record(z.string()).optional(), +}); +/** @internal */ +export type ExternalActivityDataEventExternal$Outbound = { + id: string; + externalActivityDate: string; + additionalFields?: { [k: string]: string } | undefined; +}; + +/** @internal */ +export const ExternalActivityDataEventExternal$outboundSchema: z.ZodType< + ExternalActivityDataEventExternal$Outbound, + z.ZodTypeDef, + ExternalActivityDataEventExternal +> = z.object({ + id: z.string(), + externalActivityDate: z.date().transform(v => v.toISOString()), + additionalFields: z.record(z.string()).optional(), +}); + +export function externalActivityDataEventExternalToJSON( + externalActivityDataEventExternal: ExternalActivityDataEventExternal, +): string { + return JSON.stringify( + ExternalActivityDataEventExternal$outboundSchema.parse( + externalActivityDataEventExternal, + ), + ); +} +export function externalActivityDataEventExternalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExternalActivityDataEventExternal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExternalActivityDataEventExternal' from JSON`, + ); +} + +/** @internal */ +export const ExternalActivityData$inboundSchema: z.ZodType< + ExternalActivityData, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ExternalActivityDataEventExternal$inboundSchema), + z.lazy(() => ExternalActivityDataSessionExternal$inboundSchema), + z.lazy(() => ExternalActivityDataAppointmentExternal$inboundSchema), + z.lazy(() => ExternalActivityDataExhibitorExternal$inboundSchema), +]); +/** @internal */ +export type ExternalActivityData$Outbound = + | ExternalActivityDataEventExternal$Outbound + | ExternalActivityDataSessionExternal$Outbound + | ExternalActivityDataAppointmentExternal$Outbound + | ExternalActivityDataExhibitorExternal$Outbound; + +/** @internal */ +export const ExternalActivityData$outboundSchema: z.ZodType< + ExternalActivityData$Outbound, + z.ZodTypeDef, + ExternalActivityData +> = z.union([ + z.lazy(() => ExternalActivityDataEventExternal$outboundSchema), + z.lazy(() => ExternalActivityDataSessionExternal$outboundSchema), + z.lazy(() => ExternalActivityDataAppointmentExternal$outboundSchema), + z.lazy(() => ExternalActivityDataExhibitorExternal$outboundSchema), +]); + +export function externalActivityDataToJSON( + externalActivityData: ExternalActivityData, +): string { + return JSON.stringify( + ExternalActivityData$outboundSchema.parse(externalActivityData), + ); +} +export function externalActivityDataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExternalActivityData$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExternalActivityData' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/externalactivitydatajson.ts b/packages/typescript/src/models/components/externalactivitydatajson.ts deleted file mode 100644 index bc44277db..000000000 --- a/packages/typescript/src/models/components/externalactivitydatajson.ts +++ /dev/null @@ -1,357 +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"; - -/** - * Additional fields for external activities. - */ -export type ExternalActivityDataJsonExhibitorExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * Additional fields for external activities. - */ -export type ExternalActivityDataJsonAppointmentExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * Additional fields for external activities. - */ -export type ExternalActivityDataJsonSessionExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * Additional fields for external activities. - */ -export type ExternalActivityDataJsonEventExternal = { - /** - * The identifier to the related entity i.e. Event, Session, Appointment or Exhibitor - */ - id: string; - /** - * The ISO 8601 zoned date time when the external activity was created. - */ - externalActivityDate: Date; - /** - * Additional fields provided for the external attendee activity - */ - additionalFields?: { [k: string]: string } | undefined; -}; - -/** - * This is used to denote the type of the external attendee activity. - */ -export type ExternalActivityDataJson = - | ExternalActivityDataJsonEventExternal - | ExternalActivityDataJsonSessionExternal - | ExternalActivityDataJsonAppointmentExternal - | ExternalActivityDataJsonExhibitorExternal; - -/** @internal */ -export const ExternalActivityDataJsonExhibitorExternal$inboundSchema: z.ZodType< - ExternalActivityDataJsonExhibitorExternal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), -}); -/** @internal */ -export type ExternalActivityDataJsonExhibitorExternal$Outbound = { - id: string; - externalActivityDate: string; - additionalFields?: { [k: string]: string } | undefined; -}; - -/** @internal */ -export const ExternalActivityDataJsonExhibitorExternal$outboundSchema: - z.ZodType< - ExternalActivityDataJsonExhibitorExternal$Outbound, - z.ZodTypeDef, - ExternalActivityDataJsonExhibitorExternal - > = z.object({ - id: z.string(), - externalActivityDate: z.date().transform(v => v.toISOString()), - additionalFields: z.record(z.string()).optional(), - }); - -export function externalActivityDataJsonExhibitorExternalToJSON( - externalActivityDataJsonExhibitorExternal: - ExternalActivityDataJsonExhibitorExternal, -): string { - return JSON.stringify( - ExternalActivityDataJsonExhibitorExternal$outboundSchema.parse( - externalActivityDataJsonExhibitorExternal, - ), - ); -} -export function externalActivityDataJsonExhibitorExternalFromJSON( - jsonString: string, -): SafeParseResult< - ExternalActivityDataJsonExhibitorExternal, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - ExternalActivityDataJsonExhibitorExternal$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'ExternalActivityDataJsonExhibitorExternal' from JSON`, - ); -} - -/** @internal */ -export const ExternalActivityDataJsonAppointmentExternal$inboundSchema: - z.ZodType< - ExternalActivityDataJsonAppointmentExternal, - z.ZodTypeDef, - unknown - > = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), - }); -/** @internal */ -export type ExternalActivityDataJsonAppointmentExternal$Outbound = { - id: string; - externalActivityDate: string; - additionalFields?: { [k: string]: string } | undefined; -}; - -/** @internal */ -export const ExternalActivityDataJsonAppointmentExternal$outboundSchema: - z.ZodType< - ExternalActivityDataJsonAppointmentExternal$Outbound, - z.ZodTypeDef, - ExternalActivityDataJsonAppointmentExternal - > = z.object({ - id: z.string(), - externalActivityDate: z.date().transform(v => v.toISOString()), - additionalFields: z.record(z.string()).optional(), - }); - -export function externalActivityDataJsonAppointmentExternalToJSON( - externalActivityDataJsonAppointmentExternal: - ExternalActivityDataJsonAppointmentExternal, -): string { - return JSON.stringify( - ExternalActivityDataJsonAppointmentExternal$outboundSchema.parse( - externalActivityDataJsonAppointmentExternal, - ), - ); -} -export function externalActivityDataJsonAppointmentExternalFromJSON( - jsonString: string, -): SafeParseResult< - ExternalActivityDataJsonAppointmentExternal, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - ExternalActivityDataJsonAppointmentExternal$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'ExternalActivityDataJsonAppointmentExternal' from JSON`, - ); -} - -/** @internal */ -export const ExternalActivityDataJsonSessionExternal$inboundSchema: z.ZodType< - ExternalActivityDataJsonSessionExternal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), -}); -/** @internal */ -export type ExternalActivityDataJsonSessionExternal$Outbound = { - id: string; - externalActivityDate: string; - additionalFields?: { [k: string]: string } | undefined; -}; - -/** @internal */ -export const ExternalActivityDataJsonSessionExternal$outboundSchema: z.ZodType< - ExternalActivityDataJsonSessionExternal$Outbound, - z.ZodTypeDef, - ExternalActivityDataJsonSessionExternal -> = z.object({ - id: z.string(), - externalActivityDate: z.date().transform(v => v.toISOString()), - additionalFields: z.record(z.string()).optional(), -}); - -export function externalActivityDataJsonSessionExternalToJSON( - externalActivityDataJsonSessionExternal: - ExternalActivityDataJsonSessionExternal, -): string { - return JSON.stringify( - ExternalActivityDataJsonSessionExternal$outboundSchema.parse( - externalActivityDataJsonSessionExternal, - ), - ); -} -export function externalActivityDataJsonSessionExternalFromJSON( - jsonString: string, -): SafeParseResult< - ExternalActivityDataJsonSessionExternal, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - ExternalActivityDataJsonSessionExternal$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'ExternalActivityDataJsonSessionExternal' from JSON`, - ); -} - -/** @internal */ -export const ExternalActivityDataJsonEventExternal$inboundSchema: z.ZodType< - ExternalActivityDataJsonEventExternal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - externalActivityDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - additionalFields: z.record(z.string()).optional(), -}); -/** @internal */ -export type ExternalActivityDataJsonEventExternal$Outbound = { - id: string; - externalActivityDate: string; - additionalFields?: { [k: string]: string } | undefined; -}; - -/** @internal */ -export const ExternalActivityDataJsonEventExternal$outboundSchema: z.ZodType< - ExternalActivityDataJsonEventExternal$Outbound, - z.ZodTypeDef, - ExternalActivityDataJsonEventExternal -> = z.object({ - id: z.string(), - externalActivityDate: z.date().transform(v => v.toISOString()), - additionalFields: z.record(z.string()).optional(), -}); - -export function externalActivityDataJsonEventExternalToJSON( - externalActivityDataJsonEventExternal: ExternalActivityDataJsonEventExternal, -): string { - return JSON.stringify( - ExternalActivityDataJsonEventExternal$outboundSchema.parse( - externalActivityDataJsonEventExternal, - ), - ); -} -export function externalActivityDataJsonEventExternalFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ExternalActivityDataJsonEventExternal$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExternalActivityDataJsonEventExternal' from JSON`, - ); -} - -/** @internal */ -export const ExternalActivityDataJson$inboundSchema: z.ZodType< - ExternalActivityDataJson, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ExternalActivityDataJsonEventExternal$inboundSchema), - z.lazy(() => ExternalActivityDataJsonSessionExternal$inboundSchema), - z.lazy(() => ExternalActivityDataJsonAppointmentExternal$inboundSchema), - z.lazy(() => ExternalActivityDataJsonExhibitorExternal$inboundSchema), -]); -/** @internal */ -export type ExternalActivityDataJson$Outbound = - | ExternalActivityDataJsonEventExternal$Outbound - | ExternalActivityDataJsonSessionExternal$Outbound - | ExternalActivityDataJsonAppointmentExternal$Outbound - | ExternalActivityDataJsonExhibitorExternal$Outbound; - -/** @internal */ -export const ExternalActivityDataJson$outboundSchema: z.ZodType< - ExternalActivityDataJson$Outbound, - z.ZodTypeDef, - ExternalActivityDataJson -> = z.union([ - z.lazy(() => ExternalActivityDataJsonEventExternal$outboundSchema), - z.lazy(() => ExternalActivityDataJsonSessionExternal$outboundSchema), - z.lazy(() => ExternalActivityDataJsonAppointmentExternal$outboundSchema), - z.lazy(() => ExternalActivityDataJsonExhibitorExternal$outboundSchema), -]); - -export function externalActivityDataJsonToJSON( - externalActivityDataJson: ExternalActivityDataJson, -): string { - return JSON.stringify( - ExternalActivityDataJson$outboundSchema.parse(externalActivityDataJson), - ); -} -export function externalActivityDataJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExternalActivityDataJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExternalActivityDataJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/externalactivityinput.ts b/packages/typescript/src/models/components/externalactivityinput.ts index 3931557bb..b57bfd2df 100644 --- a/packages/typescript/src/models/components/externalactivityinput.ts +++ b/packages/typescript/src/models/components/externalactivityinput.ts @@ -4,24 +4,20 @@ import * as z from "zod/v3"; import { - EventActivityDetailsJsonInput, - EventActivityDetailsJsonInput$Outbound, - EventActivityDetailsJsonInput$outboundSchema, -} from "./eventactivitydetailsjsoninput.js"; + EventActivityDetailInput, + EventActivityDetailInput$Outbound, + EventActivityDetailInput$outboundSchema, +} from "./eventactivitydetailinput.js"; import { - ExternalActivityDataJson, - ExternalActivityDataJson$Outbound, - ExternalActivityDataJson$outboundSchema, -} from "./externalactivitydatajson.js"; + ExternalActivityData, + ExternalActivityData$Outbound, + ExternalActivityData$outboundSchema, +} from "./externalactivitydata.js"; import { - ExternalActivityTypeJson, - ExternalActivityTypeJson$outboundSchema, -} from "./externalactivitytypejson.js"; -import { - UuidJson, - UuidJson$Outbound, - UuidJson$outboundSchema, -} from "./uuidjson.js"; + ExternalActivityType, + ExternalActivityType$outboundSchema, +} from "./externalactivitytype.js"; +import { Uuid, Uuid$Outbound, Uuid$outboundSchema } from "./uuid.js"; /** * An external attendee activity. @@ -30,11 +26,11 @@ export type ExternalActivityInput = { /** * The reference to the related entity. Contains only the ID of the related entity. */ - attendee: UuidJson; + attendee: Uuid; /** * Details for an event activity. */ - event: EventActivityDetailsJsonInput; + event: EventActivityDetailInput; /** * Name for the external attendee activity. */ @@ -42,20 +38,20 @@ export type ExternalActivityInput = { /** * This is used to denote the type of the external attendee activity. */ - type: ExternalActivityTypeJson; + type: ExternalActivityType; /** * This is used to denote the type of the external attendee activity. */ - data: ExternalActivityDataJson; + data: ExternalActivityData; }; /** @internal */ export type ExternalActivityInput$Outbound = { - attendee: UuidJson$Outbound; - event: EventActivityDetailsJsonInput$Outbound; + attendee: Uuid$Outbound; + event: EventActivityDetailInput$Outbound; name: string; type: string; - data: ExternalActivityDataJson$Outbound; + data: ExternalActivityData$Outbound; }; /** @internal */ @@ -64,11 +60,11 @@ export const ExternalActivityInput$outboundSchema: z.ZodType< z.ZodTypeDef, ExternalActivityInput > = z.object({ - attendee: UuidJson$outboundSchema, - event: EventActivityDetailsJsonInput$outboundSchema, + attendee: Uuid$outboundSchema, + event: EventActivityDetailInput$outboundSchema, name: z.string(), - type: ExternalActivityTypeJson$outboundSchema, - data: ExternalActivityDataJson$outboundSchema, + type: ExternalActivityType$outboundSchema, + data: ExternalActivityData$outboundSchema, }); export function externalActivityInputToJSON( diff --git a/packages/typescript/src/models/components/externalactivitymetadata.ts b/packages/typescript/src/models/components/externalactivitymetadata.ts index 3150418b5..7891615ba 100644 --- a/packages/typescript/src/models/components/externalactivitymetadata.ts +++ b/packages/typescript/src/models/components/externalactivitymetadata.ts @@ -7,13 +7,13 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ExternalActivitiesAdditionalFieldsMetadataJson, - ExternalActivitiesAdditionalFieldsMetadataJson$inboundSchema, -} from "./externalactivitiesadditionalfieldsmetadatajson.js"; + ExternalActivityAdditionalFieldsMetadata, + ExternalActivityAdditionalFieldsMetadata$inboundSchema, +} from "./externalactivityadditionalfieldsmetadata.js"; import { - ExternalActivityTypeJson, - ExternalActivityTypeJson$inboundSchema, -} from "./externalactivitytypejson.js"; + ExternalActivityType, + ExternalActivityType$inboundSchema, +} from "./externalactivitytype.js"; /** * Metadata for an activity. @@ -42,7 +42,7 @@ export type ExternalActivityMetadata = { /** * This is used to denote the type of the external attendee activity. */ - type: ExternalActivityTypeJson; + type: ExternalActivityType; /** * Name of an external attendee activity. */ @@ -54,7 +54,7 @@ export type ExternalActivityMetadata = { /** * Metadata for the fields. */ - fields?: Array | undefined; + fields?: Array | undefined; }; /** @internal */ @@ -71,10 +71,10 @@ export const ExternalActivityMetadata$inboundSchema: z.ZodType< ).optional(), lastModifiedBy: z.string().optional(), id: z.string().optional(), - type: ExternalActivityTypeJson$inboundSchema, + type: ExternalActivityType$inboundSchema, name: z.string(), description: z.string().optional(), - fields: z.array(ExternalActivitiesAdditionalFieldsMetadataJson$inboundSchema) + fields: z.array(ExternalActivityAdditionalFieldsMetadata$inboundSchema) .optional(), }); diff --git a/packages/typescript/src/models/components/externalactivitymetadatainput.ts b/packages/typescript/src/models/components/externalactivitymetadatainput.ts index b1427a5d8..edc98bc7a 100644 --- a/packages/typescript/src/models/components/externalactivitymetadatainput.ts +++ b/packages/typescript/src/models/components/externalactivitymetadatainput.ts @@ -4,14 +4,14 @@ import * as z from "zod/v3"; import { - ExternalActivitiesAdditionalFieldsMetadataJson, - ExternalActivitiesAdditionalFieldsMetadataJson$Outbound, - ExternalActivitiesAdditionalFieldsMetadataJson$outboundSchema, -} from "./externalactivitiesadditionalfieldsmetadatajson.js"; + ExternalActivityAdditionalFieldsMetadata, + ExternalActivityAdditionalFieldsMetadata$Outbound, + ExternalActivityAdditionalFieldsMetadata$outboundSchema, +} from "./externalactivityadditionalfieldsmetadata.js"; import { - ExternalActivityTypeJson, - ExternalActivityTypeJson$outboundSchema, -} from "./externalactivitytypejson.js"; + ExternalActivityType, + ExternalActivityType$outboundSchema, +} from "./externalactivitytype.js"; /** * Metadata for an activity. @@ -20,7 +20,7 @@ export type ExternalActivityMetadataInput = { /** * This is used to denote the type of the external attendee activity. */ - type: ExternalActivityTypeJson; + type: ExternalActivityType; /** * Name of an external attendee activity. */ @@ -32,7 +32,7 @@ export type ExternalActivityMetadataInput = { /** * Metadata for the fields. */ - fields?: Array | undefined; + fields?: Array | undefined; }; /** @internal */ @@ -40,9 +40,7 @@ export type ExternalActivityMetadataInput$Outbound = { type: string; name: string; description?: string | undefined; - fields?: - | Array - | undefined; + fields?: Array | undefined; }; /** @internal */ @@ -51,10 +49,10 @@ export const ExternalActivityMetadataInput$outboundSchema: z.ZodType< z.ZodTypeDef, ExternalActivityMetadataInput > = z.object({ - type: ExternalActivityTypeJson$outboundSchema, + type: ExternalActivityType$outboundSchema, name: z.string(), description: z.string().optional(), - fields: z.array(ExternalActivitiesAdditionalFieldsMetadataJson$outboundSchema) + fields: z.array(ExternalActivityAdditionalFieldsMetadata$outboundSchema) .optional(), }); diff --git a/packages/typescript/src/models/components/externalactivitymetadatapaginatedresponse.ts b/packages/typescript/src/models/components/externalactivitymetadatapaginatedresponse.ts index bdb7eaced..20c96f50a 100644 --- a/packages/typescript/src/models/components/externalactivitymetadatapaginatedresponse.ts +++ b/packages/typescript/src/models/components/externalactivitymetadatapaginatedresponse.ts @@ -10,7 +10,7 @@ import { ExternalActivityMetadata, ExternalActivityMetadata$inboundSchema, } from "./externalactivitymetadata.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 activities metadata in an account. This includes the paging object as well as the collection of activities metadata in an account. @@ -19,7 +19,7 @@ export type ExternalActivityMetadataPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of external attendee activities metadata in an account. */ @@ -32,7 +32,7 @@ export const ExternalActivityMetadataPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(ExternalActivityMetadata$inboundSchema), }); diff --git a/packages/typescript/src/models/components/externalactivitytype.ts b/packages/typescript/src/models/components/externalactivitytype.ts new file mode 100644 index 000000000..018660eb0 --- /dev/null +++ b/packages/typescript/src/models/components/externalactivitytype.ts @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * This is used to denote the type of the external attendee activity. + */ +export const ExternalActivityType = { + EventExternal: "event.external", + SessionExternal: "session.external", + AppointmentExternal: "appointment.external", + ExhibitorExternal: "exhibitor.external", +} as const; +/** + * This is used to denote the type of the external attendee activity. + */ +export type ExternalActivityType = ClosedEnum; + +/** @internal */ +export const ExternalActivityType$inboundSchema: z.ZodNativeEnum< + typeof ExternalActivityType +> = z.nativeEnum(ExternalActivityType); +/** @internal */ +export const ExternalActivityType$outboundSchema: z.ZodNativeEnum< + typeof ExternalActivityType +> = ExternalActivityType$inboundSchema; diff --git a/packages/typescript/src/models/components/externalactivitytypejson.ts b/packages/typescript/src/models/components/externalactivitytypejson.ts deleted file mode 100644 index e9d197f01..000000000 --- a/packages/typescript/src/models/components/externalactivitytypejson.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote the type of the external attendee activity. - */ -export const ExternalActivityTypeJson = { - EventExternal: "event.external", - SessionExternal: "session.external", - AppointmentExternal: "appointment.external", - ExhibitorExternal: "exhibitor.external", -} as const; -/** - * This is used to denote the type of the external attendee activity. - */ -export type ExternalActivityTypeJson = ClosedEnum< - typeof ExternalActivityTypeJson ->; - -/** @internal */ -export const ExternalActivityTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ExternalActivityTypeJson -> = z.nativeEnum(ExternalActivityTypeJson); -/** @internal */ -export const ExternalActivityTypeJson$outboundSchema: z.ZodNativeEnum< - typeof ExternalActivityTypeJson -> = ExternalActivityTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/housingeventsummarylist.ts b/packages/typescript/src/models/components/housingeventsummarylist.ts index 7fa1265eb..c3083a508 100644 --- a/packages/typescript/src/models/components/housingeventsummarylist.ts +++ b/packages/typescript/src/models/components/housingeventsummarylist.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { ZeroAllOf8, ZeroAllOf8$inboundSchema } from "./zeroallof8.js"; +import { ZeroAllOf6, ZeroAllOf6$inboundSchema } from "./zeroallof6.js"; /** * List of housing events with key information, providing a summarized view of each event. @@ -20,7 +20,7 @@ export type HousingEventSummaryList = { /** * List of housing events with key information, providing a summarized view of each event. */ - data: Array; + data: Array; }; /** @internal */ @@ -30,7 +30,7 @@ export const HousingEventSummaryList$inboundSchema: z.ZodType< unknown > = z.object({ paging: PagingJson$inboundSchema, - data: z.array(ZeroAllOf8$inboundSchema), + data: z.array(ZeroAllOf6$inboundSchema), }); export function housingEventSummaryListFromJSON( diff --git a/packages/typescript/src/models/components/index.ts b/packages/typescript/src/models/components/index.ts index 19a938b0d..91746168e 100644 --- a/packages/typescript/src/models/components/index.ts +++ b/packages/typescript/src/models/components/index.ts @@ -4,19 +4,19 @@ export * from "./accountbudgetitemlistresponsejson.js"; export * from "./accountbudgetitemspaginatedresponse.js"; -export * from "./activityadjson.js"; -export * from "./activityappointmentjson.js"; -export * from "./activitybaseappointmentjson.js"; -export * from "./activitycontactjson.js"; -export * from "./activitydatajson.js"; -export * from "./activityexhibitordocumentjson.js"; -export * from "./activityexhibitorjson.js"; -export * from "./activityexhibitornavigationsourcejson.js"; -export * from "./activityexhibitorsponsorshipleveljson.js"; -export * from "./activityexhibitorweblinkjson.js"; -export * from "./activityjson.js"; -export * from "./activityleadjson.js"; -export * from "./activitytypejson.js"; +export * from "./activityad.js"; +export * from "./activityappointment.js"; +export * from "./activitybaseappointment.js"; +export * from "./activityboothstaff.js"; +export * from "./activitycontact.js"; +export * from "./activitydata.js"; +export * from "./activityexhibitor.js"; +export * from "./activityexhibitordocument.js"; +export * from "./activityexhibitornavigationsource.js"; +export * from "./activityexhibitorsponsorshiplevel.js"; +export * from "./activityexhibitorweblink.js"; +export * from "./activitylead.js"; +export * from "./activitytype.js"; export * from "./additionalchoice.js"; export * from "./additionalchoice1.js"; export * from "./additionalchoicejson.js"; @@ -30,12 +30,13 @@ export * from "./address4.js"; export * from "./address5.js"; export * from "./address6.js"; export * from "./address7.js"; +export * from "./addressinfo.js"; export * from "./addressinput.js"; export * from "./addressjson.js"; export * from "./addressjson1.js"; export * from "./addresstype.js"; export * from "./addresstype1.js"; -export * from "./adlocationjson.js"; +export * from "./adlocation.js"; export * from "./admissionitemspaginatedresponse.js"; export * from "./advancedlogic.js"; export * from "./advancedlogicchoices.js"; @@ -63,13 +64,13 @@ export * from "./alternatetravelpaginatedresponse.js"; export * from "./amenitytype.js"; export * from "./anniversary.js"; export * from "./answer1.js"; -export * from "./answer2.js"; +export * from "./answer21.js"; +export * from "./answer22.js"; export * from "./answerjson.js"; -export * from "./answerjson1.js"; export * from "./answertype.js"; -export * from "./answertype1.js"; +export * from "./answertype11.js"; +export * from "./answertype12.js"; export * from "./answertypejson.js"; -export * from "./answertypejson1.js"; export * from "./appointment1.js"; export * from "./appointmentattendee.js"; export * from "./appointmentattendeepaginatedresponse.js"; @@ -91,6 +92,7 @@ export * from "./appointmenttypecategoryjson.js"; export * from "./appointmenttypejson.js"; export * from "./appointmenttypespaginatedresponse.js"; export * from "./appointmentwithquestions.js"; +export * from "./areameasurement.js"; export * from "./assetlocation.js"; export * from "./assetlocationinput.js"; export * from "./associatedregistrationpathjson.js"; @@ -103,6 +105,7 @@ export * from "./attendee13.js"; export * from "./attendee2.js"; export * from "./attendee3.js"; export * from "./attendeeactivitiespaginatedresponse.js"; +export * from "./attendeeactivity.js"; export * from "./attendeeadd.js"; export * from "./attendeeaddbulkitemeventjson.js"; export * from "./attendeeaddbulkitemjson.js"; @@ -140,7 +143,6 @@ export * from "./attendeeresponsemethod1.js"; export * from "./attendeesignatureresponsejson.js"; export * from "./attendeespaginatedresponse.js"; export * from "./attendeestatus.js"; -export * from "./attendeestatusjson.js"; export * from "./attendeesubscriptionrequest.js"; export * from "./attendeesubscriptionresponse.js"; export * from "./attendeetypeidjson.js"; @@ -177,11 +179,12 @@ export * from "./badgeprintjobspaginatedresponse.js"; export * from "./badgeprintjobstatusjson.js"; export * from "./badgestatus.js"; export * from "./badgetype.js"; -export * from "./bannerlinktargetjson.js"; +export * from "./bannerlinktarget.js"; export * from "./baseaddressjson.js"; -export * from "./baseanswerjson.js"; +export * from "./baseanswer.js"; export * from "./basechoice.js"; -export * from "./basequestionresponsejson.js"; +export * from "./basequestion.js"; +export * from "./basequestionresponse.js"; export * from "./biditemstatustype.js"; export * from "./bidstatustype.js"; export * from "./bidstaytype.js"; @@ -204,14 +207,16 @@ export * from "./budgetallocationspaginatedlistresponse.js"; export * from "./budgetallocationspaginatedresponsejson.js"; export * from "./budgetassociatedregistrantjson.js"; export * from "./budgetassociatedregistrantjsoninput.js"; +export * from "./budgetcategory.js"; export * from "./budgetcategoryjson.js"; export * from "./budgetcategoryjsoninput.js"; export * from "./budgetcostavoidancejson.js"; +export * from "./budgetcostdetail.js"; export * from "./budgetcostdetailjson.js"; -export * from "./budgetcostdetailjson1.js"; export * from "./budgetcostdetailjsoninput.js"; +export * from "./budgetcosttype.js"; export * from "./budgetcosttypejson.js"; -export * from "./budgetestimatejson.js"; +export * from "./budgetestimate.js"; export * from "./budgetgratuityjson.js"; export * from "./budgetgratuityjsoninput.js"; export * from "./budgetitemcustomfieldjson.js"; @@ -222,6 +227,7 @@ export * from "./budgetitemspaginatedresponse.js"; export * from "./budgetrfpjson.js"; export * from "./budgetsavingsdetailjson.js"; export * from "./budgetstatusjson.js"; +export * from "./budgetsubcategory.js"; export * from "./budgetsubcategoryjson.js"; export * from "./budgetsubcategoryjsoninput.js"; export * from "./budgettaxgratuitytypejson.js"; @@ -233,12 +239,12 @@ export * from "./budgetvendorresponsejson.js"; export * from "./budgetvendorspaginatedresponse.js"; export * from "./budgetversionidjson.js"; export * from "./bulkdata.js"; -export * from "./bulkdatapropertyjson.js"; -export * from "./bulkdatarecordjson.js"; +export * from "./bulkdataproperty.js"; +export * from "./bulkdatarecord.js"; export * from "./bulkdatauploadresponse.js"; export * from "./bulkjob.js"; export * from "./bulkjobwithdata.js"; -export * from "./bulkresultjson.js"; +export * from "./bulkresult.js"; export * from "./bulkresultspaginatedresponse.js"; export * from "./businesstype.js"; export * from "./calendar.js"; @@ -268,6 +274,7 @@ export * from "./categoryjson.js"; export * from "./categoryjson1.js"; export * from "./chain.js"; export * from "./chainpaginatedresponse.js"; +export * from "./chainscale.js"; export * from "./channeljson.js"; export * from "./chatactiontypejson.js"; export * from "./chatmessagedetailsjson.js"; @@ -290,16 +297,16 @@ export * from "./communicationlogmessagejson.js"; export * from "./communicationlogmessagepaginatedresponse.js"; export * from "./communicationlogmessagetypejson.js"; export * from "./compliance.js"; -export * from "./compositevaluejson.js"; +export * from "./compositevalue.js"; export * from "./connectionresponse.js"; export * from "./contact.js"; export * from "./contact1.js"; export * from "./contact2.js"; export * from "./contactbulkresponseitem.js"; -export * from "./contactcommonjson.js"; export * from "./contactcreate.js"; export * from "./contactfieldjsoninput.js"; -export * from "./contactfields.js"; +export * from "./contactfields1.js"; +export * from "./contactfields2.js"; export * from "./contactfile.js"; export * from "./contactgroup.js"; export * from "./contactgroupinput.js"; @@ -329,6 +336,7 @@ export * from "./contacttype.js"; export * from "./contacttypejson.js"; export * from "./contacttypepaginatedresponse.js"; export * from "./contactupdate.js"; +export * from "./country.js"; export * from "./countryjson.js"; export * from "./createappointmentrequest.js"; export * from "./createtransactionresponse.js"; @@ -342,6 +350,7 @@ export * from "./creditcardrequestjson.js"; export * from "./creditcardresponsejson.js"; export * from "./creditcardtypejson.js"; export * from "./creditcardtypesjson.js"; +export * from "./currency.js"; export * from "./currencyconversionrate.js"; export * from "./currencyconversionratelistresponsejson.js"; export * from "./currencyconversionratepaginatedresponse.js"; @@ -357,7 +366,7 @@ export * from "./customfieldexpand.js"; export * from "./customfieldjson.js"; export * from "./customfieldjson1.js"; export * from "./customfieldjson2.js"; -export * from "./customfieldschema.js"; +export * from "./customfieldschema1.js"; export * from "./customfieldsjson.js"; export * from "./customfieldspaginatedresponse.js"; export * from "./customfieldtype2.js"; @@ -371,6 +380,7 @@ export * from "./dayofweek.js"; export * from "./device.js"; export * from "./device1.js"; export * from "./devicetype.js"; +export * from "./dimension.js"; export * from "./discountagendaitemspaginatedresponse.js"; export * from "./discountaudiencetype.js"; export * from "./discountcapacity.js"; @@ -383,6 +393,7 @@ export * from "./displayindatatag.js"; export * from "./displaytype.js"; export * from "./displaytype1.js"; export * from "./distancejson.js"; +export * from "./distancemeasurementunit.js"; export * from "./distributionlistinfo.js"; export * from "./distributionlistinfoinput.js"; export * from "./distributionlistsecuritytype.js"; @@ -416,8 +427,8 @@ export * from "./event1.js"; export * from "./event12.js"; export * from "./event2.js"; export * from "./event3.js"; -export * from "./eventactivitydetailsjson.js"; -export * from "./eventactivitydetailsjsoninput.js"; +export * from "./eventactivitydetail.js"; +export * from "./eventactivitydetailinput.js"; export * from "./eventasyncresponse.js"; export * from "./eventasyncstatus.js"; export * from "./eventbudgetcostdetailjson.js"; @@ -436,6 +447,7 @@ export * from "./eventformatjson.js"; export * from "./eventformattype.js"; export * from "./eventid.js"; export * from "./eventinput.js"; +export * from "./eventinsurance.js"; export * from "./eventjson.js"; export * from "./eventjson1.js"; export * from "./eventjson3.js"; @@ -449,10 +461,10 @@ export * from "./eventquestionchoicejson.js"; export * from "./eventquestionchoicesresponse.js"; export * from "./eventquestionjson.js"; export * from "./eventquestionspaginatedresponse.js"; -export * from "./eventroleassignmentjson.js"; +export * from "./eventrole.js"; +export * from "./eventroleassignment.js"; export * from "./eventroleassignmentspaginatedresponse.js"; export * from "./eventroleexpand.js"; -export * from "./eventrolejson.js"; export * from "./eventsecurityleveljson.js"; export * from "./eventstatusjson.js"; export * from "./eventsummaryjson.js"; @@ -475,7 +487,9 @@ export * from "./eventupdate.js"; export * from "./eventupdateinput.js"; export * from "./eventweblinkjson.js"; export * from "./eventweblinkspaginatedresponse.js"; +export * from "./exhibitlayouttype.js"; export * from "./exhibitor.js"; +export * from "./exhibitor1.js"; export * from "./exhibitoradminrequest.js"; export * from "./exhibitoradminresponse.js"; export * from "./exhibitoradminslistresponse.js"; @@ -492,7 +506,6 @@ export * from "./exhibitorcategoryrequest.js"; export * from "./exhibitorcategoryresponse.js"; export * from "./exhibitorid.js"; export * from "./exhibitoridlistresponse.js"; -export * from "./exhibitorjson.js"; export * from "./exhibitorquestionsresponse.js"; export * from "./exhibitorquestiontype.js"; export * from "./exhibitorregistrationpacklistresponse.js"; @@ -519,6 +532,7 @@ export * from "./existingexhibitoranswerinput.js"; export * from "./existingexhibitorquestion.js"; export * from "./existingfile.js"; export * from "./existinghub.js"; +export * from "./existingmeetingroom.js"; export * from "./existingmember.js"; export * from "./existingplayer.js"; export * from "./existingregistrationpathjson.js"; @@ -531,6 +545,9 @@ export * from "./existingspeaker.js"; export * from "./existingspeakercategory.js"; export * from "./existingsponsorshiplevel.js"; export * from "./existingtablewithseats.js"; +export * from "./existingvenuedetails.js"; +export * from "./existingvenuedetailsinput.js"; +export * from "./existingvenuefacility.js"; export * from "./existingvideoresponse.js"; export * from "./existingvideotexttrack.js"; export * from "./existingvideotexttrackinput.js"; @@ -547,14 +564,14 @@ export * from "./expandabletablejson.js"; export * from "./expandairactualquestionanswer.js"; export * from "./expandairrequestquestionanswer.js"; export * from "./expandhotelrequestquestionanswer.js"; -export * from "./externalactivitiesadditionalfieldsmetadatajson.js"; export * from "./externalactivity.js"; -export * from "./externalactivitydatajson.js"; +export * from "./externalactivityadditionalfieldsmetadata.js"; +export * from "./externalactivitydata.js"; export * from "./externalactivityinput.js"; export * from "./externalactivitymetadata.js"; export * from "./externalactivitymetadatainput.js"; export * from "./externalactivitymetadatapaginatedresponse.js"; -export * from "./externalactivitytypejson.js"; +export * from "./externalactivitytype.js"; export * from "./externalcodetypejson.js"; export * from "./externalreference.js"; export * from "./externalreferencetype.js"; @@ -640,13 +657,13 @@ export * from "./largechoicespaginatedresponse.js"; export * from "./launchfeaturetypejson.js"; export * from "./lead.js"; export * from "./lead2.js"; -export * from "./leadobjectjson.js"; +export * from "./leadobject.js"; export * from "./leadqualificationanswers.js"; export * from "./leadqualificationanswerslistresponse.js"; export * from "./leadqualificationquestion.js"; export * from "./leadqualificationquestionslistresponse.js"; -export * from "./leadqualifiedanswerjson.js"; -export * from "./leadqualifiedquestionresponsejson.js"; +export * from "./leadqualifiedanswer.js"; +export * from "./leadqualifiedquestionresponse.js"; export * from "./leadsource.js"; export * from "./leadsourceexpand.js"; export * from "./leadsourcesection.js"; @@ -663,26 +680,35 @@ export * from "./location.js"; export * from "./locationinput.js"; export * from "./locationjson.js"; export * from "./locationspaginatedresponse.js"; +export * from "./locationtype.js"; export * from "./lookup.js"; export * from "./loopingchoicejson.js"; export * from "./managementleveltype1.js"; export * from "./measurementunit.js"; export * from "./meetingrequest.js"; -export * from "./meetingrequestbulkresponseitemjson.js"; -export * from "./meetingrequestcreatejson.js"; -export * from "./meetingrequestcustomfieldjson.js"; -export * from "./meetingrequestdocumentjson.js"; +export * from "./meetingrequestbulkresponseitem.js"; +export * from "./meetingrequestcreate.js"; +export * from "./meetingrequestdocument.js"; export * from "./meetingrequestdocumentpaginatedresponse.js"; -export * from "./meetingrequestdocumentreferencelinkjson.js"; +export * from "./meetingrequestdocumentreferencelink.js"; export * from "./meetingrequestform.js"; export * from "./meetingrequestformpaginatedresponse.js"; export * from "./meetingrequestpaginatedresponse.js"; -export * from "./meetingrequestquestionjson.js"; -export * from "./meetingrequestupdatejson.js"; -export * from "./meetingroomagendaitemtypejson.js"; +export * from "./meetingrequestquestion.js"; +export * from "./meetingrequestquestioninput.js"; +export * from "./meetingrequestupdate.js"; +export * from "./meetingroom.js"; +export * from "./meetingroomagendaitemtype.js"; +export * from "./meetingroomamenity.js"; +export * from "./meetingroomcapacities.js"; +export * from "./meetingroomexhibitcapacity.js"; export * from "./meetingroomjson.js"; -export * from "./meetingroomrequirementjson.js"; -export * from "./meetingroomsetuptypejson.js"; +export * from "./meetingroomoverview.js"; +export * from "./meetingroomrate.js"; +export * from "./meetingroomrequirement.js"; +export * from "./meetingroomseatingcapacity.js"; +export * from "./meetingroomsetuptype.js"; +export * from "./meetingroomsoverviewresponse.js"; export * from "./membershipitemspaginatedresponse.js"; export * from "./messagerecipientresponse.js"; export * from "./messagerecipientspaginatedresponse.js"; @@ -734,6 +760,7 @@ export * from "./participantstatusjson.js"; export * from "./participanttypejson.js"; export * from "./passport.js"; export * from "./passportinput.js"; +export * from "./patchmeetingroom.js"; export * from "./payment.js"; export * from "./paymentinfojson.js"; export * from "./paymentmethod.js"; @@ -759,13 +786,12 @@ export * from "./playerpaginatedresponse.js"; export * from "./playertypejson.js"; export * from "./playertypeproviderjson.js"; export * from "./policyvaluetype.js"; -export * from "./pollresponsejson.js"; +export * from "./pollresponse.js"; export * from "./pricingconfigjson.js"; +export * from "./processform.js"; export * from "./processformexpand.js"; -export * from "./processformjson.js"; -export * from "./processformquestiontypejson.js"; -export * from "./processformsubmissionjson.js"; -export * from "./processformsubmissionquestionjson.js"; +export * from "./processformsubmission.js"; +export * from "./processformsubmissionquestion.js"; export * from "./processformsubmissionspaginatedresponse.js"; export * from "./product1.js"; export * from "./productlinejson.js"; @@ -802,24 +828,26 @@ export * from "./quantityitemresponse.js"; export * from "./quantityitemspaginatedresponse.js"; export * from "./quantityitemupdate.js"; export * from "./question.js"; +export * from "./question2.js"; export * from "./questionclassificationtype.js"; -export * from "./questiondetailjson.js"; +export * from "./questiondetail.js"; export * from "./questionidjson.js"; export * from "./questionjson.js"; export * from "./questionjson1.js"; -export * from "./questionjson2.js"; export * from "./questionpaginatedresponse.js"; +export * from "./questionresponse.js"; export * from "./questionresponsedatatype.js"; export * from "./questionresponseformat.js"; -export * from "./questionresponsejson.js"; export * from "./questionresponsetype.js"; export * from "./questionsection.js"; export * from "./questionspaginatedresponse.js"; export * from "./questionspaginatedresponse1.js"; export * from "./questiontype.js"; +export * from "./questiontype1.js"; +export * from "./questiontype11.js"; export * from "./questiontypejson.js"; export * from "./questiontypejson1.js"; -export * from "./questiontypejson2.js"; +export * from "./rateapplicationtype.js"; export * from "./rateleveltype.js"; export * from "./ratereviewstatustype.js"; export * from "./ratetype.js"; @@ -843,7 +871,6 @@ export * from "./registrationtypepaginatedresponse.js"; export * from "./registrationtypeupdate.js"; export * from "./registrationtypeupdateinput.js"; export * from "./reportingfieldjson.js"; -export * from "./requestedmeetingrequestquestionjson.js"; export * from "./reservationcontactjson.js"; export * from "./reservationguestjsonoutput.js"; export * from "./reservationnightjson.js"; @@ -906,6 +933,7 @@ export * from "./schemeoauth2clientcredentials.js"; export * from "./scoresjson.js"; export * from "./scorespaginatedresponse.js"; export * from "./seatingassignmentexpand.js"; +export * from "./seatinglayouttype.js"; export * from "./seatingpaginatedresponse.js"; export * from "./seatspaginatedresponse.js"; export * from "./seattype.js"; @@ -953,19 +981,19 @@ export * from "./sessionupdate.js"; export * from "./signaturesresponse.js"; export * from "./sleepingroomblockjson.js"; export * from "./sleepingroomjson.js"; -export * from "./sleepingroomrequirementjson.js"; +export * from "./sleepingroomrequirement.js"; export * from "./sleepingroomtypejson.js"; export * from "./socialmedialinks.js"; export * from "./solution.js"; export * from "./solutiontypejson.js"; export * from "./spacearea.js"; export * from "./speaker.js"; +export * from "./speaker1.js"; export * from "./speakercategory1.js"; export * from "./speakercategory2.js"; export * from "./speakercategorypaginatedresponse.js"; export * from "./speakerdocumentpaginatedresponse.js"; export * from "./speakerfile.js"; -export * from "./speakerjson.js"; export * from "./speakerlite.js"; export * from "./speakerlite1.js"; export * from "./speakerpaginatedresponse.js"; @@ -988,6 +1016,7 @@ export * from "./standardsurveyresponseinput.js"; export * from "./standardsurveyresponsespaginatedresponse.js"; export * from "./standardsurveysendemailresponse.js"; export * from "./standardsurveyspaginatedresponse.js"; +export * from "./stateprovince1.js"; export * from "./stateprovincejson.js"; export * from "./statusjson.js"; export * from "./statussummaryjson.js"; @@ -996,7 +1025,7 @@ export * from "./suppliertype.js"; export * from "./surveyauthorjson.js"; export * from "./surveycontactid.js"; export * from "./surveyjson.js"; -export * from "./surveyresponsejson.js"; +export * from "./surveyresponse.js"; export * from "./surveyspaginatedresponse.js"; export * from "./surveystatusjson.js"; export * from "./surveytypejson.js"; @@ -1103,10 +1132,14 @@ export * from "./validtoken.js"; export * from "./venueaddressjson.js"; export * from "./venueaddressjson1.js"; export * from "./venueaddressjsoninput.js"; +export * from "./venuedetailsoverview.js"; +export * from "./venuedetailspatch.js"; +export * from "./venuefacilitypatch.js"; export * from "./venuejson.js"; export * from "./venuejson1.js"; export * from "./venuejsoninput.js"; export * from "./venuesummary.js"; +export * from "./venuetype.js"; export * from "./video1.js"; export * from "./videoassetid.js"; export * from "./videoclip.js"; @@ -1152,8 +1185,6 @@ export * from "./zeroallof3.js"; export * from "./zeroallof4.js"; export * from "./zeroallof5.js"; export * from "./zeroallof6.js"; -export * from "./zeroallof7.js"; -export * from "./zeroallof8.js"; export * from "./zeroanyof.js"; export * from "./zeroinput.js"; export * from "./zerooneof.js"; diff --git a/packages/typescript/src/models/components/leadobject.ts b/packages/typescript/src/models/components/leadobject.ts new file mode 100644 index 000000000..14309690c --- /dev/null +++ b/packages/typescript/src/models/components/leadobject.ts @@ -0,0 +1,105 @@ +/* + * 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"; + +/** + * Booth staff for the lead. + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +export type LeadObjectActivityBoothStaff = { + /** + * The unique identifier of the exhibitor booth staff. + */ + id?: string | undefined; + /** + * The first name of the booth staff that captured the lead. + */ + firstName?: string | undefined; + /** + * The last name of the booth staff that captured the lead. + */ + lastName?: string | undefined; + /** + * The email address of the booth staff that captured the lead. + */ + email?: string | undefined; +}; + +/** + * A Lead + */ +export type LeadObject = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The unique identifier of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + deviceId?: string | undefined; + /** + * Name of the device. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + deviceName?: string | undefined; + /** + * Booth staff for the lead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + boothStaff?: LeadObjectActivityBoothStaff | undefined; +}; + +/** @internal */ +export const LeadObjectActivityBoothStaff$inboundSchema: z.ZodType< + LeadObjectActivityBoothStaff, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + firstName: z.string().optional(), + lastName: z.string().optional(), + email: z.string().optional(), +}); + +export function leadObjectActivityBoothStaffFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadObjectActivityBoothStaff$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadObjectActivityBoothStaff' from JSON`, + ); +} + +/** @internal */ +export const LeadObject$inboundSchema: z.ZodType< + LeadObject, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + deviceId: z.string().optional(), + deviceName: z.string().optional(), + boothStaff: z.lazy(() => LeadObjectActivityBoothStaff$inboundSchema) + .optional(), +}); + +export function leadObjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadObject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadObject' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadobjectjson.ts b/packages/typescript/src/models/components/leadobjectjson.ts deleted file mode 100644 index 08a9cdedb..000000000 --- a/packages/typescript/src/models/components/leadobjectjson.ts +++ /dev/null @@ -1,104 +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"; - -/** - * Booth staff for the lead. - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. - */ -export type ActivityBoothStaff = { - /** - * The unique identifier of the exhibitor booth staff. - */ - id?: string | undefined; - /** - * The first name of the booth staff that captured the lead. - */ - firstName?: string | undefined; - /** - * The last name of the booth staff that captured the lead. - */ - lastName?: string | undefined; - /** - * The email address of the booth staff that captured the lead. - */ - email?: string | undefined; -}; - -/** - * A Lead - */ -export type LeadObjectJson = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The unique identifier of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - deviceId?: string | undefined; - /** - * Name of the device. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - deviceName?: string | undefined; - /** - * Booth staff for the lead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - boothStaff?: ActivityBoothStaff | undefined; -}; - -/** @internal */ -export const ActivityBoothStaff$inboundSchema: z.ZodType< - ActivityBoothStaff, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - firstName: z.string().optional(), - lastName: z.string().optional(), - email: z.string().optional(), -}); - -export function activityBoothStaffFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ActivityBoothStaff$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ActivityBoothStaff' from JSON`, - ); -} - -/** @internal */ -export const LeadObjectJson$inboundSchema: z.ZodType< - LeadObjectJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - deviceId: z.string().optional(), - deviceName: z.string().optional(), - boothStaff: z.lazy(() => ActivityBoothStaff$inboundSchema).optional(), -}); - -export function leadObjectJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadObjectJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadObjectJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/leadqualifiedanswer.ts b/packages/typescript/src/models/components/leadqualifiedanswer.ts new file mode 100644 index 000000000..25d3c19fe --- /dev/null +++ b/packages/typescript/src/models/components/leadqualifiedanswer.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * A question answer. + */ +export type LeadQualifiedAnswer = { + /** + * The unique identifier of the question. + */ + id?: string | undefined; + /** + * Question text. + */ + text?: string | undefined; + /** + * Data type of an answer. + */ + type?: string | undefined; +}; + +/** @internal */ +export const LeadQualifiedAnswer$inboundSchema: z.ZodType< + LeadQualifiedAnswer, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), + type: z.string().optional(), +}); + +export function leadQualifiedAnswerFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadQualifiedAnswer$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadQualifiedAnswer' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadqualifiedanswerjson.ts b/packages/typescript/src/models/components/leadqualifiedanswerjson.ts deleted file mode 100644 index f779dea8b..000000000 --- a/packages/typescript/src/models/components/leadqualifiedanswerjson.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * A question answer. - */ -export type LeadQualifiedAnswerJson = { - /** - * The unique identifier of the question. - */ - id?: string | undefined; - /** - * Question text. - */ - text?: string | undefined; - /** - * Data type of an answer. - */ - type?: string | undefined; -}; - -/** @internal */ -export const LeadQualifiedAnswerJson$inboundSchema: z.ZodType< - LeadQualifiedAnswerJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - type: z.string().optional(), -}); - -export function leadQualifiedAnswerJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadQualifiedAnswerJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadQualifiedAnswerJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/leadqualifiedquestionresponse.ts b/packages/typescript/src/models/components/leadqualifiedquestionresponse.ts new file mode 100644 index 000000000..35fee4b65 --- /dev/null +++ b/packages/typescript/src/models/components/leadqualifiedquestionresponse.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + LeadQualifiedAnswer, + LeadQualifiedAnswer$inboundSchema, +} from "./leadqualifiedanswer.js"; +import { Question2, Question2$inboundSchema } from "./question2.js"; + +/** + * A Question response. + */ +export type LeadQualifiedQuestionResponse = { + /** + * The question that was answered. + */ + question?: Question2 | undefined; + /** + * List of answers. + */ + answers?: Array | undefined; +}; + +/** @internal */ +export const LeadQualifiedQuestionResponse$inboundSchema: z.ZodType< + LeadQualifiedQuestionResponse, + z.ZodTypeDef, + unknown +> = z.object({ + question: Question2$inboundSchema.optional(), + answers: z.array(LeadQualifiedAnswer$inboundSchema).optional(), +}); + +export function leadQualifiedQuestionResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadQualifiedQuestionResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadQualifiedQuestionResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadqualifiedquestionresponsejson.ts b/packages/typescript/src/models/components/leadqualifiedquestionresponsejson.ts deleted file mode 100644 index e478baf65..000000000 --- a/packages/typescript/src/models/components/leadqualifiedquestionresponsejson.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - LeadQualifiedAnswerJson, - LeadQualifiedAnswerJson$inboundSchema, -} from "./leadqualifiedanswerjson.js"; -import { QuestionJson2, QuestionJson2$inboundSchema } from "./questionjson2.js"; - -/** - * A Question response. - */ -export type LeadQualifiedQuestionResponseJson = { - /** - * The question that was answered. - */ - question?: QuestionJson2 | undefined; - /** - * List of answers. - */ - answers?: Array | undefined; -}; - -/** @internal */ -export const LeadQualifiedQuestionResponseJson$inboundSchema: z.ZodType< - LeadQualifiedQuestionResponseJson, - z.ZodTypeDef, - unknown -> = z.object({ - question: QuestionJson2$inboundSchema.optional(), - answers: z.array(LeadQualifiedAnswerJson$inboundSchema).optional(), -}); - -export function leadQualifiedQuestionResponseJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadQualifiedQuestionResponseJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadQualifiedQuestionResponseJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/locationjson.ts b/packages/typescript/src/models/components/locationjson.ts index b52f9bb2d..2d9f5aa38 100644 --- a/packages/typescript/src/models/components/locationjson.ts +++ b/packages/typescript/src/models/components/locationjson.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 { ZeroAllOf2, ZeroAllOf2$inboundSchema } from "./zeroallof2.js"; +import { ZeroAllOf1, ZeroAllOf1$inboundSchema } from "./zeroallof1.js"; /** * Details of a location. @@ -23,7 +23,7 @@ export type LocationJson = { /** * Details of a location. */ - parentLocation?: ZeroAllOf2 | undefined; + parentLocation?: ZeroAllOf1 | undefined; /** * The number of attendees that can be accommodated in this location. -1 indicates unlimited capacity. */ @@ -38,7 +38,7 @@ export const LocationJson$inboundSchema: z.ZodType< > = z.object({ id: z.string(), name: z.string(), - parentLocation: ZeroAllOf2$inboundSchema.optional(), + parentLocation: ZeroAllOf1$inboundSchema.optional(), capacity: z.number().int().optional(), }); diff --git a/packages/typescript/src/models/components/locationtype.ts b/packages/typescript/src/models/components/locationtype.ts new file mode 100644 index 000000000..6116becf9 --- /dev/null +++ b/packages/typescript/src/models/components/locationtype.ts @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Location classification for the venue. + */ +export const LocationType = { + Airport: "AIRPORT", + Interstate: "INTERSTATE", + Resort: "RESORT", + SmallMetroTown: "SMALL_METRO_TOWN", + Suburban: "SUBURBAN", + Urban: "URBAN", +} as const; +/** + * Location classification for the venue. + */ +export type LocationType = ClosedEnum; + +/** @internal */ +export const LocationType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(LocationType); +/** @internal */ +export const LocationType$outboundSchema: z.ZodNativeEnum = + LocationType$inboundSchema; diff --git a/packages/typescript/src/models/components/measurementunit.ts b/packages/typescript/src/models/components/measurementunit.ts index 63940b75b..6b910accb 100644 --- a/packages/typescript/src/models/components/measurementunit.ts +++ b/packages/typescript/src/models/components/measurementunit.ts @@ -33,3 +33,7 @@ export type MeasurementUnit = ClosedEnum; export const MeasurementUnit$inboundSchema: z.ZodNativeEnum< typeof MeasurementUnit > = z.nativeEnum(MeasurementUnit); +/** @internal */ +export const MeasurementUnit$outboundSchema: z.ZodNativeEnum< + typeof MeasurementUnit +> = MeasurementUnit$inboundSchema; diff --git a/packages/typescript/src/models/components/meetingrequest.ts b/packages/typescript/src/models/components/meetingrequest.ts index 904e299ca..d50cf953f 100644 --- a/packages/typescript/src/models/components/meetingrequest.ts +++ b/packages/typescript/src/models/components/meetingrequest.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - MeetingRequestQuestionJson, - MeetingRequestQuestionJson$inboundSchema, -} from "./meetingrequestquestionjson.js"; + MeetingRequestQuestion, + MeetingRequestQuestion$inboundSchema, +} from "./meetingrequestquestion.js"; /** * The meeting request form the request is associated with. @@ -78,7 +78,7 @@ export type MeetingRequest = { /** * The list of possible answers to a question. */ - questions?: Array | undefined; + questions?: Array | undefined; /** * The event the request is associated with. */ @@ -156,7 +156,7 @@ export const MeetingRequest$inboundSchema: z.ZodType< meetingRequestForm: z.lazy(() => MeetingRequestMeetingRequestForm$inboundSchema ), - questions: z.array(MeetingRequestQuestionJson$inboundSchema).optional(), + questions: z.array(MeetingRequestQuestion$inboundSchema).optional(), event: z.lazy(() => MeetingRequestEvent$inboundSchema).optional(), sourceId: z.string().optional(), code: z.string().optional(), diff --git a/packages/typescript/src/models/components/meetingrequestbulkresponseitem.ts b/packages/typescript/src/models/components/meetingrequestbulkresponseitem.ts new file mode 100644 index 000000000..b24a8245e --- /dev/null +++ b/packages/typescript/src/models/components/meetingrequestbulkresponseitem.ts @@ -0,0 +1,121 @@ +/* + * 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 { + MeetingRequest, + MeetingRequest$inboundSchema, +} from "./meetingrequest.js"; + +export type MeetingRequestBulkResponseItemRequest = {}; + +/** + * The processed request tied to this response. This field is only sent when processing fails. + */ +export type RequestT = + | MeetingRequestBulkResponseItemRequest + | string + | number + | number + | boolean; + +/** + * Represents a single meeting request that's returned as part of a bulk request call. + */ +export type MeetingRequestBulkResponseItem = { + /** + * A meeting request. + */ + data: MeetingRequest; + /** + * HTTP status code representing the processing status of a single item. + */ + status: number; + /** + * Quick description of what happened during processing. + */ + message?: string | undefined; + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + request?: + | MeetingRequestBulkResponseItemRequest + | string + | number + | number + | boolean + | undefined; +}; + +/** @internal */ +export const MeetingRequestBulkResponseItemRequest$inboundSchema: z.ZodType< + MeetingRequestBulkResponseItemRequest, + z.ZodTypeDef, + unknown +> = z.object({}); + +export function meetingRequestBulkResponseItemRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + MeetingRequestBulkResponseItemRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRequestBulkResponseItemRequest' from JSON`, + ); +} + +/** @internal */ +export const RequestT$inboundSchema: z.ZodType< + RequestT, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => MeetingRequestBulkResponseItemRequest$inboundSchema), + z.string(), + z.number(), + z.number().int(), + z.boolean(), +]); + +export function requestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestT$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestT' from JSON`, + ); +} + +/** @internal */ +export const MeetingRequestBulkResponseItem$inboundSchema: z.ZodType< + MeetingRequestBulkResponseItem, + z.ZodTypeDef, + unknown +> = z.object({ + data: MeetingRequest$inboundSchema, + status: z.number().int(), + message: z.string().optional(), + request: z.union([ + z.lazy(() => MeetingRequestBulkResponseItemRequest$inboundSchema), + z.string(), + z.number(), + z.number().int(), + z.boolean(), + ]).optional(), +}); + +export function meetingRequestBulkResponseItemFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRequestBulkResponseItem$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRequestBulkResponseItem' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingrequestbulkresponseitemjson.ts b/packages/typescript/src/models/components/meetingrequestbulkresponseitemjson.ts deleted file mode 100644 index 896ce1118..000000000 --- a/packages/typescript/src/models/components/meetingrequestbulkresponseitemjson.ts +++ /dev/null @@ -1,127 +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 { - MeetingRequest, - MeetingRequest$inboundSchema, -} from "./meetingrequest.js"; - -export type MeetingRequestBulkResponseItemJsonRequest = {}; - -/** - * The processed request tied to this response. This field is only sent when processing fails. - */ -export type RequestT = - | MeetingRequestBulkResponseItemJsonRequest - | string - | number - | number - | boolean; - -/** - * Represents a single meeting request that's returned as part of a bulk request call. - */ -export type MeetingRequestBulkResponseItemJson = { - /** - * A meeting request. - */ - data: MeetingRequest; - /** - * HTTP status code representing the processing status of a single item. - */ - status: number; - /** - * Quick description of what happened during processing. - */ - message?: string | undefined; - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - request?: - | MeetingRequestBulkResponseItemJsonRequest - | string - | number - | number - | boolean - | undefined; -}; - -/** @internal */ -export const MeetingRequestBulkResponseItemJsonRequest$inboundSchema: z.ZodType< - MeetingRequestBulkResponseItemJsonRequest, - z.ZodTypeDef, - unknown -> = z.object({}); - -export function meetingRequestBulkResponseItemJsonRequestFromJSON( - jsonString: string, -): SafeParseResult< - MeetingRequestBulkResponseItemJsonRequest, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - MeetingRequestBulkResponseItemJsonRequest$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'MeetingRequestBulkResponseItemJsonRequest' from JSON`, - ); -} - -/** @internal */ -export const RequestT$inboundSchema: z.ZodType< - RequestT, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => MeetingRequestBulkResponseItemJsonRequest$inboundSchema), - z.string(), - z.number(), - z.number().int(), - z.boolean(), -]); - -export function requestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestT$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestT' from JSON`, - ); -} - -/** @internal */ -export const MeetingRequestBulkResponseItemJson$inboundSchema: z.ZodType< - MeetingRequestBulkResponseItemJson, - z.ZodTypeDef, - unknown -> = z.object({ - data: MeetingRequest$inboundSchema, - status: z.number().int(), - message: z.string().optional(), - request: z.union([ - z.lazy(() => MeetingRequestBulkResponseItemJsonRequest$inboundSchema), - z.string(), - z.number(), - z.number().int(), - z.boolean(), - ]).optional(), -}); - -export function meetingRequestBulkResponseItemJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - MeetingRequestBulkResponseItemJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MeetingRequestBulkResponseItemJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/meetingrequestcreate.ts b/packages/typescript/src/models/components/meetingrequestcreate.ts new file mode 100644 index 000000000..c74d66df1 --- /dev/null +++ b/packages/typescript/src/models/components/meetingrequestcreate.ts @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + MeetingRequestQuestionInput, + MeetingRequestQuestionInput$Outbound, + MeetingRequestQuestionInput$outboundSchema, +} from "./meetingrequestquestioninput.js"; + +/** + * A meeting request to create. + */ +export type MeetingRequestCreate = { + /** + * The name of the specific meeting request. + */ + name: string; + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. + */ + sourceId?: string | undefined; + /** + * Questions for the meeting request. + */ + questions: Array; +}; + +/** @internal */ +export type MeetingRequestCreate$Outbound = { + name: string; + sourceId?: string | undefined; + questions: Array; +}; + +/** @internal */ +export const MeetingRequestCreate$outboundSchema: z.ZodType< + MeetingRequestCreate$Outbound, + z.ZodTypeDef, + MeetingRequestCreate +> = z.object({ + name: z.string(), + sourceId: z.string().optional(), + questions: z.array(MeetingRequestQuestionInput$outboundSchema), +}); + +export function meetingRequestCreateToJSON( + meetingRequestCreate: MeetingRequestCreate, +): string { + return JSON.stringify( + MeetingRequestCreate$outboundSchema.parse(meetingRequestCreate), + ); +} diff --git a/packages/typescript/src/models/components/meetingrequestcreatejson.ts b/packages/typescript/src/models/components/meetingrequestcreatejson.ts deleted file mode 100644 index 973682bf2..000000000 --- a/packages/typescript/src/models/components/meetingrequestcreatejson.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { - RequestedMeetingRequestQuestionJson, - RequestedMeetingRequestQuestionJson$Outbound, - RequestedMeetingRequestQuestionJson$outboundSchema, -} from "./requestedmeetingrequestquestionjson.js"; - -/** - * A meeting request to create. - */ -export type MeetingRequestCreateJson = { - /** - * The name of the specific meeting request. - */ - name: string; - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. - */ - sourceId?: string | undefined; - /** - * Questions for the meeting request. - */ - questions: Array; -}; - -/** @internal */ -export type MeetingRequestCreateJson$Outbound = { - name: string; - sourceId?: string | undefined; - questions: Array; -}; - -/** @internal */ -export const MeetingRequestCreateJson$outboundSchema: z.ZodType< - MeetingRequestCreateJson$Outbound, - z.ZodTypeDef, - MeetingRequestCreateJson -> = z.object({ - name: z.string(), - sourceId: z.string().optional(), - questions: z.array(RequestedMeetingRequestQuestionJson$outboundSchema), -}); - -export function meetingRequestCreateJsonToJSON( - meetingRequestCreateJson: MeetingRequestCreateJson, -): string { - return JSON.stringify( - MeetingRequestCreateJson$outboundSchema.parse(meetingRequestCreateJson), - ); -} diff --git a/packages/typescript/src/models/components/meetingrequestcustomfieldjson.ts b/packages/typescript/src/models/components/meetingrequestcustomfieldjson.ts deleted file mode 100644 index 54793670d..000000000 --- a/packages/typescript/src/models/components/meetingrequestcustomfieldjson.ts +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - AnswerTypeJson, - AnswerTypeJson$inboundSchema, -} from "./answertypejson.js"; - -/** - * The type of data collected by a custom field. - */ -export const MeetingRequestCustomFieldJsonCustomFieldType = { - AutoIncrement: "AutoIncrement", - ConsentQuestion: "ConsentQuestion", - Currency: "Currency", - Decimal: "Decimal", - Date: "Date", - DateTime: "DateTime", - Email: "Email", - FileUpload: "FileUpload", - FreeText: "FreeText", - General: "General", - MultiChoice: "MultiChoice", - MultiSelect: "MultiSelect", - Number: "Number", - OpenEndedDateTime: "OpenEndedDateTime", - OpenEndedText: "OpenEndedText", - SingleChoice: "SingleChoice", - SingleSelect: "SingleSelect", - USPhoneNumber: "USPhoneNumber", - Unknown: "Unknown", -} as const; -/** - * The type of data collected by a custom field. - */ -export type MeetingRequestCustomFieldJsonCustomFieldType = ClosedEnum< - typeof MeetingRequestCustomFieldJsonCustomFieldType ->; - -/** - * Custom field for a meeting request. - */ -export type MeetingRequestCustomFieldJson = { - /** - * The unique ID representing this custom field. - */ - id: string; - /** - * The actual text of the custom field. - */ - name?: string | undefined; - /** - * The set of answers or possible answers to a question. - */ - value: Array; - /** - * The order of this question in the bigger list of questions. - */ - order?: number | undefined; - /** - * The type of data collected by a custom field. - */ - type?: MeetingRequestCustomFieldJsonCustomFieldType | undefined; - /** - * The actual text of the custom field. - */ - field?: boolean | undefined; - /** - * True indicates a question on the meeting request form should be hidden from the user filling out the meeting request. - */ - hidden?: boolean | undefined; - /** - * True indicates the given question must be answered. - */ - required?: boolean | undefined; - /** - * The minimum length of a text field. - */ - minLength?: number | undefined; - /** - * The maximum length of a text field. - */ - maxLength?: number | undefined; - /** - * The minimum number of choices required for a multi-choice field. - */ - minChoice?: number | undefined; - /** - * The maximum number of choices allowed for a multi-choice field. - */ - maxChoice?: number | undefined; - /** - * The ISO 8601 minimum date value for a date field. - */ - minDate?: string | undefined; - /** - * The ISO 8601 maximum date value for a date field. - */ - maxDate?: string | undefined; - /** - * List of non-null answer types applicable to the question, such as `Other` or `NA`. This field is omitted when no non-default answer type is defined for the question. - */ - answerTypes?: Array | undefined; -}; - -/** @internal */ -export const MeetingRequestCustomFieldJsonCustomFieldType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(MeetingRequestCustomFieldJsonCustomFieldType); - -/** @internal */ -export const MeetingRequestCustomFieldJson$inboundSchema: z.ZodType< - MeetingRequestCustomFieldJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), - value: z.array(z.string()), - order: z.number().int().optional(), - type: MeetingRequestCustomFieldJsonCustomFieldType$inboundSchema.optional(), - field: z.boolean().optional(), - hidden: z.boolean().optional(), - required: z.boolean().optional(), - minLength: z.number().optional(), - maxLength: z.number().optional(), - minChoice: z.number().optional(), - maxChoice: z.number().optional(), - minDate: z.string().optional(), - maxDate: z.string().optional(), - answerTypes: z.array(AnswerTypeJson$inboundSchema).optional(), -}); - -export function meetingRequestCustomFieldJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => MeetingRequestCustomFieldJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MeetingRequestCustomFieldJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/meetingrequestdocument.ts b/packages/typescript/src/models/components/meetingrequestdocument.ts new file mode 100644 index 000000000..e6f8ba50b --- /dev/null +++ b/packages/typescript/src/models/components/meetingrequestdocument.ts @@ -0,0 +1,121 @@ +/* + * 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 { + MeetingRequestDocumentReferenceLink, + MeetingRequestDocumentReferenceLink$inboundSchema, +} from "./meetingrequestdocumentreferencelink.js"; + +/** + * The meeting request this document is attached to. + */ +export type MeetingRequestDocumentMeetingRequest = { + /** + * Meeting Request ID. + */ + id?: string | undefined; +}; + +/** + * Document attached to a meeting request that can be downloaded. + */ +export type MeetingRequestDocument = { + /** + * Unique identifier of the document. + */ + id: string; + /** + * Name of the document. + */ + name?: string | undefined; + /** + * Size of the document in bytes + */ + size?: number | undefined; + /** + * The ISO-8601 formatted date and time when the document was uploaded. + */ + uploaded?: Date | undefined; + /** + * The user who uploaded the document. + */ + uploadedBy?: string | undefined; + /** + * The ISO-8601 formatted date and time when this document was last updated. + */ + lastModified?: Date | undefined; + /** + * The user who last updated the document. + */ + lastModifiedBy?: string | undefined; + /** + * The MIME type of the document + */ + mimeType?: string | undefined; + /** + * A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. + */ + referenceLink?: MeetingRequestDocumentReferenceLink | undefined; + /** + * The meeting request this document is attached to. + */ + meetingRequest?: MeetingRequestDocumentMeetingRequest | undefined; +}; + +/** @internal */ +export const MeetingRequestDocumentMeetingRequest$inboundSchema: z.ZodType< + MeetingRequestDocumentMeetingRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function meetingRequestDocumentMeetingRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + MeetingRequestDocumentMeetingRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRequestDocumentMeetingRequest' from JSON`, + ); +} + +/** @internal */ +export const MeetingRequestDocument$inboundSchema: z.ZodType< + MeetingRequestDocument, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), + size: z.number().int().optional(), + uploaded: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + uploadedBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + mimeType: z.string().optional(), + referenceLink: MeetingRequestDocumentReferenceLink$inboundSchema.optional(), + meetingRequest: z.lazy(() => + MeetingRequestDocumentMeetingRequest$inboundSchema + ).optional(), +}); + +export function meetingRequestDocumentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRequestDocument$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRequestDocument' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingrequestdocumentjson.ts b/packages/typescript/src/models/components/meetingrequestdocumentjson.ts deleted file mode 100644 index 408e5d832..000000000 --- a/packages/typescript/src/models/components/meetingrequestdocumentjson.ts +++ /dev/null @@ -1,127 +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 { - MeetingRequestDocumentReferenceLinkJson, - MeetingRequestDocumentReferenceLinkJson$inboundSchema, -} from "./meetingrequestdocumentreferencelinkjson.js"; - -/** - * The meeting request this document is attached to. - */ -export type MeetingRequestDocumentJsonMeetingRequest = { - /** - * Meeting Request ID. - */ - id?: string | undefined; -}; - -/** - * Document attached to a meeting request that can be downloaded. - */ -export type MeetingRequestDocumentJson = { - /** - * Unique identifier of the document. - */ - id: string; - /** - * Name of the document. - */ - name?: string | undefined; - /** - * Size of the document in bytes - */ - size?: number | undefined; - /** - * The ISO-8601 formatted date and time when the document was uploaded. - */ - uploaded?: Date | undefined; - /** - * The user who uploaded the document. - */ - uploadedBy?: string | undefined; - /** - * The ISO-8601 formatted date and time when this document was last updated. - */ - lastModified?: Date | undefined; - /** - * The user who last updated the document. - */ - lastModifiedBy?: string | undefined; - /** - * The MIME type of the document - */ - mimeType?: string | undefined; - /** - * A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - */ - referenceLink?: MeetingRequestDocumentReferenceLinkJson | undefined; - /** - * The meeting request this document is attached to. - */ - meetingRequest?: MeetingRequestDocumentJsonMeetingRequest | undefined; -}; - -/** @internal */ -export const MeetingRequestDocumentJsonMeetingRequest$inboundSchema: z.ZodType< - MeetingRequestDocumentJsonMeetingRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function meetingRequestDocumentJsonMeetingRequestFromJSON( - jsonString: string, -): SafeParseResult< - MeetingRequestDocumentJsonMeetingRequest, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - MeetingRequestDocumentJsonMeetingRequest$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'MeetingRequestDocumentJsonMeetingRequest' from JSON`, - ); -} - -/** @internal */ -export const MeetingRequestDocumentJson$inboundSchema: z.ZodType< - MeetingRequestDocumentJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), - size: z.number().int().optional(), - uploaded: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - uploadedBy: z.string().optional(), - lastModified: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - lastModifiedBy: z.string().optional(), - mimeType: z.string().optional(), - referenceLink: MeetingRequestDocumentReferenceLinkJson$inboundSchema - .optional(), - meetingRequest: z.lazy(() => - MeetingRequestDocumentJsonMeetingRequest$inboundSchema - ).optional(), -}); - -export function meetingRequestDocumentJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => MeetingRequestDocumentJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MeetingRequestDocumentJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/meetingrequestdocumentpaginatedresponse.ts b/packages/typescript/src/models/components/meetingrequestdocumentpaginatedresponse.ts index be1847ca2..c60467f41 100644 --- a/packages/typescript/src/models/components/meetingrequestdocumentpaginatedresponse.ts +++ b/packages/typescript/src/models/components/meetingrequestdocumentpaginatedresponse.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 { - MeetingRequestDocumentJson, - MeetingRequestDocumentJson$inboundSchema, -} from "./meetingrequestdocumentjson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; + MeetingRequestDocument, + MeetingRequestDocument$inboundSchema, +} from "./meetingrequestdocument.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * Paginated collection of meeting request documents. @@ -19,11 +19,11 @@ export type MeetingRequestDocumentPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of meeting request object documents. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +32,8 @@ export const MeetingRequestDocumentPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(MeetingRequestDocumentJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(MeetingRequestDocument$inboundSchema), }); export function meetingRequestDocumentPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/meetingrequestdocumentreferencelink.ts b/packages/typescript/src/models/components/meetingrequestdocumentreferencelink.ts new file mode 100644 index 000000000..a13f384b1 --- /dev/null +++ b/packages/typescript/src/models/components/meetingrequestdocumentreferencelink.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. + */ +export type MeetingRequestDocumentReferenceLink = { + /** + * The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. + */ + url?: string | undefined; + /** + * The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. + */ + expiration?: Date | undefined; +}; + +/** @internal */ +export const MeetingRequestDocumentReferenceLink$inboundSchema: z.ZodType< + MeetingRequestDocumentReferenceLink, + z.ZodTypeDef, + unknown +> = z.object({ + url: z.string().optional(), + expiration: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), +}); + +export function meetingRequestDocumentReferenceLinkFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + MeetingRequestDocumentReferenceLink$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRequestDocumentReferenceLink' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingrequestdocumentreferencelinkjson.ts b/packages/typescript/src/models/components/meetingrequestdocumentreferencelinkjson.ts deleted file mode 100644 index e6d741e43..000000000 --- a/packages/typescript/src/models/components/meetingrequestdocumentreferencelinkjson.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * A reference link contains the URL that provides direct access to download the file for the document. The expiration of the URL can be included if applicable. - */ -export type MeetingRequestDocumentReferenceLinkJson = { - /** - * The URL to download the file resource for the document. This URL will expire after the time indicated by the field expiration. If not provided, the URL is considered dynamic and not guaranteed to remain constant. Clients should always retrieve the latest URL before attempting to download the file, as it may change over time. - */ - url?: string | undefined; - /** - * The ISO 8601 formatted date and time at which the reference document will expire if an explicit expiration is defined. - */ - expiration?: Date | undefined; -}; - -/** @internal */ -export const MeetingRequestDocumentReferenceLinkJson$inboundSchema: z.ZodType< - MeetingRequestDocumentReferenceLinkJson, - z.ZodTypeDef, - unknown -> = z.object({ - url: z.string().optional(), - expiration: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), -}); - -export function meetingRequestDocumentReferenceLinkJsonFromJSON( - jsonString: string, -): SafeParseResult< - MeetingRequestDocumentReferenceLinkJson, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - MeetingRequestDocumentReferenceLinkJson$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'MeetingRequestDocumentReferenceLinkJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/meetingrequestform.ts b/packages/typescript/src/models/components/meetingrequestform.ts index 63488e915..9853c754d 100644 --- a/packages/typescript/src/models/components/meetingrequestform.ts +++ b/packages/typescript/src/models/components/meetingrequestform.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - MeetingRequestCustomFieldJson, - MeetingRequestCustomFieldJson$inboundSchema, -} from "./meetingrequestcustomfieldjson.js"; + CustomFieldSchema2, + CustomFieldSchema2$inboundSchema, +} from "./customfieldschema1.js"; /** * A meeting request form. @@ -34,7 +34,7 @@ export type MeetingRequestForm = { /** * The list of questions that will need to be answered by someone creating a meeting request from this form. */ - questions?: Array | undefined; + questions?: Array | undefined; }; /** @internal */ @@ -47,7 +47,7 @@ export const MeetingRequestForm$inboundSchema: z.ZodType< name: z.string(), statuses: z.array(z.string()).optional(), active: z.boolean().optional(), - questions: z.array(MeetingRequestCustomFieldJson$inboundSchema).optional(), + questions: z.array(CustomFieldSchema2$inboundSchema).optional(), }); export function meetingRequestFormFromJSON( diff --git a/packages/typescript/src/models/components/meetingrequestformpaginatedresponse.ts b/packages/typescript/src/models/components/meetingrequestformpaginatedresponse.ts index 2b22e2635..77ed5bf06 100644 --- a/packages/typescript/src/models/components/meetingrequestformpaginatedresponse.ts +++ b/packages/typescript/src/models/components/meetingrequestformpaginatedresponse.ts @@ -10,7 +10,7 @@ import { MeetingRequestForm, MeetingRequestForm$inboundSchema, } from "./meetingrequestform.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 meeting request forms. This includes the paging object as well as the collection of meeting request forms. @@ -19,7 +19,7 @@ export type MeetingRequestFormPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of meeting request form objects. */ @@ -32,7 +32,7 @@ export const MeetingRequestFormPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(MeetingRequestForm$inboundSchema), }); diff --git a/packages/typescript/src/models/components/meetingrequestpaginatedresponse.ts b/packages/typescript/src/models/components/meetingrequestpaginatedresponse.ts index ef7069159..d1c674b85 100644 --- a/packages/typescript/src/models/components/meetingrequestpaginatedresponse.ts +++ b/packages/typescript/src/models/components/meetingrequestpaginatedresponse.ts @@ -10,7 +10,7 @@ import { MeetingRequest, MeetingRequest$inboundSchema, } from "./meetingrequest.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * Paginated collection of meeting requests. @@ -19,7 +19,7 @@ export type MeetingRequestPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of meeting request objects. */ @@ -32,7 +32,7 @@ export const MeetingRequestPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(MeetingRequest$inboundSchema), }); diff --git a/packages/typescript/src/models/components/meetingrequestquestion.ts b/packages/typescript/src/models/components/meetingrequestquestion.ts new file mode 100644 index 000000000..769c62b95 --- /dev/null +++ b/packages/typescript/src/models/components/meetingrequestquestion.ts @@ -0,0 +1,101 @@ +/* + * 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 { AnswerType12, AnswerType12$inboundSchema } from "./answertype12.js"; +import { + CompositeValue, + CompositeValue$inboundSchema, +} from "./compositevalue.js"; +import { QuestionType1, QuestionType1$inboundSchema } from "./questiontype1.js"; + +/** + * A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + */ +export type MeetingRequestQuestion = { + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * + * @remarks + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + id: string; + /** + * The display text of the question. + */ + name?: string | undefined; + /** + * Denotes the type of data collected by a question. + */ + type?: QuestionType1 | undefined; + /** + * An array of non-null answers to the question. The format of each item depends on the question `type`. + * + * @remarks + * + * **Standard questions:** Each item is a plain string (for example, `"Green"`). + * + * **Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names. + * + * **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. + */ + value: Array; + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + * + * @remarks + * + * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + * + * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + * + * In all other cases, `answerType` is not expected to be set. + */ + answerType?: AnswerType12 | undefined; + /** + * The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. + */ + secondaryValue?: string | undefined; + /** + * The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. + * + * @remarks + * + * The structure of the array depends on the question `type`. + */ + compositeValue?: CompositeValue | undefined; +}; + +/** @internal */ +export const MeetingRequestQuestion$inboundSchema: z.ZodType< + MeetingRequestQuestion, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), + type: QuestionType1$inboundSchema.optional(), + value: z.array(z.string()), + answerType: AnswerType12$inboundSchema.optional(), + secondaryValue: z.string().optional(), + compositeValue: CompositeValue$inboundSchema.optional(), +}); + +export function meetingRequestQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRequestQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRequestQuestion' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingrequestquestioninput.ts b/packages/typescript/src/models/components/meetingrequestquestioninput.ts new file mode 100644 index 000000000..5b0987d9d --- /dev/null +++ b/packages/typescript/src/models/components/meetingrequestquestioninput.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { AnswerType12, AnswerType12$outboundSchema } from "./answertype12.js"; + +/** + * A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. + */ +export type MeetingRequestQuestionInput = { + /** + * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: + * + * @remarks + * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` + * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` + * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` + * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` + * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` + * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` + */ + id: string; + /** + * An array of non-null answers to the question. The format of each item depends on the question `type`. + * + * @remarks + * + * **Standard questions:** Each item is a plain string (for example, `"Green"`). + * + * **Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names. + * + * **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. + */ + value: Array; + /** + * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. + * + * @remarks + * + * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. + * + * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. + * + * In all other cases, `answerType` is not expected to be set. + */ + answerType?: AnswerType12 | undefined; + /** + * The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. + */ + secondaryValue?: string | undefined; +}; + +/** @internal */ +export type MeetingRequestQuestionInput$Outbound = { + id: string; + value: Array; + answerType?: string | undefined; + secondaryValue?: string | undefined; +}; + +/** @internal */ +export const MeetingRequestQuestionInput$outboundSchema: z.ZodType< + MeetingRequestQuestionInput$Outbound, + z.ZodTypeDef, + MeetingRequestQuestionInput +> = z.object({ + id: z.string(), + value: z.array(z.string()), + answerType: AnswerType12$outboundSchema.optional(), + secondaryValue: z.string().optional(), +}); + +export function meetingRequestQuestionInputToJSON( + meetingRequestQuestionInput: MeetingRequestQuestionInput, +): string { + return JSON.stringify( + MeetingRequestQuestionInput$outboundSchema.parse( + meetingRequestQuestionInput, + ), + ); +} diff --git a/packages/typescript/src/models/components/meetingrequestquestionjson.ts b/packages/typescript/src/models/components/meetingrequestquestionjson.ts deleted file mode 100644 index b86d90437..000000000 --- a/packages/typescript/src/models/components/meetingrequestquestionjson.ts +++ /dev/null @@ -1,107 +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 { - AnswerTypeJson, - AnswerTypeJson$inboundSchema, -} from "./answertypejson.js"; -import { - CompositeValueJson, - CompositeValueJson$inboundSchema, -} from "./compositevaluejson.js"; -import { - QuestionTypeJson, - QuestionTypeJson$inboundSchema, -} from "./questiontypejson.js"; - -/** - * A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. - */ -export type MeetingRequestQuestionJson = { - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * - * @remarks - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - id: string; - /** - * The display text of the question. - */ - name?: string | undefined; - /** - * Denotes the type of data collected by a question. - */ - type?: QuestionTypeJson | undefined; - /** - * An array of non-null answers to the question. The format of each item depends on the question `type`. - * - * @remarks - * - * **Standard questions:** Each item is a plain string (for example, `"Green"`). - * - * **Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names. - * - * **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. - */ - value: Array; - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - * - * @remarks - * - * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - * - * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - * - * In all other cases, `answerType` is not expected to be set. - */ - answerType?: AnswerTypeJson | undefined; - /** - * The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. - */ - secondaryValue?: string | undefined; - /** - * The structured representation of a complex question answer. Contains the same data as `value`, parsed into typed objects instead of JSON-serialized strings. This field is **read-only** — to write complex question answers, use `value` instead. - * - * @remarks - * - * The structure of the array depends on the question `type`. - */ - compositeValue?: CompositeValueJson | undefined; -}; - -/** @internal */ -export const MeetingRequestQuestionJson$inboundSchema: z.ZodType< - MeetingRequestQuestionJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), - type: QuestionTypeJson$inboundSchema.optional(), - value: z.array(z.string()), - answerType: AnswerTypeJson$inboundSchema.optional(), - secondaryValue: z.string().optional(), - compositeValue: CompositeValueJson$inboundSchema.optional(), -}); - -export function meetingRequestQuestionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => MeetingRequestQuestionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MeetingRequestQuestionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/meetingrequestupdate.ts b/packages/typescript/src/models/components/meetingrequestupdate.ts new file mode 100644 index 000000000..0c584efd9 --- /dev/null +++ b/packages/typescript/src/models/components/meetingrequestupdate.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + MeetingRequestQuestionInput, + MeetingRequestQuestionInput$Outbound, + MeetingRequestQuestionInput$outboundSchema, +} from "./meetingrequestquestioninput.js"; + +/** + * An updated meeting request. + */ +export type MeetingRequestUpdate = { + /** + * The ID of a meeting request. + */ + id: string; + /** + * The name of the specific meeting request. + */ + name?: string | undefined; + /** + * Questions for the meeting request. + */ + questions?: Array | undefined; + /** + * The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. + */ + status?: string | undefined; + /** + * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. + */ + sourceId?: string | undefined; + /** + * The note about the status. + */ + statusNote?: string | undefined; +}; + +/** @internal */ +export type MeetingRequestUpdate$Outbound = { + id: string; + name?: string | undefined; + questions?: Array | undefined; + status?: string | undefined; + sourceId?: string | undefined; + statusNote?: string | undefined; +}; + +/** @internal */ +export const MeetingRequestUpdate$outboundSchema: z.ZodType< + MeetingRequestUpdate$Outbound, + z.ZodTypeDef, + MeetingRequestUpdate +> = z.object({ + id: z.string(), + name: z.string().optional(), + questions: z.array(MeetingRequestQuestionInput$outboundSchema).optional(), + status: z.string().optional(), + sourceId: z.string().optional(), + statusNote: z.string().optional(), +}); + +export function meetingRequestUpdateToJSON( + meetingRequestUpdate: MeetingRequestUpdate, +): string { + return JSON.stringify( + MeetingRequestUpdate$outboundSchema.parse(meetingRequestUpdate), + ); +} diff --git a/packages/typescript/src/models/components/meetingrequestupdatejson.ts b/packages/typescript/src/models/components/meetingrequestupdatejson.ts deleted file mode 100644 index 903ed19a7..000000000 --- a/packages/typescript/src/models/components/meetingrequestupdatejson.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { - RequestedMeetingRequestQuestionJson, - RequestedMeetingRequestQuestionJson$Outbound, - RequestedMeetingRequestQuestionJson$outboundSchema, -} from "./requestedmeetingrequestquestionjson.js"; - -/** - * An updated meeting request. - */ -export type MeetingRequestUpdateJson = { - /** - * The ID of a meeting request. - */ - id: string; - /** - * The name of the specific meeting request. - */ - name?: string | undefined; - /** - * Questions for the meeting request. - */ - questions?: Array | undefined; - /** - * The user-defined status of the meeting request. Possible statuses for requests are defined by the user at meeting request form creation. - */ - status?: string | undefined; - /** - * The ID for the meeting request in an external system. NOTE: This value is expected to be unique for each meeting request within an account. Consider adding the external system name as part of the ID. - */ - sourceId?: string | undefined; - /** - * The note about the status. - */ - statusNote?: string | undefined; -}; - -/** @internal */ -export type MeetingRequestUpdateJson$Outbound = { - id: string; - name?: string | undefined; - questions?: Array | undefined; - status?: string | undefined; - sourceId?: string | undefined; - statusNote?: string | undefined; -}; - -/** @internal */ -export const MeetingRequestUpdateJson$outboundSchema: z.ZodType< - MeetingRequestUpdateJson$Outbound, - z.ZodTypeDef, - MeetingRequestUpdateJson -> = z.object({ - id: z.string(), - name: z.string().optional(), - questions: z.array(RequestedMeetingRequestQuestionJson$outboundSchema) - .optional(), - status: z.string().optional(), - sourceId: z.string().optional(), - statusNote: z.string().optional(), -}); - -export function meetingRequestUpdateJsonToJSON( - meetingRequestUpdateJson: MeetingRequestUpdateJson, -): string { - return JSON.stringify( - MeetingRequestUpdateJson$outboundSchema.parse(meetingRequestUpdateJson), - ); -} diff --git a/packages/typescript/src/models/components/meetingroom.ts b/packages/typescript/src/models/components/meetingroom.ts new file mode 100644 index 000000000..8281debbf --- /dev/null +++ b/packages/typescript/src/models/components/meetingroom.ts @@ -0,0 +1,199 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + AreaMeasurement, + AreaMeasurement$Outbound, + AreaMeasurement$outboundSchema, +} from "./areameasurement.js"; +import { + Dimension, + Dimension$Outbound, + Dimension$outboundSchema, +} from "./dimension.js"; +import { + MeetingRoomAmenity, + MeetingRoomAmenity$outboundSchema, +} from "./meetingroomamenity.js"; +import { + MeetingRoomCapacities, + MeetingRoomCapacities$Outbound, + MeetingRoomCapacities$outboundSchema, +} from "./meetingroomcapacities.js"; +import { + MeetingRoomRate, + MeetingRoomRate$Outbound, + MeetingRoomRate$outboundSchema, +} from "./meetingroomrate.js"; + +/** + * Physical dimensions for the meeting room. + */ +export type MeetingRoomDimensions = { + /** + * Measurement of area in square feet or square meters. + */ + totalSpace: AreaMeasurement; + /** + * A dimension measurement in feet or meters. + */ + ceilingHeight?: Dimension | undefined; + /** + * A dimension measurement in feet or meters. + */ + length?: Dimension | undefined; + /** + * A dimension measurement in feet or meters. + */ + width?: Dimension | undefined; +}; + +/** + * Rate information for move in/out and events. + */ +export type MeetingRoomRates = { + /** + * Meeting room rate with a value and application type. + */ + moveIn?: MeetingRoomRate | undefined; + /** + * Meeting room rate with a value and application type. + */ + moveOut?: MeetingRoomRate | undefined; + /** + * Meeting room rate with a value and application type. + */ + event?: MeetingRoomRate | undefined; +}; + +/** + * A venue meeting room. + */ +export type MeetingRoom = { + /** + * The name of the meeting room. + */ + name: string; + /** + * The detailed description of the meeting room. + */ + description?: string | undefined; + /** + * Physical dimensions for the meeting room. + */ + dimensions: MeetingRoomDimensions; + /** + * The position of this meeting room in the venue's room listing. + */ + displayOrder?: number | undefined; + /** + * The provider's own identifier for this meeting room. + */ + externalSourceId?: string | undefined; + /** + * Rate information for move in/out and events. + */ + rates?: MeetingRoomRates | undefined; + /** + * Capacity information for a meeting room, grouped by category. + */ + capacities?: MeetingRoomCapacities | undefined; + /** + * List of amenities available in the meeting room. + */ + amenities?: Array | undefined; + /** + * True indicates the meeting room is hidden on the venue profile. + */ + hiddenOnProfile?: boolean | undefined; +}; + +/** @internal */ +export type MeetingRoomDimensions$Outbound = { + totalSpace: AreaMeasurement$Outbound; + ceilingHeight?: Dimension$Outbound | undefined; + length?: Dimension$Outbound | undefined; + width?: Dimension$Outbound | undefined; +}; + +/** @internal */ +export const MeetingRoomDimensions$outboundSchema: z.ZodType< + MeetingRoomDimensions$Outbound, + z.ZodTypeDef, + MeetingRoomDimensions +> = z.object({ + totalSpace: AreaMeasurement$outboundSchema, + ceilingHeight: Dimension$outboundSchema.optional(), + length: Dimension$outboundSchema.optional(), + width: Dimension$outboundSchema.optional(), +}); + +export function meetingRoomDimensionsToJSON( + meetingRoomDimensions: MeetingRoomDimensions, +): string { + return JSON.stringify( + MeetingRoomDimensions$outboundSchema.parse(meetingRoomDimensions), + ); +} + +/** @internal */ +export type MeetingRoomRates$Outbound = { + moveIn?: MeetingRoomRate$Outbound | undefined; + moveOut?: MeetingRoomRate$Outbound | undefined; + event?: MeetingRoomRate$Outbound | undefined; +}; + +/** @internal */ +export const MeetingRoomRates$outboundSchema: z.ZodType< + MeetingRoomRates$Outbound, + z.ZodTypeDef, + MeetingRoomRates +> = z.object({ + moveIn: MeetingRoomRate$outboundSchema.optional(), + moveOut: MeetingRoomRate$outboundSchema.optional(), + event: MeetingRoomRate$outboundSchema.optional(), +}); + +export function meetingRoomRatesToJSON( + meetingRoomRates: MeetingRoomRates, +): string { + return JSON.stringify( + MeetingRoomRates$outboundSchema.parse(meetingRoomRates), + ); +} + +/** @internal */ +export type MeetingRoom$Outbound = { + name: string; + description?: string | undefined; + dimensions: MeetingRoomDimensions$Outbound; + displayOrder?: number | undefined; + externalSourceId?: string | undefined; + rates?: MeetingRoomRates$Outbound | undefined; + capacities?: MeetingRoomCapacities$Outbound | undefined; + amenities?: Array | undefined; + hiddenOnProfile: boolean; +}; + +/** @internal */ +export const MeetingRoom$outboundSchema: z.ZodType< + MeetingRoom$Outbound, + z.ZodTypeDef, + MeetingRoom +> = z.object({ + name: z.string(), + description: z.string().optional(), + dimensions: z.lazy(() => MeetingRoomDimensions$outboundSchema), + displayOrder: z.number().int().optional(), + externalSourceId: z.string().optional(), + rates: z.lazy(() => MeetingRoomRates$outboundSchema).optional(), + capacities: MeetingRoomCapacities$outboundSchema.optional(), + amenities: z.array(MeetingRoomAmenity$outboundSchema).optional(), + hiddenOnProfile: z.boolean().default(false), +}); + +export function meetingRoomToJSON(meetingRoom: MeetingRoom): string { + return JSON.stringify(MeetingRoom$outboundSchema.parse(meetingRoom)); +} diff --git a/packages/typescript/src/models/components/meetingroomagendaitemtype.ts b/packages/typescript/src/models/components/meetingroomagendaitemtype.ts new file mode 100644 index 000000000..b3de88318 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomagendaitemtype.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Defines the agenda item types of a meeting room requirement. + */ +export const MeetingRoomAgendaItemType = { + Break: "Break", + Breakfast: "Breakfast", + Breakout: "Breakout", + Dinner: "Dinner", + Exhibit: "Exhibit", + GeneralSession: "General Session", + HospitalityDesk: "Hospitality Desk", + HospitalitySuite: "Hospitality Suite", + Lunch: "Lunch", + Meeting: "Meeting", + Office: "Office", + Other: "Other", + Reception: "Reception", + Registration: "Registration", + Setup: "Setup", + Snack: "Snack", + SpeakerRoom: "Speaker Room", + StorageRoom: "Storage Room", + Teardown: "Teardown", +} as const; +/** + * Defines the agenda item types of a meeting room requirement. + */ +export type MeetingRoomAgendaItemType = ClosedEnum< + typeof MeetingRoomAgendaItemType +>; + +/** @internal */ +export const MeetingRoomAgendaItemType$inboundSchema: z.ZodNativeEnum< + typeof MeetingRoomAgendaItemType +> = z.nativeEnum(MeetingRoomAgendaItemType); diff --git a/packages/typescript/src/models/components/meetingroomagendaitemtypejson.ts b/packages/typescript/src/models/components/meetingroomagendaitemtypejson.ts deleted file mode 100644 index a4030cfe8..000000000 --- a/packages/typescript/src/models/components/meetingroomagendaitemtypejson.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Defines the agenda item types of a meeting room requirement. - */ -export const MeetingRoomAgendaItemTypeJson = { - Break: "Break", - Breakfast: "Breakfast", - Breakout: "Breakout", - Dinner: "Dinner", - Exhibit: "Exhibit", - GeneralSession: "General Session", - HospitalityDesk: "Hospitality Desk", - HospitalitySuite: "Hospitality Suite", - Lunch: "Lunch", - Meeting: "Meeting", - Office: "Office", - Other: "Other", - Reception: "Reception", - Registration: "Registration", - Setup: "Setup", - Snack: "Snack", - SpeakerRoom: "Speaker Room", - StorageRoom: "Storage Room", - Teardown: "Teardown", -} as const; -/** - * Defines the agenda item types of a meeting room requirement. - */ -export type MeetingRoomAgendaItemTypeJson = ClosedEnum< - typeof MeetingRoomAgendaItemTypeJson ->; - -/** @internal */ -export const MeetingRoomAgendaItemTypeJson$inboundSchema: z.ZodNativeEnum< - typeof MeetingRoomAgendaItemTypeJson -> = z.nativeEnum(MeetingRoomAgendaItemTypeJson); diff --git a/packages/typescript/src/models/components/meetingroomamenity.ts b/packages/typescript/src/models/components/meetingroomamenity.ts new file mode 100644 index 000000000..936a21de0 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomamenity.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Available amenities for a meeting room. + */ +export const MeetingRoomAmenity = { + AudioRecording: "AUDIO_RECORDING", + BackgroundMusic: "BACKGROUND_MUSIC", + Blackboard: "BLACKBOARD", + BuiltInScreen: "BUILT_IN_SCREEN", + ClosedCircuitVideo: "CLOSED_CIRCUIT_VIDEO", + DryEraseBoard: "DRY_ERASE_BOARD", + DvdPlayer: "DVD_PLAYER", + Easel: "EASEL", + ElectricPointer: "ELECTRIC_POINTER", + FlipchartMarkers: "FLIPCHART_MARKERS", + Internet: "INTERNET", + Lectern: "LECTERN", + Microphone: "MICROPHONE", + MonitorCart: "MONITOR_CART", + OutdoorSpace: "OUTDOOR_SPACE", + PersonalComputer: "PERSONAL_COMPUTER", + PoweredSpeaker: "POWERED_SPEAKER", + PrivateSpace: "PRIVATE_SPACE", + ProjectionStand: "PROJECTION_STAND", + Projector: "PROJECTOR", + SemiPrivateSpace: "SEMI_PRIVATE_SPACE", + Television: "TELEVISION", + VhsPlayer: "VHS_PLAYER", + VideoCamera: "VIDEO_CAMERA", + VideoMonitor: "VIDEO_MONITOR", + VideoRecording: "VIDEO_RECORDING", + WheelchairAccessible: "WHEELCHAIR_ACCESSIBLE", +} as const; +/** + * Available amenities for a meeting room. + */ +export type MeetingRoomAmenity = ClosedEnum; + +/** @internal */ +export const MeetingRoomAmenity$inboundSchema: z.ZodNativeEnum< + typeof MeetingRoomAmenity +> = z.nativeEnum(MeetingRoomAmenity); +/** @internal */ +export const MeetingRoomAmenity$outboundSchema: z.ZodNativeEnum< + typeof MeetingRoomAmenity +> = MeetingRoomAmenity$inboundSchema; diff --git a/packages/typescript/src/models/components/meetingroomcapacities.ts b/packages/typescript/src/models/components/meetingroomcapacities.ts new file mode 100644 index 000000000..d7f8093e0 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomcapacities.ts @@ -0,0 +1,76 @@ +/* + * 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 { + MeetingRoomExhibitCapacity, + MeetingRoomExhibitCapacity$inboundSchema, + MeetingRoomExhibitCapacity$Outbound, + MeetingRoomExhibitCapacity$outboundSchema, +} from "./meetingroomexhibitcapacity.js"; +import { + MeetingRoomSeatingCapacity, + MeetingRoomSeatingCapacity$inboundSchema, + MeetingRoomSeatingCapacity$Outbound, + MeetingRoomSeatingCapacity$outboundSchema, +} from "./meetingroomseatingcapacity.js"; + +/** + * Capacity information for a meeting room, grouped by category. + */ +export type MeetingRoomCapacities = { + /** + * Maximum number of exhibits per room setup. + */ + exhibits?: Array | undefined; + /** + * Maximum number of attendees per seating style. + */ + seating?: Array | undefined; +}; + +/** @internal */ +export const MeetingRoomCapacities$inboundSchema: z.ZodType< + MeetingRoomCapacities, + z.ZodTypeDef, + unknown +> = z.object({ + exhibits: z.array(MeetingRoomExhibitCapacity$inboundSchema).optional(), + seating: z.array(MeetingRoomSeatingCapacity$inboundSchema).optional(), +}); +/** @internal */ +export type MeetingRoomCapacities$Outbound = { + exhibits?: Array | undefined; + seating?: Array | undefined; +}; + +/** @internal */ +export const MeetingRoomCapacities$outboundSchema: z.ZodType< + MeetingRoomCapacities$Outbound, + z.ZodTypeDef, + MeetingRoomCapacities +> = z.object({ + exhibits: z.array(MeetingRoomExhibitCapacity$outboundSchema).optional(), + seating: z.array(MeetingRoomSeatingCapacity$outboundSchema).optional(), +}); + +export function meetingRoomCapacitiesToJSON( + meetingRoomCapacities: MeetingRoomCapacities, +): string { + return JSON.stringify( + MeetingRoomCapacities$outboundSchema.parse(meetingRoomCapacities), + ); +} +export function meetingRoomCapacitiesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRoomCapacities$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRoomCapacities' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingroomexhibitcapacity.ts b/packages/typescript/src/models/components/meetingroomexhibitcapacity.ts new file mode 100644 index 000000000..eb9a8eb80 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomexhibitcapacity.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 { + ExhibitLayoutType, + ExhibitLayoutType$inboundSchema, + ExhibitLayoutType$outboundSchema, +} from "./exhibitlayouttype.js"; + +/** + * Maximum number of exhibits for a specific exhibit layout type in a meeting room. + */ +export type MeetingRoomExhibitCapacity = { + /** + * The exhibit setup type for a meeting room. Values represent standard exhibit booth and display configurations. + */ + layoutType: ExhibitLayoutType; + /** + * Maximum number of exhibits for this layout type. + */ + maxExhibits: number; +}; + +/** @internal */ +export const MeetingRoomExhibitCapacity$inboundSchema: z.ZodType< + MeetingRoomExhibitCapacity, + z.ZodTypeDef, + unknown +> = z.object({ + layoutType: ExhibitLayoutType$inboundSchema, + maxExhibits: z.number().int(), +}); +/** @internal */ +export type MeetingRoomExhibitCapacity$Outbound = { + layoutType: string; + maxExhibits: number; +}; + +/** @internal */ +export const MeetingRoomExhibitCapacity$outboundSchema: z.ZodType< + MeetingRoomExhibitCapacity$Outbound, + z.ZodTypeDef, + MeetingRoomExhibitCapacity +> = z.object({ + layoutType: ExhibitLayoutType$outboundSchema, + maxExhibits: z.number().int(), +}); + +export function meetingRoomExhibitCapacityToJSON( + meetingRoomExhibitCapacity: MeetingRoomExhibitCapacity, +): string { + return JSON.stringify( + MeetingRoomExhibitCapacity$outboundSchema.parse(meetingRoomExhibitCapacity), + ); +} +export function meetingRoomExhibitCapacityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRoomExhibitCapacity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRoomExhibitCapacity' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingroomoverview.ts b/packages/typescript/src/models/components/meetingroomoverview.ts new file mode 100644 index 000000000..d1e01758e --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomoverview.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An overview of a venue meeting room containing key identifiers and display properties. + */ +export type MeetingRoomOverview = { + /** + * The ID of the meeting room. + */ + id: string; + /** + * The display name of the meeting room. + */ + name: string; + /** + * True indicates the meeting room is hidden on the venue profile. + */ + hiddenOnProfile?: boolean | undefined; + /** + * Position of this meeting room in the venue's room listing, with 1 being the first position. + */ + displayOrder?: number | undefined; +}; + +/** @internal */ +export const MeetingRoomOverview$inboundSchema: z.ZodType< + MeetingRoomOverview, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + hiddenOnProfile: z.boolean().optional(), + displayOrder: z.number().int().optional(), +}); + +export function meetingRoomOverviewFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRoomOverview$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRoomOverview' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingroomrate.ts b/packages/typescript/src/models/components/meetingroomrate.ts new file mode 100644 index 000000000..f413f8b61 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomrate.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + RateApplicationType, + RateApplicationType$inboundSchema, + RateApplicationType$outboundSchema, +} from "./rateapplicationtype.js"; + +/** + * Meeting room rate with a value and application type. + */ +export type MeetingRoomRate = { + /** + * The monetary value of the rate. + */ + value: number; + /** + * How the rate is applied to the meeting room booking. + * + * @remarks + * + * Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ + applicationType: RateApplicationType; +}; + +/** @internal */ +export const MeetingRoomRate$inboundSchema: z.ZodType< + MeetingRoomRate, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.number(), + applicationType: RateApplicationType$inboundSchema, +}); +/** @internal */ +export type MeetingRoomRate$Outbound = { + value: number; + applicationType: string; +}; + +/** @internal */ +export const MeetingRoomRate$outboundSchema: z.ZodType< + MeetingRoomRate$Outbound, + z.ZodTypeDef, + MeetingRoomRate +> = z.object({ + value: z.number(), + applicationType: RateApplicationType$outboundSchema, +}); + +export function meetingRoomRateToJSON( + meetingRoomRate: MeetingRoomRate, +): string { + return JSON.stringify(MeetingRoomRate$outboundSchema.parse(meetingRoomRate)); +} +export function meetingRoomRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRoomRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRoomRate' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingroomrequirement.ts b/packages/typescript/src/models/components/meetingroomrequirement.ts new file mode 100644 index 000000000..16ea18510 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomrequirement.ts @@ -0,0 +1,90 @@ +/* + * 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 { + MeetingRoomAgendaItemType, + MeetingRoomAgendaItemType$inboundSchema, +} from "./meetingroomagendaitemtype.js"; +import { + MeetingRoomSetupType, + MeetingRoomSetupType$inboundSchema, +} from "./meetingroomsetuptype.js"; + +/** + * The requirement of a meeting room on the specified date. + */ +export type MeetingRoomRequirement = { + /** + * The date for the meeting room, in format of YYYY-MM-DD. + */ + date: string; + /** + * The start time for the meeting room, in format of HH:MM:SS. + */ + startTime?: string | undefined; + /** + * The end time for the meeting room, in format of HH:MM:SS. + */ + endTime?: string | undefined; + /** + * The agenda item for the meeting room. + */ + agendaItem?: string | undefined; + /** + * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. + */ + agendaItemType?: Array | undefined; + /** + * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. + */ + setupType?: Array | undefined; + /** + * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. + */ + roomSize?: number | undefined; + /** + * The number of people for the meeting room. + */ + numberOfPeople?: number | undefined; + /** + * True indicates the meeting room is held for 24 hours. + */ + twentyFourHourHold?: boolean | undefined; + /** + * The meeting room requirement note. + */ + note?: string | undefined; +}; + +/** @internal */ +export const MeetingRoomRequirement$inboundSchema: z.ZodType< + MeetingRoomRequirement, + z.ZodTypeDef, + unknown +> = z.object({ + date: z.string(), + startTime: z.string().optional(), + endTime: z.string().optional(), + agendaItem: z.string().optional(), + agendaItemType: z.array(MeetingRoomAgendaItemType$inboundSchema).optional(), + setupType: z.array(MeetingRoomSetupType$inboundSchema).optional(), + roomSize: z.number().optional(), + numberOfPeople: z.number().int().optional(), + twentyFourHourHold: z.boolean().optional(), + note: z.string().optional(), +}); + +export function meetingRoomRequirementFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRoomRequirement$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRoomRequirement' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingroomrequirementjson.ts b/packages/typescript/src/models/components/meetingroomrequirementjson.ts deleted file mode 100644 index 2bfc16036..000000000 --- a/packages/typescript/src/models/components/meetingroomrequirementjson.ts +++ /dev/null @@ -1,91 +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 { - MeetingRoomAgendaItemTypeJson, - MeetingRoomAgendaItemTypeJson$inboundSchema, -} from "./meetingroomagendaitemtypejson.js"; -import { - MeetingRoomSetupTypeJson, - MeetingRoomSetupTypeJson$inboundSchema, -} from "./meetingroomsetuptypejson.js"; - -/** - * The requirement of a meeting room on the specified date. - */ -export type MeetingRoomRequirementJson = { - /** - * The date for the meeting room, in format of YYYY-MM-DD. - */ - date: string; - /** - * The start time for the meeting room, in format of HH:MM:SS. - */ - startTime?: string | undefined; - /** - * The end time for the meeting room, in format of HH:MM:SS. - */ - endTime?: string | undefined; - /** - * The agenda item for the meeting room. - */ - agendaItem?: string | undefined; - /** - * For the meeting requests, this is the selection of agenda item type. In this case, up to one agenda item type is allowed. For the meeting request forms, this is the list of all the available agenda item types. - */ - agendaItemType?: Array | undefined; - /** - * For the meeting requests, this is the selection of setup type. In this case, up to one setup type is allowed. For the meeting request forms, this is the list of all the available setup types. - */ - setupType?: Array | undefined; - /** - * The size of the meeting room. It can be in any measurement the user chooses, e.g., square feet, number of seats, number of tables, etc. - */ - roomSize?: number | undefined; - /** - * The number of people for the meeting room. - */ - numberOfPeople?: number | undefined; - /** - * True indicates the meeting room is held for 24 hours. - */ - twentyFourHourHold?: boolean | undefined; - /** - * The meeting room requirement note. - */ - note?: string | undefined; -}; - -/** @internal */ -export const MeetingRoomRequirementJson$inboundSchema: z.ZodType< - MeetingRoomRequirementJson, - z.ZodTypeDef, - unknown -> = z.object({ - date: z.string(), - startTime: z.string().optional(), - endTime: z.string().optional(), - agendaItem: z.string().optional(), - agendaItemType: z.array(MeetingRoomAgendaItemTypeJson$inboundSchema) - .optional(), - setupType: z.array(MeetingRoomSetupTypeJson$inboundSchema).optional(), - roomSize: z.number().optional(), - numberOfPeople: z.number().int().optional(), - twentyFourHourHold: z.boolean().optional(), - note: z.string().optional(), -}); - -export function meetingRoomRequirementJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => MeetingRoomRequirementJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MeetingRoomRequirementJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/meetingroomseatingcapacity.ts b/packages/typescript/src/models/components/meetingroomseatingcapacity.ts new file mode 100644 index 000000000..3c45720dc --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomseatingcapacity.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 { + SeatingLayoutType, + SeatingLayoutType$inboundSchema, + SeatingLayoutType$outboundSchema, +} from "./seatinglayouttype.js"; + +/** + * Maximum number of attendees for a specific seating style in a meeting room. + */ +export type MeetingRoomSeatingCapacity = { + /** + * The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + */ + layoutType: SeatingLayoutType; + /** + * Maximum number of attendees for this seating style. + */ + maxAttendees: number; +}; + +/** @internal */ +export const MeetingRoomSeatingCapacity$inboundSchema: z.ZodType< + MeetingRoomSeatingCapacity, + z.ZodTypeDef, + unknown +> = z.object({ + layoutType: SeatingLayoutType$inboundSchema, + maxAttendees: z.number().int(), +}); +/** @internal */ +export type MeetingRoomSeatingCapacity$Outbound = { + layoutType: string; + maxAttendees: number; +}; + +/** @internal */ +export const MeetingRoomSeatingCapacity$outboundSchema: z.ZodType< + MeetingRoomSeatingCapacity$Outbound, + z.ZodTypeDef, + MeetingRoomSeatingCapacity +> = z.object({ + layoutType: SeatingLayoutType$outboundSchema, + maxAttendees: z.number().int(), +}); + +export function meetingRoomSeatingCapacityToJSON( + meetingRoomSeatingCapacity: MeetingRoomSeatingCapacity, +): string { + return JSON.stringify( + MeetingRoomSeatingCapacity$outboundSchema.parse(meetingRoomSeatingCapacity), + ); +} +export function meetingRoomSeatingCapacityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRoomSeatingCapacity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRoomSeatingCapacity' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/meetingroomsetuptype.ts b/packages/typescript/src/models/components/meetingroomsetuptype.ts new file mode 100644 index 000000000..d2b8c4113 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomsetuptype.ts @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Defines the setup types of a meeting room requirement. + */ +export const MeetingRoomSetupType = { + Tenx10: "10x10", + Eightx10: "8x10", + Buffet: "Buffet", + Cabaret: "Cabaret", + Chevron: "Chevron", + Classroom: "Classroom", + Conference: "Conference", + CrescentRounds: "Crescent Rounds", + Flow: "Flow", + Herringbone: "Herringbone", + HollowSquare: "Hollow Square", + Island: "Island", + Other: "Other", + Peninsula: "Peninsula", + Plated: "Plated", + Reception: "Reception", + Rounds: "Rounds", + RoundsOf10: "Rounds of 10", + RoundsOf6: "Rounds of 6", + RoundsOf8: "Rounds of 8", + SchoolRoom: "School Room", + Tabletop: "Tabletop", + Theater: "Theater", + TShaped: "T-Shaped", + UShaped: "U-Shaped", +} as const; +/** + * Defines the setup types of a meeting room requirement. + */ +export type MeetingRoomSetupType = ClosedEnum; + +/** @internal */ +export const MeetingRoomSetupType$inboundSchema: z.ZodNativeEnum< + typeof MeetingRoomSetupType +> = z.nativeEnum(MeetingRoomSetupType); diff --git a/packages/typescript/src/models/components/meetingroomsetuptypejson.ts b/packages/typescript/src/models/components/meetingroomsetuptypejson.ts deleted file mode 100644 index 3fefcf71a..000000000 --- a/packages/typescript/src/models/components/meetingroomsetuptypejson.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Defines the setup types of a meeting room requirement. - */ -export const MeetingRoomSetupTypeJson = { - Tenx10: "10x10", - Eightx10: "8x10", - Buffet: "Buffet", - Cabaret: "Cabaret", - Chevron: "Chevron", - Classroom: "Classroom", - Conference: "Conference", - CrescentRounds: "Crescent Rounds", - Flow: "Flow", - Herringbone: "Herringbone", - HollowSquare: "Hollow Square", - Island: "Island", - Other: "Other", - Peninsula: "Peninsula", - Plated: "Plated", - Reception: "Reception", - Rounds: "Rounds", - RoundsOf10: "Rounds of 10", - RoundsOf6: "Rounds of 6", - RoundsOf8: "Rounds of 8", - SchoolRoom: "School Room", - Tabletop: "Tabletop", - Theater: "Theater", - TShaped: "T-Shaped", - UShaped: "U-Shaped", -} as const; -/** - * Defines the setup types of a meeting room requirement. - */ -export type MeetingRoomSetupTypeJson = ClosedEnum< - typeof MeetingRoomSetupTypeJson ->; - -/** @internal */ -export const MeetingRoomSetupTypeJson$inboundSchema: z.ZodNativeEnum< - typeof MeetingRoomSetupTypeJson -> = z.nativeEnum(MeetingRoomSetupTypeJson); diff --git a/packages/typescript/src/models/components/meetingroomsoverviewresponse.ts b/packages/typescript/src/models/components/meetingroomsoverviewresponse.ts new file mode 100644 index 000000000..1c7d1b989 --- /dev/null +++ b/packages/typescript/src/models/components/meetingroomsoverviewresponse.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + MeetingRoomOverview, + MeetingRoomOverview$inboundSchema, +} from "./meetingroomoverview.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; + +/** + * Paginated overview of meeting rooms for a venue. + */ +export type MeetingRoomsOverviewResponse = { + /** + * Represents pagination information for a collection of resources. + */ + paging?: Paging | undefined; + /** + * Overview of meeting rooms. + */ + data: Array; +}; + +/** @internal */ +export const MeetingRoomsOverviewResponse$inboundSchema: z.ZodType< + MeetingRoomsOverviewResponse, + z.ZodTypeDef, + unknown +> = z.object({ + paging: Paging$inboundSchema.optional(), + data: z.array(MeetingRoomOverview$inboundSchema), +}); + +export function meetingRoomsOverviewResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MeetingRoomsOverviewResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MeetingRoomsOverviewResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/patchmeetingroom.ts b/packages/typescript/src/models/components/patchmeetingroom.ts new file mode 100644 index 000000000..e235cc5d6 --- /dev/null +++ b/packages/typescript/src/models/components/patchmeetingroom.ts @@ -0,0 +1,340 @@ +/* + * 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 { + AreaMeasurement, + AreaMeasurement$inboundSchema, + AreaMeasurement$Outbound, + AreaMeasurement$outboundSchema, +} from "./areameasurement.js"; +import { + Dimension, + Dimension$inboundSchema, + Dimension$Outbound, + Dimension$outboundSchema, +} from "./dimension.js"; +import { + MeetingRoomAmenity, + MeetingRoomAmenity$inboundSchema, + MeetingRoomAmenity$outboundSchema, +} from "./meetingroomamenity.js"; +import { + MeetingRoomExhibitCapacity, + MeetingRoomExhibitCapacity$inboundSchema, + MeetingRoomExhibitCapacity$Outbound, + MeetingRoomExhibitCapacity$outboundSchema, +} from "./meetingroomexhibitcapacity.js"; +import { + MeetingRoomRate, + MeetingRoomRate$inboundSchema, + MeetingRoomRate$Outbound, + MeetingRoomRate$outboundSchema, +} from "./meetingroomrate.js"; +import { + MeetingRoomSeatingCapacity, + MeetingRoomSeatingCapacity$inboundSchema, + MeetingRoomSeatingCapacity$Outbound, + MeetingRoomSeatingCapacity$outboundSchema, +} from "./meetingroomseatingcapacity.js"; + +/** + * Physical dimensions for the meeting room. + */ +export type PatchMeetingRoomDimensions = { + /** + * Measurement of area in square feet or square meters. + */ + totalSpace?: AreaMeasurement | undefined; + /** + * A dimension measurement in feet or meters. + */ + ceilingHeight?: Dimension | undefined; + /** + * A dimension measurement in feet or meters. + */ + length?: Dimension | undefined; + /** + * A dimension measurement in feet or meters. + */ + width?: Dimension | undefined; +}; + +/** + * Rate information for move in/out and events. + */ +export type PatchMeetingRoomRates = { + /** + * Meeting room rate with a value and application type. + */ + moveIn?: MeetingRoomRate | undefined; + /** + * Meeting room rate with a value and application type. + */ + moveOut?: MeetingRoomRate | undefined; + /** + * Meeting room rate with a value and application type. + */ + event?: MeetingRoomRate | undefined; +}; + +/** + * Capacity information for the meeting room, grouped by category. + */ +export type Capacities = { + /** + * Maximum number of exhibits per room setup. + */ + exhibits?: Array | null | undefined; + /** + * Maximum number of attendees per seating style. + */ + seating?: Array | null | undefined; +}; + +/** + * Partial update payload for a venue meeting room. + */ +export type PatchMeetingRoom = { + /** + * The name of the meeting room. + */ + name?: string | undefined; + /** + * The detailed description of the meeting room. + */ + description?: string | null | undefined; + /** + * Physical dimensions for the meeting room. + */ + dimensions?: PatchMeetingRoomDimensions | undefined; + /** + * The position of this meeting room in the venue's room listing. + */ + displayOrder?: number | undefined; + /** + * The provider's own identifier for this meeting room. + */ + externalSourceId?: string | null | undefined; + /** + * Rate information for move in/out and events. + */ + rates?: PatchMeetingRoomRates | null | undefined; + /** + * Capacity information for the meeting room, grouped by category. + */ + capacities?: Capacities | null | undefined; + /** + * List of amenities available in the meeting room. + */ + amenities?: Array | null | undefined; + /** + * True indicates the meeting room is hidden on the venue profile. + */ + hiddenOnProfile?: boolean | undefined; +}; + +/** @internal */ +export const PatchMeetingRoomDimensions$inboundSchema: z.ZodType< + PatchMeetingRoomDimensions, + z.ZodTypeDef, + unknown +> = z.object({ + totalSpace: AreaMeasurement$inboundSchema.optional(), + ceilingHeight: Dimension$inboundSchema.optional(), + length: Dimension$inboundSchema.optional(), + width: Dimension$inboundSchema.optional(), +}); +/** @internal */ +export type PatchMeetingRoomDimensions$Outbound = { + totalSpace?: AreaMeasurement$Outbound | undefined; + ceilingHeight?: Dimension$Outbound | undefined; + length?: Dimension$Outbound | undefined; + width?: Dimension$Outbound | undefined; +}; + +/** @internal */ +export const PatchMeetingRoomDimensions$outboundSchema: z.ZodType< + PatchMeetingRoomDimensions$Outbound, + z.ZodTypeDef, + PatchMeetingRoomDimensions +> = z.object({ + totalSpace: AreaMeasurement$outboundSchema.optional(), + ceilingHeight: Dimension$outboundSchema.optional(), + length: Dimension$outboundSchema.optional(), + width: Dimension$outboundSchema.optional(), +}); + +export function patchMeetingRoomDimensionsToJSON( + patchMeetingRoomDimensions: PatchMeetingRoomDimensions, +): string { + return JSON.stringify( + PatchMeetingRoomDimensions$outboundSchema.parse(patchMeetingRoomDimensions), + ); +} +export function patchMeetingRoomDimensionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchMeetingRoomDimensions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchMeetingRoomDimensions' from JSON`, + ); +} + +/** @internal */ +export const PatchMeetingRoomRates$inboundSchema: z.ZodType< + PatchMeetingRoomRates, + z.ZodTypeDef, + unknown +> = z.object({ + moveIn: MeetingRoomRate$inboundSchema.optional(), + moveOut: MeetingRoomRate$inboundSchema.optional(), + event: MeetingRoomRate$inboundSchema.optional(), +}); +/** @internal */ +export type PatchMeetingRoomRates$Outbound = { + moveIn?: MeetingRoomRate$Outbound | undefined; + moveOut?: MeetingRoomRate$Outbound | undefined; + event?: MeetingRoomRate$Outbound | undefined; +}; + +/** @internal */ +export const PatchMeetingRoomRates$outboundSchema: z.ZodType< + PatchMeetingRoomRates$Outbound, + z.ZodTypeDef, + PatchMeetingRoomRates +> = z.object({ + moveIn: MeetingRoomRate$outboundSchema.optional(), + moveOut: MeetingRoomRate$outboundSchema.optional(), + event: MeetingRoomRate$outboundSchema.optional(), +}); + +export function patchMeetingRoomRatesToJSON( + patchMeetingRoomRates: PatchMeetingRoomRates, +): string { + return JSON.stringify( + PatchMeetingRoomRates$outboundSchema.parse(patchMeetingRoomRates), + ); +} +export function patchMeetingRoomRatesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchMeetingRoomRates$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchMeetingRoomRates' from JSON`, + ); +} + +/** @internal */ +export const Capacities$inboundSchema: z.ZodType< + Capacities, + z.ZodTypeDef, + unknown +> = z.object({ + exhibits: z.nullable(z.array(MeetingRoomExhibitCapacity$inboundSchema)) + .optional(), + seating: z.nullable(z.array(MeetingRoomSeatingCapacity$inboundSchema)) + .optional(), +}); +/** @internal */ +export type Capacities$Outbound = { + exhibits?: Array | null | undefined; + seating?: Array | null | undefined; +}; + +/** @internal */ +export const Capacities$outboundSchema: z.ZodType< + Capacities$Outbound, + z.ZodTypeDef, + Capacities +> = z.object({ + exhibits: z.nullable(z.array(MeetingRoomExhibitCapacity$outboundSchema)) + .optional(), + seating: z.nullable(z.array(MeetingRoomSeatingCapacity$outboundSchema)) + .optional(), +}); + +export function capacitiesToJSON(capacities: Capacities): string { + return JSON.stringify(Capacities$outboundSchema.parse(capacities)); +} +export function capacitiesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Capacities$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Capacities' from JSON`, + ); +} + +/** @internal */ +export const PatchMeetingRoom$inboundSchema: z.ZodType< + PatchMeetingRoom, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + description: z.nullable(z.string()).optional(), + dimensions: z.lazy(() => PatchMeetingRoomDimensions$inboundSchema).optional(), + displayOrder: z.number().int().optional(), + externalSourceId: z.nullable(z.string()).optional(), + rates: z.nullable(z.lazy(() => PatchMeetingRoomRates$inboundSchema)) + .optional(), + capacities: z.nullable(z.lazy(() => Capacities$inboundSchema)).optional(), + amenities: z.nullable(z.array(MeetingRoomAmenity$inboundSchema)).optional(), + hiddenOnProfile: z.boolean().optional(), +}); +/** @internal */ +export type PatchMeetingRoom$Outbound = { + name?: string | undefined; + description?: string | null | undefined; + dimensions?: PatchMeetingRoomDimensions$Outbound | undefined; + displayOrder?: number | undefined; + externalSourceId?: string | null | undefined; + rates?: PatchMeetingRoomRates$Outbound | null | undefined; + capacities?: Capacities$Outbound | null | undefined; + amenities?: Array | null | undefined; + hiddenOnProfile?: boolean | undefined; +}; + +/** @internal */ +export const PatchMeetingRoom$outboundSchema: z.ZodType< + PatchMeetingRoom$Outbound, + z.ZodTypeDef, + PatchMeetingRoom +> = z.object({ + name: z.string().optional(), + description: z.nullable(z.string()).optional(), + dimensions: z.lazy(() => PatchMeetingRoomDimensions$outboundSchema) + .optional(), + displayOrder: z.number().int().optional(), + externalSourceId: z.nullable(z.string()).optional(), + rates: z.nullable(z.lazy(() => PatchMeetingRoomRates$outboundSchema)) + .optional(), + capacities: z.nullable(z.lazy(() => Capacities$outboundSchema)).optional(), + amenities: z.nullable(z.array(MeetingRoomAmenity$outboundSchema)).optional(), + hiddenOnProfile: z.boolean().optional(), +}); + +export function patchMeetingRoomToJSON( + patchMeetingRoom: PatchMeetingRoom, +): string { + return JSON.stringify( + PatchMeetingRoom$outboundSchema.parse(patchMeetingRoom), + ); +} +export function patchMeetingRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchMeetingRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchMeetingRoom' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/pollresponse.ts b/packages/typescript/src/models/components/pollresponse.ts new file mode 100644 index 000000000..41891bbec --- /dev/null +++ b/packages/typescript/src/models/components/pollresponse.ts @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + BaseQuestionResponse, + BaseQuestionResponse$inboundSchema, +} from "./basequestionresponse.js"; + +/** + * This is used to denote the poll details. + */ +export type PollResponse = { + /** + * The name of the poll. + */ + name?: string | undefined; + /** + * The list of question and answers for a poll. + */ + responses?: Array | undefined; +}; + +/** @internal */ +export const PollResponse$inboundSchema: z.ZodType< + PollResponse, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + responses: z.array(BaseQuestionResponse$inboundSchema).optional(), +}); + +export function pollResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PollResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PollResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/pollresponsejson.ts b/packages/typescript/src/models/components/pollresponsejson.ts deleted file mode 100644 index 95fd7cad9..000000000 --- a/packages/typescript/src/models/components/pollresponsejson.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - BaseQuestionResponseJson, - BaseQuestionResponseJson$inboundSchema, -} from "./basequestionresponsejson.js"; - -/** - * This is used to denote the poll details. - */ -export type PollResponseJson = { - /** - * The name of the poll. - */ - name?: string | undefined; - /** - * The list of question and answers for a poll. - */ - responses?: Array | undefined; -}; - -/** @internal */ -export const PollResponseJson$inboundSchema: z.ZodType< - PollResponseJson, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - responses: z.array(BaseQuestionResponseJson$inboundSchema).optional(), -}); - -export function pollResponseJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PollResponseJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PollResponseJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/processform.ts b/packages/typescript/src/models/components/processform.ts new file mode 100644 index 000000000..ea992733e --- /dev/null +++ b/packages/typescript/src/models/components/processform.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An object that contains the process form ID. + * + * @remarks + * + * This is an **expandable** object and if requested will contain the name of a process form object. + */ +export type ProcessForm = { + /** + * The ID of the process form. + */ + id?: string | undefined; +}; + +/** @internal */ +export const ProcessForm$inboundSchema: z.ZodType< + ProcessForm, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function processFormFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProcessForm$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProcessForm' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/processformjson.ts b/packages/typescript/src/models/components/processformjson.ts deleted file mode 100644 index 1e53a4d58..000000000 --- a/packages/typescript/src/models/components/processformjson.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * An object that contains the process form ID. - * - * @remarks - * - * This is an **expandable** object and if requested will contain the name of a process form object. - */ -export type ProcessFormJson = { - /** - * The ID of the process form. - */ - id?: string | undefined; -}; - -/** @internal */ -export const ProcessFormJson$inboundSchema: z.ZodType< - ProcessFormJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function processFormJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProcessFormJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProcessFormJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/processformquestiontypejson.ts b/packages/typescript/src/models/components/processformquestiontypejson.ts deleted file mode 100644 index 74b7196e7..000000000 --- a/packages/typescript/src/models/components/processformquestiontypejson.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the type of data collected by a question. - */ -export const ProcessFormQuestionTypeJson = { - CommentBox: "CommentBox", - Currency: "Currency", - Decimal: "Decimal", - DateTime: "DateTime", - Email: "Email", - General: "General", - Number: "Number", - MultiSelect: "MultiSelect", - SingleSelect: "SingleSelect", - USPhoneNumber: "USPhoneNumber", - Unknown: "Unknown", -} as const; -/** - * Denotes the type of data collected by a question. - */ -export type ProcessFormQuestionTypeJson = ClosedEnum< - typeof ProcessFormQuestionTypeJson ->; - -/** @internal */ -export const ProcessFormQuestionTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ProcessFormQuestionTypeJson -> = z.nativeEnum(ProcessFormQuestionTypeJson); diff --git a/packages/typescript/src/models/components/processformsubmission.ts b/packages/typescript/src/models/components/processformsubmission.ts new file mode 100644 index 000000000..c47fbcdec --- /dev/null +++ b/packages/typescript/src/models/components/processformsubmission.ts @@ -0,0 +1,123 @@ +/* + * 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 { ProcessForm, ProcessForm$inboundSchema } from "./processform.js"; +import { + ProcessFormSubmissionQuestion, + ProcessFormSubmissionQuestion$inboundSchema, +} from "./processformsubmissionquestion.js"; + +/** + * The event which the process form submission is associated with. + */ +export type ProcessFormSubmissionEvent = { + /** + * The unique ID of the event. + */ + id?: string | undefined; +}; + +/** + * Represents a process form submission in the context of a specific event. + */ +export type ProcessFormSubmission = { + /** + * The ISO 8601 zoned date time when this record was created. + */ + created?: Date | undefined; + /** + * The identifier of the user that created this record. + */ + createdBy?: string | undefined; + /** + * The ISO 8601 zoned date time when this record was updated. + */ + lastModified?: Date | undefined; + /** + * The identifier of the user that last updated this record. + */ + lastModifiedBy?: string | undefined; + /** + * The unique ID representing the process form submission. + */ + id: string; + /** + * The event which the process form submission is associated with. + */ + event: ProcessFormSubmissionEvent; + /** + * An object that contains the process form ID. + * + * @remarks + * + * This is an **expandable** object and if requested will contain the name of a process form object. + */ + processForm?: ProcessForm | undefined; + /** + * The status of the process form submission. The status is planner defined and can be any string. + */ + status?: string | undefined; + /** + * The list of possible answers to a question. + */ + questions?: Array | undefined; +}; + +/** @internal */ +export const ProcessFormSubmissionEvent$inboundSchema: z.ZodType< + ProcessFormSubmissionEvent, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function processFormSubmissionEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProcessFormSubmissionEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProcessFormSubmissionEvent' from JSON`, + ); +} + +/** @internal */ +export const ProcessFormSubmission$inboundSchema: z.ZodType< + ProcessFormSubmission, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + createdBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + id: z.string(), + event: z.lazy(() => ProcessFormSubmissionEvent$inboundSchema), + "process-form": ProcessForm$inboundSchema.optional(), + status: z.string().optional(), + questions: z.array(ProcessFormSubmissionQuestion$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "process-form": "processForm", + }); +}); + +export function processFormSubmissionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProcessFormSubmission$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProcessFormSubmission' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/processformsubmissionjson.ts b/packages/typescript/src/models/components/processformsubmissionjson.ts deleted file mode 100644 index 61db27873..000000000 --- a/packages/typescript/src/models/components/processformsubmissionjson.ts +++ /dev/null @@ -1,127 +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 { - ProcessFormJson, - ProcessFormJson$inboundSchema, -} from "./processformjson.js"; -import { - ProcessFormSubmissionQuestionJson, - ProcessFormSubmissionQuestionJson$inboundSchema, -} from "./processformsubmissionquestionjson.js"; - -/** - * The event which the process form submission is associated with. - */ -export type ProcessFormSubmissionJsonEvent = { - /** - * The unique ID of the event. - */ - id?: string | undefined; -}; - -/** - * Represents a process form submission in the context of a specific event. - */ -export type ProcessFormSubmissionJson = { - /** - * The ISO 8601 zoned date time when this record was created. - */ - created?: Date | undefined; - /** - * The identifier of the user that created this record. - */ - createdBy?: string | undefined; - /** - * The ISO 8601 zoned date time when this record was updated. - */ - lastModified?: Date | undefined; - /** - * The identifier of the user that last updated this record. - */ - lastModifiedBy?: string | undefined; - /** - * The unique ID representing the process form submission. - */ - id: string; - /** - * The event which the process form submission is associated with. - */ - event: ProcessFormSubmissionJsonEvent; - /** - * An object that contains the process form ID. - * - * @remarks - * - * This is an **expandable** object and if requested will contain the name of a process form object. - */ - processForm?: ProcessFormJson | undefined; - /** - * The status of the process form submission. The status is planner defined and can be any string. - */ - status?: string | undefined; - /** - * The list of possible answers to a question. - */ - questions?: Array | undefined; -}; - -/** @internal */ -export const ProcessFormSubmissionJsonEvent$inboundSchema: z.ZodType< - ProcessFormSubmissionJsonEvent, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function processFormSubmissionJsonEventFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProcessFormSubmissionJsonEvent$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProcessFormSubmissionJsonEvent' from JSON`, - ); -} - -/** @internal */ -export const ProcessFormSubmissionJson$inboundSchema: z.ZodType< - ProcessFormSubmissionJson, - z.ZodTypeDef, - unknown -> = z.object({ - created: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - createdBy: z.string().optional(), - lastModified: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - lastModifiedBy: z.string().optional(), - id: z.string(), - event: z.lazy(() => ProcessFormSubmissionJsonEvent$inboundSchema), - "process-form": ProcessFormJson$inboundSchema.optional(), - status: z.string().optional(), - questions: z.array(ProcessFormSubmissionQuestionJson$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "process-form": "processForm", - }); -}); - -export function processFormSubmissionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProcessFormSubmissionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProcessFormSubmissionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/processformsubmissionquestion.ts b/packages/typescript/src/models/components/processformsubmissionquestion.ts new file mode 100644 index 000000000..2e210c27a --- /dev/null +++ b/packages/typescript/src/models/components/processformsubmissionquestion.ts @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + QuestionType11, + QuestionType11$inboundSchema, +} from "./questiontype11.js"; + +/** + * A question for a process form submission. + */ +export type ProcessFormSubmissionQuestion = { + /** + * The unique ID representing this question. + */ + id: string; + /** + * The actual text of the custom field. + */ + name?: string | undefined; + /** + * Denotes the type of data collected by a question. + */ + type?: QuestionType11 | undefined; + /** + * The set of answers to the question. + */ + value: Array; +}; + +/** @internal */ +export const ProcessFormSubmissionQuestion$inboundSchema: z.ZodType< + ProcessFormSubmissionQuestion, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), + type: QuestionType11$inboundSchema.optional(), + value: z.array(z.string()), +}); + +export function processFormSubmissionQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProcessFormSubmissionQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProcessFormSubmissionQuestion' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/processformsubmissionquestionjson.ts b/packages/typescript/src/models/components/processformsubmissionquestionjson.ts deleted file mode 100644 index ea2f90c7b..000000000 --- a/packages/typescript/src/models/components/processformsubmissionquestionjson.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - ProcessFormQuestionTypeJson, - ProcessFormQuestionTypeJson$inboundSchema, -} from "./processformquestiontypejson.js"; - -/** - * A question for a process form submission. - */ -export type ProcessFormSubmissionQuestionJson = { - /** - * The unique ID representing this question. - */ - id: string; - /** - * The actual text of the custom field. - */ - name?: string | undefined; - /** - * Denotes the type of data collected by a question. - */ - type?: ProcessFormQuestionTypeJson | undefined; - /** - * The set of answers to the question. - */ - value: Array; -}; - -/** @internal */ -export const ProcessFormSubmissionQuestionJson$inboundSchema: z.ZodType< - ProcessFormSubmissionQuestionJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), - type: ProcessFormQuestionTypeJson$inboundSchema.optional(), - value: z.array(z.string()), -}); - -export function processFormSubmissionQuestionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProcessFormSubmissionQuestionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProcessFormSubmissionQuestionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/processformsubmissionspaginatedresponse.ts b/packages/typescript/src/models/components/processformsubmissionspaginatedresponse.ts index 389131796..370e39eca 100644 --- a/packages/typescript/src/models/components/processformsubmissionspaginatedresponse.ts +++ b/packages/typescript/src/models/components/processformsubmissionspaginatedresponse.ts @@ -6,11 +6,11 @@ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { - ProcessFormSubmissionJson, - ProcessFormSubmissionJson$inboundSchema, -} from "./processformsubmissionjson.js"; + ProcessFormSubmission, + ProcessFormSubmission$inboundSchema, +} from "./processformsubmission.js"; /** * The response from a request to get the list of process form submissions. This includes the paging object as well as the collection of process form submissions. @@ -19,11 +19,11 @@ export type ProcessFormSubmissionsPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of process form submission objects. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +32,8 @@ export const ProcessFormSubmissionsPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(ProcessFormSubmissionJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(ProcessFormSubmission$inboundSchema), }); export function processFormSubmissionsPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/question2.ts b/packages/typescript/src/models/components/question2.ts new file mode 100644 index 000000000..4d7d3e4a6 --- /dev/null +++ b/packages/typescript/src/models/components/question2.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The question that was answered. + */ +export type Question2 = { + /** + * The unique identifier of the question. + */ + id?: string | undefined; + /** + * Question text. + */ + text?: string | undefined; + /** + * Question code. + */ + code?: string | undefined; +}; + +/** @internal */ +export const Question2$inboundSchema: z.ZodType< + Question2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), + code: z.string().optional(), +}); + +export function question2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Question2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Question2' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/questiondetail.ts b/packages/typescript/src/models/components/questiondetail.ts new file mode 100644 index 000000000..6bc32c508 --- /dev/null +++ b/packages/typescript/src/models/components/questiondetail.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The question asked in a session. + */ +export type QuestionDetail = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * Question text. + */ + text?: string | undefined; +}; + +/** @internal */ +export const QuestionDetail$inboundSchema: z.ZodType< + QuestionDetail, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), +}); + +export function questionDetailFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => QuestionDetail$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'QuestionDetail' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/questiondetailjson.ts b/packages/typescript/src/models/components/questiondetailjson.ts deleted file mode 100644 index 0f66b4c38..000000000 --- a/packages/typescript/src/models/components/questiondetailjson.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"; - -/** - * The question asked in a session. - */ -export type QuestionDetailJson = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * Question text. - */ - text?: string | undefined; -}; - -/** @internal */ -export const QuestionDetailJson$inboundSchema: z.ZodType< - QuestionDetailJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), -}); - -export function questionDetailJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => QuestionDetailJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'QuestionDetailJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/questionjson1.ts b/packages/typescript/src/models/components/questionjson1.ts index 81d78365d..822c18293 100644 --- a/packages/typescript/src/models/components/questionjson1.ts +++ b/packages/typescript/src/models/components/questionjson1.ts @@ -14,9 +14,9 @@ import { CategoryJson1, CategoryJson1$inboundSchema } from "./categoryjson1.js"; import { ChoiceJson1, ChoiceJson1$inboundSchema } from "./choicejson1.js"; import { FieldJson, FieldJson$inboundSchema } from "./fieldjson.js"; import { - QuestionTypeJson1, - QuestionTypeJson1$inboundSchema, -} from "./questiontypejson1.js"; + QuestionTypeJson, + QuestionTypeJson$inboundSchema, +} from "./questiontypejson.js"; import { TextFieldJson, TextFieldJson$inboundSchema } from "./textfieldjson.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; @@ -63,7 +63,7 @@ export type QuestionJson1 = { /** * Question Type. */ - type?: QuestionTypeJson1 | undefined; + type?: QuestionTypeJson | undefined; /** * List of choices for the question. */ @@ -132,7 +132,7 @@ export const QuestionJson1$inboundSchema: z.ZodType< shortText: z.string().optional(), htmlText: z.string().optional(), code: z.string().optional(), - type: QuestionTypeJson1$inboundSchema.optional(), + type: QuestionTypeJson$inboundSchema.optional(), choices: z.array(ChoiceJson1$inboundSchema).optional(), categories: z.array(CategoryJson1$inboundSchema).optional(), subCategories: z.array(TextFieldJson$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/questionjson2.ts b/packages/typescript/src/models/components/questionjson2.ts deleted file mode 100644 index 4ef95fb50..000000000 --- a/packages/typescript/src/models/components/questionjson2.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The question that was answered. - */ -export type QuestionJson2 = { - /** - * The unique identifier of the question. - */ - id?: string | undefined; - /** - * Question text. - */ - text?: string | undefined; - /** - * Question code. - */ - code?: string | undefined; -}; - -/** @internal */ -export const QuestionJson2$inboundSchema: z.ZodType< - QuestionJson2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - code: z.string().optional(), -}); - -export function questionJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => QuestionJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'QuestionJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/questionresponse.ts b/packages/typescript/src/models/components/questionresponse.ts new file mode 100644 index 000000000..32ae2a461 --- /dev/null +++ b/packages/typescript/src/models/components/questionresponse.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 { Answer21, Answer21$inboundSchema } from "./answer21.js"; +import { Question2, Question2$inboundSchema } from "./question2.js"; + +/** + * A Question response. + */ +export type QuestionResponse = { + /** + * The question that was answered. + */ + question?: Question2 | undefined; + /** + * List of answers. + */ + answers?: Array | undefined; +}; + +/** @internal */ +export const QuestionResponse$inboundSchema: z.ZodType< + QuestionResponse, + z.ZodTypeDef, + unknown +> = z.object({ + question: Question2$inboundSchema.optional(), + answers: z.array(Answer21$inboundSchema).optional(), +}); + +export function questionResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => QuestionResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'QuestionResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/questionresponsejson.ts b/packages/typescript/src/models/components/questionresponsejson.ts deleted file mode 100644 index bde7f0a06..000000000 --- a/packages/typescript/src/models/components/questionresponsejson.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 { AnswerJson1, AnswerJson1$inboundSchema } from "./answerjson1.js"; -import { QuestionJson2, QuestionJson2$inboundSchema } from "./questionjson2.js"; - -/** - * A Question response. - */ -export type QuestionResponseJson = { - /** - * The question that was answered. - */ - question?: QuestionJson2 | undefined; - /** - * List of answers. - */ - answers?: Array | undefined; -}; - -/** @internal */ -export const QuestionResponseJson$inboundSchema: z.ZodType< - QuestionResponseJson, - z.ZodTypeDef, - unknown -> = z.object({ - question: QuestionJson2$inboundSchema.optional(), - answers: z.array(AnswerJson1$inboundSchema).optional(), -}); - -export function questionResponseJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => QuestionResponseJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'QuestionResponseJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/questiontype1.ts b/packages/typescript/src/models/components/questiontype1.ts new file mode 100644 index 000000000..4cdb90f68 --- /dev/null +++ b/packages/typescript/src/models/components/questiontype1.ts @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the type of data collected by a question. + */ +export const QuestionType1 = { + AutoIncrement: "AutoIncrement", + BudgetEstimates: "BudgetEstimates", + ConsentQuestion: "ConsentQuestion", + Country: "Country", + Currency: "Currency", + Decimal: "Decimal", + Date: "Date", + DateTime: "DateTime", + Email: "Email", + FileUpload: "FileUpload", + FreeText: "FreeText", + General: "General", + Number: "Number", + MeetingRoomRequirements: "MeetingRoomRequirements", + MultiSelect: "MultiSelect", + SingleSelect: "SingleSelect", + SleepingRoomRequirements: "SleepingRoomRequirements", + USPhoneNumber: "USPhoneNumber", + Unknown: "Unknown", +} as const; +/** + * Denotes the type of data collected by a question. + */ +export type QuestionType1 = ClosedEnum; + +/** @internal */ +export const QuestionType1$inboundSchema: z.ZodNativeEnum< + typeof QuestionType1 +> = z.nativeEnum(QuestionType1); diff --git a/packages/typescript/src/models/components/questiontype11.ts b/packages/typescript/src/models/components/questiontype11.ts new file mode 100644 index 000000000..39be5d4bf --- /dev/null +++ b/packages/typescript/src/models/components/questiontype11.ts @@ -0,0 +1,32 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the type of data collected by a question. + */ +export const QuestionType11 = { + CommentBox: "CommentBox", + Currency: "Currency", + Decimal: "Decimal", + DateTime: "DateTime", + Email: "Email", + General: "General", + Number: "Number", + MultiSelect: "MultiSelect", + SingleSelect: "SingleSelect", + USPhoneNumber: "USPhoneNumber", + Unknown: "Unknown", +} as const; +/** + * Denotes the type of data collected by a question. + */ +export type QuestionType11 = ClosedEnum; + +/** @internal */ +export const QuestionType11$inboundSchema: z.ZodNativeEnum< + typeof QuestionType11 +> = z.nativeEnum(QuestionType11); diff --git a/packages/typescript/src/models/components/questiontypejson.ts b/packages/typescript/src/models/components/questiontypejson.ts index 851c3edba..f431f5396 100644 --- a/packages/typescript/src/models/components/questiontypejson.ts +++ b/packages/typescript/src/models/components/questiontypejson.ts @@ -6,31 +6,30 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Denotes the type of data collected by a question. + * Question Type. */ export const QuestionTypeJson = { - AutoIncrement: "AutoIncrement", - BudgetEstimates: "BudgetEstimates", - ConsentQuestion: "ConsentQuestion", - Country: "Country", - Currency: "Currency", - Decimal: "Decimal", - Date: "Date", + SingleChoice: "SingleChoice", + MultiChoice: "MultiChoice", + MatrixSingleChoice: "MatrixSingleChoice", + MatrixMultiChoice: "MatrixMultiChoice", + MatrixSideBySide: "MatrixSideBySide", + MatrixSpreadSheet: "MatrixSpreadSheet", DateTime: "DateTime", - Email: "Email", - FileUpload: "FileUpload", - FreeText: "FreeText", - General: "General", Number: "Number", - MeetingRoomRequirements: "MeetingRoomRequirements", - MultiSelect: "MultiSelect", - SingleSelect: "SingleSelect", - SleepingRoomRequirements: "SleepingRoomRequirements", - USPhoneNumber: "USPhoneNumber", - Unknown: "Unknown", + Text: "Text", + CommentBox: "CommentBox", + Form: "Form", + RankOrder: "RankOrder", + FileUpload: "FileUpload", + NetPromoter: "NetPromoter", + Rating: "Rating", + MatrixRating: "MatrixRating", + NumberAllocation: "NumberAllocation", + LargeChoices: "LargeChoices", } as const; /** - * Denotes the type of data collected by a question. + * Question Type. */ export type QuestionTypeJson = ClosedEnum; diff --git a/packages/typescript/src/models/components/questiontypejson1.ts b/packages/typescript/src/models/components/questiontypejson1.ts index 6b5933792..31243b429 100644 --- a/packages/typescript/src/models/components/questiontypejson1.ts +++ b/packages/typescript/src/models/components/questiontypejson1.ts @@ -6,30 +6,21 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Question Type. + * This object represents the type of a question */ export const QuestionTypeJson1 = { SingleChoice: "SingleChoice", MultiChoice: "MultiChoice", - MatrixSingleChoice: "MatrixSingleChoice", - MatrixMultiChoice: "MatrixMultiChoice", - MatrixSideBySide: "MatrixSideBySide", - MatrixSpreadSheet: "MatrixSpreadSheet", - DateTime: "DateTime", - Number: "Number", - Text: "Text", - CommentBox: "CommentBox", - Form: "Form", - RankOrder: "RankOrder", + OpenEndedDateTime: "OpenEndedDateTime", + OpenEndedTextOneLine: "OpenEndedTextOneLine", + OpenEndedTextCommentBox: "OpenEndedTextCommentBox", + OpenEndedNumeric: "OpenEndedNumeric", FileUpload: "FileUpload", - NetPromoter: "NetPromoter", - Rating: "Rating", - MatrixRating: "MatrixRating", - NumberAllocation: "NumberAllocation", - LargeChoices: "LargeChoices", + MatrixSinglePerRow: "MatrixSinglePerRow", + MatrixMultiPerRow: "MatrixMultiPerRow", } as const; /** - * Question Type. + * This object represents the type of a question */ export type QuestionTypeJson1 = ClosedEnum; diff --git a/packages/typescript/src/models/components/questiontypejson2.ts b/packages/typescript/src/models/components/questiontypejson2.ts deleted file mode 100644 index 7142d115b..000000000 --- a/packages/typescript/src/models/components/questiontypejson2.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This object represents the type of a question - */ -export const QuestionTypeJson2 = { - SingleChoice: "SingleChoice", - MultiChoice: "MultiChoice", - OpenEndedDateTime: "OpenEndedDateTime", - OpenEndedTextOneLine: "OpenEndedTextOneLine", - OpenEndedTextCommentBox: "OpenEndedTextCommentBox", - OpenEndedNumeric: "OpenEndedNumeric", - FileUpload: "FileUpload", - MatrixSinglePerRow: "MatrixSinglePerRow", - MatrixMultiPerRow: "MatrixMultiPerRow", -} as const; -/** - * This object represents the type of a question - */ -export type QuestionTypeJson2 = ClosedEnum; - -/** @internal */ -export const QuestionTypeJson2$inboundSchema: z.ZodNativeEnum< - typeof QuestionTypeJson2 -> = z.nativeEnum(QuestionTypeJson2); diff --git a/packages/typescript/src/models/components/rateapplicationtype.ts b/packages/typescript/src/models/components/rateapplicationtype.ts new file mode 100644 index 000000000..082487f67 --- /dev/null +++ b/packages/typescript/src/models/components/rateapplicationtype.ts @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * How the rate is applied to the meeting room booking. + * + * @remarks + * + * Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ +export const RateApplicationType = { + Complimentary: "COMPLIMENTARY", + Included: "INCLUDED", + OnetimeFee: "ONETIME_FEE", + PerDay: "PER_DAY", + PerHour: "PER_HOUR", + PerSqFt: "PER_SQ_FT", + PerSqMtr: "PER_SQ_MTR", + Total: "TOTAL", +} as const; +/** + * How the rate is applied to the meeting room booking. + * + * @remarks + * + * Values: + * - `COMPLIMENTARY` — Complimentary + * - `INCLUDED` — Included + * - `ONETIME_FEE` — One-Time Fee + * - `PER_DAY` — Per Day + * - `PER_HOUR` — Per Hour + * - `PER_SQ_FT` — Per Square Foot + * - `PER_SQ_MTR` — Per Square Meter + * - `TOTAL` — Total + */ +export type RateApplicationType = ClosedEnum; + +/** @internal */ +export const RateApplicationType$inboundSchema: z.ZodNativeEnum< + typeof RateApplicationType +> = z.nativeEnum(RateApplicationType); +/** @internal */ +export const RateApplicationType$outboundSchema: z.ZodNativeEnum< + typeof RateApplicationType +> = RateApplicationType$inboundSchema; diff --git a/packages/typescript/src/models/components/requestedmeetingrequestquestionjson.ts b/packages/typescript/src/models/components/requestedmeetingrequestquestionjson.ts deleted file mode 100644 index 881f31896..000000000 --- a/packages/typescript/src/models/components/requestedmeetingrequestquestionjson.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { - AnswerTypeJson, - AnswerTypeJson$outboundSchema, -} from "./answertypejson.js"; - -/** - * A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine how to format the `value` array. - */ -export type RequestedMeetingRequestQuestionJson = { - /** - * The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts: - * - * @remarks - * * Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1` - * * Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064` - * * Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7` - * * Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce` - * * Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3` - * * Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` - */ - id: string; - /** - * An array of non-null answers to the question. The format of each item depends on the question `type`. - * - * @remarks - * - * **Standard questions:** Each item is a plain string (for example, `"Green"` or `"2099-12-31"`). - * - * **Country/Region questions (`type: Country`):** Provide either the country name (for example, `"Canada"`) or the country code (for example, `"CA"`), but not both. See [Country Codes](https://developers.cvent.com/docs/rest-api/reference/api-standards#country-codes). - * - * **Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item must be a **JSON-serialized string** representing one object. - * - * *Meeting Room Requirement example (one item in value array):* - * `"{\"date\":\"2099-12-11\",\"startTime\":\"09:00:00\",\"endTime\":\"17:00:00\",\"numberOfPeople\":50}"` - * - * *Sleeping Room Requirement example:* - * `"{\"date\":\"2099-12-11\",\"single\":5,\"double\":3}"` - * - * *Budget Estimate example:* - * `"{\"currency\":\"USD\",\"costType\":\"VARIABLE\",\"costDetail\":[{\"category\":{\"id\":1},\"units\":100,\"cost\":25.50}]}"` - */ - value: Array; - /** - * Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted. - * - * @remarks - * - * Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option. - * - * Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted. - * - * In all other cases, `answerType` is not expected to be set. - */ - answerType?: AnswerTypeJson | undefined; - /** - * The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. - */ - secondaryValue?: string | undefined; -}; - -/** @internal */ -export type RequestedMeetingRequestQuestionJson$Outbound = { - id: string; - value: Array; - answerType?: string | undefined; - secondaryValue?: string | undefined; -}; - -/** @internal */ -export const RequestedMeetingRequestQuestionJson$outboundSchema: z.ZodType< - RequestedMeetingRequestQuestionJson$Outbound, - z.ZodTypeDef, - RequestedMeetingRequestQuestionJson -> = z.object({ - id: z.string(), - value: z.array(z.string()), - answerType: AnswerTypeJson$outboundSchema.optional(), - secondaryValue: z.string().optional(), -}); - -export function requestedMeetingRequestQuestionJsonToJSON( - requestedMeetingRequestQuestionJson: RequestedMeetingRequestQuestionJson, -): string { - return JSON.stringify( - RequestedMeetingRequestQuestionJson$outboundSchema.parse( - requestedMeetingRequestQuestionJson, - ), - ); -} diff --git a/packages/typescript/src/models/components/seatinglayouttype.ts b/packages/typescript/src/models/components/seatinglayouttype.ts new file mode 100644 index 000000000..032a2e852 --- /dev/null +++ b/packages/typescript/src/models/components/seatinglayouttype.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + */ +export const SeatingLayoutType = { + Banquet: "BANQUET", + Classroom: "CLASSROOM", + CocktailRounds: "COCKTAIL_ROUNDS", + Conference: "CONFERENCE", + CrescentRounds: "CRESCENT_ROUNDS", + EShape: "E_SHAPE", + HollowSquare: "HOLLOW_SQUARE", + MaximumCapacity: "MAXIMUM_CAPACITY", + PerimeterSeating: "PERIMETER_SEATING", + RoyalConference: "ROYAL_CONFERENCE", + TalkShow: "TALK_SHOW", + Theater: "THEATER", + TShape: "T_SHAPE", + UShape: "U_SHAPE", +} as const; +/** + * The seating arrangement style for a meeting room. Values represent standard event industry seating configurations. + */ +export type SeatingLayoutType = ClosedEnum; + +/** @internal */ +export const SeatingLayoutType$inboundSchema: z.ZodNativeEnum< + typeof SeatingLayoutType +> = z.nativeEnum(SeatingLayoutType); +/** @internal */ +export const SeatingLayoutType$outboundSchema: z.ZodNativeEnum< + typeof SeatingLayoutType +> = SeatingLayoutType$inboundSchema; diff --git a/packages/typescript/src/models/components/sleepingroomrequirement.ts b/packages/typescript/src/models/components/sleepingroomrequirement.ts new file mode 100644 index 000000000..bcd0d7440 --- /dev/null +++ b/packages/typescript/src/models/components/sleepingroomrequirement.ts @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The requirements of a sleeping room on the specified date. + */ +export type SleepingRoomRequirement = { + /** + * The date for the sleeping room, in format of YYYY-MM-DD. + */ + date: string; + /** + * The number of any sleeping rooms. + */ + any?: number | undefined; + /** + * The number of 1 bed sleeping rooms. + */ + single?: number | undefined; + /** + * The number of suite sleeping rooms. + */ + suite?: number | undefined; + /** + * The number of sleeping rooms for staff. + */ + staff?: number | undefined; + /** + * The number of 2 beds sleeping rooms. + */ + doubleBeds?: number | undefined; +}; + +/** @internal */ +export const SleepingRoomRequirement$inboundSchema: z.ZodType< + SleepingRoomRequirement, + z.ZodTypeDef, + unknown +> = z.object({ + date: z.string(), + any: z.number().int().optional(), + single: z.number().int().optional(), + suite: z.number().int().optional(), + staff: z.number().int().optional(), + doubleBeds: z.number().int().optional(), +}); + +export function sleepingRoomRequirementFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SleepingRoomRequirement$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SleepingRoomRequirement' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/sleepingroomrequirementjson.ts b/packages/typescript/src/models/components/sleepingroomrequirementjson.ts deleted file mode 100644 index ee84b7c86..000000000 --- a/packages/typescript/src/models/components/sleepingroomrequirementjson.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The requirements of a sleeping room on the specified date. - */ -export type SleepingRoomRequirementJson = { - /** - * The date for the sleeping room, in format of YYYY-MM-DD. - */ - date: string; - /** - * The number of any sleeping rooms. - */ - any?: number | undefined; - /** - * The number of 1 bed sleeping rooms. - */ - single?: number | undefined; - /** - * The number of suite sleeping rooms. - */ - suite?: number | undefined; - /** - * The number of sleeping rooms for staff. - */ - staff?: number | undefined; - /** - * The number of 2 beds sleeping rooms. - */ - doubleBeds?: number | undefined; -}; - -/** @internal */ -export const SleepingRoomRequirementJson$inboundSchema: z.ZodType< - SleepingRoomRequirementJson, - z.ZodTypeDef, - unknown -> = z.object({ - date: z.string(), - any: z.number().int().optional(), - single: z.number().int().optional(), - suite: z.number().int().optional(), - staff: z.number().int().optional(), - doubleBeds: z.number().int().optional(), -}); - -export function sleepingRoomRequirementJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SleepingRoomRequirementJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SleepingRoomRequirementJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/speaker1.ts b/packages/typescript/src/models/components/speaker1.ts new file mode 100644 index 000000000..362f9dd8a --- /dev/null +++ b/packages/typescript/src/models/components/speaker1.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An activity speaker. + */ +export type Speaker1 = { + /** + * The unique identifier of the speaker. + */ + id?: string | undefined; + /** + * Name of the speaker. + */ + name?: string | undefined; +}; + +/** @internal */ +export const Speaker1$inboundSchema: z.ZodType< + Speaker1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string().optional(), +}); + +export function speaker1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Speaker1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Speaker1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/speakerjson.ts b/packages/typescript/src/models/components/speakerjson.ts deleted file mode 100644 index db25eaa97..000000000 --- a/packages/typescript/src/models/components/speakerjson.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"; - -/** - * An activity speaker. - */ -export type SpeakerJson = { - /** - * The unique identifier of the speaker. - */ - id?: string | undefined; - /** - * Name of the speaker. - */ - name?: string | undefined; -}; - -/** @internal */ -export const SpeakerJson$inboundSchema: z.ZodType< - SpeakerJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), -}); - -export function speakerJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SpeakerJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SpeakerJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/standardsurveyquestionjson.ts b/packages/typescript/src/models/components/standardsurveyquestionjson.ts index 8a55ecc1f..769c7b3d1 100644 --- a/packages/typescript/src/models/components/standardsurveyquestionjson.ts +++ b/packages/typescript/src/models/components/standardsurveyquestionjson.ts @@ -14,9 +14,9 @@ import { CategoryJson1, CategoryJson1$inboundSchema } from "./categoryjson1.js"; import { ChoiceJson1, ChoiceJson1$inboundSchema } from "./choicejson1.js"; import { FieldJson, FieldJson$inboundSchema } from "./fieldjson.js"; import { - QuestionTypeJson1, - QuestionTypeJson1$inboundSchema, -} from "./questiontypejson1.js"; + QuestionTypeJson, + QuestionTypeJson$inboundSchema, +} from "./questiontypejson.js"; import { TextFieldJson, TextFieldJson$inboundSchema } from "./textfieldjson.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; @@ -63,7 +63,7 @@ export type StandardSurveyQuestionJson = { /** * Question Type. */ - type?: QuestionTypeJson1 | undefined; + type?: QuestionTypeJson | undefined; /** * List of choices for the question. */ @@ -132,7 +132,7 @@ export const StandardSurveyQuestionJson$inboundSchema: z.ZodType< shortText: z.string().optional(), htmlText: z.string().optional(), code: z.string().optional(), - type: QuestionTypeJson1$inboundSchema.optional(), + type: QuestionTypeJson$inboundSchema.optional(), choices: z.array(ChoiceJson1$inboundSchema).optional(), categories: z.array(CategoryJson1$inboundSchema).optional(), subCategories: z.array(TextFieldJson$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/stateprovince1.ts b/packages/typescript/src/models/components/stateprovince1.ts new file mode 100644 index 000000000..ca15df97d --- /dev/null +++ b/packages/typescript/src/models/components/stateprovince1.ts @@ -0,0 +1,847 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The state province code used for contact information. + */ +export const StateProvince1 = { + Blank: "BLANK", + Aa: "AA", + Ab: "AB", + Abd: "ABD", + Abe: "ABE", + ActAus: "ACT_AUS", + Ae: "AE", + Agb: "AGB", + Agy: "AGY", + Ak: "AK", + Al: "AL", + Ans: "ANS", + Ant: "ANT", + Ap: "AP", + Ar: "AR", + Ard: "ARD", + Arm: "ARM", + As: "AS", + At1: "AT_1", + At2: "AT_2", + At3: "AT_3", + At4: "AT_4", + At5: "AT_5", + At6: "AT_6", + At7: "AT_7", + At8: "AT_8", + At9: "AT_9", + Az: "AZ", + Ban: "BAN", + Bas: "BAS", + Bbd: "BBD", + Bc: "BC", + Bdf: "BDF", + BeBru: "BE_BRU", + Ben: "BEN", + BeVan: "BE_VAN", + BeVbr: "BE_VBR", + BeVli: "BE_VLI", + BeVov: "BE_VOV", + BeVwv: "BE_VWV", + BeWbr: "BE_WBR", + BeWht: "BE_WHT", + BeWlg: "BE_WLG", + BeWlx: "BE_WLX", + BeWna: "BE_WNA", + Bex: "BEX", + Bfs: "BFS", + Bge: "BGE", + Bgw: "BGW", + Bir: "BIR", + Bkm: "BKM", + Bla: "BLA", + Bly: "BLY", + Bmh: "BMH", + Bnb: "BNB", + Bne: "BNE", + Bnh: "BNH", + Bns: "BNS", + Bol: "BOL", + Bpl: "BPL", + BrAc: "BR_AC", + BrAl: "BR_AL", + BrAm: "BR_AM", + BrAp: "BR_AP", + BrBa: "BR_BA", + Brc: "BRC", + BrCe: "BR_CE", + Brd: "BRD", + BrDf: "BR_DF", + BrEs: "BR_ES", + BrGo: "BR_GO", + Brk: "BRK", + BrMa: "BR_MA", + BrMg: "BR_MG", + BrMs: "BR_MS", + BrMt: "BR_MT", + BrPa: "BR_PA", + BrPb: "BR_PB", + BrPe: "BR_PE", + BrPi: "BR_PI", + BrPr: "BR_PR", + BrRj: "BR_RJ", + BrRn: "BR_RN", + BrRo: "BR_RO", + BrRr: "BR_RR", + BrRs: "BR_RS", + BrSc: "BR_SC", + BrSe: "BR_SE", + BrSp: "BR_SP", + BrTo: "BR_TO", + Bry: "BRY", + Bst: "BST", + Bur: "BUR", + Ca: "CA", + Cam: "CAM", + Cay: "CAY", + Cgn: "CGN", + Cgv: "CGV", + ChAg: "CH_AG", + ChAi: "CH_AI", + ChAr: "CH_AR", + ChBe: "CH_BE", + ChBl: "CH_BL", + ChBs: "CH_BS", + ChFr: "CH_FR", + ChGe: "CH_GE", + ChGl: "CH_GL", + ChGr: "CH_GR", + Chi: "CHI", + ChJu: "CH_JU", + ChLu: "CH_LU", + ChNe: "CH_NE", + ChNw: "CH_NW", + ChOw: "CH_OW", + Chs: "CHS", + ChSg: "CH_SG", + ChSh: "CH_SH", + ChSo: "CH_SO", + ChSz: "CH_SZ", + ChTg: "CH_TG", + ChTi: "CH_TI", + ChUr: "CH_UR", + ChVd: "CH_VD", + ChVs: "CH_VS", + ChZg: "CH_ZG", + ChZh: "CH_ZH", + Ckf: "CKF", + Ckt: "CKT", + Cld: "CLD", + Clk: "CLK", + Clr: "CLR", + Cma: "CMA", + Cmd: "CMD", + Cmn: "CMN", + Cn11: "CN_11", + Cn12: "CN_12", + Cn13: "CN_13", + Cn14: "CN_14", + Cn15: "CN_15", + Cn21: "CN_21", + Cn22: "CN_22", + Cn23: "CN_23", + Cn31: "CN_31", + Cn32: "CN_32", + Cn33: "CN_33", + Cn34: "CN_34", + Cn35: "CN_35", + Cn36: "CN_36", + Cn37: "CN_37", + Cn41: "CN_41", + Cn42: "CN_42", + Cn43: "CN_43", + Cn44: "CN_44", + Cn45: "CN_45", + Cn46: "CN_46", + Cn50: "CN_50", + Cn51: "CN_51", + Cn52: "CN_52", + Cn53: "CN_53", + Cn54: "CN_54", + Cn61: "CN_61", + Cn62: "CN_62", + Cn63: "CN_63", + Cn64: "CN_64", + Cn65: "CN_65", + Cn91: "CN_91", + Cn92: "CN_92", + Co: "CO", + Con: "CON", + Cov: "COV", + Crf: "CRF", + Cry: "CRY", + Csr: "CSR", + Ct: "CT", + Cwd: "CWD", + Cwy: "CWY", + Dal: "DAL", + Dby: "DBY", + Dc: "DC", + De: "DE", + Den: "DEN", + Der: "DER", + Dev: "DEV", + Dgn: "DGN", + Dgy: "DGY", + Dk015: "DK_015", + Dk020: "DK_020", + Dk025: "DK_025", + Dk030: "DK_030", + Dk035: "DK_035", + Dk040: "DK_040", + Dk042: "DK_042", + Dk050: "DK_050", + Dk055: "DK_055", + Dk060: "DK_060", + Dk065: "DK_065", + Dk070: "DK_070", + Dk076: "DK_076", + Dk080: "DK_080", + Dk101: "DK_101", + Dk147: "DK_147", + Dk81: "DK_81", + Dk82: "DK_82", + Dk83: "DK_83", + Dk84: "DK_84", + Dk85: "DK_85", + Dnc: "DNC", + Dnd: "DND", + Dor: "DOR", + Dow: "DOW", + Dry: "DRY", + Dud: "DUD", + Dur: "DUR", + Eal: "EAL", + Eay: "EAY", + Edh: "EDH", + Edu: "EDU", + Eln: "ELN", + Els: "ELS", + Enf: "ENF", + Erw: "ERW", + Ery: "ERY", + Ess: "ESS", + Esx: "ESX", + Fal: "FAL", + Fer: "FER", + Fif: "FIF", + Fl: "FL", + Fln: "FLN", + Fm: "FM", + Ga: "GA", + Gat: "GAT", + Gb: "GB", + Glg: "GLG", + Gln: "GLN", + Gls: "GLS", + Gr01: "GR_01", + Gr03: "GR_03", + Gr04: "GR_04", + Gr05: "GR_05", + Gr06: "GR_06", + Gr07: "GR_07", + Gr11: "GR_11", + Gr12: "GR_12", + Gr13: "GR_13", + Gr14: "GR_14", + Gr15: "GR_15", + Gr16: "GR_16", + Gr17: "GR_17", + Gr21: "GR_21", + Gr22: "GR_22", + Gr23: "GR_23", + Gr24: "GR_24", + Gr31: "GR_31", + Gr32: "GR_32", + Gr33: "GR_33", + Gr34: "GR_34", + Gr41: "GR_41", + Gr42: "GR_42", + Gr43: "GR_43", + Gr44: "GR_44", + Gr51: "GR_51", + Gr52: "GR_52", + Gr53: "GR_53", + Gr54: "GR_54", + Gr55: "GR_55", + Gr56: "GR_56", + Gr57: "GR_57", + Gr58: "GR_58", + Gr59: "GR_59", + Gr61: "GR_61", + Gr62: "GR_62", + Gr63: "GR_63", + Gr64: "GR_64", + Gr69: "GR_69", + Gr71: "GR_71", + Gr72: "GR_72", + Gr73: "GR_73", + Gr81: "GR_81", + Gr82: "GR_82", + Gr83: "GR_83", + Gr84: "GR_84", + Gr85: "GR_85", + Gr91: "GR_91", + Gr92: "GR_92", + Gr93: "GR_93", + Gr94: "GR_94", + GrA1: "GR_A_1", + Gre: "GRE", + Gtm: "GTM", + Gu: "GU", + Gwn: "GWN", + Hal: "HAL", + Ham: "HAM", + Hav: "HAV", + Hck: "HCK", + Hef: "HEF", + Hi: "HI", + Hil: "HIL", + Hld: "HLD", + Hmf: "HMF", + Hns: "HNS", + Hpl: "HPL", + Hrt: "HRT", + Hrw: "HRW", + Hry: "HRY", + Ia: "IA", + Id: "ID", + IeC: "IE_C", + IeCe: "IE_CE", + IeCn: "IE_CN", + IeCw: "IE_CW", + IeD: "IE_D", + IeDl: "IE_DL", + IeG: "IE_G", + IeKe: "IE_KE", + IeKk: "IE_KK", + IeKy: "IE_KY", + IeLd: "IE_LD", + IeLh: "IE_LH", + IeLk: "IE_LK", + IeLm: "IE_LM", + IeLs: "IE_LS", + IeMh: "IE_MH", + IeMn: "IE_MN", + IeMo: "IE_MO", + IeOy: "IE_OY", + IeRn: "IE_RN", + IeSo: "IE_SO", + IeTa: "IE_TA", + IeWd: "IE_WD", + IeWh: "IE_WH", + IeWw: "IE_WW", + IeWx: "IE_WX", + Il: "IL", + In: "IN", + InAn: "IN_AN", + InAp: "IN_AP", + InAr: "IN_AR", + InAs: "IN_AS", + InBr: "IN_BR", + InCh: "IN_CH", + InCt: "IN_CT", + InDd: "IN_DD", + InDl: "IN_DL", + InDn: "IN_DN", + InGa: "IN_GA", + InGj: "IN_GJ", + InHp: "IN_HP", + InHr: "IN_HR", + InJh: "IN_JH", + InJk: "IN_JK", + InKa: "IN_KA", + InKl: "IN_KL", + InLd: "IN_LD", + InMh: "IN_MH", + InMl: "IN_ML", + InMn: "IN_MN", + InMp: "IN_MP", + InMz: "IN_MZ", + InNl: "IN_NL", + InOr: "IN_OR", + InPb: "IN_PB", + InPy: "IN_PY", + InRj: "IN_RJ", + InSk: "IN_SK", + InTg: "IN_TG", + InTn: "IN_TN", + InTr: "IN_TR", + InUl: "IN_UL", + InUp: "IN_UP", + InWb: "IN_WB", + Ioa: "IOA", + Ioi: "IOI", + Iol: "IOL", + Iom: "IOM", + Ios: "IOS", + Iow: "IOW", + Ioy: "IOY", + Isl: "ISL", + It21: "IT_21", + It23: "IT_23", + It25: "IT_25", + It32: "IT_32", + It34: "IT_34", + It36: "IT_36", + It42: "IT_42", + It45: "IT_45", + It52: "IT_52", + It55: "IT_55", + It57: "IT_57", + It62: "IT_62", + It65: "IT_65", + It67: "IT_67", + It72: "IT_72", + It75: "IT_75", + It77: "IT_77", + It78: "IT_78", + It82: "IT_82", + It88: "IT_88", + ItAg: "IT_AG", + ItAl: "IT_AL", + ItAn: "IT_AN", + ItAo: "IT_AO", + ItAp: "IT_AP", + ItAq: "IT_AQ", + ItAr: "IT_AR", + ItAt: "IT_AT", + ItAv: "IT_AV", + ItBa: "IT_BA", + ItBg: "IT_BG", + ItBi: "IT_BI", + ItBl: "IT_BL", + ItBn: "IT_BN", + ItBo: "IT_BO", + ItBr: "IT_BR", + ItBs: "IT_BS", + ItBt: "IT_BT", + ItBz: "IT_BZ", + ItCa: "IT_CA", + ItCb: "IT_CB", + ItCe: "IT_CE", + ItCh: "IT_CH", + ItCi: "IT_CI", + ItCl: "IT_CL", + ItCn: "IT_CN", + ItCo: "IT_CO", + ItCr: "IT_CR", + ItCs: "IT_CS", + ItCt: "IT_CT", + ItCz: "IT_CZ", + ItEn: "IT_EN", + ItFc: "IT_FC", + ItFe: "IT_FE", + ItFg: "IT_FG", + ItFi: "IT_FI", + ItFm: "IT_FM", + ItFr: "IT_FR", + ItGe: "IT_GE", + ItGo: "IT_GO", + ItGr: "IT_GR", + ItIm: "IT_IM", + ItIs: "IT_IS", + ItKr: "IT_KR", + ItLc: "IT_LC", + ItLe: "IT_LE", + ItLi: "IT_LI", + ItLo: "IT_LO", + ItLt: "IT_LT", + ItLu: "IT_LU", + ItMb: "IT_MB", + ItMc: "IT_MC", + ItMe: "IT_ME", + ItMi: "IT_MI", + ItMn: "IT_MN", + ItMo: "IT_MO", + ItMs: "IT_MS", + ItMt: "IT_MT", + ItNa: "IT_NA", + ItNo: "IT_NO", + ItNu: "IT_NU", + ItOg: "IT_OG", + ItOr: "IT_OR", + ItOt: "IT_OT", + ItPa: "IT_PA", + ItPc: "IT_PC", + ItPd: "IT_PD", + ItPe: "IT_PE", + ItPg: "IT_PG", + ItPi: "IT_PI", + ItPn: "IT_PN", + ItPo: "IT_PO", + ItPr: "IT_PR", + ItPt: "IT_PT", + ItPu: "IT_PU", + ItPv: "IT_PV", + ItPz: "IT_PZ", + ItRa: "IT_RA", + ItRc: "IT_RC", + ItRe: "IT_RE", + ItRg: "IT_RG", + ItRi: "IT_RI", + ItRm: "IT_RM", + ItRn: "IT_RN", + ItRo: "IT_RO", + ItSa: "IT_SA", + ItSi: "IT_SI", + ItSo: "IT_SO", + ItSp: "IT_SP", + ItSr: "IT_SR", + ItSs: "IT_SS", + ItSv: "IT_SV", + ItTa: "IT_TA", + ItTe: "IT_TE", + ItTn: "IT_TN", + ItTo: "IT_TO", + ItTp: "IT_TP", + ItTr: "IT_TR", + ItTs: "IT_TS", + ItTv: "IT_TV", + ItUd: "IT_UD", + ItVa: "IT_VA", + ItVb: "IT_VB", + ItVc: "IT_VC", + ItVe: "IT_VE", + ItVi: "IT_VI", + ItVr: "IT_VR", + ItVs: "IT_VS", + ItVt: "IT_VT", + ItVv: "IT_VV", + Ivk: "IVK", + Jp01: "JP_01", + Jp02: "JP_02", + Jp03: "JP_03", + Jp04: "JP_04", + Jp05: "JP_05", + Jp06: "JP_06", + Jp07: "JP_07", + Jp08: "JP_08", + Jp09: "JP_09", + Jp10: "JP_10", + Jp11: "JP_11", + Jp12: "JP_12", + Jp13: "JP_13", + Jp14: "JP_14", + Jp15: "JP_15", + Jp16: "JP_16", + Jp17: "JP_17", + Jp18: "JP_18", + Jp19: "JP_19", + Jp20: "JP_20", + Jp21: "JP_21", + Jp22: "JP_22", + Jp23: "JP_23", + Jp24: "JP_24", + Jp25: "JP_25", + Jp26: "JP_26", + Jp27: "JP_27", + Jp28: "JP_28", + Jp29: "JP_29", + Jp30: "JP_30", + Jp31: "JP_31", + Jp32: "JP_32", + Jp33: "JP_33", + Jp34: "JP_34", + Jp35: "JP_35", + Jp36: "JP_36", + Jp37: "JP_37", + Jp38: "JP_38", + Jp39: "JP_39", + Jp40: "JP_40", + Jp41: "JP_41", + Jp42: "JP_42", + Jp43: "JP_43", + Jp44: "JP_44", + Jp45: "JP_45", + Jp46: "JP_46", + Jp47: "JP_47", + Kec: "KEC", + Ken: "KEN", + Khl: "KHL", + Kir: "KIR", + Ks: "KS", + Ktt: "KTT", + Kwl: "KWL", + Ky: "KY", + La: "LA", + Lan: "LAN", + Lbh: "LBH", + Lce: "LCE", + Lds: "LDS", + Lec: "LEC", + Lew: "LEW", + Lin: "LIN", + Liv: "LIV", + Lmv: "LMV", + Lnd: "LND", + Lrn: "LRN", + Lsb: "LSB", + LuD: "LU_D", + LuG: "LU_G", + LuL: "LU_L", + Lut: "LUT", + Ma: "MA", + Man: "MAN", + Mb: "MB", + Md: "MD", + Mdb: "MDB", + Mds: "MDS", + Mdw: "MDW", + Me: "ME", + Mft: "MFT", + Mgm: "MGM", + Mh: "MH", + Mi: "MI", + Mik: "MIK", + Mln: "MLN", + Mn: "MN", + Mo: "MO", + Mon: "MON", + Mp: "MP", + Mrt: "MRT", + Mry: "MRY", + Ms: "MS", + Msy: "MSY", + Mt: "MT", + Mty: "MTY", + MxAgu: "MX_AGU", + MxBcn: "MX_BCN", + MxBcs: "MX_BCS", + MxCam: "MX_CAM", + MxChh: "MX_CHH", + MxChp: "MX_CHP", + MxCoa: "MX_COA", + MxCol: "MX_COL", + MxDif: "MX_DIF", + MxDur: "MX_DUR", + MxGro: "MX_GRO", + MxGua: "MX_GUA", + MxHid: "MX_HID", + MxJal: "MX_JAL", + MxMex: "MX_MEX", + MxMic: "MX_MIC", + MxMor: "MX_MOR", + MxNay: "MX_NAY", + MxNle: "MX_NLE", + MxOax: "MX_OAX", + MxPue: "MX_PUE", + MxQue: "MX_QUE", + MxRoo: "MX_ROO", + MxSin: "MX_SIN", + MxSlp: "MX_SLP", + MxSon: "MX_SON", + MxTab: "MX_TAB", + MxTam: "MX_TAM", + MxTla: "MX_TLA", + MxVer: "MX_VER", + MxYuc: "MX_YUC", + MxZac: "MX_ZAC", + Myl: "MYL", + Nay: "NAY", + Nb: "NB", + Nbl: "NBL", + Nc: "NC", + Nd: "ND", + Ndn: "NDN", + Ne: "NE", + Nel: "NEL", + Net: "NET", + Nfk: "NFK", + Ngm: "NGM", + Nh: "NH", + Nj: "NJ", + Nl: "NL", + NlDr: "NL_DR", + NlFl: "NL_FL", + NlFr: "NL_FR", + NlGe: "NL_GE", + NlGr: "NL_GR", + Nlk: "NLK", + NlLi: "NL_LI", + Nln: "NLN", + NlNb: "NL_NB", + NlNh: "NL_NH", + NlOv: "NL_OV", + NlUt: "NL_UT", + NlZe: "NL_ZE", + NlZh: "NL_ZH", + Nm: "NM", + No01: "NO_01", + No02: "NO_02", + No03: "NO_03", + No04: "NO_04", + No05: "NO_05", + No06: "NO_06", + No07: "NO_07", + No08: "NO_08", + No09: "NO_09", + No10: "NO_10", + No11: "NO_11", + No12: "NO_12", + No14: "NO_14", + No15: "NO_15", + No16: "NO_16", + No17: "NO_17", + No18: "NO_18", + No19: "NO_19", + No20: "NO_20", + No21: "NO_21", + No22: "NO_22", + Nry: "NRY", + Ns: "NS", + Nsm: "NSM", + NswAus: "NSW_AUS", + Nt: "NT", + NtAus: "NT_AUS", + Nta: "NTA", + Nth: "NTH", + Ntl: "NTL", + Ntt: "NTT", + Nty: "NTY", + Nu: "NU", + Nv: "NV", + Nwm: "NWM", + Nwp: "NWP", + Ny: "NY", + Nyk: "NYK", + Nym: "NYM", + Oh: "OH", + Ok: "OK", + Old: "OLD", + Omh: "OMH", + On: "ON", + Or: "OR", + Ork: "ORK", + Oxf: "OXF", + Pa: "PA", + Pe: "PE", + Pem: "PEM", + Pkn: "PKN", + Ply: "PLY", + Pol: "POL", + Por: "POR", + Pow: "POW", + Pr: "PR", + Pte: "PTE", + Pw: "PW", + Qc: "QC", + QldAus: "QLD_AUS", + Rcc: "RCC", + Rch: "RCH", + Rct: "RCT", + Rdb: "RDB", + Rdg: "RDG", + Rfw: "RFW", + Ri: "RI", + Ric: "RIC", + Rot: "ROT", + Rut: "RUT", + SaAus: "SA_AUS", + Saw: "SAW", + Say: "SAY", + Sc: "SC", + Scb: "SCB", + Sd: "SD", + Sfk: "SFK", + Sft: "SFT", + Sgc: "SGC", + Sgm: "SGM", + Shf: "SHF", + Shn: "SHN", + Shr: "SHR", + Sk: "SK", + Skp: "SKP", + Slf: "SLF", + Slg: "SLG", + Slk: "SLK", + Sol: "SOL", + Som: "SOM", + Sos: "SOS", + Sry: "SRY", + Stb: "STB", + Ste: "STE", + Stg: "STG", + Sth: "STH", + Stn: "STN", + Sts: "STS", + Stt: "STT", + Sty: "STY", + Swa: "SWA", + Swd: "SWD", + Swk: "SWK", + Syk: "SYK", + Tam: "TAM", + TasAus: "TAS_AUS", + Tfw: "TFW", + Thr: "THR", + Tn: "TN", + Tob: "TOB", + Tof: "TOF", + Trf: "TRF", + Twh: "TWH", + Twr: "TWR", + Tx: "TX", + Tyr: "TYR", + Ut: "UT", + Va: "VA", + Vgl: "VGL", + Vi: "VI", + VicAus: "VIC_AUS", + Vt: "VT", + Wa: "WA", + WaAus: "WA_AUS", + War: "WAR", + Wbk: "WBK", + Wdu: "WDU", + Wft: "WFT", + Wgm: "WGM", + Wgn: "WGN", + Wi: "WI", + Wil: "WIL", + Wis: "WIS", + Wkf: "WKF", + Wll: "WLL", + Wln: "WLN", + Wlv: "WLV", + Wmd: "WMD", + Wnd: "WND", + Wnm: "WNM", + Wok: "WOK", + Wor: "WOR", + Wrl: "WRL", + Wrt: "WRT", + Wrx: "WRX", + Wsm: "WSM", + Wsx: "WSX", + Wv: "WV", + Wy: "WY", + Wyk: "WYK", + Yor: "YOR", + Yt: "YT", + Zet: "ZET", +} as const; +/** + * The state province code used for contact information. + */ +export type StateProvince1 = ClosedEnum; + +/** @internal */ +export const StateProvince1$inboundSchema: z.ZodNativeEnum< + typeof StateProvince1 +> = z.nativeEnum(StateProvince1); +/** @internal */ +export const StateProvince1$outboundSchema: z.ZodNativeEnum< + typeof StateProvince1 +> = StateProvince1$inboundSchema; diff --git a/packages/typescript/src/models/components/surveyresponse.ts b/packages/typescript/src/models/components/surveyresponse.ts new file mode 100644 index 000000000..58918e31f --- /dev/null +++ b/packages/typescript/src/models/components/surveyresponse.ts @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + QuestionResponse, + QuestionResponse$inboundSchema, +} from "./questionresponse.js"; + +/** + * A survey response. + */ +export type SurveyResponse = { + /** + * The unique identifier of the survey. + */ + id?: string | undefined; + /** + * The method used to capture the survey response. + */ + responseMethod?: string | undefined; + /** + * The list of question and answers for a survey. + */ + responses?: Array | undefined; +}; + +/** @internal */ +export const SurveyResponse$inboundSchema: z.ZodType< + SurveyResponse, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + responseMethod: z.string().optional(), + responses: z.array(QuestionResponse$inboundSchema).optional(), +}); + +export function surveyResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SurveyResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SurveyResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/surveyresponsejson.ts b/packages/typescript/src/models/components/surveyresponsejson.ts deleted file mode 100644 index 3f154ee89..000000000 --- a/packages/typescript/src/models/components/surveyresponsejson.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - QuestionResponseJson, - QuestionResponseJson$inboundSchema, -} from "./questionresponsejson.js"; - -/** - * A survey response. - */ -export type SurveyResponseJson = { - /** - * The unique identifier of the survey. - */ - id?: string | undefined; - /** - * The method used to capture the survey response. - */ - responseMethod?: string | undefined; - /** - * The list of question and answers for a survey. - */ - responses?: Array | undefined; -}; - -/** @internal */ -export const SurveyResponseJson$inboundSchema: z.ZodType< - SurveyResponseJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - responseMethod: z.string().optional(), - responses: z.array(QuestionResponseJson$inboundSchema).optional(), -}); - -export function surveyResponseJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SurveyResponseJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SurveyResponseJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidamenity.ts b/packages/typescript/src/models/components/travelbidamenity.ts index 6418709a5..31ed76b48 100644 --- a/packages/typescript/src/models/components/travelbidamenity.ts +++ b/packages/typescript/src/models/components/travelbidamenity.ts @@ -49,7 +49,7 @@ export type TravelBidAmenity = { */ description?: string | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbiddiscount.ts b/packages/typescript/src/models/components/travelbiddiscount.ts index c75e19a72..f50e98b85 100644 --- a/packages/typescript/src/models/components/travelbiddiscount.ts +++ b/packages/typescript/src/models/components/travelbiddiscount.ts @@ -34,7 +34,7 @@ export type TravelBidDiscount = { */ discount?: number | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbidfairseason.ts b/packages/typescript/src/models/components/travelbidfairseason.ts index 8d8e75bcc..fcc652de9 100644 --- a/packages/typescript/src/models/components/travelbidfairseason.ts +++ b/packages/typescript/src/models/components/travelbidfairseason.ts @@ -53,7 +53,7 @@ export type TravelBidFairSeason = { */ rates?: Array | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbidfairseasonrate.ts b/packages/typescript/src/models/components/travelbidfairseasonrate.ts index b6e7626cf..a4517f40e 100644 --- a/packages/typescript/src/models/components/travelbidfairseasonrate.ts +++ b/packages/typescript/src/models/components/travelbidfairseasonrate.ts @@ -50,7 +50,7 @@ export type TravelBidFairSeasonRate = { */ allotment?: number | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbidpolicy.ts b/packages/typescript/src/models/components/travelbidpolicy.ts index abddb53ac..47afdcef2 100644 --- a/packages/typescript/src/models/components/travelbidpolicy.ts +++ b/packages/typescript/src/models/components/travelbidpolicy.ts @@ -44,7 +44,7 @@ export type TravelBidPolicy = { */ description?: string | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbidroom.ts b/packages/typescript/src/models/components/travelbidroom.ts index ef72b0fbd..02c74f1a6 100644 --- a/packages/typescript/src/models/components/travelbidroom.ts +++ b/packages/typescript/src/models/components/travelbidroom.ts @@ -38,7 +38,7 @@ export type TravelBidRoom = { */ order?: number | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbidseason.ts b/packages/typescript/src/models/components/travelbidseason.ts index 4f141968a..9ef621bd9 100644 --- a/packages/typescript/src/models/components/travelbidseason.ts +++ b/packages/typescript/src/models/components/travelbidseason.ts @@ -49,7 +49,7 @@ export type TravelBidSeason = { */ weekendRates?: Array | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbidseasonrate.ts b/packages/typescript/src/models/components/travelbidseasonrate.ts index 6294f815e..8d62d6ac9 100644 --- a/packages/typescript/src/models/components/travelbidseasonrate.ts +++ b/packages/typescript/src/models/components/travelbidseasonrate.ts @@ -58,7 +58,7 @@ export type TravelBidSeasonRate = { */ allotment?: number | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/travelbidtaxandfee.ts b/packages/typescript/src/models/components/travelbidtaxandfee.ts index eae08048c..a5fd46248 100644 --- a/packages/typescript/src/models/components/travelbidtaxandfee.ts +++ b/packages/typescript/src/models/components/travelbidtaxandfee.ts @@ -37,7 +37,7 @@ export type TravelBidTaxAndFee = { */ notes?: string | undefined; /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. not_offered indicates the hotel does not offer this amenity (supply side only). */ status?: BidItemStatusType | undefined; }; diff --git a/packages/typescript/src/models/components/venuedetailsoverview.ts b/packages/typescript/src/models/components/venuedetailsoverview.ts new file mode 100644 index 000000000..91de32c4e --- /dev/null +++ b/packages/typescript/src/models/components/venuedetailsoverview.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * An overview of venue details containing key identifiers and display properties. + */ +export type VenueDetailsOverview = { + /** + * Venue ID. + */ + id: string; + /** + * Venue name. + */ + name: string; +}; + +/** @internal */ +export const VenueDetailsOverview$inboundSchema: z.ZodType< + VenueDetailsOverview, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), +}); + +export function venueDetailsOverviewFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueDetailsOverview$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueDetailsOverview' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/venuedetailspatch.ts b/packages/typescript/src/models/components/venuedetailspatch.ts new file mode 100644 index 000000000..952addd3d --- /dev/null +++ b/packages/typescript/src/models/components/venuedetailspatch.ts @@ -0,0 +1,551 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + Country, + Country$inboundSchema, + Country$outboundSchema, +} from "./country.js"; +import { + LocationType, + LocationType$inboundSchema, + LocationType$outboundSchema, +} from "./locationtype.js"; +import { + StateProvince1, + StateProvince1$inboundSchema, + StateProvince1$outboundSchema, +} from "./stateprovince1.js"; +import { + VenueType, + VenueType$inboundSchema, + VenueType$outboundSchema, +} from "./venuetype.js"; + +/** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + * @remarks + * + * Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ +export const VenueDetailsPatchChainScale = { + Blank: "BLANK", + Economychains: "ECONOMYCHAINS", + Independents: "INDEPENDENTS", + LuxuryChains: "LUXURY_CHAINS", + MidscaleChains: "MIDSCALE_CHAINS", + MidscaleWithFbChains: "MIDSCALE_WITH_FB_CHAINS", + MidscaleWithoutFbChains: "MIDSCALE_WITHOUT_FB_CHAINS", + UpperMidscaleChains: "UPPER_MIDSCALE_CHAINS", + UpperUpscaleChains: "UPPER_UPSCALE_CHAINS", + UpscaleChains: "UPSCALE_CHAINS", +} as const; +/** + * A market segment classification of a venue chain based on Average Daily Rate and other factors. + * + * @remarks + * + * Values: + * - `BLANK` — Blank + * - `ECONOMYCHAINS` — Economy Chains + * - `INDEPENDENTS` — Independents + * - `LUXURY_CHAINS` — Luxury Chains + * - `MIDSCALE_CHAINS` — Midscale Chains + * - `MIDSCALE_WITH_FB_CHAINS` — Midscale With F&B Chains + * - `MIDSCALE_WITHOUT_FB_CHAINS` — Midscale Without F&B Chains + * - `UPPER_MIDSCALE_CHAINS` — Upper Midscale Chains + * - `UPPER_UPSCALE_CHAINS` — Upper Upscale Chains + * - `UPSCALE_CHAINS` — Upscale Chains + */ +export type VenueDetailsPatchChainScale = ClosedEnum< + typeof VenueDetailsPatchChainScale +>; + +/** + * The ISO 4217 standard format currency code used for RFPs. + */ +export const VenueDetailsPatchCurrency = { + Usd: "USD", + Cad: "CAD", + Aud: "AUD", + Eur: "EUR", + Gbp: "GBP", + Hkd: "HKD", + Nzd: "NZD", + Aed: "AED", + Nok: "NOK", + Inr: "INR", + Mxn: "MXN", + Sek: "SEK", + Dkk: "DKK", + Myr: "MYR", + Jpy: "JPY", + Sgd: "SGD", + Thb: "THB", + Idr: "IDR", + Krw: "KRW", + Cny: "CNY", + Twd: "TWD", + Rub: "RUB", + Chf: "CHF", + Czk: "CZK", + Huf: "HUF", + Qar: "QAR", + Zar: "ZAR", + Ron: "RON", + Hrk: "HRK", + Try: "TRY", + Brl: "BRL", + Php: "PHP", + Sar: "SAR", + Pln: "PLN", + Ars: "ARS", + Awg: "AWG", + Azn: "AZN", + Bsd: "BSD", + Bbd: "BBD", + Bmd: "BMD", + Clp: "CLP", + Cop: "COP", + Crc: "CRC", + Dop: "DOP", + Xcd: "XCD", + Ils: "ILS", + Jmd: "JMD", + Lvl: "LVL", + Ltl: "LTL", + Mdl: "MDL", + Ang: "ANG", + Omr: "OMR", + Ttd: "TTD", + Uah: "UAH", + Uyu: "UYU", + Rsd: "RSD", + Afn: "AFN", + Amd: "AMD", + Aoa: "AOA", + Bam: "BAM", + Bdt: "BDT", + Bgn: "BGN", + Bhd: "BHD", + Bob: "BOB", + Dzd: "DZD", + Eek: "EEK", + Egp: "EGP", + Fjd: "FJD", + Gtq: "GTQ", + Hnl: "HNL", + Isk: "ISK", + Jod: "JOD", + Kyd: "KYD", + Kzt: "KZT", + Lbp: "LBP", + Mad: "MAD", + Ngn: "NGN", + Nio: "NIO", + Esp: "ESP", + Frf: "FRF", + Pab: "PAB", + Pen: "PEN", + Pkr: "PKR", + Pyg: "PYG", + Svc: "SVC", + Syp: "SYP", + Vef: "VEF", + Vnd: "VND", + Xpf: "XPF", + Gyd: "GYD", + Mop: "MOP", + Pgk: "PGK", + Xof: "XOF", + Xaf: "XAF", + Bzd: "BZD", + Byr: "BYR", + Bwp: "BWP", + Bnd: "BND", + Bif: "BIF", + Khr: "KHR", + Cve: "CVE", + Kmf: "KMF", + Cdf: "CDF", + Djf: "DJF", + Ern: "ERN", + Fkp: "FKP", + Gmd: "GMD", + Gel: "GEL", + Ghs: "GHS", + Gip: "GIP", + Gnf: "GNF", + Htg: "HTG", + Kes: "KES", + Kwd: "KWD", + Kgs: "KGS", + Lak: "LAK", + Lrd: "LRD", + Mkd: "MKD", + Mga: "MGA", + Mwk: "MWK", + Mvr: "MVR", + Mro: "MRO", + Mur: "MUR", + Mnt: "MNT", + Mzn: "MZN", + Mmk: "MMK", + Nad: "NAD", + Npr: "NPR", + Rwf: "RWF", + Shp: "SHP", + Wst: "WST", + Std: "STD", + Sll: "SLL", + Sbd: "SBD", + Sos: "SOS", + Lkr: "LKR", + Srd: "SRD", + Szl: "SZL", + Top: "TOP", + Tnd: "TND", + Ugx: "UGX", + Uzs: "UZS", + Vuv: "VUV", + Yer: "YER", + Zmk: "ZMK", + Zwd: "ZWD", + Sr: "SR", + Etb: "ETB", + Gh: "GH", + Gwp: "GWP", + Iqd: "IQD", + Irr: "IRR", + Kpw: "KPW", + Lsl: "LSL", + Rol: "ROL", + Sdg: "SDG", + Skk: "SKK", + Tjs: "TJS", + Tmt: "TMT", + Tzs: "TZS", + All: "ALL", + Btn: "BTN", + Cup: "CUP", + Ld: "LD", + Scr: "SCR", + Zmw: "ZMW", + Zwl: "ZWL", +} as const; +/** + * The ISO 4217 standard format currency code used for RFPs. + */ +export type VenueDetailsPatchCurrency = ClosedEnum< + typeof VenueDetailsPatchCurrency +>; + +/** + * Venue address information. + */ +export type VenueDetailsPatchAddress = { + /** + * Street address line 1. + */ + streetAddress1?: string | null | undefined; + /** + * Street address line 2. + */ + streetAddress2?: string | null | undefined; + /** + * City. + */ + city?: string | undefined; + /** + * The state province code used for contact information. + */ + stateProvince?: StateProvince1 | undefined; + /** + * ZIP or postal code. + */ + zipPostalCode?: string | null | undefined; + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + country?: Country | undefined; + /** + * Directions or instructions for getting to the venue. + */ + directions?: string | null | undefined; +}; + +/** + * Partial update payload for venue details. + */ +export type VenueDetailsPatch = { + /** + * Type of venue. + * + * @remarks + * + * Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ + type?: VenueType | undefined; + /** + * Time zone identifier for the venue. See the supported timezones reference for valid values. + */ + timeZone?: string | null | undefined; + /** + * Venue brand. Brands vary by venue type. + */ + brand?: string | null | undefined; + chainScale?: VenueDetailsPatchChainScale | null | undefined; + /** + * Primary phone number for the venue. + */ + mainPhoneNumber?: string | undefined; + /** + * Primary fax number for the venue. + */ + mainFaxNumber?: string | undefined; + /** + * Sales phone number of the venue. + */ + salesPhoneNumber?: string | null | undefined; + /** + * Sales fax number of the venue. + */ + salesFaxNumber?: string | null | undefined; + /** + * Toll-free number of the venue. + */ + tollFreeNumber?: string | null | undefined; + /** + * Website address. + */ + websiteAddress?: string | null | undefined; + currency?: VenueDetailsPatchCurrency | null | undefined; + /** + * Venue opening date as free-form text. + */ + openingDate?: string | null | undefined; + /** + * Venue description. + */ + description?: string | null | undefined; + /** + * Additional information about the venue. + */ + additionalInformation?: string | null | undefined; + /** + * Cancellation policy for bookings at the venue. + */ + cancellationPolicy?: string | null | undefined; + /** + * Location classifications. + */ + locationTypes?: Array | null | undefined; + /** + * Venue address information. + */ + address?: VenueDetailsPatchAddress | null | undefined; +}; + +/** @internal */ +export const VenueDetailsPatchChainScale$inboundSchema: z.ZodNativeEnum< + typeof VenueDetailsPatchChainScale +> = z.nativeEnum(VenueDetailsPatchChainScale); +/** @internal */ +export const VenueDetailsPatchChainScale$outboundSchema: z.ZodNativeEnum< + typeof VenueDetailsPatchChainScale +> = VenueDetailsPatchChainScale$inboundSchema; + +/** @internal */ +export const VenueDetailsPatchCurrency$inboundSchema: z.ZodNativeEnum< + typeof VenueDetailsPatchCurrency +> = z.nativeEnum(VenueDetailsPatchCurrency); +/** @internal */ +export const VenueDetailsPatchCurrency$outboundSchema: z.ZodNativeEnum< + typeof VenueDetailsPatchCurrency +> = VenueDetailsPatchCurrency$inboundSchema; + +/** @internal */ +export const VenueDetailsPatchAddress$inboundSchema: z.ZodType< + VenueDetailsPatchAddress, + z.ZodTypeDef, + unknown +> = z.object({ + streetAddress1: z.nullable(z.string()).optional(), + streetAddress2: z.nullable(z.string()).optional(), + city: z.string().optional(), + stateProvince: StateProvince1$inboundSchema.optional(), + zipPostalCode: z.nullable(z.string()).optional(), + country: Country$inboundSchema.optional(), + directions: z.nullable(z.string()).optional(), +}); +/** @internal */ +export type VenueDetailsPatchAddress$Outbound = { + streetAddress1?: string | null | undefined; + streetAddress2?: string | null | undefined; + city?: string | undefined; + stateProvince?: string | undefined; + zipPostalCode?: string | null | undefined; + country?: string | undefined; + directions?: string | null | undefined; +}; + +/** @internal */ +export const VenueDetailsPatchAddress$outboundSchema: z.ZodType< + VenueDetailsPatchAddress$Outbound, + z.ZodTypeDef, + VenueDetailsPatchAddress +> = z.object({ + streetAddress1: z.nullable(z.string()).optional(), + streetAddress2: z.nullable(z.string()).optional(), + city: z.string().optional(), + stateProvince: StateProvince1$outboundSchema.optional(), + zipPostalCode: z.nullable(z.string()).optional(), + country: Country$outboundSchema.optional(), + directions: z.nullable(z.string()).optional(), +}); + +export function venueDetailsPatchAddressToJSON( + venueDetailsPatchAddress: VenueDetailsPatchAddress, +): string { + return JSON.stringify( + VenueDetailsPatchAddress$outboundSchema.parse(venueDetailsPatchAddress), + ); +} +export function venueDetailsPatchAddressFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueDetailsPatchAddress$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueDetailsPatchAddress' from JSON`, + ); +} + +/** @internal */ +export const VenueDetailsPatch$inboundSchema: z.ZodType< + VenueDetailsPatch, + z.ZodTypeDef, + unknown +> = z.object({ + type: VenueType$inboundSchema.optional(), + timeZone: z.nullable(z.string()).optional(), + brand: z.nullable(z.string()).optional(), + chainScale: z.nullable(VenueDetailsPatchChainScale$inboundSchema).optional(), + mainPhoneNumber: z.string().optional(), + mainFaxNumber: z.string().optional(), + salesPhoneNumber: z.nullable(z.string()).optional(), + salesFaxNumber: z.nullable(z.string()).optional(), + tollFreeNumber: z.nullable(z.string()).optional(), + websiteAddress: z.nullable(z.string()).optional(), + currency: z.nullable(VenueDetailsPatchCurrency$inboundSchema).optional(), + openingDate: z.nullable(z.string()).optional(), + description: z.nullable(z.string()).optional(), + additionalInformation: z.nullable(z.string()).optional(), + cancellationPolicy: z.nullable(z.string()).optional(), + locationTypes: z.nullable(z.array(LocationType$inboundSchema)).optional(), + address: z.nullable(z.lazy(() => VenueDetailsPatchAddress$inboundSchema)) + .optional(), +}); +/** @internal */ +export type VenueDetailsPatch$Outbound = { + type?: string | undefined; + timeZone?: string | null | undefined; + brand?: string | null | undefined; + chainScale?: string | null | undefined; + mainPhoneNumber?: string | undefined; + mainFaxNumber?: string | undefined; + salesPhoneNumber?: string | null | undefined; + salesFaxNumber?: string | null | undefined; + tollFreeNumber?: string | null | undefined; + websiteAddress?: string | null | undefined; + currency?: string | null | undefined; + openingDate?: string | null | undefined; + description?: string | null | undefined; + additionalInformation?: string | null | undefined; + cancellationPolicy?: string | null | undefined; + locationTypes?: Array | null | undefined; + address?: VenueDetailsPatchAddress$Outbound | null | undefined; +}; + +/** @internal */ +export const VenueDetailsPatch$outboundSchema: z.ZodType< + VenueDetailsPatch$Outbound, + z.ZodTypeDef, + VenueDetailsPatch +> = z.object({ + type: VenueType$outboundSchema.optional(), + timeZone: z.nullable(z.string()).optional(), + brand: z.nullable(z.string()).optional(), + chainScale: z.nullable(VenueDetailsPatchChainScale$outboundSchema).optional(), + mainPhoneNumber: z.string().optional(), + mainFaxNumber: z.string().optional(), + salesPhoneNumber: z.nullable(z.string()).optional(), + salesFaxNumber: z.nullable(z.string()).optional(), + tollFreeNumber: z.nullable(z.string()).optional(), + websiteAddress: z.nullable(z.string()).optional(), + currency: z.nullable(VenueDetailsPatchCurrency$outboundSchema).optional(), + openingDate: z.nullable(z.string()).optional(), + description: z.nullable(z.string()).optional(), + additionalInformation: z.nullable(z.string()).optional(), + cancellationPolicy: z.nullable(z.string()).optional(), + locationTypes: z.nullable(z.array(LocationType$outboundSchema)).optional(), + address: z.nullable(z.lazy(() => VenueDetailsPatchAddress$outboundSchema)) + .optional(), +}); + +export function venueDetailsPatchToJSON( + venueDetailsPatch: VenueDetailsPatch, +): string { + return JSON.stringify( + VenueDetailsPatch$outboundSchema.parse(venueDetailsPatch), + ); +} +export function venueDetailsPatchFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueDetailsPatch$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueDetailsPatch' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/venuefacilitypatch.ts b/packages/typescript/src/models/components/venuefacilitypatch.ts new file mode 100644 index 000000000..ccdd6b46b --- /dev/null +++ b/packages/typescript/src/models/components/venuefacilitypatch.ts @@ -0,0 +1,631 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Unit of measurement for area or space. + * + * @remarks + * + * Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ +export const VenueFacilityPatchMeasurementUnit = { + SquareFeet: "SQUARE_FEET", + SquareMeters: "SQUARE_METERS", +} as const; +/** + * Unit of measurement for area or space. + * + * @remarks + * + * Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ +export type VenueFacilityPatchMeasurementUnit = ClosedEnum< + typeof VenueFacilityPatchMeasurementUnit +>; + +/** + * Facility space measurements at the venue. + */ +export type VenueFacilityPatchSpace = { + unitOfMeasurement?: VenueFacilityPatchMeasurementUnit | null | undefined; + /** + * Total meeting room space at the venue. + */ + totalMeetingRoomSpace?: number | null | undefined; + /** + * Total exhibit space at the venue. + */ + totalExhibitSpace?: number | null | undefined; +}; + +/** + * Sleeping room inventory at the venue. + */ +export type VenueFacilityPatchSleeping = { + /** + * Total number of sleeping rooms at the venue. + */ + totalRooms?: number | null | undefined; + /** + * Total number of suites at the venue. + */ + suites?: number | null | undefined; + /** + * Total number of single-occupancy rooms at the venue. + */ + singleRooms?: number | null | undefined; + /** + * Total number of double-occupancy rooms at the venue. + */ + doubleRooms?: number | null | undefined; +}; + +/** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ +export type VenueFacilityPatchSingleRate = { + /** + * Lowest published rate for a single-occupancy room. + */ + low?: number | null | undefined; + /** + * Highest published rate for a single-occupancy room. + */ + high?: number | null | undefined; +}; + +/** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ +export type VenueFacilityPatchDoubleRate = { + /** + * Lowest published rate for a double-occupancy room. + */ + low?: number | null | undefined; + /** + * Highest published rate for a double-occupancy room. + */ + high?: number | null | undefined; +}; + +/** + * Unit of measurement for distance. + * + * @remarks + * + * Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ +export const VenueFacilityPatchDistanceMeasurementUnit = { + Miles: "MILES", + Kilometers: "KILOMETERS", +} as const; +/** + * Unit of measurement for distance. + * + * @remarks + * + * Values: + * - `MILES` — Miles + * - `KILOMETERS` — Kilometers + */ +export type VenueFacilityPatchDistanceMeasurementUnit = ClosedEnum< + typeof VenueFacilityPatchDistanceMeasurementUnit +>; + +/** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ +export type VenueFacilityPatchProximityFromAirport = { + /** + * Distance from the nearest airport, expressed in `unit`. Up to four digits. + */ + distance?: number | null | undefined; + unit?: VenueFacilityPatchDistanceMeasurementUnit | null | undefined; +}; + +/** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ +export type VenueFacilityPatchMaximumCapacity = { + /** + * Maximum seated capacity at the venue. + */ + seated?: number | null | undefined; + /** + * Maximum standing capacity at the venue. + */ + standing?: number | null | undefined; +}; + +/** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ +export const VenueFacilityPatchEventInsurance = { + Blank: "BLANK", + Required: "REQUIRED", + MayBeRequired: "MAY_BE_REQUIRED", + NotRequired: "NOT_REQUIRED", +} as const; +/** + * Indicates whether event insurance is required at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BLANK` — Indicates no selection, leaves the field blank + * - `REQUIRED` — Required + * - `MAY_BE_REQUIRED` — May Be Required + * - `NOT_REQUIRED` — Not Required + */ +export type VenueFacilityPatchEventInsurance = ClosedEnum< + typeof VenueFacilityPatchEventInsurance +>; + +/** + * Partial update payload for venue facility information. Only fields present in the request body are updated; omitted fields remain unchanged. Set leaf fields to `null` to unset them. For grouped objects, update or clear each child field explicitly instead of setting the entire group to `null`. Field applicability varies by venue type; values supplied for fields that do not apply to the venue's type will be rejected. + */ +export type VenueFacilityPatch = { + /** + * Total number of meeting rooms at the venue. + */ + numberOfMeetingRooms?: number | null | undefined; + /** + * Facility space measurements at the venue. + */ + space?: VenueFacilityPatchSpace | undefined; + /** + * Sleeping room inventory at the venue. + */ + sleeping?: VenueFacilityPatchSleeping | undefined; + /** + * Published rate range for single-occupancy rooms, expressed in the venue's configured currency. + */ + singleRate?: VenueFacilityPatchSingleRate | undefined; + /** + * Published rate range for double-occupancy rooms, expressed in the venue's configured currency. + */ + doubleRate?: VenueFacilityPatchDoubleRate | undefined; + /** + * Tax rate applied at the venue, expressed as a percentage. + */ + taxRate?: number | null | undefined; + /** + * Occupancy rate at the venue, expressed as a percentage. + */ + occupancyRate?: number | null | undefined; + /** + * Four-digit year the venue was built. + */ + yearBuilt?: number | null | undefined; + /** + * Four-digit year the venue was last renovated. + */ + yearRenovated?: number | null | undefined; + /** + * Distance from the nearest airport. `unit` is required when `distance` is provided. + */ + proximityFromAirport?: VenueFacilityPatchProximityFromAirport | undefined; + /** + * Free-form description of any facility restrictions at the venue. + */ + restrictions?: string | null | undefined; + /** + * Maximum attendee capacity at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + */ + maximumCapacity?: VenueFacilityPatchMaximumCapacity | undefined; + eventInsurance?: VenueFacilityPatchEventInsurance | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatchMeasurementUnit$inboundSchema: z.ZodNativeEnum< + typeof VenueFacilityPatchMeasurementUnit +> = z.nativeEnum(VenueFacilityPatchMeasurementUnit); +/** @internal */ +export const VenueFacilityPatchMeasurementUnit$outboundSchema: z.ZodNativeEnum< + typeof VenueFacilityPatchMeasurementUnit +> = VenueFacilityPatchMeasurementUnit$inboundSchema; + +/** @internal */ +export const VenueFacilityPatchSpace$inboundSchema: z.ZodType< + VenueFacilityPatchSpace, + z.ZodTypeDef, + unknown +> = z.object({ + unitOfMeasurement: z.nullable(VenueFacilityPatchMeasurementUnit$inboundSchema) + .optional(), + totalMeetingRoomSpace: z.nullable(z.number().int()).optional(), + totalExhibitSpace: z.nullable(z.number().int()).optional(), +}); +/** @internal */ +export type VenueFacilityPatchSpace$Outbound = { + unitOfMeasurement?: string | null | undefined; + totalMeetingRoomSpace?: number | null | undefined; + totalExhibitSpace?: number | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatchSpace$outboundSchema: z.ZodType< + VenueFacilityPatchSpace$Outbound, + z.ZodTypeDef, + VenueFacilityPatchSpace +> = z.object({ + unitOfMeasurement: z.nullable( + VenueFacilityPatchMeasurementUnit$outboundSchema, + ).optional(), + totalMeetingRoomSpace: z.nullable(z.number().int()).optional(), + totalExhibitSpace: z.nullable(z.number().int()).optional(), +}); + +export function venueFacilityPatchSpaceToJSON( + venueFacilityPatchSpace: VenueFacilityPatchSpace, +): string { + return JSON.stringify( + VenueFacilityPatchSpace$outboundSchema.parse(venueFacilityPatchSpace), + ); +} +export function venueFacilityPatchSpaceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueFacilityPatchSpace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueFacilityPatchSpace' from JSON`, + ); +} + +/** @internal */ +export const VenueFacilityPatchSleeping$inboundSchema: z.ZodType< + VenueFacilityPatchSleeping, + z.ZodTypeDef, + unknown +> = z.object({ + totalRooms: z.nullable(z.number().int()).optional(), + suites: z.nullable(z.number().int()).optional(), + singleRooms: z.nullable(z.number().int()).optional(), + doubleRooms: z.nullable(z.number().int()).optional(), +}); +/** @internal */ +export type VenueFacilityPatchSleeping$Outbound = { + totalRooms?: number | null | undefined; + suites?: number | null | undefined; + singleRooms?: number | null | undefined; + doubleRooms?: number | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatchSleeping$outboundSchema: z.ZodType< + VenueFacilityPatchSleeping$Outbound, + z.ZodTypeDef, + VenueFacilityPatchSleeping +> = z.object({ + totalRooms: z.nullable(z.number().int()).optional(), + suites: z.nullable(z.number().int()).optional(), + singleRooms: z.nullable(z.number().int()).optional(), + doubleRooms: z.nullable(z.number().int()).optional(), +}); + +export function venueFacilityPatchSleepingToJSON( + venueFacilityPatchSleeping: VenueFacilityPatchSleeping, +): string { + return JSON.stringify( + VenueFacilityPatchSleeping$outboundSchema.parse(venueFacilityPatchSleeping), + ); +} +export function venueFacilityPatchSleepingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueFacilityPatchSleeping$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueFacilityPatchSleeping' from JSON`, + ); +} + +/** @internal */ +export const VenueFacilityPatchSingleRate$inboundSchema: z.ZodType< + VenueFacilityPatchSingleRate, + z.ZodTypeDef, + unknown +> = z.object({ + low: z.nullable(z.number()).optional(), + high: z.nullable(z.number()).optional(), +}); +/** @internal */ +export type VenueFacilityPatchSingleRate$Outbound = { + low?: number | null | undefined; + high?: number | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatchSingleRate$outboundSchema: z.ZodType< + VenueFacilityPatchSingleRate$Outbound, + z.ZodTypeDef, + VenueFacilityPatchSingleRate +> = z.object({ + low: z.nullable(z.number()).optional(), + high: z.nullable(z.number()).optional(), +}); + +export function venueFacilityPatchSingleRateToJSON( + venueFacilityPatchSingleRate: VenueFacilityPatchSingleRate, +): string { + return JSON.stringify( + VenueFacilityPatchSingleRate$outboundSchema.parse( + venueFacilityPatchSingleRate, + ), + ); +} +export function venueFacilityPatchSingleRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueFacilityPatchSingleRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueFacilityPatchSingleRate' from JSON`, + ); +} + +/** @internal */ +export const VenueFacilityPatchDoubleRate$inboundSchema: z.ZodType< + VenueFacilityPatchDoubleRate, + z.ZodTypeDef, + unknown +> = z.object({ + low: z.nullable(z.number()).optional(), + high: z.nullable(z.number()).optional(), +}); +/** @internal */ +export type VenueFacilityPatchDoubleRate$Outbound = { + low?: number | null | undefined; + high?: number | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatchDoubleRate$outboundSchema: z.ZodType< + VenueFacilityPatchDoubleRate$Outbound, + z.ZodTypeDef, + VenueFacilityPatchDoubleRate +> = z.object({ + low: z.nullable(z.number()).optional(), + high: z.nullable(z.number()).optional(), +}); + +export function venueFacilityPatchDoubleRateToJSON( + venueFacilityPatchDoubleRate: VenueFacilityPatchDoubleRate, +): string { + return JSON.stringify( + VenueFacilityPatchDoubleRate$outboundSchema.parse( + venueFacilityPatchDoubleRate, + ), + ); +} +export function venueFacilityPatchDoubleRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueFacilityPatchDoubleRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueFacilityPatchDoubleRate' from JSON`, + ); +} + +/** @internal */ +export const VenueFacilityPatchDistanceMeasurementUnit$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(VenueFacilityPatchDistanceMeasurementUnit); +/** @internal */ +export const VenueFacilityPatchDistanceMeasurementUnit$outboundSchema: + z.ZodNativeEnum = + VenueFacilityPatchDistanceMeasurementUnit$inboundSchema; + +/** @internal */ +export const VenueFacilityPatchProximityFromAirport$inboundSchema: z.ZodType< + VenueFacilityPatchProximityFromAirport, + z.ZodTypeDef, + unknown +> = z.object({ + distance: z.nullable(z.number()).optional(), + unit: z.nullable(VenueFacilityPatchDistanceMeasurementUnit$inboundSchema) + .optional(), +}); +/** @internal */ +export type VenueFacilityPatchProximityFromAirport$Outbound = { + distance?: number | null | undefined; + unit?: string | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatchProximityFromAirport$outboundSchema: z.ZodType< + VenueFacilityPatchProximityFromAirport$Outbound, + z.ZodTypeDef, + VenueFacilityPatchProximityFromAirport +> = z.object({ + distance: z.nullable(z.number()).optional(), + unit: z.nullable(VenueFacilityPatchDistanceMeasurementUnit$outboundSchema) + .optional(), +}); + +export function venueFacilityPatchProximityFromAirportToJSON( + venueFacilityPatchProximityFromAirport: + VenueFacilityPatchProximityFromAirport, +): string { + return JSON.stringify( + VenueFacilityPatchProximityFromAirport$outboundSchema.parse( + venueFacilityPatchProximityFromAirport, + ), + ); +} +export function venueFacilityPatchProximityFromAirportFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + VenueFacilityPatchProximityFromAirport$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueFacilityPatchProximityFromAirport' from JSON`, + ); +} + +/** @internal */ +export const VenueFacilityPatchMaximumCapacity$inboundSchema: z.ZodType< + VenueFacilityPatchMaximumCapacity, + z.ZodTypeDef, + unknown +> = z.object({ + seated: z.nullable(z.number().int()).optional(), + standing: z.nullable(z.number().int()).optional(), +}); +/** @internal */ +export type VenueFacilityPatchMaximumCapacity$Outbound = { + seated?: number | null | undefined; + standing?: number | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatchMaximumCapacity$outboundSchema: z.ZodType< + VenueFacilityPatchMaximumCapacity$Outbound, + z.ZodTypeDef, + VenueFacilityPatchMaximumCapacity +> = z.object({ + seated: z.nullable(z.number().int()).optional(), + standing: z.nullable(z.number().int()).optional(), +}); + +export function venueFacilityPatchMaximumCapacityToJSON( + venueFacilityPatchMaximumCapacity: VenueFacilityPatchMaximumCapacity, +): string { + return JSON.stringify( + VenueFacilityPatchMaximumCapacity$outboundSchema.parse( + venueFacilityPatchMaximumCapacity, + ), + ); +} +export function venueFacilityPatchMaximumCapacityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueFacilityPatchMaximumCapacity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueFacilityPatchMaximumCapacity' from JSON`, + ); +} + +/** @internal */ +export const VenueFacilityPatchEventInsurance$inboundSchema: z.ZodNativeEnum< + typeof VenueFacilityPatchEventInsurance +> = z.nativeEnum(VenueFacilityPatchEventInsurance); +/** @internal */ +export const VenueFacilityPatchEventInsurance$outboundSchema: z.ZodNativeEnum< + typeof VenueFacilityPatchEventInsurance +> = VenueFacilityPatchEventInsurance$inboundSchema; + +/** @internal */ +export const VenueFacilityPatch$inboundSchema: z.ZodType< + VenueFacilityPatch, + z.ZodTypeDef, + unknown +> = z.object({ + numberOfMeetingRooms: z.nullable(z.number().int()).optional(), + space: z.lazy(() => VenueFacilityPatchSpace$inboundSchema).optional(), + sleeping: z.lazy(() => VenueFacilityPatchSleeping$inboundSchema).optional(), + singleRate: z.lazy(() => VenueFacilityPatchSingleRate$inboundSchema) + .optional(), + doubleRate: z.lazy(() => VenueFacilityPatchDoubleRate$inboundSchema) + .optional(), + taxRate: z.nullable(z.number()).optional(), + occupancyRate: z.nullable(z.number()).optional(), + yearBuilt: z.nullable(z.number().int()).optional(), + yearRenovated: z.nullable(z.number().int()).optional(), + proximityFromAirport: z.lazy(() => + VenueFacilityPatchProximityFromAirport$inboundSchema + ).optional(), + restrictions: z.nullable(z.string()).optional(), + maximumCapacity: z.lazy(() => VenueFacilityPatchMaximumCapacity$inboundSchema) + .optional(), + eventInsurance: z.nullable(VenueFacilityPatchEventInsurance$inboundSchema) + .optional(), +}); +/** @internal */ +export type VenueFacilityPatch$Outbound = { + numberOfMeetingRooms?: number | null | undefined; + space?: VenueFacilityPatchSpace$Outbound | undefined; + sleeping?: VenueFacilityPatchSleeping$Outbound | undefined; + singleRate?: VenueFacilityPatchSingleRate$Outbound | undefined; + doubleRate?: VenueFacilityPatchDoubleRate$Outbound | undefined; + taxRate?: number | null | undefined; + occupancyRate?: number | null | undefined; + yearBuilt?: number | null | undefined; + yearRenovated?: number | null | undefined; + proximityFromAirport?: + | VenueFacilityPatchProximityFromAirport$Outbound + | undefined; + restrictions?: string | null | undefined; + maximumCapacity?: VenueFacilityPatchMaximumCapacity$Outbound | undefined; + eventInsurance?: string | null | undefined; +}; + +/** @internal */ +export const VenueFacilityPatch$outboundSchema: z.ZodType< + VenueFacilityPatch$Outbound, + z.ZodTypeDef, + VenueFacilityPatch +> = z.object({ + numberOfMeetingRooms: z.nullable(z.number().int()).optional(), + space: z.lazy(() => VenueFacilityPatchSpace$outboundSchema).optional(), + sleeping: z.lazy(() => VenueFacilityPatchSleeping$outboundSchema).optional(), + singleRate: z.lazy(() => VenueFacilityPatchSingleRate$outboundSchema) + .optional(), + doubleRate: z.lazy(() => VenueFacilityPatchDoubleRate$outboundSchema) + .optional(), + taxRate: z.nullable(z.number()).optional(), + occupancyRate: z.nullable(z.number()).optional(), + yearBuilt: z.nullable(z.number().int()).optional(), + yearRenovated: z.nullable(z.number().int()).optional(), + proximityFromAirport: z.lazy(() => + VenueFacilityPatchProximityFromAirport$outboundSchema + ).optional(), + restrictions: z.nullable(z.string()).optional(), + maximumCapacity: z.lazy(() => + VenueFacilityPatchMaximumCapacity$outboundSchema + ).optional(), + eventInsurance: z.nullable(VenueFacilityPatchEventInsurance$outboundSchema) + .optional(), +}); + +export function venueFacilityPatchToJSON( + venueFacilityPatch: VenueFacilityPatch, +): string { + return JSON.stringify( + VenueFacilityPatch$outboundSchema.parse(venueFacilityPatch), + ); +} +export function venueFacilityPatchFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueFacilityPatch$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueFacilityPatch' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/venuetype.ts b/packages/typescript/src/models/components/venuetype.ts new file mode 100644 index 000000000..7e130c634 --- /dev/null +++ b/packages/typescript/src/models/components/venuetype.ts @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Type of venue. + * + * @remarks + * + * Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ +export const VenueType = { + AquariumZoo: "AQUARIUM_ZOO", + ArenaStadium: "ARENA_STADIUM", + BanquetFacility: "BANQUET_FACILITY", + BarClub: "BAR_CLUB", + Blank: "BLANK", + BoutiqueHotel: "BOUTIQUE_HOTEL", + ConferenceCenter: "CONFERENCE_CENTER", + ConventionCenter: "CONVENTION_CENTER", + CorporateOfficeSpace: "CORPORATE_OFFICE_SPACE", + Cvb: "CVB", + Dmc: "DMC", + EducationalFacility: "EDUCATIONAL_FACILITY", + EntertainmentVenue: "ENTERTAINMENT_VENUE", + ExpositionCenter: "EXPOSITION_CENTER", + GalleryMuseum: "GALLERY_MUSEUM", + GolfCourse: "GOLF_COURSE", + Hotel: "HOTEL", + InternalVenue: "INTERNAL_VENUE", + LuxuryHotel: "LUXURY_HOTEL", + MovieTheatre: "MOVIE_THEATRE", + Resort: "RESORT", + Restaurant: "RESTAURANT", + SpecialEventVenue: "SPECIAL_EVENT_VENUE", +} as const; +/** + * Type of venue. + * + * @remarks + * + * Values: + * - `AQUARIUM_ZOO` — Aquarium/Zoo + * - `ARENA_STADIUM` — Arena/Stadium + * - `BANQUET_FACILITY` — Banquet Facility + * - `BAR_CLUB` — Bar/Club + * - `BLANK` — Blank + * - `BOUTIQUE_HOTEL` — Boutique Hotel + * - `CONFERENCE_CENTER` — Conference Center + * - `CONVENTION_CENTER` — Convention Center + * - `CORPORATE_OFFICE_SPACE` — Corporate Office Space + * - `CVB` — CVB + * - `DMC` — Destination Management Company + * - `EDUCATIONAL_FACILITY` — Educational Facility + * - `ENTERTAINMENT_VENUE` — Entertainment Venue + * - `EXPOSITION_CENTER` — Exposition Center + * - `GALLERY_MUSEUM` — Gallery/Museum + * - `GOLF_COURSE` — Golf Course + * - `HOTEL` — Hotel + * - `INTERNAL_VENUE` — Internal Venue + * - `LUXURY_HOTEL` — Luxury Hotel + * - `MOVIE_THEATRE` — Movie Theatre + * - `RESORT` — Resort + * - `RESTAURANT` — Restaurant + * - `SPECIAL_EVENT_VENUE` — Special Event Venue + */ +export type VenueType = ClosedEnum; + +/** @internal */ +export const VenueType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(VenueType); +/** @internal */ +export const VenueType$outboundSchema: z.ZodNativeEnum = + VenueType$inboundSchema; diff --git a/packages/typescript/src/models/components/zeroallof1.ts b/packages/typescript/src/models/components/zeroallof1.ts index 391d13641..aacf0a029 100644 --- a/packages/typescript/src/models/components/zeroallof1.ts +++ b/packages/typescript/src/models/components/zeroallof1.ts @@ -8,21 +8,17 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * Represents an error response with no additional details. + * Details of a location. */ export type ZeroAllOf1 = { /** - * The HTTP status code representing the error. + * The unique ID representing the location. */ - code: number; + id: string; /** - * A brief description of the error. + * The name of the location. */ - message: string; - /** - * The target resource of the error. - */ - target?: string | undefined; + name: string; }; /** @internal */ @@ -31,9 +27,8 @@ export const ZeroAllOf1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - code: z.number().int(), - message: z.string(), - target: z.string().optional(), + id: z.string(), + name: z.string(), }); export function zeroAllOf1FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof2.ts b/packages/typescript/src/models/components/zeroallof2.ts index f0b40417c..56b8604f5 100644 --- a/packages/typescript/src/models/components/zeroallof2.ts +++ b/packages/typescript/src/models/components/zeroallof2.ts @@ -6,21 +6,158 @@ import * as 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 { + AppointmentParticipantJson, + AppointmentParticipantJson$inboundSchema, +} from "./appointmentparticipantjson.js"; +import { + AppointmentStatusJson, + AppointmentStatusJson$inboundSchema, +} from "./appointmentstatusjson.js"; +import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** - * Details of a location. + * The location of the appointment. + */ +export type LocationAllOf = { + /** + * The name of the location. + */ + name?: string | undefined; +}; + +/** + * The type of the appointment. + */ +export type TypeAllOf = { + /** + * The name of the appointment type. + */ + name?: string | undefined; +}; + +/** + * Details of an event appointment. */ export type ZeroAllOf2 = { /** - * The unique ID representing the location. + * The unique ID representing the appointment. */ id: string; /** - * The name of the location. + * The unique appointment code in Cvent or unique reference id of an appointment in the external systems. + */ + code?: string | undefined; + /** + * The name of the appointment. */ name: string; + /** + * The description of the appointment. + */ + description?: string | undefined; + /** + * The ISO 8601 formatted start date/time of the appointment. + */ + start: Date; + /** + * The ISO 8601 formatted end date/time of the appointment. + */ + end: Date; + /** + * Denotes the status of an appointment. + */ + status?: AppointmentStatusJson | undefined; + /** + * The location of the appointment. + */ + location?: LocationAllOf | undefined; + /** + * The type of the appointment. + */ + type: TypeAllOf; + /** + * The ISO 8601 zoned date time when this record was created. + */ + created?: Date | undefined; + /** + * The identifier of the user that created this record. + */ + createdBy?: string | undefined; + /** + * The ISO 8601 zoned date time when this record was updated. + */ + lastModified?: Date | undefined; + /** + * The identifier of the user that last updated this record. + */ + lastModifiedBy?: string | undefined; + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + appointmentEvent?: UuidJson | undefined; + /** + * Collection of attendees participating in this appointment, and their related details. + */ + participants?: Array | undefined; + /** + * True indicates participants will be automatically marked as accepted for the appointment. + */ + autoAcceptAttendees?: boolean | undefined; + /** + * True indicates that existing schedule rules were enforced when the appointment was created. + */ + enforceScheduleRules?: boolean | undefined; + /** + * This field is deprecated please use - lastModified + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + modified?: Date | undefined; + /** + * True indicates the appointment has been logically deleted. + */ + deleted?: boolean | undefined; }; +/** @internal */ +export const LocationAllOf$inboundSchema: z.ZodType< + LocationAllOf, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), +}); + +export function locationAllOfFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LocationAllOf$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LocationAllOf' from JSON`, + ); +} + +/** @internal */ +export const TypeAllOf$inboundSchema: z.ZodType< + TypeAllOf, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), +}); + +export function typeAllOfFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TypeAllOf$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TypeAllOf' from JSON`, + ); +} + /** @internal */ export const ZeroAllOf2$inboundSchema: z.ZodType< ZeroAllOf2, @@ -28,7 +165,28 @@ export const ZeroAllOf2$inboundSchema: z.ZodType< unknown > = z.object({ id: z.string(), + code: z.string().optional(), name: z.string(), + description: z.string().optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)), + status: AppointmentStatusJson$inboundSchema.optional(), + location: z.lazy(() => LocationAllOf$inboundSchema).optional(), + type: z.lazy(() => TypeAllOf$inboundSchema), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + createdBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + appointmentEvent: UuidJson$inboundSchema.optional(), + participants: z.array(AppointmentParticipantJson$inboundSchema).optional(), + autoAcceptAttendees: z.boolean().optional(), + enforceScheduleRules: z.boolean().optional(), + modified: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + deleted: z.boolean().optional(), }); export function zeroAllOf2FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof3.ts b/packages/typescript/src/models/components/zeroallof3.ts index e8162401f..12245aacf 100644 --- a/packages/typescript/src/models/components/zeroallof3.ts +++ b/packages/typescript/src/models/components/zeroallof3.ts @@ -6,187 +6,34 @@ import * as 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 { - AppointmentParticipantJson, - AppointmentParticipantJson$inboundSchema, -} from "./appointmentparticipantjson.js"; -import { - AppointmentStatusJson, - AppointmentStatusJson$inboundSchema, -} from "./appointmentstatusjson.js"; -import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** - * The location of the appointment. - */ -export type LocationAllOf = { - /** - * The name of the location. - */ - name?: string | undefined; -}; - -/** - * The type of the appointment. - */ -export type TypeAllOf = { - /** - * The name of the appointment type. - */ - name?: string | undefined; -}; - -/** - * Details of an event appointment. + * Represents an error response with no additional details. */ export type ZeroAllOf3 = { /** - * The unique ID representing the appointment. - */ - id: string; - /** - * The unique appointment code in Cvent or unique reference id of an appointment in the external systems. - */ - code?: string | undefined; - /** - * The name of the appointment. - */ - name: string; - /** - * The description of the appointment. - */ - description?: string | undefined; - /** - * The ISO 8601 formatted start date/time of the appointment. - */ - start: Date; - /** - * The ISO 8601 formatted end date/time of the appointment. - */ - end: Date; - /** - * Denotes the status of an appointment. - */ - status?: AppointmentStatusJson | undefined; - /** - * The location of the appointment. - */ - location?: LocationAllOf | undefined; - /** - * The type of the appointment. - */ - type: TypeAllOf; - /** - * The ISO 8601 zoned date time when this record was created. - */ - created?: Date | undefined; - /** - * The identifier of the user that created this record. - */ - createdBy?: string | undefined; - /** - * The ISO 8601 zoned date time when this record was updated. + * The HTTP status code representing the error. */ - lastModified?: Date | undefined; + code: number; /** - * The identifier of the user that last updated this record. + * A brief description of the error. */ - lastModifiedBy?: string | undefined; + message: string; /** - * The reference to the related entity. Contains only the ID of the related entity. + * The target resource of the error. */ - appointmentEvent?: UuidJson | undefined; - /** - * Collection of attendees participating in this appointment, and their related details. - */ - participants?: Array | undefined; - /** - * True indicates participants will be automatically marked as accepted for the appointment. - */ - autoAcceptAttendees?: boolean | undefined; - /** - * True indicates that existing schedule rules were enforced when the appointment was created. - */ - enforceScheduleRules?: boolean | undefined; - /** - * This field is deprecated please use - lastModified - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - modified?: Date | undefined; - /** - * True indicates the appointment has been logically deleted. - */ - deleted?: boolean | undefined; + target?: string | undefined; }; -/** @internal */ -export const LocationAllOf$inboundSchema: z.ZodType< - LocationAllOf, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), -}); - -export function locationAllOfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LocationAllOf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LocationAllOf' from JSON`, - ); -} - -/** @internal */ -export const TypeAllOf$inboundSchema: z.ZodType< - TypeAllOf, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), -}); - -export function typeAllOfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TypeAllOf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TypeAllOf' from JSON`, - ); -} - /** @internal */ export const ZeroAllOf3$inboundSchema: z.ZodType< ZeroAllOf3, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), - code: z.string().optional(), - name: z.string(), - description: z.string().optional(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)), - status: AppointmentStatusJson$inboundSchema.optional(), - location: z.lazy(() => LocationAllOf$inboundSchema).optional(), - type: z.lazy(() => TypeAllOf$inboundSchema), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - createdBy: z.string().optional(), - lastModified: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - lastModifiedBy: z.string().optional(), - appointmentEvent: UuidJson$inboundSchema.optional(), - participants: z.array(AppointmentParticipantJson$inboundSchema).optional(), - autoAcceptAttendees: z.boolean().optional(), - enforceScheduleRules: z.boolean().optional(), - modified: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - deleted: z.boolean().optional(), + code: z.number().int(), + message: z.string(), + target: z.string().optional(), }); export function zeroAllOf3FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof4.ts b/packages/typescript/src/models/components/zeroallof4.ts index 527ea0b7c..83456c1df 100644 --- a/packages/typescript/src/models/components/zeroallof4.ts +++ b/packages/typescript/src/models/components/zeroallof4.ts @@ -6,39 +6,79 @@ import * as 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 { + ReconciliationStatusJson, + ReconciliationStatusJson$inboundSchema, +} from "./reconciliationstatusjson.js"; /** - * Booth staff for an activity. + * The identifier of reconciled budget item. */ -export type ZeroAllOf4 = { +export type BudgetItemAllOf = { /** - * The unique identifier of the exhibitor booth staff. + * The budget item ID. */ id?: string | undefined; +}; + +/** + * A transaction reconciliation record. + */ +export type ZeroAllOf4 = { /** - * The first name of the booth staff that captured the lead. + * The identifier of reconciled budget item. */ - firstName?: string | undefined; + budgetItem?: BudgetItemAllOf | undefined; /** - * The last name of the booth staff that captured the lead. + * This is used to denote the reconciliation status for a transaction. */ - lastName?: string | undefined; + status?: ReconciliationStatusJson | undefined; /** - * The email address of the booth staff that captured the lead. + * Reconciliation amount. */ - email?: string | undefined; + amount?: number | undefined; + /** + * Reconciled by user. + */ + reconciledBy?: string | undefined; + /** + * The ISO 8601 zoned date and time for Reconciled date. + */ + reconciledDate?: Date | undefined; }; +/** @internal */ +export const BudgetItemAllOf$inboundSchema: z.ZodType< + BudgetItemAllOf, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function budgetItemAllOfFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BudgetItemAllOf$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BudgetItemAllOf' from JSON`, + ); +} + /** @internal */ export const ZeroAllOf4$inboundSchema: z.ZodType< ZeroAllOf4, z.ZodTypeDef, unknown > = z.object({ - id: z.string().optional(), - firstName: z.string().optional(), - lastName: z.string().optional(), - email: z.string().optional(), + budgetItem: z.lazy(() => BudgetItemAllOf$inboundSchema).optional(), + status: ReconciliationStatusJson$inboundSchema.optional(), + amount: z.number().optional(), + reconciledBy: z.string().optional(), + reconciledDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), }); export function zeroAllOf4FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof5.ts b/packages/typescript/src/models/components/zeroallof5.ts index 8d4d9efc1..69b31f60a 100644 --- a/packages/typescript/src/models/components/zeroallof5.ts +++ b/packages/typescript/src/models/components/zeroallof5.ts @@ -8,17 +8,25 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * The question that was answered. + * Represents an error response for the checkin APIs that includes a unique id. */ export type ZeroAllOf5 = { /** - * The unique identifier of the question. + * The unique identifier for the error response. */ id?: string | undefined; /** - * Question text. + * The HTTP status code representing the error. */ - text?: string | undefined; + code: number; + /** + * A brief description of the error. + */ + message: string; + /** + * The target resource of the error. + */ + target?: string | undefined; }; /** @internal */ @@ -28,7 +36,9 @@ export const ZeroAllOf5$inboundSchema: z.ZodType< unknown > = z.object({ id: z.string().optional(), - text: z.string().optional(), + code: z.number().int(), + message: z.string(), + target: z.string().optional(), }); export function zeroAllOf5FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof6.ts b/packages/typescript/src/models/components/zeroallof6.ts index f078fc638..fff864b65 100644 --- a/packages/typescript/src/models/components/zeroallof6.ts +++ b/packages/typescript/src/models/components/zeroallof6.ts @@ -7,78 +7,63 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ReconciliationStatusJson, - ReconciliationStatusJson$inboundSchema, -} from "./reconciliationstatusjson.js"; + HousingEventStatusesJson, + HousingEventStatusesJson$inboundSchema, +} from "./housingeventstatusesjson.js"; +import { VenueJson1, VenueJson1$inboundSchema } from "./venuejson1.js"; /** - * The identifier of reconciled budget item. + * Information about housing event with key information, providing a summarized view. */ -export type BudgetItemAllOf = { +export type ZeroAllOf6 = { /** - * The budget item ID. + * The unique ID of the housing event. */ - id?: string | undefined; -}; - -/** - * A transaction reconciliation record. - */ -export type ZeroAllOf6 = { + id: number; /** - * The identifier of reconciled budget item. + * Event name. */ - budgetItem?: BudgetItemAllOf | undefined; + name: string; /** - * This is used to denote the reconciliation status for a transaction. + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. */ - status?: ReconciliationStatusJson | undefined; + start: Date; /** - * Reconciliation amount. + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. */ - amount?: number | undefined; + end: Date; /** - * Reconciled by user. + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. */ - reconciledBy?: string | undefined; + cutOff: Date; /** - * The ISO 8601 zoned date and time for Reconciled date. + * The event timezone from the Olson specification. */ - reconciledDate?: Date | undefined; + timeZone: string; + /** + * Event venue details. + */ + venue: VenueJson1; + /** + * Housing event status. + */ + status: HousingEventStatusesJson; }; -/** @internal */ -export const BudgetItemAllOf$inboundSchema: z.ZodType< - BudgetItemAllOf, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function budgetItemAllOfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BudgetItemAllOf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BudgetItemAllOf' from JSON`, - ); -} - /** @internal */ export const ZeroAllOf6$inboundSchema: z.ZodType< ZeroAllOf6, z.ZodTypeDef, unknown > = z.object({ - budgetItem: z.lazy(() => BudgetItemAllOf$inboundSchema).optional(), - status: ReconciliationStatusJson$inboundSchema.optional(), - amount: z.number().optional(), - reconciledBy: z.string().optional(), - reconciledDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), + id: z.number().int(), + name: z.string(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)), + cutOff: z.string().datetime({ offset: true }).transform(v => new Date(v)), + timeZone: z.string(), + venue: VenueJson1$inboundSchema, + status: HousingEventStatusesJson$inboundSchema, }); export function zeroAllOf6FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof7.ts b/packages/typescript/src/models/components/zeroallof7.ts deleted file mode 100644 index 9aecbfa2f..000000000 --- a/packages/typescript/src/models/components/zeroallof7.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Represents an error response for the checkin APIs that includes a unique id. - */ -export type ZeroAllOf7 = { - /** - * The unique identifier for the error response. - */ - id?: string | undefined; - /** - * 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; -}; - -/** @internal */ -export const ZeroAllOf7$inboundSchema: z.ZodType< - ZeroAllOf7, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - code: z.number().int(), - message: z.string(), - target: z.string().optional(), -}); - -export function zeroAllOf7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ZeroAllOf7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ZeroAllOf7' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/zeroallof8.ts b/packages/typescript/src/models/components/zeroallof8.ts deleted file mode 100644 index 23164b25c..000000000 --- a/packages/typescript/src/models/components/zeroallof8.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - HousingEventStatusesJson, - HousingEventStatusesJson$inboundSchema, -} from "./housingeventstatusesjson.js"; -import { VenueJson1, VenueJson1$inboundSchema } from "./venuejson1.js"; - -/** - * Information about housing event with key information, providing a summarized view. - */ -export type ZeroAllOf8 = { - /** - * The unique ID of the housing event. - */ - id: number; - /** - * Event name. - */ - name: string; - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. - */ - start: Date; - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - end: Date; - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. - */ - cutOff: Date; - /** - * The event timezone from the Olson specification. - */ - timeZone: string; - /** - * Event venue details. - */ - venue: VenueJson1; - /** - * Housing event status. - */ - status: HousingEventStatusesJson; -}; - -/** @internal */ -export const ZeroAllOf8$inboundSchema: z.ZodType< - ZeroAllOf8, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.number().int(), - name: z.string(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)), - cutOff: z.string().datetime({ offset: true }).transform(v => new Date(v)), - timeZone: z.string(), - venue: VenueJson1$inboundSchema, - status: HousingEventStatusesJson$inboundSchema, -}); - -export function zeroAllOf8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ZeroAllOf8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ZeroAllOf8' from JSON`, - ); -} diff --git a/packages/typescript/src/models/errors/errorresponse.ts b/packages/typescript/src/models/errors/errorresponse.ts index e532e8818..856ea837c 100644 --- a/packages/typescript/src/models/errors/errorresponse.ts +++ b/packages/typescript/src/models/errors/errorresponse.ts @@ -25,7 +25,7 @@ export type ErrorResponseData = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; /** @@ -43,7 +43,7 @@ export class ErrorResponse extends CventSDKError { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; /** The original data that was passed to this error instance. */ data$: ErrorResponseData; @@ -72,7 +72,7 @@ export const ErrorResponse$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(components.ZeroAllOf1$inboundSchema).optional(), + details: z.array(components.ZeroAllOf3$inboundSchema).optional(), request$: z.instanceof(Request), response$: z.instanceof(Response), body$: z.string(), diff --git a/packages/typescript/src/models/errors/segmentserrorresponse.ts b/packages/typescript/src/models/errors/segmentserrorresponse.ts index 2aa5a39a9..11b5513b4 100644 --- a/packages/typescript/src/models/errors/segmentserrorresponse.ts +++ b/packages/typescript/src/models/errors/segmentserrorresponse.ts @@ -42,7 +42,7 @@ export type SegmentsErrorResponseData = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; /** * Business validation code for bad requests. */ @@ -64,7 +64,7 @@ export class SegmentsErrorResponse extends CventSDKError { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; /** * Business validation code for bad requests. */ @@ -103,7 +103,7 @@ export const SegmentsErrorResponse$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(components.ZeroAllOf1$inboundSchema).optional(), + details: z.array(components.ZeroAllOf3$inboundSchema).optional(), validationCode: ValidationCode$inboundSchema.optional(), request$: z.instanceof(Request), response$: z.instanceof(Response), diff --git a/packages/typescript/src/models/operations/createmeetingrequest.ts b/packages/typescript/src/models/operations/createmeetingrequest.ts index 0a6e2e2e1..ebdfbbef7 100644 --- a/packages/typescript/src/models/operations/createmeetingrequest.ts +++ b/packages/typescript/src/models/operations/createmeetingrequest.ts @@ -18,14 +18,14 @@ export type CreateMeetingRequestRequest = { /** * Up to **5 meeting requests** can be created per call. */ - requestBody: Array; + requestBody: Array; }; /** @internal */ export type CreateMeetingRequestRequest$Outbound = { id: string; skipRequiredQuestionValidation?: boolean | undefined; - RequestBody: Array; + RequestBody: Array; }; /** @internal */ @@ -36,7 +36,7 @@ export const CreateMeetingRequestRequest$outboundSchema: z.ZodType< > = z.object({ id: z.string(), skipRequiredQuestionValidation: z.boolean().optional(), - requestBody: z.array(components.MeetingRequestCreateJson$outboundSchema), + requestBody: z.array(components.MeetingRequestCreate$outboundSchema), }).transform((v) => { return remap$(v, { requestBody: "RequestBody", diff --git a/packages/typescript/src/models/operations/createmeetingroom.ts b/packages/typescript/src/models/operations/createmeetingroom.ts new file mode 100644 index 000000000..370434272 --- /dev/null +++ b/packages/typescript/src/models/operations/createmeetingroom.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import * as components from "../components/index.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type CreateMeetingRoomRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + meetingRoom: components.MeetingRoom; +}; + +export type CreateMeetingRoomResponse = { + headers: { [k: string]: Array }; + result: components.ExistingMeetingRoom; +}; + +/** @internal */ +export type CreateMeetingRoomRequest$Outbound = { + venueId: string; + meetingRoom: components.MeetingRoom$Outbound; +}; + +/** @internal */ +export const CreateMeetingRoomRequest$outboundSchema: z.ZodType< + CreateMeetingRoomRequest$Outbound, + z.ZodTypeDef, + CreateMeetingRoomRequest +> = z.object({ + venueId: z.string(), + meetingRoom: components.MeetingRoom$outboundSchema, +}); + +export function createMeetingRoomRequestToJSON( + createMeetingRoomRequest: CreateMeetingRoomRequest, +): string { + return JSON.stringify( + CreateMeetingRoomRequest$outboundSchema.parse(createMeetingRoomRequest), + ); +} + +/** @internal */ +export const CreateMeetingRoomResponse$inboundSchema: z.ZodType< + CreateMeetingRoomResponse, + z.ZodTypeDef, + unknown +> = z.object({ + Headers: z.record(z.array(z.string())).default({}), + Result: components.ExistingMeetingRoom$inboundSchema, +}).transform((v) => { + return remap$(v, { + "Headers": "headers", + "Result": "result", + }); +}); + +export function createMeetingRoomResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateMeetingRoomResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateMeetingRoomResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/operations/getairactualdetail.ts b/packages/typescript/src/models/operations/getairactualdetail.ts index d2250ed60..2bdf5963e 100644 --- a/packages/typescript/src/models/operations/getairactualdetail.ts +++ b/packages/typescript/src/models/operations/getairactualdetail.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetAirActualDetailRequest = { + /** + * ID of an event. + */ + id: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -71,10 +75,6 @@ export type GetAirActualDetailRequest = { * * or */ filter?: string | undefined; - /** - * ID of an event. - */ - id: string; }; export type GetAirActualDetailResponse = { @@ -83,6 +83,7 @@ export type GetAirActualDetailResponse = { /** @internal */ export type GetAirActualDetailRequest$Outbound = { + id: string; after?: string | undefined; before?: string | undefined; limit: number; @@ -90,7 +91,6 @@ export type GetAirActualDetailRequest$Outbound = { expand?: Array | undefined; sort?: string | undefined; filter?: string | undefined; - id: string; }; /** @internal */ @@ -99,6 +99,7 @@ export const GetAirActualDetailRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetAirActualDetailRequest > = z.object({ + id: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), @@ -107,7 +108,6 @@ export const GetAirActualDetailRequest$outboundSchema: z.ZodType< .optional(), sort: z.string().optional(), filter: z.string().optional(), - id: z.string(), }); export function getAirActualDetailRequestToJSON( diff --git a/packages/typescript/src/models/operations/getairrequests.ts b/packages/typescript/src/models/operations/getairrequests.ts index 43c7a6252..2dd7a7431 100644 --- a/packages/typescript/src/models/operations/getairrequests.ts +++ b/packages/typescript/src/models/operations/getairrequests.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetAirRequestsRequest = { + /** + * ID of an event. + */ + id: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -71,10 +75,6 @@ export type GetAirRequestsRequest = { * * airRequestDetails.airRequestAnswers.question (List Event Questions) */ expand?: Array | undefined; - /** - * ID of an event. - */ - id: string; }; export type GetAirRequestsResponse = { @@ -83,6 +83,7 @@ export type GetAirRequestsResponse = { /** @internal */ export type GetAirRequestsRequest$Outbound = { + id: string; after?: string | undefined; before?: string | undefined; limit: number; @@ -90,7 +91,6 @@ export type GetAirRequestsRequest$Outbound = { sort?: string | undefined; filter?: string | undefined; expand?: Array | undefined; - id: string; }; /** @internal */ @@ -99,6 +99,7 @@ export const GetAirRequestsRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetAirRequestsRequest > = z.object({ + id: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), @@ -107,7 +108,6 @@ export const GetAirRequestsRequest$outboundSchema: z.ZodType< filter: z.string().optional(), expand: z.array(components.ExpandAirRequestQuestionAnswer$outboundSchema) .optional(), - id: z.string(), }); export function getAirRequestsRequestToJSON( diff --git a/packages/typescript/src/models/operations/getalternatetravelanswers.ts b/packages/typescript/src/models/operations/getalternatetravelanswers.ts index 3dac229a9..51f0e4673 100644 --- a/packages/typescript/src/models/operations/getalternatetravelanswers.ts +++ b/packages/typescript/src/models/operations/getalternatetravelanswers.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetAlternateTravelAnswersRequest = { + /** + * ID of an event. + */ + id: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -46,10 +50,6 @@ export type GetAlternateTravelAnswersRequest = { * * or */ filter?: string | undefined; - /** - * ID of an event. - */ - id: string; }; export type GetAlternateTravelAnswersResponse = { @@ -58,12 +58,12 @@ export type GetAlternateTravelAnswersResponse = { /** @internal */ export type GetAlternateTravelAnswersRequest$Outbound = { + id: string; after?: string | undefined; before?: string | undefined; limit: number; token?: string | undefined; filter?: string | undefined; - id: string; }; /** @internal */ @@ -72,12 +72,12 @@ export const GetAlternateTravelAnswersRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetAlternateTravelAnswersRequest > = z.object({ + id: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), token: z.string().optional(), filter: z.string().optional(), - id: z.string(), }); export function getAlternateTravelAnswersRequestToJSON( diff --git a/packages/typescript/src/models/operations/getbudgetallocations.ts b/packages/typescript/src/models/operations/getbudgetallocations.ts index 5495fca0d..39c96d8ca 100644 --- a/packages/typescript/src/models/operations/getbudgetallocations.ts +++ b/packages/typescript/src/models/operations/getbudgetallocations.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetBudgetAllocationsRequest = { + /** + * Unique ID of an event. + */ + id: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -52,10 +56,6 @@ export type GetBudgetAllocationsRequest = { * * or */ filter?: string | undefined; - /** - * Unique ID of an event. - */ - id: string; }; export type GetBudgetAllocationsResponse = { @@ -64,12 +64,12 @@ export type GetBudgetAllocationsResponse = { /** @internal */ export type GetBudgetAllocationsRequest$Outbound = { + id: string; after?: string | undefined; before?: string | undefined; limit: number; token?: string | undefined; filter?: string | undefined; - id: string; }; /** @internal */ @@ -78,12 +78,12 @@ export const GetBudgetAllocationsRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetBudgetAllocationsRequest > = z.object({ + id: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), token: z.string().optional(), filter: z.string().optional(), - id: z.string(), }); export function getBudgetAllocationsRequestToJSON( diff --git a/packages/typescript/src/models/operations/geteventfeatures.ts b/packages/typescript/src/models/operations/geteventfeatures.ts index 1cf5dc6b8..54f8f9968 100644 --- a/packages/typescript/src/models/operations/geteventfeatures.ts +++ b/packages/typescript/src/models/operations/geteventfeatures.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetEventFeaturesRequest = { + /** + * Unique Id of an event + */ + id: string; /** * The maximum number of records to return per page. */ @@ -39,10 +43,6 @@ export type GetEventFeaturesRequest = { * | enabled | `eq` | */ filter?: string | undefined; - /** - * Unique Id of an event - */ - id: string; }; export type GetEventFeaturesResponse = { @@ -51,11 +51,11 @@ export type GetEventFeaturesResponse = { /** @internal */ export type GetEventFeaturesRequest$Outbound = { + id: string; limit: number; token?: string | undefined; locale?: string | undefined; filter?: string | undefined; - id: string; }; /** @internal */ @@ -64,11 +64,11 @@ export const GetEventFeaturesRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetEventFeaturesRequest > = z.object({ + id: z.string(), limit: z.number().int().default(100), token: z.string().optional(), locale: z.string().optional(), filter: z.string().optional(), - id: z.string(), }); export function getEventFeaturesRequestToJSON( diff --git a/packages/typescript/src/models/operations/geteventsurveyquestions.ts b/packages/typescript/src/models/operations/geteventsurveyquestions.ts index c2d9f337a..2b682f6fd 100644 --- a/packages/typescript/src/models/operations/geteventsurveyquestions.ts +++ b/packages/typescript/src/models/operations/geteventsurveyquestions.ts @@ -10,6 +10,14 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetEventSurveyQuestionsRequest = { + /** + * Id of an event + */ + id: string; + /** + * Id of a survey or Id of a chapter in event survey + */ + surveyId: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -29,14 +37,6 @@ export type GetEventSurveyQuestionsRequest = { * This will override any other pageable parameters provided. */ token?: string | undefined; - /** - * Id of an event - */ - id: string; - /** - * Id of a survey or Id of a chapter in event survey - */ - surveyId: string; }; export type GetEventSurveyQuestionsResponse = { @@ -45,12 +45,12 @@ export type GetEventSurveyQuestionsResponse = { /** @internal */ export type GetEventSurveyQuestionsRequest$Outbound = { + id: string; + surveyId: string; after?: string | undefined; before?: string | undefined; limit: number; token?: string | undefined; - id: string; - surveyId: string; }; /** @internal */ @@ -59,12 +59,12 @@ export const GetEventSurveyQuestionsRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetEventSurveyQuestionsRequest > = z.object({ + id: z.string(), + surveyId: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), token: z.string().optional(), - id: z.string(), - surveyId: z.string(), }); export function getEventSurveyQuestionsRequestToJSON( diff --git a/packages/typescript/src/models/operations/geteventsurveyresponses.ts b/packages/typescript/src/models/operations/geteventsurveyresponses.ts index a60729234..319b8ead4 100644 --- a/packages/typescript/src/models/operations/geteventsurveyresponses.ts +++ b/packages/typescript/src/models/operations/geteventsurveyresponses.ts @@ -10,6 +10,14 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetEventSurveyResponsesRequest = { + /** + * Id of an event + */ + id: string; + /** + * Id of a survey or Id of a chapter in event survey + */ + surveyId: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -47,14 +55,6 @@ export type GetEventSurveyResponsesRequest = { * | question.id | `eq`, `ne` | */ filter?: string | undefined; - /** - * Id of an event - */ - id: string; - /** - * Id of a survey or Id of a chapter in event survey - */ - surveyId: string; }; export type GetEventSurveyResponsesResponse = { @@ -63,13 +63,13 @@ export type GetEventSurveyResponsesResponse = { /** @internal */ export type GetEventSurveyResponsesRequest$Outbound = { + id: string; + surveyId: string; after?: string | undefined; before?: string | undefined; limit: number; token?: string | undefined; filter?: string | undefined; - id: string; - surveyId: string; }; /** @internal */ @@ -78,13 +78,13 @@ export const GetEventSurveyResponsesRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetEventSurveyResponsesRequest > = z.object({ + id: z.string(), + surveyId: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), token: z.string().optional(), filter: z.string().optional(), - id: z.string(), - surveyId: z.string(), }); export function getEventSurveyResponsesRequestToJSON( diff --git a/packages/typescript/src/models/operations/geteventsurveys.ts b/packages/typescript/src/models/operations/geteventsurveys.ts index a2df6e409..052b7e8d3 100644 --- a/packages/typescript/src/models/operations/geteventsurveys.ts +++ b/packages/typescript/src/models/operations/geteventsurveys.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetEventSurveysRequest = { + /** + * Id of an event + */ + id: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -49,10 +53,6 @@ export type GetEventSurveysRequest = { * * `or` */ filter?: string | undefined; - /** - * Id of an event - */ - id: string; }; export type GetEventSurveysResponse = { @@ -61,12 +61,12 @@ export type GetEventSurveysResponse = { /** @internal */ export type GetEventSurveysRequest$Outbound = { + id: string; after?: string | undefined; before?: string | undefined; limit: number; token?: string | undefined; filter?: string | undefined; - id: string; }; /** @internal */ @@ -75,12 +75,12 @@ export const GetEventSurveysRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetEventSurveysRequest > = z.object({ + id: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), token: z.string().optional(), filter: z.string().optional(), - id: z.string(), }); export function getEventSurveysRequestToJSON( diff --git a/packages/typescript/src/models/operations/gethotelrequests.ts b/packages/typescript/src/models/operations/gethotelrequests.ts index 967fa6b10..ff3ba3691 100644 --- a/packages/typescript/src/models/operations/gethotelrequests.ts +++ b/packages/typescript/src/models/operations/gethotelrequests.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetHotelRequestsRequest = { + /** + * ID of an event. + */ + id: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -71,10 +75,6 @@ export type GetHotelRequestsRequest = { * * or */ filter?: string | undefined; - /** - * ID of an event. - */ - id: string; }; export type GetHotelRequestsResponse = { @@ -83,6 +83,7 @@ export type GetHotelRequestsResponse = { /** @internal */ export type GetHotelRequestsRequest$Outbound = { + id: string; after?: string | undefined; before?: string | undefined; limit: number; @@ -90,7 +91,6 @@ export type GetHotelRequestsRequest$Outbound = { expand?: Array | undefined; sort?: string | undefined; filter?: string | undefined; - id: string; }; /** @internal */ @@ -99,6 +99,7 @@ export const GetHotelRequestsRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetHotelRequestsRequest > = z.object({ + id: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), @@ -107,7 +108,6 @@ export const GetHotelRequestsRequest$outboundSchema: z.ZodType< .optional(), sort: z.string().optional(), filter: z.string().optional(), - id: z.string(), }); export function getHotelRequestsRequestToJSON( diff --git a/packages/typescript/src/models/operations/gethousingreservationrequests.ts b/packages/typescript/src/models/operations/gethousingreservationrequests.ts index b60fd942d..fe7e683b9 100644 --- a/packages/typescript/src/models/operations/gethousingreservationrequests.ts +++ b/packages/typescript/src/models/operations/gethousingreservationrequests.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetHousingReservationRequestsRequest = { + /** + * ID of an event. + */ + id: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -46,10 +50,6 @@ export type GetHousingReservationRequestsRequest = { * * or */ filter?: string | undefined; - /** - * ID of an event. - */ - id: string; }; export type GetHousingReservationRequestsResponse = { @@ -58,12 +58,12 @@ export type GetHousingReservationRequestsResponse = { /** @internal */ export type GetHousingReservationRequestsRequest$Outbound = { + id: string; after?: string | undefined; before?: string | undefined; limit: number; token?: string | undefined; filter?: string | undefined; - id: string; }; /** @internal */ @@ -72,12 +72,12 @@ export const GetHousingReservationRequestsRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetHousingReservationRequestsRequest > = z.object({ + id: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), token: z.string().optional(), filter: z.string().optional(), - id: z.string(), }); export function getHousingReservationRequestsRequestToJSON( diff --git a/packages/typescript/src/models/operations/getmeetingroomoverview.ts b/packages/typescript/src/models/operations/getmeetingroomoverview.ts new file mode 100644 index 000000000..cabaf91c2 --- /dev/null +++ b/packages/typescript/src/models/operations/getmeetingroomoverview.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type GetMeetingRoomOverviewRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * Unique identifier for a meeting room. + */ + meetingRoomId: string; +}; + +/** @internal */ +export type GetMeetingRoomOverviewRequest$Outbound = { + venueId: string; + meetingRoomId: string; +}; + +/** @internal */ +export const GetMeetingRoomOverviewRequest$outboundSchema: z.ZodType< + GetMeetingRoomOverviewRequest$Outbound, + z.ZodTypeDef, + GetMeetingRoomOverviewRequest +> = z.object({ + venueId: z.string(), + meetingRoomId: z.string(), +}); + +export function getMeetingRoomOverviewRequestToJSON( + getMeetingRoomOverviewRequest: GetMeetingRoomOverviewRequest, +): string { + return JSON.stringify( + GetMeetingRoomOverviewRequest$outboundSchema.parse( + getMeetingRoomOverviewRequest, + ), + ); +} diff --git a/packages/typescript/src/models/operations/getorderitems.ts b/packages/typescript/src/models/operations/getorderitems.ts index 7adf1bd16..96c665c58 100644 --- a/packages/typescript/src/models/operations/getorderitems.ts +++ b/packages/typescript/src/models/operations/getorderitems.ts @@ -59,9 +59,7 @@ export type GetOrderItemsRequest = { */ filter?: string | undefined; /** - * This sets whether or not to fetch deleted order items in the response. If set to true, the response will include records for the deleted order items. - * - * @remarks + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ deleted?: boolean | undefined; }; diff --git a/packages/typescript/src/models/operations/getorders.ts b/packages/typescript/src/models/operations/getorders.ts index 6c01bbbe0..0b0662e52 100644 --- a/packages/typescript/src/models/operations/getorders.ts +++ b/packages/typescript/src/models/operations/getorders.ts @@ -57,9 +57,7 @@ export type GetOrdersRequest = { */ filter?: string | undefined; /** - * This sets whether or not to fetch deleted orders in the response. If set to true, the response will include records for the deleted orders. - * - * @remarks + * When `true`, includes soft-deleted records in the response. Defaults to `false`. */ deleted?: boolean | undefined; }; diff --git a/packages/typescript/src/models/operations/getstandardsurveyemailtemplates.ts b/packages/typescript/src/models/operations/getstandardsurveyemailtemplates.ts index 791f164a6..87ce02ff9 100644 --- a/packages/typescript/src/models/operations/getstandardsurveyemailtemplates.ts +++ b/packages/typescript/src/models/operations/getstandardsurveyemailtemplates.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetStandardSurveyEmailTemplatesRequest = { + /** + * Id of a survey or Id of a chapter in event survey + */ + surveyId: string; /** * The maximum number of records to return per page. */ @@ -21,10 +25,6 @@ export type GetStandardSurveyEmailTemplatesRequest = { * This will override any other pageable parameters provided. */ token?: string | undefined; - /** - * Id of a survey or Id of a chapter in event survey - */ - surveyId: string; }; export type GetStandardSurveyEmailTemplatesResponse = { @@ -33,9 +33,9 @@ export type GetStandardSurveyEmailTemplatesResponse = { /** @internal */ export type GetStandardSurveyEmailTemplatesRequest$Outbound = { + surveyId: string; limit: number; token?: string | undefined; - surveyId: string; }; /** @internal */ @@ -44,9 +44,9 @@ export const GetStandardSurveyEmailTemplatesRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetStandardSurveyEmailTemplatesRequest > = z.object({ + surveyId: z.string(), limit: z.number().int().default(100), token: z.string().optional(), - surveyId: z.string(), }); export function getStandardSurveyEmailTemplatesRequestToJSON( diff --git a/packages/typescript/src/models/operations/getstandardsurveyquestions.ts b/packages/typescript/src/models/operations/getstandardsurveyquestions.ts index dc0461539..01aec1389 100644 --- a/packages/typescript/src/models/operations/getstandardsurveyquestions.ts +++ b/packages/typescript/src/models/operations/getstandardsurveyquestions.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetStandardSurveyQuestionsRequest = { + /** + * Id of a survey or Id of a chapter in event survey + */ + surveyId: string; /** * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. */ @@ -29,10 +33,6 @@ export type GetStandardSurveyQuestionsRequest = { * This will override any other pageable parameters provided. */ token?: string | undefined; - /** - * Id of a survey or Id of a chapter in event survey - */ - surveyId: string; }; export type GetStandardSurveyQuestionsResponse = { @@ -41,11 +41,11 @@ export type GetStandardSurveyQuestionsResponse = { /** @internal */ export type GetStandardSurveyQuestionsRequest$Outbound = { + surveyId: string; after?: string | undefined; before?: string | undefined; limit: number; token?: string | undefined; - surveyId: string; }; /** @internal */ @@ -54,11 +54,11 @@ export const GetStandardSurveyQuestionsRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetStandardSurveyQuestionsRequest > = z.object({ + surveyId: z.string(), after: z.date().transform(v => v.toISOString()).optional(), before: z.date().transform(v => v.toISOString()).optional(), limit: z.number().int().default(100), token: z.string().optional(), - surveyId: z.string(), }); export function getStandardSurveyQuestionsRequestToJSON( diff --git a/packages/typescript/src/models/operations/getvenuedetailsoverview.ts b/packages/typescript/src/models/operations/getvenuedetailsoverview.ts new file mode 100644 index 000000000..f4bcc9fba --- /dev/null +++ b/packages/typescript/src/models/operations/getvenuedetailsoverview.ts @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type GetVenueDetailsOverviewRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; +}; + +/** @internal */ +export type GetVenueDetailsOverviewRequest$Outbound = { + venueId: string; +}; + +/** @internal */ +export const GetVenueDetailsOverviewRequest$outboundSchema: z.ZodType< + GetVenueDetailsOverviewRequest$Outbound, + z.ZodTypeDef, + GetVenueDetailsOverviewRequest +> = z.object({ + venueId: z.string(), +}); + +export function getVenueDetailsOverviewRequestToJSON( + getVenueDetailsOverviewRequest: GetVenueDetailsOverviewRequest, +): string { + return JSON.stringify( + GetVenueDetailsOverviewRequest$outboundSchema.parse( + getVenueDetailsOverviewRequest, + ), + ); +} diff --git a/packages/typescript/src/models/operations/index.ts b/packages/typescript/src/models/operations/index.ts index da95f8ef1..105dcc051 100644 --- a/packages/typescript/src/models/operations/index.ts +++ b/packages/typescript/src/models/operations/index.ts @@ -42,6 +42,7 @@ export * from "./createexhibitor.js"; export * from "./createexhibitorcategory.js"; export * from "./createexhibitorweblink.js"; export * from "./createmeetingrequest.js"; +export * from "./createmeetingroom.js"; export * from "./createpayment.js"; export * from "./createproposaldraft.js"; export * from "./createsessionenrollment.js"; @@ -182,6 +183,7 @@ export * from "./getleadspostfiltersdata.js"; export * from "./getmeetinginterestbyid.js"; export * from "./getmeetingrequestbyeventid.js"; export * from "./getmeetingrequestbyid.js"; +export * from "./getmeetingroomoverview.js"; export * from "./getmrfbyid.js"; export * from "./getorderitems.js"; export * from "./getorders.js"; @@ -236,6 +238,7 @@ export * from "./gettravelproposalbid.js"; export * from "./getusage.js"; export * from "./getuser.js"; export * from "./getusergroups.js"; +export * from "./getvenuedetailsoverview.js"; export * from "./getvideoviews.js"; export * from "./getwebcastbyid.js"; export * from "./launcheventfeatures.js"; @@ -291,6 +294,7 @@ export * from "./listlocations.js"; export * from "./listmeetinginterests.js"; export * from "./listmeetingrequest.js"; export * from "./listmeetingrequestdocuments.js"; +export * from "./listmeetingroomsoverviews.js"; export * from "./listmembershipitems.js"; export * from "./listmembershipitemspostfilter.js"; export * from "./listmrf.js"; @@ -347,6 +351,9 @@ export * from "./oauth2authorize.js"; export * from "./oauth2token.js"; export * from "./obfuscatecontactbyid.js"; export * from "./patchcontactbyid.js"; +export * from "./patchmeetingroom.js"; +export * from "./patchvenuedetails.js"; +export * from "./patchvenuefacility.js"; export * from "./postbadge.js"; export * from "./postexhibitoradmin.js"; export * from "./postregistrationpack.js"; @@ -402,6 +409,7 @@ export * from "./updateexternalattendeeactivitymetadata.js"; export * from "./updatehotelroomrates.js"; export * from "./updateinternalinfoanswers.js"; export * from "./updatemeetingrequest.js"; +export * from "./updatemeetingroom.js"; export * from "./updatepayment.js"; export * from "./updateprogramitem.js"; export * from "./updatequantityitemregistrationforattendee.js"; @@ -417,5 +425,7 @@ export * from "./updatestandardsurveyrespondent.js"; export * from "./updatestandardsurveyresponses.js"; export * from "./updatetexttrack.js"; export * from "./updateuser.js"; +export * from "./updatevenuedetails.js"; +export * from "./updatevenuefacility.js"; export * from "./updatewebcast.js"; export * from "./uploadbulkjobdata.js"; diff --git a/packages/typescript/src/models/operations/listattendees.ts b/packages/typescript/src/models/operations/listattendees.ts index 1245374b0..b4f0eb230 100644 --- a/packages/typescript/src/models/operations/listattendees.ts +++ b/packages/typescript/src/models/operations/listattendees.ts @@ -103,7 +103,7 @@ export type ListAttendeesRequest = { * | guest | `eq`, `ne` | | * | group.leader | `eq`, `ne` | | * | group.id | `eq`, `ne` | | - * | unsubscribed | `eq`, `ne` | **DEPRECATED**: Please use PUT /attendees/{id}/email-subscriptions instead | + * | unsubscribed | `eq`, `ne` | Read-only. To update an attendee's subscription status, use [PUT /attendees/{id}/email-subscriptions](#operation/updateAttendeeSubscriptionStatus) | * | registeredAt | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | * | registrationLastModified | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | | * | invitedBy | `eq`, `ne` | | diff --git a/packages/typescript/src/models/operations/listbulkjobresult.ts b/packages/typescript/src/models/operations/listbulkjobresult.ts index 61e7cea37..956729cd2 100644 --- a/packages/typescript/src/models/operations/listbulkjobresult.ts +++ b/packages/typescript/src/models/operations/listbulkjobresult.ts @@ -45,6 +45,10 @@ export type ListBulkJobResultRequest = { * * The following fields are filterable: * * failed (eq|ne) + * + * **Note:** this filters for the top-level HTTP status of the target operation. + * For operations that return 207 (Multi-Status), filter results may not capture all failed records. + * Inspect individual record statuses in the `data` field for a complete picture. */ filter?: string | undefined; }; diff --git a/packages/typescript/src/models/operations/listeventweblinks.ts b/packages/typescript/src/models/operations/listeventweblinks.ts index b743f2a8d..ce0a03eb1 100644 --- a/packages/typescript/src/models/operations/listeventweblinks.ts +++ b/packages/typescript/src/models/operations/listeventweblinks.ts @@ -10,6 +10,10 @@ import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ListEventWeblinksRequest = { + /** + * Unique Id of an event + */ + id: string; /** * The continuation token returned from a previous class. This must be a valid UUID v4 if provided. * @@ -25,10 +29,6 @@ export type ListEventWeblinksRequest = { * The maximum number of records to return per page. */ limit?: number | undefined; - /** - * Unique Id of an event - */ - id: string; }; export type ListEventWeblinksResponse = { @@ -37,10 +37,10 @@ export type ListEventWeblinksResponse = { /** @internal */ export type ListEventWeblinksRequest$Outbound = { + id: string; token?: string | undefined; locale?: string | undefined; limit: number; - id: string; }; /** @internal */ @@ -49,10 +49,10 @@ export const ListEventWeblinksRequest$outboundSchema: z.ZodType< z.ZodTypeDef, ListEventWeblinksRequest > = z.object({ + id: z.string(), token: z.string().optional(), locale: z.string().optional(), limit: z.number().int().default(100), - id: z.string(), }); export function listEventWeblinksRequestToJSON( diff --git a/packages/typescript/src/models/operations/listmeetingroomsoverviews.ts b/packages/typescript/src/models/operations/listmeetingroomsoverviews.ts new file mode 100644 index 000000000..c114e2740 --- /dev/null +++ b/packages/typescript/src/models/operations/listmeetingroomsoverviews.ts @@ -0,0 +1,58 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type ListMeetingRoomsOverviewsRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * The maximum number of records to return per page. + */ + limit?: number | undefined; + /** + * The continuation token returned from a previous request. This must be a valid UUID v4 if provided. This will override any other pageable parameters provided. + */ + token?: string | undefined; + /** + * 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: + * + * @remarks + * + * * `hiddenOnProfile` (`eq`) + */ + filter?: string | undefined; +}; + +/** @internal */ +export type ListMeetingRoomsOverviewsRequest$Outbound = { + venueId: string; + limit: number; + token?: string | undefined; + filter?: string | undefined; +}; + +/** @internal */ +export const ListMeetingRoomsOverviewsRequest$outboundSchema: z.ZodType< + ListMeetingRoomsOverviewsRequest$Outbound, + z.ZodTypeDef, + ListMeetingRoomsOverviewsRequest +> = z.object({ + venueId: z.string(), + limit: z.number().int().default(100), + token: z.string().optional(), + filter: z.string().optional(), +}); + +export function listMeetingRoomsOverviewsRequestToJSON( + listMeetingRoomsOverviewsRequest: ListMeetingRoomsOverviewsRequest, +): string { + return JSON.stringify( + ListMeetingRoomsOverviewsRequest$outboundSchema.parse( + listMeetingRoomsOverviewsRequest, + ), + ); +} diff --git a/packages/typescript/src/models/operations/patchmeetingroom.ts b/packages/typescript/src/models/operations/patchmeetingroom.ts new file mode 100644 index 000000000..09d4f1ece --- /dev/null +++ b/packages/typescript/src/models/operations/patchmeetingroom.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type PatchMeetingRoomRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * Unique identifier for a meeting room. + */ + meetingRoomId: string; + patchMeetingRoom: components.PatchMeetingRoom; +}; + +/** @internal */ +export type PatchMeetingRoomRequest$Outbound = { + venueId: string; + meetingRoomId: string; + patchMeetingRoom: components.PatchMeetingRoom$Outbound; +}; + +/** @internal */ +export const PatchMeetingRoomRequest$outboundSchema: z.ZodType< + PatchMeetingRoomRequest$Outbound, + z.ZodTypeDef, + PatchMeetingRoomRequest +> = z.object({ + venueId: z.string(), + meetingRoomId: z.string(), + patchMeetingRoom: z.lazy(() => components.PatchMeetingRoom$outboundSchema), +}); + +export function patchMeetingRoomRequestToJSON( + patchMeetingRoomRequest: PatchMeetingRoomRequest, +): string { + return JSON.stringify( + PatchMeetingRoomRequest$outboundSchema.parse(patchMeetingRoomRequest), + ); +} diff --git a/packages/typescript/src/models/operations/patchvenuedetails.ts b/packages/typescript/src/models/operations/patchvenuedetails.ts new file mode 100644 index 000000000..7b9dc4b42 --- /dev/null +++ b/packages/typescript/src/models/operations/patchvenuedetails.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type PatchVenueDetailsRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + venueDetailsPatch: components.VenueDetailsPatch; +}; + +/** @internal */ +export type PatchVenueDetailsRequest$Outbound = { + venueId: string; + venueDetailsPatch: components.VenueDetailsPatch$Outbound; +}; + +/** @internal */ +export const PatchVenueDetailsRequest$outboundSchema: z.ZodType< + PatchVenueDetailsRequest$Outbound, + z.ZodTypeDef, + PatchVenueDetailsRequest +> = z.object({ + venueId: z.string(), + venueDetailsPatch: components.VenueDetailsPatch$outboundSchema, +}); + +export function patchVenueDetailsRequestToJSON( + patchVenueDetailsRequest: PatchVenueDetailsRequest, +): string { + return JSON.stringify( + PatchVenueDetailsRequest$outboundSchema.parse(patchVenueDetailsRequest), + ); +} diff --git a/packages/typescript/src/models/operations/patchvenuefacility.ts b/packages/typescript/src/models/operations/patchvenuefacility.ts new file mode 100644 index 000000000..1734e9479 --- /dev/null +++ b/packages/typescript/src/models/operations/patchvenuefacility.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type PatchVenueFacilityRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + venueFacilityPatch: components.VenueFacilityPatch; +}; + +/** @internal */ +export type PatchVenueFacilityRequest$Outbound = { + venueId: string; + venueFacilityPatch: components.VenueFacilityPatch$Outbound; +}; + +/** @internal */ +export const PatchVenueFacilityRequest$outboundSchema: z.ZodType< + PatchVenueFacilityRequest$Outbound, + z.ZodTypeDef, + PatchVenueFacilityRequest +> = z.object({ + venueId: z.string(), + venueFacilityPatch: components.VenueFacilityPatch$outboundSchema, +}); + +export function patchVenueFacilityRequestToJSON( + patchVenueFacilityRequest: PatchVenueFacilityRequest, +): string { + return JSON.stringify( + PatchVenueFacilityRequest$outboundSchema.parse(patchVenueFacilityRequest), + ); +} diff --git a/packages/typescript/src/models/operations/updatemeetingrequest.ts b/packages/typescript/src/models/operations/updatemeetingrequest.ts index 62510c02c..4468abb97 100644 --- a/packages/typescript/src/models/operations/updatemeetingrequest.ts +++ b/packages/typescript/src/models/operations/updatemeetingrequest.ts @@ -18,14 +18,14 @@ export type UpdateMeetingRequestRequest = { /** * Up to **5 meeting requests** can be updated per call. */ - requestBody: Array; + requestBody: Array; }; /** @internal */ export type UpdateMeetingRequestRequest$Outbound = { id: string; skipRequiredQuestionValidation?: boolean | undefined; - RequestBody: Array; + RequestBody: Array; }; /** @internal */ @@ -36,7 +36,7 @@ export const UpdateMeetingRequestRequest$outboundSchema: z.ZodType< > = z.object({ id: z.string(), skipRequiredQuestionValidation: z.boolean().optional(), - requestBody: z.array(components.MeetingRequestUpdateJson$outboundSchema), + requestBody: z.array(components.MeetingRequestUpdate$outboundSchema), }).transform((v) => { return remap$(v, { requestBody: "RequestBody", diff --git a/packages/typescript/src/models/operations/updatemeetingroom.ts b/packages/typescript/src/models/operations/updatemeetingroom.ts new file mode 100644 index 000000000..fb45e931e --- /dev/null +++ b/packages/typescript/src/models/operations/updatemeetingroom.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type UpdateMeetingRoomRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * Unique identifier for a meeting room. + */ + meetingRoomId: string; + existingMeetingRoom: components.ExistingMeetingRoomInput; +}; + +/** @internal */ +export type UpdateMeetingRoomRequest$Outbound = { + venueId: string; + meetingRoomId: string; + existingMeetingRoom: components.ExistingMeetingRoomInput$Outbound; +}; + +/** @internal */ +export const UpdateMeetingRoomRequest$outboundSchema: z.ZodType< + UpdateMeetingRoomRequest$Outbound, + z.ZodTypeDef, + UpdateMeetingRoomRequest +> = z.object({ + venueId: z.string(), + meetingRoomId: z.string(), + existingMeetingRoom: components.ExistingMeetingRoomInput$outboundSchema, +}); + +export function updateMeetingRoomRequestToJSON( + updateMeetingRoomRequest: UpdateMeetingRoomRequest, +): string { + return JSON.stringify( + UpdateMeetingRoomRequest$outboundSchema.parse(updateMeetingRoomRequest), + ); +} diff --git a/packages/typescript/src/models/operations/updatevenuedetails.ts b/packages/typescript/src/models/operations/updatevenuedetails.ts new file mode 100644 index 000000000..46e812da2 --- /dev/null +++ b/packages/typescript/src/models/operations/updatevenuedetails.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type UpdateVenueDetailsRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + existingVenueDetails: components.ExistingVenueDetailsInput; +}; + +/** @internal */ +export type UpdateVenueDetailsRequest$Outbound = { + venueId: string; + existingVenueDetails: components.ExistingVenueDetailsInput$Outbound; +}; + +/** @internal */ +export const UpdateVenueDetailsRequest$outboundSchema: z.ZodType< + UpdateVenueDetailsRequest$Outbound, + z.ZodTypeDef, + UpdateVenueDetailsRequest +> = z.object({ + venueId: z.string(), + existingVenueDetails: components.ExistingVenueDetailsInput$outboundSchema, +}); + +export function updateVenueDetailsRequestToJSON( + updateVenueDetailsRequest: UpdateVenueDetailsRequest, +): string { + return JSON.stringify( + UpdateVenueDetailsRequest$outboundSchema.parse(updateVenueDetailsRequest), + ); +} diff --git a/packages/typescript/src/models/operations/updatevenuefacility.ts b/packages/typescript/src/models/operations/updatevenuefacility.ts new file mode 100644 index 000000000..43f782c04 --- /dev/null +++ b/packages/typescript/src/models/operations/updatevenuefacility.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type UpdateVenueFacilityRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + existingVenueFacility: components.ExistingVenueFacilityInput; +}; + +/** @internal */ +export type UpdateVenueFacilityRequest$Outbound = { + venueId: string; + existingVenueFacility: components.ExistingVenueFacilityInput$Outbound; +}; + +/** @internal */ +export const UpdateVenueFacilityRequest$outboundSchema: z.ZodType< + UpdateVenueFacilityRequest$Outbound, + z.ZodTypeDef, + UpdateVenueFacilityRequest +> = z.object({ + venueId: z.string(), + existingVenueFacility: components.ExistingVenueFacilityInput$outboundSchema, +}); + +export function updateVenueFacilityRequestToJSON( + updateVenueFacilityRequest: UpdateVenueFacilityRequest, +): string { + return JSON.stringify( + UpdateVenueFacilityRequest$outboundSchema.parse(updateVenueFacilityRequest), + ); +} diff --git a/packages/typescript/src/sdk/bulk.ts b/packages/typescript/src/sdk/bulk.ts index 08f0a23da..2c905fa51 100644 --- a/packages/typescript/src/sdk/bulk.ts +++ b/packages/typescript/src/sdk/bulk.ts @@ -99,7 +99,13 @@ export class Bulk extends ClientSDK { * List Bulk Job Result * * @remarks - * Used to list the results of a bulk Job. + * Used to list the results of a bulk job. + * + * **Note:** A bulk job is designed to wrap individual, non-batch API operations. When a target operation + * is itself batch in nature and returns a `207 Multi-Status` response, the `failed` flag on each result record + * reflects only whether the target operation returned an HTTP error — it does not capture partial item-level + * failures within the multi-status response body. For these operations, inspect each result record's `data` field + * to determine which items succeeded or failed. */ async listBulkJobResult( request: operations.ListBulkJobResultRequest, diff --git a/packages/typescript/src/sdk/meetingrequest.ts b/packages/typescript/src/sdk/meetingrequest.ts index d3b5f024d..0be9219e2 100644 --- a/packages/typescript/src/sdk/meetingrequest.ts +++ b/packages/typescript/src/sdk/meetingrequest.ts @@ -87,7 +87,7 @@ export class MeetingRequest extends ClientSDK { async createMeetingRequest( request: operations.CreateMeetingRequestRequest, options?: RequestOptions, - ): Promise> { + ): Promise> { return unwrapAsync(meetingRequestCreateMeetingRequest( this, request, @@ -108,7 +108,7 @@ export class MeetingRequest extends ClientSDK { async updateMeetingRequest( request: operations.UpdateMeetingRequestRequest, options?: RequestOptions, - ): Promise> { + ): Promise> { return unwrapAsync(meetingRequestUpdateMeetingRequest( this, request, diff --git a/packages/typescript/src/sdk/sdk.ts b/packages/typescript/src/sdk/sdk.ts index b14e827bc..8e45354ee 100644 --- a/packages/typescript/src/sdk/sdk.ts +++ b/packages/typescript/src/sdk/sdk.ts @@ -53,6 +53,8 @@ import { TravelSuppliers } from "./travelsuppliers.js"; import { Usage } from "./usage.js"; import { Users } from "./users.js"; import { UserSCIM } from "./userscim.js"; +import { VenueMeetingRooms } from "./venuemeetingrooms.js"; +import { VenueProfiles } from "./venueprofiles.js"; import { Video } from "./video.js"; import { Webcasts } from "./webcasts.js"; @@ -309,6 +311,16 @@ export class CventSDK extends ClientSDK { return (this._usage ??= new Usage(this._options)); } + private _venueProfiles?: VenueProfiles; + get venueProfiles(): VenueProfiles { + return (this._venueProfiles ??= new VenueProfiles(this._options)); + } + + private _venueMeetingRooms?: VenueMeetingRooms; + get venueMeetingRooms(): VenueMeetingRooms { + return (this._venueMeetingRooms ??= new VenueMeetingRooms(this._options)); + } + private _video?: Video; get video(): Video { return (this._video ??= new Video(this._options)); diff --git a/packages/typescript/src/sdk/venuemeetingrooms.ts b/packages/typescript/src/sdk/venuemeetingrooms.ts new file mode 100644 index 000000000..7836245d9 --- /dev/null +++ b/packages/typescript/src/sdk/venuemeetingrooms.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { venueMeetingRoomsCreateMeetingRoom } from "../funcs/venueMeetingRoomsCreateMeetingRoom.js"; +import { venueMeetingRoomsGetMeetingRoomOverview } from "../funcs/venueMeetingRoomsGetMeetingRoomOverview.js"; +import { venueMeetingRoomsListMeetingRoomsOverviews } from "../funcs/venueMeetingRoomsListMeetingRoomsOverviews.js"; +import { venueMeetingRoomsPatchMeetingRoom } from "../funcs/venueMeetingRoomsPatchMeetingRoom.js"; +import { venueMeetingRoomsUpdateMeetingRoom } from "../funcs/venueMeetingRoomsUpdateMeetingRoom.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class VenueMeetingRooms extends ClientSDK { + /** + * Create Meeting Room + * + * @remarks + * Create a new meeting room for the specified venue. + */ + async createMeetingRoom( + request: operations.CreateMeetingRoomRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueMeetingRoomsCreateMeetingRoom( + this, + request, + options, + )); + } + + /** + * List Meeting Rooms Overviews + * + * @remarks + * Retrieve a paginated list of meeting room overviews for the specified venue. + */ + async listMeetingRoomsOverviews( + request: operations.ListMeetingRoomsOverviewsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueMeetingRoomsListMeetingRoomsOverviews( + this, + request, + options, + )); + } + + /** + * Update Meeting Room + * + * @remarks + * Update a meeting room for the specified venue, replacing the existing meeting room data. + */ + async updateMeetingRoom( + request: operations.UpdateMeetingRoomRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueMeetingRoomsUpdateMeetingRoom( + this, + request, + options, + )); + } + + /** + * Patch Meeting Room + * + * @remarks + * Partially update a meeting room for the specified venue. + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - **Arrays (`capacities`, `amenities`) are treated as full replacements** — the entire array is replaced, not merged. + * - All changes are applied atomically. + */ + async patchMeetingRoom( + request: operations.PatchMeetingRoomRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueMeetingRoomsPatchMeetingRoom( + this, + request, + options, + )); + } + + /** + * Get Meeting Room Overview + * + * @remarks + * Retrieve an overview of a specific meeting room for the specified venue. + */ + async getMeetingRoomOverview( + request: operations.GetMeetingRoomOverviewRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueMeetingRoomsGetMeetingRoomOverview( + this, + request, + options, + )); + } +} diff --git a/packages/typescript/src/sdk/venueprofiles.ts b/packages/typescript/src/sdk/venueprofiles.ts new file mode 100644 index 000000000..707b5de19 --- /dev/null +++ b/packages/typescript/src/sdk/venueprofiles.ts @@ -0,0 +1,120 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { venueProfilesGetVenueDetailsOverview } from "../funcs/venueProfilesGetVenueDetailsOverview.js"; +import { venueProfilesPatchVenueDetails } from "../funcs/venueProfilesPatchVenueDetails.js"; +import { venueProfilesPatchVenueFacility } from "../funcs/venueProfilesPatchVenueFacility.js"; +import { venueProfilesUpdateVenueDetails } from "../funcs/venueProfilesUpdateVenueDetails.js"; +import { venueProfilesUpdateVenueFacility } from "../funcs/venueProfilesUpdateVenueFacility.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class VenueProfiles extends ClientSDK { + /** + * Update Venue Details + * + * @remarks + * Update venue details for the specified venue, replacing the existing venue details data. + */ + async updateVenueDetails( + request: operations.UpdateVenueDetailsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueProfilesUpdateVenueDetails( + this, + request, + options, + )); + } + + /** + * Patch Venue Details + * + * @remarks + * Partially updates the specified venue's details using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * + * **Array Handling:** + * - Arrays (`locationTypes`) are treated as **full replacements**, not partial updates. + * - If an array property is not included in the payload, no updates are made to that field. + * - If an empty array is sent, it replaces the existing array with an empty array. + */ + async patchVenueDetails( + request: operations.PatchVenueDetailsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueProfilesPatchVenueDetails( + this, + request, + options, + )); + } + + /** + * Get Venue Details Overview + * + * @remarks + * Retrieve an overview of venue details for the specified venue. + */ + async getVenueDetailsOverview( + request: operations.GetVenueDetailsOverviewRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueProfilesGetVenueDetailsOverview( + this, + request, + options, + )); + } + + /** + * Update Venue Facility + * + * @remarks + * Update the facility information for the specified venue, replacing all existing values with those provided in the request body. + * + * Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + */ + async updateVenueFacility( + request: operations.UpdateVenueFacilityRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueProfilesUpdateVenueFacility( + this, + request, + options, + )); + } + + /** + * Patch Venue Facility + * + * @remarks + * Partially update the facility information for the specified venue using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - If any part of the patch fails, the entire request will fail. + * - `proximityFromAirport.unit` is required when `proximityFromAirport.distance` is provided. + * + * Field applicability varies by venue type: + * - Most facility information fields do not apply to CVB/DMC or Restaurant venues. + */ + async patchVenueFacility( + request: operations.PatchVenueFacilityRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueProfilesPatchVenueFacility( + this, + request, + options, + )); + } +}