Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If model field has type any we should generate it as mixed #133

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

ilfa
Copy link
Member

@ilfa ilfa commented Oct 29, 2024

No description provided.

Copy link
Contributor

⚠️ This PR doesn't contain any changesets. If there are user-facing changes, don't forget to run:

pnpm exec changeset

to create a changeset.

Copy link
Contributor

🟢 Coverage increased by 37.89%

Code Coverage Report

Coverage Report

St. Category Percentage Covered / Total
🔴 Statements 37.89% 1557 / 4109
🔴 Functions 35.50% 706 / 1989
Files Coverage
St. File Methods Statements Total Coverage
🟡 src/Api/FingerprintApi.php 6.67% 52.08% 50.93%
🟢 src/ApiException.php 100.00% 100.00% 100.00%
🔴 src/Configuration.php 23.08% 14.93% 17.20%
🔴 src/Model/ASN.php 33.33% 33.33% 33.33%
🔴 src/Model/BotdDetectionResult.php 30.00% 29.17% 29.41%
🔴 src/Model/BotdResult.php 41.38% 40.00% 40.45%
🔴 src/Model/BrowserDetails.php 38.71% 40.91% 40.21%
🔴 src/Model/ClonedAppResult.php 35.29% 26.92% 30.23%
🔴 src/Model/Common403ErrorResponse.php 35.00% 34.62% 34.72%
🔴 src/Model/Confidence.php 31.58% 30.00% 30.61%
🔴 src/Model/DataCenter.php 31.58% 30.00% 30.61%
🔴 src/Model/DeprecatedIPLocation.php 39.39% 54.55% 48.86%
🔴 src/Model/DeprecatedIPLocationCity.php 29.41% 26.09% 27.50%
🔴 src/Model/DeveloperToolsResult.php 29.41% 23.08% 25.58%
🔴 src/Model/EmulatorResult.php 29.41% 23.08% 25.58%
🔴 src/Model/ErrorCommon403Response.php 35.29% 30.43% 32.50%
🔴 src/Model/ErrorCommon429Response.php 29.41% 26.09% 27.50%
🔴 src/Model/ErrorCommon429ResponseError.php 20.00% 10.42% 13.24%
🔴 src/Model/ErrorEvent404Response.php 35.29% 30.43% 32.50%
🔴 src/Model/ErrorEvent404ResponseError.php 40.00% 31.25% 33.82%
🔴 src/Model/ErrorUpdateEvent400Response.php 35.29% 30.43% 32.50%
🔴 src/Model/ErrorUpdateEvent400ResponseError.php 35.00% 30.61% 31.88%
🔴 src/Model/ErrorUpdateEvent409Response.php 35.29% 30.43% 32.50%
🔴 src/Model/ErrorUpdateEvent409ResponseError.php 35.00% 29.17% 30.88%
🔴 src/Model/ErrorVisitor400Response.php 35.29% 30.43% 32.50%
🔴 src/Model/ErrorVisitor400ResponseError.php 40.00% 31.25% 33.82%
🔴 src/Model/ErrorVisitor404Response.php 35.29% 30.43% 32.50%
🔴 src/Model/ErrorVisitor404ResponseError.php 35.00% 29.17% 30.88%
🔴 src/Model/ErrorVisits403.php 29.41% 23.08% 25.58%
🔴 src/Model/EventResponse.php 31.58% 26.67% 28.57%
🟡 src/Model/EventUpdateRequest.php 57.14% 54.84% 55.77%
🔴 src/Model/FactoryResetResult.php 36.84% 31.25% 33.33%
🔴 src/Model/FridaResult.php 35.29% 26.92% 30.23%
🔴 src/Model/HighActivityResult.php 31.58% 26.67% 28.57%
🔴 src/Model/IPLocation.php 39.39% 54.55% 48.86%
🔴 src/Model/IPLocationCity.php 29.41% 26.09% 27.50%
🔴 src/Model/IdentificationError.php 35.00% 30.61% 31.88%
🔴 src/Model/IncognitoResult.php 35.29% 26.92% 30.23%
🔴 src/Model/IpBlockListResult.php 31.58% 28.12% 29.41%
🔴 src/Model/IpBlockListResultDetails.php 31.58% 28.12% 29.41%
🔴 src/Model/IpInfoResult.php 36.84% 37.04% 36.96%
🔴 src/Model/IpInfoResultV4.php 39.13% 40.00% 39.68%
🔴 src/Model/IpInfoResultV6.php 34.78% 37.50% 36.51%
🔴 src/Model/JailbrokenResult.php 35.29% 26.92% 30.23%
🔴 src/Model/Location.php 31.58% 28.12% 29.41%
🔴 src/Model/LocationSpoofingResult.php 35.29% 26.92% 30.23%
🔴 src/Model/ModelInterface.php 0.00% 0.00% 0.00%
🔴 src/Model/PrivacySettingsResult.php 35.29% 26.92% 30.23%
🔴 src/Model/ProductError.php 35.00% 30.61% 31.88%
🟢 src/Model/ProductsResponse.php 76.19% 82.61% 80.34%
🔴 src/Model/ProductsResponseBotd.php 42.11% 40.74% 41.30%
🔴 src/Model/ProductsResponseIdentification.php 42.11% 40.74% 41.30%
🟡 src/Model/ProductsResponseIdentificationData.php 55.56% 51.92% 53.02%
🔴 src/Model/ProxyResult.php 29.41% 23.08% 25.58%
🔴 src/Model/RawDeviceAttributesResult.php 0.00% 0.00% 0.00%
🔴 src/Model/RemoteControlResult.php 29.41% 23.08% 25.58%
🔴 src/Model/Response.php 34.78% 32.50% 33.33%
🔴 src/Model/ResponseVisits.php 41.86% 44.90% 43.97%
🔴 src/Model/RootAppsResult.php 29.41% 23.08% 25.58%
🔴 src/Model/SeenAt.php 36.84% 31.25% 33.33%
🔴 src/Model/SignalResponseClonedApp.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseDeveloperTools.php 31.58% 33.33% 32.61%
🔴 src/Model/SignalResponseEmulator.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponseFactoryReset.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseFrida.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseHighActivity.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponseIncognito.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseIpBlocklist.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponseIpInfo.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseJailbroken.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseLocationSpoofing.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponsePrivacySettings.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseProxy.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponseRawDeviceAttributes.php 31.58% 29.63% 30.43%
🔴 src/Model/SignalResponseRemoteControl.php 31.58% 33.33% 32.61%
🔴 src/Model/SignalResponseRootApps.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponseSuspectScore.php 26.32% 25.93% 26.09%
🔴 src/Model/SignalResponseTampering.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponseTor.php 36.84% 37.04% 36.96%
🔴 src/Model/SignalResponseVelocity.php 31.58% 33.33% 32.61%
🔴 src/Model/SignalResponseVirtualMachine.php 42.11% 40.74% 41.30%
🔴 src/Model/SignalResponseVpn.php 42.11% 40.74% 41.30%
🔴 src/Model/Subdivision.php 31.58% 33.33% 32.61%
🔴 src/Model/SuspectScoreResult.php 0.00% 0.00% 0.00%
🔴 src/Model/TamperingResult.php 31.58% 28.12% 29.41%
🔴 src/Model/TooManyRequestsResponse.php 29.41% 23.08% 25.58%
🔴 src/Model/TorResult.php 29.41% 23.08% 25.58%
🔴 src/Model/VelocityIntervalResult.php 33.33% 33.33% 33.33%
🔴 src/Model/VelocityIntervals.php 29.41% 26.09% 27.50%
🔴 src/Model/VelocityResult.php 34.78% 34.09% 34.33%
🔴 src/Model/VirtualMachineResult.php 35.29% 26.92% 30.23%
🔴 src/Model/VpnResult.php 38.46% 37.88% 38.04%
🔴 src/Model/VpnResultMethods.php 39.13% 36.36% 37.31%
🔴 src/Model/WebhookVisit.php 0.00% 0.00% 0.00%
🟢 src/ObjectSerializer.php 42.86% 83.33% 80.58%
🟢 src/Sealed/DecompressionException.php 100.00% 100.00% 100.00%
🔴 src/Sealed/DecryptionAlgorithm.php 0.00% 0.00% 0.00%
🟢 src/Sealed/DecryptionKey.php 100.00% 100.00% 100.00%
🟢 src/Sealed/InvalidSealedDataException.php 100.00% 100.00% 100.00%
🟢 src/Sealed/InvalidSealedDataHeaderException.php 100.00% 100.00% 100.00%
🟢 src/Sealed/Sealed.php 50.00% 94.44% 90.00%
🟢 src/Sealed/UnsealAggregateException.php 100.00% 100.00% 100.00%
🔴 src/Sealed/UnsealException.php 50.00% 28.57% 33.33%
🟡 src/SerializationException.php 66.67% 75.00% 71.43%
🟢 src/Webhook/WebhookVerifier.php 100.00% 100.00% 100.00%

@ilfa ilfa changed the title If model filed has type any we should generate it as mixed If model field has type any we should generate it as mixed Oct 30, 2024
@ilfa ilfa merged commit 428767d into main Oct 30, 2024
11 checks passed
@ilfa ilfa deleted the add-any-type-support branch October 30, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants