Simplification of various request classes by removing unnecessary complexity related to user ID types. The user ID is now uniformly treated as a string, simplifying the method signatures and internal behavior of the requests.
Changes
AddPhoneNumberRequest:
Removed the complex type definition for userId, simplifying it to a string type.
Adjusted constructor and associated methods accordingly.
GetPersonalizedSettingsRequest, GetUserRequest, RemoveAvatarRequest, RemovePhoneNumberRequest, and VerifyPhoneNumberRequest:
Similar simplifications as AddPhoneNumberRequest, applying the unified string type to userId across all request classes.
DeprecatedUserService:
Removed the format: 'uuid' constraint and replaced it with a simple string type for userId in the avatar and phone number remove requests.
DomainOrderPreview:
The projectId is now a required field in the schema.
Constructor updated to include projectId.
Adjusted methods to ensure consistency with the new structure.
UserInternal and UserInternalEmployeeInformation:
New schema classes created to provide detailed information about users, including fields like avatarRef, disabled, and employeeInformation.
Various Documentation and Comments:
Improved descriptions in various schemas for clarity.
Deprecations
Removed UserIdAlternative1 enums from various request classes, simplifying how user IDs are handled throughout the API.
The changes lead to a cleaner and more consistent API design, making it easier for developers to work with user-related APIs.
v2.1.46
New Features
Frontend Fragments Support
Introduced a new property frontendFragments to the Extension class to support an array of frontend fragments, enhancing the schema capabilities for extensions.
UrlFrontendFragment Schema
Added a new class UrlFrontendFragment which includes methods for validation and object construction, making it easier to manage URL-related data within the marketplace context.
Changes
Extension Class
Added property for frontendFragments which is an object type allowing flexible schema definition.
Implemented getter, setter (withFrontendFragments), and a method to remove (withoutFrontendFragments) for the frontendFragments.
Updated input handling and JSON serialization processes to include the new frontendFragments property.
UrlFrontendFragment Class
Introduced a schema to validate URL input and methods to create and serialize the UrlFrontendFragment objects, ensuring data integrity and ease of use.
Implemented validation logic in the withUrl and buildFromInput methods to guarantee that URLs conform to the expected schema.
... (truncated)
Commits
0d9476e refactor: simplify user ID handling and remove unnecessary alternatives
cf92026 feat: add frontendFragments property and methods to Extension schema
762d200 feat: add pagination parameters to ListProjectsRequest and ListServersRequest
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mittwald/api-client from 2.1.44 to 2.1.47.
Release notes
Sourced from mittwald/api-client's releases.
... (truncated)
Commits
0d9476e
refactor: simplify user ID handling and remove unnecessary alternativescf92026
feat: add frontendFragments property and methods to Extension schema762d200
feat: add pagination parameters to ListProjectsRequest and ListServersRequestDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show